1 2000-10-25 Miles Bader <miles@gnu.org>
3 * recentf.el (recentf-mode): Variable removed.
4 (recentf-mode): Use `define-minor-mode'.
6 * mwheel.el (mouse-wheel-mode): New global minor mode.
7 (mwheel-install): Use `mouse-wheel-mode'.
9 2000-10-25 Dave Love <fx@gnu.org>
11 * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
12 inherit from global-map and don't nullify menu-bar and tool-bar
13 bindings since keymap properties DTRT.
15 2000-10-25 Miles Bader <miles@lsi.nec.co.jp>
17 * wid-edit.el (widget-field-at): New function.
18 (widget-at, widget-field-activate): Use it.
19 (widget-tabable-at): Use `widget-at'.
20 (widget-specify-field): If the terminating character of the widget
21 field (which is read-only) is a newline, put it into a special
22 `boundary' field so that C-n/C-p act more naturally.
23 (widget-field-end): Also don't subtract one if a special
24 `boundary' field has been added after the widget field.
26 * comint.el (comint-output-filter, comint-send-input): Don't
27 bother adding stickiness fields to overlays to fool the field
28 code, since it should notice the overlay insertion-types now.
30 * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
31 Replace with aliases of the normal emacs b-o-l/e-o-l functions.
32 (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
34 2000-10-24 Gerd Moellmann <gerd@gnu.org>
36 * emacs-lisp/authors.el (authors-aliases): Add some more aliases.
37 (authors): Set file coding system to iso-2022-7bit. Add
38 file-local variables to output buffer.
40 * files.el (after-find-file): Don't print any warnings if
43 2000-10-24 Vinicius Jose Latorre <vinicius@cpqd.com.br>
45 * ps-print.el (ps-generate): Fix odd/even pages printing bug.
47 * delim-col.el: Now there is a column formatting mechanism.
48 Modified to customization mechanisms convention. Doc fix.
49 (columns): New group for delim-col.
50 (delimit-columns-before, delimit-columns-after)
51 (delimit-columns-format, delimit-columns-extra, delimit-columns-start)
52 (delimit-columns-end): New vars.
53 (delimit-columns-customize, delimit-columns-format): New funs.
54 (delimit-columns-region, delimit-columns-rectangle)
55 (delimit-columns-rectangle-line): Modified to support column
58 2000-10-24 Dave Love <fx@gnu.org>
60 * log-edit.el (log-edit): Add :version and a :group for vc.
62 2000-10-24 Gerd Moellmann <gerd@gnu.org>
64 * files.el (after-find-file): Don't print a message ``New file''
67 * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
68 the tool-bar map as nil, as for the menu-bar. Otherwise, we'll
69 get duplicate tool-bar entries because we'll see the global ones
70 on more than one path through keymaps.
72 * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
74 * progmodes/cmacexp.el: Change Francesco's email address.
76 2000-10-24 Kenichi Handa <handa@etl.go.jp>
78 * window.el (fit-window-to-buffer): Adjust point of the window
79 buffer, not that of the current buffer.
81 2000-10-24 Eli Zaretskii <eliz@is.elta.co.il>
83 * progmodes/cmacexp.el: Update the euthor's email address.
85 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
87 * faces.el (face-spec-set-match-display): Add `graphic' display
88 type (the inverse of `tty'). Use `display-graphic-p' instead of
89 the window-system variable.
91 2000-10-24 Kenichi Handa <handa@etl.go.jp>
93 * international/isearch-x.el (isearch-with-input-method): Call
94 input-method-function with the first event in
95 unread-command-events.
97 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
99 * faces.el (face-default-spec, face-user-default-spec): Make
102 2000-10-24 Andrew Choi <akochoi@i-cable.com>
104 * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
107 * term/mac-win.el: Remove definitions of mac-roman-lower and
108 mac-roman-upper, require dired, and define instead of set
109 mac-ready-for-drag-n-drop to avoid compilation error.
111 2000-10-23 Andrew Innes <andrewi@gnu.org>
113 * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
114 superfluous calls to subst-char-in-string; instead apply
115 expand-file-name after convert-standard-filename to ensure
116 expected directory separators are used.
118 2000-10-23 Eli Zaretskii <eliz@is.elta.co.il>
120 * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
122 2000-10-23 Dave Love <fx@gnu.org>
124 * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
125 (tool-bar-add-item): Set foreground and background for XBM icons.
127 * international/latin1-disp.el (latin1-char-displayable-p): New
128 function (from Handa).
129 (latin1-display-check-font): Use it.
131 * imenu.el (imenu--create-keymap-2): Build menu with menu-item
132 using :key-sequence, making it much more usable. Use nconc, not
134 (imenu--create-keymap-1): Avoid append.
136 * textmodes/refill.el: Remove bits redundant with define-minor-mode.
138 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
140 [the following changes fix a bug where `define-minor-mode' didn't
141 correctly generate :require clauses for defcustoms in compiled files]
142 * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
143 (byte-compile-log-file, byte-compile-log-1): Don't set
144 `byte-compile-current-file' to nil. Instead set
145 `byte-compile-last-logged-file' to it. Test whether
146 byte-compile-current-file equals byte-compile-last-logged-file
147 instead of whether its nil.
148 (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
150 2000-10-23 Stefan Monnier <monnier@cs.yale.edu>
152 * textmodes/refill.el: Fix var names in doc.
153 (refill-mode): Don't bother with make-local-hook anymore.
155 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
157 * faces.el (face-user-default-spec, face-default-spec): New functions.
158 (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
159 (frame-set-background-mode, face-set-after-frame-default):
160 Use `face-user-default-spec'. Simplify code slightly.
162 * woman.el (woman-italic-face, woman-bold-face)
163 (woman-unknown-face): Add dark-background variants.
164 (woman-default-faces): Renamed from `woman-colour-faces'.
165 Set using the stored defaults, rather than using hard-wired colors.
166 (woman-monochrome-faces): Renamed from `woman-black-faces'.
167 Just make the foreground `unspecified' rather than "black".
168 (woman-menu): Rename menu entries accordingly.
170 * faces.el (header-line): Make more reasonable on mono/grayscale
173 2000-10-23 Andrew Choi <akochoi@i-cable.com>
175 * cus-edit.el (custom-button-face): Use 3D look for mac.
176 (custom-button-pressed-face): Likewise.
178 * faces.el (set-face-attributes-from-resources): Handle mac frames
179 in the same way as x and w32 frames.
180 (face-valid-attribute-values): Likewise.
181 (read-face-attribute): Likewise.
182 (defined-colors): Likewise.
183 (color-defined-p): Likewise.
184 (color-values): Likewise.
185 (display-grayscale-p): Likewise.
186 (face-set-after-frame-default): Likewise.
187 (mode-line): Same default face as for x and w32.
188 (tool-bar): Likewise.
190 * frame.el: Remove call to frame-notice-user-settings at end of
193 * info.el (Info-fontify-node): make underlines invisible for mac
194 as for x, pc, and w32 frame types.
196 * term/mac-win.el: New file.
198 2000-10-22 Dave Love <fx@gnu.org>
200 * textmodes/refill.el: New file.
202 2000-10-22 Andre Spiegel <spiegel@gnu.org>
204 * vc-hooks.el (vc-version-backup-file-name): New optional args
206 (vc-delete-automatic-version-backups, vc-make-version-backup):
208 (vc-before-save): Use the latter.
209 (vc-default-make-version-backups-p): Added `-p' suffix to avoid
212 * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
213 expected by vc[-hooks].el.
215 * vc.el (vc-checkout): Added `-p' suffix in call to
216 vc-make-version-backups-p; use vc-make-version-backup to actually
218 (vc-version-other-window, vc-version-backup-file): Handle both
219 automatic and manual backups.
220 (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
223 2000-10-22 Miles Bader <miles@gnu.org>
225 * comint.el (comint-highlight-input, comint-highlight-prompt):
226 Renamed, `-face' at end removed.
227 (comint-send-input, comint-output-filter): Use renamed faces.
229 * window.el (fit-window-to-buffer): Change defaulting of
232 * faces.el (color-values, color-defined-p): Use `member', not
233 `memq', because it works correctly for strings.
234 (frame-set-background-mode): Actually, "unspecified-fg" and
235 "unspecified-bg" *are* strings. Use `member', not `memq', and
236 `equal', not `eq', when a string value is possible.
238 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il>
240 * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
242 2000-10-21 Stefan Monnier <monnier@cs.yale.edu>
244 * progmodes/sh-script.el (sh-mode-map): Remove bindings for
245 sh-electric-rparen, sh-electric-less and sh-electric-hash.
246 (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
247 (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
248 (sh-font-lock-syntactic-keywords): Use them.
249 (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
250 (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
251 (sh-mode): Don't override font-lock-unfontify-region-function.
252 Use a copy of sh-font-lock-syntactic-keywords.
253 (sh-set-shell): Don't set sh-electric-rparen-needed-here.
254 Don't call sh-scan-buffer since font-lock does it on the fly.
255 (sh-get-indent-info): Use `face' rather than `syntax-table'
256 text-property to detect here-documents.
257 Replace sh-special-syntax with sh-st-punc.
258 (sh-prev-line): Use `face' rather than `syntax-table'
259 text-property to skip over here-documents.
260 (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
261 (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
262 (sh-electric-less, sh-set-here-doc-region)
263 (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
264 (sh-scan-buffer, sh-rescan-buffer): Remove.
266 2000-10-21 Andrew Innes <andrewi@gnu.org>
268 * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
269 remote (ange-ftp) file names.
271 2000-10-21 Miles Bader <miles@gnu.org>
273 * window.el (fit-window-to-buffer): New function.
274 (shrink-window-if-larger-than-buffer): Use it.
275 (window-text-height): Don't expect minibuffers to have mode-lines.
277 * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
278 * international/quail.el (quail-update-guidance): Use
279 `fit-window-to-buffer' instead of `set-window-text-height'.
281 * international/quail.el (quail-show-guidance-buf): Make sure
282 guidance window really has enough room.
283 (quail-update-guidance): If quail-guidance-win is already shown,
284 make sure its height is OK.
286 * window.el (window-text-height, set-window-text-height):
288 (shrink-window-if-larger-than-buffer): Use `window-text-height'
289 instead of `window-height' & `mode-line-window-height-fudge'.
290 (mode-line-window-height-fudge): Add FACE parameter.
291 * help.el (resize-temp-buffer-window): Use `set-window-text-height'
292 instead of `enlarge-window' & `mode-line-window-height-fudge'.
294 2000-10-20 Miles Bader <miles@gnu.org>
296 * window.el (height-affecting-face-attributes): Use `defconst'.
298 * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
299 New function, conditionally aliased to `mode-line-window-height-fudge'.
300 (ispell-help): Use it.
301 (ispell-choices-win-default-height): Don't include mode-line fudge.
302 (ispell-choices-win-default-height): New function.
303 (ispell-show-choices, ispell-command-loop): Use function
304 `ispell-choices-win-default-height' instead of variable.
306 2000-10-20 Miles Bader <miles@lsi.nec.co.jp>
308 * window.el (mode-line-window-height-fudge): New variable.
309 (height-affecting-face-attributes): New variable.
310 (mode-line-window-height-fudge): New function.
311 (shrink-window-if-larger-than-buffer): Use it.
312 * help.el (resize-temp-buffer-window): Likewise.
314 * info.el (Info-fontify-node): Add support for @subsubsection
315 titles, which use `Info-title-4-face'.
316 (Info-title-4-face): New face.
317 (Info-title-3-face): Inherit from Info-title-4-face instead of
320 2000-10-19 Jason Rumney <jasonr@gnu.org>
322 * dired.el (dired-insert-directory): Do not let errors signalled by
323 attempt to run dired-free-space-program prevent dired from working.
325 2000-10-19 Stefan Monnier <monnier@cs.yale.edu>
327 * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
329 2000-10-19 Gerd Moellmann <gerd@gnu.org>
331 * dirtrack.el (dirtrack): Fix call to run-hooks.
333 * cmuscheme.el (cmuscheme-program-name): Renamed from
334 scheme-program-name because xscheme.el contains a defcustom with
335 the same name. As a consequence, customizing group `cmuscheme'
336 loaded `xscheme' which redefined run-scheme.
337 (run-scheme): Use cmuscheme-program-name.
339 * ps-print.el (ps-print-emacs-type): Move into the
342 * play/doctor.el (doctor-death): Update the Samaritans'
343 anonymous address, and add a website for Befrienders International.
345 2000-10-19 Vinicius Jose Latorre <vinicius@cpqd.com.br>
347 * ps-print.el: Even/odd pages fix. Fix little bug on XEmacs.
348 Avoid compilation gripes. Doc fix.
349 (ps-print-version): New version number (6.2).
350 (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
351 (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
352 (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
353 (ps-x-extent-priority, ps-x-extent-start-position)
354 (ps-x-face-font-instance, ps-x-find-coding-system)
355 (ps-x-font-instance-properties, ps-x-make-color-instance)
356 (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
357 avoid compilation gripes without defining functions.
358 (ps-e-find-composition): Alias for function find-composition, to have a
359 suitable function depending on Emacs version.
360 (ps-color-device, ps-color-values, ps-face-foreground-name)
361 (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
362 (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
363 (ps-print-ensure-fontified): Function definitions surrounded by
364 `eval-and-compile' to avoid compilation gripes.
365 (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
366 by symbol-value to avoid compilation gripes.
367 (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
368 (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
370 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
372 * startup.el (normal-top-level): Call `frame-set-background-mode'
373 after `frame-notice-user-settings' because the latter doesn't call
376 * faces.el (frame-set-background-mode): `unspecified' &c are
377 symbols, not strings.
379 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
381 * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
382 why some "light*" colors are deliberately absent from the alist.
384 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
385 Change colors for tty's, as suggested by Miles Bader.
387 2000-10-19 Kenichi Handa <handa@etl.go.jp>
389 * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
390 (ccl-encode-mule-unicode-0100-24ff): New CCL program. Register it
391 for ISO10646-1 fonts.
392 (x-font-name-charset-alist): Add an entry for "iso10646-1".
394 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
396 * faces.el (frame-set-background-mode): If a tty frame defines a
397 background color, use that to compute the background mode, instead
398 of always defaulting to "dark".
400 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
402 * comint.el (comint-write-output): New function.
403 (comint-mode-map): Add it to the menu.
404 Bind `C-c C-s' to comint-write-output.
406 2000-10-18 Gerd Moellmann <gerd@gnu.org>
408 * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
409 Use fancy-splash-delay.
411 2000-10-18 Alex Schroeder <alex@gnu.org>
413 * progmodes/sql.el (sql-sybase-options): New option.
414 (sql-sybase): Use it. Add sql-database to the list of parameters
415 provided for login. The options -w 2048 -n are not used any more.
417 * comint.el (comint-read-input-ring): Bugfix such that the first
418 and the last entry of the input ring file are not lost.
420 2000-10-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
422 * ps-print.el: Internal variable changes to defcustom,
423 make-local-hook changes to defvar. Doc fix.
424 (ps-print-version): New version number (6.1).
425 (ps-setup, ps-do-despool): Code fix.
426 (ps-printer-name): Customization fix.
427 (ps-printer-name-option): Now is a defcustom instead of an
429 (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
430 (ps-print-begin-column-hook): Now are defvar instead of
433 2000-10-18 Miles Bader <miles@gnu.org>
435 * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
436 (comint-kill-output): Changed into an alias for `comint-delete-output',
438 (comint-mode-map): Rename references to comint-kill-output.
440 2000-10-18 Eli Zaretskii <eliz@is.elta.co.il>
442 * diff-mode.el (diff-header-face, diff-file-header-face)
443 (diff-changed-face): Add bold and italic attributes to tty faces.
444 (diff-function-face): New face.
445 (diff-font-lock-keywords): Use it.
447 2000-10-18 Miles Bader <miles@lsi.nec.co.jp>
449 * comint.el (comint-output-filter): Fixup comint-last-input-end too.
450 Remove commented-out call to force-mode-line-update.
451 (comint-kill-output): Use `forward-line 0' instead of
452 beginning-of-line to make sure we get past the prompt.
454 2000-10-17 Stefan Monnier <monnier@cs.yale.edu>
456 * diff-mode.el (diff-header-face, diff-file-header-face):
457 Add specific setting for dark background.
458 (diff-context-face): Renamed from diff-comment-face.
459 Set explicitly rather than inheriting from font-lock-comment-face.
461 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
463 * startup.el (command-line): Move the code which sets the default
464 TTY colors to before before-init-hook.
466 2000-10-17 Gerd Moellmann <gerd@gnu.org>
468 * jit-lock.el (jit-lock-stealth-time): Doc fix.
470 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
472 * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
473 extensions, for MS-DOS.
475 * diff-mode.el (diff-header-face, diff-file-header-face)
476 (diff-changed-face): Define tty-specific colors.
478 2000-10-17 Gerd Moellmann <gerd@gnu.org>
480 * startup.el (fancy-splash-text): Realign the text.
482 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
484 * font-lock.el (font-lock-comment-face): Define a separate default
485 for dark-background tty's.
487 2000-10-17 Miles Bader <miles@gnu.org>
489 * help.el (resize-temp-buffer-window): Add hack to avoid last line
490 being obscured by whizzy mode-lines on graphics displays.
492 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
494 * info.el (Info-title-1-face, Info-title-2-face)
495 (Info-title-3-face): Define colors for tty's.
496 (info-header-node): Remove unneeded tty-specific definition.
498 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il>
500 * term/pc-win.el (msdos-handle-reverse-video): Don't remove
501 reverse from the frame parameters, and don't invert foreground and
504 2000-10-16 Miles Bader <miles@gnu.org>
506 * info.el (Info-set-mode-line): Use `%b' instead of hardwired
507 string "*Info*". Call propertized-buffer-identification to spruce
510 2000-10-16 Gerd Moellmann <gerd@gnu.org>
512 * help.el: Provide `help' for the sake of define-minor-mode
513 which generates defcustoms with requires.
515 * jit-lock.el (jit-lock-after-change): If we're in text that
516 matches a multi-line font-lock pattern, make sure the whole text
519 * emacs-lisp/authors.el (authors-add): Don't add an entry if
520 author's name is unknown.
522 * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
523 * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
524 * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
525 * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
526 * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
527 * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
528 * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
529 * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
530 * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
531 Add author information.
533 2000-10-16 Miles Bader <miles@lsi.nec.co.jp>
535 * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
536 * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
537 full-color version (using the Gimp) to eliminate dithering artifacts.
539 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
541 * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
543 * simple.el (syntax-flag-table, string-to-syntax): Remove.
545 2000-10-15 Dave Love <fx@gnu.org>
547 * progmodes/sh-script.el: Require skeleton and comint when
550 * pcomplete.el (pcomplete) <defgroup>: Add :version.
552 * whitespace.el: Doc fixes.
553 (top-level): Don't add hooks here.
554 (whitespace-running-emacs): Deleted.
555 (timer): Don't require.
556 (whitespace): Add back :version conditional on xemacs test.
557 (whitespace-spacetab-regexp, whitespace-indent-regexp)
558 (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
559 (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
560 (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
561 Avoid specific xemacs test.
562 (whitespace-global-mode): New option.
563 (whitespace-global-mode): New command.
564 (whitespace-unload-hook): New function.
566 * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
567 (Info-fontify-node, Info-goto-node, Info-mode-menu)
568 (Info-fontify-node): `Goto' goes to `Go to'.
569 (Info-fontify-node): Add help-echo to xref links.
571 2000-10-15 Eli Zaretskii <eliz@is.elta.co.il>
573 * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
575 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
577 * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
578 Use plist-get and allow :inherit.
580 * emacs-lisp/cl-macs.el (cl-do-arglist):
581 Use plist-get and plist-member instead of memq.
583 * emacs-lisp/ewoc.el (ewoc-location): New function.
584 (ewoc-enter-after, ewoc-enter-before): Document return value.
585 * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
586 Don't need make-local-hook any more.
587 (cvs-addto-collection): Return the new tin.
588 (cvs-mode-insert): Jump to the new line.
590 * jit-lock.el (jit-lock-fontify-buffer): Remove.
592 * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
594 * font-lock.el (font-lock-syntactically-fontified): New var.
595 (font-lock-fontify-syntactic-keywords-region): Use it.
596 (font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
598 * diff-mode.el (diff-find-file-name): Fix regexp.
600 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
601 (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
603 * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
604 (sh-mode-syntax-table): Add punctuation syntax for < and >.
605 (sh-mode): Don't make all vars local here.
607 (sh-set-shell): Use dolist. Don't set indent-region-function.
608 (sh-mode-syntax-table): Use pop.
609 (sh-remember-variable): Use push.
610 (sh-help-string-for-variable): Use memq.
611 (sh-safe-backward-sexp): Remove.
612 (sh-safe-forward-sexp): Add ARG.
613 (sh-get-indent-info, sh-prev-stmt): Use it.
614 (sh-prev-line): Simplify by using forward-comment.
615 (sh-this-is-a-continuation): Simplify.
616 (sh-learn-buffer-indent): Use dolist.
617 (sh-do-nothing): Remove.
618 (sh-set-char-syntax, sh-set-here-doc-region):
619 Use inhibit-modification-hooks.
620 (sh-name-style): Use mapcar and push.
621 (sh-load-style): Use dolist.
622 (sh-save-styles-to-buffer): Use with-current-buffer and pp.
623 (sh-case, sh-while-getopts): Use propertize directly rather
624 than sh-electric-rparen.
626 2000-10-14 Stefan Monnier <monnier@cs.yale.edu>
628 * textmodes/tex-mode.el: Require CL when compiling.
629 (tex-mode-syntax-table): Init immediately.
630 (tex-mode-map): Bind M-RET to latex-insert-item.
631 (latex-mode): Set indent-line-function to latex-indent.
632 (tex-common-initialization): Don't setup the syntax-table any more.
633 (latex-insert-item): New skeleton.
634 (tex-next-unmatched-end): Fix copy/paste braino.
635 (latex-syntax-after, latex-skip-close-parens, latex-down-list)
636 (latex-indent, latex-find-indent): New functions.
637 (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
638 (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
639 (tex-compilation-parse-errors): Use with-syntax-table.
641 2000-10-15 Miles Bader <miles@gnu.org>
643 * font-lock.el (font-lock-comment-face): Change dark-background,
644 color, non-tty, default to `chocolate1'.
646 2000-10-13 John Wiegley <johnw@gnu.org>
648 * eshell/esh-util.el (require): Added a missing `require' form,
649 needed when compiling (for an ange-ftp macro definition).
651 2000-10-13 Dave Love <fx@gnu.org>
653 * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
655 2000-10-13 Gerd Moellmann <gerd@gnu.org>
657 * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
660 * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
661 transparent -colors 8).
663 2000-10-13 Stephen Gildea <gildea@alum.mit.edu>
665 * time-stamp.el (time-stamp): Fixed bug in new multi-line code
666 that breaks with old list format timestamps.
667 (time-stamp-warn-inactive, time-stamp-old-format-warn)
668 (time-stamp-count, time-stamp-conversion-warn): Improved doc
671 2000-10-13 John Wiegley <johnw@gnu.org>
673 * align.el, pcomplete.el, calendar/timeclock.el,
674 eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
676 * calendar/timeclock.el (timeclock-find-discrep): A fix to same
677 faulty math, where holiday hours were being computing as seconds.
679 2000-10-13 John Wiegley <johnw@gnu.org>
681 * desktop.el (desktop-buffer-modes-to-save): Added a global for
682 specifying what "other" kinds of buffers should be saved. This
683 used to be hard-coded.
684 (desktop-buffer-misc-functions): A global for specifying how
685 auxiliary data should be determined for special buffer types.
686 (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
687 instead of hard-coding the special buffer types.
688 (desktop-save): Run `desktop-buffer-misc-functions' to gather
689 auxiliary data, instead of hard-coding for Info buffers and dired.
690 (desktop-buffer-info-misc-data): Aux function for determining Info
691 buffer auxiliary info.
692 (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
693 (desktop-buffer-info): Changed this function to use the info
695 (desktop-create-buffer): Be a little more careful about what
696 `minor-mode' means before calling it. This is important for some
699 2000-10-13 John Wiegley <johnw@gnu.org>
701 * eshell/esh-util.el: Added a global form which declares an
702 autoload for `parse-time-string', if that function is not already
703 defined, and if parse-time.el is available on the user's system.
705 * eshell/em-ls.el (eshell-ls-applicable): Extended this function
706 to be aware of ange-ftp user info.
707 (eshell-do-ls): Bind `ange-cache'. Also, use
708 `eshell-file-attributes'.
709 (eshell-ls-annotate): Use `eshell-file-attributes'.
710 (eshell-ls-file): Made the user-id printing code a bit smarter.
712 * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
713 allow identification of alias user ids in remote directories.
714 It's manual, but there's no other way to know when the current
715 user on the local machine, is also the owning user on the remote
717 (fboundp): Bind `ange-cache'.
718 (eshell-directory-files-and-attributes): Re-organized the logic a
719 bit to use `eshell-file-attributes' instead of `file-attributes'.
720 The former is more sensitive to directories that are read via FTP,
721 and knows how to use ange-ftp to determine full attribute
722 information, instead of just the name and last modtime.
723 (eshell-current-ange-uids): Return the current user id when in a
725 (eshell-parse-ange-ls): Parse a full directory listing that has
726 been returned by ange-ftp.
727 (eshell-file-attributes): This beefed up version of
728 `file-attributes' is only special if the user is currently in a
729 remote directory, in which case it does a lot of work to find out
730 what the real attributes of a file are, as they appear on the
731 remote machine. This makes usage of remote directories (i.e.,
732 ange-ftp pathnames) much more useful. You can now use Eshell as a
733 full-fledged FTP client, with much more manipulation ability than
736 * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
737 variable, which means that Eshell's du should always be preferred
738 in remote directories.
739 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
740 just `file-attributes'.
741 (eshell-mvcp-template): Bind `ange-cache', to improve performance
742 when reading remote directories. This is an Eshell-specific
743 variable (not part of ange-ftp).
744 (eshell/ln): Bind `ange-cache'.
745 (eshell/du): Added some extra logic for determining when to use
746 Eshell's du (which is slow), and when to use the external version
747 (which may or may not exist).
749 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
750 `eshell-interactive-process', rather than using
751 `get-buffer-process', since backgrounded processes don't count in
752 the context of this function's logic.
754 * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
755 `forward-char', so that null strings are parsed correctly.
757 2000-09-13 John Wiegley <johnw@gnu.org>
759 * eshell/em-pred.el (eshell-pred-file-type,
760 eshell-pred-file-links, eshell-pred-file-size): Use
761 `eshell-file-attributes'. This is more correct over ange-ftp.
763 * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
764 that remote file globbing is more efficient.
766 * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
767 gathering the files and attributes within a directory.
769 * eshell/em-unix.el (eshell/cat): If any of the files passed on
770 the command line is a special file (not a regular file, directory
771 or symlink), always attempt to call the external version of cat.
773 2000-09-13 John Wiegley <johnw@gnu.org>
775 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
776 Eshell-friendly version of find-tag.
778 2000-10-13 Miles Bader <miles@lsi.nec.co.jp>
780 * image-file.el (image-file-name-extensions)
781 (image-file-name-regexps): Add autoload cookies.
783 2000-10-13 Kenichi Handa <handa@etl.go.jp>
785 * international/mule-cmds.el (select-safe-coding-system): If FROM
786 is string, show it in *Warning* buffer.
788 2000-10-13 Eli Zaretskii <eliz@is.elta.co.il>
790 * startup.el (normal-top-level): Use display-popup-menus-p instead
792 (command-line): Use display-graphic-p instead of window-system.
793 (command-line-1): Use display-popup-menus-p and display-mouse-p
794 instead of window-system.
796 2000-10-12 Sam Steingold <sds@gnu.org>
798 * tooltip.el (tooltip-use-echo-area): New user variable.
799 (tooltip-show): Use it to choose between `x-show-tip' and `message'.
801 2000-10-12 Dave Love <fx@gnu.org>
803 * recentf.el: Maintainer's checkdoc fixes.
805 * startup.el (normal-top-level-add-subdirs-to-load-path): Use
806 character class, not ASCII when matching file names.
807 (fancy-splash-head): Add trailing slash to URL.
808 (command-line): Don't require XPM support for toolbar.
810 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
811 (cperl-invalid-face): Revert last change.
812 (cperl-init-faces): Quote cperl-invalid-face.
814 2000-10-12 Kenichi Handa <handa@etl.go.jp>
816 * startup.el (fancy-splash-text): Remove superfluous quote.
818 2000-10-12 Gerd Moellmann <gerd@gnu.org>
820 * startup.el (fancy-splash-screens): Don't add a pre-command hook.
821 (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
822 (command-line-1): Don't use fancy-splash-pending-command.
823 (fancy-splash-screens-1): Goto point-min after inserting text.
825 * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
827 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
828 instead of shared-lisp-mode-map.
830 2000-10-12 Miles Bader <miles@lsi.nec.co.jp>
832 * faces.el (header-line): Change tty-variant to use underlining.
834 * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
835 (isearch-highlight): Restore lazy-isearch face properties at old
836 position, and suppress them at new position.
837 (isearch-dehighlight): Restore lazy-isearch face properties.
838 (isearch-lazy-highlight-update): Add lazy-isearch overlays even
839 over the real isearch overlay, but in that case, don't give it a
840 face property. Use `push'.
842 2000-10-12 Kenichi Handa <handa@etl.go.jp>
844 * man.el (Man-getpage-in-background): Fix previous change.
845 Decode the process output only when we are in multibyte mode.
847 2000-10-11 Dave Love <fx@gnu.org>
849 * info.el (Info-mode-menu): Fix some help.
850 (info-tool-bar-map): Add entry for Info-last.
852 * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
853 * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
854 * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
855 * toolbar/cut.xpm, toolbar/mail_compose.xpm:
856 * toolbar/search-replace.xpm, toolbar/exit.xpm:
857 * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
858 * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
859 * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
860 * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
861 * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
862 Reduce colour requirements to 25 overall. (Probably wants
863 revisiting from the originals to reduce further.)
865 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
867 * hexl.el (hexlify-buffer): Bind coding-system-for-write to
868 buffer-file-coding-system, instead of raw-text.
869 (dehexlify-buffer): Bind coding-system-for-read to
870 buffer-file-coding-system, instead of raw-text.
872 2000-10-11 Sam Steingold <sds@gnu.org>
874 * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
875 `underline' - fixes the bug introduced on 2000-09-21.
877 2000-10-11 Dave Love <fx@gnu.org>
879 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
881 (scheme-mode): Doc fix.
882 (scheme-font-lock-keywords-1): Match `define-syntax'.
884 2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
886 * faces.el (frame-set-background-mode): Pay attention to saved
887 face specs as well as default ones. Only do anything if the
888 bg-mode or display-type has actually changed. Use `dolist'.
889 (region): Make dark-background `region' face less in-your-face.
891 2000-10-10 Sam Steingold <sds@gnu.org>
893 * chistory.el, ielm.el, ledit.el:
894 * progmodes/inf-lisp.el, progmodes/scheme.el:
895 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
897 2000-10-10 Stefan Monnier <monnier@cs.yale.edu>
899 * textmodes/texinfo.el: Update copyright and fix typo.
901 * desktop.el (desktop-modes-not-to-save): New var.
902 (desktop-save-buffer-p): Use it.
903 Also, obey desktop-buffers-not-to-save even for non-file buffers.
904 (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
906 2000-10-10 Dave Love <fx@gnu.org>
908 * toolbar/tool-bar.el (tool-bar-add-item)
909 (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
912 * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
913 * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
914 * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
915 * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
916 * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
917 * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
918 * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
919 * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
920 * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
921 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
922 the .xpms; probably need retouching.
924 2000-10-10 Miles Bader <miles@lsi.nec.co.jp>
926 * subr.el (add-to-list): Add optional argument APPEND.
927 * battery.el (display-battery): Use `add-to-list'.
929 2000-10-09 Thien-Thi Nguyen <ttn@gnu.org>
931 * play/zone.el (zone-timer, zone-wc-tbl): Rework
932 these vars as symbol properties.
933 (zone, zone-when-idle, zone-leave-me-alone)
934 (zone-pgm-whack-chars): Use new symbol properties.
936 * battery.el (display-battery): Doc spelling fix.
938 * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
941 2000-10-09 Dave Love <fx@gnu.org>
943 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
944 has been initialized before calling tool-bar-setup.
945 (tool-bar-add-item-from-menu): Add autoload cookie.
947 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
949 * menu-bar.el (send-mail-item-name): New function.
950 (menu-bar-tools-menu) <compose-mail>: Use it to display the value
951 of mail-user-agent in the menu. Don't display the "Send Mail"
952 item if mail-user-agent is nil or its value is ignore.
953 (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
954 if read-mail-command is nil or its value is ignore.
956 * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
958 2000-10-09 Miles Bader <miles@gnu.org>
960 * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
962 * toolbar/left_arrow.xpm: Correct image size.
964 * jka-compr.el: Don't call `jka-compr-install' when loading (it
965 will be done by the definition of `auto-compression-mode' if
966 necessary. Move code to uninstall existing file-name handler
967 before definition of `auto-compression-mode'.
969 * image-file.el (auto-image-file-mode): Move to the end of the
970 file, because `define-minor-mode' actually calls the mode-function
971 if the associated variable is non-nil, which requires that all
972 needed functions be already defined.
974 * mouse.el (popup-menu): Balance parens.
976 2000-10-08 Stefan Monnier <monnier@cs.yale.edu>
978 * mouse.el (popup-menu): Move the command call outside the loop
979 so that popup-menu returns whatever the command returns.
981 * progmodes/etags.el: Docstring fixes. Maintainer line updated.
982 (initialize-new-tags-table): Use run-hook-with-args-until-success.
983 (find-tag): Use pop-to-buffer if switch-to-buffer failed.
984 (tags-table-format-functions): Renamed from tags-table-format-hooks.
986 * vc.el (vc-version-diff): diff-switches can be a list.
987 Use relative filenames for prettier output.
989 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
990 (vc-post-command-functions): Remove old-VC compatibility code.
992 * newcomment.el (comment-indent-default): Autoload.
994 * font-lock.el (font-lock-defaults): Make buffer-local.
995 (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
996 (font-lock-choose-keywords):
997 Ignore LEVEL unless KEYWORDS is a list of syms.
998 (c-keywords, c++-keywords, objc-keywords, java-keywords):
999 Don't wrap regexp-opt things in \(...\) unnecessarily.
1001 * jit-lock.el: Don't require font-lock any more.
1002 (jit-lock-functions): Make buffer-local.
1003 (jit-lock-saved-fontify-buffer-function): Remove.
1004 (jit-lock-mode): Remove autoload cookie.
1005 Remove font-lock specific code.
1006 (jit-lock-unregister): Don't bother handling complex hooks any more.
1007 (jit-lock-refontify): New function.
1008 (jit-lock-fontify-buffer): Use it.
1009 (jit-lock-function-1): Replaced by jit-lock-fontify-now.
1010 (jit-lock-fontify-now): Renamed from jit-lock-function-1.
1011 Add optional args START and END.
1012 Never call font-lock-fontify-region directly.
1013 (jit-lock-function, jit-lock-stealth-fontify): Use it.
1015 * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
1017 2000-10-08 Dave Love <fx@gnu.org>
1019 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
1021 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
1023 * play/studly.el (studlify-region, studlify-word): Add autoload
1026 * play/morse.el (morse-region, unmorse-region): Add autoload
1029 * play/spook.el (spook-phrases-file): Use expand-file-name, not
1032 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
1033 insist on symbols starting with word syntax.
1034 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
1035 (eval-defun-1): Doc fix.
1036 (indent-sexp): Use nconc to build up indent-stack.
1038 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
1039 Gnus with little use.
1040 (mail-setup-hook): Add mail-abbrevs-setup to options.
1042 * recentf.el: Doc fixes.
1044 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
1047 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
1048 without timezone and (8) with timezone to enforce some whitespace.
1049 Simplify code somewhat.
1051 * options.el (list-options): Doc that you should use customize.
1053 * iswitchb.el (iswitchb-mode): Add :require.
1055 * info.el (Info-goto-node, Info-menu): Doc fix.
1056 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
1057 (info-tool-bar-map): New variable.
1058 (Info-mode): Use it.
1059 (Info-edit-map): Define all in defvar.
1060 (speedbar-attached-frame): Avoid compiler warning.
1062 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
1063 (global-map): Bind [tool-bar] to a filtered map.
1064 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
1065 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
1067 (tool-bar-setup): Adjust calls of tool-bar-add-item.
1069 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
1070 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
1071 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
1072 icons, except up_arrow, which is left-arrow rotated.
1074 * imenu.el (imenu-add-to-menubar): Fix last change.
1076 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
1078 * generic-x.el (rul-generic-mode): Remove eval-when-compile
1079 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
1081 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
1083 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
1084 typos in doc strings.
1086 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
1087 the doc strings how to customize Font Lock faces.
1089 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
1090 computing growth when dragging the header line.
1092 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
1094 * simple.el (kill-line): Doc fix.
1096 2000-10-08 Miles Bader <miles@gnu.org>
1098 * faces.el (secondary-selection): Make foreground visible on tty.
1100 * jka-compr.el (auto-compression-mode): Move to the end of the
1101 file, because `define-minor-mode' actually calls the mode-function
1102 if the associated variable is non-nil, which requires that all
1103 needed functions be already defined.
1104 (with-auto-compression-mode): Add autoload cookie.
1106 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
1108 * files.el (find-backup-file-name) [ms-dos]: If support for long
1109 file names is not available, behave as if version-control were set
1112 2000-10-07 Dave Love <fx@gnu.org>
1114 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
1115 (browse-url-gnome-moz): New function.
1116 (browse-url-browser-function): Use it.
1117 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
1119 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
1121 * indent.el (tab-always-indent): New var.
1122 (indent-for-tab-command): Use it.
1124 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
1125 raise an error. This way it can still default to a sane value.
1127 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
1129 * startup.el (fancy-splash-screens): Use local rather than global map.
1130 Don't use `update-menu-bindings' any more.
1131 Get rid of assumptions about keymap representation.
1133 2000-10-06 Dave Love <fx@gnu.org>
1135 * textmodes/fill.el (sentence-end-double-space)
1136 (sentence-end-without-period): Doc fix.
1137 (adaptive-fill-regexp): Purecopy.
1138 (unjustify-current-line): Use line-end-position.
1139 (fill-individual-paragraphs-prefix): Use line-beginning-position.
1141 * net/eudc-vars.el (eudc): Add :version, :link.
1143 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
1145 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
1146 Fix for define-minor-mode.
1147 (function-at-point): Alias to function-called-at-point.
1149 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
1151 * simple.el (backward-word): Doc fix.
1153 * image-file.el (image-file-name-regexp): image-file-regexps ->
1154 image-file-name-regexps.
1155 (image-file-name-extensions): Add pbm.
1157 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
1159 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
1160 and add filename to the names so that diff-mode can jump to source.
1162 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
1163 (tex-font-lock-keywords, tex-font-lock-keywords-2)
1164 (tex-font-lock-keywords-1): Remove.
1165 (font-lock-turn-on-thing-lock): Use jit-lock-register.
1166 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
1167 (font-lock-default-fontify-region):
1168 Expand beg..end correctly when just following a multiline region.
1169 (font-lock-fontify-anchored-keywords):
1170 Include the anchor text as part of the multiline.
1172 2000-10-06 Gerd Moellmann <gerd@gnu.org>
1174 * loadup.el (toplevel): Load `loaddefs' before `help' because the
1175 latter needs the autoloaded define-minor-mode macro during the
1178 * startup.el (command-line): For now, activate tool-bar-mode only
1179 if XPM images are supported.
1181 * mouse.el (mouse-drag-header-line): Don't allow resizing a
1182 window by dragging a header-line at the top of the frame; that's
1183 confusing because the header-line doesn't move.
1184 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
1185 of treating the event as a list. Some cleanup.
1187 2000-10-06 Miles Bader <miles@gnu.org>
1189 * simple.el (display-message-or-buffer): New function.
1190 (shell-command-on-region): Use `display-message-or-buffer'.
1192 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
1195 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
1196 (smbclient-prompt-regexp): Add usage note to doc string.
1197 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
1198 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
1199 Use add-hook for adding the comint filter function, and only do so
1200 if it's not already in the global hook list.
1201 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
1202 to `make-local-variable'.
1203 (nslookup-font-lock-keywords): Remove prompt entry.
1204 (nslookup): Don't set the process-filter.
1205 (finger): Exit the loop correctly when the regexps list runs out.
1206 (ftp, smbclient, smbclient-list-shares):
1207 Set the real major mode immediately, not after execing.
1208 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
1210 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
1212 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
1214 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
1216 * which-func.el (which-func-format): Remove spurious space.
1217 (which-func-mode): Don't make it permanent-local.
1218 (which-func-ff-hook): Allow which-func-maxout to be nil.
1219 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
1220 (which-func-mode): Simplify.
1221 Use post-command-idle-hook rather than post-command-hook.
1222 Go through all buffers and update their state.
1223 (which-function): Also try add-log-current-defun-function.
1225 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
1226 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
1227 Update call to with-vc-properties accordingly.
1228 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
1229 (vc-revert-buffer): More careful about window selection and deletion.
1230 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
1232 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
1233 (cvs-retrieve-revision): Reuse a pre-existing buffer.
1234 (cvs-dired-action): Change the default to quickdir.
1236 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
1237 if comment-indent-function returns nil.
1238 (comment-indent-default): New function.
1239 (comment-indent-function): Use it and document the new semantics.
1241 * image-file.el: Docstring fixes.
1243 * help.el (help-xref-on-pp): Use match-string.
1244 (describe-variable): New arg BUFFER.
1245 Store the current buffer in the help-xref-stack.
1246 (temp-buffer-resize-mode): Use define-minor-mode.
1248 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
1249 consistently with its docstring.
1250 Set jit-lock-first-unfontify-pos in an idempotent way.
1251 (jit-lock-register): Autoload and add arg CONTEXTUAL.
1253 2000-10-05 Alex Schroeder <alex@gnu.org>
1255 * sql.el (sql-mysql-options): New variable.
1256 (sql-mysql): Use it.
1258 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
1260 * image.el (image): New group.
1262 * smerge-mode.el (smerge-mine-face, smerge-other-face)
1263 (smerge-base-face, smerge-markers-face): Add dark-background variants.
1265 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
1267 * net/net-utils.el (nslookup-font-lock-keywords)
1268 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
1269 Ignore the value of wqindow-system; always define keywords
1271 2000-10-05 Kenichi Handa <handa@etl.go.jp>
1273 * startup.el (fancy-splash-screens): Remove the code for
1274 debugging; `(trace-to-stderr "EXITTT\n")'.
1276 2000-10-05 Miles Bader <miles@gnu.org>
1278 * diff-mode.el (diff-goto-source): Update call to
1279 `diff-hunk-status-msg' to reflect new REV variable.
1281 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
1283 * progmodes/icon.el (icon-mode):
1284 Don't gratuitously override the default for comment-column.
1286 * vc-hooks.el (vc-mode-line): Fix interactive spec.
1288 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
1289 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
1290 (jit-lock-functions): New var.
1291 (jit-lock-function-1): Use it if non-nil.
1292 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
1293 Set the `fontified' property before doing the fontification to avoid
1294 repeatedly going through the same error.
1295 Don't turn errors into messages.
1296 (jit-lock-register, jit-lock-unregister): New functions.
1298 * dired.el (dired-mark-pop-up): Turn comment into docstring.
1299 Use with-current-buffer.
1301 * dired-aux.el (dired-do-create-files, dired-kill-tree):
1302 Turn comment into docstring.
1304 * apropos.el (apropos-mode): Use define-derived-mode.
1306 2000-10-04 Gerd Moellmann <gerd@gnu.org>
1308 * startup.el (fancy-splash-pending-command): New variable.
1309 (fancy-splash-pre-command): New function.
1310 (fancy-splash-screens): Rewritten.
1311 (command-line-1): If fancy-splash-pending-command is set, call it
1314 2000-10-04 Dave Love <fx@gnu.org>
1316 * toolbar/tool-bar.el (tool-bar-setup): New function.
1317 (tool-bar-mode): Use it.
1319 * subr.el (substitute-key-definition): Doc fix.
1320 (play-sound-file): New command.
1322 2000-10-04 Andre Spiegel <spiegel@gnu.org>
1324 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
1325 vc-version-backup-file-name): New functions.
1327 * files.el (basic-save-buffer): Call vc-before-save before saving.
1329 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
1330 vc-cvs-stay-local-p.
1332 * vc.el (vc-revert-buffer): Handle empty diff properly.
1333 (vc-version-backup-file): New function.
1334 (vc-checkout): Create a version backup if necessary.
1335 (vc-checkin): If a version backup file exists, delete it.
1336 (vc-version-diff): Diff locally using version backups, if available.
1337 (vc-revert-file): If there's a version backup, revert locally.
1338 (vc-transfer-file): Use version backup for base version, if
1339 available. If not, ask for confirmation whether to get it from the
1340 server. Update mode line before check-in.
1342 2000-10-04 Dave Love <fx@gnu.org>
1344 * toolbar/tool-bar.el (tool-bar-setup): New function.
1345 (tool-bar-mode): Use it.
1347 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
1349 * net/net-utils.el (nslookup-font-lock-keywords)
1350 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
1351 Only set if window-system is non-nil
1352 (net-utils-run-program): Returns buffer.
1353 (network-connection-reconnect): Added this function.
1356 Incorporates extensive cleanup and docfixes by
1357 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
1358 Uses cl compile-time macros.
1359 (generic-mode-name, generic-comment-list)
1360 (generic-keywords-list, generic-font-lock-expressions)
1361 (generic-mode-function-list, generic-mode-syntax-table):
1363 (generic-mode-alist): Renamed to generic-mode-list.
1364 (generic-find-file-regexp): Default changed to "^#".
1365 (generic-read-type): Uses completing read on generic-mode-list.
1366 (generic-mode-sanity-check): removed this function.
1367 (generic-add-to-auto-mode): Removed this function
1368 (generic-mode-internal): Bind mode-specific definitions
1369 into function instead of putting them in alist.
1370 (generic-mode-set-comments): Reworked extensively.
1371 (generic-mode-find-file-hook): Simplified regexp searching
1372 (generic-make-keywords-list): Omit extra pair of parens
1374 * find-lisp.el (find-lisp-find-files-internal):
1375 Make sure directory name ends with "/".
1377 * generic-x.el (apache-conf-generic-mode):
1378 Regexp now allows leading whitespace.
1379 (rc-generic-mode): Added eval-when-compile
1380 around generic-make-keywords-list.
1381 Deleted duplicate regexp
1382 (rul-generic-mode): Added eval-when-compile
1383 around generic-make-keywords-list.
1384 (etc-fstab-generic-mode): New generic mode.
1385 (rul-generic-mode): Removed one eval-when-compile
1386 which caused a max-specpdl-size exceeded error.
1388 2000-10-04 Miles Bader <miles@gnu.org>
1390 * simple.el (minibuffer-temporary-goal-position): New variable.
1391 (next-history-element): Try to keep the position of point in the
1392 input string constant.
1394 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
1395 (dired-do-create-files): If there's only one file, pass it in as
1396 the DEFAULT arg to dired-mark-read-file-name.
1398 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
1400 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
1401 (diff-goto-source): Be smarter when choosing REVERSE or not.
1403 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
1404 (texinfo-mode-menu): Add an explicit shortcut for update all.
1406 2000-10-03 Andre Spiegel <spiegel@gnu.org>
1408 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
1409 factorize backend-specific code cleanly (this was essentially
1410 conceived by Stefan Monnier).
1411 (vc-unregister): Function removed.
1412 (vc-revert-file): New function.
1413 (vc-revert-buffer): Delegate some of the work to it.
1415 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
1416 default branch unconditionally.
1417 (vc-rcs-set-default-branch): New function.
1418 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
1419 (vc-rcs-checkin): If an appropriate default branch has been set,
1420 force creation of that branch.
1421 (vc-rcs-receive-file): Rewritten to contain only backend-specific
1422 code (as suggested by Stefan Monnier).
1424 2000-10-02 Gerd Moellmann <gerd@gnu.org>
1426 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
1427 highlighting overlay with a different face over the overlay
1428 isearch uses to highlight the current match because that can lead
1429 to bad face combinations.
1431 * loadup.el (toplevel): Load faces before isearch.
1433 * isearch.el (isearch-faces): New custom group.
1434 (isearch): New defface; was already tested for in the code.
1435 (isearch-lazy-highlight-face): Changed to defface from defcustom.
1436 (isearch-highlight): Always use face `isearch'.
1438 2000-10-02 Dave Love <fx@gnu.org>
1440 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
1441 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
1442 comparison of opcode with operand.
1444 2000-10-03 Miles Bader <miles@gnu.org>
1446 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
1447 buffer, since the echo area will now grow to accommodate them.
1449 2000-10-02 Andre Spiegel <spiegel@gnu.org>
1451 * vc-hooks.el (vc-registered): If FILE used to be registered under
1452 a certain backend, try that one first.
1454 * vc.el (vc-responsible-backend): Undo the previous change in the
1455 argument list. Handle multiple backends correctly.
1456 (vc-find-new-backend): Function removed.
1457 (vc-register): Use vc-responsible-backend, as before.
1458 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
1460 2000-10-02 Gerd Moellmann <gerd@gnu.org>
1462 * startup.el (fancy-splash-head): Change message below the
1465 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
1467 * diff-mode.el (diff-goto-source): Emit a status message.
1468 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
1469 (diff-test-hunk): Fix doc string.
1470 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
1471 (diff-advance-after-apply-hunk): New variable.
1472 (diff-apply-hunk): Don't return a value.
1474 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
1476 * vc.el (vc-editable-p): Minor optimization.
1477 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
1478 (vc-find-new-backend): New function split from vc-responsible-backend.
1479 (vc-register): Use it.
1480 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
1481 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
1482 (vc-default-unregister, vc-revert-buffer): Docstring fix.
1483 (vc-clear-headers): Don't use find-file.
1484 (vc-revert-buffer): Use `and' again (must have been a braino).
1485 (vc-switch-backend): Only prompt if requested.
1486 Short circuit if nothing is to be done.
1487 Don't use vc-resynch-buffer which could lose unsaved editing.
1488 (vc-default-receive-file): Update call to vc-unregister.
1489 (with-vc-file, vc-next-action-on-file):
1490 Use vc-backend rather than vc-registered.
1491 (vc-next-action-on-file): Use intern-soft.
1492 Deal with read-only *vc-diff* buffer.
1493 (vc-transfer-file): Docstring fix.
1495 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
1496 (vc-rcs-receive-file): Avoid with-vc-properties.
1497 Update call to vc-unregister.
1498 Use constant `RCS' rather than (dynamically bound) var `backend'.
1500 2000-10-01 Andre Spiegel <spiegel@gnu.org>
1502 * vc.el (vc-next-action-on-file): Update mode line only if file
1504 (vc-start-entry): New argument initial-contents. Don't visit the file
1505 if it isn't already visited. Brought documentation up-to-date.
1506 (vc-next-action, vc-register): Updated calls to vc-start-entry.
1507 (vc-checkin): New optional arg initial-contents, which is passed to
1509 (vc-finish-logentry): Make sure to bury log buffer only if there
1510 really is one. Call `vc-resynch-buffer' on log-file, not
1512 (vc-default-comment-history, vc-default-wash-log): New functions.
1513 (vc-index-of): Removed.
1514 (vc-transfer-file): Make do without the above.
1515 (vc-default-receive-file): Call comment-history unconditionally. Pass
1516 the resulting string to vc-checkin, instead of inserting it into the
1519 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
1520 unconditionally. Use the comments as initial contents of the log
1521 entry buffer. Document the trick to force branch creation with no
1524 2000-10-01 Miles Bader <miles@gnu.org>
1526 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
1527 `recenter' with an arg to prevent redrawing the display.
1529 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
1531 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
1533 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
1535 * progmodes/c-mode.el (c-mode):
1536 Don't gratuitously override the default for comment-column.
1538 * textmodes/tex-mode.el (latex-metasection-list): New var.
1539 (latex-imenu-create-index): Use it.
1540 Move the regexp construction outside loops (and use push).
1541 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
1542 (tex-font-lock-keywords): Moved from font-lock.el.
1543 (tex-comment-indent): Remove.
1544 (tex-common-initialization): Don't set comment-indent-function.
1545 (latex-block-default): New var.
1546 (tex-latex-block): Use it to provide a default choice.
1547 Add any unknown choice to latex-block-names.
1548 Insert [...] after {...}.
1549 (tex-last-unended-begin): Simplify regexp.
1550 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
1551 (latex-forward-sexp-1, latex-forward-sexp): New functions.
1552 (latex-mode): Set forward-sexp-function.
1554 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
1555 Add regexp for @ignore ... @end ignore.
1556 (texinfo-heading-face): New face.
1557 (texinfo-font-lock-keywords): Use it.
1558 (texinfo-mode-menu): New menu.
1559 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
1561 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
1562 (texinfo-section-types-regexp, texinfo-section-level-regexp)
1563 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
1565 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
1567 * delsel.el (delete-selection-mode): Use define-minor-mode.
1569 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
1571 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
1573 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
1575 2000-09-30 Gerd Moellmann <gerd@gnu.org>
1577 * replace.el (keep-lines-read-args): New function.
1578 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
1579 read arguments interactively. Add parameters RSTART and REND.
1580 Operate on the active region in Transient Mark mode.
1582 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
1584 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
1585 (authors-obsolete-files-regexps): New variable.
1586 (authors-add): Don't record changes in obsolete files.
1588 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
1590 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
1592 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
1593 (comment-indent): Make sure there's a space between code and comment.
1594 Shift comments left to avoid going past fill-column.
1596 2000-09-29 Gerd Moellmann <gerd@gnu.org>
1598 * startup.el (startup-echo-area-message): New function.
1599 (display-startup-echo-area-message): Use it.
1600 (fancy-splash-screens): Rewritten to use keymaps and a timer.
1601 (fancy-splash-default-action): New function.
1602 (fancy-splash-screens-1): New function.
1603 (fancy-splash-head): Put a help-echo and a keymap under the image.
1605 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
1607 * diff-mode.el (diff-add-log-file-name): Remove.
1608 (diff-mode): Use add-log-buffer-file-name-function.
1610 * add-log.el (find-change-log): New arg BUFFER-FILE.
1611 (add-log-file-name): Obey add-log-file-name-function.
1612 (add-log-buffer-file-name-function): New var.
1613 (add-change-log-entry): Use it.
1615 2000-09-29 Miles Bader <miles@gnu.org>
1617 * image-file.el (image-file-name-extensions): New variable.
1618 (image-file-name-regexps): Renamed from `image-file-regexps'.
1619 New default value is nil. Call `auto-image-file-mode'.
1620 (image-file-name-regexp): New function.
1621 (auto-image-file-mode): New minor mode.
1622 (insert-image-file): Don't make conditional on the image-file
1623 handler being enabled.
1624 (image-file-handler): Make the call here conditional instead.
1625 (set-image-file-handler-enabled, enable-image-file-handler)
1626 (disable-image-file-handler): Functions removed.
1628 * emacs-lisp/authors.el (authors-print): Rephrase many-files
1631 2000-09-29 Gerd Moellmann <gerd@gnu.org>
1633 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
1634 it's a function from CL.
1635 (latex-imenu-create-index): Replace eval-when-compile with progn
1636 because latex-section-alist is not bound while compiling.
1638 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
1640 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
1641 (outline-mode): Use define-derived-mode.
1643 * progmodes/perl-mode.el (perl-mode):
1644 * progmodes/awk-mode.el (awk-mode):
1645 * progmodes/asm-mode.el (asm-mode):
1646 Don't gratuitously override the default for comment-column.
1648 * emacs-lisp/lisp.el (lisp-complete-symbol):
1649 Distinguish the let-binding case from the funcall case.
1650 (forward-sexp-function): New variable.
1651 (forward-sexp): Use it.
1653 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
1654 (easy-mmode-defmap): Remove the now useless autoload.
1656 * time.el (display-time-mode): Use define-minor-mode.
1658 * subr.el (add-minor-mode): Don't eval NAME.
1659 Don't depend on the presence of TOGGLE-FUN for any special behavior.
1660 Use if rather than cond.
1662 * simple.el (read-expression-map): Define more properly.
1663 (comment-indent-hook): Remove.
1664 (string-to-syntax): Bug fix.
1666 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
1667 (cvs-ediff-diff): Fix typo.
1668 (cvs-revert-if-needed): Don't bother preserving read-only.
1670 * paren.el (show-paren-mode): Use define-minor-mode.
1672 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
1673 (toggle-auto-compression): Remove.
1674 (jka-compr-build-file-regexp): Remove useless grouping.
1676 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
1677 Avoid user-reserved bindings.
1678 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
1679 (diff-header-face): Revert to grey85.
1681 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
1683 * complete.el (partial-completion-mode) <defcustom>: Remove.
1684 (partial-completion-mode): Use define-minor-mode.
1685 (PC-do-completion): Understand `completion-auto-help = delay'
1686 to mean to popup the completion buffer only the second time.
1687 (PC-include-file-all-completions, PC-include-file-all-completions)
1688 (PC-include-file-all-completions): Don't quote lambda.
1690 * comint.el (comint-mode-hook): Docstring fix.
1691 (comint-mode): Use define-derived-mode.
1692 (comint-mode-map): Remove obsolete comment.
1693 (make-comint): Minor stylistic change.
1694 (comint-insert-clicked-input): Be more careful to find the overlay.
1695 Use this-command-keys rather than hardcoding mouse-2.
1697 * font-lock.el: Replace confusing (,@ with ,
1698 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
1699 Don't use regexp-opt-depth. Spice up the regexp for args.
1700 Don't distinguish between cmds that can take an opt arg or not.
1701 Use `append' and `prepend' rather than `keep'.
1703 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
1704 (latex-outline-regexp): New var.
1705 (latex-outline-level): New fun.
1706 (latex-section-alist): New var.
1707 (latex-imenu-create-index): Use it. Use `push' as well.
1708 (tex-shell-map): Initialize it properly.
1709 (tex-mode): Minor stylistic change.
1710 (plain-tex-mode): Use define-derived-mode.
1711 (latex-mode): Use define-derived-mode.
1712 Construct the paragraph regexps in a more readable way.
1713 Set the buffer-local outline-{level,regexp} vars.
1714 (slitex-mode): Derive from latex-mode.
1715 (tex-common-initialization): Don't kill-all-vars anymore.
1716 Add setting for comment-add and font-lock-defaults.
1717 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
1718 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
1719 (tex-start-tex): New arg DIR (and send a chdir command for it).
1720 Also display the shell buffer and save it in tex-last-buffer-texed.
1721 (tex-region): Use expand-file-name rather than concat.
1722 Remove code made useless by changes in tex-start-tex.
1723 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
1725 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
1727 2000-09-28 Dave Love <fx@gnu.org>
1729 * eshell/eshell.el (eshell) <defgroup>: Add :version.
1731 2000-09-28 Gerd Moellmann <gerd@gnu.org>
1733 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
1736 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
1738 * info.el (Info-extract-pointer): Undo last change.
1739 Instead, fix the position of the `bound' arg to re-search-backward.
1741 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
1743 * info.el (Info-extract-pointer):
1744 Widen more carefully, to avoid finding pointers in other nodes.
1745 (Info-index): Use push.
1747 2000-09-27 Gerd Moellmann <gerd@gnu.org>
1749 * frame.el (set-frame-font): Remove call to obsolete function
1751 (set-foreground-color, set-background-color): Likewise for
1752 frame-update-face-colors.
1754 2000-09-27 Miles Bader <miles@gnu.org>
1756 * image-file.el: New file.
1758 2000-09-27 Gerd Moellmann <gerd@gnu.org>
1760 * frame.el (frame-notice-user-settings): Don't call
1761 frame-update-faces, which is a no-op now.
1763 * ediff-wind.el (ediff-control-frame-parameters): Add zero
1766 2000-09-27 Dave Love <fx@gnu.org>
1768 * mouse.el: Fix last change.
1770 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
1772 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
1774 2000-09-22 Kenichi Handa <handa@etl.go.jp>
1776 * international/quail.el (quail-help): The output message is
1779 2000-09-26 Dave Love <fx@gnu.org>
1781 * mouse.el (popup-menu): If POSITION is nil, set it using
1784 2000-09-25 Sam Steingold <sds@gnu.org>
1786 * net/browse-url.el (browse-url-file-url): Check for null maps.
1788 2000-09-26 Gerd Moellmann <gerd@gnu.org>
1790 * frame.el (frame-notice-user-settings): Don't add a
1791 tool-bar-lines frame parameter to default-frame-alist in batch mode.
1793 * frame.el (frame-notice-user-settings):
1794 Make tool-bar-mode and default-frame-alist consistent.
1796 * toolbar/tool-bar.el (tool-bar-help): New function.
1798 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1800 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
1801 current-load-list in top-level forms. Else this leaks a cons cell
1802 every time a defun is called.
1804 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
1806 2000-09-25 Dave Love <fx@gnu.org>
1808 * startup.el (fancy-splash-head): Check XPM is available.
1810 * autoinsert.el (auto-insert): Doc fix.
1811 (auto-insert-alist): Following GNU notices, don't say `copyright
1812 _by_'. Use line-beginning-position.
1813 (auto-insert): Check buffer-file-name is non-nil before use.
1815 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1817 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
1818 starting with `@def' or `@multitable', in addition to ones
1819 specified by the user in auto-fill-inhibit-regexp.
1821 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
1823 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
1824 rmail-dont-reply-to-names matches the empty string.
1826 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1828 * startup.el (command-line-1, fancy-splash-text): Change the
1829 text to sound more friendly.
1831 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
1833 * progmodes/hideshow.el: Update author email address.
1834 Generally, sync w/ maintainer version 5.22.
1835 (hs-hide-all-non-comment-function): New var.
1836 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
1837 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
1838 (hs-show-region): Delete this command.
1839 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
1841 2000-09-22 Dave Love <fx@gnu.org>
1843 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
1844 (hl-line-highlight): Specify buffer when moving overlay.
1846 * progmodes/fortran.el (fortran-mode): Locally set
1847 normal-auto-fill-function.
1848 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
1849 (fortran-mode-map): Adjust auto-fill menu entry.
1851 2000-09-22 Gerd Moellmann <gerd@gnu.org>
1853 * vc-rcs.el (toplevel): Require `vc' when compiling.
1855 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
1857 2000-09-22 Andre Spiegel <spiegel@gnu.org>
1859 * vc.el (vc-switch-backend): Signal an error if the file is not
1860 registered under the new backend.
1862 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
1863 without explicit revision number.
1865 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
1867 * diff-mode.el (diff-file-header-face): Reset to its previous value.
1868 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
1869 (diff-xor): New function.
1870 (diff-find-source-location): Use it. Fix a stupid name clash.
1871 (diff-hunk-status-msg): New function.
1872 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
1873 (diff-test-hunk): Use diff-find-source-location.
1874 (diff-goto-source): Favor the `reverse'.
1875 (diff-hunk-text): Properly handle one-sided context diffs.
1876 (diff-apply-hunk): When done, advance to the next hunk.
1878 2000-09-21 Gerd Moellmann <gerd@gnu.org>
1880 * startup.el (command-line): If frame was created with a non-zero
1881 tool-bar-lines parameter, switch tool-bar-mode on.
1883 * add-log.el (change-log-date-face, change-log-name-face)
1884 (change-log-email-face, change-log-file-face)
1885 (change-log-list-face, change-log-conditionals-face)
1886 (change-log-function-face, change-log-acknowledgement-face):
1887 New faces, inheriting from font-lock faces.
1888 (change-log-font-lock-keywords): Use them.
1890 2000-09-21 Dave Love <fx@gnu.org>
1892 * progmodes/cperl-mode.el (top-level): Clean up
1893 `eval-when-compile's and assorted defvars.
1894 (cperl-invalid-face): Don't double-quote value. Change custom
1896 (cperl-mode): Set normal-auto-fill-function and don't zap
1898 (cperl-imenu--function-name-regexp-perl): Renamed from
1899 imenu-example--function-name-regexp-perl.
1900 (cperl-imenu--create-perl-index): Renamed from
1901 imenu-example--create-perl-index.
1902 (cperl-xsub-scan): Don't require cl.
1904 * msb.el (msb-mode-map): Use substitute-key-definition.
1905 (msb-mode): Use msb-mode-map.
1907 2000-09-21 Andre Spiegel <spiegel@gnu.org>
1909 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
1911 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
1912 (vc-switch-backend): New function.
1913 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
1914 (vc-register): Fix prompt.
1915 (vc-unregister, vc-default-unregister): New functions.
1916 (vc-version-diff): Handle empty buffer in sentinel.
1918 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
1919 (vc-rcs-state-heuristic): Use it to guess the state of files with
1921 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
1922 been set with -b, but not created yet.
1923 (vc-rcs-fetch-master-state): With non-strict locking, compare file
1924 contents in order to find the state.
1925 (vc-rcs-checkin): Allow creation of branches with no changes.
1926 (vc-rcs-unregister, vc-rcs-receive-file)
1927 (vc-rcs-set-non-strict-locking): New functions.
1929 * vc-hooks.el (vc-name): Force correct computation of the value
1930 in case it is missing.
1932 2000-09-21 Gerd Moellmann <gerd@gnu.org>
1934 * startup.el (fancy-splash-tail): Use a different foreground
1935 color on a dark frame background.
1937 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
1939 * info.el: Use the correct capitalization when making Info-mode
1940 and Info-edit-mode `special' modes.
1942 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
1944 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
1945 (diff-mode): Add support for add-log.el.
1946 (diff-hunk-text): Use char offsets rather than line offsets.
1947 (diff-find-source-location): Replace LINE with line-offset (nil
1948 if not found) and always set POS to a meaningful position.
1949 Adapt to the new char-offsets.
1950 (diff-apply-hunk): Drop support for the unused `select' POPUP.
1951 Adapt to the new diff-find-source-location.
1952 (diff-goto-source): Adapt to the new diff-find-source-location.
1954 * add-log.el (add-log-file-name): New function (split out of
1955 add-change-log-entry).
1956 (add-change-log-entry): Use it.
1957 Call add-log-file-name-function with the changelog file name if
1958 the current buffer is not associated with any file.
1959 Avoid find-file if the selected window is dedicated.
1961 * diff-mode.el (diff-find-source-location):
1962 Move code from diff-apply-hunk. Return buffer rather than file.
1963 (diff-apply-hunk): Use the new result from diff-find-source-location.
1964 (diff-goto-source): Use the new diff-find-source-location.
1966 2000-09-20 Dave Love <fx@gnu.org>
1968 * iswitchb.el: Some doc fixes.
1969 (iswitchb-mode-map): Define completely initially. Inherit
1970 minibuffer-local-map.
1971 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
1973 (iswitchb-global-map): New variable.
1974 (iswitchb-summaries-to-end): Amalgamate regexps.
1975 (iswitchb-mode): New.
1976 (iswitchb-mode-hook): New variable.
1977 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
1980 2000-09-20 Gerd Moellmann <gerd@gnu.org>
1982 * ehelp.el (electric-help): New defgroup.
1983 (electric-help-shrink-window): New user-option.
1984 (with-electric-help): Use it.
1986 * window.el (shrink-window-if-larger-than-buffer): If face
1987 `mode-line' has a :box, and we're on a graphical frame, add 1
1988 to the needed window height.
1990 * frame.el (frame-notice-user-settings): Add a last parameter nil
1991 to a call to `append', because the last list passed to `append' is
1992 not copied, and so subsequent calls to assq-delete-all will modify
1993 default-frame-alist.
1995 * startup.el (fancy-splash-image): Change :type.
1996 (fancy-splash-head): Use an XBM image if appropriate.
1997 (command-line-1): Show splash screens in more cases.
1999 * startup.el (fancy-splash-text): Don't quote faces.
2001 * dired.el (dired-font-lock-keywords): Undo last change.
2002 (dired-readin): Bind indent-tabs-mode to nil.
2004 * startup.el (fancy-splash-head): If frame's background mode
2005 is `dark', change the black background of the image to gray.
2006 (fancy-splash-screens): Display startup echo area message.
2007 (display-startup-echo-area-message): New function.
2009 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
2011 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
2013 * info.el (info-header-node): Tweak for color ttys.
2015 * faces.el (face-valid-attribute-values): Make sure directories we
2016 search for stipples both exist and are readable before trying to
2019 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
2020 in the dry-run case.
2022 * jka-compr.el (with-auto-compression-mode): New macro.
2024 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
2025 (custom-group-tag-face, custom-variable-tag-face): Use relative
2026 :height and inherit from `variable-pitch' face instead of
2028 * hi-lock.el (hi-black-hb): Likewise.
2030 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
2031 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
2032 toolbar-add-item, if image doesn't have a mask add a `:mask
2035 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
2037 * diff-mode.el: Docstring fixes.
2038 (diff-header-face, diff-comment-face): New faces.
2039 (diff-font-lock-keywords): Highlight a bit differently.
2040 (diff-find-source-location): Don't return SPAN any more.
2041 (diff-hunk-text): Don't bother erasing the temp buffer.
2042 (diff-find-text): Drop argument LINE.
2043 (diff-apply-hunk): Update calls to diff-find-text.
2044 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
2046 * calendar/calendar.el: Docstring fixes.
2047 (calendar-make-alist): Don't quote lambda.
2048 (calendar-star-date): Use make-local-variable.
2050 2000-09-19 Dave Love <fx@gnu.org>
2052 * toolbar/tool-bar.el: Renamed from toolbar.el.
2053 Change `toolbar' to `tool-bar' generally in symbols.
2054 Make some items invisible in `special' major modes.
2055 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
2058 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
2060 (fancy-splash-delay, fancy-splash-image): Remove :version here.
2062 2000-09-19 Gerd Moellmann <gerd@gnu.org>
2064 * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
2066 * files.el (find-file-suppress-same-file-warnings): New user-option.
2067 (find-file-noselect): Use it.
2069 * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
2070 (fancy-splash-screen): Defgroup.
2072 * add-log.el (change-log-font-lock-keywords): Match names
2073 more exactly for the case that font-lock-constant-face is
2076 2000-09-19 Richard M. Stallman <rms@gnu.org>
2078 * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
2080 2000-09-19 Andre Spiegel <spiegel@gnu.org>
2082 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
2084 2000-09-19 Gerd Moellmann <gerd@gnu.org>
2086 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
2087 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
2088 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
2089 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
2090 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
2091 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
2092 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
2093 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
2094 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
2095 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
2096 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
2097 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
2099 * startup.el (fancy-splash-text): New variable.
2100 (fancy-splash-delay, fancy-splash-image): New user-options.
2101 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
2102 (fancy-splash-screens): New functions.
2103 (command-line-1): If display has a `display' frame parameter, has
2104 colors, and we have XPM support, show more fancy splash screens.
2106 2000-09-19 Dave Love <fx@gnu.org>
2108 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
2109 with null `help'. Use modern backquote syntax.
2111 2000-09-19 Gerd Moellmann <gerd@gnu.org>
2113 * font-lock.el (font-lock-mode): Change message telling the user
2114 that ``the buffer is too big''.
2116 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
2117 for instance for the case that tab-width is 2.
2119 2000-09-18 Gerd Moellmann <gerd@gnu.org>
2121 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
2122 toolbar-add-item, if image doesn't have a mask add a `:mask
2125 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
2127 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
2128 and return a cons if it's non-nil.
2129 (diff-apply-hunk): Try to jump to the line in the source text
2130 corresponding to the position of point in the in the hunk.
2132 * info.el (Info-title-3-face, Info-title-2-face)
2133 (Info-title-1-face): Use face inheritance and relative sizes
2134 instead of hard-wiring things.
2136 * faces.el (secondary-selection): Make dark-background variant sane.
2138 2000-09-16 Andrew Innes <andrewi@gnu.org>
2140 * makefile.w32-in (compile-files-CMD): No need to make .elc files
2141 read-only, since they aren't under VC now.
2143 2000-09-17 Dave Love <fx@gnu.org>
2145 * tmm.el: Replace mapcar with mapc in several places.
2147 * loadhist.el (unload-feature): Maybe call elp-restore-list and
2150 * international/latin1-disp.el: New file.
2152 * calendar/cal-move.el (scroll-calendar-left)
2153 (scroll-calendar-right): Make arg optional (for active mode line).
2155 * calendar/calendar.el (calendar-mode-line-format): Make fields
2157 (calendar-read-date, calendar-read-date, calendar-window-list):
2159 (calendar-month-name): Use aref, not sref.
2161 * view.el (minor-mode-alist): Propertize the string.
2163 * international/characters.el (standard-case-table): Add entries
2166 2000-09-18 Miles Bader <miles@gnu.org>
2168 * info.el (info-node, info-xref): Add dark-background variants.
2170 * faces.el (header-line): Change defaults to be less confusing
2171 when mixed with mode-lines.
2173 * info.el (Info-fontify-node): Make a few cleanups.
2174 Add extra `help-echo' and `local-map' props to node xrefs.
2175 Use header-specific faces for node-names & xrefs.
2176 (Info-use-header-line): New variable.
2177 (info-header-xref, info-header-node): New faces.
2178 (Info-setup-header-line): New function.
2179 (Info-select-node): Call Info-setup-header-line when enabled.
2180 (Info-extract-pointer): Work even if the header line is hidden.
2181 (Info-header-line): New variable.
2183 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
2185 * vms-patch.el (print-region-function): Don't quote lambda.
2187 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
2189 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
2190 (lm-get-header-re): Allow spaces between the header and the colon.
2191 (lm-header): Allow $ in non-RCS headers.
2192 (lm-header-multiline): Put the strings back into order.
2193 Stop at an empty line. Don't require two space chars if the
2194 line is clearly not another header line.
2196 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
2197 (popup-menu-popup): Remove.
2199 2000-09-15 Gerd Moellmann <gerd@gnu.org>
2201 * toolbar/toolbar.el (toolbar-add-item): Use the same image
2202 specification if or if not tool-bar item contains an `:enabled'
2205 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
2206 current buffer has no file name.
2208 2000-09-15 Dave Love <fx@gnu.org>
2210 * strokes.el: Sync with maintainer's current version with changes
2211 for Emacs, but avoid runtime cl and levents.
2212 (toplevel): Change autoloads and compilation requires.
2213 (strokes-version, strokes-bug-address, strokes-lift): Values
2215 (strokes-xpm-header, strokes-insinuated): New variable.
2216 (strokes): Add :link.
2217 (strokes-mode): Customized.
2218 (strokes-while-inhibiting-garbage-collector): New macro.
2219 (strokes-remassoc): Avoid remove-if.
2220 (strokes-fix-button2-command): Don't use ad-do-it.
2221 (strokes-insinuate): New function.
2222 (strokes-button-press-event-p, strokes-button-release-event-p):
2223 New functions, used instead of non-`strokes-' versions..
2224 (strokes-mouse-event-p): Rewritten.
2225 (strokes-event-closest-point): Avoid event-point.
2226 (strokes-get-grid-position): Avoid cdadr, caadr
2227 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
2229 (strokes-help): Use with-output-to-temp-buffer.
2230 (strokes-window-configuration-changed-p): New function.
2231 (strokes-update-window-configuration): Use buffer-live-p,
2232 strokes-window-configuration-changed-p.
2233 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
2234 (strokes-char-face): New face.
2235 (strokes-char-table, strokes-base64-chars): New variable.
2236 (strokes-xpm-for-stroke, strokes-list-strokes)
2237 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
2238 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
2239 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
2240 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
2241 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
2244 2000-09-15 Gerd Moellmann <gerd@gnu.org>
2246 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
2248 * image.el (create-image): Doc fix.
2250 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
2251 instead of `:heuristic-mask t'.
2253 2000-09-14 Andrew Innes <andrewi@gnu.org>
2255 * makefile.w32-in: Revert to Unix line endings.
2257 2000-09-14 Andrew Innes <andrewi@gnu.org>
2259 * makefile.w32-in: Add bootstrap support. Also copy lisp source
2262 * makefile.nt (DONTCOMPILE): Fix typo.
2264 * shell.el (shell-write-history-on-exit): New function.
2265 (shell-dumb-shell-regexp): New custom variable.
2266 (shell-mode): Make shell-write-history-on-exit the process
2267 sentinel if shell name matches shell-dumb-shell-regexp.
2269 * w32-fns.el: Comment out before-init-hook function which resets
2270 source-directory based; this breaks bootstrap.
2272 2000-09-14 Dave Love <fx@gnu.org>
2274 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
2275 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
2276 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
2277 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
2278 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
2279 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
2280 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
2281 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
2282 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
2284 * toolbar/toolbar.el: New.
2286 * subdirs.el: Add toolbar.
2288 2000-09-14 Gerd Moellmann <gerd@gnu.org>
2290 * indent.el (indent-for-tab-command): Doc fix.
2292 2000-09-14 Alex Schroeder <alex@gnu.org>
2294 * ansi-color.el (ansi-colors): Doc change.
2295 (ansi-color-get-face): Simplified regexp.
2296 (ansi-color-faces-vector): Added more faces, doc change.
2297 (ansi-color-names-vector): Doc change.
2298 (ansi-color-regexp): Simplified regexp.
2299 (ansi-color-parameter-regexp): New regexp.
2300 (ansi-color-filter-apply): Doc change.
2301 (ansi-color-filter-region): Doc change.
2302 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
2303 deal with zero length parameters.
2304 (ansi-color-apply-on-region): Doc change.
2305 (ansi-color-map): Doc change.
2306 (ansi-color-map-update): Removed debugging message.
2307 (ansi-color-get-face-1): Added condition-case to trap
2308 args-out-of-range errors.
2309 (ansi-color-get-face): Doc change.
2310 (ansi-color-make-face): Removed.
2311 (ansi-color-for-shell-mode): New option.
2313 2000-09-13 Kenichi Handa <handa@etl.go.jp>
2315 * international/quail.el (quail-start-translation): Translate KEY
2316 if necessary even if it doesn't have any mapping in the current
2318 (quail-start-conversion): Likewise.
2319 (quail-help): The output message is improved.
2321 2000-09-13 Miles Bader <miles@gnu.org>
2323 * comint.el (comint-output-filter): Revert to using
2324 `insert-before-markers'. Add bletcherous hack to undo damage
2325 caused by `insert-before-markers'. Put `front-sticky' property on
2326 overlays created here so that the field code understands how the
2327 overlay works. Use a let when making comint-last-prompt-overlay,
2328 so that the code is easier to read.
2330 2000-09-13 Dave Love <fx@gnu.org>
2332 * wid-edit.el (widget-default-format-handler): DTRT when
2333 doc-property is a function.
2335 2000-09-12 Francesco Potorti` <pot@gnu.org>
2337 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
2338 filed name if it's not there.
2340 2000-09-12 Dave Love <fx@gnu.org>
2342 * simple.el (read-mail-command): Doc fix.
2343 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
2345 * vc.el (vc-dired-listing-switches): Fix :version.
2347 * vc-hooks.el: Doc fixes.
2349 * subr.el (add-minor-mode): Use toggle-fun arg.
2351 * speedbar.el: Add :version to several defcustoms.
2353 * imenu.el (imenu--truncate-items, imenu--cleanup)
2354 (imenu--generic-function): Avoid mapcar.
2355 (imenu--replace-spaces): Function removed.
2356 (imenu--completion-buffer): Use subst-char-in-string.
2357 (imenu-add-to-menubar): Use keymap inheritance.
2359 2000-09-12 Miles Bader <miles@gnu.org>
2361 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
2362 (diff-mode-map): Bind `diff-test-hunk'.
2363 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
2365 2000-09-11 Gerd Moellmann <gerd@gnu.org>
2367 * bytecomp.el (byte-compile-defvar): Undo last change
2368 because it breaks '(make-variable-buffer-local (defvar ...)'
2369 which is used at least in dired.
2371 2000-09-12 Kenichi Handa <handa@etl.go.jp>
2373 * international/quail.el (quail-define-package): Docstring
2376 2000-09-12 Kenichi Handa <handa@etl.go.jp>
2378 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
2379 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
2380 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
2381 docstring of "chinese-py".
2383 * international/quail.el (quail-translation-docstring): New
2385 (quail-show-keyboard-layout): Docstring modified.
2386 (quail-select-current): Likewise.
2387 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
2388 infinite recursive call.
2389 (quail-help): Check quail-translation-docstring. Format of the
2391 (quail-help-insert-keymap-description): Adjusted for the above
2394 2000-09-11 Gerd Moellmann <gerd@gnu.org>
2396 * bytecomp.el (byte-compile-defvar): Only cons onto
2397 current-load-list in top-level forms. Else this leaks a cons cell
2398 every time a defun is called.
2400 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
2402 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
2403 Now understands non-unified diffs. Some functionality moved into
2404 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
2405 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
2406 modify anything. Only reposition point in the patched file if the
2407 patch succeeds. Only pop up another window if POPUP is true.
2408 Emit a message describing what happened if successful, and at what
2409 line-offset. Automatically detect reversed hunks and do something
2411 (diff-hunk-text, diff-find-text): New functions.
2412 (diff-filter-lines): Function removed.
2413 (diff-test-hunk): New function.
2414 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
2416 2000-09-10 Dave Love <fx@gnu.org>
2418 * textmodes/tildify.el: Minor doc/commentary fixes.
2419 (tildify) <defgroup>: Add :version.
2421 * faces.el (face-x-resources): Make custom type more specific.
2422 (frame-background-mode): Use mapc.
2423 (region) <defcustom>: Add :version.
2425 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
2427 * vc-sccs.el (vc-sccs-register):
2428 * vc-rcs.el (vc-rcs-register):
2429 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
2430 * vc.el (vc-register): Clear file's properties.
2432 2000-09-08 Gerd Moellmann <gerd@gnu.org>
2434 * faces.el (face-spec-set): Only face-spec-reset-face when
2437 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
2439 * help.el (help-insert-xref-button): Fix a typo in doc string.
2441 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
2443 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2444 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
2447 * menu-bar.el (read-mail-item-name): New function.
2448 (menu-bar-tools-menu): Use it to compute and display the package
2450 (menu-bar-tools-menu): Fix typo in GUD's help string.
2452 2000-09-07 Dave Love <fx@gnu.org>
2454 * diff-mode.el (diff-mouse-goto-source): New function.
2456 * vc-sccs.el: Doc fixes.
2457 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
2459 * vc-rcs.el: Doc fixes.
2460 (vc-rcs-register-switches, vc-rcs-checkin-switches)
2461 (vc-rcs-checkout-switches, vc-rcs-header)
2462 (vc-rcs-master-templates): Add or change :version.
2464 * vc-cvs.el: Doc fixes.
2465 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
2466 (vc-cvs-stay-local): Add :version.
2468 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
2470 2000-09-07 Kenichi Handa <handa@etl.go.jp>
2472 * international/quail.el (quail-help): Fix previous change.
2474 2000-09-07 Gerd Moellmann <gerd@gnu.org>
2476 * faces.el (color-values): Doc fix.
2478 * faces.el (frame-set-background-mode): Use frame-parameter
2479 instead of frame-parameters.
2481 * frame.el (filtered-frame-list): Reduce consing.
2482 (frames-on-display-list): Call frame-parameter instead of
2485 2000-09-07 Kenichi Handa <handa@etl.go.jp>
2487 * language/devan-util.el (devanagari-to-indian-region): In the
2488 loop, change the following char, not preceding char.
2490 2000-09-07 Gerd Moellmann <gerd@gnu.org>
2492 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
2493 instead of frame-parameters.
2495 * faces.el (set-face-attribute): Simplify by calling
2496 internal-set-lisp-face-attribute with FRAME being 0.
2498 * vc.el: Remove `Id' version control keyword.
2500 2000-09-07 Kenichi Handa <handa@etl.go.jp>
2502 * help.el (help-make-xrefs): Adjusted for the change of
2503 help-xref-mule-regexp.
2504 (help-insert-xref-button): New function.
2506 * international/mule-cmds.el (help-xref-mule-regexp-template):
2507 Include the pattern for character set.
2510 * international/quail.el: Don't require face.
2512 (quail-other-command): Dummy command to make quail-help work better.
2513 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
2514 (quail-keyboard-layout-substitution): New variable.
2515 (quail-update-keyboard-layout): New function.
2516 (quail-keyboard-layout-type): New customizable variable.
2517 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
2518 (quail-keyboard-translate): Pay attention to
2519 quail-keyboard-layout-substitution.
2520 (quail-insert-kbd-layout): New function.
2521 (quail-show-keyboard-layout): New function.
2522 (quail-get-translation): If the definition is a vector of length
2523 1, and the element is a string of length 1, return the character
2525 (quail-update-current-translations): Fix the case of
2526 relative-index out of range.
2527 (quail-build-decode-map, quail-insert-decode-map): New Functions.
2528 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
2529 Show key sequences for all available characters.
2530 (quail-help-insert-keymap-description): Don't show such verbose
2531 key bindings as quail-self-insert-command.
2533 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2534 Format changed, and each element now have extra documentations.
2535 (tit-process-header): Delete invalid characters from TIT-PROMPT.
2536 Adjusted for the change of quail-cxterm-package-ext-info.
2538 2000-09-06 Gerd Moellmann <gerd@gnu.org>
2540 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
2541 requiring it leads to a recursive loading of vc.el and vc-hooks.el
2544 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2546 * vc.el: (toplevel): Don't require `dired' at run-time.
2547 (vc-dired-resynch-file): Remove autoload cookie.
2549 2000-09-05 Andre Spiegel <spiegel@gnu.org>
2551 * vc.el: Made several backend functions optional.
2552 (vc-default-responsible-p): New function.
2553 (vc-merge): Use RET for first version to trigger merge-news, not
2555 (vc-annotate): Handle backends that do not support annotation.
2556 (vc-default-merge-news): Removed. The existence of a merge-news
2557 implementation is now checked on caller sites.
2559 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
2562 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
2563 special case that has been removed from the default in vc-hooks.el.
2565 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2567 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
2569 2000-09-05 Andre Spiegel <spiegel@gnu.org>
2571 * vc-hooks.el: Require vc during compilation.
2572 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
2573 macro `with-vc-properties' in vc.el.
2574 (vc-file-getprop): Doc fix.
2575 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
2577 * vc.el: Require dired-aux during compilation.
2578 (vc-name-assoc-file): Moved to vc-sccs.el.
2579 (with-vc-properties): New macro.
2580 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
2581 vc-finish-steal): Use it.
2582 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
2583 to the backend-specific function is now supposed to do the checkout,
2585 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
2587 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
2588 set file properties; that gets done in the generic code now.
2590 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
2591 Changed parameter list, added code from vc.el that does the
2592 checkout, possibly with a double-take.
2594 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
2595 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
2596 the above under the new name.
2597 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
2598 parameter list, added checkout command.
2599 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
2600 properties; that gets done in the generic code now.
2602 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2604 * vc.el: Docstring fixes (courtesy of checkdoc).
2606 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2608 * vc.el (vc-checkout-writable-buffer-hook)
2609 (vc-checkout-writable-buffer): Remove.
2610 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
2611 (vc-log-mode): Make it into a clean derived major mode.
2612 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
2613 vc-log-mode if log-edit is not available.
2614 (vc-dired-mode-map): Don't set-keymap-parent yet.
2615 (vc-dired-mode): Do set-keymap-parent here.
2616 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
2618 2000-09-05 Gerd Moellmann <gerd@gnu.org>
2620 * faces.el (set-face-attribute, face-spec-reset-face)
2621 (face-spec-set): Avoid consing by removing calls to `apply'.
2623 * frame.el (frame-parameter): Move to C code.
2625 2000-09-05 Dave Love <fx@gnu.org>
2627 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
2628 insert-before-markers-and-inherit. Now checked systematically!
2630 2000-09-05 Alex Schroeder <alex@gnu.org>
2632 * sql.el (sql-postgres): Use sql-postgres-options.
2633 (sql-postgres-options): New variable.
2635 2000-09-05 Alex Schroeder <alex@gnu.org>
2637 * sql.el (sql-mode-menu): Work around missing variable mark-active
2639 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
2640 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
2643 2000-09-04 Gerd Moellmann <gerd@gnu.org>
2645 * vc.el (vc-dired-resynch-file): Add autoload cookie.
2647 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
2649 * Makefile.in (DONTCOMPILE): Fix typo in file name.
2651 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2653 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
2654 don't support anything else under SCCS yet.
2656 * vc-hooks.el: Minor doc fixes.
2658 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2660 * vc.el (vc-next-action-on-file): Do not visit the file if it's
2661 not necessary. If verbose in state `needs-patch', do the same as
2662 under `up-to-date'. When NOT verbose and `needs-patch', check out
2663 latest version instead of `merge-news'.
2664 (vc-next-action-dired): Don't mess with default-directory here; it
2665 breaks other parts of dired. It is the job of the
2666 backend-specific functions to adjust it temporarily if they need it.
2667 (vc-next-action): Remove a special CVS case.
2668 (vc-clear-headers): New optional arg FILE.
2669 (vc-checkin, vc-checkout): Set properties vc-state and
2670 vc-checkout-time properly.
2671 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
2672 (vc-print-log): Use new backend function `show-log-entry'.
2673 (vc-cancel-version): Do the checks in a different order. Added a
2674 FIXME concerning RCS-only code.
2676 * vc-rcs.el (vc-rcs-show-log-entry): New function.
2677 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
2679 * vc-cvs.el (vc-cvs-show-log-entry): New function.
2681 * vc-hooks.el (vc-default-mode-line-string): Show state
2682 `needs-patch' as a `-' too.
2684 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2686 * vc.el (vc-responsible-backend): New optional arg REGISTER.
2687 (vc-default-could-register): New function.
2688 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
2689 (vc-resynch-buffer): Call vc-dired-resynch-file.
2690 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
2691 vc-resynch-buffer instead of vc-resynch-window.
2692 (vc-next-action-dired): Don't redisplay here, that gets done as a
2693 result of the individual file operations.
2694 (vc-retrieve-snapshot): Corrected prompt order.
2696 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
2698 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
2700 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
2701 hostname regexps. Updated all callers.
2702 (vc-cvs-responsible-p): Handle directories as well.
2703 (vc-cvs-could-register): New function.
2704 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
2705 properties up-to-date.
2707 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
2708 user whether to create one.
2710 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2712 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
2713 check out a non-existing file.
2715 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
2716 workfile does not exist.
2718 * vc.el (vc-version-diff): Use `require' to check for existence of
2721 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2723 * vc-cvs.el (vc-cvs-registered): Use new function
2724 vc-cvs-parse-entry to do the actual work.
2726 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2728 * vc-hooks.el (vc-find-backend-function): If function doesn't
2729 exist, return nil instead of error.
2730 (vc-call-backend): Doc fix.
2732 * vc.el (vc-do-command): Doc fix.
2733 (vc-finish-logentry): When checking in from vc-dired, choose the
2734 right backend for logentry check.
2735 (vc-dired-mode-map): Inherit from dired-mode-map.
2736 (vc-dired-mode): Local value of dired-move-to-filename-regexp
2738 (vc-dired-state-info): Removed, updated caller.
2739 (vc-default-dired-state-info): Use parentheses instead of hyphens.
2740 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
2741 (vc-dired-listing-switches): New variable.
2742 (vc-directory): Use it, instead of dired-listing-switches.
2744 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
2745 (vc-cvs-dir-state): New function.
2746 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
2747 (vc-cvs-parse-entry): New function, also to be used in
2750 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2752 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
2753 *or* single-window-frames.
2755 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2757 * vc.el (vc-update-changelog): Split into generic part and default
2758 implementation. Doc string adapted.
2759 (vc-default-update-changelog): New function. Call the `rcs2log'
2760 script in exec-directory, to fix a long-standing nuisance.
2762 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
2763 simply signals an error.
2765 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2767 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
2768 control-flow more clear and to avoid running `cvs' twice.
2770 * vc.el (vc-next-action-on-file): Doc fix.
2771 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
2772 (vc-print-log): Eval `file' before constructing the continuation.
2774 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2776 * vc.el (vc-next-action-on-file): Corrected several messages.
2777 (vc-merge): Add prefix arg `merge-news'; handle it.
2779 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
2780 is not reached. It is.
2781 (vc-cvs-merge): Set state to 'edited after merge.
2782 (vc-cvs-merge-news): Set workfile version to nil if not known.
2783 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
2785 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
2786 via stdout. (Merge from main line.)
2788 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2790 * vc.el (vc-finish-logentry): Thinko in the "same comment"
2793 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2795 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
2796 against kill-all-local-variables.
2797 (vc-log-edit): Don't save vc-parent-buffer any more.
2798 (vc-last-comment-match): Initialize to an empty string.
2799 (vc-post-command-functions): New hook.
2800 (vc-do-command): Run it.
2801 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
2802 (vc-finish-logentry): Only add the comment to the ring if it's
2803 different from the last comment entered.
2804 (vc-new-comment-index): New function.
2805 (vc-previous-comment): Use it. Make the minibuffer message
2806 slightly less terse.
2807 (vc-comment-search-reverse): Make it work forward as well. Don't
2808 set vc-comment-ring-index if no match is found. Use
2809 vc-new-comment-index.
2810 (vc-comment-search-forward): Use vc-comment-search-reverse.
2811 (vc-dired-mode-map): Don't inherit from dired-mode-map since
2812 define-derived-mode will do it for us. Bind `v' to a keymap that
2813 inherits from vc-prefix-map so that we can bind `vt' without
2815 (vc-retrieve-snapshot): Parenthesis typo.
2817 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
2818 to 1. Make sure to switch to *vc* before looking for an error
2819 message. Use vc-parse-buffer.
2821 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2823 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
2825 (vc-retrieve-snapshot): Split into two parts.
2826 (vc-default-retrieve-snapshot): New function.
2828 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
2829 (vc-cvs-retrieve-snapshot): New function (untested).
2830 (vc-cvs-stay-local): Default to t.
2831 (vc-cvs-remote-p): New function and property.
2832 (vc-cvs-state): Stay local only if the above is t.
2833 (vc-handle-cvs): Removed.
2834 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
2835 done via vc-handled-backends now.
2836 (vc-cvs-header): Escape Id.
2838 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2840 * vc.el (vc-do-command): Remove unused commands.
2841 (vc-version-diff): Make sure default-directory ends with a slash.
2842 Move the window commands into a vc-exec-after.
2843 (vc-print-log): Move more of the code into the `vc-exec-after'.
2845 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2847 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
2848 (vc-print-log): Search current revision from beginning of buffer.
2849 (vc-revert-buffer): Clear echo area after the diff is finished.
2850 (vc-prefix-map): Removed definition of "t" for terse display in vc
2852 (vc-dired-mode-map): Inherit from dired-mode-map. Added
2853 definition of "vt" for terse display.
2854 (vc-dired-mode): Fix dired-move-to-filename-regexp.
2856 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2858 * vc.el (vc-exec-after): Avoid caddr.
2860 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2862 * vc.el (vc-exec-after): New function.
2863 (vc-do-command): Use it to add a termination message for async
2865 (vc-checkout): Try to handle a missing-backend situation.
2866 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
2867 of a directory with a backend using async diffs.
2868 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
2871 * vc-sccs.el (vc-sccs-state-heuristic): Use
2872 file-ownership-preserved-p.
2874 * vc-rcs.el (vc-rcs-state-heuristic): Use
2875 file-ownership-preserved-p.
2876 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
2878 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2880 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
2883 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
2884 when there are no changes.
2886 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2888 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
2890 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
2892 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2894 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
2896 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
2897 the `fset' outside of the defvar so that it works even if
2898 vc-prefix-map was already defined.
2899 (vc-setup-buffer): New function, split out of vc-do-command.
2900 (vc-do-command): Allow BUFFER to be t to mean `just use the
2901 current buffer without any fuss'.
2902 (vc-version-diff): Change the `diff' backend operation to just put
2903 the diff in the current buffer without erasing it. Always use
2904 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
2905 shrink-window-if-larger-than-buffer.
2906 (vc-print-log): Change the `print-log' backend operation to just
2907 put the log in the current buffer without erasing it. Protect
2908 shrink-window-if-larger-than-buffer.
2909 (vc-update-change-log): Fix setd typo.
2911 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
2912 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
2914 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
2915 (vc-rcs-diff): Insert in the current buffer and remove unused arg
2918 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
2919 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
2920 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
2922 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2924 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
2925 not possible, use vc-BACKEND-workfile-unchanged-p.
2926 (vc-default-workfile-unchanged-p): New function. Delegates to a
2927 full vc-BACKEND-diff.
2929 * vc-hooks.el (vc-simple-command): Removed.
2931 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
2932 instead of vc-simple-command.
2933 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
2934 avoid doing a diff when opening a file.
2935 (vc-rcs-state): Added check for unlocked-changes.
2936 (vc-rcs-header): Escape Id.
2937 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
2938 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
2941 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
2942 (vc-sccs-diff): Remove optional arg CMP.
2943 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
2944 SCCS-specific function.
2946 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
2949 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2951 * vc.el (vc-editable-p): Renamed from vc-writable-p.
2952 (with-vc-file, vc-merge): Use vc-editable-p.
2953 (vc-do-command): Remove unused var vc-file and fix the
2954 doubly-defined `status' var. Add a user message when starting an
2956 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
2957 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
2958 Use with-current-buffer.
2959 (vc-buffer-sync): Use unless.
2960 (vc-next-action-on-file): If the file is 'edited by read-only,
2961 make it read-write instead of trying to commit.
2962 (vc-version-diff, vc-update-change-log): Use `setq
2963 default-directory' rather than `cd'.
2964 (vc-log-edit): Don't forget to set default-directory in the
2967 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
2968 (vc-sccs-state-heuristic): Use file-writable-p instead of
2970 (vc-sccs-checkout): Use `unless'.
2972 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
2973 of comparing userids.
2974 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
2975 Simplify the logic by eliminating unreachable code.
2976 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
2977 just do a recursive call if we need to retry.
2978 (vc-rcs-checkout): Handle the case where rcs is missing by making
2979 the buffer read-write if requested and re-signalling the error.
2981 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
2983 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2985 * vc-hooks.el (vc-handled-backends): Docstring change.
2986 (vc-ignore-vc-files): Mark obsolete.
2987 (vc-registered): Check vc-ignore-vc-files.
2988 (vc-find-file-hook, vc-file-not-found-hook): Don't check
2991 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
2993 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2995 * vc.el (vc-checkout): Don't do anything special for ange-ftp
2996 files since ange-ftp already has vc-registered return nil.
2998 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
2999 (vc-sccs-workfile-version): Use with-temp-buffer and new
3000 vc-parse-buffer and don't bother setting the property.
3001 (vc-sccs-add-triple): Use with-current-buffer and
3003 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
3005 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
3006 derives from the old vc-parse-buffer but uses the revision number
3007 rather than the date (much easier to compare robustly).
3008 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
3009 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
3010 locking-user more directly. Check strict locking and set
3011 checkout-model appropriately.
3012 (vc-rcs-parse-locks): Remove.
3013 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
3014 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
3015 (vc-rcs-system-release): Use with-current-buffer and
3017 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
3019 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
3020 (vc-simple-command): Docstring fix.
3021 (vc-registered): Align the way the file-handler is called with the
3022 way the function itself works.
3023 (vc-file-owner): Remove.
3025 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
3026 extraction of fields and call to file-attributes because of a
3027 temporary bug in rcp.el.
3028 (vc-cvs-fetch-status): Use with-current-buffer.
3030 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3032 * vc.el (vc-do-command): Use file-relative-name.
3033 (vc-responsible-backend): Use vc-backend if possible.
3034 (vc-create-snapshot): Improve the `interactive' spec. Add support
3035 for branches and dispatch to backend-specific `create-snapshot'.
3036 (vc-default-create-snapshot): New function, containing the bulk of
3037 the old vc-create-snapshot.
3038 (vc-retrieve-snapshot): Improve the interactive spec.
3040 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
3041 (vc-backend-hook-functions): Remove.
3042 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
3043 (vc-backend): Reintroduce the test for `file = nil' now that I
3044 know why it was there (and added a comment to better remember).
3046 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
3047 code from vc-sccs-hooks.el.
3048 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
3050 (vc-sccs-responsible-p): Use expand-file-name instead of concat
3051 and file-directory-p instead of file-exists-p.
3052 (vc-sccs-check-headers): Simplify the regexp.
3054 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
3055 from vc-rcs-hooks.el. Don't require 'vc anymore.
3056 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
3057 file-directory-p instead of file-exists-p.
3059 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
3060 from vc-cvs-hooks.el.
3061 (proto vc-cvs-registered): Require 'vc-cvs instead of
3062 'vc-cvs-hooks. Don't require 'vc anymore.
3063 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
3064 file-directory-p instead of file-exists-p.
3065 (vc-cvs-create-snapshot): New function, replacing
3067 (vc-cvs-assign-name): Remove.
3069 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3071 * vc-cvs.el (vc-cvs-header): New var.
3073 * vc-rcs.el (vc-rcs-exists): Remove.
3074 (vc-rcs-header): New var.
3076 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
3077 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
3078 (vc-sccs-header): New var.
3080 * vc.el (vc-do-command): Get rid of the `last' argument.
3081 (vc-header-alist): Remove, replaced by vc-X-header.
3082 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
3083 (vc-dired-hook): Use expand-file-name instead of concat.
3084 (vc-directory): Use file-name-as-directory.
3085 (vc-snapshot-precondition, vc-create-snapshot)
3086 (vc-retrieve-snapshot): Allow the command to operate on any
3089 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
3090 just removing the 'WORKFILE argument or by removing the 'MASTER
3091 argument and replacing `file' with (vc-name file).
3093 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3095 * vc.el: Update Copyright and add a crude list of backend funs.
3096 (vc-writable-p): New function.
3097 (with-vc-file): Use vc-writable-p.
3098 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
3099 (vc-register): Avoid vc-name.
3100 (vc-locking-user): Remove.
3101 (vc-steal-lock): Make the `owner' arg non-optional.
3102 (vc-merge): Use vc-writable-p instead of vc-locking-user and
3104 (vc-default-dired-state-info): Use vc-state instead of
3105 vc-locking-user and return special strings for special states.
3106 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
3107 and get rid of one of the special CVS cases.
3108 (vc-cancel-version): prettify error message with \\[...].
3109 (vc-rename-master): New function.
3110 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
3111 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
3112 the CVS special case generic.
3113 (vc-default-record-rename): Remove.
3114 (vc-file-tree-walk-internal): Only call FUNC for files that are
3115 under control of some VC backend and replace `concat' with
3117 (vc-file-tree-walk): Update docstring.
3118 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
3119 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
3121 * vc-sccs.el (vc-sccs-rename-file): Renamed from
3122 vc-sccs-record-rename. Use `find-file-noselect' rather than
3123 `find-file' and call `vc-rename-master' to do the actual move.
3124 (vc-sccs-diff): Remove unused `backend' variable.
3126 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
3127 to delay loading of vc-sccs until it is really used.
3128 (vc-sccs-master-templates): Preload.
3129 (vc-sccs-state): Update call to vc-sccs-parse-locks.
3130 (vc-sccs-project-dir): Remove (merged into
3131 vc-sccs-search-project-dir).
3132 (vc-sccs-search-project-dir): Rewrite using file name handling ops
3133 rather than `concat', make sure it is preloaded and don't bother
3134 to check that the file actually exists.
3135 (vc-sccs-parse-locks): Remove unused `file' argument, remove
3136 `locks' argument (use buffer's content instead) and eliminate n^2
3139 * vc-rcs.el: Update Copyright.
3140 (vc-rcs-rename-file): New function.
3141 (vc-rcs-diff): Remove unused `backend' variable.
3143 * vc-hooks.el: Update Copyright.
3144 (vc-backend): Don't accept a nil argument any more.
3145 (vc-up-to-date-p): Turn into a defsubst.
3146 (vc-possible-master): New function.
3147 (vc-check-master-templates): Use `vc-possible-master' and allow
3148 funs in vc-X-master-templates to return a non-existent file.
3150 * vc-cvs.el: Update Copyright.
3151 (vc-cvs-diff): Remove unused `backend' variable.
3152 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
3154 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
3156 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3158 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
3159 since it can be called from vc-rcs.el.
3160 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
3162 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3164 * vc.el (vc-version-diff): Expand file name read from the
3165 minibuffer. Handle the case when a previous version number can't
3166 be guessed. Give suitable messages when there were no differences
3168 (vc-clear-headers): Call backend-specific implementation, if one
3170 (vc-cancel-version): Made error checks generic. When done, clear
3171 headers generically, too.
3173 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
3174 from vc-clear-headers in vc.el.
3176 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
3178 (vc-rcs-latest-on-branch-p): Made second argument VERSION
3179 optional. Handle the case when it's not there.
3181 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3183 * vc.el (vc-locking-user): Moved from vc-hooks.el.
3185 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3187 * vc-hooks.el (vc-loadup): Remove.
3188 (vc-find-backend-function): Use `require'. Also, handle the case
3189 where vc-BACKEND-hooks.el doesn't exist.
3190 (vc-call-backend): Cleanup.
3192 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3194 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
3195 vc-rcs-grab-templates)
3196 (vc-rcs-registered): Remove. The default function works as well.
3197 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
3198 vc-sccs-grab-templates)
3199 (vc-sccs-registered): Remove. The default function works as well.
3201 * vc.el (vc-version-diff): Left out a vc- in call to
3203 (vc-default-dired-state-info, vc-default-record-rename)
3204 (vc-default-merge-news): Update for the new backend argument.
3206 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
3207 using the default function.
3208 (vc-call-backend): If calling the default function, pass it the
3209 backend as first argument. Update the docstring accordingly.
3210 (vc-default-state-heuristic, vc-default-mode-line-string): Update
3211 for the new backend argument.
3212 (vc-make-backend-sym): Renamed from vc-make-backend-function.
3213 (vc-find-backend-function): Use the new name.
3214 (vc-default-registered): New function.
3216 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3218 * vc.el (vc-merge): Use vc-find-backend-function.
3220 * vc-hooks.el (vc-backend-functions): Remove.
3221 (vc-loadup): Don't setup 'vc-functions.
3222 (vc-find-backend-function): New function.
3223 (vc-call-backend): Use above fun and populate 'vc-functions
3225 (vc-backend-defines): Remove.
3227 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3229 * vc.el (vc-register): Put a FIXME note for a newly found bug.
3230 Call vc-call-backend without the leading vc-.
3231 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
3232 (vc-check-headers): Call vc-call-backend without the leading vc-.
3233 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
3234 (vc-annotate-display): Replace confusing use of `cond' with `or'.
3235 Call vc-call-backend without the leading vc-.
3237 * vc-cvs.el (tail): Provide vc-cvs.
3238 * vc-sccs.el (tail): Provide vc-sccs.
3239 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
3241 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
3242 (vc-make-backend-function, vc-call): Pass names without leading
3243 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
3244 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
3245 (vc-call-backend): Always try to load vc-X-hooks.
3246 (vc-registered): Remove vc- in call to vc-call-backend.
3248 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3250 * vc.el (vc-process-filter): New function.
3251 (vc-do-command): Setup `vc-process-filter' for the async process.
3252 (vc-maybe-resolve-conflicts): New function to reduce
3253 code-duplication. Additionally, it puts the buffer in
3254 `smerge-mode' if applicable.
3255 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
3256 calling `merge-news'.
3257 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
3258 (vc-log-edit): New function. Replacement for `vc-log-mode' by
3259 interfacing to log-edit.el.
3260 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
3261 log-edit is available.
3262 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
3264 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3266 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
3267 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
3268 defvar and the initialization.
3269 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
3271 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
3272 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
3274 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
3276 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3278 * vc.el (vc-file-clear-masterprops): Removed.
3279 (vc-checkin, vc-revert-buffer): Removed calls to the above.
3280 (vc-version-diff): Use buffer-size without argument.
3281 (vc-register): Heed vc-initial-comment.
3283 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
3286 * vc-rcs.el (vc-rcs-register): Parse command output to find master
3287 file name and workfile version.
3288 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
3290 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
3291 vc-file-clear-masterprops.
3293 * vc-sccs.el (vc-sccs-checkout): Removed call to
3294 vc-file-clear-masterprops. If writable, set vc-state to 'edited
3295 rather than user login name.
3298 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3300 * vc.el (vc-workfile-unchanged-p): Remove unused argument
3301 `want-differences-if-changed' and simplify.
3302 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
3303 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
3304 output (which is invalid for async vc-diff) to decide whether to
3305 do the revert silently or not.
3307 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3309 * vc-hooks.el (vc-loadup): Load files quietly.
3310 (vc-call-backend): Oops, brain fart.
3312 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3314 * vc-cvs.el (vc-cvs-state): Typo.
3315 (vc-cvs-merge-news): Return the status code rather than the error msg.
3317 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3319 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
3320 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
3321 vc-state or vc-up-to-date-p.
3322 (vc-merge): Use vc-backend-defines to check whether merging is
3323 possible. Set state to 'edited after successful merge.
3325 * vc-hooks.el (vc-locking-user): If locked by the calling user,
3326 return that name. Redocumented.
3328 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3330 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
3331 new `vc-state' semantics.
3332 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
3333 'vc-locking-user to the current user.
3334 (vc-merge): Inline vc-backend-merge. Comment out code that I
3335 don't understand and hence can't adapt to the new `vc-state' and
3336 `vc-locking-user' semantics.
3337 (vc-backend-merge): Remove.
3339 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
3340 rather than 'vc-locking-user.
3342 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
3344 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
3345 (vc-state): Don't use 'reserved any more. Just use the same
3346 convention as the one used for vc-<backend>-state where the
3347 locking user (as a string) is returned.
3348 (vc-locking-user): Update, based on the above convention. The
3349 'vc-locking-user property has disappeared.
3350 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
3352 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
3353 with a heuristic one.
3354 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
3355 (vc-cvs-checkin): Do a trivial parse to set the state in case of
3356 error. That allows us to get to 'needs-merge even in the
3357 stay-local case. There's still no way to detect 'needs-patch in
3358 such a setup (or to force an update for that matter).
3359 (vc-cvs-logentry-check): Remove, the default works as well.
3361 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3363 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
3365 * vc.el (vc-do-command): kill-all-local-variables, to reset any
3366 major-mode in which the buffer might have been put earlier. Use
3367 `remove' and `when'. Allow `okstatus' to be `async' and use
3368 `start-process' in this case.
3369 (vc-version-diff): Handle the case where the diff looks empty
3370 because of the use of an async process.
3372 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3374 * vc.el (vc-next-action-on-file): Removed optional parameter
3375 `simple'. Recompute state unconditionally.
3376 (vc-default-toggle-read-only): Removed.
3378 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
3379 (vc-toggle-read-only): Undid prev change.
3381 * vc-cvs.el (vc-cvs-stay-local): Renamed from
3382 vc-cvs-simple-toggle. Redocumented.
3383 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
3384 (vc-cvs-toggle-read-only): Removed.
3386 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3388 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
3389 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
3390 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
3391 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
3392 still is. So maybe it should be removed.
3393 (vc-head-version, vc-find-binary): Remove.
3394 (vc-recompute-state): Move from vc-hooks.el.
3395 (vc-next-action-on-file): Add a `simple' argument to allow
3396 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
3397 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
3398 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
3399 (vc-dired-mode-map): Properly defvar it.
3400 (vc-print-log): Call log-view-mode if available.
3401 (small-temporary-file-directory): defvar instead of use boundp.
3402 (vc-merge-news): Moved to vc-cvs.el.
3403 (vc-default-merge-news): New function.
3405 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
3406 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
3407 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
3408 unknown `vc-latest-version' function. It should probably refer to
3409 vc-workfile-version or somesuch, but it's very unclear to me and I
3410 don't have SCCS to test things.
3412 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
3413 (vc-sccs-state-heuristic): Fix typo.
3414 (vc-sccs-workfile-unchanged-p): Add missing argument.
3416 * vc-rcs.el: Require vc and vc-rcs-hooks.
3417 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
3418 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
3419 (vc-release-greater-or-equal-p): Move from vc.
3420 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
3421 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
3422 (vc-rcs-checkout): Add a missing `new-version' argument in the
3423 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
3425 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
3426 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
3427 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
3428 than the apparently unbound `workfile-version'.
3430 * vc-hooks.el (vc-master-templates): Def the obsolete var.
3431 (vc-file-prop-obarray): Use `make-vector'.
3432 (vc-backend-functions): Add new hookable functions
3433 vc-toggle-read-only, vc-record-rename and vc-merge-news.
3434 (vc-loadup): If neither backend nor default functions exist, use
3435 the backend function rather than nil.
3436 (vc-call-backend): If the function if not bound yet, try to load
3437 the non-hook file to see if it provides it.
3438 (vc-call): New macro plus use it wherever possible.
3439 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
3440 nor `vc-find-binary' since it's only called from
3441 vc-mistrust-permission which is only used once the backend is known.
3442 (vc-checkout-model): Fix parenthesis.
3443 (vc-recompute-state, vc-prefix-map): Move to vc.el.
3445 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
3446 (vc-cvs-release, vc-cvs-system-release): Remove.
3447 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
3448 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
3450 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
3451 (vc-cvs-toggle-read-only): First cut at a function to allow a
3452 cvs-status-free vc-toggle-read-only.
3453 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
3454 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
3455 vc-cvs-status. Also set vc-state rather than vc-locking-user.
3456 (vc-cvs-checkout): Modify access rights directly if the user
3457 requested not to use `cvs edit'. And refresh the mode line.
3459 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
3460 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
3462 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3464 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
3465 workfile' that got lost when the code was extracted from vc.el.
3466 And merged the tail with the rest of the code (not possible in the
3467 old vc.el where the tail was shared among all backends). And
3468 explicitly set the state to 'edited if `writable' is set.
3470 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
3471 (vc-cvs-state): Be careful to return the value from
3473 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
3474 property but return it instead. Also be careful to handle a nil
3475 or "" `rev' when workfile is non-nil (it was handled properly when
3478 * vc.el: Removed those pesky unnecessary `(function' quotes.
3479 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
3480 directly in the defvar.
3481 (vc-do-command): Bind inhibit-read-only so as to properly handle
3482 the case where the destination buffer has been made read-only.
3483 (vc-diff): Delegate to vc-version-diff in all cases.
3484 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
3485 (vc-annotate-mode-variables): Removed (code moved partly to
3486 defvars and partly to vc-annotate-add-menu).
3487 (vc-annotate-mode): Turned into a derived-mode.
3488 (vc-annotate-add-menu): Moved in code in
3489 vc-annotate-mode-variables.
3490 (vc-update-change-log): Use make-temp-file if available.
3492 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
3494 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
3495 `vc-checkout-model' updated to `vc-cvs-update-model'.
3497 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3499 * vc.el (vc-next-action-on-file): Added handling of state
3501 (vc-checkout-carefully): Is now practically obsolete, unless the
3502 above is too slow to be enabled unconditionally.
3503 (vc-update-change-log): Fixed typo.
3505 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
3507 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
3508 Now handles state `unlocked-changes'.
3509 (vc-sccs-workfile-unchanged-p): New function, to support the above.
3511 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
3513 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
3514 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
3516 (vc-rcs-workfile-unchanged-p): Renamed from
3517 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
3518 function yet, but supposed to become one soon.
3520 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
3522 (vc-call-backend): Changed error message.
3523 (vc-state): Added description of state `unlocked-changes'.
3525 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3527 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
3528 always return t in CVS-controlled directories.
3530 * vc.el (vc-responsible-backend): New function.
3531 (vc-register): Largely rewritten.
3532 (vc-admin): Removed (implementation moved into vc-register).
3533 (vc-checkin): Redocumented.
3534 (vc-finish-logentry): If no backend defined yet (because we are in
3535 the process of registering), use the responsible backend.
3537 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
3538 Updated function lists.
3539 (vc-call-backend): Fixed typo.
3541 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
3543 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
3544 Removed query option. Redocumented.
3546 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3548 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
3550 * vc.el: Updated callers of `vc-checkout-required' to use
3551 `vc-checkout-model'.
3553 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3555 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
3556 stuff updated to reference this function instead of the old
3557 `vc-backend-release-p'.
3559 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3561 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
3562 vc-checkout-model. Return appropriate values. Updated callers.
3564 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3566 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
3567 (vc-backend-revert): Function moved into `vc-revert';
3568 `vc-next-action' must be updated to accomodate this change.
3569 (vc-backend-steal): Function moved into `vc-finish-steal'.
3570 (vc-backend-logentry-check): Function moved into
3571 `vc-finish-logentry'.
3572 (vc-backend-printlog): Function moved into `vc-print-log'.
3573 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
3574 (vc-backend-assign-name): Function moved into
3575 `vc-create-snapshot'.
3577 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3579 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
3580 Rename to vc-checkout-model. Return appropriate values.
3583 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
3584 to vc-checkout-model.
3585 (vc-checkout-required): Rename to vc-checkout-model.
3586 Re-implement and re-comment.
3587 (vc-after-save): Use vc-checkout-model.
3589 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3591 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
3592 Update to use the vc-BACKEND-diff functions instead.
3593 `vc-diff' is now working.
3595 * vc-rcs.el (vc-rcs-logentry-check): New function.
3597 * vc-cvs.el (vc-cvs-logentry-check): New function.
3599 * vc-sccs.el (vc-sccs-diff): Function changed name from
3600 `vc-backend-diff'. This makes `vc-diff' work.
3602 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
3603 of functions possibly implemented in a vc-BACKEND library.
3604 (vc-checkout-required): Fix bug that caused an error to be
3605 signaled during `vc-after-save'.
3608 This checkin is made with our new VC code base for the very first time.
3609 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
3611 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
3612 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
3614 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
3615 updated to `vc-uses-locking'.
3616 (vc-checkout-required): Call to backend function.
3617 `vc-checkout-required' updated to `vc-uses-locking' instead.
3619 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
3620 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
3622 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
3623 to match the split into various backends.
3624 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
3625 (vc-retrieve-snapshot): Bug fix.
3627 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3629 * vc-sccs.el (vc-sccs-release): Doc fix.
3631 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3633 * vc.el (vc-next-action-on-file): Bug found and fixed.
3634 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
3635 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
3637 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
3638 (vc-rcs-checkout): Name space cleaned up. No more revision number
3639 crunching function names that are not prefixed with vc-rcs.
3640 (vc-rcs-checkout-model): Function added. References to
3641 `vc-checkout-model' replaced.
3643 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3645 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
3646 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
3647 still need to be split, and implemented for RCS).
3649 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3651 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
3653 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
3654 required by the vc.el file.
3656 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
3657 required by the vc.el file.
3658 (vc-rcs-exists): Function added.
3660 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
3661 required by the vc.el file.
3663 * vc.el (vc-admin): Updated to handle selection of appropriate
3664 backend. Current implementation is crufty and need re-thinking.
3666 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
3668 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3670 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
3671 beginning of annotate buffers correctly.
3673 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
3674 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
3675 functionality updated quite a lot to support multiple backends.
3676 Variables `vc-annotate-mode', `vc-annotate-buffers',
3677 `vc-annotate-backend' added.
3679 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
3680 `vc-annotate-difference' added to supported backend functions.
3682 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3684 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
3685 Use with-temp-file instead of /bin/sh. Merged from mainline
3687 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3689 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
3691 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
3693 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
3695 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3697 * vc-hooks.el: vc-state-heuristic added to
3698 vc-backend-hook-functions.
3700 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
3702 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
3704 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
3705 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
3706 state to `reserved'.
3708 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
3709 `vc-checkout-required'. Rename the `locked' state to `reserved'.
3711 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3713 * vc-rcs-hooks.el: Implement new state model. Hardly anything
3716 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
3718 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
3719 if defined. (Merged from main line, slightly adapted.)
3721 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
3722 millenium problem (merged from mainline).
3724 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3726 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
3727 part and moved the non-BACKEND stuff to vc.el.
3729 * vc.el: Split the annotate feature into a BACKEND specific part
3730 and moved it from the vc-cvs.el file to this one.
3732 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3734 * vc-hooks.el: Implement new state model.
3735 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
3736 (vc-locking-user): Simplify. Now only needed if the file is
3737 locked by somebody else.
3738 (vc-lock-from-permissions): Remove. Functionality is in
3739 vc-sccs-hooks.el and vc-rcs-hooks.el now.
3740 (vc-mode-line-string): New name for former vc-status. Adapted.
3741 (vc-mode-line): Adapt to use the above. Remove optional parameter.
3743 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
3744 Various simplifications and adaptations all over the place.
3746 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
3747 Simplify and adapt the rest.
3749 * vc.el (vc-resynch-window): Add TODO comment: check for
3750 interaction with view mode according to recent RCS change.
3751 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
3753 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3755 * vc.el: Convert the remaining function comments to docstrings.
3757 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3759 * vc.el (vc-backend-release, vc-release-greater-or-equal)
3760 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
3761 (vc-minor-part, vc-previous-version): Functions that operate and
3762 compare revision numbers got proper documentation. Comments added
3763 about their possible removal.
3765 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3767 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
3768 the vc-backend.el files.
3770 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
3772 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
3773 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
3774 (vc-rcs-previous-version): Functions added.
3776 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
3778 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
3780 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3782 * vc-hooks.el (vc-master-templates): Is really obsolete.
3783 Comment out the definition for now. What is the right procedure
3785 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
3787 (vc-default-registered): Remove.
3788 (vc-check-master-templates): New function; does mostly what the
3790 (vc-locking-user): Don't rely on the backend to set the property.
3792 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
3793 Rewrite documentation.
3794 (vc-rcs-templates-grabbed): New variable.
3795 (vc-rcs-grab-templates): New function.
3796 (vc-rcs-registered): Rewrite to use above mechanism.
3798 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
3799 Rewrite documentation.
3800 (vc-sccs-templates-grabbed): New variable.
3801 (vc-sccs-grab-templates): New function.
3802 (vc-sccs-registered): Rewrite to use above mechanism.
3803 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
3804 Don't throw the result, simply return it.
3806 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
3807 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
3808 (vc-cvs-registered): Does the check itself now. Simplify.
3810 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
3813 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3815 * vc-cvs.el (vc-cvs-diff): New function.
3817 * vc-sccs.el (vc-sccs-diff): New function.
3819 * vc-rcs.el (vc-rcs-diff): New function.
3820 (vc-rcs-checkout): Bug (typo) found and fixed.
3821 (vc-rcs-register-switches): New variable.
3823 * vc.el (vc-backend-diff): Function removed and placed in the
3826 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3828 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
3830 * vc.el (vc-backend-checkout): Function removed and replaced in
3831 the vc-backend.el files.
3833 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
3835 * vc.el (vc-backend-admin): Removed and replaced in the
3836 vc-backend.el files.
3838 * vc.el (Martin): Removed all the annotate functionality since it
3839 is CVS backend specific.
3841 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3843 * spec.txt: Added specification of vc-state.
3845 * vc-sccs-hooks.el (vc-sccs-master-properties):
3846 Remove handling of vc-latest-version and
3847 vc-your-latest-version. What used to be vc-latest-version, is now
3848 returned as vc-workfile-version.
3849 (vc-sccs-workfile-version): Adapt.
3851 2000-09-04 Dave Love <fx@gnu.org>
3853 * vc.el: [Merged from mainline.]
3854 (vc-dired-mode): Make the dired-move-to-filename-regexp
3855 regexp match the date, to avoid treating date as file size.
3856 Add YYYY S option to WESTERN/
3858 2000-09-04 Dave Love <fx@gnu.org>
3860 * vc.el: Require `compile' when compiling.
3861 (vc-logentry-check-hook): New option.
3862 (vc-steal-lock): Use compose-mail.
3863 (vc-dired-mode-map): Defvar when compiling.
3864 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
3865 vc-sccs.el and renamed. Callers changed.
3866 (vc-backend-checkout, vc-backend-logentry-check)
3867 (vc-backend-merge-news): Doc fix.
3868 (vc-default-logentry-check): New function.
3869 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
3870 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
3871 (vc-backend-merge): Doc fix. Use backend functions.
3872 (vc-check-headers): Use backend functions.
3874 * vc-cvs.el: Require vc when compiling.
3875 (vc-cvs-register-switches): Doc fix.
3876 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
3877 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
3878 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
3879 New functions (code from vc.el).
3880 (vc-annotate-display-default): Fix interactive spec.
3881 (vc-annotate-time-span): Doc fix.
3883 * vc-rcs.el: Require vc when compiling.
3884 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
3885 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
3886 (vc-rcs-checkin): New functions (code from vc.el).
3887 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
3889 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
3891 * vc-sccs.el: Require vc when compiling.
3892 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
3893 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
3895 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
3897 (vc-sccs-add-triple, vc-sccs-record-rename)
3898 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
3899 (vc-sccs-admin): Doc fix.
3901 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3903 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
3904 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
3905 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
3908 * vc-sccs.el (vc-admin-sccs): Added from vc.el
3910 * vc-cvs.el: Moved the annotate functionality from vc.el.
3911 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
3913 2000-09-04 Dave Love <fx@gnu.org>
3915 * vc.el (vc-backend-release): Call vc-system-release.
3917 * vc-sccs.el (vc-sccs-system-release):
3918 Renamed from vc-sccs-backend-release.
3920 * vc-rcs.el (vc-rcs-system-release):
3921 Renamed from vc-rcs-backend-release.
3923 * vc-cvs.el (vc-cvs-system-release):
3924 Renamed from vc-cvs-backend-release.
3926 2000-09-04 Dave Love <fx@gnu.org>
3928 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
3930 (vc-backend-release): Dispatch to backend functions.
3931 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
3932 probably needs attention.]
3934 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
3935 (vc-sccs-backend-release): New function.
3937 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
3938 (vc-cvs-backend-release): New function.
3940 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
3942 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
3943 (vc-default-dired-state-info): New function.
3944 (vc-dired-state-info): Dispatch to backends.
3945 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
3947 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
3948 from vc.el and renamed.
3950 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3952 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
3953 (vc-version-other-window, vc-backend-assign-name): Removed
3954 references to vc-latest-version; sometimes changed into
3955 vc-workfile-version.
3957 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
3958 vc-rcs-master-workfile-version.
3959 (vc-rcs-workfile-version): Use the above. Don't call
3960 vc-latest-version (that was unreachable code, anyway).
3961 (vc-rcs-fetch-master-properties): Doc fix.
3963 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
3964 (vc-backend-hook-functions): Removed them from this list, too.
3965 (vc-fetch-properties): Removed.
3966 (vc-workfile-version): Doc fix.
3968 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
3969 (vc-rcs-workfile-version, vc-rcs-locking-user)
3970 (vc-rcs-uses-locking): Use it.
3972 * vc-hooks.el (vc-consult-rcs-headers):
3973 Moved into vc-rcs-hooks.el, under the name
3974 vc-rcs-consult-headers.
3976 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
3978 (vc-cvs-find-master): Use this name only; correct different
3979 versions of the name.
3981 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
3983 (vc-sccs-locking-user): Use the latter.
3985 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
3988 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
3990 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
3991 functions are implementation details of those two backends.
3993 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3995 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
3996 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
3998 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
3999 (vc-sccs-parse-locks): SCCS-specific code moved here from
4002 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
4003 code moved here from vc-hooks.
4005 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
4006 into back-end specific parts and removed. Callers not updated
4007 yet; because I guess these callers will disappear into back-end
4008 specific files anyway.
4010 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4012 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
4013 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
4016 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
4017 Store yes/no in the property, and return t/nil. Updated all
4020 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
4021 vc-sccs-uses-locking. Don't set property.
4022 (vc-sccs-locking-user): Don't set property.
4024 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
4025 vc-cvs-uses-locking. Don't set property here; leave that to
4027 (vc-cvs-locking-user): Reflect above change. Streamlined.
4029 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
4030 vc-rcs-uses-locking.
4031 (vc-rcs-locking-user): Reflect above change.
4033 2000-09-04 Dave Love <fx@gnu.org>
4035 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
4037 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
4039 * vc-hooks.el (vc-checkout-model): Punt to backends.
4041 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
4043 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
4045 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
4048 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
4051 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
4052 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
4054 * vc-hooks.el (vc-default-locking-user): New function.
4055 (vc-locking-user, vc-workfile-version): Punt to backends.
4057 2000-09-04 Dave Love <fx@gnu.org>
4059 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
4060 (vc-master-workfile-version): Moved from vc-hooks.
4062 * vc-rcs-hooks.el: Fix duplicate code in last change.
4064 * vc-rcs-hooks.el: Require vc-hooks when compiling.
4065 (vc-rcs-master-templates): Improve :type.
4066 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
4067 vc-master-workfile-version): Moved from vc-hooks.
4069 * vc-sccs-hooks.el: Require vc-hooks when compiling.
4070 (vc-sccs-master-templates): Improve :type.
4071 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
4073 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
4075 * vc-cvs-hooks.el: Require vc-hooks when compiling.
4076 (vc-cvs-master-templates): Improve :type. Use
4077 vc-cvs-find-cvs-master.
4078 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
4080 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
4082 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
4083 Moved to vc-cvs-hooks.
4085 * vc-hooks.el: Add doc strings in various places. Simplify the
4087 (vc-handled-backends): New user variable.
4088 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
4091 2000-09-04 Dave Love <fx@gnu.org>
4093 * vc.el: Some doc fixes for autoloaded and interactive functions.
4094 Fix compilation warnings from ediff stuff.
4095 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
4097 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
4099 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
4101 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
4103 2000-09-04 Dave Love <fx@gnu.org>
4105 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4107 (vc-make-backend-function, vc-loadup, vc-call-backend)
4108 (vc-backend-defines): New functions.
4110 * vc-hooks.el: Various doc fixes.
4111 (vc-default-back-end, vc-follow-symlinks): Custom fix.
4112 (vc-match-substring): Function removed. Callers changed to use
4114 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
4117 2000-09-04 Dave Love <fx@gnu.org>
4119 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
4121 (vc-sccs-project-dir, vc-search-sccs-project-dir)
4122 (vc-sccs-registered): Doc fix.
4124 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
4125 (vc-cvs-registered): Doc fix.
4127 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
4128 (vc-rcs-registered): Doc fix.
4130 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4132 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
4134 * vc-hooks.el: vc-registered has been renamed
4135 vc-default-registered. Some functions have been moved to the
4136 backend specific files. they all support the
4137 vc-BACKEND-registered functions.
4139 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4141 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
4143 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
4145 2000-09-04 Dave Love <fx@gnu.org>
4147 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
4148 menu-bar-update-hook.
4150 * help.el (help-manyarg-func-alist): Add
4151 find-operation-coding-system.
4153 * wid-edit.el (widget-sexp-validate): Fix garbled code.
4155 * custom.el (custom-set-variables): Print message about errors in
4158 2000-09-03 Andrew Innes <andrewi@gnu.org>
4160 * makefile.w32-in: Change to DOS line endings.
4162 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4164 * mouse.el (mouse-popup-menubar): Supply the prompt string for
4165 minor-mode keymaps, if they don't have one.
4167 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4169 * eshell/esh-module.el (eval-when-compile): Don't lose if
4170 esh-module.el's file name is truncated to DOS 8+3 limits.
4172 2000-09-01 John Wiegley <johnw@gnu.org>
4174 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
4175 predicate, which caused entries in the completion list to be
4178 2000-08-30 John Wiegley <johnw@gnu.org>
4180 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
4181 sending to subprocesses. Also, hook pre-command-hook if
4182 `eshell-send-direct-to-subprocesses' is non-nil.
4183 (eshell-send-direct-to-subprocesses): New config variable. If t,
4184 subprocess input is send immediately.
4185 (eshell-toggle-direct-send): New function.
4186 (eshell-self-insert-command): New function.
4187 (eshell-intercept-commands): New function.
4188 (eshell-send-input): If direct subprocess sending is enabled,
4189 don't echo any input to the Eshell buffer. Let the subprocess
4190 handle that. This requires "stty echo" in bash, for example.
4192 2000-08-28 John Wiegley <johnw@gnu.org>
4194 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
4195 completion function for Eshell's implementation of `unset'.
4197 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4199 * info.el (Info-directory-list): Doc fix.
4201 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
4203 * filecache.el (file-cache-add-directory-using-find): Don't quote
4204 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
4206 2000-08-31 Kenichi Handa <handa@etl.go.jp>
4208 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
4211 2000-08-30 Andrew Innes <andrewi@gnu.org>
4213 * timer.el (run-with-idle-timer): Undo last change, so that timer
4214 is not activated immediately if Emacs is already idle. Some
4215 existing code relies on this behaviour.
4217 2000-08-30 Miles Bader <miles@gnu.org>
4219 * frame.el (set-frame-font): Do completion of font-name for
4222 2000-08-30 Kenichi Handa <handa@etl.go.jp>
4224 * international/quail.el (quail-start-translation): Bind locally
4225 last-command-event, last-command, and this-command.
4226 (quail-start-conversion): Likewise.
4227 (quail-self-insert-command): Fix docstring.
4229 2000-08-29 Gerd Moellmann <gerd@gnu.org>
4231 * progmodes/executable.el
4232 (executable-make-buffer-file-executable-if-script-p): Check that
4233 buffer contains at least 2 characters.
4235 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
4237 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
4239 2000-08-29 Dave Love <fx@gnu.org>
4241 * diff-mode.el (diff-mode) <defgroup>: Add :version.
4242 (diff-mode-shared-map): Bind mouse-2.
4243 (diff-imenu-generic-expression): New variable.
4244 (diff-mode): Use it.
4246 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
4247 (mouse-popup-menubar): Add minor mode menus.
4248 (popup-menu): Check for lookup-key returning number.
4250 2000-08-29 Miles Bader <miles@gnu.org>
4252 * comint.el (comint-send-input): Create overlays using the proper
4253 front/read-advance arguments.
4255 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4257 * ps-print.el: Even/odd pages printing. Doc fix.
4258 (ps-print-version): New version number (6.0).
4259 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
4260 (ps-background, ps-begin-file, ps-begin-job): Code fix.
4261 (ps-print-duplex-feature): Variable eliminated.
4262 (ps-even-or-odd-pages): New variable.
4264 * progmodes/ebnf2ps.el: Doc fix.
4265 (ebnf-version): New version (3.3).
4266 (ebnf-user-arrow): Change variable customization to sexp.
4267 (ebnf-user-arrow): Function eliminated.
4268 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
4270 2000-08-29 Kenichi Handa <handa@etl.go.jp>
4272 * help.el (help-xref-mule-regexp): New variable.
4273 (help-make-xrefs): Handle help-xref-mule-regexp.
4275 * international/mule-cmds.el (help-xref-mule-regexp-template): New
4277 (describe-input-method): Temporarily activate the specfied input
4278 method to display the information.
4279 (describe-language-environment): Hyperlinks to mule related items.
4281 * international/mule-diag.el (charset-multibyte-form-string): New
4283 (list-character-sets-1): Use charset-multibyte-form-string.
4284 (describe-character-set): New function.
4285 (describe-coding-system): Hyperlinks to safe character sets.
4287 * international/quail.el (quail-help): New arg PACKAGE.
4288 Hyperlinks to mule related items.
4289 (quail-help-insert-keymap-description): Use
4290 substitute-command-keys instead of describe-bindings.
4291 (quail-translation-help): Hyperlinks to mule related items.
4293 2000-08-28 John Wiegley <johnw@gnu.org>
4295 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
4296 have a defsubst call itself. Made `eshell-flatten-list' back into
4299 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
4300 catch, in case re-centering point at bottom messes up the display.
4301 This happens frequently in Emacs 21, due I believe to variable
4304 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
4305 to call `find-tag-interactive'.
4307 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
4308 the list of remember directories.
4310 2000-08-28 John Wiegley <johnw@gnu.org>
4312 * align.el: Test align-region-separate to see if it's a symbol.
4314 2000-08-28 John Wiegley <johnw@gnu.org>
4316 * eshell/esh-util.el (eshell-flatten-list): Made this function
4317 into a defsubst form. It gets used very frequently, although
4318 calls don't occur all that often.
4320 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
4323 * eshell/esh-cmd.el (eshell-rewrite-while-command):
4324 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
4326 (eshell-copy-handles): Created a new macro for duplicating the
4327 current set of open handles. This is needed by the looping
4329 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
4330 is not incorrectly stomped on.
4332 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
4333 declaration for pcomplete-use-paring.
4334 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
4335 value of eshell-cmpl-use-paring.
4336 * pcomplete.el (pcomplete-use-paring): New config variable, to
4337 indicate whether paring should be used.
4338 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
4339 completion alternatives that have already been used.
4341 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
4342 bound to C-c C-y, which will repeat the previous N arguments
4343 (based on prefix argument).
4344 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
4346 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
4347 if there is no *Help* buffer. This is for XEmacs, which renames
4348 its help buffers uniquely. TODO: Find out what the current buffer
4351 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
4352 first entry that correlates to a passwd/group number. Later
4353 entries (used for group/user name aliasing to multiple IDs) are
4356 * eshell/em-xtra.el (eshell/expr):
4357 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
4358 (eshell-grep, eshell/diff, eshell/locate):
4359 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
4360 argument list, before passing it to the system command.
4362 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
4363 `find-tag' for use at final position in Eshell buffers (which
4364 otherwise triggers an error on Emacs 21).
4365 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
4366 buffer, if it is currently bound to `find-tag'.
4368 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
4369 in the list of matched Makefile names.
4370 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
4371 directory, prefer its contents to Makefile.
4373 * eshell/em-dirs.el (eshell/cd): cd commands that look up
4374 directory parts (like "cd old new", or "cd =regexp"), are now case
4375 sensitive on non-Windows/DOS platforms.
4377 * eshell/esh-mode.el (eshell-parse-command-input): When a user
4378 types RET after an open delimiter (like "), display a message
4379 indicating that Eshell is waiting for the closing delimiter.
4381 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
4382 environment variables.
4384 * eshell/em-unix.el (eshell/diff): Added logic to fail more
4385 gracefully if the user enters incorrect arguments.
4387 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
4390 * eshell/esh-var.el (eshell-interpolate-variable):
4391 * eshell/esh-mode.el (eshell-move-argument):
4392 * eshell/em-unix.el (eshell-du-sum-directory):
4393 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
4394 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
4397 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
4398 to ensure the `preserve' flag gets propagated when doing recursive
4401 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
4403 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
4404 Don't convert \n into \0177 in memory.
4405 (eshell-read-history, eshell-write-history): Convert \n to \0177,
4406 and back again, when reading and writing.
4408 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
4410 * eshell/esh-util.el (eshell-processp): Added to relieve constant
4411 testing of `fboundp' on `processp'.
4413 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
4414 (eshell/jobs): Don't call process-list if it is not bound.
4415 (eshell-gather-process-output): Support systems where async
4416 subprocesses aren't supported.
4417 (eshell-scratch-buffer, eshell-last-sync-output-start): New
4420 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
4421 eshell-do-eval returns t.
4422 (eshell-do-pipelines-synchronously): New defmacro.
4423 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
4424 when async subprocesses aren't supported.
4425 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
4426 if async subprocesses aren't supported.
4427 (eshell-resume-command): Don't assume STATUS is a string.
4429 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
4431 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
4432 (eshell-close-target, eshell-get-target): Use eshell-processp.
4433 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
4435 (eshell-get-target, eshell-create-handles): Doc fix.
4437 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
4439 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
4440 criterion to include commands that output something, as long as it
4441 leaves both the command and the end-of-buffer visible when the
4443 (eshell-review-quick-commands): Adjust the help doc string
4446 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
4448 * locate.el (locate): Cleaned up locate command's interactive prompting
4449 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
4451 * filecache.el (file-cache-case-fold-search): New variable
4452 (file-cache-assoc-function): New variable
4453 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
4454 Use file-cache-case-fold-search variable
4455 (file-cache-add-file): Use file-cache-assoc-function
4456 (file-cache-delete-file): likewise
4457 (file-cache-directory-name): likewise
4458 (file-cache-debug-read-from-minibuffer): likewise
4460 2000-08-28 Gerd Moellmann <gerd@gnu.org>
4462 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
4463 (abbrev-table-name): New function.
4464 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
4465 If non-nil list local abbrev, only.
4467 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
4469 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
4470 from Gnus support code, and use special article copy buffer
4471 `(gnus-original-article-buffer)' instead. This allows to get rid
4472 of article-hide-headers usage (which breaks in the latest Gnus
4473 version). Thanks to Detlev Zundel.
4475 2000-08-28 Kenichi Handa <handa@etl.go.jp>
4477 * international/quail.el (quail-use-package): Hide "... loaded"
4479 (quail-start-translation, quail-start-conversion): Likewise.
4481 * international/kkc.el (kkc-region): Hide "... loaded" message.
4483 2000-08-27 Dave Love <fx@gnu.org>
4485 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
4487 2000-08-27 Miles Bader <miles@gnu.org>
4489 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
4491 2000-08-27 Kenichi Handa <handa@etl.go.jp>
4493 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
4494 'ja-dic-cnv), not (require 'skkdic-cnv).
4496 2000-08-26 Miles Bader <miles@gnu.org>
4498 * faces.el (face-x-resources): Add entry for :inherit.
4499 * cus-face.el (custom-face-attributes): Add support for :inherit
4500 attribute. Add support for relative face heights.
4501 (custom-face-attributes-get): Treat `nil' as being a default value
4502 for :inherit (as well as `unspecified').
4504 * faces.el (set-face-attribute): Update doc string.
4505 (face-attribute-name-alist): Add :inherit.
4506 (face-valid-attribute-values): Handle :inherit.
4507 (face-read-string): Rephrase prompt to be less confusing.
4508 Assume that DEFAULT is a string, since we must return a string.
4509 (face-read-integer): Use `format' to turn DEFAULT into an
4510 acceptable default for face-read-string. Match NEW-VALUE against
4511 the string "unspecified", not the symbol `unspecified', since
4512 that's what face-read-string returns.
4513 (read-face-attribute): Lookup a name for old-value in valid, and
4514 use it as a default if we find one. Treat all values from
4515 face-read-string as strings. If the default is used, don't do any
4516 more processing on the value, just use the old value directly.
4517 (read-face-and-attribute, modify-face): Tweak prompt.
4518 (read-face-name): Don't assume prompt ends with a space.
4520 * faces.el (describe-face): Add support for :inherit attribute.
4522 2000-08-25 Kenichi Handa <handa@etl.go.jp>
4524 * terminal.el (terminal-emulator): Fix args to `concat'. Now
4525 concat doesn't accept interger.
4527 * international/kkc.el: Remove SKK from Keywords. Require
4528 ja-dic-utl instead of skkdic-utl.
4530 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
4531 Provide ja-dic-cnv instead of skkdic-cnv.
4532 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
4533 (iso-2022-7bit-short): Add safe-charsets property.
4534 (skkdic-convert-postfix): Search Japanese chou-on character in
4535 addition to Hiragana character.
4536 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
4537 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
4538 (batch-skkdic-convert): Likewise.
4540 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
4541 Provide ja-dic-utl instead of skkdic-utl.
4542 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
4544 2000-08-24 Dave Love <fx@gnu.org>
4546 * disp-table.el (standard-display-default): Make the test of `l'
4549 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
4552 * international/iso-ascii.el: Make pilcrow convenient string
4553 consistent with section.
4554 (iso-ascii-display): Set up multibyte characters as well as
4557 2000-08-24 Kenichi Handa <handa@etl.go.jp>
4559 * international/mule-cmds.el (reset-language-environment): Set
4560 default-process-coding-system to '(undecided . iso-latin-1), which
4561 makes process I/O almost consistent with file I/O. Call this
4562 function when mule-cmds.el[c] is loaded.
4564 2000-08-22 Andrew Innes <andrewi@gnu.org>
4566 * makefile.w32-in: New file.
4568 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
4570 * comint.el (comint-output-filter): Compare end of
4571 comint-last-output-overlay with the start of the newly inserted
4572 text, not the end, when deciding whether to extend it.
4573 Set saved-point's insertion type to advance after insertion.
4575 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
4576 since this is now done independently of font-lock mode.
4578 2000-08-21 Gerd Moellmann <gerd@gnu.org>
4580 * server.el (server-kill-new-buffers): New user option.
4581 (server-existing-buffer): New buffer-local variable.
4582 (server-visit-files): When using an existing buffer, set
4583 server-existing-buffer to t.
4584 (server-buffer-done): If server-kill-new-buffers is t, kill the
4585 buffer, unless it was already present before visiting it with
4588 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
4590 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
4591 even if the display doesn't support colors: some displays will
4592 support bold/underline faces.
4594 2000-08-21 Gerd Moellmann <gerd@gnu.org>
4596 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
4598 * startup.el (command-line): If user's init file had an error,
4599 add explanatory text to *Messages*.
4601 2000-08-21 Kenichi Handa <handa@etl.go.jp>
4603 * man.el (Man-getpage-in-background): Decode the process output by
4604 the system locale coding system.
4606 2000-08-20 Dave Love <fx@gnu.org>
4608 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
4609 Don't test x-popup-menu.
4610 (function) <complete-function>: Complete only fbound symbols.
4611 <validate, value>: New.
4612 (variable) <complete-function>: Complete only bound symbols.
4613 (coding-system): Add :base-only, :complete-function, :validate,
4614 :value, :prompt-match.
4615 (widget-coding-system-prompt-value): Use read-coding-system and
4617 (editable-field): Add :help-echo.
4618 (widget-push-button-gui, widget-push-button-cache)
4619 (widget-gui-action, widget-editable-list-gui): COmment out, along
4621 (widget-at): Make arg optional.
4622 (widget-echo-help): Adjust for current help-echo calling sequence.
4623 (widget-specify-field, widget-specify-button)
4624 (widget-specify-insert, widget-get-sibling, widget-image-find)
4625 (widget-convert, widget-insert, widget-leave-text)
4626 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
4627 (widget-setup, widget-field-find, widget-before-change)
4628 (widget-after-change, widget-default-complete)
4629 (widget-default-create, widget-default-delete)
4630 (widget-push-button-value-create, editable-field)
4631 (widget-field-prompt-value, widget-field-validate)
4632 (widget-choice-value-create, widget-choice-action)
4633 (widget-choice-validate, widget-checklist-add-item)
4634 (widget-radio-add-item, widget-radio-chosen)
4635 (widget-radio-value-inline, widget-editable-list-value-create)
4636 (widget-editable-list-entry-create)
4637 (widget-documentation-link-add)
4638 (widget-documentation-string-value-create)
4639 (widget-regexp-validate, widget-file-complete)
4640 (widget-sexp-validate, widget-plist-convert-widget)
4641 (widget-plist-convert-widget, widget-alist-convert-widget)
4642 (widget-alist-convert-widget, widget-color-complete): Simplify,
4643 particularly to avoid bindings which aren't optimized out.
4645 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
4647 (down-list, backward-up-list, up-list, kill-sexp)
4648 (backward-kill-sexp, mark-sexp): Make arg optional.
4649 (lisp-complete-symbol): Add optional arg PREDICATE.
4651 * cus-start.el: Add display-buffer-reuse-frames,
4652 file-coding-system-alist.
4654 2000-08-20 Gerd Moellmann <gerd@gnu.org>
4656 * startup.el (command-line): Clear realized faces after
4657 modifying TTY color mappings.
4659 2000-08-20 Miles Bader <miles@gnu.org>
4661 * faces.el (face-attr-match-p): Don't return true if ATTRS are
4662 merely a subset of FACE's attributes.
4664 2000-08-19 Miles Bader <miles@gnu.org>
4666 * comint.el (comint-output-filter): Save the point with a marker,
4667 not just a buffer position.
4669 * international/mule.el (set-buffer-process-coding-system): Make
4670 interactive prompt less confusing.
4672 2000-08-19 Gerd Moellmann <gerd@gnu.org>
4674 * hilit-chg.el: General cleanup of doc strings, comments and
4677 2000-08-19 Miles Bader <miles@gnu.org>
4679 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
4680 Compiler macro removed; beginning-of-line is no longer always
4681 equivalent to forward-line, in the presence of fields.
4683 * comint.el (comint-output-filter): Remove ad-hoc saving of
4684 restriction, and just use save-restriction, now that it works
4685 correctly. Don't adjust comint-last-input-start to account for
4686 our insertion; it shouldn't have moved because we don't use
4687 insert-before-markers anymore. Comment out call to
4688 `force-mode-line-update'; why is it here?
4690 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
4691 while checking for prompt to delete. Use `forward-line 0'
4692 instead of beginning-of-line.
4693 (gud-filter): Temporarily widen gud comint buffer while
4696 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
4698 * progmodes/sh-script.el: Big bag of typos.
4700 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
4701 check since ispell-process is not bound when ispell is not yet loaded.
4703 2000-08-18 Dave Love <fx@gnu.org>
4705 * image.el (find-image): Copy `spec' before using plist-put.
4707 2000-08-18 Gerd Moellmann <gerd@gnu.org>
4709 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
4712 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
4713 backward-kill-sexp, analogous to kill-sexp.
4715 * progmodes/icon.el (icon-indent-line)
4716 (icon-is-continuation-line): Handle comments specially.
4718 2000-08-17 Ken Stevens <k.stevens@ieee.org>
4720 * ispell.el: Set to standard author/maintainer/keyword fields.
4721 Fine tuning to menu map appearance and operation, and added help.
4722 Remove `start' and `end' error messages when compiling.
4723 (ispell-choices-win-default-height): Fixed comment string.
4724 (ispell-dictionary-alist-1): Fixed regexp in castellano and
4725 castellano8 dictionaries.
4726 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
4727 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
4728 dictionary, added italiano dictionary.
4729 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
4731 (ispell-tex-skip-alists): Added psfig support.
4732 (ispell-skip-html): Renamed from ispell-skip-sgml.
4733 (ispell-begin-skip-region-regexp, ispell-skip-region)
4734 (ispell-minor-check): Improved html skipping support to skip across
4735 code, and recognize `&' commands without propper `;' syntax;
4736 (ispell-process-line): Fix alignment error when manually
4737 correcting spelling.
4738 (ispell): Fix comment string.
4739 (ispell-add-per-file-word-list): Always put word list on new line.
4741 2000-08-17 Gerd Moellmann <gerd@gnu.org>
4743 * format.el (format-encode-run-method): Fix error message to say
4744 `encode' instead of `decode'. Use save-window-excursion around
4745 shell-command-on-region as in format-decode-run-method because
4746 shell-command-on-region can display a buffer with error output.
4747 (format-decode): Don't record undo information for the decoding.
4748 (format-annotate-function): Add parameter FORMAT-COUNT. Make
4749 that number part of the temporary buffer name so that more than
4750 one decoding using a temporary buffer can happen safely.
4752 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
4753 of `A-z' in the regexp.
4755 * hilit-chg.el: Fix typos in commentary.
4757 * help.el (view-emacs-news): Rewritten for new naming scheme
4760 * startup.el (command-line): Pop to *Messages* in case an error
4761 is signaled while loading user-init-file.
4763 2000-08-17 Andreas Schwab <schwab@suse.de>
4765 * files.el (insert-directory): Don't lose original file name,
4766 undoing an undocumented change.
4768 2000-08-17 Alex Schroeder <alex@gnu.org>
4770 * sql.el (sql-magic-go): Use comint-bol.
4771 (sql-copy-column): Use comint-line-beginning-position.
4772 (comint-line-beginning-position): Define a replacement for
4773 comint-line-beginning-position if it is not fboundp.
4775 2000-08-17 Alex Schroeder <alex@gnu.org>
4777 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
4778 it didn't have any effect anyway.
4780 2000-08-17 Alex Schroeder <alex@gnu.org>
4782 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
4783 --pset and pager=off instead of sending \\o|cat at the beginning
4786 2000-08-17 Miles Bader <miles@gnu.org>
4788 * progmodes/octave-inf.el: Add compatibility definition of
4789 comint-line-beginning-position.
4791 2000-08-17 Kenichi Handa <handa@etl.go.jp>
4793 * startup.el (normal-top-level): Look in each dir in load-path for
4794 a leim-list.el file too. This assures of loading leim-list.el
4795 that is created at Emacs installation time even if a user have his
4798 2000-08-17 Miles Bader <miles@gnu.org>
4800 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
4801 foreground color to black if the background is dark.
4803 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
4805 * loadhist.el (unload-feature): Typo.
4807 * finder.el (finder-compile-keywords):
4808 * cus-dep.el (custom-make-dependencies): Add local-variable settings
4809 to the generated file.
4811 * mail/mh-e.el (mh-make-local-vars):
4812 Replace make-variable-buffer-local with make-local-variable.
4815 * options.el (Edit-options-{set,toggle,t,nil}):
4816 * mail/mailabbrev.el (mail-abbrevs-mode):
4817 * textmodes/tex-mode.el (tex-expand-files):
4818 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
4820 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
4822 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
4823 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
4824 Allow going past the last element.
4825 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
4826 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
4827 (cvs-mouse-toggle-mark): Don't move point.
4828 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
4830 * progmodes/compile.el (grep): Provide a default set of files.
4831 (next-error): Docstring fix.
4832 (compilation-find-file): Avoid find-file (fails in a dedicated window).
4834 * emacs-lisp/easy-mmode.el (define-minor-mode):
4835 Use `symbol-value' to keep the byte-compiler quiet.
4837 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
4838 (diff-find-source-location): New fun, extracted from diff-goto-source.
4839 (diff-goto-source): Use it.
4840 (diff-next-complex-hunk, diff-filter-lines): New function.
4841 (diff-apply-hunk): New command.
4843 * smerge-mode.el (smerge-mode-menu): Doc fix.
4845 * msb.el (msb-mode): Define it in terms of define-minor-mode.
4847 2000-08-16 Dave Love <fx@gnu.org>
4849 * windmove.el (windmove) <defgroup>: Add :version.
4851 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
4852 (goto-address-fontify-p, goto-address-highlight-p)
4853 (goto-address-url-face, goto-address-url-mouse-face)
4854 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
4855 (goto-address-url-regexp): Use thing-at-point-url-regexp.
4856 (goto-address-fontify, goto-address-at-mouse): Simplify,
4857 (goto-address-at-point): browse-url-url-at-point,
4858 goto-address-find-address-at-point can return nil.
4859 (goto-address-find-address-at-point): Return nil on failure.
4861 * align.el (align) <defgroup>: Add :version.
4863 * calculator.el (calculator): Add :version.
4864 (calculator): Use two lines for calculator window if `modeline'
4867 * play/5x5.el: Doc fixes.
4868 (5x5) <defgroup>: Add :version.
4870 * play/fortune.el (fortune) <defgroup>: Add :version.
4871 (fortune-append): Fix error message.
4872 (fortune-from-region): Doc fix.
4874 * play/pong.el (pong): Doc fix.
4876 * play/morse.el: Keywords, commentary, autoloads.
4878 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
4880 * desktop.el (desktop-save): Don't look at symbol-value of a
4881 member of minor-mode-alist, unless it is boundp.
4883 2000-08-16 Sam Steingold <sds@gnu.org>
4885 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
4886 `while'; use `with-current-buffer' instead of `save-excursion'.
4887 Removed unnecessary kludges now that "*Buffer List*" is excluded.
4889 2000-08-16 Kenichi Handa <handa@etl.go.jp>
4891 * international/ccl.el (declare-ccl-program): Docstring modified.
4892 (ccl-execute-with-args): Likewise.
4894 2000-08-16 Miles Bader <miles@gnu.org>
4896 * progmodes/sql.el: Add compatibility definition of
4897 comint-line-beginning-position.
4899 2000-08-15 Gerd Moellmann <gerd@gnu.org>
4901 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
4902 'buffer-menu' property.
4903 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
4905 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
4906 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
4909 * buff-menu.el (list-buffers-noselect): Don't display the
4910 *Buffer List* buffer.
4912 * font-lock.el: Require jit-lock to prevent a very late
4913 `Loading jit-lock' message.
4915 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
4916 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
4919 2000-08-15 Miles Bader <miles@gnu.org>
4921 * textmodes/ispell.el (ispell-graphic-p): New constant.
4922 (ispell-choices-win-default-height, ispell-help): Use
4923 `ispell-graphic-p' instead of `xemacsp'.
4925 2000-08-15 Dave Love <fx@gnu.org>
4927 * simple.el: Autoload widget-convert when compiling.
4928 (mail-user-agent): Doc fix.
4930 * help.el (function-called-at-point, variable-at-point): Use
4932 (help-manyarg-func-alist): Add insert-and-inherit.
4934 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
4936 * delsel.el (delsel-unload-hook): New function.
4938 * find-file.el: Doc fixes. Move provide to end.
4939 (ff) <defgroup>: Add :link.
4940 (ff-goto-click): Deleted.
4941 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
4942 Use mouse-set-point.
4944 * textmodes/tildify.el: Doc fixes.
4945 (tildify) <defgroup>: Add:version.
4947 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
4948 (glasses-custom-set): Use set-default, not set.
4949 (minor-mode-alist): Propertize the lighter.
4950 (glasses-mode): Provide optional arg.
4952 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
4953 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
4954 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
4955 option. Provide :type.
4956 (cwarn-configuration): Provide :type.
4957 (cwarn-mode): Doc fix.
4959 * add-log.el (change-log-merge): Doc fix.
4960 (change-log-redate): New command.
4962 * net/browse-url.el (browse-url-filename-alist): Add a clause for
4964 (browse-url): Use dolist, not mapcar.
4965 (browse-url-at-point): Check for null url.
4966 (browse-url-event-buffer, browse-url-event-point): Functions
4968 (browse-url-at-mouse, browse-url-netscape): Simplify.
4970 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
4972 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
4973 Fix previous change to mapcan.
4974 (msb--init-file-alist, msb--add-separators)
4975 (msb--make-keymap-menu): Simplify.
4976 (msb--choose-file-menu): Use copy-sequence.
4977 (msb-mode-map): Add title to keymap.
4978 (msb-unload-hook): New function.
4980 * bs.el: Fix indentation.
4981 (bs) <defgroup>: Add :links.
4983 (bs-apply-sort-faces): Don't use window-system.
4984 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
4986 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
4988 * calendar/timeclock.el (timeclock-file): Run .timelog through
4989 convert-standard-filename.
4991 2000-08-14 Gerd Moellmann <gerd@gnu.org>
4993 * emacs-lisp/authors.el: New file.
4995 * paren.el (show-paren-priority): New user option.
4996 (show-paren-function): Set overlay priorities to
4997 show-paren-priority.
4999 2000-08-14 Miles Bader <miles@gnu.org>
5001 * comint.el (comint-bol): Use `forward-line 0' instead of calling
5002 beginning-of-line with inhibit-field-text-motion bound.
5004 2000-08-14 Gerd Moellmann <gerd@gnu.org>
5006 * calendar/timeclock.el: New file.
5008 2000-08-14 David Ponce <david@dponce.com>
5010 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
5011 `widget-button-click'. so that one can use left mouse button to
5012 click on dialog buttons.
5014 2000-08-14 Emmanuel Briot <briot@gnat.com>
5016 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
5017 identifiers, since XML is case sensitive
5019 2000-08-12 Miles Bader <miles@gnu.org>
5021 * comint.el (comint-output-filter): Don't bother frobbing
5022 window-start, it doesn't seem to be necessary.
5024 * comint.el (comint-send-string, comint-send-region): Make into
5025 real functions. Snapshot the prompt before sending.
5027 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
5029 * info.el (Info-find-emacs-command-nodes): Rewrite to use
5030 technique similar to Info-index, instead of relying on specific
5031 names of relevant Index nodes.
5032 (Info-goto-emacs-command-node): Bind Info-history to nil when
5033 going to the first node found by Info-find-emacs-command-nodes.
5035 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
5037 * menu-bar.el (menu-bar-help-menu): Add a :help string.
5039 2000-08-10 Miles Bader <miles@gnu.org>
5041 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
5043 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
5045 * info.el (Info-file-list-for-emacs): More elements for the
5046 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
5049 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
5051 * comint.el (comint-send-input): Make the newline boundary overlay
5052 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
5053 (comint-output-filter): Use `insert' instead of
5054 `insert-before-markers'. Extend comint-last-output-overlay when
5055 necessary since we can't rely on insert-before-markers to do it.
5056 * gud.el (gud-filter): Use `with-current-buffer' instead of
5057 save-excursion when inserting the output, so that point gets
5058 updated correctly; the old method relied on a rather dodgy
5059 side-effect of comint-output-filter to avoid the effect of
5062 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
5064 * files.el (recover-file): Call insert-directory instead of
5065 invoking `ls' directly.
5067 2000-08-10 Miles Bader <miles@gnu.org>
5069 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
5070 (comint-last-prompt-overlay): New variables.
5071 (comint-output-filter): Implement prompt highlighting.
5072 (comint-snapshot-last-prompt): New function.
5073 (comint-send-input): Snapshot the last prompt.
5074 Use comint-highlight-input-face.
5075 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
5076 Use defface instead of defcustom.
5077 (send-invisible, comint-send-eof): Snapshot the last prompt.
5078 (comint-delchar-or-maybe-eof): Use comint-send-eof.
5079 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
5081 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
5083 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
5084 (regexp-opt-group): Use a list of chars for `letters'.
5085 (regexp-opt-charset): `chars' is now a list of chars.
5086 Use a char-table rather than a vector so it works for multibyte chars.
5088 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
5089 Set cvs-minor-current-files to the selected fileinfo.
5090 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
5091 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
5093 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
5095 * files.el (insert-directory): Don't call access-file on
5096 directories on DOS and Windows.
5098 2000-08-09 Kenichi Handa <handa@etl.go.jp>
5100 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
5101 longer if necessary.
5102 (ccl-embed-code): Call ccl-embed-data to store CODE in
5105 2000-08-09 Miles Bader <miles@gnu.org>
5107 * comint.el (comint-output-filter): Properly handle the case where
5108 the text surrounded by comint-last-output-overlay was deleted.
5110 2000-08-08 Gerd Moellmann <gerd@gnu.org>
5112 * info.el (Info-insert-dir): Use Info-additional-directory-list if
5114 (Info-file-list-for-emacs): Remove "info" from the list because
5115 that leads to trying to use the documentation from file `info'
5116 in various situations where it isn't appropriate, for instance
5119 * ffap.el (ffap-read-file-or-url-internal): Handle case that
5120 DIR and/or STRING are nil.
5122 * progmodes/compile.el (compilation-setup): Make variable
5123 compilation-error-screen-columns buffer-local, as some comment
5124 in the code suggests it should be.
5126 * files.el (auto-mode-interpreter-regexp): New variable.
5127 (set-auto-mode): Use it.
5129 * indent.el (indent-for-tab-command): Doc fix.
5131 * mouse-sel.el (mouse-sel-mode): Doc fix.
5133 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
5136 * help.el (print-help-return-message): When
5137 display-buffer-reuse-frames is set, let the help window been quit,
5138 instead of deleting it, which might delete a reused frame.
5140 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
5142 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
5143 rename a directory to a name that differs only by its letter case.
5145 2000-08-08 Kenichi Handa <handa@etl.go.jp>
5147 * international/quail.el (quail-define-rules): Handle Quail decode
5148 map correctly. Add code for supporting annotations.
5149 (quail-install-decode-map): New function.
5150 (quail-defrule-internal): New optional arguments decode-map and
5152 (quail-advice): New function.
5154 2000-08-07 Sam Steingold <sds@gnu.org>
5156 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
5157 `defconst', `define-condition', `with-slots'.
5158 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
5160 2000-08-03 Miles Bader <miles@gnu.org>
5162 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5164 (comint-prompt-regexp, comint-get-old-input): Document dependence on
5165 comint-use-prompt-regexp-instead-of-fields.
5166 (comint-send-input): Add `input' field property to stuff we send to
5167 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
5168 (comint-output-filter): Add `output' field property to process
5169 output, if comint-use-prompt-regexp-instead-of-fields is nil.
5170 (comint-replace-by-expanded-history)
5171 (comint-get-old-input-default, comint-show-output)
5172 (comint-backward-matching-input, comint-forward-matching-input)
5173 (comint-next-prompt, comint-previous-prompt): Use field
5174 properties if comint-use-prompt-regexp-instead-of-fields is nil.
5175 (comint-line-beginning-position): New function.
5176 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
5177 (comint-replace-by-expanded-history-before-point): Use
5178 comint-line-beginning-position and line-end-position.
5179 (comint-last-output-overlay): New variable.
5180 (comint-mode): Make `comint-last-output-overlay' buffer-local.
5182 * shell.el (shell-prompt-pattern): Doc change.
5183 (shell-backward-command): Use line-beginning-position.
5185 * gud.el (gud-gdb-complete-command): Use
5186 comint-line-beginning-position.
5188 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
5189 comint-bol doesn't actually go to the beginning of the line.
5191 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
5192 if comint-use-prompt-regexp-instead-of-fields is non-nil.
5193 (try-expand-line-all-buffers): Likewise.
5195 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
5196 explicitly matching comint-prompt-regexp.
5197 (sql-copy-column): Use comint-line-beginning-position instead of
5198 explicitly matching comint-prompt-regexp.
5200 * progmodes/octave-inf.el (inferior-octave-complete): Use
5201 comint-line-beginning-position.
5203 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
5205 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
5206 looking for a prompt, use `forward-line 0' instead of
5207 `beginning-of-line', to avoid getting caught by an input field.
5209 2000-08-07 Gerd Moellmann <gerd@gnu.org>
5211 * files.el (shell-quote-wildcard-pattern): Make sure to return
5212 PATTERN, in the Unix case.
5214 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
5216 * play/zone.el (zone): Discard any pending input before running
5217 the randomly-chosen pgm.
5219 2000-08-07 Kenichi Handa <handa@etl.go.jp>
5221 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
5222 checking the existence of any multibyte characters.
5224 2000-08-06 Gerd Moellmann <gerd@gnu.org>
5226 * help.el (describe-mode): Test minor-mode symbol for being
5227 bound before testing its value for being nil.
5229 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
5230 `first', `second', and `third'.
5232 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
5233 (second): Make it an alias for `cadr'.
5235 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
5237 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
5238 types of display support faces now.
5240 2000-08-05 Gerd Moellmann <gerd@gnu.org>
5242 * pcvs.el (require): Require `cl' during compilation, only.
5244 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
5245 (toplevel): Remove `remq' and `remove' from autoloads.
5246 (cl-fake-autoloads): New variable. If set, arrange for an error
5247 when CL functions etc. are autoloaded.
5249 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
5251 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
5253 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
5254 popped up, but the user clicks outside the menu, return an empty
5255 regexp (that causes unhighlight-regexp to have no effect).
5257 * menu-bar.el (menu-bar-games-menu): Add Zone.
5259 * hi-lock.el (toplevel): Require font-lock.
5261 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5263 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
5264 (ebnf-8-bit-chars): New var for bug fix.
5265 (ebnf-string): Bug fix.
5267 2000-08-03 Sam Steingold <sds@gnu.org>
5269 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
5270 instead of `buffer-string'.
5271 (require 'cl): Always, not just when compiling.
5272 `ignore-errors' in `interactive', `list*', `defun*' &c make this
5275 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
5277 * international/mule-cmds.el (select-safe-coding-system): Make
5278 the message text about selecting a safe coding system more clear.
5280 2000-08-02 Gerd Moellmann <gerd@gnu.org>
5282 * hi-lock.el: New file.
5284 * play/zone.el: New file.
5286 * replace.el (occur): Set tab-width in the *Occur* buffer to the
5287 value of tab-width in the original buffer. Choose a line number
5288 format that's a multiple of the original buffer's tab width, so
5289 that lines appear right.
5291 * textmodes/ispell.el (ispell): New function, replacing an alias.
5292 Spell-check active region if in transient-mark-mode and mark
5293 is active; otherwise spell-check buffer.
5295 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5297 * ps-mule.el: Fix a customization problem on
5298 ps-mule-font-info-database-default.
5300 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
5302 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
5303 display-mouse-p instead of window-system.
5304 (ebrowse-member-mode-map): Ditto.
5306 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5308 * progmodes/ebnf2ps.el: Update ps-print functions call.
5309 Indentation fix. Doc fix.
5310 (ebnf-version): New version number (3.2).
5311 (ebnf-format-color, ebnf-begin-job): Code fix.
5313 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
5315 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
5316 font lock support on window-system.
5317 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
5319 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
5320 display-color-p, if fboundp, instead of window-system.
5322 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
5324 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
5325 instead of window-system.
5327 * wid-edit.el (widget-choose): Use display-mouse-p instead of
5329 (widget-choice-mouse-down-action): Use display-popup-menus-p
5330 instead of window-system.
5332 * strokes.el (strokes-file): Run the file name through
5333 convert-standard-filename.
5334 (strokes-mode): Call display-mouse-p instead of looking at
5335 window-system. Change the error message accordingly.
5337 * progmodes/cpp.el (toplevel): Support faces on tty's.
5339 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
5340 (lm-plot-square, lm-init-display): Don't use window-system.
5342 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
5343 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
5345 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
5346 instead of looking at window-system.
5348 2000-07-30 Gerd Moellmann <gerd@gnu.org>
5350 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
5351 of testing if iswitchb-prepost-hooks is bound, because the
5352 latter will always be true when invoking a recursive minibuffer
5353 from an active Iswitchb buffer.
5355 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
5357 * files.el (shell-quote-wildcard-pattern): New function.
5358 (insert-directory): Call it. Only prepend "\" to command on Unix
5359 and GNU/Linux systems.
5361 2000-07-30 Gerd Moellmann <gerd@gnu.org>
5363 * eshell/esh-groups.el: Change custom :link file names
5364 from `eshell.info' to `eshell'.
5366 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
5368 * dired.el (dired-build-subdir-alist): Expand subdirectory names
5369 correctly in recursive ange-ftp listings.
5371 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5373 * ps-print.el: Fix bug 1: if ps-font-size-internal,
5374 ps-header-font-size-internal and
5375 ps-header-title-font-size-internal variables are not set,
5376 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
5377 face text property is (foreground-color . COLOR) or
5378 `(background-color . COLOR)', ps-print crashes. Doc fix.
5379 (ps-print-version): New version number (5.2.4).
5380 (ps-plot-region): Code fix.
5381 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
5382 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
5385 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
5387 * glasses.el (glasses-make-readable): Fix uncapitalization of
5388 identifiers like `myXMLDocument'.
5390 2000-07-28 Karl Fogel <kfogel@red-bean.com>
5392 * mail/mail-hist.el (mail-hist-previous-input)
5393 (mail-hist-next-input): Do the obvious code factorization.
5394 (mail-hist-retrieve-and-insert): New func, contains common
5396 If inserting a message body, leave point at top.
5398 2000-07-28 Sam Steingold <sds@gnu.org>
5400 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
5401 Use `<=', not `<' to compare times!
5402 (ange-ftp-ls): Remove.
5404 2000-07-27 Gerd Moellmann <gerd@gnu.org>
5406 * play/cookie1.el: Add explanation of how to make cookie.el
5407 compatible with strfile(1) to comment.
5409 * subr.el (remove, remq): New functions.
5411 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
5412 escape `*' in regexps.
5413 (midnight-find): Reverse order of arguments in the funcall of
5416 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
5419 * play/meese.el: Add Commentary section.
5421 2000-07-27 Alex Schroeder <alex@gnu.org>
5423 * sql.el (sql-ms): Added autoload cookie.
5424 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
5425 (sql-oracle): Ditto.
5426 (sql-help): Doc change.
5428 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
5429 types and exceptions.
5431 2000-07-27 Alex Schroeder <alex@gnu.org>
5433 * sql.el (sql-placeholder-history): New variable.
5434 (sql-query-placeholders-and-send): New function that will query
5435 the user and replace placeholders with user input.
5436 (sql-oracle): If running on NT, set comint-input-sender to
5437 sql-query-placeholders-and-send.
5439 (sql-stop): If in the SQLi buffer, insert stop notification, else
5440 present it as a message.
5442 2000-07-27 Alex Schroeder <alex@gnu.org>
5444 * sql.el (sql-input-ring-separator): Doc change.
5445 (sql-input-ring-file-name): Doc change.
5446 (sql-interactive-mode): Use `sql-input-ring-separator' and
5447 `sql-input-ring-file-name' to set the comint-mode equivalents
5448 without making them local variables.
5449 (sql-stop): Don't bind `sql-input-ring-separator' and
5450 `sql-input-ring-file-name' dynamically to their comint-mode
5453 2000-07-27 Kenichi Handa <handa@etl.go.jp>
5455 * international/mule.el (register-char-codings): New function.
5456 (make-coding-system): Handle `safe-chars' specification in the arg
5459 * international/mule-cmds.el
5460 (find-coding-systems-region-subset-p): This function deleted.
5461 (sort-coding-systems-predicate): New variable.
5462 (sort-coding-systems): New function.
5463 (find-coding-systems-region): Use
5464 find-coding-systems-region-internal.
5465 (find-coding-systems-string): Use find-coding-systems-region.
5466 (find-coding-systems-for-charsets): Check
5467 char-coding-system-table.
5468 (select-safe-coding-system-accept-default-p): New variable.
5469 (select-safe-coding-system): Mostly rewritten. New argument
5471 (select-message-coding-system): Call select-safe-coding-system
5472 with ACCEPT-DEFAULT-P arg.
5473 (reset-language-environment): Reset default-sendmail-coding-system
5474 to the default value iso-latin-1.
5475 (set-language-environment): Don't set the obsolete variable
5476 charset-origin-alist.
5478 * international/codepage.el (cp-coding-system-for-codepage-1):
5479 Give `safe-chars' property to make-coding-system.
5481 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
5482 calling select-message-coding-system twice.
5484 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
5485 instead of `safe-charsets'.
5486 (cyrillic-alternativnyj): Likewise.
5487 (ccl-encode-alternativnyj): Don't check the charset
5490 2000-07-27 Kenichi Handa <handa@etl.go.jp>
5492 * composite.el (compose-chars-after): Preserve match data.
5494 2000-07-26 Sam Steingold <sds@gnu.org>
5496 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
5497 (ange-ftp-real-file-newer-than-file-p): New function.
5498 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
5499 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
5501 * tooltip.el (tooltip-float-time): Removed (use `float-time').
5502 * midnight.el (midnight-float-time): Ditto.
5504 2000-07-26 Andreas Schwab <schwab@suse.de>
5506 * files.el (normal-backup-enable-predicate): Correct
5507 interpretation of the return value of compare-strings.
5509 2000-07-26 Gerd Moellmann <gerd@gnu.org>
5511 * isearch.el (isearch-resume): New function.
5512 (isearch-done): Add something to command-history to resume
5514 (isearch-yank-line, isearch-yank-word): Use
5515 buffer-substring-no-properties instead of buffer-substring.
5517 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
5518 of flyspell-mouse-map.
5520 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
5521 duplicate definition.
5522 (makefile-mode): Remove duplicate setting of local-abbrev-table.
5524 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
5525 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
5527 2000-07-25 Sam Steingold <sds@gnu.org>
5529 * net/ange-ftp.el: Get modtime over the net.
5530 (ange-ftp-file-modtime): New function.
5531 (ange-ftp-write-region, ange-ftp-insert-file-contents)
5532 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
5534 (ange-ftp-dot-to-slash): New function.
5535 (ange-ftp-fix-name-for-vms): Use it.
5537 * midnight.el (midnight-buffer-display-time): Use
5538 `with-current-buffer'.
5540 2000-07-25 Gerd Moellmann <gerd@gnu.org>
5542 * find-dired.el: Update copyright notice.
5543 (find-dired): Offer to kill a running `find'.
5545 * enriched.el (enriched-face-ans): For a `foreground-color'
5546 property, return '(("x-color" COLOR))' so that COLOR will be
5547 output as a parameter of the x-color annotation. Likewise for the
5548 `background-color' property. In the case of normal face
5549 properties, don't return annotations for unspecified foreground
5550 and background face attributes.
5552 2000-07-25 Kenichi Handa <handa@etl.go.jp>
5554 * language/japan-util.el (japanese-katakana-region): Fix handling
5557 2000-07-25 Miles Bader <miles@gnu.org>
5559 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
5560 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
5563 2000-07-24 Andrew Innes <andrewi@gnu.org>
5565 * timer.el (timer-activate-when-idle): Add optional parameter
5566 DONT-WAIT. Update docstring.
5567 (run-with-idle-timer): Specify extra parameter to
5568 timer-activate-when-idle, so that timer will be activated
5569 immediately if Emacs is already idle.
5571 * w32-fns.el (w32-using-nt): Fix docstring.
5573 2000-07-24 Dave Love <fx@gnu.org>
5575 * mouse.el (popup-menu): Set last-command-event.
5576 (mouse-major-mode-menu-prefix): Declare.
5578 2000-07-24 Gerd Moellmann <gerd@gnu.org>
5580 * textmodes/flyspell.el: Update to author's version 1.5d.
5582 * progmodes/hideshow.el: Update copyright notice.
5584 * vcursor.el: Set maintainer to FSF, since author cannot
5587 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
5589 * info.el (Info-goto-emacs-key-command-node): Leave a space after
5592 * mouse.el (popup-menu): Run the keymap through indirect-function,
5593 in case it was defined with define-prefix-key. If the menu is a
5594 list of keymaps, look up the binding of user's choice in each one
5596 (mouse-popup-menubar): If the global and local menu-bar keymaps
5597 don't have a prompt string, create one and insert it into the
5598 keymap. Don't barf if current-local-map returns nil.
5600 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
5602 * dired.el (dired-sort-R-check): Added to allow recursive listing
5604 (dired-sort-other): Use it.
5606 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5608 * Release of cc-mode 5.27
5610 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5612 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
5613 c-beginning-of-statement-1 that caused a bad case of recursion
5614 which could consume a lot of CPU in large classes in languages
5615 that have in-expression classes (i.e. Java and Pike).
5617 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
5618 statements before top level constructs (i.e. case 6 is moved
5619 before case 5 and is now case 4) to catch in-expression
5620 classes in top level expressions correctly.
5622 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5624 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
5625 objc-method-intro. Case 4 removed and case 5I added.
5627 * cc-langs.el (c-append-paragraph-start): New variable used by
5628 c-common-init to get paragraph-start correct.
5629 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
5630 initialize paragraph-start to make it correct both with and
5631 without the javadoc special case.
5633 * cc-mode.el (java-mode): Use c-append-paragraph-start to
5634 initialize paragraph-start for javadoc markup.
5636 * cc-vars.el (c-style-variables-are-local-p): Incompatible
5637 change by defaulting this to t. It's motivated by the
5638 confusing behavior that otherwise arise from the style system
5639 when editing both java and non-java files at the same time
5640 (see the comments about style setting in c-common-init).
5642 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5644 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
5645 similar to the one in c-fill-paragraph to check the fill
5646 prefix from the adaptive fill function for sanity.
5648 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5650 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
5653 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5655 * cc-mode.texi Documented the change of cpp-macro.
5657 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5659 * cc-align.el (c-lineup-multi-inher): Handle lines with
5660 leading comma nicely. Extended to handle member initializers
5663 * cc-engine.el: (c-beginning-of-inheritance-list,
5664 c-guess-basic-syntax): Fixed recognition of inheritance lists
5665 when the lines begins with a comma.
5667 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
5669 * cc-vars.el (c-offsets-alist): Changed default for
5670 member-init-cont to c-lineup-multi-inher since it now handles
5671 member initializers and indents better for leading commas.
5673 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5675 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
5676 handling that caused class open lines to be recognized as
5677 statement-conts in some cases.
5679 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
5680 guessed by the adaptive fill function unless point is on the
5681 first line of a block comment.
5683 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
5684 when the buffer ends with a macro continuation char.
5686 * cc-engine.el (c-guess-basic-syntax): Added support for
5687 function definitions as statements in Pike. The first
5688 statement in a lambda block is now labeled defun-block-intro
5689 instead of statement-block-intro.
5691 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
5692 so that the class surrounding point is selected, not the one
5693 innermost in the state.
5695 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
5696 recognition of switch labels having hanging multiline
5699 * cc-engine.el (c-beginning-of-member-init-list): Broke out
5700 some code in c-guess-basic-syntax to a separate function.
5701 * cc-engine.el (c-just-after-func-arglist-p): Fixed
5702 recognition of member inits with multiple line arglists.
5703 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
5704 member-init-cont when the commas are in funny places.
5706 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5708 * cc-defs.el (c-auto-newline): Removed this macro since it's
5711 * cc-engine.el (c-looking-at-bos): New helper function.
5712 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
5713 inexpr and toplevel classes apart in Pike.
5715 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
5718 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
5719 constant, since "class" can introduce an in-expression class
5722 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5724 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
5725 indentation on cpp-macro lines.
5727 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
5728 a syntax modifier like comment-intro, to make it possible to
5729 get syntactic indentation for preprocessor directives. It's
5730 incompatible wrt to lineup functions on cpp-macro, but it has
5731 no observable effect in the 99.9% common case where cpp-macro
5734 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5736 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
5737 member-init-cont when the preceding arglist is several lines.
5739 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5741 * cc-styles.el (c-style-alist): The basic offset for the BSD
5742 style corrected to 8.
5744 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5746 * cc-styles.el (c-style-alist): Adjusted the indentation of
5747 brace list openers in the gnu style.
5749 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5751 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
5753 * cc-cmds.el (c-electric-brace, c-electric-slash,
5754 c-electric-star, c-electric-semi&comma, c-electric-colon,
5755 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
5756 when c-syntactic-indentation is nil.
5758 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
5759 we were left at comments preceding the first statement when
5760 reaching the beginning of the buffer.
5762 * cc-vars.el (c-syntactic-indentation): New variable to turn
5763 off all syntactic indentation.
5765 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5767 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
5768 between the text and the block comment ender when it hangs,
5769 depending on how many there are before the fill.
5771 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5773 * cc-engine.el (c-beginning-of-closest-statement): New helper
5774 function to go back to the closest preceding statement start,
5775 which could be inside a conditional statement.
5776 * cc-engine.el (c-guess-basic-syntax): Use
5777 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
5779 * cc-engine.el (c-guess-basic-syntax): Better handling of
5780 arglist-intro, arglist-cont-nonempty and arglist-close when
5781 the arglist is nested inside parens. Cases 7A, 7C and 7F
5784 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
5785 up-to-date with javadoc 1.2.
5787 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5789 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
5790 multiline Pike type decls.
5792 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5794 * cc-cmds.el (c-indent-new-comment-line): Always break
5795 multiline comments in multiline mode, regardless of
5798 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5800 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
5801 fully::qualified::names in C++ member init lists. Preamble in
5804 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5806 * cc-langs.el (c-common-init): Handling of obsolete variables
5807 moved to c-initialize-cc-mode. More compatible style override
5808 when using global style variables.
5809 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
5810 variables moved here.
5812 * cc-mode.texi: Documented the special behavior of
5813 c-special-indent-hook as a style variable. Don't talk about
5814 doing (c-make-styles-buffer-local t) in a mode hook, since
5815 that's already too late to work right.
5817 * cc-styles.el (c-make-styles-buffer-local): Flag style
5818 variable localness in c-style-variables-are-local-p to make
5819 the compatibility measure in c-common-init work well.
5821 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
5822 longer contain set-from-style.
5823 * cc-styles.el (c-initialize-builtin-style): Don't check for
5824 set-from-style on c-special-indent-hook.
5825 * cc-styles.el (c-copy-tree): Obsolete. The standard function
5826 copy-alist is sufficient now.
5828 * cc-styles.el (c-set-style, c-set-style-1,
5829 c-get-style-variables): Fixes to variable initialization so
5830 that duplicate entries in styles have the same effect
5831 regardless of DONT-OVERRIDE.
5833 * cc-styles.el (c-set-style-2): Fixed bug where the
5834 initialization of inheriting styles failed when the
5835 dont-override flag is set.
5837 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
5840 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5842 * cc-defs.el (c-forward-comment): Removed the workaround
5843 introduced in 5.38 since it had worse side-effects. If a line
5844 contains the string "//\"", it regarded the // as a comment
5845 start since the \ temporarily doesn't have escape syntax.
5847 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
5849 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
5850 ada-xref.el before ada-prj.el, so that the Project menu is created
5851 when ada-prj tries to add to it.
5852 (ada-activate-keys-for-case): Suppress the characters that are not
5853 part of the Ada syntax. Better compatibility with else-mode
5854 (ada-adjust-case-interactive): When auto-casing is not active,
5855 correctly insert newlines (used to insert only ^M). Prevent the
5856 syntax table from being changed in case of an error
5857 (or '_' becomes part of a word and some commands are confused).
5858 Do nothing if ada-auto-case is nil.
5859 (ada-after-keyword-p): Ignore keywords that are also attributes
5860 (ada-batch-reformat): Update usage comment
5861 (ada-call-from-contextual-menu): New function
5862 (ada-case-read-exceptions): Reinitialize the casing exception list
5863 first to nil first, so that the casing exception file can be
5865 (ada-check-defun-name): Handles "configure" keyword for gnatdist
5867 (ada-compile-goto-error): Fix regexp used to detect a file:line
5868 anywhere in the error message
5869 (ada-contextual-menu-last-point): New variable
5870 (ada-create-keymap): If the variable delete-key-deletes-forward is
5871 t on XEmacs, it means that DEL should delete one character
5873 (ada-create-menu): Use :included instead of :visible for XEmacs.
5874 New submenu "Options".
5875 (ada-end-stmt-re): Correctly indent "select ... then abort"
5877 (ada-fill-comment-paragraph): Correctly delete all leading '--'
5878 even if they don't match ada-fill-comment-prefix Fix handling of
5879 paragraphs on the first or last line of a file.
5880 (ada-format-paramlist): Fix handling of default parameter values.
5881 (ada-get-body-name): New function.
5882 (ada-get-current-indent): Optimized by searchling directly for an
5883 existing generic part or a statement outside of it. Handle
5884 ada-indent-align-comments when indenting comments Replaced some
5885 regexps by testing directly the next character. This results in a
5886 huge speedup on some files. New indentation scheme for renames
5887 statements. Stop looking for the 'while' or 'for' associated with
5888 a 'loop' at the first semicolon encountered. A "return" can also
5889 match an anonymous access subprogram declaration.
5890 (ada-get-indent-noindent): Ignore strings and comments when
5891 looking for the keywords "record" and "private".
5892 (ada-goto-matching-decl-start): When matching "if", make sure we
5893 are not in fact seeing "end if". Ignore "when" statements except
5894 when initial keyword was "begin". Fix handling of nested
5895 procedures. Add a recursive call to this function to skip over
5896 other 'end' statmts. Fix indentation for "when .. => begin"
5897 (ada-in-open-paren-p): Fix indentation for complex boolean
5898 expressions, where 'and then', 'or else' and parenthesis
5899 statements are mixed up.
5900 (ada-in-paramlist-p): Skip comments while searching for the
5901 beginning Fix handling of operator declarations.
5902 (ada-indent-align-comments): New variable
5903 (ada-indent-current): Change the syntax table only in the
5904 protected section, so that we are sure it is restored correctly.
5905 (ada-indent-on-previous-lines): Use ada-use-indent and
5906 ada-with-indent Correctly indent "select ... then"
5907 (ada-indent-region): Slight speedup.
5908 (ada-indent-renames): New variable.
5909 (ada-last-which-function-subprog, ada-last-which-function-line):
5911 (ada-looking-at-semi-private): Correctly indent the 'private'
5912 keyword when it is the first word in a package declaration.
5913 (ada-loose-case-word): Stop searching if at the end of the buffer.
5914 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
5915 even if point is not initially at the end of the word.
5916 (ada-matching-decl-start-re): Add "when".
5917 (ada-mode): Add support for abbrev-mode, outline-mode and
5918 which-func-mode Override the old find-file.el entry in
5919 ff-special-constructs since it is using the obsolete
5920 ada-spec-suffix variable
5921 (ada-no-auto-case): New function
5922 (ada-scan-paramlist): When parsing the argument type, accept
5923 spaces (as in "X 'Class", generated by Rational Rose).
5924 (ada-other-file-name): No longer loads the other file.
5925 (ada-popup-menu): Save and restore the current buffer and cursor
5926 position before and after displaying the menu.
5927 (ada-search-ignore-complex-boolean): New function.
5928 (ada-uncomment-region): Emacs21 already knows how to delete
5929 comments not starting in the first column.
5930 (ada-use-indent): New variable
5931 (ada-which-function): New function.
5932 (ada-with-indent): New variable
5933 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
5934 can be batch-compiled from the command line.
5936 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
5937 Add to the menu when the file is loaded, not in ada-mode-hook.
5938 Add -toolbar to the default ddd command Switches moved from
5939 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
5940 ada-prj-default-comp-opt
5941 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
5942 Reference Manual to the menu
5943 (ada-check-current): rewritten as a call to ada-compile-current
5944 (ada-compile): Removed.
5945 (ada-compile-application, ada-compile-current, ada-check-current):
5946 Set the compilation-search-path so that compile.el automatically
5947 finds the sources in src_dir. Automatic scrollong of the
5948 compilation buffer. C-uC-cC-c asks for confirmation before
5950 (ada-compile-current): New parameter, prj-field
5951 (ada-complete-identifier): Load the .ali file before doing
5953 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
5954 conform to gnatmake's behavior.
5955 (ada-find-file-in-dir): New function
5956 (ada-find-references): Set the environment variables for gnatfind
5957 (ada-find-src-file-in-dir): New function.
5958 (ada-first-non-nil): Removed
5959 (ada-gdb-application): Add support for jdb, the java debugger.
5960 (ada-get-ada-file-name): Load the original-file first if not done
5962 (ada-get-all-references): Handles the new ali syntax (parent types
5963 are found between <>).
5964 (ada-initialize-runtime-library): New function
5965 (ada-mode-hook): Always load a project file when a file is opened,
5966 so that the casing exceptions are correctly read.
5967 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
5968 (ada-parse-prj-file): Use find-file-noselect instead of find-file
5969 to open the project file, since the latter does not work with
5970 speedbar Get default values before loading the prj file, or the
5971 default executable file name is wrong. Use the absolute value of
5972 src_dir to initialize ada-search-directories and
5973 compilation-search-path,... Add the standard runtime library to
5974 the search path for find-file.
5975 (ada-prj-default-debugger): Was missing an opening '{'
5976 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
5978 (ada-prj-default-gnatmake-opt): New variable
5979 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
5980 buffers, the project file is the default one Save the windows
5981 configuration before displaying the menu.
5982 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
5983 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
5984 ...) regexp-quote identifiers names to support operators +,
5986 (ada-remote): New function.
5987 (ada-run-application): Erase the output buffer before starting the
5988 run Support remote execution of the application. Use
5989 call-process, or the arguments are incorrectly parsed
5990 (ada-set-default-project-file): Reread the content of the active
5991 project file, not the one from the current buffer When a project
5992 file is set as the default project, all directories are
5993 automatically associated with it.
5994 (ada-set-environment): New function
5995 (ada-treat-cmd-string): New special variable ${current}
5996 (ada-treat-cmd-string): Revised. The substitution is now done for
5997 any ${...} substring
5998 (ada-xref-current): If no body was found, compiles the spec
5999 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
6000 compiler to get rid of command line length limitations.
6001 (ada-xref-get-project-field): New function
6002 (ada-xref-project-files): New variable
6003 (ada-xref-runtime-library-specs-path)
6004 (ada-xref-runtime-library-ali-path): New variables
6005 (ada-xref-set-default-prj-values): Default run command now does a
6006 cd to the build directory. New field: main_unit Provide a default
6007 file name even if the current buffer has no prj file.
6010 Rewritten to show a tabbed-dialog.
6011 (ada-prj-add-ada-menu): Remove the map and name parameters.
6012 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
6014 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
6015 (ada-prj-load-from-file): New function
6016 (ada-prj-save): Always save fields that depend on the current buffer
6017 (ada-prj-show-value): New function
6019 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
6020 Ada mode. This will allow us to display the Ada menu in any buffer
6021 we want (for project items).
6022 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
6023 number of spaces in the header.
6025 2000-07-24 Dave Love <fx@gnu.org>
6027 * ediff-init.el (ediff-region-help-echo): Bind face-help.
6029 2000-07-23 Noah Friedman <friedman@splode.com>
6031 * type-break.el (type-break): perform autosave.
6032 Suggested by Stephen Gildea <gildea@intouchsys.com>.
6033 (type-break-do-query): Cancel query schedule while performing
6034 actual query, to avoid possibility of a second query being made
6035 while first one is already in progress.
6036 (type-break-time-stamp-format): New variable.
6037 (type-break-time-stamp): New function.
6038 (type-break-time-warning): Use it.
6039 (type-break-keystroke-warning): Use it.
6040 (type-break-noninteractive-query): Use it.
6042 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
6044 Use add-minor-mode to set minor-mode-alist, if available.
6045 (eldoc-echo-area-use-multiline-p): New user option.
6046 (eldoc-echo-area-multiline-supported-p): New variable.
6047 (eldoc-docstring-format-sym-doc): Use them.
6048 (eldoc-mode): If not using idle timers, append to local post and
6049 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
6050 (eldoc-display-message-no-interference-p): Don't interfere with
6052 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
6053 (eldoc-function-arglist): New function.
6054 (eldoc-function-argstring): Use it.
6056 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
6057 auto save directory exists before calling directory-files.
6059 2000-07-23 Dave Love <fx@gnu.org>
6061 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
6064 2000-07-21 Dave Love <fx@gnu.org>
6066 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
6067 now passed to the function. It now works properly.
6069 * smerge-mode.el (smerge-mode-menu): Fill it out.
6071 2000-07-20 Gerd Moellmann <gerd@gnu.org>
6073 * info-look.el (info-lookup): If *info* is shown in another frame
6074 on the same display, select that frame, instead of switching to
6075 the Info buffer in another window of the selected frame.
6077 * simple.el (universal-argument-map): Bind numeric keypad keys
6078 kp-0 to kp-9 and kp-subtract.
6079 (digit-argument): Handle these keys.
6081 2000-07-20 Dave Love <fx@gnu.org>
6083 * net/goto-addr.el (goto-address-fontify): Don't bother with
6084 buffer-modified and read-only stuff -- irrelevant with overlays.
6085 Put an extra property on the overlays and use it to clean up in
6086 case goto-address is re-run.
6088 2000-07-19 Richard M. Stallman <rms@gnu.org>
6090 * timer.el (run-with-idle-timer): Doc fix.
6092 * mail/mail-utils.el (mail-strip-quoted-names):
6093 Handle case where <...> appears inside "...".
6094 Use replace-match to edit the string more simply.
6095 (rmail-dont-reply-to): Cope with an unmatched ".
6097 2000-07-19 Dave Love <fx@gnu.org>
6099 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
6102 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
6103 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
6104 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
6106 2000-07-19 Gerd Moellmann <gerd@gnu.org>
6108 * textmodes/refer.el: Correct maintainer's email address.
6110 * progmodes/hideif.el: Correct author's email address.
6111 Fix typo in comment.
6115 * mail/mailheader.el: Correct author's mail address.
6117 * gnus/parse-time.el: Correct author's mail address.
6119 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
6121 * comint.el (comint-highlight-input, comint-highlight-face):
6123 (comint-input-ring-file-name): Change custom type.
6124 (comint-mode-map): Bind mouse-2.
6125 (comint-insert-clicked-input): New function.
6126 (comint-send-input): Handle input highlighting.
6128 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
6130 * mouse.el (popup-menu): New function.
6131 (mouse-major-mode-menu): Use it.
6133 2000-07-18 Dave Love <fx@gnu.org>
6135 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
6138 2000-07-18 Gerd Moellmann <gerd@gnu.org>
6140 * faces.el (face-font-selection-order)
6141 (face-font-family-alternatives): Add custom type.
6143 2000-07-18 Dave Love <fx@gnu.org>
6145 * cus-edit.el (custom-variable-reset-saved)
6146 (custom-variable-reset-standard): Remove unused bindings.
6148 * rect.el (open-rectangle-line): Remove unused let.
6150 * hl-line.el (hl-line-highlight): Check hl-line-mode.
6152 2000-07-18 Gerd Moellmann <gerd@gnu.org>
6154 * cdl.el: Fix `Maintainer' keyword.
6156 * play/pong.el: Add author's email address.
6158 2000-07-17 Sam Steingold <sds@gnu.org>
6160 * files.el (insert-directory): Call `split-string' instead of
6163 2000-07-18 Gerd Moellmann <gerd@gnu.org>
6165 * mail/vms-pmail.el: Change maintainer to FSF.
6167 * net/goto-addr.el: Change maintainer to FSF.
6169 * recentf.el: Update from author.
6171 * info.el (Info-title-face-alist): Removed.
6173 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
6175 * eshell/eshell.el (eshell): Replace links to eshell.info with
6176 links to eshell, to avoid problems on systems where the manual is
6177 installed as `eshell'.
6178 * eshell/esh-cmd.el (eshell-cmd): Ditto.
6179 * eshell/em-smart.el (eshell-smart): Ditto.
6180 * eshell/em-banner.el (eshell-banner): Ditto.
6181 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
6183 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
6184 same-file check in the MS-DOS version (it does support inodes).
6186 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
6188 * eshell/eshell.el (eshell-directory-name):
6189 Run default directory name through convert-standard-filename.
6191 2000-07-18 Kenichi Handa <handa@etl.go.jp>
6193 * international/mule-cmds.el (select-safe-coding-system):
6194 Fix typo in the comment.
6196 * language/european.el (compound-text):
6197 Force katakana-jisx0201 to be designated to G1.
6199 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
6200 Don't translate some national variant characters of latin-jisx0201.
6201 (x-ctext): Force katakana-jisx0201 to be designated to G1.
6203 * international/kkc.el (kkc-after-update-conversion-functions):
6205 (kkc-update-conversion): Run functions in it at the tail.
6207 2000-07-16 John Wiegley <johnw@gnu.org>
6209 * lisp/align.el (align-newline-and-indent):
6210 Adding new function. for auto-aligning blocks of code on RET.
6211 (align-region): Fixed badly formatted minibuffer message.
6213 2000-07-17 Kenichi Handa <handa@etl.go.jp>
6215 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
6216 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
6217 the conversion list at first if appropriate.
6218 (kkc-next): Don't update kkc-next-count here.
6219 (kkc-prev): Don't update kkc-prev-count here.
6220 (kkc-show-conversion-list-update): Fix setting up of conversion
6223 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
6225 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
6227 2000-07-16 Dave Love <fx@gnu.org>
6229 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
6230 function to be more specific.
6232 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
6233 non-string help-echo.
6234 (widget-types-convert-widget): Defsubst it.
6235 (widget-echo-help): Try to cope with a help-echo function of two
6238 2000-07-15 Jason Rumney <jasonr@gnu.org>
6240 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
6241 Declare as obsolete.
6243 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
6245 2000-07-14 Gerd Moellmann <gerd@gnu.org>
6247 * hilit-chg.el: Fix typo.
6249 2000-07-14 Dave Love <fx@gnu.org>
6251 * info.el (Info-mode-menu): Fix use of :help, :enable.
6253 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
6255 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
6257 2000-07-13 Dave Love <fx@gnu.org>
6259 * emacs-lisp/easymenu.el: Doc fixes.
6260 (easy-menu-remove): Defalias to ignore.
6262 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
6263 Call throw correctly.
6265 2000-07-13 Gerd Moellmann <gerd@gnu.org>
6267 * faces.el (frame-background-mode): Doc fix.
6269 * simple.el (eval-expression-print-length): Change custom type to
6270 allow entering nil as value.
6272 2000-07-13 Dave Love <fx@gnu.org>
6274 * progmodes/fortran.el (fortran-imenu-generic-expression):
6275 Change definition layout.
6276 (fortran-mode-menu): Reinstate customize entries.
6278 * cus-edit.el (custom-group-menu-create, customize-menu-create):
6279 Use :filter, per old XEmacs code.
6281 2000-07-12 Gerd Moellmann <gerd@gnu.org>
6283 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
6284 event when deciding what to send to the terminal.
6286 2000-07-12 Dave Love <fx@gnu.org>
6288 * cus-start.el: Add optional version as 4th element of specs and
6289 use it for several things new in v21. Remove load-path. Fix type
6290 of line-number-display-limit.
6292 2000-07-11 Dave Love <fx@gnu.org>
6294 * progmodes/fortran.el: Don't require easymenu.
6295 Use repeat counts in various regexps.
6296 (fortran-mode-syntax-table): Defvar directly.
6297 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
6298 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
6299 Use defvar, not defconst.
6300 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
6301 (fortran-mode): Set fortran-comment-line-start-skip,
6302 fortran-comment-line-start-skip, dabbrev-case-fold-search.
6303 (fortran-comment-indent): Use defsubst.
6304 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
6305 Use fortran-comment-indent, not fortran-comment-indent-function.
6306 (fortran-comment-region, fortran-electric-line-number): Simplify.
6307 (fortran-auto-fill): New function.
6308 (fortran-do-auto-fill): Deleted.
6309 (fortran-find-comment-start-skip):
6310 Check for non-null comment-start-skip.
6311 (fortran-auto-fill-mode, fortran-fill-statement):
6312 Use fortran-auto-fill.
6313 (fortran-fill): Use fortran-auto-fill. Check for null
6314 comment-start-skip. Simplify final clause and use end-of-line finally.
6316 * widget.el (widget-plist-member): New alias.
6318 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
6320 * eshell/esh-module.el (toplevel): Reference
6321 byte-compile-current-file only if it is bound.
6323 2000-07-10 Gerd Moellmann <gerd@gnu.org>
6325 * dired.el: Don't require `dired-aux'.
6327 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
6329 * dired-aux.el (dired-show-file-type): New function.
6330 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
6331 (dired-show-file-type): Add autoload.
6333 2000-07-10 Kenichi Handa <handa@etl.go.jp>
6335 * international/mule-diag.el (describe-font): Adjusted for the
6336 change of fontset-info.
6337 (print-fontset): Likewise.
6339 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
6341 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
6343 2000-07-07 Gerd Moellmann <gerd@gnu.org>
6345 * bindings.el: Bind `[delete]' to delete-char.
6347 * dired.el (dired-find-alternate-file): New function.
6348 (dired-mode-map): Bind `a' to dired-find-alternate-file.
6349 (toplevel): Require dired-aux when compiling.
6350 (dired-buffers): Move defvar within file to avoid compiler warning.
6352 * info.el (Info-last-search): Variable removed.
6353 (Info-search-history): New variable.
6354 (Info-search): New Info-search-history.
6356 * battery.el, info-look.el: Change author's mail address.
6358 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
6360 * mail/rmail.el (rmail-clear-headers): Don't throw an error
6361 if rmail-ignored-headers is nil.
6362 (rmail-retry-failure): Bind rmail-ignored-headers and
6363 rmail-displayed-headers to nil.
6365 2000-07-06 Gerd Moellmann <gerd@gnu.org>
6367 * lpr.el (lpr-page-header-switches): Add `-h' switch.
6368 (print-region-1): Don't hard code `-h' here.
6370 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
6372 2000-07-01 Francesco Potorti` <pot@gnu.org>
6374 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
6375 exim can use "your message" instead of "the message".
6377 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
6379 * facemenu.el: Docstrings fixes.
6380 (facemenu-get-face): Don't use internal-find-face.
6381 (facemenu-iterate): Rename arg to match the docstring.
6383 * newcomment.el (uncomment-region): Be more careful when skipping
6384 backwards over `=' not to bump into BOBP.
6386 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
6388 * ediff-diff.el (ediff-wordify): Use syntax table.
6389 * ediff-init.el (ediff-has-face-support-p): Use
6390 ediff-color-display-p.
6391 (ediff-color-display-p): Use display-color-p, changed to defun
6393 Got rid of special cases for NeXT and OS/2.
6394 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
6397 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
6399 * emacs-lisp/lucid.el: Require CL.
6400 (copy-tree, remprop): Remove, it's provided by CL.
6401 (map-keymap): Define in terms of cl-map-keymap.
6402 (extent-property, set-extent-end-glyph): New functions.
6404 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
6406 2000-07-05 Gerd Moellmann <gerd@gnu.org>
6408 * Makefile.in (DONTCOMPILE): Add comment that the name may
6409 not be changed without changing the make-dist script.
6411 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
6412 (cl-mapc): Use mapc instead of cl-old-mapc.
6414 2000-07-05 Andrew Innes <andrewi@gnu.org>
6416 * makefile.nt: Add support for `bootstrap' and related targets.
6418 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
6420 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
6421 (easy-menu-do-define): Use `menu-item' format.
6422 Handle case where easy-menu-create-menu returns a symbol.
6423 Manually call the potential top-level filter in the function binding.
6424 (easy-menu-filter-return): New arg NAME.
6425 Convert to a keymap if MENU is an XEmacs menu.
6426 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
6427 (easy-menu-converted-items-table, easy-menu-convert-item):
6428 New var and fun to memoize easy-menu-convert-item-1.
6429 (easy-menu-do-add-item): Use it.
6430 (easy-menu-create-menu): Use easy-menu-convert-item.
6431 Wrap easy-menu-filter-return around any :filter specification.
6432 Don't convert the menu if a filter was specified.
6433 Tell easy-menu-make-symbol not to check for MENU being an expression.
6434 (easy-menu-make-symbol): New arg NOEXP.
6436 2000-07-05 Gerd Moellmann <gerd@gnu.org>
6438 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
6439 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
6440 (eval-defun): If called with prefix arg, instrument code for
6443 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
6444 similar to that of eval-defun.
6446 2000-07-04 Dave Love <fx@gnu.org>
6448 * hl-line.el (hl-line-overlay): Make it permanent-local.
6450 * calendar/todo-mode.el: Replaced with a working version, based on
6451 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
6453 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
6455 * paths.el (prune-directory-list): New function.
6456 (Info-default-directory-list): Rewritten to more methodically
6457 enumerate a big list of possible info directories (based on the
6458 list used by the standalone info reader).
6460 * info.el (info-initialize): Use prune-directory-list to remove
6461 non-existent directories from Info-directory-list.
6463 * paths.el (Info-default-directory-list): Try a list of possible
6464 info-directories instead of a single one. Add the possible
6465 info directory "/usr/share/info".
6467 * woman.el (woman-man.conf-path): Explicitly include the debian
6468 man-db config file "/etc/manpath.config".
6469 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
6470 are present in `manpath.config'.
6471 (woman-manpath): Include "/usr/share/man".
6473 2000-07-03 Gerd Moellmann <gerd@gnu.org>
6475 * frame.el (blink-cursor-mode): Don't hide cursor initially.
6477 * startup.el (command-line): Initialize blink-cursor based
6480 * frame.el (blink-cursor): Default to nil if not running under
6483 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
6484 (face-x-resources): Remove duplicate entry for :font.
6486 * textmodes/refer.el (refer-find-entry-internal): Use some-window
6487 instead of cycling through windows with next-window.
6489 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
6490 of cycling through windows with next-window.
6492 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
6493 of cycling through windows with next-window.
6495 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
6496 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
6497 instead of cycling through windows with next-window.
6499 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
6500 instead of cycling through windows with next-window.
6502 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
6503 of cycling through windows with next-window.
6505 * terminal.el (te-process-output): Use walk-windows instead of
6506 cycling through windows with next-window.
6508 * server.el (server-switch-buffer): Use some-window instead of
6509 cycling through windows with next-window.
6511 * window.el (some-window): New function.
6512 (walk-windows): Remove reference to walk-windows-start.
6514 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
6516 2000-07-03 Richard Stallman <rms@gnu.org>
6518 * window.el (walk-windows): Guarantee termination by keeping a list
6519 of all the windows already handled.
6521 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
6523 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
6526 * man.el (Man-notify-when-ready): Don't use window-system. If
6527 Man-notify-method is newframe, and the display is not
6528 multi-frame, select the frame created for the man page.
6529 (Man-init-defvars): Doc fix.
6531 2000-06-28 Gerd Moellmann <gerd@gnu.org>
6533 * faces.el (region): Change background color for light background.
6535 * ediff-wind.el (ediff-setup-control-frame): Remove :box
6536 attribute from mode-line face of Ediff control frame.
6538 * replace.el (query-replace-map): Bind `e' like `E'.
6540 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
6542 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
6543 Change name to "Select All".
6545 * dos-fns.el (convert-standard-filename): Fix last change.
6547 2000-06-27 Gerd Moellmann <gerd@gnu.org>
6549 * help.el (describe-variable): Don't insert a second `'s' in front
6550 of the string `value is shown below'. Since the syntax-table is
6551 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
6552 an existing `'s', so that this won't be deleted.
6554 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
6555 * pcmpl-unix.el: New files.
6557 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
6559 * wid-edit.el (widget-member): Use the new plist-member.
6561 2000-06-26 Gerd Moellmann <gerd@gnu.org>
6563 * replace.el (perform-replace): Undo change of 2000-04-04.
6564 Instead, move backward 1 character at the end of the loop when
6567 * faces.el (fringe): Change face for different backgrounds.
6569 * eshell/esh-module.el (toplevel): Load defgroup's differently;
6572 * eshell/*.el: Change spelling of the Free Software Foundation.
6574 * eshell/esh-toggle.el: Removed.
6576 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
6578 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
6581 2000-06-26 Alex Schroeder <alex@gnu.org>
6583 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
6584 `define-key'; instead of checking `(emacs-version)' check for
6585 `set-keymap-parent' and `set-keymap-name' directly. Add entries
6586 for `;' and `o' which might be electric.
6588 (sql-electric-stuff): New user option.
6589 (sql-magic-go): New function which uses `sql-electric-stuff'.
6590 (sql-magic-semicolon): New function which uses
6591 `sql-electric-stuff'.
6593 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
6596 (sql-oracle-options): New variable.
6597 (sql-oracle): Use it.
6599 (sql-imenu-generic-expression): Doc change.
6600 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
6603 (sql-informix): Added command line parameter "-" to force
6604 sql-informix-program to use stdout.
6606 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
6608 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
6609 (cp864-decode-table): Doc fix.
6610 (cp720-decode-table): New variable, supports the Arabic OEM
6611 codepage used by Windows.
6612 (cp737-decode-table): New, Greek OEM codepage used by Windows.
6614 2000-06-23 Dave Love <fx@gnu.org>
6616 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
6617 (font-lock-fontify-anchored-keywords): Use
6618 line-beginning-position.
6619 (global-font-lock-mode): Use mapc.
6621 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
6623 * eshell/esh-module.el: Require CL when compiling.
6625 2000-06-23 Gerd Moellmann <gerd@gnu.org>
6627 * comint.el (comint-substitute-in-file-name): Call replace-match
6628 with second and third arg t.
6630 * cus-edit.el (custom-button-face, custom-button-pressed-face):
6631 Specify foreground color.
6633 * faces.el (tool-bar, mode-line, header-line): Specify foreground
6636 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
6638 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
6639 cddr instead of cdddr.
6641 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
6642 instead of copy-list.
6644 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
6647 * subdirs.el: Add eshell subdirectory.
6649 * eshell: New subdirectory containing the Eshell package.
6651 * pcomplete.el: New file.
6653 2000-06-23 Paul Eggert <eggert@twinsun.com>
6655 * mail/mailpost.el (post-mail-send-it): Make sure file has
6656 proper permissions from birth.
6658 * files.el (basic-save-buffer-2): When temporarily setting
6659 file modes, set them to current modes plus 0200, not to 0777.
6661 * emerge.el (emerge-make-temp-file): Make sure file has proper
6662 permissions from birth.
6664 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
6666 * files.el (make-backup-file-name-1): On DOS/Windows, run the
6667 backup file name through convert-standard-filename.
6669 * dos-fns.el (convert-standard-filename): Convert leading
6670 directories as well. When long file names are supported, convert
6671 characters that are invalid in Windows file names.
6673 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6675 * ps-print.el: Fix bug: if ^L is the very first buffer character,
6676 ps-print crashes. New feature: page selection for printing. Create
6677 raw-text-unix coding system for XEmacs. Doc fix.
6678 (ps-print-version): New version number (5.2.3).
6679 (ps-plot-region): Bug fix.
6680 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
6681 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
6682 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
6684 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
6685 (ps-last-page): New vars.
6687 2000-06-21 Gerd Moellmann <gerd@gnu.org>
6689 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
6690 empty option string.
6692 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
6694 * man.el (man): Doc fix.
6696 2000-06-21 Kenichi Handa <handa@etl.go.jp>
6698 * international/mule-cmds.el (set-language-info-alist): Docstring
6701 2000-06-20 Gerd Moellmann <gerd@gnu.org>
6703 * version.el (emacs-version): Use ISO date format.
6705 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
6706 instead of `M-backspace'.
6708 * simple.el (turn-off-auto-fill): New function.
6710 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
6712 * jit-lock.el (with-buffer-prepared-for-jit-lock):
6713 Renamed from with-buffer-prepared-for-font-lock and use
6714 inhibit-modification-hooks rather than setting *-change-functions.
6715 Update all functions to use the new name.
6716 (jit-lock-first-unfontify-pos): New semantics (and doc).
6717 (jit-lock-mode): Make non-interactive.
6718 Don't automatically turn on font-lock.
6719 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
6720 Always use jit-lock-after-change.
6721 Remove and restore font-lock-after-change-function.
6722 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
6723 (jit-lock-after-unfontify-buffer): Remove.
6724 (jit-lock-stealth-fontify):
6725 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
6726 (jit-lock-after-change): Set the `fontified' text-prop to nil.
6728 2000-06-20 Sam Steingold <sds@gnu.org>
6730 * emacs-lisp/cl-indent.el (toplevel): Indent
6731 `print-unreadable-object' properly. Untabify.
6733 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
6735 * textmodes/reftex.el (reftex-find-citation-regexp-format):
6736 Support for bibentry.
6737 (reftex-compile-variables): Fixed problem with end of section-re.
6739 * texmodes/reftex-dcr.el (reftex-view-crossref,
6740 reftex-view-crossref-from-bibtex):
6741 Deal with changed `reftex-find-citation-regexp-format'.
6742 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
6743 Replaced `remprop' with `put'.
6744 (reftex-view-crossref, reftex-view-crossref-when-idle):
6745 Support for bibentry.
6747 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
6748 New entry for bibentry package.
6750 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
6751 Regexp also matches "\nobibliography".
6753 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
6754 Call `reftex-ensure-write-access' before doing anything.
6755 (reftex-ensure-write-access): New function.
6757 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
6759 * progmodes/idlwave.el: File re-installed (update to version 4.2)
6761 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
6763 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
6765 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
6768 2000-06-20 Dave Love <fx@gnu.org>
6770 * faces.el (frame-background-mode): Use set-default, not set, in
6772 (frame-update-faces, frame-update-face-colors): Define with
6775 * enriched.el (enriched-decode-foreground)
6776 (enriched-decode-background): Don't use internal-find-face.
6778 * apropos.el: Doc fixes.
6780 * cus-edit.el (customize-changed-options): Check arg.
6781 (customize-version-lessp): Don't require decimal point.
6783 * custom.el (defcustom, defgroup): Doc fix.
6785 * newcomment.el (comment) <defgroup>: Add :version.
6786 (comment-multi-line): Doc fix.
6788 * emulation/mlsupport.el (define-hooked-local-abbrev,
6789 define-hooked-global-abbrev): Fix, using define-abbrev.
6791 2000-06-19 Gerd Moellmann <gerd@gnu.org>
6793 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
6796 2000-06-19 Dave Love <fx@gnu.org>
6798 * menu-bar.el (menu-bar-options-save): New function.
6799 (menu-bar-options-menu): Use it.
6800 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
6803 2000-06-19 Andreas Schwab <schwab@suse.de>
6805 * progmodes/etags.el (tags-query-replace): Put new parameters
6806 START and END at the end, for backward compatibility.
6808 2000-06-19 Kenichi Handa <handa@etl.go.jp>
6810 * international/codepage.el:
6811 (cp-coding-system-for-codepage-1): Delete special codes for
6812 generating xxx-dos coding system because now a CCL based coding
6813 system can handle EOL conversion by default.
6815 * international/mule.el (make-coding-system): Generate subsidiary
6816 coding systems for EOL handling variants even for a CCL based
6819 2000-06-19 Kenichi Handa <handa@etl.go.jp>
6821 * international/isearch-x.el (isearch-minibuffer-input-method)
6822 (isearch-minibuffer-input-method-function): These variables
6824 (isearch-with-input-method): Don't use the above variables.
6825 (isearch-process-search-multibyte-characters): Likewise. Call
6826 read-string with the arg INHERIT-INPUT-METHOD t.
6828 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
6830 * font-lock.el (font-lock-after-fontify-buffer)
6831 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
6833 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
6834 Use consistent make-local-variable style for font-lock-fontified.
6835 (jit-lock-fontify-buffer):
6836 Don't bother checking for font-lock-mode and jit-lock-mode.
6838 * time.el: Remove trailing ^M that prevent CVS-merging.
6840 2000-06-16 Gerd Moellmann <gerd@gnu.org>
6842 * Makefile.in (distclean): New target.
6844 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
6846 * Makefile.in (srcdir): Define for update-subdirs.
6848 2000-06-16 Gerd Moellmann <gerd@gnu.org>
6850 * find-lisp.el: New file.
6852 2000-06-16 Andrew Innes <andrewi@gnu.org>
6854 * time.el (display-time-mail-function): New variable, to allow
6855 external packages to indicate when new mail is available.
6856 (display-time-update): Use it.
6858 2000-06-16 Kenichi Handa <handa@etl.go.jp>
6860 * international/mule.el (mule-version): Change version name to
6861 SAKAKI. AOI has already been used by Meadow.
6863 * international/quail.el (quail-show-guidance-buf): To find the
6864 bottom window (but minibuffer), pay attention to the height of
6867 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
6869 * arc-mode.el (archive-mode-map): Use the new menu-item format for
6870 menu-bar menus. Add help strings. Don't remove the Edit menu
6871 from the menu bar, as the menu bar has enough space now.
6873 * Makefile.in (SHELL): Make sure /bin/sh is used.
6875 * woman.el (woman-man-buffer): Fix bold and underlined CJK
6876 characters, which use series of two ^H characters instead of one.
6878 2000-06-15 Gerd Moellmann <gerd@gnu.org>
6880 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
6881 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
6883 (Info-find-node-2): Try a case-sensitive search first, then
6884 do a case-insensitive search.
6886 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
6889 * complete.el (PC-env-vars-alist): New variable.
6890 (PC-complete-as-file-name): New function.
6891 (partial-completion-mode): Initialize PC-env-vars-alist from
6892 process-environment.
6893 (PC-do-completion): Handle completion of env vars.
6895 * info.el (Info-set-mode-line): Show file name in mode line,
6896 use `*Info*' instead of `Info:'.
6898 * startup.el (command-line-1): Change copyright messages to year
6901 2000-06-15 Dave Love <fx@gnu.org>
6903 * net/goto-addr.el (goto-address-fontify): Use keymap property,
6906 2000-06-15 Kenichi Handa <handa@etl.go.jp>
6908 * international/mule.el (set-buffer-file-coding-system): Almost
6909 rewritten to handle `undecided' as no-op.
6911 2000-06-14 Gerd Moellmann <gerd@gnu.org>
6913 * Makefile.in: New file.
6915 * Makefile: Removed.
6917 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
6918 (goto-address-highlight-keymap): Bind C-c RET.
6920 2000-06-14 Kenichi Handa <handa@etl.go.jp>
6922 * mail/sendmail.el (sendmail-send-it): The temporary buffer
6923 inherits buffer-file-coding-system of the current buffer.
6925 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
6926 0. Give correct argument to set-auto-coding-function.
6927 (tar-expunge): For goto-char, use (point-min), not 0.
6928 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
6929 (tar-subfile-save-buffer): Likewize.
6931 * international/mule.el
6932 (after-insert-file-set-buffer-file-coding-system): Call
6933 set-buffer-file-coding-system with the arg FORCE t.
6935 2000-06-13 Gerd Moellmann <gerd@gnu.org>
6937 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
6938 nil. Contemporary sendmails issue an X-Authentication-Warning if
6939 the sender is set with `-f'.
6941 2000-06-13 Dave Love <fx@gnu.org>
6943 * help.el (describe-function-1): Kluge around cases of functions
6944 fset to subrs whose doc doesn't match their symbol-name.
6946 * image.el (insert-image): Default STRING to a space.
6948 * info.el Doc fixes.
6949 (Info-build-node-completions): Match Ref tags.
6951 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
6953 * frame.el (display-multi-frame-p, display-multi-font-p): New
6954 defaliases for display-graphic-p.
6956 * hl-line.el: Fixed a typo in commentary.
6958 2000-06-13 Kenichi Handa <handa@etl.go.jp>
6960 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
6963 2000-06-12 Dave Love <fx@gnu.org>
6965 * image.el (insert-image): Save a little consing.
6967 2000-06-12 Kenichi Handa <handa@etl.go.jp>
6969 * language/tibet-util.el: Convert all tibetan-1-column characters
6970 to the corresponding tibetan characters.
6971 (tibetan-add-components): Delete code for the special treatment of
6974 * language/tibetan.el (tibetan-composable-pattern): Fix previous
6976 (tibetan-vowel-transcription-alist): More rules added.
6977 (tibetan-composite-vowel-alist): New variable.
6978 (tibetan-precomposition-rule-alist): More rules added.
6980 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
6982 * startup.el (command-line): Only call menu-bar-mode if interactive.
6984 * thingatpt.el (toplevel symbol-properties):
6985 * textmodes/makeinfo.el (makeinfo-compile):
6986 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
6987 * progmodes/hideif.el (hif-compress-define-list)
6988 (hide-ifdef-use-define-alist):
6989 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
6990 (ange-ftp-vms-add-file-entry):
6991 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
6992 * man.el (Man-build-man-command):
6993 * mail/rnewspost.el (news-reply-header-hook):
6994 * info.el (Info-insert-dir):
6995 * emulation/mlconvert.el (backward-word, forward-word, setq):
6996 * emacs-lisp/gulp.el (gulp-send-requests):
6997 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
6998 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
6999 (byte-optimize-apply, end of file):
7000 * emacs-lisp/advice.el (ad-advice-class-completion-table)
7001 (ad-make-freeze-definition):
7002 * startup.el (command-line, command-line-1): Don't quote lambdas.
7004 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
7005 (cvs-cleanup-removed): New function.
7006 (cvs-cleanup-functions): New var.
7007 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
7008 some flexibility in specifying additional entries to auto-cleanup.
7009 (cvs-quickdir): New function.
7010 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
7011 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
7012 (cvs-mode-find-file): Check that we are on a filename or dirname
7013 when invoked through a mouse-click.
7014 (cvs-full-path): Remove.
7015 (cvs-dired-action): Re-introduced.
7016 (cvs-dired-noselect): Use it.
7017 (vc-post-command-functions): use this new hook if available.
7019 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
7020 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
7021 (cvs-filename-map, cvs-dirname-map): Remove.
7022 (cvs-default-action): Remove.
7023 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
7024 if the arg is really a keymap.
7025 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
7026 Don't hardcode the mapping from state (aka type) to face, but check
7027 the var cvs-fi-<type>-face instead.
7028 (cvs-fileinfo-from-entries): New function.
7030 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
7032 (cvs-find-file-and-jump): Change default to be safer.
7033 (cvs-mode-diff-map): Define it as a function as well.
7034 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
7035 Bind mouse-2 in this global map rather than with text-properties.
7037 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
7038 file to resolve the ambiguity between C(conflict) and C(need-merge).
7040 2000-06-12 Kenichi Handa <handa@etl.go.jp>
7042 * international/mule.el (set-buffer-file-coding-system): If
7043 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
7046 2000-06-12 Dave Love <fx@gnu.org>
7048 * wid-edit.el (widget-specify-button): Really suppress the face if
7051 2000-06-11 Gerd Moellmann <gerd@gnu.org>
7053 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
7055 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
7057 * imenu.el (imenu-generic-expression): Docstring fix.
7059 * composite.el (composition-function-table): Move the `put'
7060 below the autoload cookie so we can load the file before loaddefs.
7062 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
7064 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
7065 Handle easy-mmode-define-global-mode.
7066 For complex macros like define-minor-mode that can generate
7067 several autoload entries, try to autoload entries in the
7070 * emacs-lisp/easy-mmode.el (define-minor-mode):
7071 If KEYMAP is a symbol, just use it.
7072 Use byte-compile-current-file and load-file-name to infer the
7073 proper :require to pass to defcustom.
7074 Wrap the hook var into `progn' so as not to autoload it.
7075 Add a :autoload-end cookie.
7076 Be more careful about the evaluation of KEYMAP.
7077 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
7078 (define-derived-mode): Move define-abbrev-table outside of defvar.
7080 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
7082 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
7083 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
7084 (backup-compiled-files): Ignore errors during `tar'.
7085 (bootstrap): Make autoloads before elc files.
7087 2000-06-10 Kenichi Handa <handa@etl.go.jp>
7089 * international/mule.el (set-buffer-file-coding-system): If one of
7090 undecided-XXX is specified, change only EOL conversion.
7092 * international/mule-conf.el (unix): New alias for the coding
7093 system undecided-unix.
7095 2000-06-09 Dave Love <fx@gnu.org>
7097 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
7099 * progmodes/executable.el: Byte compile dynamic.
7100 (executable-insert): Change custom type.
7101 (executable-find): Add autoload cookie.
7102 (executable-make-buffer-file-executable-if-script-p): New
7103 function. After Noah Friedman.
7105 * files.el (after-save-hook): Customize, with
7106 executable-make-buffer-file-executable-if-script-p as an option.
7108 2000-06-09 Kenichi Handa <handa@etl.go.jp>
7110 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
7111 "tib24p-mule.bdf" for Tibetan.
7113 * composite.el (decompose-composite-char): Declare it as obsolete.
7115 * man.el (Man-fontify-manpage): Pay attention to underline and
7116 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
7118 2000-06-08 Gerd Moellmann <gerd@gnu.org>
7120 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
7121 Set maintainer to FSF since author isn't reachable.
7123 2000-06-08 Dave Love <fx@gnu.org>
7125 * international/mule-cmds.el (select-safe-coding-system): If
7126 DEFAULT-CODING-SYSTEM is not specified, also check the most
7127 preferred coding-system if buffer-file-coding-system is
7128 `undecided'. From Handa.
7130 2000-06-08 Kenichi Handa <handa@etl.go.jp>
7132 * international/mule.el
7133 (after-insert-file-set-buffer-file-coding-system): If the buffer
7134 size is greater than INSERTED, judget that we are not visiting.
7136 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
7138 * whitespace.el (defgroup whitespace): Comment out `:version'.
7139 XEmacs 20.4 has problems defining the group with this present.
7140 We'll have this commented out till get resolve the problem.
7142 2000-06-07 Gerd Moellmann <gerd@gnu.org>
7144 * align.el: Update from author.
7146 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
7148 * apropos.el (apropos-mode-hook): New user variable.
7149 (apropos-mode): Run apropos-mode-hook.
7151 2000-06-07 David Ponce <david@dponce.com>
7153 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
7154 commands. Require `wid-edit' at run-time.
7156 2000-06-07 David Ponce <david@dponce.com>
7158 * recentf.el: Added some "Commentary".
7159 (recentf-open-more-files, recentf-edit-list): Minor changes to
7160 move the point at the top of the file list. This behaviour is
7161 consistent with the menu one when the list contains a lot of
7163 (recentf-cleanup): Now displays the number of items removed from
7165 (recentf-relative-filter) New menu filter to show filenames
7166 relative to `default-directory'.
7168 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7170 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
7171 with/without giving an error if PostScript printer doesn't have this
7172 kind of page size. Zebra Stripe continues or restarts on next page.
7173 Manual/automatic paper feeding. Switch or not the header.
7174 (ps-print-version): New version number (5.2.2).
7175 (ps-windows-system): Include emx as a Windows system.
7176 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
7177 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
7178 (ps-background-text): Code fix.
7179 (ps-error-handler-message, ps-user-defined-prologue)
7180 (ps-print-prologue-header, ps-printer-name)
7181 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
7182 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
7183 (ps-use-face-background): Customization fix.
7184 (ps-n-up-database): Data fix.
7185 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
7186 (ps-switch-header): New vars.
7187 (ps-xemacs-color-name, ps-face-foreground-name)
7188 (ps-face-background-name, ps-boolean-constant): New funs.
7190 2000-06-07 Dave Love <fx@gnu.org>
7192 * allout.el: New version from Manheimer.
7194 2000-06-07 Kenichi Handa <handa@etl.go.jp>
7196 * textmodes/fill.el (fill-find-break-point): Check the validity of
7199 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7201 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
7202 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
7203 Call display-color-p and display-mouse-p instead of looking at
7206 2000-06-06 Dave Love <fx@gnu.org>
7208 * image.el (find-image): Doc fix. Return nil if image not found.
7209 (put-image, insert-image): Make STRING arg optional.
7211 2000-06-06 Kenichi Handa <handa@etl.go.jp>
7213 * language/vietnamese.el: Remove eval-when-compile.
7214 (viet-viscii-nonascii-translation-table): Define it as a
7215 translation table made from viet-viscii-decode-table.
7216 (viet-viscii-encode-table): Define it as a translation table made
7217 from the reverse map of above.
7218 (viet-vscii-nonascii-translation-table): Define it as a
7219 translation table made from viet-vscii-decode-table.
7220 (viet-vscii-encode-table): Define it as a translation table made
7221 from the reverse map of above.
7222 (ccl-decode-viscii): Use translate-character.
7223 (ccl-encode-viscii, ccl-encode-viscii-font)
7224 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
7227 * language/cyrillic.el: Remove eval-when-compile.
7228 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
7229 translation table made from cyrillic-koi8-r-decode-table.
7230 (cyrillic-koi8-r-encode-table): Define it as a translation table
7231 made from the reverse map of above.
7232 (ccl-decode-koi8): Use translate-character.
7233 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
7234 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
7235 a translation table made from cyrillic-alternativnyj-decode-table.
7236 (cyrillic-alternativnyj-encode-table): Define it as a translation
7237 table made from the reverse map of above.
7238 (ccl-decode-alternativnyj): Use translate-character.
7239 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
7242 * international/mule-diag.el (non-iso-charset-alist): Specify
7243 translation table symbol instead of translation table itself.
7244 (list-block-of-chars): CHARSET may be a translation table symbol.
7246 * international/mule.el (make-coding-system): If CODING-SYSTEM
7247 already exists, override it.
7249 * international/fontset.el: Use family `proportional' for Tibetan
7252 * international/ccl.el (ccl-compile-translate-character): Don't
7253 check if Rrr has property translation-table.
7254 (ccl-compile-map-multiple): Modified to avoid compiler warning.
7256 2000-06-05 Gerd Moellmann <gerd@gnu.org>
7258 * info.el: Bind case-fold-search to t when searching in case
7259 a user sets it to nil in a hook.
7261 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
7263 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7264 * hl-line.el (hl-line-mode): Use the new :global key argument.
7266 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
7267 (tar-clip-time-string): Prepend a space.
7268 (tar-grind-file-mode): Construct a string rather than modifying one.
7269 (tar-header-block-summarize): Fix docstring.
7270 Use `format' rather than an error-prone set of copy-loops.
7272 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
7273 (diff-goto-source, diff-unified->context, diff-context->unified)
7274 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
7275 understand the format output by the `-p' argument to diff.
7277 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
7278 (sh-re-done): Use defconst.
7279 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
7280 (sh-help-string-for-variable, sh-guess-basic-offset):
7281 Don't quote lambdas.
7282 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
7283 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
7285 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
7286 (mh-letter-mode): Derive from text-mode.
7287 This implicitly means that it now calls kill-all-local-variables.
7288 Also remove the Emacs-18 compatibility code.
7290 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
7291 Make use of symbol-property doc-string-elt.
7292 Use memq rather than a sequence of eq.
7293 (doc-string-elt): Fix the wrong or missing previously unused values.
7294 (autoload-print-form): New function extracted from
7295 generate-file-autoloads to allow recursion when handling progn
7296 so that defvar's and defun's docstrings are properly printed.
7297 (generate-file-autoloads): Use it.
7299 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
7300 Use find-file-hooks in the minor-mode function.
7301 Be careful not to loop indefinitely in the post-command-hook function.
7303 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
7305 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
7307 * ediff-diff.el (ediff-exec-process): Use --binary for fine
7308 differences whenever appropriate.
7309 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
7310 * viper.el (find-file, find-file-other-window): Get viper to do
7313 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
7315 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
7316 (jit-lock-fontify-buffer): New function for JIT refontification.
7317 (jit-lock-mode): Fix docstring.
7318 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
7319 Remove jit-lock-after-change from the _local_ hook.
7320 (jit-lock-function-1): Fix docstring.
7322 * info.el (Info-on-current-buffer): Initialize info.
7324 * newcomment.el (comment-indent): Ignore comment-indent-hook.
7326 * progmodes/tcl.el (tcl-indent-for-comment):
7327 Ignore comment-indent-hook.
7329 * emacs-lisp/easy-mmode.el: Require CL during compilation.
7330 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
7331 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
7332 and improve to use the lighter to guess the capitalization.
7333 (define-minor-mode): Inline code from easy-mmode-define-toggle.
7334 Add keyword arguments to specify global-ness or the custom group.
7335 Add local-map and help-echo properties to the lighter.
7336 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
7337 (easy-mmode-define-global-mode): New macro.
7339 2000-06-02 Dave Love <fx@gnu.org>
7341 * wid-edit.el: byte-compile-dynamic since we typically don't use
7342 all the widgets. Don't require cl or widget. Remove
7343 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
7344 (widget-read-event): Removed. Callers changed to use read-event.
7345 (widget-button-release-event-p): Renamed from
7346 button-release-event-p.
7347 (widget-field-add-space, widget-field-use-before-change):
7349 (widget-specify-field): Use keymap property, not local-map.
7350 (widget-specify-button): Obey :suppress-face.
7351 (widget-specify-insert): Use modern backquote syntax.
7352 (widget-image-directory): Renamed from widget-glyph-directory.
7353 (widget-image-enable): Renamed from widget-glyph-enable.
7354 (widget-image-find): Replaces widget-glyph-find.
7355 (widget-button-pressed-face): Move defvar.
7356 (widget-image-insert): Replaces widget-glyph-insert.
7357 (widget-convert): Use keywordp.
7358 (widget-leave-text, widget-children-value-delete): Use mapc.
7359 (widget-keymap): Remove XEmacs stuff.
7360 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
7361 (widget-button-click): Don't set point at the click, but re-centre
7362 if we scroll out of window. Rewritten for images v. glyphs &c.
7363 (widget-tabable-at): Use POS arg, not point.
7364 (widget-beginning-of-line, widget-end-of-line)
7365 (widget-item-value-create, widget-sublist, widget-princ-to-string)
7366 (widget-sexp-prompt-value, widget-echo-help): Simplify.
7367 (widget-default-create): Use widget-image-insert; some rewriting.
7368 (widget-visibility-value-create)
7369 (widget-push-button-value-create, widget-toggle-value-create): Use
7370 widget-image-insert.
7371 (checkbox): Create on and off images dynamically.
7372 (documentation-link): Change :help-echo.
7373 (widget-documentation-link-echo-help): Remove.
7375 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
7377 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
7379 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
7380 (easy-mmode-define-toggle, define-minor-mode): Use it.
7381 (easy-mmode-define-keymap): Docstring fix.
7382 (define-derived-mode): Default PARENT to fundamental-mode.
7383 Add the derived-mode-parent symbol-property.
7384 (easy-mmode-derived-mode-p): New function.
7386 2000-06-02 Dave Love <fx@gnu.org>
7388 * files.el (convert-standard-filename): Doc fix.
7389 (normal-backup-enable-predicate): New function.
7390 (backup-enable-predicate): Use it to replace the lambda form.
7392 * calendar/todo-mode.el: [This needs more work on the outline
7394 (todo) <defgroup>: Add :version.
7395 (todo-add-category): Don't use pushnew.
7396 (todo-cmd-raise): Fix typo.
7397 (todo-top-priorities): Change temp buffer name.
7398 (todo-category-alist): Avoid redundant lambda.
7399 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
7400 Use outline-next-heading.
7402 * autoarg.el: Rewritten to use define-minor-mode.
7403 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
7404 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
7406 2000-06-02 Kenichi Handa <handa@etl.go.jp>
7408 * isearch.el (isearch-other-meta-char): Fix previous change.
7410 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
7412 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
7413 (log-edit-done): Only add the comment to the ring if it's different
7414 from the last comment entered.
7416 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
7418 2000-06-01 Dave Love <fx@gnu.org>
7420 * hl-line.el: Rewritten using define-minor-mode.
7422 * help.el (describe-function-1): Distinguish special form from
7423 builtin function. Sanity-check presence of arglist for builtins.
7425 2000-06-01 Kenichi Handa <handa@etl.go.jp>
7427 * international/characters.el: Fix syntax/category setting of
7430 * language/tibet-util.el (tibetan-add-components): Fixes for new
7431 encoding of Tibetan characters.
7432 (tibetan-decompose-precomposition-alist): New variable.
7433 (tibetan-decompose-region): Convert precomposed characters to
7434 non-precomposed characters.
7435 (tibetan-decompose-string): Likewise.
7436 (tibetan-composition-function): Fix args to
7437 thibetan-compose-string.
7439 * language/tibetan.el (tibetan-composable-pattern): More
7440 characters included.
7441 (tibetan-consonant-transcription-alist): Rule for "R" added.
7442 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
7444 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
7446 * language/lao-util.el (lao-composition-function): Fix args to
7449 * language/thai-util.el (thai-composition-function): Fix args to
7452 * isearch.el (isearch-update): Set disable-point-adjustment to t
7453 to prevent the point moving to the end of a composition when a
7454 part of a composition is searched.
7455 (isearch-other-meta-char): If the key invoking this command can be
7456 mapped by function-key-map to a printing char, call
7457 isearch-process-search-char directly.
7459 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
7461 * emacs-lisp/bytecomp.el:
7463 * international/mule-cmds.el:
7464 * international/mule-util.el:
7465 * international/mule.el:
7468 * faces.el: Update calls to make-obsolete with a WHEN argument.
7470 * byte-run.el (make-obsolete, make-obsolete-variable):
7471 Add an optional WHEN argument and change the format of the
7472 symbol-property information.
7473 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
7474 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
7475 new obsolete-symbol-property format and print WHEN if it is provided.
7477 2000-05-31 Dave Love <fx@gnu.org>
7479 * loadhist.el (loadhist-hook-functions): Remove
7480 before-change-function, after-change-function.
7481 (unload-feature): Deal with symbols which are both bound and
7484 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
7485 before-change-function, after-change-function.
7487 * simple.el (newline): Don't bind before-change-function,
7488 after-change-function.
7490 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
7492 * whitespace.el (whitespace-rescan-timer-time): Update interval
7493 set to 600 seconds (10 minutes) instead of 60 seconds since
7494 a large number of whitespace buffers causes emacs to `freeze'
7495 for a considerable amount of time.
7497 * whitespace.el: Updated email address
7499 2000-05-31 Dave Love <fx@gnu.org>
7501 * add-log.el (change-log-font-lock-keywords) <function>: Add
7502 pattern for function of change.
7503 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
7504 acknowledgements patterns.
7506 2000-05-31 Kenichi Handa <handa@etl.go.jp>
7508 * isearch.el (isearch-printing-char): If keyboard coding system is
7509 being used, call isearch-process-search-multibyte-characters.
7511 * international/isearch-x.el: Mostly rewritten.
7513 * international/quail.el (quail-start-conversion): Don't include
7514 unhandled events in the returned events, but set them in
7515 unread-command-events. Exit if all inputs are deleted.
7517 2000-05-30 Jason Rumney <jasonr@gnu.org>
7519 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
7521 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
7522 Reenable code to create initial fontsets.
7523 Use set-fontset-font in place of put-charset-property.
7525 2000-05-30 Gerd Moellmann <gerd@gnu.org>
7527 * progmodes/perl-mode.el (perl-indent-line): When looking for a
7528 label, ensure that the first colon isn't followed by another.
7530 * paths.el (Info-default-directory-list): Doc fix.
7532 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
7533 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
7534 send a query containing USER only, not USER@HOST.
7536 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
7537 and rmail-msgend to compute the restriction at the end, instead of
7540 2000-05-29 Gerd Moellmann <gerd@gnu.org>
7542 * dabbrev.el (dabbrev-expand): Don't display messages in the
7543 echo area if the minibuffer window is active.
7545 * jit-lock.el (jit-lock-mode): Add after change function to
7548 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
7550 * antlr-mode.el: New commands: hide/unhide actions,
7551 upcase/downcase literals.
7552 (antlr-tiny-action-length): New user option.
7553 (antlr-hide-actions): New command. Suggested by
7554 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
7555 (antlr-mode-map): New binding [C-c C-v].
7556 (antlr-mode-menu): New entries.
7557 (antlr-downcase-literals): New command.
7558 (antlr-upcase-literals): Ditto.
7560 * antlr-mode.el: Minor changes: indendation, mode-name.
7561 (antlr-indent-line): Indent cpp directive at column 0.
7562 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
7564 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
7565 (antlr-font-lock-additional-keywords): Workaround for intentional
7566 bug in XEmacs version of font-lock.
7567 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
7568 be used by a smarter version of `buffers-menu-grouping-function'.
7570 2000-05-29 Gerd Moellmann <gerd@gnu.org>
7572 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
7573 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
7575 2000-05-29 Kenichi Handa <handa@etl.go.jp>
7577 * international/encoded-kb.el
7578 (encoded-kbd-iso2022-designation-map): Pay attention to that
7579 charset-iso-final-char return -1 for eight-bit-control and
7582 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
7584 * speedbar.el (speedbar-use-images, speedbar-update-flag)
7585 (speedbar-easymenu-definition-base): Use display-graphic-p where
7586 available, instead of window-system.
7588 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
7590 * international/codepage.el (cp-coding-system-for-codepage-1): Add
7591 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
7594 2000-05-26 Dave Love <fx@gnu.org>
7596 * disp-table.el (standard-display-underline): Don't use
7599 * mail/reporter.el: Maintainer change. Doc fixes.
7600 (reporter-version): Deleted.
7602 * emacs-lisp/elp.el: Maintainer change.
7603 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
7605 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
7607 * add-log.el (add-change-log-entry): Merge the current entry with the
7608 previous one if the previous one is empty.
7610 2000-05-26 Dave Love <fx@gnu.org>
7612 * loadhist.el (unload-feature): Fix interactive spec [from
7613 lijnzaad@ebi.ac.uk].
7615 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
7616 subr-arity to check primitives.
7617 (byte-compile-flush-pending, byte-compile-file-form-progn)
7618 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
7619 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
7622 2000-05-26 Kenichi Handa <handa@etl.go.jp>
7624 * international/fontset.el: Set family names of non-latin charsets
7625 in default fontset to "*".
7627 * international/mule-diag.el (print-fontset): Combine family part
7628 and registry part of the fontname by "-*-" instead of "-".
7630 * international/mule-cmds.el (encode-coding-char): Make strings
7631 multibyte before calling encode-coding-string.
7633 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
7635 * derived.el: Fix keywords.
7636 (define-derived-mode): Only define if needed.
7638 * simple.el (fill-comment, comment-column, comment-start)
7639 (comment-start-skip, comment-end, comment-indent-function)
7640 (block-comment-start, block-comment-end, indent-for-comment)
7641 (set-comment-column, kill-comment, comment-padding, comment-region)
7642 (comment-multi-line, indent-new-comment-line): Remove.
7644 * bindings.el (esc-map): Change ; to comment-dwim and use the new
7645 function names for comment operations.
7647 * newcomment.el: Add abundant autoload cookies.
7648 (comment-style): Don't depend on runtime data at compile-time.
7649 (comment-indent-hook): Remove.
7650 (comment-indent): Check if comment-indent-hook is bound.
7651 (comment-region): Docstring fix.
7653 2000-05-25 Dave Love <fx@gnu.org>
7655 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
7656 byte-code-function-p.
7658 * mail/rmailsum.el: Add provide.
7660 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
7662 * smerge-mode.el (smerge-diff-switches): Don't use list* in
7665 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
7667 * ediff-diff.el (ediff-exec-process): delete --binary option from
7668 non-buffer ediff jobs.
7670 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7672 * hilit-chg.el (highlight-changes-mode): Ask about color or
7673 grayscale support, not about window-system.
7675 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
7677 (ffap-highlight): Always default to t.
7679 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
7680 display-popup-menus-p instead of looking at window-system.
7682 * disp-table.el (standard-display-g1, standard-display-graphic):
7683 Only refuse to use string glyphs on X and MS-Windows.
7685 * avoid.el: Remove window-system from commentary, suggest to use
7686 display-*-p instead.
7688 * apropos.el (apropos-print): Use display-mouse-p instead of
7691 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7693 * international/codepage.el (cp-decoding-vector-for-codepage):
7694 Fill up unsupported characters with their own codes. From Kenichi
7697 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7699 * international/mule-diag.el (describe-char-after): Use
7700 display-graphic-p instead of window-system, so that this function
7703 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7705 * international/codepage.el (cp-make-coding-systems-for-codepage):
7706 Remove the eight-bit-graphic and eight-bit-control charsets from
7707 the list of charsets which we convert into `?'.
7709 2000-05-25 Kenichi Handa <handa@etl.go.jp>
7711 * international/mule-conf.el: Specify CHARSET-ID explicitely for
7713 (mule-unicode-0100-24ff, japanese-jisx0213-1,
7714 japanese-jisx0213-2): New charsets.
7716 * international/fontset.el: Setup default fontset for new charsets.
7718 2000-05-24 Dave Love <fx@gnu.org>
7720 * info.el (Info-find-node-2): Restructure [following "Vadim
7721 S. Solomin" <sovs@uic.nnov.ru>].
7723 * icomplete.el: Fix header for Finder.
7725 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
7727 * rmailout.el (rmail-output-to-rmail-file): Added optional param
7730 * rmail.el (rmail-automatic-folder-directives): New user variable.
7731 (rmail-show-message): Add call to `rmail-auto-file' during
7733 (rmail-auto-file): New function.
7735 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
7737 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
7739 (ediff-test-utility,ediff-diff-mandatory-option)
7740 (ediff-reset-diff-options): Utilities for proper initialization of
7741 ediff-diff-options and ediff-diff3-options on Windows.
7743 * ediff-init.el (ediff-merge-filename-prefix): New customizable
7746 * ediff-mult.el (ediff-filegroup-action): Use
7747 ediff-merge-filename-prefix.
7749 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
7751 * viper-ex.el (ex-write): Set selective display to nil.
7753 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
7755 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
7756 aliases for hebrew-iso-8bit.
7758 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
7760 * woman.el: New version from Francis J. Wright
7761 <F.J.Wright@Maths.QMW.ac.uk>.
7762 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
7763 names in environment variables regardless of the path separator.
7764 (woman-topic-all-completions-1): Don't call file-name-directory-p
7765 on all files, since woman-file-regexp already filters out any
7768 2000-05-24 Kenichi Handa <handa@etl.go.jp>
7770 * international/quail.el (quail-start-translation): Don't change
7771 modified-p of the current buffer.
7772 (quail-start-conversion): Likewise.
7774 * international/kkc.el (kkc-region): Don't change modified-p of
7777 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
7779 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
7781 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
7783 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
7784 (speedbar-insert-button): Invisible text property fix.
7785 (speedbar-directory-plus): Renamed from speedbar-directory-+
7786 (speedbar-directory-minus): Renamed from speedbar-directory--
7787 (speedbar-page-plus): Renamed from speedbar-file-+
7788 (speedbar-page-minus): Renamed from speedbar-file--
7789 (speedbar-page): Renamed from speedbar-file-
7790 (speedbar-tag): Renamed from speedbar-tag-
7791 (speedbar-tag-plus): Renamed from speedbar-tag-+
7792 (speedbar-tag-minus): Renamed from speedbar-tag--
7793 (speedbar-expand-image-button-alist): Use above renames.
7795 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
7796 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
7797 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
7798 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
7799 * sb-pg.xpm: Renamed from sb-file.xpm
7800 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
7801 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
7803 2000-05-24 Kenichi Handa <handa@etl.go.jp>
7805 * international/quail.el (quail-show-guidance-buf): Set
7806 current-input-method of the guidance buffer to the name of the
7807 curren input method.
7809 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
7811 * progmodes/compile.el (compile-internal): Style typo.
7813 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
7814 quote vars and functions in the docstring.
7816 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
7818 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
7819 Don't quote lambdas.
7821 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
7823 2000-05-23 Gerd Moellmann <gerd@gnu.org>
7825 * startup.el (command-line): Determine source file of compiled
7826 user init file differently. Warn if compiled user init file
7827 is older than its source file.
7829 * ffap.el (ffap-url-regexp): Add `https'.
7831 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
7833 * files.el (make-backup-file-name-1): Replace slashes with `!'
7834 rather than `|' (which is not allowed on Windows). Replace the
7835 drive letters with a string "drive_X".
7837 2000-05-23 Gerd Moellmann <gerd@gnu.org>
7839 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
7841 * files.el (interpreter-mode-alist): Add `bash2'.
7843 2000-05-22 Dave Love <fx@gnu.org>
7845 * loadhist.el (feature-symbols, file-provides, file-requires): Use
7847 (feature-file): Avoid calling symbol-name. Doc fix.
7848 (file-set-intersect, file-dependents): Use dolist, not mapcar.
7849 (loadhist-hook-functions): Add mouse-position-function.
7850 (unload-feature): Change uses of mapcar.
7852 * files.el (parse-colon-path): Doc fix.
7853 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
7854 (set-auto-mode): Use mapc.
7856 * complete.el (PC-look-for-include-file): Use :alnum: character
7858 (partial-completion-mode): Add autoload cookie.
7860 2000-05-22 Sam Steingold <sds@gnu.org>
7862 * info.el (Info-fontify-node): Fixed the call to
7863 `add-text-properties' (bug introduced on 2000-05-18).
7865 2000-05-22 Dave Love <fx@gnu.org>
7867 * bindings.el: Remove debug-ignored-errors set in other files.
7869 * progmodes/etags.el: Add to debug-ignored-errors.
7870 (visit-tags-table-buffer): Clear out buffers holding old tables
7871 when making a new list.
7872 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
7875 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
7877 (cmpl-string-case-type): Use character classes.
7880 * textmodes/ispell.el:
7883 * progmodes/compile.el: Add to debug-ignored-errors.
7885 * dabbrev.el: Add to debug-ignored-errors.
7886 (dabbrev-completion): Use mapc.
7888 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
7890 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
7891 (woman-mapcan, woman-parse-man.conf)
7892 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
7893 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
7894 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
7896 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
7897 (woman-manpath): Call woman-parse-man.conf.
7898 (woman-emulation): New defcustom, defaults to nroff.
7899 (woman-font-support): New defconst.
7900 (woman-use-symbol-font): New defcustom.
7901 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
7903 Many functions: Doc fix.
7905 2000-05-22 Kenichi Handa <handa@etl.go.jp>
7907 * international/quail.el (quail-simple-translation-keymap): Map
7908 128..255 to quail-self-insert-command.
7909 (quail-keyboard-layout-alist): Add definition for "pc102-de".
7911 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
7913 * help.el (help-manyarg-func-alist): Typo.
7915 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
7916 intervals which makes it heaps simpler.
7918 * newcomment.el (comment-region-internal): Go back to BEG after quoting
7919 the nested comment markers.
7921 * subr.el (remove-hook): Don't turn the hook's value into a list.
7923 2000-05-21 Dave Love <fx@gnu.org>
7925 * edmacro.el (edmacro-parse-keys): Return vector if any elements
7926 are invalid characters.
7928 * international/mule-util.el (detect-coding-with-priority): Use
7929 mapc. Remove redundant lambda.
7931 * international/mule-diag.el (list-non-iso-charset-chars)
7932 (describe-fontset): Remove redundant lambda.
7934 * emulation/crisp.el (brief-mode): New alias.
7936 * emacs-lisp/ring.el (ring-elements): New function.
7938 * emacs-lisp/easymenu.el (easy-menu-create-menu)
7939 (easy-menu-do-add-item): Use keywordp.
7941 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
7943 * replace.el: Doc and error message fixes.
7944 (replace-highlight): Use facep, not internal-find-face.
7946 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
7948 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
7950 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
7951 (log-edit-insert-changelog): Drop `:' as well.
7953 * log-view.el: Fix file description.
7954 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
7956 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
7957 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
7959 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
7960 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
7961 Print a status message if the toggle is called interactively.
7962 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
7963 for global minor modes and use `defcustom' for them.
7965 (easy-mmode-define-derived-mode): Remove.
7966 (define-derived-mode): Fancier default docstring.
7967 (easy-mmode-define-navigation): Signal an error rather than (ding).
7969 * newcomment.el (comment-styles): New `box-multi'.
7970 (comment-normalize-vars): Better default for comment-continue to
7971 avoid whitespace-only continuations.
7972 (comment-search-forward): Always move even in the no-syntax case.
7973 (comment-padright): Only obey N if it's only obeyed for padleft.
7974 (comment-make-extra-lines): Better handling of empty continuations.
7975 Use `=' for the filler if comment-start has only one character.
7976 (uncomment-region): Try handling the special `=' filler.
7977 (comment-region): Allow LINES even if MULTI is nil.
7978 (comment-box): Choose box style based on comment-style.
7980 2000-05-20 Kenichi Handa <handa@etl.go.jp>
7982 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
7983 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
7985 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
7987 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
7988 and insert, not subst-char-in-region.
7990 * international/mule-diag.el (list-character-sets-1): Handle
7991 charsets eight-bit-control and eight-bit-graphic.
7992 (list-iso-charset-chars): Likewise.
7993 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
7994 charactes as is. Use indent-to to align characters.
7996 * international/mule-cmds.el (find-multibyte-characters): Never
7997 exclude charsets eight-bit-control and eight-bit-graphic.
7999 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
8001 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
8002 Don't quote lambdas.
8004 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
8006 2000-05-19 Gerd Moellmann <gerd@gnu.org>
8008 * gud.el (gud-jdb-directories): Doc fix.
8010 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
8012 * newcomment.el: New file.
8014 2000-05-19 Gerd Moellmann <gerd@gnu.org>
8016 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
8018 2000-05-18 Andreas Schwab <schwab@suse.de>
8020 * dired.el (dired-between-files): Also skip lines beginning with
8023 2000-05-18 Gerd Moellmann <gerd@gnu.org>
8025 * msb.el (msb-menu-cond): Add choice `user'.
8027 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8029 * ps-print.el: Compatibility, customization and doc fix.
8030 (ps-printer-name-option): Replace defconst by defvar.
8031 (ps-postscript-code-directory): XEmacs compatibility.
8032 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
8034 (ps-user-defined-prologue, ps-print-prologue-header)
8035 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
8036 compatibility and code fix.
8037 (ps-print-background-image, ps-print-background-text):
8039 (ps-line-number-start, ps-n-up-on): New vars.
8041 2000-05-18 Espen Skoglund <esk@ira.uka.de>
8043 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
8044 the indent-comment function to just return the appropriate indent.
8046 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
8048 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
8049 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
8050 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
8052 2000-05-18 Dave Love <fx@gnu.org>
8054 * info.el (Info-fontify-node): Add intangible property as well as
8057 * calendar/appt.el (appt-make-list): Match all lines of entry.
8058 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
8060 2000-05-18 Kenichi Handa <handa@etl.go.jp>
8062 * international/mule-diag.el (describe-char-after): Call
8063 internal-char-font, not char-font. If internal-char-font returns
8064 nil, display "-- none --".
8066 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
8068 * image.el (image-type-available-p): Don't reference image-types
8071 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
8073 * autoarg.el (autoarg-mode): Typo in the :set argument.
8075 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
8077 * startup.el (command-line-1): Don't signal an error if the
8078 directory for auto-save-list files does not yet exist.
8080 2000-05-17 Kenichi Handa <handa@etl.go.jp>
8082 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
8084 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
8086 * subr.el (remove-hook): `setq' hook-value, not `set'.
8088 2000-05-16 Sam Steingold <sds@gnu.org>
8090 * info.el (debug-ignored-errors): More errors to ignore.
8092 2000-05-16 Dave Love <fx@gnu.org>
8094 * cus-edit.el: Don't require cl or easymenu.
8095 (custom-variable-prompt): Test standard-value property, not
8098 2000-05-16 Sam Steingold <sds@gnu.org>
8100 * subr.el (add-hook): `setq' hook-value, not `set'.
8102 2000-05-16 Gerd Moellmann <gerd@gnu.org>
8104 * startup.el (command-line-1): Mention the FAQ in the startup
8107 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
8109 * progmodes/compile.el (compilation-parse-errors): Collect
8110 `nomessage' regexps last.
8112 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
8114 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
8115 to the function name.
8117 2000-05-15 Dave Love <fx@gnu.org>
8119 * speedbar.el (speedbar-recenter): Typo.
8120 (speedbar-expand-line): Make arg optional.
8121 (speedbar-mode): Avoid a compiler warning.
8123 2000-05-15 Gerd Moellmann <gerd@gnu.org>
8125 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
8126 user-specified option string is empty.
8128 * mouse.el (mouse-yank-at-click): Doc fix.
8130 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
8132 * term/internal.el (IT-character-translations): More updates of
8133 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
8136 2000-05-15 Gerd Moellmann <gerd@gnu.org>
8138 * env.el (getenv): New function, interactively callable.
8139 (setenv, getenv): Remove autoload cookies.
8141 * loadup.el: Load `env'.
8143 * progmodes/f90.el: Change author's mail address.
8145 2000-05-14 Dave Love <fx@gnu.org>
8147 * mail/rmail.el (rmail-show-message-hook): Customize and offer
8148 goto-addr as an option.
8150 * help.el (help-xref-stack): Doc fix.
8151 (help-xref-following): New variable.
8152 (help-make-xrefs): Use it.
8153 (help-xref-go-back): Use position information from stack element.
8154 (help-follow): Make position in stack element a pair. Use
8155 help-xref-following.
8157 * autoarg.el: New file.
8159 * faces.el: Declare more functions obsolete.
8161 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
8162 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
8163 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
8164 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
8165 Remove all the setup-...-environment functions.
8167 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
8169 * speedbar.el: Updated the commentary section. xemacs20p now uses
8170 >= when detecting. Require `defimage' safely.
8171 (speedbar-easymenu-definition-base): Add toggle for images.
8172 (speedbar-easymenu-definition-special): Add flush cache & expand.
8173 (speedbar-visiting-tag-hook): Set new defaults. Added options.
8174 (speedbar-reconfigure-keymaps-hook): New variable.
8175 (speedbar-frame-parameters): Updated documentation.
8176 (speedbar-use-imenu-flag): Updated custom tag
8177 (speedbar-dynamic-tags-function-list): New variable.
8178 (speedbar-tag-hierarchy-method): Updated doc & custom.
8179 (speedbar-indentation-width, speedbar-indentation-width) New
8181 (speedbar-hide-button-brackets-flag): Customizable.
8182 (speedbar-vc-indicator): Doc update.
8183 (speedbar-ignored-path-expressions): Updated default value.
8184 (speedbar-supported-extension-expressions): Updated default value.
8185 (speedbar-syntax-table): Remove {} paren status.
8186 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
8187 as "+". Added overlay aliases.
8188 (speedbar-mode): Use `speedbar-mode-line-update' instead of
8189 `force-mode-line-update'.
8190 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
8191 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
8193 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
8194 (speedbar-item-info-tag-helper): Revamped to handle a wider range
8195 of arbitrary text, and new helper functions.
8196 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
8198 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
8199 (speedbar-directory-buttons): Update path search/expansion.
8200 (speedbar-make-tag-line): Pay attention to
8201 `speedbar-indentation-width'. Use more care w/ invisible
8203 (speedbar-change-expand-button-char): Call
8204 `speedbar-insert-image-button-maybe'.
8205 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
8206 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
8207 (speedbar-trim-words-tag-hierarchy)
8208 (speedbar-simple-group-tag-hierarchy): New functions
8209 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
8210 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
8212 (speedbar-mouse-set-point): New function
8213 (speedbar-power-click): Updated documentation.
8214 (speedbar-line-token, speedbar-goto-this-file): Handle more types
8216 (speedbar-expand-line, speedbar-contract-line): Make more robust
8218 (speedbar-expand-line): Takes universal argument to flush the
8220 (speedbar-flush-expand-line): New function.
8221 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
8222 Use new generator insertion method.
8223 (speedbar-fetch-dynamic-tags): New function.
8224 (speedbar-fetch-dynamic-imenu): Removed code now handled in
8225 `speedbar-fetch-dynamic-imenu'.
8226 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
8227 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
8228 "Revert Buffer" menu items.
8229 (speedbar-buffer-buttons-engine): Be smarter when creating a
8230 filename tag (for expansion purposes.).
8231 (speedbar-highlight-one-tag-line,
8232 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
8233 (speedbar-recenter): New functions.
8234 (defimage-speedbar): Image loading abstraction.
8235 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
8236 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
8237 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
8238 (speedbar-tag-type, speedbar-tag-mail): New images.
8239 (speedbar-expand-image-button-alist): New variable.
8240 (speedbar-insert-image-button-maybe): Insert an image over some
8243 2000-05-13 Kenichi Handa <handa@etl.go.jp>
8245 * international/mule-cmds.el (encode-coding-char): An ASCII
8246 character is always encodable.
8248 * international/mule-conf.el: Add more information in descriptions
8251 * international/mule-diag.el (describe-char-after): New function.
8252 (describe-font-internal): Adjusted for the change of font-info.
8253 (describe-font): Likewise.
8254 (print-fontset): Rewritten for the new fontset implementation.
8255 (describe-fontset): Include fontset alias names in completion.
8256 (list-fontsets): Adjusted for the change of print-fontset.
8258 * simple.el (what-cursor-position): If DETAIL is non-nil, call
8259 describe-char-after instead of displaying the detail in the echo
8261 (syntax-code-table): Format changed.
8262 (string-to-syntax): Adjusted for the above change.
8264 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
8266 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
8268 2000-05-12 Dave Love <fx@gnu.org>
8270 * calendar/todo-mode.el: Remove some compatibility stuff and CL
8271 dependence. Use line-{beginning,end}-position, not
8272 point-at{b,e}ol. Some doc fixes.
8273 (todo-position): New function. Fix callers of position to use it.
8274 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
8276 2000-05-12 Gerd Moellmann <gerd@gnu.org>
8278 * time.el (display-time-mail-icon): Use `:ascent center'.
8280 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
8281 handling FTP security extensions.
8283 2000-05-11 Dave Love <fx@gnu.org>
8285 * calendar/todo-mode.el: New file.
8287 2000-05-11 Gerd Moellmann <gerd@gnu.org>
8289 * comint.el (comint-read-input-ring): Move reference to
8290 comint-input-ring-size outside of the save-excursion. It was
8291 causing the default value to be the only one ever seen.
8293 * font-lock.el: Update copyright. Remove Simon Marshall's email
8294 address on request from him.
8296 * subr.el (substitute-key-definition): Add comment describing
8297 the meaning of PREFIX.
8299 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
8301 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
8303 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
8304 (add-minor-mode): Don't make the variable buffer-local and add a
8305 reference to define-minor-mode in the docstring.
8307 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
8308 HEADER/FOOTER and fix bug with trailing empty directory.
8309 (cvs-append-to-ignore): Use vc-editable-p if available.
8310 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
8311 (vc-do-command): Tweak advice to handle the new VC.
8313 * log-view.el (log-view-goto-rev): New function for the new VC.
8314 (log-view-minor-wrap): Use mark-active.
8316 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
8317 (log-edit-changelog-full-paragraphs): New var.
8318 (log-edit-insert-changelog): Remove a lonely leading `* file'.
8319 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
8320 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
8321 (log-edit-changelog-ours-p, log-edit-changelog-entries)
8322 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
8323 Replace the `cvs' prefix with `log-edit'.
8325 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
8327 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
8328 (diff-font-lock-defaults): Explicitly turn off multiline.
8329 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
8330 (diff-ediff-patch): Fix call to ediff-patch-file.
8331 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
8334 * frame.el (automatic-hscrolling): Typo.
8336 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
8338 2000-05-09 Sam Steingold <sds@goems.com>
8340 * apropos.el (apropos-print): use `describe-face' instead of
8341 `customize-face-other-window'.
8343 2000-05-09 Dave Love <fx@gnu.org>
8345 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
8347 * help.el (describe-variable): Have customize button pop the
8348 help-xref stack when invoked.
8349 (help-xref-symbol-regexp): Add `face'.
8350 (help-make-xrefs): Check for quoted face names and adapt regexp
8351 submatch numbers to cope.
8352 (help-xref-interned): Maybe insert face doc too. Separate
8353 sections with a line of hyphens.
8355 * faces.el: Some doc fixes. Declare some functions obsolete.
8356 (describe-face): Add customize button. Return the help
8359 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
8361 * term/internal.el (IT-character-translations): Fix last change.
8363 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
8365 * woman.el: New file
8366 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
8368 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
8370 * term/internal.el (IT-character-translations): Update ASCII
8371 simulations for greek-iso8859-7, add latin-iso8859-14 and
8374 * international/mule-cmds.el (set-language-info-alist): Call
8375 define-prefix-command with 3 arguments, to make the map suitable
8378 2000-05-07 Dave Love <fx@gnu.org>
8380 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
8382 2000-05-05 Dave Love <fx@gnu.org>
8384 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
8385 list in doc string. Don't quote keyword symbols.
8386 * emacs-lisp/cl.el: Likewise
8387 * emacs-lisp/cl-seq.el: Likewise
8389 2000-05-05 Gerd Moellmann <gerd@gnu.org>
8391 * abbrev.el (abbrev-mode): Make ARG optional.
8393 2000-05-04 Gerd Moellmann <gerd@gnu.org>
8395 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
8397 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
8399 * subr.el (substitute-key-definition): Clarify documentation.
8401 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
8403 * glasses.el (glasses-convert-to-unreadable): Use
8404 `glasses-separator' instead of the hard-wired "_".
8405 (glasses-mode): Call `glasses-make-unreadable' only in a single
8408 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
8410 * term/internal.el (cjk-codepages-alist): Add associations for
8411 Chinese and Korean codepages. Remove FIXME comment.
8413 2000-05-03 Dave Love <fx@gnu.org>
8415 * time.el (display-time-mail-face, display-time-use-mail-icon):
8417 (display-time-mail-icon): New variable.
8418 (display-time-string-forms): Use the above. Fix the local-map.
8420 2000-05-03 Gerd Moellmann <gerd@gnu.org>
8422 * replace.el (query-replace-map): Add binding for `E'.
8423 (query-replace-help): Extend help text.
8424 (perform-replace): Allow editing the replacement string.
8426 * make-mode.el (makefile-mode-abbrev-table): New variable.
8427 (makefile-mode): Set local abbrev table to
8428 makefile-mode-abbrev-table.
8429 (makefile-font-lock-keywords): Fontify includes and conditionals.
8431 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
8434 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
8435 mail-interactive-insert-alias.
8436 (mail-abbrev-complete-alias): New command.
8437 (mail-mode-map): Bind it to `M-TAB'.
8439 2000-05-03 Kenichi Handa <handa@etl.go.jp>
8441 * language/lao-util.el (lao-compose-region): New function.
8443 2000-05-02 Gerd Moellmann <gerd@gnu.org>
8445 * files.el (recover-session): Make directories as necessary
8446 if they don't exist yet.
8448 * calendar/cal-french.el
8449 (french-calendar-multibyte-special-days-array)
8450 (french-calendar-special-days-array): Change French text.
8451 (calendar-french-date-string): Change output.
8452 (calendar-goto-french-date): Likewise.
8454 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
8456 * wid-edit.el (widget-default-active): Obey `:always-active'.
8457 (widget-documentation-string-value-create): Set `:always-active'.
8459 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
8461 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
8462 default prefix to `~/_emacs.d/auto-save.list/_s'.
8463 (normal-top-level): Create the directory for auto-save files, if
8464 it doesn't already exist (in the ms-dos case only).
8466 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
8468 * international/mule-cmds.el (set-language-environment): Don't
8469 concat an integer (dos-codepage), use format instead.
8471 2000-05-02 Dave Love <fx@gnu.org>
8473 * help.el (help-xref-on-pp): Check for constant symbols.
8475 2000-04-29 Gerd Moellmann <gerd@gnu.org>
8477 * startup.el (normal-top-level): Put a condition-case around
8478 the code loading subdirs.el.
8480 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8482 * ps-print.el: Upside-down and face background color printing,
8483 line number step, doc fix.
8484 (ps-print-version): New version number (5.2).
8485 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
8486 (ps-face-attribute-list, ps-plot-with-face): Code fix.
8487 (ps-spool-config): Var fix.
8488 (ps-printer-name-option): Const fix.
8489 (ps-print-upside-down, ps-use-face-background)
8490 (ps-line-number-step): New vars.
8491 (ps-window-system, ps-lp-system): New consts.
8492 (ps-face-background): New fun.
8494 2000-04-28 Richard Stallman <rms@gnu.org>
8496 * files.el (make-auto-save-file-name):
8497 Apply auto-save-file-name-transforms to visited file name
8498 before generating auto save file name.
8499 (auto-save-file-name-transforms): New variable.
8501 * files.el (backup-enable-predicate):
8502 Correctly test for a file under a temporary directory.
8504 2000-04-28 Gerd Moellmann <gerd@gnu.org>
8506 * subr.el (add-minor-mode): Rewritten.
8508 2000-04-28 Kenichi Handa <handa@etl.go.jp>
8510 * mail/sendmail.el (sendmail-send-it): Set
8511 buffer-file-coding-system to the selected coding system for MIME
8514 2000-04-27 Gerd Moellmann <gerd@gnu.org>
8516 * dired.el (dired-move-to-filename-regexp): Allow format where
8517 YYYY is followed by two spaces.
8519 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
8520 in the second character class of the regexp.
8522 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
8525 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
8528 * subr.el (add-minor-mode): Use `set' instead of `setq'.
8530 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
8533 2000-04-27 Sen Nagata <sen@eccosys.com>
8535 * emacs-lisp/crm.el (crm-completion-table): New variable.
8536 (crm-collection-fn, crm-test-completion)
8537 (completing-read-multiple): Use it.
8539 2000-04-27 Dave Love <fx@gnu.org>
8541 * help.el (locate-library): Use mapc.
8542 (help-manyarg-func-alist): Add call-process-region.
8544 2000-04-26 Gerd Moellmann <gerd@gnu.org>
8546 * subr.el (add-minor-mode): Make argument MAP optional.
8548 * desktop.el (desktop-save): Save list of minor modes.
8549 (desktop-create-buffer): Restore minor modes.
8550 (desktop-minor-mode-table): New user-option.
8552 * subr.el (add-minor-mode): New function.
8554 * image.el (find-image): New function.
8555 (defimage): Rewritten to find image at load time.
8557 * startup.el (normal-top-level-add-to-load-path): Handle
8558 case that the default directory is not in load-path.
8560 * help.el: Old patch from Stefan Monnier.
8561 (help-xref-on-pp): New function.
8562 (describe-variable): Use it to display xrefs in a symbol's value.
8564 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
8566 * cus-edit.el (custom-face): Fix parenthesis.
8568 2000-04-26 Kenichi Handa <handa@etl.go.jp>
8570 * mail/rmail.el (rmail-expunge): When there are no deleted
8571 messages, do nothing.
8573 2000-04-26 Dave Love <fx@gnu.org>
8575 * international/mule-cmds.el (locale-translation-file-name):
8577 (set-locale-environment): Set it here (at runtime).
8579 2000-04-25 Gerd Moellmann <gerd@gnu.org>
8581 * replace.el (perform-replace): Add parameters START and END. Use
8582 them instead of the check for a region in Transient Mark mode.
8583 (query-replace-read-args): Return two more list elements for the
8584 start and end of the region in Transient Mark mode.
8585 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8586 (map-query-replace-regexp, replace-string, replace-regexp): Add
8587 optional last arguments START and END and pass them to
8590 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
8591 form with additional arguments for perform-replace.
8593 * progmodes/etags.el (tags-query-replace): Add parameters START
8594 and END. Construct a form with additional arguments for
8597 * simple.el (shell-command): Set default directory for "*Shell
8598 Command Output" buffer.
8600 * language/european.el (iso-latin-4): Fix typo.
8602 * emacs-lisp/crm.el: New file.
8604 2000-04-24 Dave Love <fx@gnu.org>
8606 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
8607 (Custom-reset-saved, Custom-reset-standard)
8608 (custom-group-value-create, custom-group-set, custom-group-save)
8609 (custom-group-reset-current, custom-group-reset-saved)
8610 (custom-group-reset-standard): Use mapc.
8611 (custom-buffer-create-internal): Disable undo when creating items.
8613 (custom-face): Avoid redundant lambda.
8615 2000-04-24 Gerd Moellmann <gerd@gnu.org>
8617 * startup.el (auto-save-list-file-prefix): Set default to
8618 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
8620 2000-04-24 Sam Steingold <sds@gnu.org>
8622 * time-stamp.el (time-stamp-string-preprocess): Always convert
8623 `field-result' to a string.
8625 2000-04-24 Gerd Moellmann <gerd@gnu.org>
8627 * frame.el (scrolling): New group.
8628 (automatic-hscrolling): New user-option.
8630 * startup.el (command-line-x-option-alist): Add `-lsp' and
8633 2000-04-19 Dave Love <fx@gnu.org>
8635 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
8636 (cl-mapc): Rename from mapc. Fix the funcall.
8638 2000-04-19 Gerd Moellmann <gerd@gnu.org>
8640 * simple.el (clone-indirect-buffer-other-window): New command.
8641 (clone-indirect-buffer): Add optional arg NORECROD.
8642 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
8644 * help.el (resize-temp-buffer-window): Use count-screen-lines.
8646 * window.el (count-screen-lines): New function.
8647 (shrink-window-if-larger-than-buffer): Use count-screen-lines
8648 instead of window-buffer-height.
8650 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
8651 non-existing variable comint-input-sentinel.
8652 (inferior-lisp-args-to-list): Removed.
8653 (inferior-lisp): Use split-string instead of
8654 inferior-lisp-args-to-list.
8656 * hexl.el (hexl-insert-hex-string): New command.
8658 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
8661 2000-04-18 Gerd Moellmann <gerd@gnu.org>
8663 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
8664 at the start of an existing but empty folder.
8666 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8668 * ps-mule.el: Customization fix, doc fix.
8669 (ps-multibyte-buffer): Customization fix.
8671 2000-04-17 Richard M. Stallman <rms@gnu.org>
8673 * subr.el (read-passwd): Use read-char-exclusive.
8675 2000-04-17 Gerd Moellmann <gerd@gnu.org>
8677 * textmodes/texinfo.el (texinfo-insert-@email)
8678 (texinfo-insert-@emph, texinfo-insert-@quotation)
8679 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
8680 (texinfo-mode-map): Add key bindings for them.
8682 * files.el (basic-save-buffer-2): Use a template with `$'
8683 instead of `#' for VMS.
8685 * simple.el (clone-indirect-buffer): New function.
8687 2000-04-16 Stephen Eglen <stephen@gnu.org>
8689 * iswitchb.el (iswitchb-case): New function. If the user input
8690 contains any upper-case characters, the search is made
8693 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
8695 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
8697 (texinfo-font-lock-syntactic-keywords): New var.
8698 (texinfo-font-lock-keywords): Remove comment regexp.
8699 (texinfo-insert-block): New function.
8700 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
8701 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
8702 and font-lock-defaults. Use regexp-opt for outline-regexp.
8703 (texinfo-environments): New var.
8704 (texinfo-environment-regexp): Use regexp-opt and
8705 texinfo-environments.
8707 * textmodes/ispell.el (ispell-menu-map-needed): Check that
8708 ispell-process is bound since this might be eval'd before ispell
8710 (ispell-message): Use a tiny bit less magic and a bit more hard
8711 data to figure out what kind of sc-cite-regexp to use.
8713 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
8715 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
8716 (insert-cyclic-diary-entry): Unquote the lambda.
8718 * gud.el (gud-jdb-build-source-files-list): Fix typo.
8720 * files.el (backup-enable-predicate): Unquote the lambda.
8722 * cus-edit.el (custom-face, face): Unquote the lambda.
8724 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8726 * ps-print.el: Check for line-beginning-position definition.
8728 * ps-print.el: Fix counting lines in a region.
8729 (ps-print-version): New version number (5.1.5).
8730 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
8731 (ps-printing-region): Fun code fix.
8733 2000-04-15 Gerd Moellmann <gerd@gnu.org>
8735 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
8736 to file-directory-p.
8738 2000-04-14 Gerd Moellmann <gerd@gnu.org>
8740 * gud.el (gud-jdb-build-source-files-list): Check that directory
8741 exists before calling directory-files.
8743 2000-04-13 Dave Love <fx@gnu.org>
8745 * emacs-lisp/trace.el: Change maintainer. Use new backquote
8748 * emacs-lisp/cl-specs.el: Remove when, unless.
8750 * emacs-lisp/cl-extra.el: Don't quote keywords.
8751 (cl-old-mapc): New variable.
8753 (cl-map-intervals): Use with-current-buffer. Don't check for
8754 next-property-change.
8755 (cl-map-overlays): Use with-current-buffer.
8757 (copy-tree, remprop): Define unconditionally.
8759 * emacs-lisp/cl-compat.el (keywordp): Remove.
8761 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
8763 (edebug-spec): Enable keywordp.
8765 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
8768 * cus-start.el: Use keywordp.
8770 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8772 * diary-lib.el (include-other-diary-files): Fix the fix of
8773 2000-02-18 by doing a save-excursion.
8775 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8777 * ps-print.el: Customization fix, doc fix.
8778 (ps-print-version): New version number (5.1.4).
8779 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
8780 (ps-print-preprint): Adjust code.
8781 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
8782 (ps-print-prologue-header, ps-print-control-characters)
8783 (ps-spool-config): Customization fix.
8785 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
8787 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
8788 converted to the new menu-item format, names silightly changed,
8791 Support for spelling without async subprocesses:
8793 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
8794 (ispell-session-buffer): New variables.
8795 (ispell-start-process, ispell-process-status,
8796 ispell-accept-output, ispell-send-string): New functions, for
8797 Ispell invocation when async subprocesses aren't supported.
8798 (ispell-word, ispell-pdict-save, ispell-command-loop,
8799 ispell-process-line, ispell-buffer-local-parsing): Replace calls
8800 to process-send-string with calls to ispell-send-string, and
8801 accept-process-output with ispell-accept-output.
8802 (ispell-init-process): Call ispell-process-status instead of
8803 process-status with.
8804 (ispell-init-process): Call ispell-start-process. Call
8805 ispell-accept-output and ispell-send-string. Don't call
8806 process-kill-without-query and kill-process if they are unbound.
8807 (ispell-async-processp): New function.
8809 2000-04-12 Dave Love <fx@gnu.org>
8811 * info.el: Add debug-ignored-errors.
8812 (Info-mode-menu): Add some items.
8813 (Info-directory): Add autoload cookie.
8815 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
8816 Modify `truncate-lines'. Make `describe-language-environment'
8817 always visible and add help. Modify `describe-key' help. Invoke
8818 Info-directory from `info'. New entry `emacs-manual'.
8820 2000-04-10 Gerd Moellmann <gerd@gnu.org>
8822 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
8823 propertized-buffer-identification.
8824 (ebrowse-update-member-buffer-mode-line): Likewise.
8825 (ebrowse--mode-strings): Removed.
8826 (ebrowse--mode-line-props): Removed.
8828 * files.el (auto-mode-alist): Add `EBROWSE'.
8830 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
8831 space before testing for end of buffer.
8832 (ebrowse-load): Removed.
8833 (ebrowse-revert-tree-buffer-from-file): Rewritten.
8834 (ebrowse-create-tree-buffer): Rewritten.
8835 (ebrowse-tree-mode): Read tree from buffer.
8837 * progmodes/ebrowse-ffh.el: Removed.
8839 2000-04-10 Kenichi Handa <handa@etl.go.jp>
8841 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
8843 2000-04-10 Gerd Moellmann <gerd@gnu.org>
8845 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
8848 2000-04-09 Dave Love <fx@gnu.org>
8850 * files.el (backup-enable-predicate): Use
8851 temporary-file-directory, small-temporary-file-directory.
8852 (make-backup-file-name-function, backup-directory-alist): New
8854 (make-backup-file-name-1): New function.
8855 (make-backup-file-name): Use it.
8856 (find-backup-file-name): Likewise. Use format for clarity, not
8858 (file-newest-backup): Use make-backup-file-name.
8860 2000-04-09 Gerd Moellmann <gerd@gnu.org>
8862 * progmodes/ebrowse-ffh.el: New file.
8864 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
8866 (ebrowse-load): Add autoload.
8868 * finder.el (finder-commentary): Add autoload cookie.
8870 * mail/rfc2368.el: Correct author's email address.
8872 * progmodes/ebrowse.el: New file.
8874 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
8876 (easy-menu-do-add-item): Ditto.
8877 (easy-menu-define): Extend doc string.
8879 * jit-lock.el (with-buffer-unmodified): Use
8880 restore-buffer-modified-p.
8881 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
8882 (jit-lock-function, jit-lock-stealth-fontify): Don't use
8883 with-buffer-unmodified.
8885 2000-04-08 Dave Love <fx@gnu.org>
8887 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
8890 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
8892 * viper-util.el (viper-put-on-search-overlay): New subroutine.
8893 (viper-flash-search-pattern): No operation when using Emacs
8894 doesn't support face.
8895 Use `viper-put-on-search-overlay'.
8897 2000-04-04 Gerd Moellmann <gerd@gnu.org>
8899 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
8902 * progmodes/make-mode.el: Some doc fixes.
8903 (makefile-mode-abbrev-table): New variable.
8904 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
8905 (makefile-font-lock-keywords): Fontify includes and conditionals.
8906 (toplevel): Require `dabbrev' and `add-log' when compiling.
8908 * replace.el (perform-replace): Don't move forward one char
8909 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
8910 to do that because it leaves point 1 position after the last
8911 replacement, after everything has been replaced.
8913 * jit-lock.el (with-buffer-unmodified): New macro.
8914 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
8916 (jit-lock-function-1): Extracted from jit-lock-function; not
8917 preserving buffer's modified state.
8918 (jit-lock-function, jit-lock-stealth-fontify): Call
8919 jit-lock-function-1.
8921 * mail/rfc2368.el: Remove supernumerary copyright line.
8923 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
8925 * glasses.el: Provide facilities for inserting space before left
8926 parentheses and uncapitalization of identifiers.
8927 (glasses-mode): Try to remove old overlays in all cases.
8929 2000-04-03 Gerd Moellmann <gerd@gnu.org>
8931 * progmodes/compile.el (compile-internal): Display the compilation
8932 buffer in a different frame, if it's already displayed there.
8934 * mail/rfc2368.el: New file.
8936 * simple.el (sendmail-user-agent-compose): Recognize a `body'
8937 header and insert its value as mail body.
8939 * subr.el (member-ignore-case): New function.
8941 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
8942 (dabbrev--find-expansion): Ignore buffers matching a regexp
8943 from dabbrev-ignored-regexps.
8945 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
8946 to extensions handled by gzip.
8948 2000-04-03 Richard M. Stallman <rms@gnu.org>
8950 * files.el (insert-directory): List the total free space
8951 along with the used space.
8953 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
8954 line is followed by one that matches CITATION-REGEXP, end the
8957 2000-04-03 Markus Rost <rost@delysid.gnu.org>
8959 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
8960 (rmail-make-basic-summary-line): Use that option.
8962 2000-04-03 Kenichi Handa <handa@etl.go.jp>
8964 * international/mule-cmds.el (encoded-string-description):
8965 Rewritten. Try pretty description for ISO 2022 escape sequences
8966 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
8967 for hexadecimal format.
8969 2000-04-01 Dave Love <fx@gnu.org>
8971 * cpp.el: Change customization group to `c' from `C'.
8973 * vcursor.el (vcursor-move): Use display-color-p.
8975 * international/mule-util.el: Provide mule-utils.
8976 (string-to-sequence): Simplify and speed up.
8978 * international/mule.el (make-coding-system): Purecopy doc-string.
8980 * international/mule-cmds.el: Various menu changes.
8981 (describe-specified-language-support): Handle `Default'.
8982 (set-language-info): Purecopy `info'.
8984 2000-03-31 Andrew Innes <andrewi@gnu.org>
8986 * vc.el (vc-backend-diff): Return the correct status if we had to
8987 retry the rcsdiff command without the --brief option.
8989 2000-03-31 Dave Love <fx@gnu.org>
8991 * help.el (help-manyarg-func-alist): Correct several omissions.
8993 * add-log.el: Don't require cl, fortran.
8994 (add-log-current-defun-function): Doc fix.
8995 (change-log-version-number-regexp-list): Remove SCCS part. Doc
8997 (change-log-version-rcs): Function deleted.
8998 (change-log-version-number-search): Doc fix. Use
8999 vc-workfile-version. Avoid CL dolist.
9000 (add-change-log-entry): Just call add-log-current-defun to get
9001 defun. Simplify somewhat.
9002 (change-log-get-method-definition-1): Likewise.
9003 (add-log-current-defun): Return nil if calling
9004 add-log-current-defun-function does so. Move Fortran stuff to
9005 fortran.el. Return string without properties.
9007 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
9008 and :alpha: char classes.
9010 * mail/supercite.el: Defvar curline when compiling.
9011 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
9012 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
9013 rather than a-zA-Z0-9 to allow non-ASCII characters.
9015 2000-03-31 Gerd Moellmann <gerd@gnu.org>
9017 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
9019 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9022 * lpr.el (print-region-1): Use -d to specify printer name for
9023 systems `usg-unix-v*, `dgux', `hpux', `irix'.
9025 2000-03-31 Dave Love <fx@gnu.org>
9027 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
9028 for function definition in symbol's function value slot first
9029 instead of first consulting byte-compile-function-environment.
9031 2000-03-31 Kenichi Handa <handa@etl.go.jp>
9033 * language/european.el ("Polish"): New language environment.
9034 (setup-polish-environment): New function.
9036 2000-03-30 Gerd Moellmann <gerd@gnu.org>
9038 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9041 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
9042 trying to `load' the symbol of an autoload instead of the file
9043 recorded in the autoload. Fix error messages.
9045 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9047 * ps-print.el: PostScript programming fix for ghostview, doc fix.
9048 (ps-print-version): New version number (5.1.3).
9049 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
9050 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
9051 (ps-generate-postscript-with-faces): Code fix.
9052 (ps-color-values): XEmacs compatibility.
9053 (ps-print-background-image, ps-print-background-text, ps-printer-name)
9054 (ps-default-fg, ps-default-bg): Adjust customization.
9055 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
9056 (ps-color-scale): Renaming old ps-color-value fun.
9057 (ps-print-headers): Replace ps-print-header group to avoid conflict
9058 with ps-print-header variable.
9059 (ps-print-miscellany): New group.
9060 (ps-format-color, ps-rgb-color): New funs.
9061 (ps-default-foreground): New var.
9062 (ps-printer-name-option): New const.
9064 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
9067 (network-connection-host, network-connection-service): New variables
9068 (network-connection-mode): New mode, derived from comint-mode
9069 (network-connection-mode-setup): New function, saves host and
9070 service information in local variables.
9073 (locate-word-at-point): Added this function
9074 (locate): Default to using locate-word-at-point as input
9077 2000-03-29 Dave Love <fx@gnu.org>
9079 * calendar/appt.el: Doc fixes.
9080 (appt-check): Convert min-to-app to a string before passing to
9081 appt-disp-window-function or concat.
9082 (appt-delete-window): Remove test for frame-root-window.
9083 (appt-select-lowest-window, appt-convert-time): Simplify.
9085 * emacs-lisp/bytecomp.el: Doc fixes.
9086 (byte-compile-file-form-autoload): Update
9087 byte-compile-function-environment.
9089 2000-03-29 Andreas Schwab <schwab@suse.de>
9091 * emacs-lisp/autoload.el: Also print defsubst doc string
9094 * dired.el (dired-insert-directory): If dired-free-space-program
9095 failed just delete its output.
9097 2000-03-29 Dave Love <fx@gnu.org>
9099 * international/iso-cvt.el: Move provide to end. Doc fixes.
9100 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
9101 (iso-iso2sgml, iso-sgml2iso): New functions.
9102 (iso-cvt-define-menu): Fix some entries and use backquote for
9105 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
9107 2000-03-28 Gerd Moellmann <gerd@gnu.org>
9109 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
9110 ISO-DATE. If non-nil, return date in ISO 8601 format.
9112 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
9114 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
9115 if it ever becomes used.
9116 (log-edit-mode-hook): Default to vc-log-mode-hook.
9117 (log-edit-mode): Fix the docstring.
9119 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
9122 2000-03-26 Dave Love <fx@gnu.org>
9124 * net/browse-url.el (browse-url): Re-fix case of
9125 browse-url-browser-function being an alist.
9126 (browse-url): Add :link to defgroup.
9128 * files.el: Doc fixes.
9129 (file-truename): Include `[' in wildcard characters.
9130 (automount-dir-prefix): Customize.
9131 (find-file-wildcards): Add :version.
9132 (find-file-noselect): Simplify a mapcar call.
9134 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
9135 compatible with inf-lisp version.
9136 (eval-defun-1): Fix custom-declare-variable case.
9138 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
9140 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
9142 2000-03-24 Gerd Moellmann <gerd@gnu.org>
9144 * Makefile (COMPILE_FIRST): New macro.
9145 (compile-files): Compile files from COMPILE_FIRST first.
9147 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
9150 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
9151 matching open parenthesis in column 0 to defun-prompt-regexp
9152 only if open-paren-in-column-0-is-defun-start is set.
9154 * sun-curs.el: Require CL at compile-time only.
9156 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
9157 instead of copy-list which is a function from CL.
9158 (msb--choose-menu, msb--mode-menu-cond)
9159 (msb--create-buffer-menu-2): Use dolist instead of mapc.
9160 (msb--init-file-alist): Use mapcar instead of mapcan.
9161 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
9162 `(' in column 0 in doc string.
9163 (msb--add-separators): Use mapcar instead of mapcan.
9165 * cus-dep.el: Require CL at compile-time only.
9167 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
9169 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
9170 (byte-compile-warnings): New warning `noruntime'.
9171 (byte-compile-constants, byte-compile-variables): Fix docstring.
9172 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
9173 execute `eval-whenc-compile's body.
9174 (byte-compile-unresolved-functions): Fix docstring.
9175 (byte-compile-eval): New function.
9176 (byte-compile-callargs-warn): Check if the function will be available
9177 at runtime (via property `byte-compile-noruntime').
9178 (byte-compile-print-syms): New function.
9179 (byte-compile-warn-about-unresolved-functions): Also warn about
9180 `noruntime' functions (and use `byte-compile-print-syms').
9181 (byte-compile-file): Capitalize the message.
9183 2000-03-24 Gerd Moellmann <gerd@gnu.org>
9185 * mail/rmail.el (rmail-confirm-expunge): New user-option.
9186 (rmail-expunge): Ask for confirmation depending on the setting
9187 of rmail-confirm-expunge.
9189 2000-03-23 Gerd Moellmann <gerd@gnu.org>
9191 * Makefile (bootstrap-clean): If $(emacs) exists, build
9192 loaddefs.el first. A loaddefs.el that's not up-to-date might
9193 cause a bootstrap failure because things don't autoload as
9196 2000-03-23 Dave Love <fx@gnu.org>
9198 * net/browse-url.el: Restore previous use of
9199 browse-url-maybe-new-window.
9201 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9203 * ps-print.el: Skip banner page fix.
9204 (ps-print-version): New version number (5.1.2).
9205 (ps-begin-file, ps-end-file, ps-generate): Code fix.
9207 2000-03-23 Dave Pearson <davep@davep.org>
9209 * net/quickurl.el Changed the type of parameter passed to the
9210 function defined by `quickurl-format-function'. Before only the
9211 text of the URL was passed. Now the whole URL structure is passed
9212 and the function is responsible for extracting the parts it
9213 requires. Changed the default of `quickurl-format-function'
9215 (quickurl-insert): Changed the `funcall' of
9216 `quickurl-format-function' to match the above change.
9217 (quickurl-list-insert): Changed the `url' case so that it makes
9218 use of `quickurl-format-function', previous to this the format was
9221 2000-03-22 Gerd Moellmann <gerd@gnu.org>
9223 * startup.el: Change some spellings for the X Window System.
9225 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
9227 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
9228 up the code and the regexp and make sure the cursor is temporarily
9229 moved to the suspicious line while querying the user.
9231 2000-03-22 Jason Rumney <jasonr@gnu.org>
9233 * w32-fns.el (w32-charset-info-alist): Initialize.
9235 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9237 * ps-print.el: N-up last page fix.
9238 (ps-print-version): New version number (5.1.1).
9239 (ps-end-file, ps-end-job, ps-generate): Code fix.
9241 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
9243 * files.el (find-file-run-dired): Update docstring.
9244 (find-directory-functions): New hook.
9245 (find-file-noselect): Run find-directory-functions rather than
9246 calling dired directly.
9248 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
9250 * pcvs.el: Add a minimal leading commentary.
9251 (cvs-make-cvs-buffer): Change the header part by removing the startup
9252 message and adding a `Module' entry. Also replace the FOOTER and
9253 HEADER special fileinfos with the new support in ewoc for updating
9254 its own footer and header.
9255 (cvs-update-header): Update to use the header/footer of the ewoc.
9256 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
9257 (cvs-is-within-p): New function.
9258 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
9259 to only examine some subset of the buffers.
9261 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
9262 `format' instead of our own ad-hoc functions.
9263 Remove HEADER and FOOTER cases, now handled in the EWOC.
9264 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
9266 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
9267 output to avoid scaring the user.
9268 (cvs-parse-table): Catch message for non-up-to-date commits.
9270 * pcvs-defs.el (cvs-startup-message): Remove.
9271 (cvs-global-menu): New autoloaded menu.
9273 * pcvs-util.el (cvs-string-fill): Remove.
9275 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
9276 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
9277 PP part of it and also make it work for footers and headers.
9278 (ewoc-create): Drop POS and BUFFER arguments.
9279 Use the DLL's dummy node to store the end-of-footer position.
9280 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
9281 (ewoc-refresh): Remove unused `header' variable.
9282 (ewoc-(get|set)-hf): New functions.
9284 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
9285 log-view-*-(message|file) and use easy-mmode-define-navigation.
9286 (log-view-message-re): Match SCCS format as well.
9287 And match the revision line rather than the dashed separator line.
9288 (log-view-mode): Use the new define-derived-mode.
9289 (log-view-current-tag): Fill in with an actual implementation.
9291 * cvs-status.el (cvs-status-(prev|next)): Rename from
9292 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
9293 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
9294 to let the output "breathe" a little more (more readable).
9295 (cvs-status-mode): Use the new define-derived-mode.
9297 * smerge-mode.el (smerge-auto-leave): New function and variable.
9298 (smerge-basic-map): Rename from smerge-basic-keymap.
9299 Change the bindings for smerge-diff-*.
9300 (smerge-*-map): Use easy-mmode-defmap.
9301 (smerge-(next|prev)): Use easy-mmode-define-navigation.
9302 (smerge-keep-*): Use smerge-auto-leave.
9304 2000-03-21 Jason Rumney <jasonr@gnu.org>
9306 * cus-edit.el (custom-button-face): Use 3D look for w32.
9307 (custom-button-pressed-face): Likewise.
9309 2000-03-21 Gerd Moellmann <gerd@gnu.org>
9311 * progmodes/etags.el (tags-case-fold-search): New user-option.
9312 (tags-loop-eval): New function. Bind case-fold-search around eval
9313 depending on the value of tags-case-fold-search.
9314 (tags-loop-continue): Use tags-loop-eval.
9315 (find-tag-in-order): Bind case-fold-search depending on the value
9316 of tags-case-fold-search.
9318 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
9320 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
9321 (diff-end-of-hunk): Return the end position for use in
9322 `easy-mmode-define-navigation'.
9323 (diff-recenter): Remove.
9324 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
9325 of `easy-mmode-define-navigation'.
9326 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
9327 previous renaming) and fix to use new names.
9328 (diff-merge-strings): Use \n as separator: simpler, faster.
9329 (diff-mode): Use `define-derived-mode'.
9331 * derived.el (define-derived-mode): Don't autoload anymore.
9332 Prefer the macro-only version provided by easy-mmode.el.
9334 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
9335 `easy-mmode-define-derived-mode'.
9336 Use `combine-run-hooks'.
9337 (easy-mmode-define-navigation): New macro.
9339 * subr.el (combine-run-hooks): New function.
9341 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
9343 * term/x-win.el: Fontsets related initialization is simplified.
9345 * international/mule-diag.el (describe-font): Don't refer to
9346 global-fontset-alist, instead call font-list.
9347 (describe-fontset, list-fontsets, mule-diag): Likewise.
9348 (print-fontset): Adjusted for the change of fontset
9351 * international/fontset.el (x-charset-registries): Variable
9352 removed, instead the corresponding data is stored in the default
9354 (register-alternate-fontnames): Function removed.
9355 (resolved-ascii-font): Variable removed.
9356 (x-compose-font-name): Ignore the second argument REDOCE.
9357 (x-complement-fontset-spec): Complement only an ASCII font and
9358 element for those charsets than can use that ASCII font.
9359 (generate-fontset-menu): Don't refer to global-fontset-alist,
9360 instead call fontset-list.
9361 (uninstantiated-fontset-alist): Variable removed.
9362 (x-style-funcs-alist): Likewise.
9363 (fontset-default-styles): Likewise.
9364 (x-modify-font-name): Function removed.
9365 (create-fontset-from-fontset-spec): Ignore the argument
9367 (create-fontset-from-ascii-font): Docsting adjusted for the above
9369 (instantiate-fontset, resolve-fontset-name): Functions removed.
9370 (fontset-list): Now implemented by C code.
9372 * faces.el (read-face-font): Fix TABLE arg to completing-read.
9373 (describe-face): Include `font' attribute in the description.
9375 2000-03-21 Kenichi Handa <handa@etl.go.jp>
9377 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
9379 2000-03-20 Gerd Moellmann <gerd@gnu.org>
9381 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
9382 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
9383 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
9385 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
9386 about behavior of set-buffer-modified-p wrt redisplay.
9388 2000-03-19 Richard M. Stallman <rms@gnu.org>
9390 * view.el (view-mode-disable): Kill local binding of view-read-only.
9392 2000-03-18 Gerd Moellmann <gerd@gnu.org>
9394 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
9395 is a string, convert it to a syntax cell using string-to-syntax.
9397 * simple.el (syntax-code-table, syntax-flag-table): New variables.
9398 (string-to-syntax): New function.
9400 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
9401 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
9402 try to use passive ftp mode.
9404 2000-03-17 Gerd Moellmann <gerd@gnu.org>
9406 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
9408 * simple.el (append-to-buffer): Update point of windows after
9411 * abbrev.el (inverse-add-abbrev): Identify word by first moving
9412 forward then moving backward. Reindent.
9414 * frame.el (other-frame): Call x-focus-frame only if
9415 focus-follows-mouse is off.
9417 2000-03-17 Dave Love <fx@gnu.org>
9419 * pcvs-util.el (cvs-strings->string): Rename
9420 replace-regexps-in-string.
9422 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
9424 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
9425 regexp for labels cannot span several lines.
9427 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
9428 `(setq :<key> ':<key>)' to the macro expansion.
9430 2000-03-16 Dave Love <fx@gnu.org>
9432 * progmodes/f90.el (f90): Put custom group under `languages', not
9434 (f90-mode-hook): Customize.
9435 (f90-mode): Set add-log-current-defun-function.
9436 (f90-current-defun): New function.
9438 2000-03-16 Gerd Moellmann <gerd@gnu.org>
9440 * cus-edit.el (custom-variable-tag-face): Handle case that
9441 default face's height is not a number.
9442 (custom-face-tag-face, custom-group-tag-face-1)
9443 (custom-group-tag-face): Ditto.
9444 (custom-group-tag-face-1): Add :group.
9446 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
9448 2000-03-15 Gerd Moellmann <gerd@gnu.org>
9450 * pcvs-defs.el (toplevel): Remove autoload cookie for form
9453 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9455 * ps-print.el: PostScript user-defined prologue, PostScript error
9457 (ps-print-version): New version number (5.1).
9458 (ps-user-defined-prologue, ps-error-handler-message)
9459 (ps-print-prologue-0, ps-error-handler-alist): New vars.
9460 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
9461 (ps-insert-string): New function.
9463 2000-03-15 Kenichi Handa <handa@etl.go.jp>
9465 * international/ccl.el (ccl-compile-expression): Don't generate
9466 invalid self-assignment code.
9468 2000-03-14 Dave Love <fx@gnu.org>
9470 * subr.el (replace-regexp-in-string): Renamed from
9471 replace-regexps-in-string. Doc fix.
9473 2000-03-12 Dave Love <fx@gnu.org>
9475 * cus-edit.el: Doc fixes.
9476 (customize-set-variable, customize-save-variable): Rename args for
9478 (custom-variable-tag-face, custom-face-tag-face)
9479 (custom-group-tag-face-1, custom-group-tag-face): Modify from
9480 style which user identify as hyperlink.
9481 (hook): Don't add undefined functions to the hook.
9482 (debug-ignored-errors): Transfer message from bindings.el.
9484 2000-03-12 Gerd Moellmann <gerd@gnu.org>
9486 * recentf.el (recentf-keep-non-readable-files-p): Remove
9487 double/nested definition.
9489 2000-03-12 Dave Love <fx@gnu.org>
9491 * facemenu.el (facemenu-get-face): Use display-color-p.
9492 * enriched.el (enriched-decode-foreground): Likewise.
9493 (enriched-decode-background): Likewise.
9494 * isearch.el (isearch-highlight): Likewise.
9495 * info-look.el (info-lookup): Likewise.
9496 * simple.el (completion-setup-function): Likewise.
9498 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
9501 * bindings.el (mode-line-format): Fix line-number and
9502 column-number items. Add help-echo for the background.
9503 (mode-line-mule-info): Modify help-echo.
9505 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
9508 * files.el (load-file): Allow completion to .elc.
9510 * man.el: Doc fixes.
9511 (Man-init-defvars): Use display-color-p to set fontification.
9513 * play/hanoi.el (hanoi-internal): Don't use oddp.
9515 2000-03-12 Gerd Moellmann <gerd@gnu.org>
9517 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
9519 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
9521 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
9523 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
9526 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
9528 * font-lock.el (font-lock-keywords): Fix the doc now that
9529 regexp-opt-depth is unnecessary.
9530 (save-buffer-state): Set an edebug spec.
9531 (font-lock-fontify-anchored-keywords): Properly handle the case when
9532 the matcher goes past the limit.
9534 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
9535 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
9537 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
9538 dll.el and cookie.el (from Elib) with heavy renaming and other
9541 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
9542 Autoload the functions used.
9543 (easy-mmode-define-syntax): Fix CL typo.
9544 (easy-mmode-define-derived-mode): Improve the docstring generation.
9546 2000-03-10 Gerd Moellmann <gerd@gnu.org>
9548 * textmodes/texinfo.el (texinfo-version): Variable and function
9551 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
9553 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
9554 allow more flexibility.
9555 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
9557 (easy-mmode-defmap, easy-mmode-defsyntax)
9558 (easy-mmode-define-derived-mode): New macros.
9560 2000-03-09 Didier Verna <didier@xemacs.org>
9562 * rect.el (replace-rectangle): New function.
9564 2000-03-09 Dave Love <fx@gnu.org>
9566 * progmodes/fortran.el (fortran-comment-line-start): Define as
9568 (fortran-comment-line-start-skip): Don't match cpp stuff.
9569 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
9570 (fortran-mode-map): Remove over-eager custom-menu-create for now.
9571 (fortran-mode): Don't set fortran-comment-line-start-skip,
9572 fortran-comment-line-start here. Set comment-start,
9573 add-log-current-defun.
9574 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
9575 (fortran-current-defun): New function.
9577 2000-03-09 Gerd Moellmann <gerd@gnu.org>
9579 * emacs-lisp/re-builder.el: New file.
9581 * mouse.el (mouse-drag-region): Don't run up-event handler
9582 if hscroll has changed.
9584 * octave-mod.el (octave-font-lock-keywords): To font-lock the
9585 builtin operators, use `font-lock-builtin-face' for Emacs and
9586 `font-lock-preprocessor-face' otherwise.
9588 * font-lock.el (lisp-font-lock-keywords-1): Highlight
9589 `(defun (setf foo)' differently.
9591 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
9593 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
9594 (regexp-opt): Update comment and adapt the code the new meaning of
9595 the `paren' argument of regex-opt-group for shy-groups.
9596 (regexp-opt-depth): Handle shy groups as well as backslashed
9598 (regexp-opt-group): Turn the leading comment into a docstring.
9599 Allow `paren' to be a string (the string to use to open a group).
9600 Remove open-presuf and close-presuf. Instead of checking for `all
9601 one-char' and then later on check for `several one-char', handle
9602 both cases close together. Also apply a more generic algorithm
9603 for suffixes (the mirror image of the algorithm used for
9604 prefixes). Use shy-groups. Use nreverse rather than reverse.
9605 (regexp-opt-try-suffix): Removed.
9607 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
9608 from comint-mode-map, so we can just inherit from it. Also, move
9609 the initialization into the `defvar' since there's no docstring
9610 anyway and it's fairly short.
9611 (inferior-scheme-mode): Define it as derived-mode: the code is
9612 shorter and this way we inherit from comint-mode-map rather than
9615 * subr.el (replace-regexps-in-string): Properly handle the case
9616 where we match an empty string.
9618 * comint.el (comint-exec-1): Add the current-dir to the exec-path
9619 when the command has a directory component (such as "./testml").
9620 Also fix a typo in the comment.
9622 2000-03-08 Gerd Moellmann <gerd@gnu.org>
9624 * Makefile (compile-files): Compile files one by one because
9625 that's the only way to ensure a clean compilation environment for
9626 each individual file.
9628 * frame.el (other-frame): Call x-focus-frame.
9630 2000-03-07 Dave Love <fx@gnu.org>
9632 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
9633 :require to defcustom.
9635 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
9638 * files.el (auto-mode-alist): Add configure.in.
9640 * progmodes/autoconf.el: New file.
9642 2000-03-07 Gerd Moellmann <gerd@gnu.org>
9644 * mail/mh-e.el: Change maintainer to `none'.
9646 * recentf.el (recentf-keep-non-readable-files-p): Quote args
9647 to remove-hook and add-hook.
9649 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
9651 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
9653 (mail-send): Test mail-send-nonascii also for the new `mime' value.
9654 (sendmail-send-it): Conditionally add MIME headers specifying the
9657 2000-03-07 Dave Love <fx@gnu.org>
9659 * winner.el: Fix keywords, autoload cookies. Split
9660 eval-when-compile form to avoid compilation failure.
9662 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
9664 * international/mule.el: Modify comment about coding system
9665 property `coding-category'.
9666 (make-coding-system): New argument EOL-TYPE. Pay attention to
9667 coding-category property of PROPERTIES.
9669 * international/mule-conf.el (coding-category-utf-8,
9670 coding-category-utf-16-be, coding-category-utf-16-le): New coding
9671 categories. Include them in the argument for set-coding-priority.
9673 * international/mule-cmds.el (reset-language-environment): Include
9674 coding-category-utf-8, coding-category-utf-16-be, and
9675 coding-category-utf-16-le in the argument for set-coding-priority.
9676 (reset-language-environment): Initialize coding-category-utf-8,
9677 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
9679 2000-03-06 Karl Fogel <kfogel@red-bean.com>
9681 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
9682 code abstracted out of `bookmark-jump-noselect'. Now tries info
9683 extensions as well as compression extensions.
9684 (bookmark-jump-noselect): Use above new func.
9686 2000-03-03 Gerd Moellmann <gerd@gnu.org>
9688 * strokes.el: Change maintainer's mail address.
9690 2000-03-03 Kenichi Handa <handa@etl.go.jp>
9692 * international/mule-diag.el (list-character-sets): Make help-echo
9693 string by substitute-command-keys.
9694 (list-character-sets): Likewise.
9695 (sort-listed-character-sets): Call help-setup-xref.
9697 2000-03-02 Gerd Moellmann <gerd@gnu.org>
9699 * time.el (display-time-mail-file): Add `none' to the list of
9702 2000-03-01 Dave Love <fx@gnu.org>
9704 * help.el (help-xref-go-back): Don't try to set position.
9706 * international/mule-diag.el (list-character-sets): Call
9707 help-setup-xref. Add help-echo to xrefs.
9708 (list-character-sets-1): Add help-echo to xrefs.
9710 2000-03-02 Gerd Moellmann <gerd@gnu.org>
9712 * frame.el (blink-cursor-mode): Switch cursor on when turning
9715 * add-log.el (add-log-current-defun): Add support for
9718 * mail/rmail.el (rmail-quit-hook): New variable.
9720 2000-03-01 Dave Love <fx@gnu.org>
9722 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
9724 * help.el (help-xref-button): Add help-echo arg.
9725 (describe-function-1, describe-variable, help-make-xrefs): Use it.
9727 * faces.el (list-faces-display): Supply help-echo with
9730 * facemenu.el (list-text-properties-at): Set help-xref-stack to
9733 2000-03-01 Gerd Moellmann <gerd@gnu.org>
9735 * image.el (defimage): Look for image files in load-path.
9737 * frame.el (busy-cursor-delay-seconds): Change type to
9740 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9742 * recentf.el (recentf): Added version tag to the defgroup of
9745 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9747 * recentf.el (recentf-cleanup): Changed to remove excluded file
9749 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
9750 action to select/unselect a file.
9751 (recentf-edit-list): Code cleanup and improvement.
9752 (recentf-open-more-files-action): `recentf-open-more-files' button
9753 widget action to open a file.
9754 (recentf-open-more-files): No more use standard completion but
9756 (recentf-more-collection): Deleted.
9757 (recentf-more-history): Deleted.
9758 (recentf-setup-more-completion): Deleted.
9760 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9762 * recentf.el (recentf-mode): No more needs that Emacs is running
9763 under a window-system.
9765 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9767 * recentf.el (recentf-edit-list): New command to edit the recent
9768 list which allow the user to remove files.
9769 (recentf-edit-selected-items): New global variable, used by
9770 `recentf-edit-list' to hold the list of files to be removed from
9772 (recentf-make-menu-items): Updated to display a "Edit list..."
9773 menu item. Minor code cleanup.
9775 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9777 * recentf.el (recentf-open-more-files): New command to open files
9778 that are not displayed in the menu.
9779 (recentf-more-collection): New global variable holding the set of
9780 permissible completions used by `recentf-open-more-files'.
9781 (recentf-more-history): New global variable holding the history list
9782 used by `recentf-open-more-files' completion.
9783 (recentf-setup-more-completion): New function to setup completion for
9784 `recentf-open-more-files'.
9785 (recentf-make-menu-items): Updated to display a "More..." menu item.
9787 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9789 * recentf.el (recentf-menu-action): Doc fixed.
9791 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9793 * recentf.el (recentf-menu-filter): Doc updated.
9794 (recentf-update-menu-hook): Allow menu filters to force menu update.
9795 (recentf-make-menu-items): New menu filter handling.
9796 (recentf-make-menu-item): New helper function.
9797 (recentf-menu-elements): New menu handling function.
9798 (recentf-sort-ascending): Updated to new menu filter handling.
9799 (recentf-sort-descending): Updated to new menu filter handling.
9800 (recentf-sort-basenames-ascending): New menu filter function.
9801 (recentf-sort-basenames-descending): New menu filter function.
9802 (recentf-show-basenames): New menu filter function.
9803 (recentf-show-basenames-ascending): New menu filter function.
9804 (recentf-show-basenames-descending): New menu filter function.
9806 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9808 * diary-lib.el (list-diary-entries): Don't try to go forward at
9809 the end of the buffer.
9811 2000-02-29 Kenichi Handa <handa@etl.go.jp>
9813 * international/mule-diag.el (list-character-sets): Completely
9815 (sort-listed-character-sets): New function.
9816 (list-character-sets-1): Completely rewritten.
9817 (list-character-sets-2): New function.
9818 (non-iso-charset-alist): New variable.
9819 (decode-codepage-char): New function.
9820 (charset-history): New variable.
9821 (read-charset) (list-block-of-chars)
9822 (list-iso-charset-chars)
9823 (list-non-iso-charset-chars)
9824 (list-charset-chars): New functions.
9825 (mule-diag): Call list-character-sets-2, not
9826 list-character-sets-2.
9827 (dump-charsets): Likewise.
9829 2000-02-29 Gerd Moellmann <gerd@gnu.org>
9831 * dired-x.el (dired-filename-at-point): Add `@' to valid
9832 file name characters.
9833 (dired-filename-at-point): Handle ange-ftp file names.
9835 * frame.el (frame-notice-user-settings): Use assq-delete-all
9836 instead of assoc-delete-all.
9837 (frame-notice-user-settings): Ditto.
9839 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
9842 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
9844 * calculator.el (calculator-use-menu): New option.
9845 (calculator-initial-bindings): Changed some bindings to work as
9847 (calculator-forced-input): Removed.
9848 (calculator-restart-other-mode): New variable.
9849 (calculator-mode-map): Set up menu.
9851 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
9853 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
9856 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
9858 * viper-cmd.el (viper-envelop-ESC-key): added the option to
9859 translate all ESC key sequences.
9860 (viper-goto-mark-subr): restore markers for files for which
9862 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
9863 * viper-util.el (viper-set-replace-overlay-glyphs,
9864 viper-set-replace-overlay): always check if the replacement
9866 * viper.el (viper-vi-state-mode-list): added major modes.
9867 * ediff-wind.el: minor comment changes.
9868 * ediff.el: copyright notice date fix.
9870 2000-02-27 Jason Rumney <jasonr@gnu.org>
9872 * faces.el (face-font-family-alternatives): Add arial to helv.
9873 (mode-line, header-line, tool-bar): Same default as x for w32.
9874 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
9875 face-font-family-alternatives from working.
9876 * term/w32-win.el (mouse-set-font): Do not build fontset from
9879 2000-02-25 Sam Steingold <sds@goems.com>
9881 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
9884 2000-02-25 Richard M. Stallman <rms@gnu.org>
9886 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
9888 2000-02-25 Gerd Moellmann <gerd@gnu.org>
9890 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
9893 * frame.el (busy-cursor-delay-seconds): New option.
9895 2000-02-24 Gerd Moellmann <gerd@gnu.org>
9897 * frame.el (show-cursor-in-non-selected-windows): New option.
9899 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9901 * diary-lib.el (include-other-diary-files): Undo the selective
9902 display in any included file and don't kill it.
9904 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
9906 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
9907 bar. Menu items converted to (menu-item format, help strings
9909 [downcase, upcase]: Don't enable on MS-DOS.
9910 [symlink, symlinks]: Don't show if make-symbolic-link is not
9912 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
9914 2000-02-23 Dave Love <fx@gnu.org>
9916 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
9917 (backward-kill-word): Revert addition of * to interactive spec --
9920 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
9921 (backward-kill-sentence, kill-sentence): Likewise.
9923 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
9924 scratch buffer name.
9925 (gud-format-command): Use int-to-string in ?l case. Simplify
9928 * term/w32-win.el (internal-face-interactive): Update prompt for
9931 * mail/footnote.el (footnote): Add :version to defgroup.
9932 (footnote-section-tag-regexp): Customize.
9933 (footnote-start-tag, footnote-end-tag): New option.
9934 (footnote-latin-regexp): New variable.
9935 (Footnote-latin): New function.
9936 (footnote-style-alist): Add element for latin style.
9937 (footnote-style): Moved.
9938 (Footnote-goto-footnote): Use eq to test arg.
9940 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
9942 * emacs-lisp/byte-opt.el: Change old backquote syntax.
9943 (byte-compile-trueconstp): Include keywords.
9944 (byte-optimize-quote, byte-optimize-lapcode): Use
9945 byte-compile-const-symbol-p.
9946 (byte-optimize-char-before): New optimization.
9948 * emacs-lisp/bytecomp.el: Change old backquote syntax.
9949 (byte-compile-const-symbol-p): New function.
9950 (byte-compile-constp, byte-compile-out-toplevel)
9951 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
9954 * subr.el (define-key-after): Default AFTER to t. Doc fix.
9956 2000-02-23 Kenichi Handa <handa@etl.go.jp>
9958 * international/encoded-kb.el: Be sure to update minor-mode-alist
9959 and minor-mode-map-alist.
9960 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
9961 codes SS2 and SS3 correctly.
9962 (encoded-kbd-self-insert-ccl): New function.
9963 (encoded-kbd-setup-keymap): New function.
9964 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
9965 by calling encoded-kbd-setup-keymap.
9967 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
9969 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
9972 2000-02-22 Dave Love <fx@gnu.org>
9974 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
9975 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
9977 (lisp-mode-syntax-table): Set up for #|...|# comments.
9978 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
9979 classes. Match `defface'.
9980 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
9981 (eval-defun-1): Fix for defcustom.
9982 (lisp-indent-region): Doc fix.
9984 * subr.el (when, unless, split-string): Doc fix.
9985 (read-passwd): Move call of clear-this-command-keys to the right
9987 (replace-regexps-in-string): New function.
9989 2000-02-22 Gerd Moellmann <gerd@gnu.org>
9991 * help.el (describe-variable): Set syntax table to
9992 emacs-lisp-mode-syntax-table when moving forward over the
9995 2000-02-22 Dave Love <fx@gnu.org>
9997 * xt-mouse.el: Doc fixes.
9998 (xterm-mouse-position-function): New function, replacing advice of
10000 (xterm-mouse-mode): Use it. Don't turn on under a window system.
10002 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
10004 2000-02-21 Gerd Moellmann <gerd@gnu.org>
10006 * format.el (format-annotate-single-property-change): Handle
10007 properties.with dotted-list values.
10008 (format-proper-list-p): New function.
10010 * enriched.el (enriched-face-ans): Handle '(foreground-color
10011 . COLOR) and (background-color . COLOR).
10013 2000-02-20 Dave Love <fx@gnu.org>
10015 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
10016 and assignments to it.
10017 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
10019 (make-flyspell-overlay): Use it.
10020 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
10022 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
10023 (lm-get-header-re): Defun, not defsubst.
10024 (lm-get-package-name): Defun, not defsubst. Simplify.
10025 (lm-version): Doc fix. Simplify.
10026 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
10027 (lm-crack-address, lm-last-modified-date, lm-commentary)
10028 (lm-verify, lm-synopsis): Simplify.
10029 (lm-report-bug): Require emacsbug. Use compose-mail.
10031 2000-02-20 Gerd Moellmann <gerd@gnu.org>
10033 * dired.el (dired-mode): Call propertized-buffer-identification
10034 to set mode-line-buffer-identification to something having
10035 the right text properties.
10037 * bindings.el (propertized-buffer-identification): New function.
10039 2000-02-20 Dave Love <fx@gnu.org>
10041 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
10042 check for t-mouse too.
10044 * cus-start.el: Make echo-keystrokes `number'.
10046 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
10048 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
10049 Don't call ring-empty-p unless tags-location-ring is bound.
10050 From Noah Friedman <friedman@splode.com>.
10052 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
10054 * progmodes/hideshow.el (hs-flag-region): No longer use
10055 `intangible' overlay property.
10057 (hs-toggle-hiding): New command.
10058 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
10060 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
10061 Fix omission bug: Run `hs-minor-mode-hook' for both activation
10064 2000-02-18 Gerd Moellmann <gerd@gnu.org>
10066 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
10068 2000-02-17 Gerd Moellmann <gerd@gnu.org>
10070 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
10072 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
10073 of `*' to handle `(* ... *)' comments.
10075 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
10077 * faces.el (list-faces-display): Use display-mouse-p instead of
10080 * menu-bar.el (global-map): Menu-bar items converted to the new
10081 format (menu-item..., rearranged for better CUA compliance, and
10082 their names changed for better clarity. Help strings added.
10084 * international/mule-cmds.el (mule-menu-keymap)
10085 (describe-language-environment-map, set-coding-system-map)
10086 (setup-language-environment-map): Convert to new (menu-item...
10087 form, add help strings. Change names of menu items for better
10088 clarity. "Mule" menu-bar item removed (it's now in the "Options"
10091 2000-02-17 Gerd Moellmann <gerd@gnu.org>
10093 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
10096 2000-02-16 Dave Love <fx@gnu.org>
10098 * faces.el: Don't require custom. Add more specific :groups to
10100 (set-face-attribute): Purecopy args.
10101 (read-face-name): Default to name at point and use it in prompt.
10102 Remove colon from arg in all callers.
10103 (list-faces-display): Hyperlink to face descriptions and customize
10106 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
10108 * wid-edit.el (widget-match-inline): An atom never matches a
10111 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10113 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
10114 at ':' characters by call to split-string.
10116 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10118 * textmodes/bibtex.el: Added RCS version identification.
10120 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10122 * textmodes/bibtex.el: Some temporary comments removed.
10123 (bibtex-field-name, bibtex-entry-type): Made the relationship
10125 (bibtex-field-const): Allow capital letters.
10126 (bibtex-start-of-string): Deleted because unused.
10128 * textmodes/bibtex.el: Unified some nomenclature. We no longer
10129 use the term 'reference' to describe a bibtex entry as a whole.
10130 Further, reference keys are no longer called 'labels'.
10131 (bibtex-keys): Renamed to bibtex-reference-keys.
10132 (bibtex-reformat-previous-labels): Renamed to
10133 bibtex-reformat-previous-reference-keys.
10134 (bibtex-reference-type): Renamed to bibtex-entry-type.
10135 (bibtex-reference-head): Renamed to bibtex-entry-head.
10136 (bibtex-reference-maybe-empty-head): Renamed to
10137 bibtex-entry-maybe-empty-head.
10138 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
10139 (bibtex-search-reference): Renamed to bibtex-search-entry.
10140 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
10141 bibtex-enclosing-entry-maybe-empty-head.
10142 (bibtex-entry-field-alist, bibtex-entry-head,
10143 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
10144 bibtex-map-entries, bibtex-search-entry,
10145 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
10146 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10147 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
10148 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
10149 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
10150 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
10151 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
10153 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10155 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
10157 (bibtex-format-field-delimiters): New function, functionality
10158 extracted from bibtex-format-entry.
10159 (bibtex-autokey-get-yearfield-digits): New function, functionality
10160 extracted from bibtex-autokey-get-yearfield.
10162 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
10163 entries in order to avoid stack overflow in the regexp matcher if
10164 field contents become large.
10165 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
10166 bibtex-field-string-part-not-braced,
10167 bibtex-field-string-part-no-inner-braces,
10168 bibtex-field-string-part-1-inner-brace,
10169 bibtex-field-string-part-2-inner-braces,
10170 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
10171 bibtex-field-string-quoted, bibtex-field-string,
10172 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
10173 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
10174 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
10175 as parsing is now performed by the following functions.
10176 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
10177 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
10178 bibtex-parse-field-string, bibtex-search-forward-field-string,
10179 bibtex-parse-association, bibtex-field-name-for-parsing,
10180 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
10181 bibtex-search-forward-field, bibtex-search-backward-field,
10182 bibtex-start-of-field, bibtex-end-of-field,
10183 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
10184 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
10185 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
10186 bibtex-parse-string, bibtex-search-forward-string,
10187 bibtex-search-backward-string, bibtex-start-of-string,
10188 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
10189 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
10190 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
10191 entries. Instead of reporting the results of the parsing by
10192 match-beginning or match-end, these functions return data structures
10193 that hold the corresponding positions.
10194 (bibtex-enclosing-field): Changed to also report field boundaries by
10195 return values rather than by match-beginning or match-end. The
10196 following functions have been adapted to use the new parsing
10198 (bibtex-skip-to-valid-entry, bibtex-search-reference,
10199 bibtex-enclosing-field, bibtex-format-entry,
10200 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
10201 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
10202 bibtex-print-help-message, bibtex-end-of-entry,
10203 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
10204 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10205 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
10206 method for parsing.
10207 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
10208 bibtex-map-entries, bibtex-flash-head,
10209 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
10210 bibtex-autokey-change, bibtex-autokey-get-namefield,
10211 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
10212 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10213 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
10214 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10215 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
10216 order to make the new binding of case-fold-search immediately
10219 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10221 * textmodes/bibtex.el: Copyright notice is up to date.
10222 Added constant 'bibtex-maintainer-salutation.
10224 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
10225 than make-temp-name, use match-string-no-properties and eliminate
10226 a quadratic behavior when building bibtex-strings.
10228 * bibtex.el (bibtex-reference-key): Accept string entries whose
10229 reference key contains upper case letters.
10231 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10233 * bibtex.el (bibtex-reference-head): Allow entries to start with
10236 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10238 * bibtex.el: Hiding of entry bodies is not longer provided by
10239 bibtex.el directly. Instead the hideshow package can be used.
10240 Added a special bibtex entry to hs-special-modes-alist.
10241 (bibtex-hs-forward-sexp): Added for hideshow.el.
10243 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10245 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
10246 at ':' characters by call to split-string.
10248 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10250 * textmodes/bibtex.el: Added RCS version identification.
10252 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10254 * textmodes/bibtex.el: Some temporary comments removed.
10255 (bibtex-field-name, bibtex-entry-type): Made the relationship
10257 (bibtex-field-const): Allow capital letters.
10258 (bibtex-start-of-string): Deleted because unused.
10260 * textmodes/bibtex.el: Unified some nomenclature. We no longer
10261 use the term 'reference' to describe a bibtex entry as a whole.
10262 Further, reference keys are no longer called 'labels'.
10263 (bibtex-keys): Renamed to bibtex-reference-keys.
10264 (bibtex-reformat-previous-labels): Renamed to
10265 bibtex-reformat-previous-reference-keys.
10266 (bibtex-reference-type): Renamed to bibtex-entry-type.
10267 (bibtex-reference-head): Renamed to bibtex-entry-head.
10268 (bibtex-reference-maybe-empty-head): Renamed to
10269 bibtex-entry-maybe-empty-head.
10270 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
10271 (bibtex-search-reference): Renamed to bibtex-search-entry.
10272 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
10273 bibtex-enclosing-entry-maybe-empty-head.
10274 (bibtex-entry-field-alist, bibtex-entry-head,
10275 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
10276 bibtex-map-entries, bibtex-search-entry,
10277 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
10278 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10279 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
10280 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
10281 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
10282 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
10283 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
10285 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10287 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
10289 (bibtex-format-field-delimiters): New function, functionality
10290 extracted from bibtex-format-entry.
10291 (bibtex-autokey-get-yearfield-digits): New function, functionality
10292 extracted from bibtex-autokey-get-yearfield.
10294 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
10295 entries in order to avoid stack overflow in the regexp matcher if
10296 field contents become large.
10297 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
10298 bibtex-field-string-part-not-braced,
10299 bibtex-field-string-part-no-inner-braces,
10300 bibtex-field-string-part-1-inner-brace,
10301 bibtex-field-string-part-2-inner-braces,
10302 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
10303 bibtex-field-string-quoted, bibtex-field-string,
10304 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
10305 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
10306 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
10307 as parsing is now performed by the following functions.
10308 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
10309 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
10310 bibtex-parse-field-string, bibtex-search-forward-field-string,
10311 bibtex-parse-association, bibtex-field-name-for-parsing,
10312 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
10313 bibtex-search-forward-field, bibtex-search-backward-field,
10314 bibtex-start-of-field, bibtex-end-of-field,
10315 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
10316 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
10317 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
10318 bibtex-parse-string, bibtex-search-forward-string,
10319 bibtex-search-backward-string, bibtex-start-of-string,
10320 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
10321 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
10322 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
10323 entries. Instead of reporting the results of the parsing by
10324 match-beginning or match-end, these functions return data structures
10325 that hold the corresponding positions.
10326 (bibtex-enclosing-field): Changed to also report field boundaries by
10327 return values rather than by match-beginning or match-end. The
10328 following functions have been adapted to use the new parsing
10330 (bibtex-skip-to-valid-entry, bibtex-search-reference,
10331 bibtex-enclosing-field, bibtex-format-entry,
10332 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
10333 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
10334 bibtex-print-help-message, bibtex-end-of-entry,
10335 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
10336 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10337 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
10338 method for parsing.
10339 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
10340 bibtex-map-entries, bibtex-flash-head,
10341 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
10342 bibtex-autokey-change, bibtex-autokey-get-namefield,
10343 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
10344 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10345 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
10346 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10347 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
10348 order to make the new binding of case-fold-search immediately
10351 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10353 * textmodes/bibtex.el: Copyright notice is up to date.
10354 Added constant 'bibtex-maintainer-salutation.
10356 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
10357 than make-temp-name, use match-string-no-properties and eliminate
10358 a quadratic behavior when building bibtex-strings.
10360 * bibtex.el (bibtex-reference-key): Accept string entries whose
10361 reference key contains upper case letters.
10363 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10365 * bibtex.el (bibtex-reference-head): Allow entries to start with
10368 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10370 * bibtex.el: Hiding of entry bodies is not longer provided by
10371 bibtex.el directly. Instead the hideshow package can be used.
10372 Added a special bibtex entry to hs-special-modes-alist.
10373 (bibtex-hs-forward-sexp): Added for hideshow.el.
10375 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10377 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
10378 proceedings entry type (for cross referencing). Thanks to Wagner
10379 Toledo Correa for the suggestion.
10381 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
10383 2000-02-14 Kenichi Handa <handa@etl.go.jp>
10385 * international/characters.el: Setup case table for Vietnamese.
10387 2000-02-12 Gerd Moellmann <gerd@gnu.org>
10389 * uniquify.el (toplevel): Require CL at compile time.
10390 (uniquify-push): Removed.
10392 * shadowfile.el (shadow-when): Removed.
10394 * tempo.el (tempo-dolist, tempo-mapc): Removed.
10395 (tempo-process-and-insert-string): Use dolist instead of
10398 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
10399 regexp for paragraph-start.
10401 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
10404 2000-02-10 Dave Love <fx@gnu.org>
10406 * wid-edit.el: (widgets) [defgroup]: Remove url link.
10407 (widget-color-choice-list, widget-color-history, widget-mouse-help):
10409 (widget-specify-field, widget-specify-button): Don't use
10410 widget-mouse-help as help-echo property.
10411 (default): Use #'ignore for :validate and :mouse-down-action.
10412 (checkbox): Add help-echo.
10413 (widget-sexp-validate): Rewritten to clarify error messages.
10414 (character): Use char-valid-p in :match function.
10415 (widget-color-complete): Use facemenu-color-alist.
10416 (widget-color-action): Use facemenu-read-color.
10418 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
10419 set up `caar' &c that we now have.
10421 2000-02-09 Ray Blaak <blaak@gnu.org>
10423 * delphi.el: Make resourcestring a declaration region, like const
10426 2000-02-09 Dave Love <fx@gnu.org>
10428 * bindings.el (mode-line-input-method-map): New variable.
10429 (mode-line-mule-info): Use it; fix last change.
10430 (mode-line-mode-menu): Move definition.
10431 (mode-line-mouse-sensitive-p): Deleted.
10432 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
10433 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
10436 * startup.el (command-line-1): Don't call
10437 make-mode-line-mouse-sensitive.
10439 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
10441 * mail/rmail.el (rmail-retry-failure): Use
10442 rmail-beginning-of-message before rmail-toggle-header, because the
10443 former toggles headers.
10445 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
10447 * diff-mode.el (diff-kill-junk): New interactive function.
10448 (diff-reverse-direction): Use delete-and-extract-region.
10449 (diff-post-command-hook): Restrict the area so that the hook also works
10450 outside of any diff hunk. This is necessary for the minor-mode.
10451 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
10452 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
10454 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
10455 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
10456 so that it can be used more easily in <foo>-mode-hook. Also make sure
10457 to avoid duplicate entries.
10458 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
10459 (font-lock-remove-keywords): Just as was done for `add', allow it to
10460 work even if font-lock-mode is nil. Also make sure we don't modify
10461 any pre-existing list by forcing a copy-sequence. Finally rename
10462 `major-mode' to `mode'.
10463 (font-lock-fontify-syntactic-anchored-keywords)
10464 (font-lock-fontify-anchored-keywords)
10465 (font-lock-fontify-keywords-region): Use line-end-position.
10466 Don't make `font-lock-multiline' local (it's now done in
10467 font-lock-set-defaults).
10468 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
10469 move the `font-lock-fontified' creation to inside the `unless'.
10471 2000-02-06 Andrew Innes <andrewi@gnu.org>
10473 * term/w32-win.el (x-handle-args): Comment out call to message,
10474 which occurs before window system is initialized.
10476 * makefile.nt: Add support for recompiling lisp code.
10478 2000-02-04 Dave Love <fx@gnu.org>
10480 * bindings.el (mode-line-mule-info): Fix/extend last change.
10482 * completion.el: Replace completion-dolist with dolist.
10484 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
10487 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
10489 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
10490 environment names before they go into the section regexp.
10492 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
10493 char class in regexp.
10495 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
10496 `case-fold-search' to nil.
10498 * progmodes/idlwave.el (idlwave-template): Respect
10499 `idlwave-abbrev-change-case'.
10500 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
10501 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
10502 idlwave-while): respect `idlwave-reserved-word-upcase'.
10503 (idlwave-rw-case): New function.
10504 (idlwave-statement-match): Fixed problem with assignment regexp.
10505 (idlwave-font-lock-keywords): Improved regexp for keyword
10507 (idlwave-surround): New argument LENGTH to support padding of
10508 operators longer than 1 char.
10510 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
10511 idlwave-shell-expression-overlay. Implemented printing of
10512 expressions on higher levels of the calling stack.
10513 (idlwave-shell-display-level-in-calling-stack): Restore stack
10515 (idlwave-retrieve-expression-from-level): New function.
10516 (idlwave-shell-last-calling-stack): Variable removed.
10517 (idlwave-shell-reset): Argument action reversed (`visible' to
10518 `hidden'). Also remove stop-line overlay.
10519 (idlwave-shell-calling-stack-routine): New variable.
10520 (idlwave-shell-parse-stack-and-display): Messages now display
10521 negative level numbers.
10522 (idlwave-shell-mode): Set `modeline-format'.
10523 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
10524 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
10526 (idlwave-shell-print-expression-function): New option.
10528 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
10529 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
10530 `tool-bar' instead of `toolbar'.
10532 2000-02-02 Dave Love <fx@gnu.org>
10534 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
10535 emacs-lisp-mode-hook. Don't check for defalias being defined.
10537 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
10538 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
10539 the new builtins directly.
10541 * whitespace.el (whitespace): Add :version to defgroup.
10543 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
10546 * thingatpt.el (sexp-at-point, symbol-at-point)
10547 (number-at-point, list-at-point): Add autoload cookie.
10549 * recentf.el (recentf): Add :version to defgroup.
10551 * quickurl.el (quickurl): Add :version to defgroup.
10553 * elide-head.el (elide-head): Use point-marker more.
10555 * bs.el (bs): Add :version to defgroup.
10557 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
10559 * progmodes/delphi.el (delphi): Add :version to defgroup.
10561 2000-02-02 Gerd Moellmann <gerd@gnu.org>
10563 * ange-ftp.el (ange-ftp-write-region): Handle case that
10564 succeeding process operation sets a different coding system.
10566 * calculator.el: New file.
10568 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
10570 * frame.el (frames-on-display-list, framep-on-display): New
10572 (display-mouse-p, display-popup-menus-p, display-graphic-p)
10573 (display-selections-p, display-screens, display-pixel-width)
10574 (display-pixel-height, display-mm-width, display-mm-height)
10575 (display-backing-store, display-save-under, display-planes)
10576 (display-color-cells, display-visual-class): New functions.
10578 * term/tty-colors.el (tty-color-gray-shades): New function.
10580 * faces.el (display-color-p): Use framep-on-display.
10581 (display-grayscale-p): New function.
10583 2000-01-31 Dave Love <fx@gnu.org>
10585 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
10586 (create-fontset-from-x-resource): Don't concat integers.
10588 2000-01-31 Inge Frick <inge@nada.kth.se>
10590 * view.el: Some changes in documentation. Removed some trailing
10591 whitespace. Changed some parameter names to agree with
10593 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
10594 window is not deleted. Modifies change 1998-04-26.
10596 2000-01-31 Gerd Moellmann <gerd@gnu.org>
10598 * windmove.el: New file.
10600 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
10601 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
10602 progmodes/ebnf-yac.el: Update copyright and license info.
10604 * jit-lock.el (jit-lock-function): Widen before calculating end
10606 (jit-lock-stealth-chunk-start): Rewritten.
10608 * info.el (Info-title-face-alist): Removed.
10609 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
10611 (Info-fontify-node): Use these faces.
10613 2000-01-30 Gerd Moellmann <gerd@gnu.org>
10615 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
10616 (cl-macro-list1): Recognize `&allow-other-keys' instead of
10617 `&allow-other-keywords'.
10619 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
10620 the list of directories scanned heuristically.
10622 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
10625 2000-01-30 Jason Rumney <jasonr@gnu.org>
10627 * w32-fns.el: Define w32-tty-standard-colors.
10629 * startup.el (command-line): Use w32-tty-standard-colors when in
10632 2000-01-30 Dave Love <fx@gnu.org>
10634 * jka-compr.el (jka-compr-load): Fix up load-history.
10636 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
10638 * emacs-lisp/cl-macs.el: Revert previous change.
10640 2000-01-29 Dave Love <fx@gnu.org>
10642 * facemenu.el: Purecopy various strings.
10644 * timezone.el (timezone-fix-time): Window against 69 for two-digit
10645 years. Deal with three-digit years.
10647 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
10648 defconst, purecopy.
10649 (help-back-label): Purecopy it.
10651 2000-01-18 Gerd Moellmann <gerd@gnu.org>
10653 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
10654 variable. If non-nil, order the buffer list according to the
10655 currently selected frame.
10656 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
10657 non-nil, pass the selected frame to function buffer-list.
10659 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10661 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
10663 2000-01-28 Dave Love <fx@gnu.org>
10665 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
10667 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
10668 Don't use lisp-indent-hook property.
10671 * subr.el: Move out indent and edebug specs for when and unless.
10673 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
10676 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
10679 2000-01-28 Gerd Moellmann <gerd@gnu.org>
10681 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
10682 `collecting' as synonym for `collect'.
10684 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
10685 for the case it contains spaces.
10687 * simple.el (what-cursor-position): Change formatting of
10690 * frame.el (delete-other-frames): New function.
10691 (toplevel): Bind it to C-x 5 1.
10693 * sort.el (sort-numeric-base): New option.
10694 (sort-numeric-fields): If number starts with `0' or `0[xX[',
10695 interpret it as octal or hexadecimal. Use sort-numeric-base
10698 * progmodes/glasses.el: New file.
10700 2000-01-27 Gerd Moellmann <gerd@gnu.org>
10702 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
10703 userids differently.
10705 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
10706 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
10707 progmodes/ebnf-yac.el: New files.
10709 2000-01-26 Dave Love <fx@gnu.org>
10711 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
10712 on a function with an empty body. [From Eric Ludlam.]
10714 2000-01-25 Andre Spiegel <spiegel@gnu.org>
10716 * vc.el (vc-version-diff): Make sure file name is expanded.
10718 2000-01-25 Gerd Moellmann <gerd@gnu.org>
10720 * scroll-bar.el (scroll-bar-timer): Variable removed.
10721 (scroll-bar-toolkit-scroll): Don't use a timer.
10723 2000-01-25 Kenichi Handa <handa@etl.go.jp>
10725 * language/thai-util.el (thai-composition-function): Delete
10728 2000-01-24 Dave Love <fx@gnu.org>
10730 * fortran.el (fortran-mode): Use beginning-of-defun-function,
10731 end-of-defun-function.
10733 * font-lock.el (turn-on-font-lock): Don't depend on window-system
10736 2000-01-22 Jason Rumney <jasonr@gnu.org>
10738 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
10739 conflicts with new face support.
10741 2000-01-22 Richard M. Stallman <rms@gnu.org>
10743 * replace.el (query-replace): Rename last arg to DELIMITED.
10744 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
10745 (query-replace-regexp): Likewise.
10747 2000-01-20 Richard M. Stallman <rms@gnu.org>
10749 * subr.el (with-syntax-table): Use make-symbol, not gensym.
10751 * emacs-lisp/lisp.el (beginning-of-defun-function):
10752 Variable renamed from beginning-of-defun.
10753 Do not call make-variable-buffer-local.
10754 (beginning-of-defun-raw): Use new variable name; doc fix.
10755 (beginning-of-defun): Doc fix.
10756 (end-of-defun-function): Variable renamed from end-of-defun.
10757 Do not call make-variable-buffer-local.
10758 (end-of-defun): Use new variable name; doc fix.
10760 * subr.el (dolist, dotimes): Copied from cl-macs.el
10763 * mail/undigest.el (rmail-digest-end-regexps):
10764 Variable replaces rmail-digest-end-regexp.
10765 Allows multiple regexps for detecting the end line.
10766 (undigestify-rmail-message): Corresponding changes.
10768 2000-01-19 Dave Love <fx@gnu.org>
10770 * files.el (user-init-file): Don't declare here -- is primitive.
10772 * startup.el (command-line): Check for compiled user-init-file and
10773 set to uncompiled version if necessary.
10775 2000-01-18 Gerd Moellmann <gerd@gnu.org>
10777 * mail/undigest.el (rmail-digest-end-regexp): New user option.
10778 (undigestify-rmail-message): Use it.
10780 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
10782 2000-01-17 Gerd Moellmann <gerd@gnu.org>
10784 * tmm.el (tmm-goto-completions): Adapt to prompt being part
10787 2000-01-14 Gerd Moellmann <gerd@gnu.org>
10789 * emacs-lisp/copyright.el (copyright-update): Removed the
10790 requirement for a trailing space from `copyright-regexp', to
10791 support copyrights with owner specified on a separate line..
10793 * align.el: New file.
10795 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
10797 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
10799 2000-01-13 Dave Love <fx@gnu.org>
10801 * ph.el: Removed. (Obsoleted by EUDC.)
10803 2000-01-13 Gerd Moellmann <gerd@gnu.org>
10805 * net/eudc.el (toplevel): Remove autoloaded code installing
10806 menu with easymenu, because that causes build problems.
10808 * frame.el (frame-notice-user-settings): New variable.
10809 (frame-notice-user-settings): Don't modify frame parameters
10810 if called a second time.
10812 2000-01-13 Richard M. Stallman <rms@gnu.org>
10814 * frame.el (frame-notice-user-settings):
10815 Notice default-frame-parameters even for non-window frames.
10817 2000-01-13 Gerd Moellmann <gerd@gnu.org>
10819 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
10821 (eudc-bob-can-display-inline-images): Extend for Emacs.
10822 (eudc-bob-toggle-inline-display): Ditto.
10823 (eudc-bob-display-jpeg): Ditto.
10825 2000-01-12 Gerd Moellmann <gerd@gnu.org>
10827 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
10828 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
10829 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
10831 * add-log.el (add-change-log-entry): Fix error trying an `(insert
10834 * subdirs.el: Add `net' directory.
10836 * net: New directory.
10838 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
10839 eval-last-sexp. Don't bind debug-on-error here.
10840 (eval-last-sexp): New function. Bind debug-on-error if
10841 eval-expression-debug-on-error is non-nil.
10842 (eval-defun-2, eval-defun): Likewise.
10844 * simple.el (eval-expression): Don't bind debug-on-error if
10845 eval-expression-debug-on-error is nil. Detect changed
10846 debug-on-error, and propagate new value to global binding, if
10847 eval-expression-debug-on-error is non-nil,
10848 (eval-expression-debug-on-error): Change doc string.
10850 2000-01-11 Richard M. Stallman <rms@gnu.org>
10852 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
10854 * emacs-lisp/lisp-mode.el (with-syntax-table):
10855 Set up lisp-indent-function property.
10857 * subr.el (with-syntax-table): Moved from simple.el.
10859 * simple.el (with-syntax-table): Moved to subr.el.
10861 2000-01-11 Gerd Moellmann <gerd@gnu.org>
10863 * tmm.el (tmm-shortcut): Delete region after prompt instead
10866 * textmodes/fill.el (fill-common-string-prefix): New function.
10867 (fill-context-prefix): Use the longest common prefix of first
10868 and second line fill prefix, if there is one.
10870 2000-01-11 Richard M. Stallman <rms@gnu.org>
10872 * array.el (array-mode): Don't use make-variable-buffer-local.
10873 Use make-local-variable for `truncate-lines'.
10875 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
10877 * add-log.el (add-log-current-defun): Handle user-defined
10878 add-log-current-function returning nil,
10880 * add-log.el (add-change-log-entry): Insert version number
10881 if having found a current function
10883 * add-log.el (add-log-current-defun): Call
10884 `add-log-current-defun-function'. Try matches at level 0 and
10885 level 1. Strip whitespace from defun found.
10887 2000-01-10 John Wiegley <johnw@gnu.org>
10889 * allout.el (isearch-done/outline-provisions): Added `edit'
10890 argument to correspond with the current definition of
10893 2000-01-10 Dave Love <fx@gnu.org>
10895 * elide-head.el (elide-head): Use point-marker, not point.
10897 2000-01-10 Gerd Moellmann <gerd@gnu.org>
10899 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
10900 before and after the year 2000.
10902 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
10903 Add ispell- prefix.
10905 2000-01-10 Ken Stevens <k.stevens@ieee.org>
10907 * ispell.el: Only define dictionaries in menus when they exist.
10908 (version18p): New variable.
10909 (version20p): New variable.
10910 (xemacsp): New variable.
10911 (ispell-choices-win-default-height): Fix for XEmacs visibility.
10912 (ispell-dictionary-alist1): Added Brasileiro dictionary.
10913 (ispell-dictionary-alist6): Russian command lines no longer accept
10914 run-together words.
10915 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
10916 (ispell-dictionary-alist): Add koi8-r to customize definition.
10917 (check-ispell-version): Added documentation string. Returns
10918 library path when called non-interactively.
10919 (ispell-menu-map-needed): Uses new variables.
10920 (ispell-library-path): New variable.
10921 (ispell-decode-string): XEmacs fix for bogus variable bindings.
10922 (ispell-word): Improved documentation string. Test for valid
10923 character mappings. Correctly check typed in word changes that can
10924 result in single words split into multiple words. Returns
10926 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
10927 replace in recursive query replace mode. Help message for
10928 recursive edit mode.
10929 (ispell-show-choices): Protect against bad framepop bindings.
10930 (ispell-help): Fix to work with XEmacs.
10931 (ispell-highlight-spelling-error): Use new variables.
10932 (ispell-overlay-window): Fix to work with XEmacs.
10933 (ispell-parse-output): Passed and returns location information
10934 tracking spelling corrections. Doesn't recheck same word on
10936 (ispell-init-process): Protect against bogus XEmacs variable binding.
10937 Fix call to single argument in sleep-for. Use new variables.
10938 (ispell-region): Passed and returns location information tracking
10939 spelling corrections. Doesn't check same word on current line.
10940 Improved documentation string. Doesn't resend a line already
10941 checked to the ispell process - fixes bug in LaTeX parsing.
10942 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
10943 (ispell-skip-region): No longer skips <TT> in SGML.
10944 (ispell-process-line): Tracks location information with spelling
10945 corrections. Added documentation string. Accounts for words
10946 already accepted on this line. Don't allow query-replace on line
10947 starting with math characters. Doesn't resend a line already sent
10948 to ispell process. Fixes alignment error bug.
10950 2000-01-10 Richard M. Stallman <rms@gnu.org>
10952 * dired-x.el (dired-guess-shell-alist-default):
10953 Suggest xloadimage, which is free, not xv, which isn't.
10955 * ange-ftp.el (ange-ftp-file-name-nondirectory):
10956 Don't ever include the host name or user name in the value.
10958 2000-01-09 Gerd Moellmann <gerd@gnu.org>
10960 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
10963 2000-01-09 Stephen Eglen <stephen@gnu.org>
10965 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
10968 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
10970 * cus-edit.el (custom-hook-convert-widget): Fix comment.
10972 2000-01-09 Gerd Moellmann <gerd@gnu.org>
10974 * progmodes/cperl-mode.el: Replace ^F with ^L.
10976 * sendmail.el (toplevel): Provide `sendmail' when compiling
10977 before `require'ing rmail and mailalias to prevent infinite
10980 2000-01-08 Dave Love <fx@gnu.org>
10982 * emacs-lisp/backquote.el: Remove inappropriate customization
10983 (allowing custom.el to use backquote).
10985 2000-01-07 Dave Love <fx@gnu.org>
10987 * add-log.el (add-log-debugging): Deleted.
10988 (add-change-log-entry): Treat a backup FILE-NAME as its parent
10989 file. Remove debugging code.
10990 (change-log-get-method-definition, change-log-name): Add doc.
10991 (change-log-sortable-date-at): New function.
10992 (change-log-merge): New command.
10994 * time.el (display-time-string-forms): Make the Mail string active.
10995 (display-time-update): Provide help-echo for load average.
10997 * bindings.el (make-mode-line-mouse2-map): New function.
10998 (mode-line-modified): Use it and simplify.
10999 (mode-line-mule-info): Provide help-echo info.
11000 (minor-mode-alist): Activate the strings.
11001 (make-mode-line-mouse-sensitive): Simplify for
11002 mode-line-buffer-identification.
11004 2000-01-07 Gerd Moellmann <gerd@gnu.org>
11006 * play/pong.el: New file.
11008 2000-01-06 Dave Love <fx@gnu.org>
11010 * array.el: Assorted cleanups for compiler warnings, doc strings,
11011 `array-' prefix for symbols.
11013 2000-01-05 Dave Love <fx@gnu.org>
11015 * textmodes/outline.el (outline-mode-menu-bar-map): Add
11016 outline-headers-as-kill.
11017 (outline-mode): Define imenu-generic-expression.
11018 (outline-headers-as-kill): New command.
11020 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
11021 from paragraph-start.
11022 (paragraph-indent-minor-mode): New command.
11024 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
11025 M-C-e, M-C-h, C-j, C-xnd, TAB.
11026 (fortran-mode): Set beginning-of-defun, end-of-defun.
11027 (fortran-column-ruler): Simplify.
11028 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
11029 (fortran-with-subprogram-narrowing): Likewise.
11030 (fortran-indent-subprogram): Call mark-defun.
11031 (fortran-check-for-matching-do): Change narrowing.
11033 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
11034 (cl-lucid-hash-tag): Delete.
11035 (cl-hash-table-p): Correct test for native table.
11036 (cl-hash-table-count): Use hash-table-count.
11038 * browse-url.el (browse-url): Fix case of
11039 browse-url-browser-function being an alist.
11041 2000-01-05 Carsten Dominik <cd@gnu.org>
11043 * textmodes/reftex-vars.el (reftex-parse-file-extension)
11044 (reftex-index-phrase-file-extension): New options.
11046 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
11047 Use new option `reftex-index-phrase-file-extension'.
11049 * textmodes/reftex.el (reftex-access-parse-file): Use new option
11050 `reftex-parse-file-extension'.
11052 2000-01-05 Dave Love <fx@gnu.org>
11054 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
11055 (beginning-of-defun-raw): Use it.
11056 (end-of-defun): New variable.
11057 (end-of-defun): Use it.
11058 (check-parens): New command.
11060 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
11062 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
11063 (hs-show-block): Don't use `mapcar' when not accumulating.
11065 Fix buglet in local variables initialization.
11067 2000-01-05 Andreas Schwab <schwab@suse.de>
11069 * hscroll.el (hscroll): Doc fix.
11071 2000-01-05 Carsten Dominik <cd@gnu.org>
11073 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
11076 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
11077 file idlw-rinfo.el.
11078 (idlwave-customize): load must read file idlw-shell.el.
11079 (idlwave-create-customize-menu): load must read file idlw-shell.el.
11081 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
11083 * progmodes/idlw-shell.el: Also provide idlwave-shell
11084 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
11085 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
11087 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
11088 both reftex-dcr and reftex-vcr.
11090 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
11092 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11094 * ps-print.el: PostScript code now is in separate files, doc fix.
11095 (ps-print-version): New version number (5.0.3).
11096 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
11098 (ps-spool-config): Initialization fix.
11099 (ps-print-prologue-1, ps-print-prologue-2)
11100 (ps-print-duplex-feature): PostScript code moved to separated file.
11101 (ps-background-image): Little code reformating.
11102 (ps-begin-file, ps-begin-job): Fix code.
11103 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
11104 (ps-prologue-file): New fun.
11106 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11108 * ps-vars.el: Eliminated.
11110 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
11113 * ps-print.el: ps-vars eliminated, doc fix.
11114 (ps-print-version): New version number (5.0.2).
11115 (ps-spool-config): Initialization fix.
11116 (ps-print-customize): New fun.
11118 2000-01-04 Gerd Moellmann <gerd@gnu.org>
11120 * autorevert.el (auto-revert-mode): Return value of
11123 2000-01-04 Dave Love <fx@gnu.org>
11125 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
11128 2000-01-03 Dave Love <fx@gnu.org>
11130 * elide-head.el (elide-head) [defgroup]: Add :version.
11132 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
11133 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
11134 `cl-hash-table-p', not `hash-table-p'.
11135 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
11137 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11139 * faces.el (face-read-integer, read-face-attribute)
11140 (color-defined-p, color-values): unspecified-{f,b}g are now
11143 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
11145 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
11146 at comment end, and re-insert them after filling.
11148 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11150 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
11151 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
11152 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
11154 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11156 * term/x-win.el (xw-defined-colors): Call color-supported-p,
11157 the new name of face-color-supported-p.
11159 * term/w32-win.el (xw-defined-colors): Likewise.
11161 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11163 * simple.el (completion-setup-function): Count completion-size
11164 from minibuffer-prompt-end, not from point-min.
11166 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
11168 * faces.el (read-face-attribute, defined-colors, color-defined-p):
11169 Pass the frame to tty-color-* functions.
11170 (display-color-p, frame-set-background-mode): Pass the frame to
11171 tty-display-color-p.
11173 * term/tty-colors.el (tty-defined-color-alist): Renamed from
11175 (tty-color-alist, tty-modify-color-alist): New functions.
11176 (tty-color-define, tty-color-clear, tty-color-approximate)
11177 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
11178 an optional parameter FRAME.
11180 2000-01-01 Gerd Moellmann <gerd@gnu.org>
11182 * image.el (create-image, defimage): Don't assume image data is a
11185 * image.el (defimage): Handle specifications containing :data
11187 (image-type-from-data): New function.
11188 (image-type-from-file-header): Use it.
11189 (create-image): Add parameter DATA-P.
11191 See ChangeLog.8 for earlier changes.
11193 ;; Local Variables:
11194 ;; coding: iso-2022-7bit