]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Revert insane changes from 2002-05-04T22:22:33Z!jasonr@gnu.org.
[gnu-emacs] / lisp / ChangeLog
1 2002-05-10 Kim F. Storm <storm@cua.dk>
2
3 * emulation/cua-base.el (cua-enable-cua-keys)
4 (cua-enable-register-prefix): Added value for `other' choice.
5
6 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il>
7
8 * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
9 (menu-bar-showhide-menu): Use display-graphic-p, not
10 widnow-system.
11 (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
12 Run a named function.
13 (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
14 (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
15 Fix help text.
16
17 2002-05-10 Kim F. Storm <storm@cua.dk>
18
19 * emulation/cua-base.el (cua-mode): Misc. changes to use
20 emulation-mode-map-alists instead of minor-mode-map-alist.
21
22 2002-05-09 Richard M. Stallman <rms@gnu.org>
23
24 * mail/rmail.el (rmail-show-message):
25 Catch error in check-coding-system.
26
27 * progmodes/compile.el (compilation-error-regexp-alist):
28 New element to recognize Python error messages.
29
30 * shell.el (shell-replace-by-expanded-directory):
31 If there's already a / at the end, don't add one.
32
33 2002-05-09 Colin Walters <walters@verbum.org>
34
35 * ibuffer.el (ibuffer-mode-map): Add :enable guards for
36 `ibuffer-filter-disable', `ibuffer-pop-filter',
37 `ibuffer-or-filter', `ibuffer-negate-filter',
38 `ibuffer-decompose-filter', `ibuffer-save-filters',
39 `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
40 `ibuffer-save-filter-groups',
41 `ibuffer-switch-to-saved-filter-groups',
42 `ibuffer-delete-saved-filter-groups'.
43
44 * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
45
46 2002-05-09 Markus Rost <rost@math.ohio-state.edu>
47
48 * woman.el (woman-menu): Move symbol before the comment so that
49 find-function-search-for-symbol finds it.
50
51 2002-05-10 Miles Bader <miles@gnu.org>
52
53 * facemenu.el (list-colors-display): Don't use
54 `display-color-cells' unless the display class is one for which
55 that info is relevant.
56
57 2002-05-09 Simon Josefsson <jas@extundo.com>
58
59 * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
60 calling buffer.
61 (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
62 have the patch).
63
64 2002-05-09 Kim F. Storm <storm@cua.dk>
65
66 * wid-edit.el (checkbox): New check-mark image.
67
68 2002-05-08 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
69
70 * filesets.el (filesets-running-xemacs): Fix last change.
71
72 2002-05-08 Markus Rost <rost@math.ohio-state.edu>
73
74 * help-fns.el (describe-function-1): If the source is
75 `loaddefs.el', look for the real source. This is necessary only
76 for defaliases.
77
78 * emacs-lisp/find-func.el (find-function-search-for-symbol): Add
79 autoload cookie.
80 (find-function-regexp): Include
81 "\(quote " to match the defaliases in loaddefs.el.
82
83 * filesets.el (filesets-conditional-sort): Use copy-sequence, not
84 copy-list.
85 (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
86 Defvar them to nil if running in Emacs.
87
88 2002-05-08 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
89
90 * textmodes/flyspell.el (make-flyspell-overlay): Add help text
91 to flyspell overlays.
92
93 * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
94
95 2002-05-08 Richard M. Stallman <rms@gnu.org>
96
97 * diff.el (diff-regexp-alist): Doc fix.
98
99 * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
100
101 2002-05-08 Simon Marshall <simon@gnu.org>
102
103 * msb.el (msb-menu-bar-update-buffers): Fixed frame menu to use
104 the frame name as the car of a menu entry, rather than the frame.
105
106 2002-05-08 Juanma Barranquero <lektu@terra.es>
107
108 * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
109 in docstring.
110
111 2002-05-07 Colin Walters <walters@verbum.org>
112
113 * replace.el (occur-unfontify-region-function): Delete.
114 (occur-mode): Don't use it.
115 (occur-engine): Respect `keep-props'.
116 (occur-accumulate-lines): If we're moving forward, decrement;
117 don't increment, and vice versa.
118
119 2002-05-08 Toru Tomabechi <Toru.Tomabechi@orient.unil.ch>
120
121 * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
122 (tibetan-canonicalize-for-unicode-regexp): New variables.
123 (tibetan-canonicalize-for-unicode-region): New function.
124 (tibetan-strict-unicode): New variable.
125 (tibetan-pre-write-canonicalize-for-unicode): New function.
126
127 2002-05-07 Markus Rost <rost@math.ohio-state.edu>
128
129 * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
130 the autoload-cookie. Remove comment.
131
132 * ffap.el (ffap): Don't hide it behind the autoload-cookie.
133
134 * rect.el (close-rectangle): Don't hide it behind the
135 autoload-cookie.
136
137 2002-05-07 Juanma Barranquero <lektu@terra.es>
138
139 * windmove.el (windmove-default-keybindings): Add optional
140 parameter to allow using a modifier other than 'shift.
141
142 2002-05-07 Thomas Link <t.link@gmx.at>
143
144 * filesets.el:
145 (filesets-external-viewers): Fix customization problem.
146 (filesets-some): Replaces cl's `some'. Calls changed.
147 (filesets-member): Replaces cl's `member*'. Calls changed.
148 (filesets-ormap): New function.
149
150 2002-05-07 John Paul Wallington <jpw@shootybangbang.com>
151
152 * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
153 menu items.
154
155 2002-05-07 Colin Walters <walters@gnu.org>
156
157 * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
158 (ibuffer-clear-filter-groups): Likewise.
159 (ibuffer-kill-filter-group): Likewise.
160 (ibuffer-kill-line): Likewise.
161 (ibuffer-read-filter-group-name): New function.
162 (ibuffer-jump-to-filter-group): Use it.
163 (ibuffer-kill-filter-group): Likewise.
164 (ibuffer-yank-filter-group): Likewise.
165 (ibuffer-decompose-filter-group): New function.
166
167 * ibuffer.el (ibuffer-mode-map): Bind it. Add :enable guard
168 around `ibuffer-filters-to-filter-group' menu item. Fix :enable
169 guards for `ibuffer-pop-filter-group' and
170 `ibuffer-clear-filter-groups'.
171
172 2002-05-06 Markus Rost <rost@math.ohio-state.edu>
173
174 * emacs-lisp/find-func.el (find-function-search-for-symbol): Use
175 with-syntax-table.
176
177 2002-05-06 Francesco Potorti` <pot@gnu.org>
178
179 * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
180
181 2002-05-05 Markus Rost <rost@math.ohio-state.edu>
182
183 * time-stamp.el (time-stamp-format): Doc fix: escape open
184 parenthesis in column 0.
185
186 2002-05-04 Richard M. Stallman <rms@gnu.org>
187
188 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
189 Handle both cases: when the menu item has cached info
190 and when it doesn't.
191
192 * filesets.el (filesets-browse-dir-function): Renamed from ...-fn.
193 (filesets-open-file-function, filesets-save-buffer-function): Likewise.
194 (filesets-tree-max-level): Doc fix.
195 (filesets-commands, filesets-external-viewers)
196 (filesets-ingroup-patterns): Mark as risky.
197 (filesets-cache-hostname-flag): Doc fix.
198 (filesets-menu-cache-file): Doc fix. Mark as risky.
199 (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
200 Don't defcustom them if running in Emacs.
201
202 2002-05-04 Thomas Link <t.link@gmx.at>
203
204 * filesets.el (filesets-ingroup-collect-files):
205 Fix problem with inclusion groups' :scan-depth property.
206
207 2002-05-04 Colin Walters <walters@verbum.org>
208
209 * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
210 "Default" group earlier. Push killed group on
211 `ibuffer-filter-group-kill-ring'.
212 (ibuffer-kill-line): Document. Don't push killed group ourselves.
213 (ibuffer-yank-filter-group): Renamed from `ibuffer-yank'.
214 (ibuffer-insert-filter-group-before): New function, broken out
215 from `ibuffer-yank'.
216 (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
217
218 * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
219 (ibuffer-mode-view-menu): Unused variables; deleted.
220 (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
221
222 2002-05-04 John Paul Wallington <jpw@shootybangbang.com>
223
224 * ibuffer.el (ibuffer-mode-groups-popup): New variable.
225 (toplevel): Bind filter group menu entries in it. Add :enable
226 forms for some menu items.
227 (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
228 to `ibuffer-mouse-popup-menu'.
229 (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
230 group name, and if so, pop up a filter group menu.
231
232 2002-05-04 Jason Rumney <jasonr@gnu.org>
233
234 * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
235 (mwheel-scroll): Recognize nil scroll amount as documented.
236
237 * term/w32-win.el (mouse-wheel-scroll-line)
238 (mouse-wheel-scroll-screen): Remove.
239 ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
240
241 * w32-vars.el: (mouse-wheel-scroll-amount): Removed.
242
243 2002-05-04 Markus Rost <rost@math.ohio-state.edu>
244
245 * emacs-lisp/find-func.el (find-function-search-for-symbol): Bind
246 case-fold-search when searching.
247
248 2002-05-04 Eli Zaretskii <eliz@is.elta.co.il>
249
250 * apropos.el (apropos-print): Fix the reference to mouse-2.
251
252 2002-05-04 Daniel Pfeiffer <occitan@esperanto.org>
253
254 * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
255
256 2002-05-04 Kim F. Storm <storm@cua.dk>
257
258 * cus-edit.el (custom-buffer-verbose-help): New variable.
259 (custom-buffer-create-internal): Remove verbose introduction
260 in customization buffer when it is nil.
261
262 2002-05-03 Dave Love <fx@gnu.org>
263
264 * international/mule-cmds.el (select-safe-coding-system):
265 Don't offer coding systems that use locking shift.
266 Ask for confirmation if chosen coding system disagrees with
267 a `coding:' spec in the file.
268
269 2002-05-03 John Wiegley <johnw@gnu.org>
270
271 * eshell/esh-var.el (eshell-modify-global-environment): Added this
272 customization variable, which will cause any "export" commands
273 within any eshell buffer to modify the global Emacs environment.
274 It defaults to nil, which means that such commands will only
275 modify that Eshell buffer's environment.
276 (eshell-var-initialize): Initialize
277 `eshell-modify-global-environment'.
278
279 * eshell/em-cmpl.el (eshell-command-completions-alist): Improved
280 default completion targets for objdump, nm and readelf.
281
282 2002-05-03 Colin Walters <walters@verbum.org>
283
284 * play/gamegrid.el (gamegrid-user-score-file-directory): New
285 variable.
286 (gamegrid-add-score-with-update-game-score): Use
287 `shared-game-score-directory'. Correctly handle non-setuid case.
288
289 2002-05-02 Colin Walters <walters@verbum.org>
290
291 * replace.el (occur-mode-map): Bind "q" to `delete-window'.
292 (occur-1): If one of the buffers we're searching is the *Occur*
293 buffer itself, handle it by creating a temporary buffer. If any
294 of the buffers being searched are killed, note that in the search
295 result message. Also, set local variables before we possibly kill
296 the buffer.
297
298 2002-05-02 Kim F. Storm <storm@cua.dk>
299
300 * menu-bar.el (menu-bar-make-toggle): Added optional PROPS arg.
301 (menu-bar-options-save): Added cua-mode.
302 (menu-bar-options-menu): Added toggle for cua-mode. Disable
303 toggle for transient-mark-mode if cua-mode is enabled.
304
305 * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local
306 variable.
307
308 2002-05-01 Richard M. Stallman <rms@gnu.org>
309
310 * help.el (view-todo): New function.
311 (help-map): Bind C-h C-t to view-todo.
312 (help-for-help): Change the text.
313
314 2002-05-01 Glenn Morris <gmorris@ast.cam.ac.uk>
315
316 * progmodes/f90.el: Yet more doc string, commment and whitespace
317 changes.
318 (f90-imenu-flag): New name for internal variable f90-imenu.
319 (f90-blocks-re, f90-program-block-re, f90-end-if-re,
320 f90-no-break-re): Use regexp-opt.
321 (f90-end-type-re): Add closing "\\>".
322 (f90-indent-region): Correctly indent comments embedded in
323 continued lines.
324 (f90-indent-new-line): Make it indent the current line, as it
325 should.
326 (f90-line-continued, f90-get-present-comment-type,
327 f90-looking-at-if-then, f90-indent-line, f90-indent-new-line,
328 f90-indent-region, f90-indent-subprogram, f90-do-auto-fill,
329 f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end,
330 f90-change-keywords): Minor code tidying.
331
332 * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
333 typo `fortran-strip-sqeuence-nos'.
334
335 2002-05-01 Eli Zaretskii <eliz@is.elta.co.il>
336
337 * simple.el (clone-indirect-buffer-other-window): Fix a typo in
338 pop-up-window.
339
340 2002-05-01 Kim F. Storm <storm@cua.dk>
341
342 * emulation/cua-base.el (cua--pre-command-handler): Only
343 interpret delete-selection property if mark-active.
344 (cua-mode): Fixed require in defcustom.
345
346 2002-05-01 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
347
348 * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
349 error call.
350
351 2002-05-01 Colin Walters <walters@verbum.org>
352
353 * textmodes/tex-mode.el (tex-validate-buffer): Use
354 `occur-revert-arguments' instead of setting `occur-nlines' and
355 `occur-buffer'. Don't test for `input-pending-p' in loop. Set
356 text property `occur-target' instead of `occur'.
357
358 2002-04-30 John Wiegley <johnw@gnu.org>
359
360 * align.el (align-region): Fixed the fix to align-region, because
361 the "name" argument was appearing twice.
362
363 2002-05-01 Martin Stjernholm <bug-cc-mode@gnu.org>
364
365 * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
366 to handle protection labels, one which doesn't get confused by
367 inherit colons.
368
369 * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
370 functions that have "class" or "struct" in the return type as
371 classes or structs.
372
373 2002-04-30 Kim F. Storm <storm@cua.dk>
374
375 * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
376 Options" to "New Options..."; rephrase tooltip.
377 Rephrase tooltip for "Specific Option...".
378 Added "Saved Options" item. [from Simon Marshall]
379
380 2002-04-30 Richard M. Stallman <rms@gnu.org>
381
382 * time.el (display-time-mail-directory)
383 (display-time-mail-function): Doc fixes.
384
385 * ediff-hook.el: Remove autoload cookies.
386
387 * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
388
389 * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
390
391 * align.el (align-region): Fix call to `message'.
392 Check that (car rule) is a symbol.
393
394 * autoinsert.el (auto-insert-directory): Doc fix.
395
396 * facemenu.el (describe-text-at and stuff): Moved to descr-text.el.
397
398 * descr-text.el: New file, broken out of facemenu.el.
399
400 * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
401
402 2002-04-29 Markus Rost <rost@math.ohio-state.edu>
403
404 * mail/emacsbug.el (report-emacs-bug-hook): Use
405 replace-match only if search was successful.
406
407 2002-04-29 Richard M. Stallman <rms@gnu.org>
408
409 * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
410
411 * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
412 if the user edits the Emacs version number in the text.
413
414 * filesets.el (filesets-running-xemacs): Make defvar unconditional.
415 (filesets-ingroup-files): Renamed from filesets-ingroup-paths.
416 (filesets-error): Simplify definition and make conditional
417 on filesets-running-xemacs.
418 (filesets-find-file-using): Renamed from fsfind-file-using.
419
420 2002-04-29 Colin Walters <walters@verbum.org>
421
422 * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
423 (ibuffer-kill-line): Copy the filter group data structure when
424 killing.
425 (ibuffer-yank): Handle case where we're yanking on the default
426 group correctly.
427 (ibuffer-delete-saved-filter-groups): Doc fix.
428
429 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
430 Test whether or not update-game-score is setuid, and do the right
431 thing.
432
433 2002-04-29 Kim F. Storm <storm@cua.dk>
434
435 * subr.el (remove-yank-excluded-properties): New helper function.
436 (insert-for-yank, insert-buffer-substring-as-yank): Use it.
437
438 * simple.el (yank-excluded-properties): Added help-echo to list.
439
440 2002-04-29 Glenn Morris <gmorris@ast.cam.ac.uk>
441
442 * autoinsert.el (auto-insert-directory): Doc fix.
443
444 * progmodes/f90.el: Add/change doc strings for many inline
445 functions. Whitespace changes.
446 (f90-indent-line-no, f90-update-line): Minor code changes.
447
448 2002-04-29 Kim F. Storm <storm@cua.dk>
449
450 * emulation/cua-base.el: New file.
451
452 * emulation/cua-rect.el: New file.
453
454 * emulation/cua-gmrk.el: New file.
455
456 * emulation/keypad.el: New file.
457
458 2002-04-29 Triet Hoai Lai <thlai@ee.usyd.edu.au>
459
460 * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
461 (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn): New
462 Vietnamese coding system.
463
464 * language/viet-util.el: Update Commentary section.
465
466 2002-04-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
467
468 * filesets.el (filesets-data): Doc fix.
469 (filesets-running-xemacs): Define even when compiling.
470
471 * recentf.el (recentf-cancel-dialog): Remove dot at the end of
472 sentence.
473
474 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
475
476 * textmodes/fill.el (fill-context-prefix): Fix last change with
477 yet-another-approach.
478
479 2002-04-28 Markus Rost <rost@math.ohio-state.edu>
480
481 * net/ange-ftp.el (ange-ftp-passive-host-alist)
482 (ange-ftp-bs2000-additional-pubsets): Fix custom type.
483
484 * files.el (small-temporary-file-directory): Fix custom type.
485
486 2002-04-28 Glenn Morris <gmorris@ast.cam.ac.uk>
487
488 * progmodes/f90.el (f90-xemacs-flag): New variable.
489 (f90-mark-subprogram-overlay): New variable.
490 (f90-mark-subprogram): Now it highlights the subprogram.
491 (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
492 Fix highlighting of various "type" forms.
493
494 2002-04-28 Colin Walters <walters@verbum.org>
495
496 * ibuffer.el (ibuffer-mode): Additional documentation on filter
497 groups.
498
499 2002-04-28 John Paul Wallington <jpw@shootybangbang.com>
500
501 * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
502 ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
503
504 2002-04-28 Richard M. Stallman <rms@gnu.org>
505
506 * mail/sendmail.el (mail-recover-1): Decrease non-random-len
507 by 1 for the newly-readded #.
508
509 * files.el (make-auto-save-file-name): Specify # as suffix
510 in the non-file-visiting case.
511
512 * subr.el (make-temp-file): New arg SUFFIX.
513
514 * filesets.el: New file.
515
516 * replace.el (occur-accumulate-lines): Avoid incf and decf.
517 (occur-engine-add-prefix): New function.
518 (occur-engine): Avoid using macrolet, incf and decf.
519 Use occur-engine-add-prefix instead.
520 Rename `l' to `lines' and `c' to `matches'.
521
522 * replace.el (occur-engine, occur-mode-mouse-goto)
523 (occur-mode-find-occurrence, occur-mode-goto-occurrence)
524 (occur-mode-goto-occurrence-other-window)
525 (occur-mode-display-occurrence): A position is just a marker,
526 not a list.
527
528 * replace.el (occur-revert-arguments):
529 Renamed from occur-revert-properties. All uses changed.
530
531 2002-04-28 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
532
533 * recentf.el (recentf-menu-before): Use string to specify path in
534 the menu.
535
536 * international/mule-cmds.el (read-language-name): Take care of
537 non-list values.
538
539 2002-04-27 Richard M. Stallman <rms@gnu.org>
540
541 * custom.el (custom-load-symbol): Moved from cus-edit.el.
542 (custom-load-recursion): Likewise.
543
544 * cus-edit.el (custom-load-symbol): Moved to custom.el.
545 (custom-load-recursion): Likewise.
546
547 * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
548 generated by easymenu are now lowercase.
549
550 2002-04-27 Richard M. Stallman <rms@gnu.org>
551
552 * menu-bar.el (menu-bar-update-buffers): Add menu items
553 Next Buffer and Previous Buffer.
554
555 * simple.el (next-buffer, prev-buffer): New commands.
556 Bind C-x left and C-x right to them.
557
558 * info.el (Info-header-line): Mark it as risky-local-variable.
559
560 * subr.el (insert-for-yank): Replace `category' property
561 with whatever properties it stands for.
562
563 * subr.el (member-ignore-case): Ignore non-strings in LIST.
564
565 2002-04-27 Miles Bader <miles@gnu.org>
566
567 * faces.el (read-face-name): Format the prompt correctly when
568 there's no default.
569
570 2002-04-26 Andrew Choi <akochoi@shaw.ca>
571
572 * term/mac-win.el: Don't call ediff-toggle-multiframe.
573 Set default directory. Set process-connection-type to nil.
574
575 2002-04-26 Richard M. Stallman <rms@gnu.org>
576
577 * loadup.el: Explicitly load cus-face and timer.
578
579 * isearch.el: Don't require timer.
580
581 * faces.el: Don't require cus-face.
582
583 * cus-edit.el (customize-face): Use read-face-name
584 and handle multiple faces.
585 (customize-face-other-window): Make it work similarly.
586
587 * faces.el (read-face-name): New defaulting features.
588 New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
589 (list-faces-display): Use the face, not its name string,
590 as arg when running customize-face.
591 Put a `read-face-name' prop on the entire line.
592 (describe-face): Handle multiple faces via read-face-name.
593
594 * textmodes/tex-mode.el (tex-start-options): New variable.
595 (tex-start-commands): New variable.
596 (tex-start-options-string): Variable deleted.
597 (tex-start-tex): Use tex-start-options and tex-start-commands,
598 not tex-start-options-string.
599 (tex-command): Doc fix.
600
601 2002-04-26 Sam Steingold <sds@gnu.org>
602
603 * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
604 not in the authinfo/netrc, keep `cred' at nil.
605
606 2002-04-26 Gerd Moellmann <gerd@gnu.org>
607
608 * find-file.el: Remove Ada-specific example code.
609
610 2002-04-25 Michael Kifer <kifer@cs.stonybrook.edu>
611
612 * ediff-hooks.el: Put back the autoloads.
613
614 2002-04-25 Colin Walters <walters@verbum.org>
615
616 * ibuffer.el (define column process): Use `ibuffer-aif'.
617
618 * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
619 defaults.
620 (ibuffer-yank): Be sure to `setq' after we use `nconc'.
621 (ibuffer-save-filter-groups): Correctly structure filter groups.
622 (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
623 groups.
624
625 2002-04-25 Simon Josefsson <jas@extundo.com>
626
627 * mail/sendmail.el (mail-use-dsn): New variable to request
628 delivery status notification from MTA.
629 (sendmail-send-it): Use it.
630
631 * mail/smtpmail.el (smtpmail-queue-counter): New variable.
632 (smtpmail-send-it): Use it to construct new queue filenames
633 (needed if you send more than one message per second, which is
634 possible if you use Gnus Agent).
635
636 * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
637 files as well.
638 (smtpmail-try-auth-methods): Support netrc data.
639 (netrc-parse): Autoload netrc.
640
641 2002-04-25 Colin Walters <walters@verbum.org>
642
643 * replace.el (multi-occur-by-filename-regexp): Doc fix.
644 (occur-engine): Go to `point-min'. Make nlines argument actually
645 mean number of context lines. Handle it. Pad digits to the right.
646
647 * ibuf-ext.el (ibuffer-filtering-groups): Renamed to
648 `ibuffer-filter-groups'. All users updated.
649 (ibuffer-show-empty-filter-groups): New variable.
650 (ibuffer-saved-filter-groups): New variable.
651 (ibuffer-maybe-save-stuff): Renamed from
652 `ibuffer-maybe-save-saved-filters'. Callers updated.
653 Handle `ibuffer-saved-filter-groups'.
654 (ibuffer-hidden-filtering-groups): Renamed to
655 `ibuffer-hidden-filter-groups'.
656 (ibuffer-filter-group-kill-ring): New variable.
657 (ibuffer-save-with-custom): Doc fix.
658 (ibuffer-set-filter-groups-by-mode): New function.
659 (ibuffer-clear-filter-groups): New function.
660 (ibuffer-current-filter-groups-with-position): Renamed from
661 `ibuffer-current-filter-groups'. Callers updated.
662 (ibuffer-kill-filter-group): New function.
663 (ibuffer-kill-line): New function.
664 (ibuffer-yank): New function.
665 (ibuffer-save-filter-groups): New function.
666 (ibuffer-delete-saved-filter-groups): New function.
667 (ibuffer-switch-to-saved-filter-groups): New function.
668 (ibuffer-mark-on-buffer): Add optional arguments for adding a
669 specific mark, and marking on a specific group.
670
671 * ibuffer.el (ibuffer-formats): Doc fix.
672 (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
673 Bind new functions from ibuf-ext.el. Add menu entries for them.
674 Remove superfluous tooltips.
675 (ibuffer-toggle-marks): If on a group name, then toggle marks just
676 in that group.
677 (ibuffer-mark-interactive): Handle filter groups.
678 (ibuffer-mark-forward, ibuffer-unmark-forward)
679 (ibuffer-mark-for-delete, ibuffer-unmark-backward)
680 (ibuffer-mark-for-delete-backwards): Update docs.
681 (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
682 to `ibuffer-current-filter-groups-with-position'.
683 (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
684 (ibuffer-mode): Add some documentation about filter groups.
685
686 2002-04-25 Andreas Schwab <schwab@suse.de>
687
688 * find-dired.el (find-name-dired): Don't quote pattern twice.
689
690 2002-04-26 Miles Bader <miles@gnu.org>
691
692 * cus-edit.el (customize-face, customize-face-other-window):
693 Use default instead of initial-input for suggested face.
694
695 2002-04-25 Gerd Moellmann <gerd@gnu.org>
696
697 * cus-edit.el (customize-face-other-window, customize-face):
698 Interactively, when point is on text with a face, suggest to
699 customize that face.
700
701 2002-04-25 Glenn Morris <gmorris@ast.cam.ac.uk>
702
703 * progmodes/f90.el: General tidy-up of commentary and some doc
704 strings.
705
706 2002-04-24 Glenn Morris <gmorris@ast.cam.ac.uk>
707
708 * scroll-all.el (scroll-all-function-all) New function to do the
709 actual work.
710 (scroll-all-scroll-down-all, scroll-all-scroll-up-all,
711 scroll-all-page-down-all, scroll-all-page-up-all,
712 scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
713 Make them use scroll-all-function-all.
714
715 * progmodes/f90.el (f90-get-beg-of-line): Removed and replaced
716 with line-beginning-position.
717 (f90-get-end-of-line): Removed and replaced with line-end-position.
718 (f90-match-piece): Removed and replaced with match-string.
719 (f90-current-indentation): Remove `current-column'.
720 (f90-get-present-comment-type): Use match-string rather than
721 buffer-substring.
722 (f90-match-end): Use line-beginning-position, line-end-position
723 rather than beginning-of-line, end-of-line.
724 (f90-startup-message): Variable removed.
725
726 2002-04-24 Colin Walters <walters@verbum.org>
727
728 * replace.el (occur-accumulate-lines): Add optional argument
729 `no-props'. Handle it.
730 (occur-engine): Use it.
731
732 * ibuf-ext.el (toplevel): Remove byte-compile-dynamic. Try to set
733 up autoloads manually.
734 (ibuffer-split-list): New function.
735 (ibuffer-filtering-groups): New variable.
736 (ibuffer-hidden-filtering-groups): New variable.
737 (ibuffer-mouse-toggle-filter-group): New function.
738 (ibuffer-toggle-filter-group): New function.
739 (ibuffer-toggle-filter-group-1): New function.
740 (ibuffer-forward-filter-group): New function.
741 (ibuffer-backward-filter-group): New funtion.
742 (ibuffer-generate-filter-groups): New function.
743 (ibuffer-filters-to-filter-group): New function.
744 (ibuffer-pop-filter-group): New function.
745 (ibuffer-jump-to-filter-group): New function.
746 (ibuffer-do-occur): Just use `occur-read-primary-args'
747
748 * ibuffer.el (ibuffer-filter-group-name-face): New.
749 (ibuffer-mode-map): Bind and add menu entries for most new
750 functions; also, bind the arrow keys to the movement functions.
751 (ibuffer-mode-filter-group-map): New.
752 (ibuffer-mouse-toggle-mark): Handle group names.
753 (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
754 (ibuffer-skip-properties): New function.
755 (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
756 group names. Also, handle new properties.
757 (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
758 Move error handling to `ibuffer-current-buffer'.
759 (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
760 (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
761 (ibuffer-toggle-marks): Add optional group argument.
762 (ibuffer-mark-interactive): Skip group names.
763 (ibuffer-current-buffer): Clean up error handling.
764 (ibuffer-fontify-region-function): Fontify group names.
765 (ibuffer-map-lines): Add extra group argument. Handle it.
766 (ibuffer-current-filter-groups): New function.
767 (ibuffer-redisplay): Handle hidden filtering groups.
768 (ibuffer-sort-bufferlist): New function, taken from
769 `ibuffer-insert-buffers-and-marks'.
770 (ibuffer-insert-filter-group): New function.
771 (ibuffer-redisplay-engine): Renamed from
772 `ibuffer-insert-buffers-and-marks'. Handle new filtering groups.
773 (ibuffer): Add filter-groups argument. Handle it.
774 Use `save-selected-window'.
775 (ibuffer-mode): Make `ibuffer-filtering-groups' and
776 `ibuffer-hidden-filtering-groups' buffer-local.
777
778 * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
779
780 2002-04-24 Richard M. Stallman <rms@gnu.org>
781
782 * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
783 (easy-menu-define-key-intern): Function deleted; callers intern
784 and then call easy-menu-define-key.
785 (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
786 (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
787 (easy-menu-name-match): New function.
788 (add-submenu): New function.
789 (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
790
791 2002-04-24 Eli Zaretskii <eliz@is.elta.co.il>
792
793 * menu-bar.el (menu-bar-adv-search-menu)
794 (menu-bar-adv-search-menu): Improve the help text.
795
796 2002-04-24 Simon Josefsson <jas@extundo.com>
797
798 * net/netrc.el: New file.
799
800 2002-04-24 Thomas DeWeese <tdeweese@rochester.rr.com>
801
802 * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
803 Check if any of the available selection sources has new content
804 and if so it will return that content.
805
806 2002-04-24 Miles Bader <miles@gnu.org>
807
808 * menu-bar.el (buffers-menu-show-directories)
809 (buffers-menu-show-status): New variables.
810 (menu-bar-update-buffers-1): Use them.
811
812 2002-04-24 Martin Stjernholm <mast@lysator.liu.se>
813
814 * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
815 from `c-do-auto-fill' and point is at or near the limit of the
816 comment. Fixed bug when the prefix from `c-guess-fill-prefix'
817 is longer than the text on the first line of the comment when
818 it's masked.
819
820 2002-04-24 Miles Bader <miles@gnu.org>
821
822 * menu-bar.el (menu-bar-update-buffers-1): Make sure
823 `uniquify-buffer-name-style' is bound.
824
825 2002-04-23 Colin Walters <walters@verbum.org>
826
827 * replace.el (toplevel): Require `cl' while compiling.
828 (occur-buffer, occur-nlines): Delete.
829 (occur-revert-properties): Rename to `occur-revert-properties'.
830 (occur-mode): Handle it. Set up font lock.
831 (occur-revert-function): Simply apply `occur-1'.
832 (occur-mode-find-occurence, occur-mode-mouse-goto)
833 (occur-mode-goto-occurrence-other-window)
834 (occur-mode-display-occurrence): Handle buffer property.
835 (list-matching-lines-face): Use defcustom.
836 (list-matching-lines-buffer-name-face): New variable.
837 (occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
838 in ibuffer.el.
839 (occur-read-primary-args): Move out of `occur'.
840 (occur): Delete. Now simply call `occur-1'.
841 (multi-occur, multi-occur-by-filename-regexp): New functions.
842 (occur-1): New function.
843 (occur-engine): Renamed from `ibuffer-occur-engine' to replace the
844 previous implementation of `occur'; taken from ibuf-ext.el.
845 (occur-fontify-on-property): New function.
846 (occur-fontify-region-function, occur-unfontify-region-function):
847 New functions.
848
849 * ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
850
851 * ibuf-ext.el (ibuffer-depropertize-string): Delete.
852 (ibuffer-occur-match-face): Delete.
853 (ibuffer-occur-props, ibuffer-occur-mode): Delete.
854 (ibuffer-occur-mouse-display-occurence): Delete.
855 (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
856 (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
857 (ibuffer-occur-engine): Moved to replace.el.
858 (ibuffer-do-occur): Simply call `occur-1'.
859
860 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
861 Handle the case where we're already viewing the score file.
862
863 2002-04-23 Andreas Schwab <schwab@suse.de>
864
865 * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
866 next-tag-otherw.
867
868 2002-04-23 Miles Bader <miles@gnu.org>
869
870 * menu-bar.el (menu-bar-update-buffers-1): Don't display a
871 directory separator if there's no directory. Don't display
872 directories at all if uniquify is active. Some code cleanup.
873 (uniquify-buffer-name-style): Declare (but don't initialize).
874
875 * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
876 for command menu entries, since the low-level menu code modifies
877 them. Cache the resulting list.
878 (menu-bar-buffers-menu-command-entries): New variable.
879
880 * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
881 Add separator line before commands
882 Remove old crufty code that tried to line things up by adding
883 spaces to entries (it doesn't work).
884 Move `Frames' submenu after the normal buffers, and add a
885 separator line before it.
886 (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
887
888 2002-04-22 Richard M. Stallman <rms@gnu.org>
889
890 * files.el (after-find-file): Use %s to output MSG.
891
892 * dired.el (dired-mouse-find-file-other-window):
893 Handle events that move out of the window.
894
895 2002-04-23 Martin Stjernholm <mast@lysator.liu.se>
896
897 * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
898 was moved to the following line when it was at the first line
899 of a block comment where comment-start-skip matched to eol.
900
901 2002-04-22 Richard M. Stallman <rms@gnu.org>
902
903 * simple.el (line-move-finish): Find beg and end of line
904 before calling line-move-to-column. Do consider intangible
905 when finding the end. Take more care in analyzing the results
906 of intangibility after line-move-to-column.
907
908 2002-04-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
909
910 * international/mule-diag.el (list-input-methods-1): Doc fix
911 (LEIM is now part of the standard distribution).
912
913 * tmm.el (tmm-completion-prompt): Doc fix.
914
915 * hilit-chg.el (global-highlight-changes): Capitalize status texts.
916
917 2002-04-22 Edward M. Reingold <reingold@emr.cs.iit.edu>
918
919 * diary-lib.el (include-other-diary-files): Allow modifying
920 included buffer, to turn off selective display.
921
922 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
923
924 * progmodes/cc-mode.el: (c-define-abbrev-table): New function to
925 pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
926 emacsen that doesn't support it.
927
928 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
929
930 * progmodes/cc-align.el, progmodes/cc-engine.el,
931 progmodes/cc-styles.el, progmodes/cc-vars.el
932 (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
933 Find correct anchor for statement-cont in top level constructs.
934 Analyze variable initializations in top level constructs as
935 topmost-intro-cont instead of statement-cont. That is an
936 incompatible change but it gives better consistency. The new
937 lineup function c-lineup-topmost-intro-cont' compensates for
938 it and is now put on topmost-intro-cont by default.
939
940 * progmodes/cc-align.el, progmodes/cc-engine.el,
941 progmodes/cc-langs.el (c-lineup-argcont): Lineup function
942 contributed by Kevin Ryde.
943
944 (c-in-gcc-asm-p): Function to recognize asm statements.
945 Contributed by Kevin Ryde.
946
947 (c-opt-asm-stmt-key): New language variable to recognize the
948 beginning of asm statements.
949
950 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
951
952 * progmodes/cc-engine.el (c-guess-basic-syntax):
953 Detect variable declarations after class and struct declarations
954 correctly. Fixed limit error when finding the anchor for
955 template-args-cont and topmost-intro-cont.
956
957 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
958
959 * progmodes/cc-cmds.el (c-beginning-of-defun)
960 (c-declaration-limits): Find the "line oriented" declaration
961 start too, just like the "line oriented" end is found.
962
963 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
964
965 * progmodes/cc-vars.el (c-offsets-alist): A more sane default
966 for `inexpr-statement'. This is not compatible, though.
967 I think the benefit of a good default style outweights that in
968 this case. Besides, `inexpr-statement' is not very common.
969
970 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
971
972 * progmodes/cc-cmds.el (c-electric-delete-forward):
973 Fix silly bug that caused it to delete backwards in hungry delete
974 mode. (It's amazing that this bug hasn't been reported.)
975
976 * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
977 Extracted the code to get the declaration limits from
978 `c-mark-function' to a new `c-declaration-limits'.
979
980 (c-indent-defun): Use the same method to get the limits of the
981 declaration or macro as `c-mark-function'.
982
983 * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
984 list initializers correctly (but costly; it ought to be
985 integrated into `c-beginning-of-statement-1').
986
987 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
988
989 * progmodes/cc-cmds.el, progmodes/cc-engine.el
990 (c-beginning-of-defun, c-end-of-defun, c-mark-function):
991 Rewritten to detect the declaration limits better.
992 Now handles K&R argdecls, class definitions followed by variables etc.
993
994 (c-in-knr-argdecl): Broke out the K&R argdecl test in
995 `c-beginning-of-decl-1' to this new function.
996
997 (c-end-of-statement-1, c-end-of-decl-1):
998 Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
999 handles declarations that continue after the block.
1000
1001 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
1002 Added an option to restrict matching to the top level of the
1003 current paren sexp.
1004
1005 * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
1006 New regexp to recognize declarations that continue after the block.
1007
1008 (c-syntactic-eol): New regexp to match a "syntactic" eol.
1009
1010 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1011
1012 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
1013 that often caused the backward limit to be lost at the top
1014 level. This improves performance a bit.
1015
1016 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
1017 New function that works like `re-search-forward' but only returns
1018 matches in syntactically significant text.
1019
1020 * progmodes/cc-engine.el: Fixed a faster and more accurate way
1021 to recognize K&R argdecls.
1022
1023 (c-beginning-of-decl-1): New function that put point at the
1024 beginning of the declaration. It handles K&R argdecl blocks.
1025
1026 (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
1027 code with one that doesn't depend on the current indentation.
1028 The anchor position for `knr-argdecl' has also changed, but in
1029 a way that is unlikely to cause compatibility problems.
1030
1031 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1032
1033 * progmodes/cc-defs.el, progmodes/cc-engine.el
1034 (c-forward-comment): `forward-comment' in XEmacs skips over
1035 line continuations in the backward direction. Correct for
1036 that. Also made this a defun since it has grown too large now
1037 to be a defsubst.
1038
1039 * progmodes/cc-langs.el: More convenient and decentralized
1040 setup of the language specific variables. The regexp-opt
1041 mangling is also done at compile time now.
1042
1043 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1044
1045 * progmodes/cc-cmds.el (c-indent-line-or-region):
1046 Call `c-indent-line' directly instead of through
1047 `indent-according-to-mode' so that this function always
1048 indents syntactically.
1049
1050 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
1051 where a class beginning with a nested class could cause an
1052 infinite loop (the state outside the narrowed out class is
1053 never used now).
1054
1055 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1056
1057 * progmodes/cc-align.el, progmodes/cc-cmds.el,
1058 progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
1059 the context sensitive analysis inside macros is restricted to
1060 the bodies of #define's; other things, like #if expressions,
1061 never have anything in common with their surroundings.
1062 The old `cpp-macro-cont' syntax is now used in situations where
1063 the syntactic analysis isn't applicable, and a new syntactic
1064 element `cpp-define-intro' is used to add indentation in
1065 #define bodies.
1066
1067 (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
1068 better reflect its use.
1069
1070 * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
1071 continuation backslashes in the detection of `arglist-cont-nonempty'.
1072
1073 * progmodes/cc-align.el: Use the vector form in the return
1074 value in all cases where lineup functions return absolute columns.
1075
1076 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1077
1078 * progmodes/cc-engine.el (c-add-stmt-syntax)
1079 (c-guess-basic-syntax): Anchor `brace-list-intro' and
1080 `bracec-list-close' better for brace lists nested inside expressions.
1081
1082 * progmodes/cc-engine.el, progmodes/cc-langs.el,
1083 progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
1084 various language specific variables and their initialization.
1085 The keyword regexps are now lists that are combined with
1086 regexp-opt. Some variables have changed names to fit better
1087 with the naming convention.
1088
1089 * progmodes/cc-defs.el, progmodes/cc-vars.el
1090 (c-buffer-is-cc-mode): The value is the mode symbol of the
1091 original CC Mode mode.
1092
1093 (c-major-mode-is): Compare against the buffer local variable
1094 `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
1095
1096 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1097
1098 * progmodes/cc-engine.el (c-forward-syntactic-ws)
1099 (c-backward-syntactic-ws, c-forward-token-1)
1100 (c-backward-token-1, c-in-literal, c-literal-limits)
1101 (c-collect-line-comments, c-literal-type, c-on-identifier)
1102 (c-guess-basic-syntax): These functions are now considered part
1103 of the "CC Mode API" and may be used by other code.
1104 That's signified by making their documentation into docstrings.
1105
1106 (c-whack-state, c-hack-state, c-skip-case-statement-forward):
1107 Removed these internal functions since they aren't used.
1108
1109 (c-forward-to-cpp-expression): Classified this function as internal.
1110
1111 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1112
1113 * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
1114 Simplified these regexps; the class keywords they contain
1115 ought to be enough to avoid false matches, so checking for
1116 following identifiers etc is just unnecessary (and might also
1117 fail for oddly formatted code).
1118
1119 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1120
1121 * progmodes/cc-engine.el, progmodes/cc-cmds.el
1122 (c-forward-comment-lc): New function that behaves like
1123 `c-forward-comment', with the exception that line
1124 continuations are treated as whitespace.
1125
1126 (c-beginning-of-statement): Use `c-forward-comment-lc', to
1127 work correctly in macros and other places where line
1128 continuations should be treated as whitespace.
1129
1130 * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
1131 normal label in a switch block as a case label, to get
1132 consistent lineup with the case labels.
1133
1134 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
1135 in skipping over a macro that ends with an empty line.
1136
1137 * progmodes/cc-styles.el: Require cc-align since styles added
1138 with `c-add-style' often contains references to functions
1139 defined there, and so the `c-valid-offset' check might
1140 otherwise complain on them.
1141
1142 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1143
1144 * progmodes/cc-align.el, progmodes/cc-mode.texi,
1145 progmodes/cc-vars.el: Added two new lineup functions:
1146
1147 (c-lineup-knr-region-comment): A new lineup function to get
1148 (what most people think is) better indentation of comments in
1149 the "K&R region" between the function header and its body.
1150
1151 (c-lineup-gcc-asm-reg): New lineup function for better
1152 indentation inside gcc asm blocks. Contributed by Kevin Ryde.
1153
1154 (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
1155 `c-lineup-knr-region-comment' in the default offset
1156 configuration, since these two functions have little impact
1157 outside their intended use, and they generally do the right
1158 thing when they kick in.
1159
1160 * progmodes/cc-engine.el (c-guess-continued-construct)
1161 (c-guess-basic-syntax): Handle nested functions in all
1162 languages, not just Pike. In C and C++ there's a gcc
1163 extension for this, and it also gives better treatment of
1164 macros that are followed by blocks.
1165
1166 * progmodes/cc-langs.el (c-symbol-key): Made this variable
1167 mode specific, to handle Pike special symbols like `== better.
1168
1169 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1170
1171 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
1172 progmodes/cc-vars.el (c-report-syntactic-errors): A new
1173 variable to control the syntactic error messages. It defaults
1174 to off; since CC Mode ignores most syntactic errors it might
1175 as well ignore them all for the sake of consistency.
1176
1177 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1178
1179 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
1180 Optimization. Can give a noticeable speedup if there's a
1181 large preceding function or class body.
1182
1183 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1184
1185 * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
1186 efficient and correct insertion functions in many places.
1187 Always inherit text properties correctly if the text is
1188 permanent. Also do it for speed in temporary insertions,
1189 since I figure it's less work to continue the surrounding text
1190 properties than to break them.
1191
1192 * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
1193 completion to make it easier to enter lists.
1194
1195 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1196
1197 * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
1198 c-state-cache was clobbered.
1199
1200 * progmodes/cc-cmds.el, progmodes/cc-engine.el
1201 (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
1202 to dependency.
1203
1204 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1205
1206 * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
1207 open parens in macros (if point isn't in the same one).
1208
1209 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1210
1211 * progmodes/cc-cmds.el (c-context-open-line): New function
1212 that is the `open-line' equivalent to `c-context-line-break'.
1213
1214 * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
1215 for Emacs 21 since `indent-new-comment-line' has been changed
1216 to `comment-indent-new-line' there.
1217
1218 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1219
1220 * progmodes/cc-engine.el, progmodes/cc-langs.el
1221 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
1222 New variables containing the character sets used to recognize
1223 statement/declaration boundaries. These variables might help
1224 to support languages like javascript and awk, where newlines
1225 sometimes delimits statements.
1226
1227 (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
1228 the set of statement delimiting characters, to allow it to be
1229 changed dynamically and per-mode.
1230
1231 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1232
1233 * progmodes/cc-engine.el (c-looking-at-bos)
1234 (c-looking-at-inexpr-block, c-add-stmt-syntax)
1235 (c-guess-basic-syntax): Treat blocks directly inside function
1236 calls like "bare" statements inside function calls, and not
1237 like in-expression statements. This to make indentation of
1238 such blocks consistent with other statements inside macro calls.
1239
1240 * progmodes/cc-engine.el (c-guess-basic-syntax):
1241 Made arglist-cont anchor correctly in arglists that contain statements.
1242
1243 * progmodes/cc-engine.el (c-guess-basic-syntax):
1244 Fixed consistent anchoring of defun-block-intro in defuns in code
1245 blocks (can only occur in Pike).
1246
1247 * progmodes/cc-engine.el (c-looking-at-inexpr-block)
1248 (c-looking-at-inexpr-block-backward): Changed the arguments to
1249 require containing sexps and paren state, for better efficiency.
1250
1251 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1252
1253 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
1254 progmodes/cc-vars.el: Improved anchoring of statement and
1255 handling of labels in front of substatements.
1256
1257 (c-guess-continued-construct, c-guess-basic-syntax):
1258 Improved and unified anchoring at statements. Statements beginning
1259 with comments or labels are now avoided, by going out of
1260 blocks and containing statements if necessary. This nesting
1261 handling also fixes the case when there's a statement after a
1262 block open brace. Added the syntactic symbol `substatement-label'.
1263
1264 (c-electric-colon): Map the new `substatement-label' to
1265 `label' when consulting `c-hanging-colons-alist'.
1266
1267 (c-offsets-alist): Added substatement-label. Updated the
1268 comments for the new anchoring positions at statements.
1269
1270 * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
1271 anchor points for knr-argdecl-intro and access-label.
1272 They used to refer to some point on the same line, a bug which was
1273 neutralized by a kludge in `c-get-syntactic-indentation' which
1274 ignored such anchor points.
1275
1276 (c-get-syntactic-indentation): Removed the kludge that was
1277 necessary due to buggy anchor points.
1278
1279 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
1280 the absence of a comma before arglist-close (case 7A) in any
1281 language, since there's nothing better to do that case anyway.
1282 Added special case to make in-expression statements be
1283 recognized as normal arglist-cont if we're directly in a macro
1284 arglist, for consistency with other "bare" statements.
1285
1286 * progmodes/cc-engine.el (c-looking-at-bos): Added optional
1287 limit arg for backward searches.
1288
1289 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
1290 Anchor gcc in-expression statements at the surrounding open
1291 parenthesis. Treat a class body as an in-expression class if
1292 it's used in an object clone expression in Pike.
1293
1294 * progmodes/cc-engine.el (c-get-offset)
1295 (c-get-syntactic-indentation): Allow several anchor positions
1296 in the list of syntactic symbols. Only the first is used as
1297 the base for the offset calculation.
1298
1299 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1300
1301 * progmodes/cc-cmds.el (c-indent-defun): Indent the current
1302 macro if inside one at the top level. Do not throw an error
1303 if used at the top level outside a macro.
1304
1305 * progmodes/cc-cmds.el (c-backslash-region): Do tab width
1306 alignment only if the backslashes can't be aligned with
1307 surrounding backslashes.
1308
1309 * progmodes/cc-engine.el (c-end-of-macro): New function.
1310
1311 * progmodes/cc-engine.el (c-least-enclosing-brace):
1312 Rewritten to not be destructive.
1313
1314 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1315
1316 * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
1317 line break when point is inside the content of it; if it's in
1318 the cpp keyword a normal line break is done.
1319
1320 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
1321 cpp-macro-cont inside the argument list to a #define.
1322
1323 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1324
1325 * progmodes/cc-defs.el (c-forward-comment): Implemented a
1326 kludge to avoid the problem most forward-comment incarnations
1327 have with `\' together with comment parsing.
1328
1329 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1330
1331 * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
1332 which could cause the state returned by `c-parse-state' to
1333 lack a closed paren element. That in turn could result in
1334 very long searches, since it's common that they start from the
1335 last preceding close brace.
1336
1337 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1338
1339 * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
1340 treat else-if as a single continuation, since that'd make it
1341 hard to get the right anchor point when there's a line break
1342 between the two keywords. This change causes else-clause to
1343 be anchored on the closest preceding else-if and not always on
1344 the starting if, but that doesn't affect the indentation for
1345 any reasonably sane style. Also introduced a noerror flag.
1346
1347 (c-beginning-of-closest-statement): Removed;
1348 c-beginning-of-statement-1 now avoids the problem this one solved.
1349
1350 * progmodes/cc-engine.el (c-guess-continued-construct)
1351 (c-guess-basic-syntax): Better and more uniform anchor points
1352 for 'statement-cont and 'substatement. The effect is
1353 noticeable mostly when there's a label on the same line as the
1354 beginning of the statement, or when there are more stuff
1355 before the start of the statement.
1356
1357 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
1358 Added flag to disable looking at the type of the surrounding paren
1359 since that confuses c-beginning-of-statement-1 and a couple of
1360 other places.
1361
1362 * progmodes/cc-engine.el (c-guess-basic-syntax):
1363 Avoid stepping to the previous statement in case 18.
1364 Improvements in recognition of statement blocks on the top level.
1365
1366 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1367
1368 * progmodes/cc-engine.el (c-beginning-of-statement-1)
1369 (c-crosses-statement-barrier-p): Rewritten to get a well
1370 defined and documented behavior. This fixes some tricky cases
1371 in recognition of do-while constructs.
1372
1373 (c-backward-to-start-of-do, c-backward-to-start-of-if):
1374 Removed; use c-beginning-of-statement-1 instead.
1375
1376 (c-guess-continued-construct, c-guess-basic-syntax):
1377 Various fixes to not depend on the bugs previously in
1378 c-beginning-of-statement-1. Cleanups in cases 18 and 17 to
1379 use the new behavior of c-beginning-of-statement-1 better.
1380 Fixed recognition of catch blocks inside macros.
1381
1382 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
1383 in skipping over a macro.
1384
1385 * progmodes/cc-langs.el (c-label-kwds): New variable to
1386 contain the appropriate c-*-label-kwds value.
1387
1388 * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
1389 evaluation bug that caused the widget for
1390 c-block-comment-prefix to bug out.
1391
1392 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1393
1394 * progmodes/cc-engine.el (c-guess-basic-syntax):
1395 Improved recognition of statements: They are now recognized in
1396 contexts where they normally can't occur, e.g. on the top level or
1397 in function call arguments. This is mainly useful to recognize
1398 statements in macros at the top level, and in arguments to
1399 macros. The cases has been moved around quite a bit, and case
1400 10 has been copied to case 18. (The cases has not been
1401 renumbered because of this.)
1402
1403 (c-guess-continued-construct): New function which has the
1404 rules which are common between cases 10 and 18.
1405
1406 * progmodes/cc-engine.el (c-beginning-of-statement-1)
1407 (c-backward-to-start-of-do, c-backward-to-start-of-if):
1408 Fixes so that they really obey the passed limits.
1409
1410 (c-safe-position): Return nil if the state doesn't contain a
1411 suitable position.
1412
1413 (c-guess-basic-syntax): Fixes some too short limits in calls
1414 to c-beginning-of-statement-1. Some fixes for top level
1415 analysis in ObjC mode.
1416
1417 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1418 Fixed bug in do-while statements where the body is not a block.
1419
1420 * progmodes/cc-styles.el (c-set-style):
1421 Reset c-special-indent-hook to its global value if in override mode.
1422 Fixes problem where functions on that hook remained after
1423 style switch.
1424
1425 * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
1426 Use c-benign-error to report the c-strict-syntax-p error.
1427
1428 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1429
1430 * progmodes/cc-align.el, progmodes/cc-defs.el,
1431 progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
1432 Several fixes to treat macros as code and not literals and to
1433 handle line continuations transparently.
1434
1435 (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
1436 through whitespace and line continuations, but not comments
1437 and macros.
1438
1439 (c-in-literal): No longer recognizes macros as literals by
1440 default. An extra flag argument is required to do that.
1441
1442 (c-macro-start, c-query-macro-start)
1443 (c-query-and-set-macro-start): Added a cache for the macro
1444 start position.
1445
1446 (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
1447 more speed when limits are given. Workaround for bad behavior
1448 in forward-comment in some emacsen when it hits a buffer limit
1449 with a large repeat count.
1450
1451 (c-lineup-macro-cont): Improved behavior when
1452 c-syntactic-indentation-in-macros is nil.
1453
1454 (c-syntactic-indentation-in-macros, c-backslash-max-column)
1455 (c-auto-align-backslashes): New customization variables to
1456 control macro handling.
1457
1458 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
1459 Fixes to handle line continuations.
1460
1461 * progmodes/cc-defs.el, progmodes/cc-styles.el
1462 (c-get-style-variables, c-set-offset): Report style errors
1463 with message and ding instead of error signal. This to avoid
1464 interrupted mode init if there's some style problem.
1465
1466 (c-benign-error): New macro to report errors that doesn't need
1467 to interrupt the operation.
1468
1469 * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
1470
1471 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1472
1473 * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
1474 Removed most of the c-state-cache fiddling, since the global
1475 state cache now handles this.
1476
1477 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
1478 when there's an open paren at the very first char of the
1479 visible buffer region.
1480
1481 * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
1482 Cache the state globally and invalidate it below every buffer
1483 change with the new after change function
1484 `c-check-state-cache'. This gives a considerable performance
1485 boost when editing large functions or classes.
1486
1487 * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
1488
1489 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1490
1491 * progmodes/cc-engine.el, progmodes/cc-langs.el,
1492 progmodes/cc-align.el: Improvements to syntactic analysis
1493 inside macros:
1494
1495 (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
1496 by `c-guess-basic-syntax'.
1497
1498 (c-parse-state): Fixed bug with braces inside macros when
1499 using cached state info.
1500
1501 (c-forward-to-cpp-expression): New function to aid in
1502 syntactic analysis inside macros.
1503
1504 (c-beginning-of-statement-1, c-backward-syntactic-ws):
1505 Fixes to work better inside macros.
1506
1507 (c-forward-syntactic-ws): Whitespace between the # and the
1508 command should be allowed in preprocessor directives.
1509
1510 (c-lineup-macro-cont): New lineup function to get context
1511 sensitive indentation inside macros.
1512
1513 (c-offsets-alist): Made `c-lineup-macro-cont' the default for
1514 cpp-macro-cont.
1515
1516 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1517
1518 * progmodes/cc-engine.el (c-beginning-of-statement-1)
1519 (c-forward-syntactic-ws): Fixes to handle continued lines.
1520
1521 (c-backward-to-start-of-if, c-guess-basic-syntax):
1522 Do syntactic analysis inside macros.
1523
1524 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1525
1526 * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
1527 possible by the more flexible state cache.
1528
1529 * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
1530 (c-whack-state-after, c-hack-state)
1531 (c-narrow-out-enclosing-class, c-guess-basic-syntax):
1532 Improved the state cache system. It now can use partial info from
1533 an old cached state to calculate a new one at a different
1534 position. Removed some kludges to avoid the state cache.
1535 The new functions `c-whack-state-before' and `c-whack-state-after'
1536 replace the now obsolete `c-whack-state'.
1537
1538 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1539 Optimized backing through a macro. This can speed things up
1540 quite a bit when there are long macros before point.
1541
1542 (c-beginning-of-macro): Do not ignore the limit.
1543
1544 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1545
1546 * progmodes/cc-cmds.el (c-electric-continued-statement):
1547 Fixed a bug where the keyword wasn't reindented correctly if
1548 followed by another keyword or identifier.
1549
1550 * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
1551 pairs that are in macros. Fixes some cases where e.g. the
1552 second of two "do { } while (0)" macros after each other
1553 indented differently.
1554
1555 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1556
1557 * progmodes/cc-engine.el (c-beginning-of-macro)
1558 (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
1559 directive when it begins a line, to allow for script
1560 interpreter lines like "#!/usr/bin/pike" at the beginning of
1561 the file.
1562
1563 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1564
1565 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
1566 Recognize brace blocks inside a parenthesis expression as
1567 inexpr-statement. Useful when writing statements as macro arguments.
1568
1569 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1570
1571 * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
1572 (c-mask-comment): Broke out the comment masking code from
1573 `c-fill-paragraph' to a new function `c-mask-comment', to be
1574 able to do the same thing in `c-do-auto-fill'. This should
1575 make auto-fill-mode behave better.
1576
1577 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1578
1579 * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
1580 Check `executing-macro' to avoid blinking parens when macros
1581 are executed.
1582
1583 * progmodes/cc-mode.el, progmodes/cc-styles.el
1584 (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
1585 consistency with `c-setup-paragraph-variables' (which was
1586 placed there due to the dependency from `c-set-style').
1587
1588 * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
1589 incomplete initialization from the style variable fallbacks if
1590 there already is a style called "user" defined when CC Mode
1591 starts up for the first time.
1592
1593 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1594
1595 * progmodes/cc-cmds.el, progmodes/cc-vars.el
1596 (c-comment-indent, c-indent-comment-alist): Added new variable
1597 `c-indent-comment-alist' to allow better control over
1598 `c-comment-indent'.
1599
1600 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1601
1602 * progmodes/cc-align.el (c-lineup-C-comments): Try to match
1603 both `comment-start-skip' and the comment prefix on the
1604 current line with the comment starter, so that we line up
1605 comments which matches `c-comment-prefix-regexp' on the first
1606 line (after the `/') without the need to make
1607 `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
1608
1609 * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
1610 (c-set-style-1, c-setup-paragraph-variables): Moved the
1611 variable initialization based on `c-comment-prefix-regexp' to
1612 a new function `c-setup-paragraph-variables', which is now
1613 used both at mode init and when a style that sets
1614 `c-comment-prefix-regexp' is activated.
1615
1616 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1617
1618 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
1619 Better handling of C++ template args to avoid confusion with
1620 `<' and `>' used as operators in member init expressions.
1621
1622 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1623
1624 * progmodes/cc-engine.el (c-most-enclosing-brace)
1625 (c-least-enclosing-brace): Added optional second arg to limit
1626 the search to before a certain point.
1627
1628 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
1629 which could cause incorrect analysis if a cached state is used
1630 (usually only happens when an electric key reindents a line).
1631
1632 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1633
1634 * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
1635 insulation. This time for XEmacs 21.
1636
1637 * progmodes/cc-engine.el, progmodes/cc-langs.el:
1638 Improved handling of inheritance lists:
1639
1640 (c-beginning-of-inheritance-list): Rewritten to use a more
1641 syntactically correct method that doesn't get confused by
1642 badly placed linebreaks and comments.
1643
1644 (c-guess-basic-syntax): Several fixes to the handling of
1645 inheritance lists in combination with templates. 'inher-intro
1646 is now anchored on the start of the class declaration and not
1647 the indentation of the current line. Switched places on cases
1648 5D.3 and 5D.4 and made them use more syntactically correct methods.
1649
1650 (c-inher-key): Removed since the code in
1651 `c-guess-basic-syntax' now uses token-based search.
1652
1653 * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
1654 Added a submenu to access some toggles.
1655
1656 (c-toggle-syntactic-indentation): New function to toggle the
1657 variable `c-syntactic-indentation'.
1658
1659 * progmodes/cc-styles.el (c-set-style): Improved the error
1660 message for incorrect offsets a bit.
1661
1662 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1663
1664 * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
1665 sexp follows point immediately, instead find the closest
1666 following open paren that ends on another line.
1667
1668 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1669
1670 * progmodes/cc-align.el (c-lineup-cascaded-calls):
1671 New indentation function.
1672
1673 * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
1674 directives with whitespace between the '#' and the name.
1675
1676 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1677
1678 * progmodes/cc-engine.el (c-forward-syntactic-ws)
1679 (c-backward-syntactic-ws): Handle line continuations as
1680 whitespace. Don't move past a macro if that'd take us past
1681 the limit.
1682
1683 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1684
1685 * progmodes/cc-engine.el (c-beginning-of-macro)
1686 (c-forward-syntactic-ws): Multiline strings begin with `#"' in
1687 Pike, and that shouldn't be confused with a preprocessor directive.
1688
1689 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1690
1691 * progmodes/cc-cmds.el: Extended the kludge to interoperate
1692 with the delsel and pending-del packages wrt to the new
1693 function `c-electric-delete-forward'.
1694
1695 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1696
1697 * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
1698 the block itself, i.e. only indent the contents in it.
1699
1700 * progmodes/cc-styles.el (c-set-style): Use the default
1701 argument to completing-read instead of initial-contents, if
1702 the function is recent enough to support it.
1703
1704 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1705
1706 * progmodes/cc-mode.el (c-mode-help-address):
1707 Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
1708 I've almost never seen a bug reported this way that should go
1709 to that list, but it's rather common that the reports concern
1710 the combination CC Mode and XEmacs instead.
1711
1712 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1713
1714 * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
1715 brace-elseif-brace and brace-catch-brace are active and
1716 there's a "else if"-block before the catch block.
1717
1718 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
1719 Detect function headers that span lines.
1720
1721 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1722
1723 * progmodes/cc-cmds.el (c-electric-brace)
1724 (c-electric-semi&comma, c-electric-colon, c-electric-paren):
1725 Check for last on line only for doing the auto-newline-mode
1726 stuff, not for the reindentation.
1727
1728 * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
1729 handling of c-syntactic-indentation: When it's nil, indent the
1730 new lines but don't reindent the current one. Reindent the
1731 line only when the inserted brace comes first on it, instead
1732 of last.
1733
1734 * progmodes/cc-cmds.el (c-electric-brace)
1735 (c-electric-semi&comma): Fixed two places where
1736 c-syntactic-indentation wasn't heeded.
1737
1738 * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
1739 inside a macro.
1740
1741 * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
1742 little harder to find a fallback position when an orphan else
1743 is found. Fixed case where an else following a do-while
1744 statement could be associated with an if inside the do-while.
1745
1746 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1747
1748 * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
1749 for the fallback to add a single space after the comment prefix.
1750
1751 * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
1752 behavior in some special cases, especially for single-line comments.
1753 Avoid breaking up a comment starter or ender.
1754
1755 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1756
1757 * progmodes/cc-cmds.el (c-outline-level): Applied patch from
1758 the Emacs sources to make this work in invisible text.
1759
1760 * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
1761 not be confused by a later ':' on the same line as the label.
1762
1763 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1764
1765 * progmodes/cc-cmds.el, progmodes/cc-mode.el
1766 (c-electric-delete, c-electric-delete-forward):
1767 Split `c-electric-delete' into two functions where
1768 `c-electric-delete-forward' always deletes forward and
1769 `c-electric-delete' only contains the code necessary for
1770 XEmacs to choose between backward and forward deletion.
1771 `c-electric-delete-forward' is now bound to C-d to get the
1772 electric behavior on that key too.
1773
1774 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1775
1776 * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
1777 use of c-comment-prefix-regexp, which caused an error when
1778 it's a list.
1779
1780 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1781
1782 * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
1783 (c-default-style): Removed the hardcoded switch to "java" style
1784 in Java mode. It's instead taken care of by the default value
1785 for c-default-style.
1786
1787 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1788
1789 * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
1790 was triggered by equal signs in string literals.
1791
1792 2002-04-21 Kim F. Storm <storm@cua.dk>
1793
1794 * subr.el (insert-buffer-substring-no-properties): New function.
1795 (insert-buffer-substring-as-yank): New function.
1796
1797 2002-04-21 Glenn Morris <gmorris@ast.cam.ac.uk>
1798
1799 * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
1800 (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
1801 prefix from scroll commands. Ignore end-of-buffer errors from
1802 other windows.
1803 (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
1804 commands.
1805 (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all): New
1806 functions.
1807
1808 * files.el: (auto-mode-alist): .f95 files in f90-mode.
1809
1810 * progmodes/fortran.el: (fortran-beginning-do): Make regexp match
1811 a DO statement irrespective of numeric label.
1812
1813 2002-04-20 Glenn Morris <gmorris@ast.cam.ac.uk>
1814
1815 * files.el (auto-save-file-name-transforms): Doc fix.
1816 Add third element to "uniquify" filenames.
1817 (make-auto-save-file-name): Use new element of
1818 auto-save-file-name-transforms.
1819 * startup.el (command-line): Add third element to
1820 auto-save-file-name-transforms.
1821
1822 2002-04-19 Stefan Monnier <monnier@cs.yale.edu>
1823
1824 * files.el (file-name-non-special): Don't mangle the 0'th arg and the
1825 return value of file-name-completion and file-name-all-completions.
1826
1827 2002-04-19 Glenn Morris <gmorris@ast.cam.ac.uk>
1828
1829 * progmodes/f90.el: Update maintainer.
1830 (f90-line-continued): Recognize blank/comment lines embedded in
1831 continuation lines.
1832 (f90-looking-at-program-block-start): No extra indentation after
1833 function or subroutine keyword appears in single quotes.
1834
1835 2002-04-19 Miles Bader <miles@gnu.org>
1836
1837 * custom.el (customize-mark-to-save, customize-mark-as-set)
1838 (custom-quote): Moved here from `cus-edit.el'.
1839 * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
1840 (custom-quote): Moved to `custom.el'.
1841
1842 2002-04-18 Richard M. Stallman <rms@gnu.org>
1843
1844 * facemenu.el (list-text-properties-at): Command deleted.
1845
1846 * rect.el (insert-rectangle): Use insert-for-yank.
1847
1848 * register.el (insert-register): Use insert-for-yank.
1849 (describe-register-1): Discard text props in yank-excluded-properties.
1850
1851 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
1852 Fix parts in construction of `menu-item' item at end.
1853
1854 * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
1855
1856 * subr.el (insert-for-yank): New function.
1857
1858 * simple.el (yank-excluded-properties): New user option.
1859 (yank-pop, yank): Use insert-for-yank.
1860
1861 2002-04-19 Kim F. Storm <storm@cua.dk>
1862
1863 * simple.el (pop-to-mark-command): Do not set this-command.
1864 (set-mark-command): Always jump to mark when called with arg.
1865
1866 2002-04-18 Francesco Potorti` <pot@gnu.org>
1867
1868 * comint.el (comint-watch-for-password-prompt): Remove whitespace
1869 at the beginning of password prompts.
1870
1871 2002-04-18 Andrew Innes <andrewi@gnu.org>
1872
1873 * facemenu.el: Remove require of wid-edit.
1874
1875 2002-04-17 Colin Walters <walters@verbum.org>
1876
1877 * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
1878 one window.
1879 (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
1880 (ibuffer-current-state-list): Reinstate optional argument; now
1881 just call `point' inside the mapping function.
1882
1883 2002-04-17 Francesco Potorti` <pot@gnu.org>
1884
1885 * dired-aux.el (dired-star-subst-regexp)
1886 (dired-quark-subst-regexp): New constants.
1887 (dired-do-shell-command, dired-shell-stuff-it): Use them.
1888 (dired-do-shell-command): Raise an error if both `*' and `?'
1889 substitution marks are used in the same command.
1890 (dired-shell-stuff-it): Substitute all instances of `*' and `?'
1891 in a command given via dired-do-shell-command.
1892
1893 * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
1894
1895 2002-04-16 Jason Rumney <jasonr@gnu.org>
1896
1897 * international/mule-cmds.el (locale-preferred-coding-systems):
1898 Add "jpn".
1899
1900 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
1901
1902 * term.el (term-emulate-terminal): Fix last change.
1903
1904 2002-04-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1905
1906 * bindings.el (mode-line-mode-menu): Update names to reflect
1907 latest changes.
1908
1909 2002-04-16 Mike Williams <mdub@bigfoot.com>
1910
1911 * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
1912 compilation error.
1913
1914 2002-04-16 Michael Kifer <kifer@cs.stonybrook.edu>
1915
1916 * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
1917 (viper-ex-print-buf-name): New variable.
1918 (viper-ex-print-buf): New variable.
1919 (ex-token-alist): Invoke ex-print on ":print" Ex commands.
1920 (ex-g-marks): New variable.
1921 (ex-print): New function.
1922 (ex-print-display-lines): New function.
1923
1924 * viper.el (viper-set-hooks): Add window-setup-hook, which sets
1925 the cursor color.
1926
1927 * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
1928 when the window is not in its own frame.
1929 (ediff-clone-buffer-for-region-comparison): More robust window
1930 arrangement while prompting for regions to compare.
1931 (ediff-make-cloned-buffer): Use generate-new-buffer-name.
1932 (ediff-inferior-compare-regions): Deleted unused vars
1933 ctl-buf and quit-now.
1934
1935 2002-04-15 Richard M. Stallman <rms@gnu.org>
1936
1937 * facemenu.el (facemenu-add-new-face): Use this only for faces.
1938 Delete arg MENU.
1939 (facemenu-add-new-color): New function.
1940 (facemenu-set-foreground, facemenu-set-background):
1941 Use facemenu-add-new-color.
1942
1943 2002-04-15 Eli Zaretskii <eliz@is.elta.co.il>
1944
1945 * ediff-init.el (ediff-current-diff-face-A)
1946 (ediff-current-diff-face-B, ediff-current-diff-face-C)
1947 (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
1948 (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
1949 (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
1950 (ediff-even-diff-face-B, ediff-even-diff-face-C)
1951 (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
1952 (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
1953 (ediff-odd-diff-face-Ancestor): Add special color definitions for
1954 tty and MS-DOS displays.
1955
1956 2002-04-15 Andrew Innes <andrewi@gnu.org>
1957
1958 * facemenu.el: Require wid-edit.
1959
1960 2002-04-15 Miles Bader <miles@gnu.org>
1961
1962 * faces.el (highlight): Force foreground to be black on a tty, so
1963 this face is readable on a dark-background tty.
1964 * wid-edit.el (widget-field-face, widget-single-line-field-face):
1965 Likewise.
1966
1967 2002-04-14 Kim F. Storm <storm@cua.dk>
1968
1969 * simple.el (pop-to-mark-command, push-mark-command): New commands.
1970 (set-mark-command): Use them.
1971 Enhanced functionality when command is repeated:
1972 - If first command set the mark (no prefix arg), repeat temporarily
1973 enables transient-mark-mode.
1974 - If first command jumped to mark off ring (with argument),
1975 repeat (with or without arg) jump to next mark off ring.
1976 - Use C-u C-u prefix to set mark after jump.
1977 (exchange-point-and-mark): Temporarily enable transient-mark-mode
1978 if prefix arg.
1979
1980 2002-04-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1981
1982 * speedbar.el (speedbar-tag-hierarchy-method)
1983 (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
1984
1985 2002-04-14 Mike Williams <mdub@bigfoot.com>
1986
1987 * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
1988 beginning of buffer.
1989
1990 2002-04-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
1991
1992 * speedbar.el (speedbar-generic-item-info)
1993 (speedbar-sort-tags): Doc fix.
1994 (speedbar-add-supported-extension): Fix typo in interactive spec.
1995
1996 2002-04-13 Colin Walters <walters@verbum.org>
1997
1998 * ibuffer.el (ibuffer-forward-line): Just skip header if we're
1999 only moving one line forward.
2000 (ibuffer-map-lines): Preserve point position even if we delete
2001 lines. Only call mapping functions with buffer and mark
2002 arguments; the other two were unused.
2003 (ibuffer-redisplay, ibuffer-update): Always skip special areas.
2004
2005 * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
2006
2007 * calc/calc-bin.el (math-format-radix-float): Use `when'.
2008
2009 * calc/calc.el (math-format-number): Load `calc-ext' before we
2010 call `math-group-float'.
2011
2012 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2013 Renamed from `gamegrid-add-score'.
2014 (gamegrid-add-score-insecure): Restored from the old
2015 `gamegrid-add-score'.
2016 (gamegrid-add-score): Just dispatch on `system-type' to one of the
2017 previous two functions.
2018
2019 2002-04-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2020
2021 * iswitchb.el: Update commentary to include new function
2022 iswitchb-exclude-nonmatching.
2023
2024 2002-04-12 John Wiegley <johnw@gnu.org>
2025
2026 * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
2027 operating systems to the regexp used to detect a script's interpreter.
2028
2029 2002-04-12 Eli Zaretskii <eliz@is.elta.co.il>
2030
2031 * frame.el (frames-on-display-list): Use `equal' to compare the
2032 `display' frame parameter to the argument DISPLAY.
2033
2034 2002-04-12 Dave Love <fx@gnu.org>
2035
2036 * help.el (string-key-binding): Deal with margin events.
2037
2038 2002-04-12 Francesco Potorti` <pot@gnu.org>
2039
2040 * comint.el (comint-password-prompt-regexp): Match " SMB password".
2041
2042 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
2043
2044 * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
2045
2046 * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
2047
2048 * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
2049 (buffer-syntactic-context-depth): New funs.
2050
2051 * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
2052 on variables.
2053
2054 * emacs-lisp/debug.el (debug-on-entry): Use push.
2055 (debugger-make-xrefs): Don't assume point-min == 1.
2056
2057 * progmodes/cc-engine.el (c-backward-to-start-of-if):
2058 Don't assume point-min == 1.
2059
2060 * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
2061 (etags-list-tags, etags-tags-apropos, select-tags-table):
2062 Don't assume point-min == 1.
2063
2064 2002-04-12 Mike Williams <mdub@bigfoot.com>
2065
2066 * textmodes/sgml-mode.el (sgml-guess-indent): New function.
2067
2068 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
2069
2070 * textmodes/fill.el (fill-context-prefix): Fix up last change.
2071
2072 * simple.el (line-move): Use memq rather than or.
2073 (transpose-sexps): Don't presume as much of forward-sexp's behavior.
2074 (do-auto-fill): Use fill-move-to-break-point.
2075 (syntax-code-table): Remove.
2076
2077 * textmodes/fill.el (canonically-space-region): Obey sentence-end.
2078 Don't add spaces at end of sentences at end of line.
2079 (fill-move-to-break-point): Make sure the result is always greater
2080 than linebeg, so we ensure forward progress.
2081 (fill-region-as-paragraph): Compare to `to' rather than eobp.
2082 (fill-paragraph): Don't rebind fill-paragraph-function.
2083
2084 2002-04-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2085
2086 * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
2087
2088 2002-04-11 Andreas Schwab <schwab@suse.de>
2089
2090 * files.el (file-name-non-special): Handle return value of t from
2091 `file-name-completion'.
2092
2093 2002-04-10 Stefan Monnier <monnier@cs.yale.edu>
2094
2095 * textmodes/fill.el (fill-context-prefix): Match the two prefixes
2096 differently to avoid pathological exponential-time case.
2097 (adaptive-fill-regexp): Add ! and %.
2098 (fill-delete-prefix): Remove indentation while removing prefix.
2099 (fill-delete-newlines): Obey sentence-end.
2100 (fill-move-to-break-point, fill-newline): New functions extracted
2101 from fill-region-as-paragraph.
2102 (fill-region-as-paragraph): Use them.
2103 Don't fiddle with fill-indent-according-to-mode.
2104
2105 2002-04-10 Colin Walters <walters@verbum.org>
2106
2107 * play/snake.el (snake-score-file): Default to just "snake-scores".
2108
2109 * play/tetris.el (tetris-score-file): Likewise.
2110
2111 * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
2112 use `update-game-score'.
2113
2114 * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
2115 (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
2116 ourselves; take it as an argument. Caller updated.
2117 (ibuffer-mode): Make mode-class special.
2118
2119 2002-04-10 Richard M. Stallman <rms@gnu.org>
2120
2121 * dired.el (dired-view-command-alist): New variable.
2122 (dired-view-file): Use external viewers for some files names.
2123
2124 * mouse.el (mouse-drag-region-1): Display region highlight
2125 only in the selected window.
2126
2127 * subr.el (remove-hook): When there are no more local hooks,
2128 kill the buffer-local value.
2129
2130 * isearch.el (isearch-mode): Don't call make-frame-visible
2131 if frame is already visible.
2132
2133 * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
2134
2135 2002-04-09 Emmanuel Briot <briot@act-europe.fr>
2136
2137 * progmodes/ada-prj.el: Add support for the new project file
2138 fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd. Fix
2139 widget handling for Emacs 21. ada-mode now only supports a single
2140 active project file, instead of one per buffer. This is far less
2141 confusing.
2142
2143 * progmodes/ada-stmt.el: Menu changed from Statements to
2144 Templates.
2145 (ada-func-or-proc-name): Get real subprogram name, after change in
2146 ada-mode.el.
2147
2148 * progmodes/ada-xref.el: Ada-mode no longer supports a different
2149 project file per buffer. This was too complex. Instead, there is
2150 now a single active project file at any given time, and the user
2151 can switch the active one through the Ada menu. This revision
2152 also provides better handling of the Windows command line, and the
2153 various available shells on that platform. ada-mode is now fully
2154 integrated with the GNU visual debugger gvd, see
2155 http://libre.act-europe.fr.
2156 (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ. This
2157 is only available with GNAT 3.14.
2158 (ada-prj-gnatfind-switches, ada-cd-command): New variable.
2159 (ada-quote-cmd): New function.
2160 (ada-initialize-runtime-library): Get the location of the actual
2161 runtime the compiler will be using, including support for
2162 cross-platform environments.
2163 (ada-treat-cmd-string): Add support for the new variable
2164 ${full_current} add support for debug-pre-cmd and debug-post-cmd,
2165 two commands to run just prior to running the debugger, and just
2166 after starting it. This provide better support for cross-platform
2167 and remote debugging.
2168 (ada-get-absolute-dir): Remove, replace with expand-file-name.
2169 (ada-gdb-application): New parameter executable-name.
2170 (ada-get-ali-file-name): Better handling of separate packages.
2171 Checkin on behalf of the ada-mode maintainer.
2172
2173 * progmodes/ada-mode.el (ada-case-exception-file)
2174 (ada-indent-handle-comment-special): New variables.
2175 (ada-case-exception-substring): New variable. Casing exceptions
2176 can now also be defined for substrings, in addition to full
2177 identifier names. This provides more flexibility.
2178 (ada-align-list): New function, provide support for align.el in
2179 ada-mode.
2180 (ada-procedure-start-regexp): Add support for operators and
2181 generic formal subprograms and packages.
2182 (ada-imenu-comment-re): New variable.
2183 (ada-imenu-generic-expression): Add support for protected types.
2184 (ada-mode): Set comment-start only after running ada-mode-hook, so
2185 that the user can change ada-comment-start in the hook. Add
2186 support for ispell in comments. Add support for align.el.
2187 (ada-save-exception-file, ada-create-case-exception-substring)
2188 (ada-adjust-case-substring): New functions.
2189 (ada-get-current-indent): Properly handles keywords with
2190 uppercases.
2191 (ada-goto-matching-end): Rewritten, fixes problems in the handling
2192 of nested blocks.
2193 (ada-untab-hard): Do not touch the contents of comments and
2194 strings.
2195
2196 2002-04-09 Mike Williams <mdub@bigfoot.com>
2197
2198 * textmodes/sgml-mode.el (sgml-lexical-context):
2199 Use sgml-parse-tag-backward to find start point.
2200 (sgml-looking-back-at): Doc fix.
2201
2202 2002-04-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2203
2204 * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
2205 for prompt.
2206
2207 2002-04-08 Stefan Monnier <monnier@cs.yale.edu>
2208
2209 * autorevert.el (auto-revert-mode, global-auto-revert-mode):
2210 Use define-minor-mode.
2211 (auto-revert-buffers): Use with-current-buffer.
2212 Avoid changing the minor modes.
2213
2214 * international/iso-acc.el (iso-accents-accent-key): Use `vector'
2215 rather than char-to-string since last-input-char can be any event.
2216
2217 * international/titdic-cnv.el (tit-dictionary):
2218 Use defvar for non-constants.
2219
2220 * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
2221 (global-cwarn-mode): Use easy-mmode-define-global-mode.
2222 (cwarn-font-lock-keywords): New function.
2223 Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
2224 (cwarn-font-lock-match): New macro.
2225 (cwarn-font-lock-match-assignment-in-expression)
2226 (cwarn-font-lock-match-dangerous-semicolon)
2227 (cwarn-font-lock-match-reference): Use it.
2228
2229 * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
2230 Use defvar rather than defconst since it's meant to be settable.
2231 (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
2232 (cperl-fix-line-spacing): Add missing \ in [ t].
2233
2234 * loadup.el: Call ucs-unify-8859 directly rather than
2235 unify-8859-on-encoding-mode.
2236 (fns-*.el): Don't use it anymore. Keep the load-history in purespace.
2237
2238 * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
2239 (sgml-mode): Use it for comment-line-break-function.
2240
2241 2002-04-08 Jason Rumney <jasonr@gnu.org>
2242
2243 * international/mule-cmds.el (reset-language-environment):
2244 Handle coding-systems not being defined yet.
2245
2246 2002-04-08 Sam Steingold <sds@gnu.org>
2247
2248 * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
2249 (vc-cvs-checkin): Use it.
2250
2251 2002-04-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2252
2253 * files.el (display-time-string): Fix last change.
2254
2255 2002-04-07 Sam Steingold <sds@gnu.org>
2256
2257 * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
2258
2259 2002-04-07 Jason Rumney <jasonr@gnu.org>
2260
2261 * international/mule-cmds.el (set-default-coding-systems)
2262 (reset-language-environment): Preserve eols on
2263 default-process-coding-system.
2264 (coding-system-change-text-conversion): Fix case where CODING is nil.
2265
2266 2002-04-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2267
2268 * subr.el (play-sound): Move here from simple.el.
2269
2270 * simple.el (play-sound): Move to subr.el.
2271
2272 2002-04-06 Richard M. Stallman <rms@gnu.org>
2273
2274 * files.el (display-time-string-forms): Mark as risky.
2275
2276 * enriched.el (enriched-decode-foreground, enriched-decode-background):
2277 Use proper format for desired elts of `face' property.
2278 Don't test display-color-p; make the properties unconditionally.
2279
2280 * progmodes/compile.el (compilation-error-regexp-alist):
2281 New alternatives for FILE:LINE.COL and for ranges of columns and lines.
2282
2283 2002-04-06 Per Abrahamsen <abraham@dina.kvl.dk>
2284
2285 * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
2286 for customization type.
2287 Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
2288
2289 2002-04-06 Mike Williams <mdub@bigfoot.com>
2290
2291 * textmodes/xml-lite.el: Remove.
2292
2293 2002-04-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2294
2295 * simple.el (play-sound): New function (uses play-sound-internal).
2296
2297 2002-04-04 Richard M. Stallman <rms@gnu.org>
2298
2299 * files.el (mode-line-format, mode-line-modified)
2300 (mode-line-mule-info, mode-line-buffer-identification)
2301 (mode-line-modes, mode-line-position): Explicitly mark as risky.
2302 (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
2303
2304 * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
2305
2306 * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
2307 Use (syntax-table), not old-syntax-table.
2308
2309 * enriched.el (enriched-decode-foreground)
2310 (enriched-decode-background): Don't call facemenu-get-face.
2311
2312 2002-04-04 Mike Williams <mdub@bigfoot.com>
2313
2314 * textmodes/sgml-mode.el: Add missing require.
2315 (sgml-lexical-context): Fix up CDATA detection for boundary cases.
2316
2317 2002-04-03 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2318
2319 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
2320 spot indicated by text property `cvs-goal-column', if present.
2321
2322 * pcvs-info.el (cvs-fileinfo-pp): Use text property
2323 `cvs-goal-column' to indicate position of file name (if present).
2324
2325 2002-04-03 Richard M. Stallman <rms@gnu.org>
2326
2327 * mail/mailabbrev.el (mail-abbrev-complete-alias):
2328 Call mail-abbrev-make-syntax-table.
2329
2330 * format.el (format-deannotate-region): Doc fix.
2331
2332 * enriched.el (enriched-face-ans): Delete special treatment
2333 for fg:... and bg:... faces.
2334 (enriched-decode-foreground): Return a list that specifies
2335 the foreground color, rather than creating a face.
2336 (enriched-decode-background): Likewise.
2337
2338 * shell.el (shell-mode): Don't reinit comint-input-ring
2339 if that was already done.
2340
2341 2002-04-03 Edward M. Reingold <reingold@emr.cs.iit.edu>
2342
2343 * solar.el (solar-spring-or-summer-season): Delete.
2344 (solar-northern-spring-or-summer-season): New variable.
2345 (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
2346 Rewrite.
2347
2348 * solar.el (diary-sabbath-candles-minutes): New variable.
2349 (diary-sabbath-candles): Use it instead of fixed 18 minutes.
2350
2351 * calendar.el (update-calendar-mode-line): Force mode-line update.
2352 Make date under the cursor available as `date' in
2353 calendar-mode-line-format.
2354 Eval items in calendar-mode-line-format list.
2355
2356 * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
2357 (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
2358
2359 * cal-tex.el (cal-tex-latexify-list): Fix doc string.
2360
2361 * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
2362 (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
2363 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2364 (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
2365
2366 * cal-tex.el: Change all instances (interactive "P") to
2367 (interactive "p").
2368 (cal-tex-cursor-month): Add hfill and newline at end of month that
2369 ended on Saturday.
2370 (cal-tex-preamble): Change to LaTeX2e.
2371 (cal-tex-cursor-filofax-year): Don't use default month names in
2372 LaTeX macros in case user changes them.
2373 (cal-tex-month-name): New function. Used throughout in case user
2374 has done something funny with month names.
2375
2376 * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
2377 (diary-rosh-hodesh): Spelling correction.
2378
2379 2002-04-03 Mike Williams <mdub@bigfoot.com>
2380
2381 * textmodes/sgml-mode.el (sgml-lexical-context)
2382 (sgml-parse-tag-backward): Extend support for CDATA to include
2383 conditional sections.
2384
2385 2002-04-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2386
2387 * cus-start.el: Rename `autoselect-window' to
2388 `mouse-autoselect-window'.
2389
2390 2002-04-02 Richard M. Stallman <rms@gnu.org>
2391
2392 * files.el (hack-one-local-variable):
2393 Clear text props from string value.
2394
2395 2002-04-02 Stefan Monnier <monnier@cs.yale.edu>
2396
2397 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
2398 (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
2399 Use regexp-opt.
2400 (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
2401 from F95.
2402 (f90-procedures-re): Add `null' and `cpu_time' from F95.
2403 (f90-font-lock-keywords-1): Minor reorganization so we don't need
2404 `override' any more.
2405 (f90-font-lock-keywords-3): Use `keep' rather than `override'.
2406 (f90-indent-subprogram): Use indent-region.
2407 (f90-break-line): Use indent-according-to-mode.
2408
2409 2002-04-02 Mike Williams <mdub@bigfoot.com>
2410
2411 * textmodes/sgml-mode.el (sgml-close-tag): Rename from
2412 sgml-insert-end-tag. Simplify by using sgml-lexical-context.
2413 (sgml-get-context): Remove use of sgml-inside-tag-p.
2414 (sgml-inside-tag-p): Remove.
2415 (sgml-looking-back-at): Short-circuit at beg of buffer.
2416 (sgml-lexical-context, sgml-calculate-indent): Add support for
2417 CDATA sections.
2418
2419 2002-04-01 Stefan Monnier <monnier@cs.yale.edu>
2420
2421 * help.el (help-key-description): New fun.
2422 (describe-key-briefly, describe-key): Use it and
2423 this-single-command-raw-keys plus new arg `untranslated'.
2424
2425 * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
2426 (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
2427 (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
2428 (sgml-insert-end-tag): New funs taken from xml-lite.el.
2429 (sgml-calculate-indent): Use them.
2430 (sgml-slash-matching): Rename from sgml-slash.
2431 (sgml-slash): Copied from xml-lite and changed to use
2432 sgml-slash-matching and sgml-quick-keys.
2433
2434 * international/mule-cmds.el (standard-keyboard-coding-systems):
2435 Add koi8-u and koi8-r.
2436
2437 * eshell/.cvsignore: New file.
2438
2439 * eshell/esh-groups.el: Remove.
2440
2441 * progmodes/tcl.el: Change maintainer.
2442 (tcl-electric-hash-style): Change default to nil.
2443 (tcl-imenu-generic-expression): Use tcl-proc-regexp.
2444 (tcl-do-auto-fill): Remove.
2445 (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
2446
2447 2002-04-01 Mike Williams <mdub@bigfoot.com>
2448
2449 * textmodes/sgml-mode.el: Doc fixes.
2450 (sgml-mode): Set indent-line-function to sgml-indent-line.
2451 (sgml-calculate-indent): Add an explicit check for 'text syntax,
2452 to protect against future enhancements to sgml-lexical-context.
2453 (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
2454
2455 * textmodes/xml-lite.el: Removed much redundant stuff.
2456 (xml-lite-parse-tag-backward): Simplify parsing by assuming we
2457 always start within text. Make use of sgml-unclosed-tag-p.
2458
2459 2002-04-01 Ville Skytt\e,Ad\e(B <ville.skytta@xemacs.org>
2460
2461 * tcl.el (tcl-imenu-generic-expression): New value.
2462 (tcl-imenu-create-index-function): Function deleted.
2463 (tcl-mode): Check for filladapt-mode.
2464 Use tcl-imenu-generic-expression instead of
2465 tcl-imenu-create-index-function.
2466 (inferior-tcl-mode): Doc fix.
2467 Change not legally significant.
2468
2469 2002-04-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2470
2471 * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
2472
2473 * window.el (handle-select-window): New function.
2474 Update copyright.
2475
2476 2002-04-01 Richard M. Stallman <rms@gnu.org>
2477
2478 * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
2479
2480 * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
2481 tool-bar-add-item, and new arg MAP.
2482 (tool-bar-add-item): Now calls tool-bar-local-item.
2483 (tool-bar-local-item-from-menu): Renamed from
2484 tool-bar-add-item-from-menu, and new arg IN-MAP.
2485 (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
2486
2487 * help-fns.el (help-with-tutorial): Allow various ways
2488 to specify the text in the [...] line, in handling the <...> line.
2489
2490 * progmodes/idlw-rinfo.el (idlwave-system-routines):
2491 WOLRDTITLE => WORLDTITLE. SUPRESS_VALUE => SUPPRESS_VALUE.
2492
2493 * subr.el (redraw-modeline): Define alias.
2494
2495 2002-03-31 Richard M. Stallman <rms@gnu.org>
2496
2497 * files.el (file-expand-wildcards): Use save-match-data.
2498
2499 * files.el (format-alist): Mark as risky.
2500
2501 * simple.el (kill-new): Doc fix.
2502
2503 * emacs-lisp/byte-opt.el (side-effect-free-fns)
2504 (side-effect-and-error-free-fns): Add many functions, remove some.
2505
2506 2002-03-30 Richard M. Stallman <rms@gnu.org>
2507
2508 * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
2509
2510 2002-03-30 Eli Zaretskii <eliz@gnu.org>
2511
2512 * font-lock.el (save-buffer-state): Fix last change.
2513
2514 * files.el (auto-save-file-name-transforms): Fix last change.
2515
2516 * startup.el (command-line): Fix last change.
2517
2518 2002-03-29 Richard M. Stallman <rms@gnu.org>
2519
2520 * subr.el (play-sound-file): Moved to simple.el.
2521
2522 * simple.el (play-sound-file): Moved from subr.el, made unconditional.
2523
2524 2002-03-29 Colin Walters <walters@verbum.org>
2525
2526 * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
2527 instead of `forward-line'.
2528 (ibuffer-forward-line): Be sure to skip over special properties
2529 before moving, too.
2530
2531 * calc/calc.el (calc-was-split): Var deleted.
2532 (calc): Remove reference to it.
2533 (calc): Ditto.
2534 (calc-quit): Ditto.
2535 (calc-init-base): Ditto.
2536
2537 * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
2538
2539 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
2540
2541 * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
2542 instead of nil when point is outside of any tag.
2543 (sgml-beginning-of-tag): Adjust to the change.
2544 (sgml-calculate-indent): Use the new info returned by
2545 sgml-lexical-context. Try to handle unclosed tags.
2546
2547 * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
2548 at unclosed tags unless it is at indentation.
2549 Kill nested unclosed tags.
2550 (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
2551 (xml-lite-mode): Use sgml-indent-line instead.
2552
2553 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
2554
2555 * files.el (auto-save-file-name-transforms): Don't run "\\2" via
2556 expand-file-name.
2557
2558 * startup.el (command-line): Recompute auto-save-file-name-transforms
2559 using the updated value of temporary-file-directory.
2560
2561 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
2562
2563 * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
2564 even with an empty context. Don't save excursion any more.
2565 Don't complain about unmatched start-tags in sgml-unclosed-tags.
2566 Ignore end-tags in sgml-empty-tags.
2567 (xml-lite-get-context, xml-lite-calculate-indent)
2568 (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
2569 (xml-lite-indent-line): Use back-to-indentation.
2570
2571 * textmodes/sgml-mode.el (sgml-basic-offset): New var.
2572 (sgml-name-re, sgml-attrs-re): New consts.
2573 (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
2574 (sgml-mode): Use them.
2575 (sgml-lexical-context): Default to (point-min) if nothing else works.
2576 (sgml-calculate-indent): Indent slightly differently.
2577 (sgml-indent-line): Use back-to-indentation.
2578 (sgml-parse-dtd): New function.
2579 (sgml-unclosed-tags): New var.
2580 (html-mode): Set it.
2581
2582 2002-03-29 Simon Marshall <simon.marshall@misys.com>
2583
2584 * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
2585
2586 2002-03-29 Richard M. Stallman <rms@gnu.org>
2587
2588 * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
2589 Use FILTER arg in dired-get-marked-files to exclude directories.
2590 (dired-nondirectory-p): New function.
2591
2592 * dired.el (dired-get-marked-files): New arg FILTER
2593 allows selection of some files.
2594
2595 * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
2596
2597 2002-03-29 Eric M. Ludlam <eric@siege-engine.com>
2598
2599 * speedbar.el (speedbar-default-directory-list): Made robust
2600 against deleted directories.
2601
2602 2002-03-28 Richard M. Stallman <rms@gnu.org>
2603
2604 * dired.el (dired-toggle-marks): Renamed from dired-do-toggle.
2605 Bindings changed.
2606
2607 * progmodes/compile.el (compilation-handle-exit):
2608 If compilation-window-height is 0, display status in echo area.
2609
2610 * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
2611
2612 * rect.el (replace-rectangle): Add autoload.
2613
2614 * files.el: Mark many more variables as risky.
2615 (hack-one-local-variable): Recognize several additional
2616 patterns as risky.
2617
2618 * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
2619
2620 2002-03-28 Stefan Monnier <monnier@cs.yale.edu>
2621
2622 * textmodes/xml-lite.el (xml-lite-in-string-p):
2623 Use sgml-lexical-context.
2624 (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
2625 (xml-lite-get-context): Check that open/close tags match.
2626 Don't stop scanning while we're ignoring matching tags.
2627
2628 * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
2629 (sgml-mode-syntax-table): Use it.
2630 (sgml-tag-syntax-table, sgml-tag-name-re): New const.
2631 (sgml-tags-invisible): Use it.
2632 (sgml-lexical-context): New fun.
2633 (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
2634 (sgml-quote): Accept \n as entity reference terminator.
2635 (sgml-calculate-indent, sgml-indent-line): New funs.
2636
2637 2002-03-28 Andre Spiegel <spiegel@gnu.org>
2638
2639 * vc-cvs.el (vc-cvs-global-switches): New user option.
2640 (vc-cvs-command): New function. Update all callers of
2641 `vc-do-command' in vc-cvs.el to use this instead.
2642
2643 2002-03-27 Andrew Innes <andrewi@gnu.org>
2644
2645 * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
2646 relying on shell globbing.
2647
2648 2002-03-27 Colin Walters <walters@debian.org>
2649
2650 * ibuffer.el (ibuffer-help-buffer-modes): New variable.
2651 (ibuffer-fontification-alist): Use it.
2652 (ibuffer-backward-line): Handle `ibuffer-summary' area.
2653 (ibuffer-forward-line): Ditto.
2654
2655 * ibuf-ext.el (sorter mode-name): Doc fix.
2656 (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
2657 (operation query-replace): Use new `noerror' arg for
2658 `query-replace-read-args'.
2659 (operation query-replace-regexp): Ditto.
2660
2661 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
2662
2663 * textmodes/xml-lite.el: Fix copyright notice.
2664 (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
2665 (xml-lite-indent-comment-offset): Remove.
2666 (xml-lite-calculate-indent): Use new name. Use natural alignment
2667 for comments.
2668 (xml-lite-in-string-p): Simplify.
2669
2670 2002-03-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2671
2672 * allout.el (outline-layout): Doc fix.
2673
2674 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
2675
2676 * textmodes/xml-lite.el: Don't require `custom'.
2677 (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
2678 (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
2679 (xml-lite-get-context): Drop nested tags not just for comments.
2680 (xml-lite-indent-line): Be more careful about moving point.
2681 (xml-lite-insert-end-tag, xml-lite-slash):
2682 Use indent-according-to-mode instead of xml-lite-indent-line.
2683 (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
2684 Set sgml-xml-mode. Don't call force-mode-line-update.
2685 (xml-lite-mode-map): Don't bind TAB.
2686
2687 2002-03-27 Zoltan Kemenczy <zoltan@ieee.org>
2688
2689 * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
2690 parameter value.
2691 (gud-jdb-build-source-files-list): Comment clarification.
2692 (gud-jdb-massage-args): Reworked into loop-based argument list
2693 processing in order to support -classpath and -sourcepath argument
2694 processing.
2695 (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
2696 to gud-jdb-classpath to obtain search list.
2697 (gud-jdb-parse-classpath-string): Remove any trailing slashes from
2698 directory names in classpath/sourcepath lists, update comment.
2699 (jdb): Add setting of gud-jdb-sourcepath, update comment.
2700 (gud-find-class): Add gud-jdb-sourcepath use, and correct
2701 behaviour for the case when classpath is not used--backward
2702 compatibility fix.
2703
2704 2002-03-27 Eli Zaretskii <eliz@is.elta.co.il>
2705
2706 * Makefile.in (compile, compile-always): Don't try to compile
2707 non-existent files or files in empty directories.
2708
2709 2002-03-26 Michael Ernst <mernst@alum.mit.edu>
2710
2711 * compare-w.el (compare-windows-whitespace): Match all whitespace.
2712
2713 * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
2714 copy of standard Lisp directories.
2715
2716 * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
2717 Support "next has longname" link type.
2718
2719 2002-03-26 Stefan Monnier <monnier@cs.yale.edu>
2720
2721 * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
2722 (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
2723 New functions.
2724 (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
2725 (end-of-xml-tag): Remove.
2726 (xml-lite-get-context): Better handling of comments.
2727 (xml-lite-calculate-indent): Use xml-lite-in-string-p.
2728 (xml-lite-parse-tag-backward): Rewrite.
2729
2730 2002-03-26 Juanma Barranquero <lektu@terra.es>
2731
2732 * makefile.w32-in (WINS): Add the toolbar directory.
2733
2734 2002-03-26 Richard M. Stallman <rms@gnu.org>
2735
2736 * subr.el (substring-no-properties): Function deleted (now in C).
2737
2738 2002-03-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2739
2740 * mwheel.el (mouse-wheel-mode): Use global-set-key and
2741 global-unset-key.
2742
2743 2002-03-24 Richard M. Stallman <rms@gnu.org>
2744
2745 * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
2746
2747 * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
2748 to query-replace-read-args.
2749
2750 * progmodes/compile.el (compilation-forget-errors):
2751 Don't adjust compilation-parsing-end if it's nil.
2752
2753 * replace.el (query-replace-read-args): New optional arg NOERROR.
2754 (perform-replace): Use save-window-excursion around recursive edit.
2755
2756 2002-03-24 Colin Walters <walters@verbum.org>
2757
2758 * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
2759 non-nil, then always use another window.
2760
2761 2002-03-24 Gerd Moellmann <gerd@gnu.org>
2762
2763 * subr.el (macro-declaration-function): New function. Set the
2764 variable macro-declaration-function to it.
2765
2766 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
2767 Handle declarations in macro definitions.
2768
2769 2002-03-24 Eli Zaretskii <eliz@is.elta.co.il>
2770
2771 * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
2772
2773 * enriched.el (enriched-face-ans): Support FACE of the form
2774 (:foreground COLOR) and (:background COLOR).
2775 (enriched-decode-foreground, enriched-decode-background): Set the
2776 fore- and background colors of the faces we create, since facemenu
2777 doesn't.
2778
2779 2002-03-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2780
2781 * mwheel.el (mouse-wheel-mode): Use the result of
2782 current-global-map instead of the variable `global-map'.
2783
2784 2002-03-23 Richard M. Stallman <rms@gnu.org>
2785
2786 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
2787 broken out of sendmail-pre-abbrev-expand-hook.
2788 (sendmail-pre-abbrev-expand-hook): Use it.
2789
2790 2002-03-22 Stefan Monnier <monnier@cs.yale.edu>
2791
2792 * Makefile.in (finder-inf.el): Remove.
2793 (finder-data): Don't depend on finder-inf.el any more.
2794 (compile, compile-always): Handle the case where some files
2795 from DONTCOMPILE are missing (it tried to compile them).
2796 (bootstrap-clean): Use src/emacs only if executable.
2797 (bootstrap): Update subdirs.el and finder-inf.el.
2798
2799 * finder.el: Don't load finder-inf.el during byte-compilation.
2800
2801 * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
2802 Don't consider cvs-removed files as under VC control.
2803 VC wouldn't handle them properly anyway and it confuses
2804 vc-file-not-found-hook.
2805
2806 * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
2807 Add autoload cookie.
2808
2809 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il>
2810
2811 * calendar/calendar.el (calendar): Doc fix.
2812
2813 2002-03-22 Juanma Barranquero <lektu@terra.es>
2814
2815 * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
2816 (gomoku-font-lock-X-face): Likewise.
2817 (gomoku-font-lock-keywords): Use faces instead of variables.
2818
2819 2002-03-21 Stefan Monnier <monnier@cs.yale.edu>
2820
2821 * Makefile.in (bootstrap): Make sure subdirs.el is ready.
2822
2823 2002-03-21 Kim F. Storm <storm@cua.dk>
2824
2825 * simple.el (open-network-stream, open-network-stream-nowait)
2826 (open-network-stream-server): Use featurep to test for
2827 supported networking features.
2828
2829 2002-03-21 Thien-Thi Nguyen <ttn@gnu.org>
2830
2831 * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
2832 directions as the last action.
2833
2834 2002-03-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
2835
2836 * startup.el (fancy-splash-tail, normal-splash-screen):
2837 Update copyright.
2838
2839 * novice.el (disabled-command-hook): Clarify output text to match
2840 prompt.
2841
2842 2002-03-20 Jason Rumney <jasonr@gnu.org>
2843
2844 * frame.el (display-images-p): Do not explicitly check display type.
2845
2846 2002-03-20 pmr-sav <pmr-sav@hamm.pajato.com>
2847
2848 * mail-utils.el:
2849 Eliminate compilation warnings due to `rfc822-addresses'.
2850 (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
2851 warning free compile.
2852
2853 2002-03-20 Michael Kifer <kifer@cs.stonybrook.edu>
2854
2855 * ediff-diff.el (ediff-install-fine-diff-if-necessary):
2856 Take the current highlighting style into account.
2857 (ediff-forward-word-function,ediff-whitespace,ediff-word-1)
2858 (ediff-word-2,ediff-word-3,ediff-word-4): Make them buffer local.
2859
2860 * ediff-init.el (ediff-patch-job): New macro.
2861
2862 * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
2863 (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
2864
2865 * ediff-ptch.el (ediff-map-patch-buffer):
2866 Use ediff-make-new-meta-list-header.
2867 (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
2868
2869 * ediff-util.el (ediff-toggle-hilit): Fix toggling of highliting.
2870 (ediff-select-difference): Take highlighting style into account.
2871 (ediff-clone-buffer-for-region-comparison): New function.
2872 (ediff-inferior-compare-regions): Added comparison of current diff
2873 regions.
2874
2875 * ediff.el (ediff-clone-buffer-for-region-comparison)
2876 (ediff-clone-buffer-for-window-comparison): Moved to ediff-util.el.
2877
2878 2002-03-19 pmr-sav <pmr-sav@hamm.pajato.com>
2879
2880 * mail-utils.el (rmail-dont-reply-to):
2881 Overhaul to correctly apply the regular
2882 expressions in the variable `rmail-dont-reply-to-names' to the list of
2883 destination addresses. Contributed by lorentey@elte.hu.
2884
2885 * rmail.el (rmail-dont-reply-to-names):
2886 Modify the documentation to make it email
2887 address centric rather than login name centric. Contributed by
2888 lorentey@elte.hu.
2889
2890 2002-03-18 Colin Walters <walters@verbum.org>
2891
2892 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
2893 we don't require `cl' at runtime.
2894 (sorting mode mode-name): Don't take the symbol-name of a string.
2895
2896 * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
2897 line after setting the mark.
2898 (ibuffer-insert-buffers-and-marks): Invert the test for
2899 `ibuffer-sorting-reversep'.
2900
2901 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
2902
2903 * international/ucs-tables.el (unify-8859-on-decoding-mode)
2904 (unify-8859-on-encoding-mode): Remove autoload cookie.
2905
2906 2002-03-18 Andre Spiegel <spiegel@gnu.org>
2907
2908 * vc-rcs.el (vc-rcs-register): Fix handling of
2909 vc-[rcs-]register-switches.
2910 (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
2911 Variables removed, since they weren't used yet.
2912
2913 * vc-cvs.el (vc-cvs-register): Fix handling of
2914 vc-[cvs-]register-switches.
2915
2916 * vc-sccs.el (vc-sccs-register): Fix handling of
2917 vc-[sccs-]register-switches.
2918
2919 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
2920
2921 * loadup.el ("emacs-lisp/backquote"): Load earlier.
2922 ("international/ucs-tables"): Load and turn on
2923 unify-8859-on-encoding-mode unconditionally.
2924 (emacs-version): Use `defconst' rather than `setq'.
2925
2926 * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
2927
2928 2002-03-18 Richard M. Stallman <rms@gnu.org>
2929
2930 * menu-bar.el (menu-bar-options-menu): Cope if
2931 text-mode-hook is not a list.
2932
2933 2002-03-17 Richard M. Stallman <rms@gnu.org>
2934
2935 * emulation/pc-select.el (pc-selection-mode):
2936 Alter the existing global map, don't replace it.
2937
2938 * files.el (list-directory): Set default-directory at the end.
2939
2940 * dabbrev.el (dabbrev--goto-start-of-abbrev):
2941 Put a limit on field-beginning search.
2942
2943 2002-03-17 Simon Josefsson <jas@extundo.com>
2944
2945 * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
2946 (browse-url-mosaic): Use it.
2947
2948 * net/browse-url.el (browse-url-filename-alist): Don't begin
2949 docstring with *, you don't want to set this one with M-x
2950 set-variable.
2951
2952 * net/browse-url.el: Put * in user option doc strings.
2953
2954 2002-03-17 Stefan Monnier <monnier@cs.yale.edu>
2955
2956 * textmodes/sgml-mode.el (sgml-xml-mode): Renamed from sgml-xml.
2957 (sgml-xml-guess): Simplify.
2958 (sgml-mode-common): Remove (move into sgml-mode).
2959 (sgml-mode): Add code from sgml-mode-common.
2960 Remove redundant setting of indent-line-function.
2961 Don't set skeleton-transformation when in XML mode.
2962
2963 * international/mule-diag.el (describe-char-after):
2964 Use `internal-describe-syntax-value' again (got lost somewhere).
2965
2966 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
2967 Use unify-8859-on-decoding-mode.
2968 (unify-8859-on-decoding-mode): Also set translation-table-for-input.
2969 (ucs-insert): Give an error if the unicode char can't be created.
2970
2971 * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
2972 (cvs-parse-status): Handle the "used to have a conflict" marker.
2973
2974 2002-03-17 Kim F. Storm <storm@cua.dk>
2975
2976 The following changes are related to the enhanced network process
2977 support.
2978
2979 * simple.el: Update copyright.
2980 (clone-process): Use make-network-process to clone network
2981 processes. Get command list via (process-contact ... t).
2982 Use set-process-query-on-exit-flag and process-query-on-exit-flag
2983 instead of process-kill-without-query.
2984 (open-network-stream): Replaces C-version from process.c.
2985 (open-network-stream-nowait, open-network-stream-server): New funs.
2986 (process-kill-without-query): Replaces C-version from process.c.
2987
2988 * files.el: Update copyright.
2989 (save-buffers-kill-emacs): Also check for active server
2990 processes. Use process-query-on-exit-flag. Only list processes
2991 which has the query-on-exit flag set in connection with user query.
2992
2993 * shadowfile.el: Update copyright.
2994 (shadow-save-buffers-kill-emacs): Also check for active server
2995 processes. Use process-query-on-exit-flag.
2996
2997 2002-03-16 Simon Marshall <simon.marshall@misys.com>
2998
2999 * imenu.el (imenu-menubar-modified-tick): Renamed from
3000 imenu-update-menubar-modified-tick.
3001 (imenu-update-menubar): Update imenu-menubar-modified-tick
3002 whenever outer condition succeeds.
3003
3004 * lazy-lock.el (save-buffer-state):
3005 Bind inhibit-modification-hooks and buffer-file-truename
3006 instead of before-change-functions and after-change-functions.
3007
3008 2002-03-16 Eli Zaretskii <eliz@is.elta.co.il>
3009
3010 * international/codepage.el (codepage-setup): Don't define a
3011 codepage if it is already defined.
3012
3013 * textmodes/po.el (po-content-type-charset-alist): Convert the
3014 car of each association to a string.
3015 (po-find-file-coding-system-guts): If the charset matches a name
3016 of a codepage, set up that codepage and return it as a coding
3017 system to decode the file.
3018 (po-find-charset): Search for the Charset= header even if we've
3019 read less than 4KB.
3020 <top-level>: Remove the setup for all known codepages: it seems
3021 to cause crashes in the CCL driver.
3022
3023 2002-03-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3024
3025 * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
3026 (bibtex-entry-field-alist): Doc fix.
3027
3028 2002-03-16 Richard M. Stallman <rms@gnu.org>
3029
3030 * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
3031 Move definition above cperl-outline-regexp.
3032
3033 * bindings.el (mode-line-mule-info): In computing help-echo prop,
3034 avoid using save-window-excursion. And compile the function.
3035
3036 2002-03-15 Stefan Monnier <monnier@cs.yale.edu>
3037
3038 * files.el (load-completion): New function.
3039 (load-library): Use it.
3040
3041 2002-03-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3042
3043 * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
3044 to match the actual code.
3045
3046 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
3047
3048 * textmodes/po.el (po-find-file-coding-system-guts):
3049 Use with-temp-buffer instead of po-with-temp-buffer.
3050
3051 * international/mule-conf.el (file-coding-system-alist): Add an
3052 association for PO files.
3053
3054 * textmodes/po.el: New file.
3055
3056 2002-03-15 Gerd Moellmann <gerd@gnu.org>
3057
3058 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3059 Fix simple loop indentation.
3060
3061 2002-03-14 Miles Bader <miles@gnu.org>
3062
3063 * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
3064
3065 2002-03-14 Richard M. Stallman <rms@gnu.org>
3066
3067 * textmodes/picture.el (picture-insert)
3068 (picture-clear-column, picture-draw-rectangle):
3069 Use move-to-column, not move-to-column-force.
3070
3071 * dired.el (dired-readin): Clear out undo list.
3072 (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
3073 (dired-delete-entry): New function.
3074 (dired-internal-do-deletions): Use dired-fun-in-all-buffers
3075 and dired-delete-entry, to update this buffer (and others).
3076
3077 * dired-aux.el (dired-fun-in-all-buffers): Moved to dired.el.
3078
3079 * facemenu.el (facemenu-add-new-face):
3080 Pass region args to facemenu-set-face, when there is a region.
3081 (facemenu-set-foreground, facemenu-set-background)
3082 (facemenu-add-face): Doc fixes.
3083
3084 * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
3085
3086 2002-03-14 Miles Bader <miles@gnu.org>
3087
3088 * emacs-lisp/debug.el: Require `button'.
3089 (debugger-mode-map): Set the parent keymap to `button-buffer-map',
3090 to get TAB and <backtab> bindings.
3091
3092 * net/rlogin.el (rlogin-carriage-filter): Function removed.
3093 (rlogin): Don't install the `rlogin-carriage-filter' filter, as
3094 comint removes carriage returns itself now.
3095
3096 * rfn-eshadow.el (rfn-eshadow-update-overlay):
3097 Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
3098 getting hosed by our own intangible property.
3099
3100 2002-03-13 Stefan Monnier <monnier@cs.yale.edu>
3101
3102 * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
3103 Add fortran-comment-line-start-skip to comment-start-skip.
3104 (fortran-comment-indent): Keep whole-line comments in column 0.
3105 (fortran-find-comment-start-skip): New arg `all'.
3106 If ALL is nil, make sure we only match comment-start-skip if we
3107 can't match fortran-comment-line-start-skip.
3108 Fix bug that made it return t but without moving point when
3109 matching '!'! (a false-comment followed by a real comment).
3110 (fortran-indent-comment): Use new `all' argument above.
3111 Be careful not to add an incorrect comment-starter like "C"
3112 in comment-column.
3113 (fortran-split-line): When splitting a comment, reuse the comment
3114 starter from the current line rather than fortran-comment-line-start.
3115 (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
3116 cleaner behavior of fortran-find-comment-start-skip.
3117 (fortran-fill): Don't be confused by ! inside a comment.
3118 (fortran-break-line): Minor cleanup and simplification.
3119
3120 2002-03-13 Francesco Potorti` <pot@gnu.org>
3121
3122 * progmodes/etags.el (tag-exact-file-name-match-p)
3123 (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
3124 simpler regexp.
3125
3126 2002-03-12 Colin Walters <walters@debian.org>
3127
3128 * ibuffer.el (ibuffer-redisplay-current): Don't move point when
3129 redisplaying a line.
3130
3131 2002-03-12 Jan D. <Jan.Djarv@mbox200.swipnet.se>
3132
3133 * term/x-win.el (emacs-session-restore): Take previous id as
3134 an argument.
3135 (emacs-session-save): Add comment that return t means cancel shutdown
3136
3137 * startup.el (command-line): Must check that x-session-previous-id
3138 is bound also, for non-X platforms.
3139
3140 2002-03-12 Gerd Moellmann <gerd@gnu.org>
3141
3142 * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
3143 (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
3144 New user options.
3145 (extended-loop-p, common-lisp-loop-part-indentation): New functions.
3146 (common-lisp-indent-function-1): Renamed from
3147 common-lisp-indent-function.
3148 (common-lisp-indent-function): Handle loop forms specially.
3149 (lisp-indent-defmethod): Use car/cdr instead of first/rest.
3150 (lisp-backquote-indentation): New user option.
3151
3152 2002-03-12 Francesco Potorti` <pot@gnu.org>
3153
3154 * progmodes/etags.el (tag-exact-file-name-match-p)
3155 (tag-file-name-match-p, tag-partial-file-name-match-p):
3156 Assume that the header of a tags section has either a number
3157 or nothing after the last comma.
3158
3159 2002-03-11 Richard M. Stallman <rms@gnu.org>
3160
3161 * imenu.el (imenu-update-menubar-modified-tick): New variable.
3162 (imenu-update-menubar): Don't call imenu--make-index-alist
3163 if buffer has not changed since last time.
3164
3165 * desktop.el (desktop-buffer-handlers): Doc fix.
3166 (desktop-buffer-file): Explicitly return BUF.
3167
3168 * paren.el (show-paren-function): Move back in other direction
3169 to verify the match is correct.
3170
3171 * mail/supercite.el (sc-select-attribution): Accept whatever value
3172 we get in CHOICE; there is no value meaning "try again".
3173
3174 2002-03-11 Colin Walters <walters@verbum.org>
3175
3176 * shell.el (toplevel): Revert previous change to use pcomplete.
3177 (shell-mode): Ditto.
3178 (shell-pcomplete-setup-done): Remove.
3179 (shell-pcomplete): Ditto.
3180 (shell-pcomplete-reverse): Ditto.
3181
3182 * comint.el: Remove documentation on setting up pcomplete.
3183
3184 2002-03-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3185
3186 * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
3187 item. Doc fix.
3188
3189 * image.el (image-type-from-file-header): Make temporary buffer
3190 unibyte.
3191
3192 * subr.el (add-to-list): Doc fix.
3193
3194 2002-03-11 Miles Bader <miles@gnu.org>
3195
3196 * pcomplete.el (pcomplete-entries): Expand environment variables
3197 in filename.
3198
3199 2002-03-10 Daniel Pfeiffer <occitan@esperanto.org>
3200
3201 * play/mpuz.el: Use defface instead of facemenu-get-face.
3202
3203 2002-03-10 Jan D. <Jan.Djarv@mbox200.swipnet.se>
3204
3205 * startup.el (command-line): Add call to emacs-session-restore if
3206 both x-session-id and x-session-previous-id are strings.
3207
3208 * term/x-win.el (x-handle-smid): New function.
3209 (emacs-session-filename): New function.
3210 (emacs-session-save): New function.
3211 (emacs-save-session-functions): New variable.
3212 (emacs-session-restore): New function.
3213
3214 2002-03-09 Eli Zaretskii <eliz@is.elta.co.il>
3215
3216 * simple.el (shell-command-on-region): Call push-mark with
3217 non-nil second arg, to suppress the "Mark set" message.
3218
3219 2002-03-08 Richard M. Stallman <rms@gnu.org>
3220
3221 * textmodes/picture.el (picture-forward-column): New arg `interactive'
3222 is non-nil for an interactive call. Use instead of interactive-p.
3223 (picture-backward-column): Likewise.
3224
3225 * tar-mode.el (tar-untar-buffer): New function.
3226
3227 * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
3228 Put the mouse-face on the entire xref, like the local keymap.
3229
3230 * find-dired.el (find-name-dired): Use shell-quote-argument.
3231
3232 2002-03-08 Daniel Pfeiffer <occitan@esperanto.org>
3233
3234 * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
3235 (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
3236 (mpuz-allow-double-multiplicator): New options for nicer look and
3237 new features.
3238 (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
3239 (mpuz-check-all-solved, mpuz-random-puzzle)
3240 (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
3241 (mpuz-show-solution): Functions streamlined and removed french
3242 style space before punctuation, added face support and optional
3243 solving of trivial results.
3244
3245 2002-03-07 Colin Walters <walters@verbum.org>
3246
3247 * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
3248
3249 * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
3250 instead of "recency" for clarity.
3251 (ibuffer-compile-format): Document more. Handle new "summarizer"
3252 columns.
3253 (ibuffer-fontify-region-function): Ditto.
3254 (ibuffer-insert-buffer-line): Ditto.
3255 (ibuffer-map-lines): Ditto.
3256 (ibuffer-insert-buffers-and-marks): Ditto.
3257 (ibuffer-update-title-and-summary): Renamed from
3258 `ibuffer-update-title'. Handle "summarizer" columns.
3259 (ibuffer-clear-summary-columns): New function.
3260
3261 * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
3262
3263 2002-03-07 Gerd Moellmann <gerd@gnu.org>
3264
3265 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3266 Use the other-window instead of the other-frame functions when
3267 the window is dedicated.
3268
3269 2002-03-06 ShengHuo ZHU <zsh@cs.rochester.edu>
3270
3271 * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
3272 with SILENT so that a new field can be added.
3273
3274 2002-03-06 Eli Zaretskii <eliz@is.elta.co.il>
3275
3276 * files.el (make-auto-save-file-name): Make sure the produced file
3277 name does not contain characters that are invalid for DOS/Windows
3278 filesystems.
3279
3280 * dos-fns.el, w32-fns.el (make-auto-save-file-name):
3281 Remove replacement functions.
3282
3283 2002-03-06 Gerd Moellmann <gerd@gnu.org>
3284
3285 * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
3286 the form `:x'.
3287
3288 * vc.el (vc-branch-part): Add autoload cookie. This function can
3289 be called from vc-rcs-find-most-recent-rev when visiting a file
3290 checked into RCS in a CVS sandbox.
3291
3292 2002-03-06 Andreas Schwab <schwab@suse.de>
3293
3294 * progmodes/hideif.el: Augment expression parser to handle
3295 conditional expressions.
3296 (hif-token-regexp): Also match `?' and `:'.
3297 (hif-tokenize): Handle `?' and ':' as tokens.
3298 (hif-expr): Parse conditional expressions.
3299 (hif-or-expr): Parse `||' expressions.
3300 (hif-and-expr): Renamed from hif-term.
3301 (hif-conditional): New function to evaluate a conditional
3302 expression.
3303
3304 2002-03-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3305
3306 * language/czech.el ("Czech"): Fix the documentation.
3307
3308 * language/slovak.el ("Slovak"): Likewise.
3309
3310 2002-03-05 ShengHuo ZHU <zsh@cs.rochester.edu>
3311
3312 * xml.el (xml-parse-attlist): Accept empty strings.
3313
3314 2002-03-05 Eli Zaretskii <eliz@is.elta.co.il>
3315
3316 * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
3317 all terminals now support highlighting of some kind.
3318
3319 * language/european.el (mac-roman): Fix the safe-chars property.
3320
3321 2002-03-05 Andre Spiegel <spiegel@gnu.org>
3322
3323 * vc.el (vc-transfer-file): Use `make-temp-file'.
3324 (vc-default-update-changelog): Remove conditional use of
3325 `make-temp-name'.
3326
3327 * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
3328
3329 2002-03-05 Michael Kifer <kifer@cs.stonybrook.edu>
3330
3331 * ediff-init.el: Comments.
3332
3333 * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
3334 is loaded.
3335
3336 * ediff-mult.el (ediff-intersect-directories)
3337 (ediff-prepare-meta-buffer,ediff-get-directory-files-under-revision):
3338 Cleanup.
3339 (ediff-draw-dir-diffs): Now supports the "C" command in directory
3340 difference buffer.
3341 (ediff-dir-diff-copy-file): New function that implements copying
3342 of files from one Ediff dir to another
3343 (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
3344 (ediff-append-custom-diff): Better error msgs.
3345
3346 * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
3347 (ediff-inferior-compare-regions): Use
3348 ediff-clone-buffer-for-region-comparison. Better and simpler interface.
3349
3350 * ediff.el (ediff-directories-internal): Cleanup.
3351 (ediff-clone-buffer-for-region-comparison): Better interface.
3352
3353 2002-03-04 Richard M. Stallman <rms@gnu.org>
3354
3355 * emacs-lisp/easy-mmode.el (define-minor-mode):
3356 Use "P" in interactive spec of minor mode commands.
3357
3358 2002-03-04 Stefan Monnier <monnier@cs.yale.edu>
3359
3360 * faces.el (face-spec-choose): Allow `t' to appear before the end.
3361 (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
3362 (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
3363 (variable-pitch, trailing-whitespace): Don't use the old-style entries.
3364 (mode-line-inactive, header-line): Move the `t' section to the
3365 beginning so the `:inherit' setting can be shared.
3366
3367 2002-03-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3368
3369 * net/snmp-mode.el: Require tempo when compiling to prevent
3370 warnings. Update copyright notice.
3371
3372 * help.el (describe-key-briefly, describe-key): Interpret `undefined'
3373 like not defined at all.
3374
3375 2002-03-03 Stefan Monnier <monnier@cs.yale.edu>
3376
3377 * textmodes/sgml-mode.el: Change maintainer to FSF.
3378 (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
3379 (sgml-tags-invisible, sgml-beginning-of-tag):
3380 Allow _ : and non-ASCII in tag names, as required for XML.
3381 (sgml-name-char): Don't assume anything about charsets handled by
3382 encode-char.
3383
3384 * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
3385 where one of the buffers is narrowed.
3386
3387 * hexl.el (hexlify-command, dehexlify-command): Remove.
3388 (hexlify-buffer, dehexlify-buffer): Use call-process-region
3389 rather than shell-command-on-region.
3390
3391 * newcomment.el (comment-forward): Use forward-comment to skip
3392 over whitespace (or comments) even when comment-use-syntax is nil.
3393
3394 * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
3395
3396 * textmodes/xml-lite.el: New file.
3397
3398 2002-03-03 Richard M. Stallman <rms@gnu.org>
3399
3400 * textmodes/artist.el (artist-system): Use make-temp-file.
3401
3402 * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
3403
3404 * mail/sendmail.el (mail-recover-1): Increase non-random-len
3405 by 1 since we changed make-auto-save-file-name to add one
3406 fewer character to the buffer name.
3407 (mail-recover): Really show point at the right place
3408 in the *Directory* buffer.
3409
3410 * files.el (make-auto-save-file-name): Use make-temp-file.
3411
3412 * terminal.el (te-create-terminfo): Use make-temp-file
3413 to create the source file in a safe way.
3414
3415 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il>
3416
3417 * cus-start.el: Rename automatic-hscroll-step and
3418 automatic-hscroll-margin into hscroll-step and hscroll-margin.
3419
3420 * frame.el (auto-hscroll-mode): Renamed from
3421 automatic-hscrolling.
3422 (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
3423
3424 * mouse.el (mouse-region-delete-keys): Add deletechar.
3425
3426 2002-03-03 Sam Steingold <sds@gnu.org>
3427
3428 * play/snake.el (snake-score-file): Fixed parens (broken by the
3429 last patch).
3430 * play/tetris.el (tetris-score-file): Ditto.
3431
3432 2002-03-03 Richard M. Stallman <rms@gnu.org>
3433
3434 * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
3435
3436 * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
3437
3438 * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
3439 (gamegrid-make-mono-tty-face): Fix usage of condition-case.
3440
3441 2002-03-03 Thien-Thi Nguyen <ttn@gnu.org>
3442
3443 * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
3444 instead of `buffer-substring-no-properties' to support enriched mode.
3445
3446 2002-03-02 Richard M. Stallman <rms@gnu.org>
3447
3448 * find-dired.el (find-grep-dired): Call shell-quote-argument.
3449 Specify the -e option.
3450 Rename arg to `regexp'.
3451
3452 2002-03-02 Milan Zamazal <pdm@zamazal.org>
3453
3454 * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
3455
3456 2002-03-02 Miles Bader <miles@gnu.org>
3457
3458 * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
3459 event-modifiers before looking up in `mouse-wheel-scroll-amount'.
3460 If there's no applicable modifiers entry in the alist in
3461 `mouse-wheel-scroll-amount', fall back to the default, not to
3462 nil (which causes full screen scrolls).
3463
3464 2002-03-01 Andreas Schwab <schwab@suse.de>
3465
3466 * textmodes/texnfo-upd.el (texinfo-start-menu-description):
3467 Remove extra paren in regexp.
3468
3469 2002-03-01 Eli Zaretskii <eliz@is.elta.co.il>
3470
3471 * mouse.el (mouse-show-mark): Use display-mouse-p, not
3472 display-graphic-p, to decide whether to move point or use the
3473 highlighting.
3474
3475 2002-02-28 Colin Walters <walters@verbum.org>
3476
3477 * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
3478
3479 * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
3480 `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
3481 (calc-temp-file-name): Use `make-temp-file'.
3482
3483 2002-02-28 Richard M. Stallman <rms@gnu.org>
3484
3485 * font-lock.el (java-font-lock-extra-types):
3486 Match java.net.URL, etc.
3487
3488 2002-02-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3489
3490 * hexl.el (hexl-options): Doc fix.
3491 Update Commentary section.
3492
3493 * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
3494 Doc fixes.
3495
3496 2002-02-28 Andre Spiegel <spiegel@gnu.org>
3497
3498 * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
3499 the user to do that first.
3500 (vc-update): New function.
3501
3502 * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
3503 which calls vc-update. Use the term "Base Version" instead of
3504 "Last Version" for the entries "Revert" and "Compare".
3505
3506 2002-02-28 Kim F. Storm <storm@cua.dk>
3507
3508 * simple.el (shell-command-on-region): Report non-zero exit
3509 status in mode line instead of buffer.
3510
3511 2002-02-27 Richard M. Stallman <rms@gnu.org>
3512
3513 * comint.el (comint-preoutput-filter-functions): Doc fix.
3514 (comint-output-filter-functions, comint-input-filter-functions)
3515 (comint-redirect-filter-functions): Likewise.
3516
3517 (comint-redirect-preoutput-filter): Do the local-hook
3518 handling of t when running comint-redirect-filter-functions.
3519 (comint-output-filter): Likewise for comint-preoutput-filter-functions.
3520
3521 2002-02-26 Richard M. Stallman <rms@gnu.org>
3522
3523 * paths.el (remote-shell-program): Add doc string.
3524
3525 2002-02-26 Colin Walters <walters@debian.org>
3526
3527 * ibuf-ext.el (sorter mode-name): New.
3528 (ibuffer-do-occur): Don't quote ibuffer-marked-char.
3529
3530 * calc/calc-ext.el (calc-scroll-left): Call scroll-left
3531 interactively, so they do something.
3532 (calc-scroll-right): Ditto.
3533
3534 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
3535
3536 * international/mule.el (ctext-pre-write-conversion): Handle the
3537 case when FROM is a string, and when we are called from
3538 build_annotations_2.
3539
3540 2002-02-26 Richard M. Stallman <rms@gnu.org>
3541
3542 * rect.el (clear-rectangle-line): Reindent to the same column
3543 that move-to-column reached when it tried to go to endcol.
3544
3545 * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
3546
3547 2002-02-26 Ivar Rummelhoff <ivarru@math.uio.no>
3548
3549 * winner.el (winner-boring-buffers, winner-set): A window which
3550 displays a buffer whose name is in the list
3551 `winner-boring-buffers', will no longer be restored by `winner-undo'.
3552 (winner-sorted-window-list): Used to improve comparison between
3553 window configurations.
3554 (winner-win-data): Simplified and moved.
3555 (winner-conf): Simplified (now uses `winner-win-data').
3556 (winner-change-fun, winner-save-old-configurations)
3557 (winner-save-(un)conditionally, winner-redo): Changes made while in
3558 the minibuffer will be ignored. (Such changes are undone upon
3559 exit for the minibuffer, anyway.)
3560 (winner-set-conf): Preserve selected window whenever possible.
3561 (winner-make-point-alist): Simplified.
3562 (winner-mode, winner-save-unconditionally): Save current window
3563 configuration on entering minibuffer.
3564 (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
3565 since it does not change the overall behavior of Emacs.
3566
3567 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
3568
3569 * international/mule-conf.el (compound-text): Renamed back from
3570 compound-text-no-extensions.
3571 (ctext-no-compositions): Remove the mime-charset property.
3572 (compound-text-with-extensions): Renamed from compound-text.
3573 (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
3574
3575 2002-02-26 Juanma Barranquero <lektu@terra.es>
3576
3577 * faces.el (list-faces-display): Fix typo.
3578
3579 2002-02-25 Richard M. Stallman <rms@gnu.org>
3580
3581 * frame.el (focus-follows-mouse): Doc fix.
3582
3583 2002-02-26 Miles Bader <miles@gnu.org>
3584
3585 * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
3586 to `define-key', since it no longer accepts the latter.
3587
3588 2002-02-25 Jason Rumney <jasonr@gnu.org>
3589
3590 * term/w32-win.el (mouse-wheel-scroll-line): Use car of
3591 mouse-wheel-scroll-amount.
3592
3593 * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
3594 mwheel.el.
3595
3596 * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
3597
3598 2002-02-25 Andre Spiegel <spiegel@gnu.org>
3599
3600 * vc.el (vc-diff-switches-list): Fix prev change, making the macro
3601 consistent with the others that take a backend name as a symbol.
3602
3603 * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
3604
3605 2002-02-25 Kim F. Storm <no-spam@cua.dk>
3606
3607 * comint.el (comint-replace-by-expanded-filename): Do nothing if
3608 comint-match-partial-filename returns nil.
3609
3610 * shell.el (shell-pcomplete-setup-done): New variable.
3611 (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
3612 (shell-pcomplete-reverse): Ditto.
3613
3614 2002-02-25 Per Abrahamsen <abraham@dina.kvl.dk>
3615
3616 * ps-print.el (ps-print-printer): Added `lpr' customize group member.
3617
3618 2002-02-25 Juanma Barranquero <lektu@terra.es>
3619
3620 * subr.el (save-match-data): Doc fix.
3621
3622 * ielm.el (ielm-prompt): Allow customization; make it read-only.
3623
3624 2002-02-25 Kim F. Storm <storm@cua.dk>
3625
3626 * shell.el (shell-mode-map): Add "Complete" header so completion
3627 menu is shown on the menu bar in shell mode.
3628
3629 2002-02-25 Stefan Monnier <monnier@cs.yale.edu>
3630
3631 * ielm.el (ielm-match-data): New var.
3632 (inferior-emacs-lisp-mode): Make it buffer-local.
3633 (ielm-eval-input): Use it to preserve match-data between inputs.
3634
3635 2002-02-24 Juanma Barranquero <lektu@terra.es>
3636
3637 * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
3638
3639 2002-02-24 Per Abrahamsen <abraham@dina.kvl.dk>
3640
3641 * cus-edit.el (custom-unlispify-remove-prefixes): Add to
3642 `custom-buffer' customize group.
3643
3644 2002-02-23 Kim F. Storm <storm@cua.dk>
3645
3646 * help.el (where-is): Use remap-command.
3647
3648 * help-fns.el (describe-function-1): Use remap-command.
3649
3650 * subr.el (global-set-key, local-set-key): Undo 2002-02-06
3651 change (no longer accept a symbol for the KEY argument).
3652
3653 2002-02-23 Colin Walters <walters@debian.org>
3654
3655 * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
3656 * calc/calcalg2.el (math-solve-get-sign): Ditto.
3657
3658 * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
3659 in generated function.
3660
3661 * ibuf-ext.el (ibuffer-old-time): Change to hours.
3662 (ibuffer-mark-old-buffers): Handle it.
3663
3664 * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
3665 (toplevel): Bind them.
3666 (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
3667 not necessary now that we use pcomplete.
3668
3669 * comint.el: Document how use new pcomplete completion facility.
3670
3671 2002-02-23 Richard M. Stallman <rms@gnu.org>
3672
3673 * mail/rmailsum.el (rmail-summary-output): Properly advance
3674 to next message, by calling rmail-summary-goto-msg.
3675
3676 * net/browse-url.el (browse-url-galeon): Specify --existing
3677 for an existing window. Use --noraise rather than --no-raise.
3678 Don't use -x.
3679
3680 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
3681
3682 * progmodes/etags.el (find-tag-noselect, find-tag)
3683 (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
3684 Fix a typo in doc strings.
3685
3686 2002-02-20 Deepak Goel <deego@glue.umd.edu>
3687
3688 * play/snake.el (snake-velocity-queue, snake-update-velocity)
3689 (snake-final-x-velocity, snake-final-y-velocity):
3690 New variable and functions. Store user's keypresses
3691 into a queue and pop from the queue each subsequent turn.
3692 (snake-update-game, snake-move-left)
3693 (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
3694 (snake-start-game): Use that queue.
3695 (snake-use-glyphs-flag): Renamed from snake-use-glyphs.
3696 (snake-use-color-flag): Likewise.
3697 (snake-mode): Rename uses of those variables.
3698
3699 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
3700
3701 Support for ICCCM Extended Segments in X selections:
3702
3703 * international/mule-conf.el (ctext-no-compositions): New coding
3704 system.
3705 (compount-text-no-extensions): Renamed from compound-text.
3706 (x-ctext-no-extensions, ctext-no-extensions): Aliases for
3707 compound-text-no-extensions.
3708 (compound-text): Redefined using post-read and pre-write conversions.
3709
3710 * international/mule.el (non-standard-icccm-encodings-alist)
3711 (non-standard-designations-alist): New variables.
3712 (ctext-post-read-conversion, ctext-pre-write-conversion):
3713 New functions.
3714
3715 2002-02-21 Jonathan Kamens <jik@kamens.brookline.ma.us>
3716
3717 * vc.el (vc-default-init-version): Update documentation to
3718 indicate that the backend can override the default init version.
3719 (vc-register): Use the backend init-version function, if it
3720 exists, to determine the initial version of a file.
3721 (vc-diff-switches-list): Don't symbol-quote backend, since it's
3722 already a symbol. Don't fail if vc-BACKEND-diff-switches isn't bound.
3723
3724 * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
3725 not version-controlled. This is necessary, e.g., if the file has
3726 just been reverted, and thus was previously under version control
3727 but isn't any longer.
3728 (vc-find-file-hook): Likewise.
3729
3730 2002-02-21 Martin Lorentzson <Martin.Lorentzson@telia.com>
3731
3732 * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
3733 (vc-cvs-sticky-tag-display): New variable.
3734 (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
3735 (vc-cvs-checkin): If the input revision is a valid symbolic tag
3736 name, we create it as a branch, commit and switch to it.
3737 (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
3738 (vc-cvs-valid-symbolic-tag-name-p): New function.
3739 (vc-cvs-parse-sticky-tag): New function.
3740 (vc-cvs-parse-entry): Added parsing of sticky tags.
3741
3742 2002-02-21 Per Abrahamsen <abraham@dina.kvl.dk>
3743
3744 * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
3745 nil, and then explicitly set the standard-value to t.
3746
3747 2002-02-20 Sam Steingold <sds@gnu.org>
3748
3749 * textmodes/flyspell.el (flyspell-mode): Autoload the variable
3750 since it is used in the menu bar.
3751
3752 2002-02-20 Richard M. Stallman <rms@gnu.org>
3753
3754 * simple.el (shell-command-on-region): Display the exit status
3755 when a command fails.
3756
3757 * subr.el (add-hook): Doc fix.
3758
3759 * frame.el (other-frame): Doc fix.
3760
3761 * simple.el (yank): Clear `field' property.
3762
3763 2002-02-20 Tom Tromey <tromey@cachet>
3764
3765 * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
3766 natural paragraph boundaries. Don't fail at beginning of buffer.
3767
3768 2002-02-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3769
3770 * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
3771 call the argument "arg" to match plain next-line and
3772 previous-line. From Kevin Ryde <user42@zip.com.au>.
3773
3774 2002-02-19 Sam Steingold <sds@gnu.org>
3775
3776 * mwheel.el (mouse-wheel-scroll-amount): Can specify different
3777 scroll amounts for different modifiers now.
3778 (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
3779 format properly.
3780 (mouse-wheel-mode): Ditto.
3781
3782 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il>
3783
3784 * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
3785 around function body.
3786
3787 * net/browse-url.el (browse-url-maybe-new-window): Reverse the
3788 sense of the comparison, to match the doc strings of functions
3789 that use this macro.
3790
3791 2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
3792
3793 * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
3794
3795 * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
3796 * menu-bar.el (menu-bar-mode): Ditto.
3797
3798 2002-02-18 Andreas Schwab <schwab@suse.de>
3799
3800 * replace.el (query-replace-regexp-eval): Doc fix.
3801
3802 2002-02-18 Colin Walters <walters@verbum.org>
3803
3804 * calc/calcalg2.el (math-solve-get-int): Convert return value from
3805 `math-get-from-counter' to a string before calling `concat' on it.
3806
3807 * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
3808 (calc-public-autoloads): Obsolete; remove.
3809 (calc-private-autoloads): Ditto.
3810 (calc-add-autoloads): Ditto.
3811
3812 * calc/calc-macs.el (calc-with-default-simplification): Use &rest
3813 for body.
3814
3815 2002-02-17 Jason Rumney <jasonr@gnu.org>
3816
3817 * w32-win.el (x-option-alist, x-long-option-alist)
3818 (x-switch-definitions): Remove, use command-line-x-option-alist
3819 instead to be consistent with X.
3820 (x-handle-initial-switch): New function.
3821
3822 2002-02-17 Eli Zaretskii <eliz@is.elta.co.il>
3823
3824 * faces.el (mode-line-inactive, header-line): Add the :inherit
3825 attribute for the tty case.
3826
3827 2002-02-17 stanislav shalunov <shalunov@internet2.edu>
3828
3829 * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
3830 invoked from Rmail with full headers displayed.
3831
3832 2002-02-17 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
3833
3834 * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
3835 when repeated.
3836 * textmodes/paragraphs.el (mark-paragraph): Ditto.
3837
3838 2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
3839
3840 * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
3841 (menu-bar-tools-menu): Removed speedbar.
3842
3843 * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
3844 and `flyspell-mode' entries.
3845
3846 * textmodes/flyspell.el (flyspell): Add to ispell group.
3847
3848 2002-02-17 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
3849
3850 * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
3851 repeated.
3852 (mark-defun): Mark more if repeated.
3853
3854 2002-02-17 Colin Walters <walters@verbum.org>
3855
3856 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
3857
3858 * ibuffer.el (ibuffer-truncate-lines): New option.
3859 (ibuffer-mode): Use it.
3860
3861 2002-02-17 Kim F. Storm <storm@cua.dk>
3862
3863 * cus-start.el: Add mouse-highlight.
3864
3865 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
3866
3867 * Makefile.in (DONTCOMPILE): Remove cus-start.el.
3868
3869 * cus-start.el: Add automatic-hscroll-margin and
3870 automatic-hscroll-step.
3871
3872 2002-02-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
3873
3874 * cus-start.el (x-autoselect-window): Allow customization.
3875
3876 * eshell/em-alias.el (eshell-alias-initialize): Do not use
3877 make-local-hook.
3878
3879 * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
3880
3881 * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
3882
3883 * eshell/em-glob.el (eshell-glob-initialize): Likewise.
3884
3885 * eshell/em-hist.el (eshell-hist-initialize): Likewise.
3886
3887 * eshell/em-pred.el (eshell-pred-initialize): Likewise.
3888
3889 * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
3890
3891 * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
3892
3893 * eshell/em-smart.el (eshell-smart-initialize): Likewise.
3894
3895 * eshell/em-unix.el (eshell-unix-initialize): Likewise.
3896
3897 * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
3898
3899 * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
3900
3901 * eshell/esh-io.el (eshell-io-initialize): Likewise.
3902
3903 * eshell/esh-mode.el (eshell-mode): Likewise.
3904
3905 * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
3906
3907 * eshell/esh-var.el (eshell-var-initialize): Likewise.
3908
3909 * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
3910
3911 * progmodes/idlwave.el (idlwave-mode): Likewise.
3912
3913 * textmodes/reftex-sel.el (reftex-select-label-mode)
3914 (reftex-select-bib-mode): Likewise.
3915
3916 2002-02-16 John Wiegley <johnw@gnu.org>
3917
3918 * eshell/em-hist.el (eshell-hist-initialize): When in the
3919 minibuffer, use the global value of `eshell-history-ring', and
3920 never save it to disk, or ask to save it to disk. This allows
3921 users of session.el to control whether its global state should be
3922 persisted or not.
3923 (eshell-add-command-to-history): Don't write Eshell's history out
3924 to disk, let the governing mode control that upon exit.
3925
3926 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
3927
3928 * eshell/eshell.el (eshell-command): Before reading from the
3929 minibuffer, add eshell-add-command-to-history to
3930 minibuffer-exit-hook, and remove it after read-from-minibuffer
3931 returns.
3932
3933 * eshell/em-hist.el (eshell-add-input-to-history): New function,
3934 with most of the code from eshell-add-to-history.
3935 (eshell-add-command-to-history): New function, to record in
3936 eshell-history the commands run via eshell-command.
3937 (eshell-add-to-history): Call eshell-add-command-to-history to do
3938 most of the work.
3939
3940 2002-02-16 John Wiegley <johnw@gnu.org>
3941
3942 * eshell/esh-ext.el (eshell-external-command): Added a fix for
3943 XEmacs' new dired.el, which adds a global entry in the
3944 `file-name-handler-alist'.
3945
3946 2002-02-16 John Wiegley <johnw@gnu.org>
3947
3948 * align.el (align-region): Added a missing name argument.
3949
3950 2002-02-16 John Wiegley <johnw@gnu.org>
3951
3952 * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
3953 after the #! of a shell interpretor specification.
3954
3955 2002-02-15 Richard M. Stallman <rms@gnu.org>
3956
3957 * help.el (describe-key-briefly): Make output in INSERT case
3958 look just like what is displayed in the normal case.
3959
3960 2002-02-15 Andreas Schwab <schwab@suse.de>
3961
3962 * textmodes/tex-mode.el (tex-font-lock-keywords-2):
3963 Require non-letter after specials.
3964
3965 2002-02-15 Eli Zaretskii <eliz@is.elta.co.il>
3966
3967 * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
3968
3969 2002-02-15 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
3970
3971 * simple.el (mark-word): Mark more if repeated.
3972 * textmodes/paragraphs.el (mark-paragraph): Ditto.
3973 (mark-end-of-sentence): Ditto.
3974
3975 2002-02-15 Per Abrahamsen <abraham@dina.kvl.dk>
3976
3977 * wid-edit.el (widgetp): Made it more robust.
3978
3979 2002-02-14 Per Abrahamsen <abraham@dina.kvl.dk>
3980
3981 * facemenu.el (describe-text-done): New function.
3982 (describe-text-mode-map): New variable.
3983 (describe-text-mode-hook): New option.
3984 (describe-text-mode): New function.
3985 (describe-text-widget): New function.
3986 (describe-text-sexp): New function.
3987 (describe-text-properties): New function.
3988 (describe-text-category): New command.
3989 (describe-text-at): New command.
3990 (facemenu-menu): Replace `list-text-properties-at' with
3991 `describe-text-at' in the menu.
3992
3993 * wid-edit.el (widgetp): New function.
3994 * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
3995
3996 * emacs-lisp/pp.el (pp-to-string): Autoloaded.
3997
3998 * wid-browse.el: Removed version and x-url keywords.
3999
4000 2002-02-13 Kim F. Storm <storm@cua.dk>
4001
4002 * cus-start.el (mode-line-in-non-selected-windows):
4003 Allow customization.
4004
4005 2002-02-13 Richard M. Stallman <rms@gnu.org>
4006
4007 * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
4008 Tell bibtex-parse-keys to output no progress messages.
4009
4010 2002-02-12 Eli Zaretskii <eliz@is.elta.co.il>
4011
4012 * progmodes/pascal.el (pascal-imenu-generic-expression):
4013 Add menu-title and fix parentheses.
4014
4015 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
4016
4017 * menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
4018 (menu-bar-options-menu): Don't set default value for `truncate-lines'.
4019
4020 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
4021
4022 * menu-bar.el (menu-bar-options-save): Only save
4023 `current-language-environment' and `default-input-method' when
4024 marked as customized.
4025
4026 * international/mule-cmds.el
4027 (setup-specified-language-environment):
4028 Mark `current-language-environment' as customized.
4029 (set-input-method): Mark `default-input-method' as customized when
4030 called interactively.
4031 (toggle-input-method): Ditto.
4032
4033 2002-02-11 Colin Walters <walters@verbum.org>
4034
4035 * ibuffer.el (ibuffer-switch-format): Supply required argument for
4036 `ibuffer-current-formats'.
4037
4038 2002-02-11 Miles Bader <miles@gnu.org>
4039
4040 * faces.el (mode-line-inactive): Add dark-background variant.
4041
4042 2002-02-11 Per Abrahamsen <abraham@dina.kvl.dk>
4043
4044 * toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
4045 * menu-bar.el (menu-bar-mode): Ditto.
4046 * cus-edit.el (customize-mark-to-save): Always save variables
4047 without a standard value.
4048
4049 * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
4050 (menu-bar-options-save): Ditto.
4051 (menu-bar-showhide-menu): Ditto.
4052 (menu-bar-options-menu): Ditto.
4053 (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
4054 (menu-bar-scroll-bar-none): Remove.
4055 (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
4056 expressions instead.
4057
4058 * cus-edit.el (customize-set-value): Return value.
4059 (customize-set-variable): Ditto.
4060 (customize-save-variable): Ditto.
4061 (customize-set-variable): Load dependencies before setting value.
4062 (custom-load-symbol): Autoload it.
4063 (customize-mark-as-set): New function.
4064
4065 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il>
4066
4067 * cus-start.el: Don't warn about "x-*" symbols when building a
4068 non-GUI version.
4069
4070 2002-02-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4071
4072 * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
4073 Doc fix.
4074 (strokes-help): Do not use doubled with-output-to-temp-buffer.
4075 Fix the help string.
4076 (strokes-prompt-user-save-strokes): Fix typo.
4077 (strokes-list-strokes): Use proper exit-action argument for
4078 view-buffer. Update copyright notice.
4079
4080 * international/mule-diag.el: Various doc and message fixes.
4081 (non-iso-charset-alist): Add mac-roman. Don't add entries for
4082 codepages already present.
4083 (list-block-of-chars): Display space for null entries in
4084 translation table. Display tab specially.
4085 (list-non-iso-charset-chars): Check for null charsets. Use pop
4086 for clarity. Don't break 8-bit sets into sections between ranges.
4087 (list-charset-chars): Avoid indent-tabs-mode.
4088 (describe-char-after): Maybe use the text property for syntax
4089 table information. Maybe report char-code-property-table info.
4090 Maybe report character's unicode. Tweak printing of list info.
4091 (list-input-methods): Add xref buttons.
4092 (dump-charsets, dump-codings): Deleted (obsolete).
4093 From Dave Love <fx@gnu.org>.
4094
4095 2002-02-10 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4096
4097 * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
4098
4099 2002-02-10 Michael Kifer <kifer@cs.stonybrook.edu>
4100
4101 * viper-util.el (viper-read-key-sequence): Fix so it'll read
4102 fast key sequences in emacs native mode
4103 (viper-events-to-keys): Delete.
4104
4105 * viper.el (describe-key, describe-key-briefly): Get rid of
4106 viper-events-to-keys.
4107
4108 * ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch.
4109
4110 * ediff-wind.el (ediff-setup-control-frame):
4111 Use ediff-has-gutter-support.
4112
4113 * ediff-util.el (ediff-dispose-of-variant-according-to-user):
4114 check if buff is alive.
4115
4116 * ediff.el: Typo in comment.
4117
4118 2002-02-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4119
4120 * menu-bar.el (menu-bar-options-save): Take care of
4121 line-number-mode and column-number-mode variables.
4122 (menu-bar-showhide-menu): New menu-items "Show Line Number" and
4123 "Show Column Number" in "Show/Hide" menu.
4124
4125 2002-02-09 Richard M. Stallman <rms@gnu.org>
4126
4127 * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
4128
4129 2002-02-09 Kim F. Storm <storm@cua.dk>
4130
4131 * faces.el (mode-line-inactive): New face for mode-line for
4132 non-selected windows.
4133 (mode-line): Doc fix: Only used for selected window.
4134
4135 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
4136
4137 * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
4138 name to "Insert Diary Entry".
4139
4140 2002-02-08 Stefan Monnier <monnier@cs.yale.edu>
4141
4142 * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
4143 (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
4144
4145 2002-02-08 Richard M. Stallman <rms@gnu.org>
4146
4147 * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
4148
4149 2002-02-08 Andreas Schwab <schwab@suse.de>
4150
4151 * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
4152 of point-min.
4153
4154 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
4155
4156 * net/ange-ftp.el (ange-ftp-process-handle-line)
4157 (ange-ftp-set-xfer-size): If the file's size is a float, divide
4158 by 1024 instead of using ash.
4159
4160 * international/mule-cmds.el (select-safe-coding-system):
4161 State the buffer's name in the message popped in the *Warning* buffer,
4162 and make sure the offending buffer is displayed.
4163
4164 2002-02-07 Markus Rost <rost@math.ohio-state.edu>
4165
4166 * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
4167
4168 2002-02-07 Richard M. Stallman <rms@gnu.org>
4169
4170 * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
4171
4172 * register.el (list-registers): New command.
4173 (describe-register-1): New subroutine, taken out of view-register.
4174
4175 * emacs-lisp/copyright.el (copyright-regexp):
4176 Delete the unibyte copyright symbol; it's redundant.
4177 Fix a spazz in the multibyte encoding here.
4178
4179 2002-02-07 Dave Love <fx@gnu.org>
4180
4181 * language/cyril-util.el (cyrillic-encode-koi8-r-char)
4182 (cyrillic-encode-alternativnyj-char): Get translation tables from
4183 symbol properties, not as variables.
4184 (standard-display-cyrillic-translit): Include unicodes.
4185
4186 2002-02-06 Kim F. Storm <storm@cua.dk>
4187
4188 * help.el (where-is): Report remapped commands.
4189
4190 * help-fns.el (describe-function-1): Ditto.
4191
4192 * subr.el (global-set-key, local-set-key): Accept a symbol for the
4193 KEY argument (like define-key).
4194
4195 2002-02-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4196
4197 * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
4198
4199 2002-02-06 Richard M. Stallman <rms@gnu.org>
4200
4201 * mail/mailabbrev.el: Require sendmail only at compile time.
4202 (mail-mode-header-syntax-table): Var deleted.
4203 (mail-abbrev-syntax-table): Init to nil, will compute when needed.
4204 (sendmail-pre-abbrev-expand-hook): Only temporarily change
4205 local-abbrev-table and the syntax table.
4206 Compute mail-abbrev-syntax-table if that has not been done.
4207
4208 * progmodes/compile.el (grep-compute-defaults): Definition moved up.
4209
4210 * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
4211 (debugger-frame-number): Figure out the offset directly.
4212 (debugger-setup-buffer): Don't use debugger-frame-offset.
4213 (debugger-frame, debugger-frame-clear): Likewise.
4214 (debugger-jump): Don't alter debugger-frame-offset.
4215
4216 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4217 Replace foo-p as var name with foo-flag, not foo-p-flag.
4218
4219 * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
4220 (highlight-changes-passive-string): Default to -Chg.
4221 (highlight-changes-global-modes): Doc fix.
4222
4223 * dired.el (dired-get-filename): Add /: when appropriate
4224 to avoid taking a local name as remote.
4225
4226 * files.el (file-name-non-special): Add special handling for
4227 file-name-sans-versions, file-name-completion, and
4228 file-name-all-completions.
4229
4230 * isearch.el (isearch-update): Don't update display in kbd macro.
4231 (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
4232
4233 * subr.el (force-mode-line-update): Doc fix.
4234
4235 * subr.el (atomic-change-group, prepare-change-group)
4236 (activate-change-group, accept-change-group, cancel-change-group):
4237 New functions.
4238
4239 * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
4240 (transpose-subr-1): Use atomic-change-group.
4241
4242 * subr.el (add-minor-mode): Include the mode's lighter string
4243 in the minor mode menu item name.
4244
4245 * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
4246 rmail-count-screen-lines starting from (point-min).
4247
4248 * startup.el (use-fancy-splash-screens-p): Need 19 lines,
4249 beyond the image height, to use the fancy splash screen.
4250
4251 * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
4252 (text-mode): Set text-mode-variant here.
4253
4254 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il>
4255
4256 * play/pong.el (pong-height): Don't use height that exceeds the
4257 frame height.
4258 (pong-border-options): Make the border colors slightly more bright.
4259
4260 * play/gamegrid.el (gamegrid-display-type): Treat any
4261 color-capable display as color-x, if display-color-p is fboundp.
4262 (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
4263 (gamegrid-make-color-tty-face): Use the value of color, not the
4264 symbol itself. Don't call gamegrid-color.
4265
4266 2002-02-05 Eli Zaretskii <eliz@is.elta.co.il>
4267
4268 * gud.el (gud-refresh): Call recenter only after we are sure we
4269 are in the right window.
4270
4271 2002-02-05 Per Abrahamsen <abraham@dina.kvl.dk>
4272
4273 * cus-edit.el (customize-mark-to-save): New function.
4274 * menu-bar.el (menu-bar-options-save): Rewrote.
4275
4276 2002-02-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4277
4278 * cus-start.el (x-use-underline-position-properties):
4279 Allow customization.
4280
4281 2002-02-04 Simon Josefsson <jas@extundo.com>
4282
4283 * dired.el (dired-load-hook, dired-mode-hook)
4284 (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
4285
4286 2002-02-03 Colin Walters <walters@verbum.org>
4287
4288 * ibuf-ext.el (ibuffer-filter-format-alist)
4289 (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
4290 New variables.
4291 * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
4292 is now the Emacs CVS tree.
4293 (ibuffer-formats): Doc fix.
4294 (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
4295 (ibuffer-current-format): Use them.
4296 (ibuffer-recompile-formats, ibuffer-check-formats)
4297 (ibuffer-switch-format, ibuffer-update-title):
4298 Add support for ibuffer-filter-format-alist.
4299 (define-ibuffer-column process): Remove unncessary consing.
4300
4301 * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
4302 for a summary column.
4303
4304 2002-02-03 Andreas Schwab <schwab@suse.de>
4305
4306 * window.el (save-selected-window): Move macro before first use.
4307 (balance-windows): Fix misplaced parenthesis.
4308
4309 2002-02-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4310
4311 * calculator.el (calculator-displayers): Doc fixes.
4312
4313 2002-02-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4314
4315 * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
4316 (menu-bar-options-save): Save also the value of `display-time-mode'.
4317 (showhide-date-time): New function.
4318 (menu-bar-showhide-menu): New menu-item "Date and time".
4319
4320 2002-02-03 Eli Zaretskii <eliz@is.elta.co.il>
4321
4322 * mail/rmail.el (rmail): Use find-buffer-visiting instead of
4323 get-file-buffer to check for rmail buffer existence.
4324
4325 * term.el (term-emulate-terminal): Extract proper command string
4326 which is supplied to term-command-hook.
4327
4328 2002-02-03 Richard M. Stallman <rms@gnu.org>
4329
4330 * international/quail.el (quail-help): Don't call help-setup-xref.
4331
4332 * international/mule-cmds.el (describe-input-method):
4333 Call help-setup-xref here.
4334 (describe-current-input-method): Doc fix.
4335
4336 * novice.el (disabled-command-hook): Clarify output text.
4337 Indent the paragraph from the command's doc string.
4338
4339 * dabbrev.el (dabbrev--goto-start-of-abbrev):
4340 Exit loop on beginning of field rather than bobp.
4341
4342 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
4343
4344 * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
4345 the message text into the *mail* buffer, and restore the pruned
4346 state after that.
4347
4348 * mail/rmail.el (rmail-redecode-body): Prune the headers before
4349 looking for X-Coding-System header, and restore the pruned state
4350 before returning.
4351
4352 2002-02-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4353
4354 * cus-edit.el (customize-save-variable): Fix typo in prompt.
4355
4356 These changes integrate new version of flyspell.el from its
4357 maintainer, Manuel Serrano:
4358
4359 * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
4360 (flyspell-mode-on, flyspell-notify-misspell)
4361 (flyspell-small-region, flyspell-external-point-words)
4362 (flyspell-large-region): Use it
4363 (flyspell-before-incorrect-word-string)
4364 (flyspell-after-incorrect-word-string): New user options.
4365 (make-flyspell-overlay): Use them.
4366 (flyspell-version): New function.
4367 (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
4368 definitions to use :weight.
4369 (flyspell-insert-function): New user option.
4370 (flyspell-auto-correct-word, flyspell-correct-word)
4371 (flyspell-xemacs-correct): Use it.
4372 (flyspell-define-abbrev): New function.
4373 (flyspell-auto-correct-word, flyspell-correct-word)
4374 (flyspell-xemacs-correct): Use it.
4375 (make-flyspell-overlay): Use `evaporate' property.
4376 (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
4377 (flyspell-emacs-popup): Use `session' instead of `accept'.
4378 (flyspell-auto-correct-previous-pos): New variable.
4379 (flyspell-auto-correct-previous-hook)
4380 (flyspell-auto-correct-previous-word): New functions.
4381
4382 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
4383
4384 * novice.el (enable-command): If Emacs was invoked as "emacs -q",
4385 don't alter the user's ~/.emacs.
4386 (disable-command): If user-init-file is nil or does not exist,
4387 default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
4388 But don't alter the init file if Emacs was invoked as "emacs -q"
4389
4390 2002-02-01 Stefan Monnier <monnier@cs.yale.edu>
4391
4392 * mail/sendmail.el (mail-mode): Undo half of last change.
4393
4394 * indent.el (indent-for-tab-command): Remove spurious code.
4395
4396 * hi-lock.el (hi-lock-find-patterns): Save restriction.
4397
4398 2002-02-01 Eli Zaretskii <eliz@is.elta.co.il>
4399
4400 * calendar/time-date.el: Moved from lisp/gnus.
4401
4402 * calendar/parse-time.el: Ditto.
4403
4404 2002-01-31 Richard M. Stallman <rms@gnu.org>
4405
4406 * international/iso-acc.el (iso-languages): Fix ", " in French.
4407
4408 * cus-start.el (history-length): Specify customization for it.
4409
4410 * emacs-lisp/debug.el (debugger-setup-buffer):
4411 When an eval-buffer frame was reading from a buffer,
4412 insert indication of the buffer position.
4413 (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
4414 (debugger-frame-clear, debugger-frame): Error on non-frame line.
4415
4416 * simple.el (shell-command-on-region): Err if no mark
4417 before reading the command string.
4418
4419 * hl-line.el (hl-line-highlight, hl-line-unhighlight):
4420 Definitions moved down after hl-line-mode var's definition.
4421
4422 * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
4423 (hilit-chg-set-face-on-change): Rename arg.
4424 (hilit-chg-make-ov): Detect error earlier.
4425
4426 * ediff-hook.el: Delete autoload cookies.
4427
4428 * comint.el (comint-scroll-show-maximum-output): Default is t.
4429
4430 * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
4431 (batch-byte-compile-if-not-done): New function.
4432
4433 * Makefile.in (compile): New target.
4434 (compile-always): Renamed from compile-files.
4435 (compile-after-backup): Renamed from compile.
4436 (bootstrap): Depend on compile-always, not compile-files.
4437
4438 * emulation/pc-select.el (pc-select-save-and-set-mode):
4439 Properly use MODE-VAR.
4440
4441 2002-01-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4442
4443 * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
4444 Version" to "About Emacs".
4445 (menu-bar-options-save): Add `default-frame-alist'
4446 to saved variables.
4447 (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
4448 of the variable `scroll-bar-mode'.
4449
4450 * startup.el (normal-splash-screen, display-splash-screen):
4451 New functions (separated from command-line-1).
4452 (command-line-1): Use them.
4453
4454 2002-01-28 Eli Zaretskii <eliz@is.elta.co.il>
4455
4456 * calendar/calendar.el (generate-calendar-month): Doc fix.
4457
4458 2002-01-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4459
4460 * time.el (display-time-mail-directory): New option.
4461 (display-time-mail-function): Update doc-string.
4462 (display-time-mail-icon): Use XPM image when available.
4463 (display-time-string-forms): Use more descriptive text as
4464 help-echo property.
4465 (display-time-mail-check-directory): New function.
4466 (display-time-update): Use it.
4467
4468 * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
4469 Quote `window-system'.
4470
4471 * tmm.el (tmm-get-keymap): Honour :visible in `menu-item'.
4472 Add Keywords header. Update Commentary section.
4473 Update copyright notice.
4474
4475 * menu-bar.el (menu-bar-scroll-bar-right)
4476 (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
4477 (showhide-menu-bar): New functions.
4478 (menu-bar-showhide-menu): New submenu "Show/Hide".
4479 (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
4480 "Show/Hide".
4481 Update copyright notice.
4482
4483 2002-01-27 Eli Zaretskii <eliz@is.elta.co.il>
4484
4485 * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
4486
4487 2002-01-26 Evgeny Roubinchtein <evgenyr@cs.washington.edu>
4488
4489 * pc-select.el (pc-selection-mode-hook)
4490 (pc-select-saved-settings-alist, pc-select-map)
4491 (pc-select-saved-global-map, pc-select-key-bindings-alist)
4492 (pc-select-default-key-bindings, pc-select-extra-key-bindings)
4493 (pc-select-meta-moves-sexps-key-bindings)
4494 (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
4495 New variables.
4496 (pc-select-define-keys, pc-select-restore-keys): New functions.
4497 (pc-select-add-to-alist, pc-select-save-and-set-var)
4498 (pc-select-save-and-set-mode, pc-select-restore-var)
4499 (pc-select-restore-mode): New macros.
4500 (pc-selection-mode): Completely rewrote the body of the function;
4501 the main goal was to make pc-selection-mode "turn-off"-able, like
4502 other minor modes. Use define-minore-mode instead of just a
4503 defun. Store the key bindings into four alists:
4504 pc-select-default-key-bindings, pc-select-extra-key-bindings,
4505 pc-select-meta-moves-sexps-key-bindings, and
4506 pc-select-tty-key-bindings; then have the pc-select-define-keys
4507 function walk those alists instead of calling define-key
4508 repeatedly. When the mode is turned on, set the
4509 keybindings in global-map and remember the old keybindings; when
4510 the mode is turned off, restore the previously-saved keybindings.
4511 (pc-selection-mode defcustom): Reflect the fact that the mode is
4512 now "turn-off"-able.
4513
4514 2002-01-26 Eli Zaretskii <eliz@is.elta.co.il>
4515
4516 * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
4517 returns t, don't treat that as an error.
4518
4519 2002-01-25 Jason Rumney <jasonr@gnu.org>
4520
4521 * faces.el (face-font-registry-alternatives) [windows-nt]:
4522 Add ms-oemlatin as an alternative for iso8859-1.
4523
4524 2002-01-25 Stefan Monnier <monnier@cs.yale.edu>
4525
4526 * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
4527 args and the absence of an entry. Don't add -f each time.
4528
4529 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il>
4530
4531 * emacs-lisp/cl-seq.el (mismatch): Doc fix.
4532
4533 Support for more than 8 colors on character terminals:
4534
4535 * term/rxvt.el: New file.
4536
4537 * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
4538
4539 * term/xterm.el (xterm-standard-colors): New variable.
4540 (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
4541 (xterm-rxvt-set-background-mode): New functions.
4542 (toplevel): Call xterm-register-default-colors,
4543 xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
4544 Add support for more keys from xterm's terminfo entry.
4545
4546 * facemenu.el (list-colors-display): If the argument is nil, don't
4547 show more colors that the number returned by display-color-cells.
4548
4549 * term/pc-win.el (msdos-color-values): Reverse the order of the
4550 colors, since tty-color-define now preserves the registration order.
4551
4552 * w32-fns.el (w32-tty-standard-colors): Reverse the order.
4553
4554 * term/tty-colors.el (tty-standard-colors): Reverse the order.
4555 (tty-register-default-colors): New function; code moved from
4556 startup.el's command-line.
4557 (tty-modify-color-alist): Use nconc instead of cons, to preserve
4558 the order the colors where registered.
4559
4560 * frame.el (display-color-cells): Use tty-display-color-cells.
4561
4562 * startup.el (command-line): Call tty-register-default-colors.
4563
4564 2002-01-25 Richard M. Stallman <rms@gnu.org>
4565
4566 * subr.el (remove): Doc fix.
4567
4568 2002-01-24 Richard M. Stallman <rms@gnu.org>
4569
4570 * progmodes/compile.el (compilation-handle-exit):
4571 Add a compilation-handle-exit property to the "finished" message.
4572 (compilation-parse-errors): Stop parsing when that property is seen.
4573
4574 * subr.el (substring-no-properties): New function.
4575 (copy-without-properties): Function deleted.
4576
4577 * term/x-win.el (x-handle-geometry): Put sizes on both
4578 initial-frame-alist and default-frame-alist.
4579
4580 * cus-edit.el (custom-save-all): Bind file-precious-flag to t
4581 for saving .emacs.
4582
4583 * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
4584
4585 * calendar/calendar.el (generate-calendar-month): Doc fix.
4586
4587 2002-01-23 Richard M. Stallman <rms@gnu.org>
4588
4589 * play/tetris.el (tetris): New defgroup.
4590 (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
4591 (tetris-default-tick-period): Convert to defcustom.
4592 Added * in docstring to indicate user variable.
4593 (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
4594 (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
4595 (tetris-buffer-height, tetris-width, tetris-height)
4596 (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
4597
4598 2002-01-22 Stefan Monnier <monnier@cs.yale.edu>
4599
4600 * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
4601 and is already matched by adaptive-fill-regexp.
4602
4603 2002-01-22 Richard M. Stallman <rms@gnu.org>
4604
4605 * bindings.el (mode-line-copied-mode-name): New variable.
4606 (mode-line-mode-name): Don't modify mode-name itself!
4607 Instead, make a copy and reuse it.
4608
4609 * subr.el (copy-without-properties): New function.
4610
4611 * progmodes/sh-script.el (sh-set-shell): Doc fix.
4612
4613 * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
4614 slash if DIR is just slash.
4615
4616 * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
4617
4618 2002-01-21 Richard M. Stallman <rms@gnu.org>
4619
4620 * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
4621
4622 * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
4623 Move defvar up.
4624
4625 * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
4626
4627 * ibuffer.el: Don't require ibuf-ext at load time.
4628 (ibuffer): Require ibuf-ext here.
4629
4630 2002-01-21 Francesco Potorti` <pot@gnu.org>
4631
4632 * generic-x.el (apache-conf-generic-mode): Highlight the first
4633 word in a line even if preceded by blanks.
4634
4635 2002-01-21 Richard M. Stallman <rms@gnu.org>
4636
4637 * window.el (window-body-height): Handle minibuffer window specially.
4638 Otherwise, don't return less than 1.
4639
4640 2002-01-20 Thomas Dorner <Thomas.Dorner@start.de>
4641
4642 * ange-ftp.el: Added support for BS2000, and for raw ftp
4643 login commands (needed in some circumstances).
4644 (ange-ftp-raw-login): New custom var.
4645 (ange-ftp-normal-login): Perform login with raw ftp commands, if
4646 ange-ftp-raw-login is set and account password is needed.
4647 (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
4648 (ange-ftp-bs2000-filename-pubset-regexp)
4649 (ange-ftp-bs2000-filename-username-regexp)
4650 (ange-ftp-bs2000-filename-prefix-regexp)
4651 (ange-ftp-bs2000-name-template): New consts.
4652 (ange-ftp-bs2000-short-filename-regexp)
4653 (ange-ftp-bs2000-fix-name-regexp-reverse)
4654 (ange-ftp-bs2000-fix-name-regexp): New consts.
4655 (ange-ftp-bs2000-special-prefix): New custom var.
4656 (ange-ftp-fix-name-for-bs2000)
4657 (ange-ftp-fix-dir-name-for-bs2000): New funs.
4658 (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
4659 (ange-ftp-bs2000-posix-hook-installed): New vars.
4660 (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
4661 (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
4662 (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
4663 (ange-ftp-bs2000-filename-regexp): New const.
4664 (ange-ftp-bs2000-additional-pubsets): New custom var.
4665 (ange-ftp-bs2000-cd-to-posix): New fun.
4666
4667 2002-01-20 Colin Walters <walters@verbum.org>
4668
4669 * ibuffer.el: (toplevel) Require `ibuf-ext', which is now compiled
4670 with `byte-compile-dynamic'.
4671 (ibuffer-default-directory, toplevel): Doc files.
4672
4673 2002-01-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4674
4675 * tempo.el (tempo-define-template): Doc fix.
4676
4677 * scroll-bar.el (scroll-bar-mode): Make argument optional.
4678
4679 2002-01-20 Jason Rumney <jasonr@gnu.org>
4680
4681 * w32-vars.el: New file.
4682
4683 * loadup.el [windows-nt]: Load it.
4684
4685 * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
4686 and make them defcustoms.
4687
4688 * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
4689
4690 2002-01-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4691
4692 * language/tibet-util.el (tibetan-decompose-region)
4693 (tibetan-decompose-string): Fix typo in docstring.
4694
4695 * ruler-mode.el (ruler-mode): New keyword. Fix :version.
4696
4697 2002-01-18 Richard M. Stallman <rms@gnu.org>
4698
4699 * comint.el (comint-redirect-send-command-to-process):
4700 Restore previous current buffer.
4701
4702 * window.el (window-body-height): New function.
4703
4704 2002-01-18 Zoltan Kemenczy <kemenczy@rogers.com>
4705
4706 * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
4707 "Finish Function" menu map entries for jdb mode.
4708 (gud-jdb-use-classpath): New customization variable.
4709 (gud-jdb-command-name): Add customization.
4710 (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
4711 (gud-jdb-classpath-string): New variable.
4712 (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
4713 (gud-jdb-build-source-files-list): Likewise.
4714 (gud-jdb-massage-args): Record any command argument classpath
4715 string in `gud-jdb-classpath-string'.
4716 (gud-jdb-lowest-stack-level): New function, finds bottom of current
4717 java call stack in jdb output.
4718 (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
4719 (gud-jdb-parse-classpath-string): New functions.
4720 (gud-jdb-marker-filter): Search/detect classpath information in
4721 jdb's output. marker regexp updated to match oldjdb and jdb output
4722 formats. Expand search for source files to include new/old methods
4723 using new functions above. Do not allow `gud-marker-acc' to grow
4724 without bound.
4725 (jdb): Set classpath information (if available) as jdb is started.
4726 Change `gud-break' and `gud-remove'
4727 to use new %c ("class") escape in format strings. Add
4728 `gud-finish', `gud-up', `gud-down' command string functions, and
4729 add them to the local menu map. Update `comint-prompt-regexp' for
4730 jdb and oldjdb. If attaching to an already running java VM and
4731 configured to use classpath, send command to query for classpath,
4732 else use previous method for finding and parsing java
4733 sources. Set `gud-jdb-find-source' function accordingly.
4734 (gud-mode): Doc fix.
4735 (gud-format-command): Add support for new %c ("class") escape.
4736 (gud-find-class): New function in support of %c escape.
4737
4738 2002-01-17 Richard M. Stallman <rms@gnu.org>
4739
4740 * ibuf-ext.el: Enable byte-compile-dynamic.
4741
4742 2002-01-17 Jason Rumney <jasonr@gnu.org>
4743
4744 * term/w32-win.el: Restore conditional require of fontset.
4745
4746 2002-01-16 Richard M. Stallman <rms@gnu.org>
4747
4748 * mouse.el (mouse-drag-region-1): Renamed from mouse-drag-region,
4749 more or less.
4750 (mouse-drag-region): New function. For a click in the echo area,
4751 show *Messages*.
4752
4753 * ibuf-ext.el: Delete the autoloads for functions defined with
4754 ibuffer-specific commands.
4755
4756 * help.el (describe-distribution): Really call view-file.
4757
4758 * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
4759 (ange-ftp-get-process): Pass that arg.
4760
4761 * comint.el (comint-simple-send): Fix previous change.
4762
4763 * net/telnet.el (telnet-simple-send): Fix previous change.
4764
4765 * progmodes/sql.el (sql-escape-newlines-and-send)
4766 (sql-query-placeholders-and-send): Fix previous change.
4767
4768 2002-01-16 Colin Walters <walters@verbum.org>
4769
4770 * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
4771 URL, Compatibility headers. Update copyright notice.
4772 * ibuf-macs.el (toplevel): Require `cl' when compiling.
4773
4774 2002-01-16 Andrew Choi <akochoi@cse.cuhk.edu.hk>
4775
4776 * startup.el (command-line): Set EOL mnemonics for the Mac.
4777
4778 2002-01-16 Andreas Schwab <schwab@suse.de>
4779
4780 * mail/feedmail.el (feedmail): Fix :link spec.
4781
4782 2002-01-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4783
4784 * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
4785 2 ldapsearch.
4786
4787 * net/eudc.el: New maintainer. Change author's address.
4788 (eudc-pre-select-window-configuration, eudc-insertion-marker):
4789 Variables removed.
4790 (eudc-insert-selected): Function removed.
4791 (eudc-select): Reimplemented.
4792 (eudc-expand-inline): Delete the strings only after its expansion
4793 is chosen not before.
4794
4795 * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
4796 Minor coding style fixes.
4797
4798 * net/eudcb-ldap.el: New maintainer. Change author's address.
4799 (eudc-attribute-display-method-alist): Display mail with
4800 eudc-display-mail.
4801
4802 * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
4803 * net/eudc-vars.el: New maintainer. Change author's address.
4804
4805 * net/eudc-bob.el: New maintainer. Change author's address.
4806 (eudc-bob-mail-keymap): New keymap for e-mail addresses.
4807 (eudc-display-mail): New function.
4808 (eudc-bob-play-sound-at-point): Remove XEmacs case.
4809
4810 2002-01-15 Richard M. Stallman <rms@gnu.org>
4811
4812 * emacs-lisp/autoload.el (make-autoload):
4813 Don't handle define-ibuffer-column, define-ibuffer-filter,
4814 define-ibuffer-sorter, and define-ibuffer-op.
4815
4816 2002-01-14 Richard M. Stallman <rms@gnu.org>
4817
4818 * calendar/calendar.el (diary-date-forms): Doc fix.
4819
4820 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
4821
4822 * startup.el (command-line): Register the default tty colors even
4823 if the terminal doesn't seem to support colors.
4824 <tty-long-option-alist>: New option --color.
4825 (tty-handle-args): Parse the --color arg.
4826
4827 * term/tty-colors.el (tty-color-mode-alist): New variable.
4828
4829 2002-01-14 Stefan Monnier <monnier@cs.yale.edu>
4830
4831 * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
4832 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
4833 Use it.
4834 (ange-ftp-hook-function): Preserve match-data.
4835 (ange-ftp-insert-directory): Typo.
4836 (ange-ftp-shell-command): Check if regexp matched.
4837
4838 2002-01-13 Richard M. Stallman <rms@gnu.org>
4839
4840 * international/mule-cmds.el: help-map bindings moved to help.el.
4841
4842 * help.el (view-echo-area-messages): New function.
4843 (help-map): Add `e' binding. Delete obsolete `d' binding.
4844 Change old Info bindings C-f, C-k and C-i to F, K, S.
4845 Move view-emacs-FAQ from F to C-f.
4846 Move view-emacs-problems from P to C-e.
4847 Bindings moved here from mule-cmds.el.
4848 C-l binding for describe-language-environment deleted
4849 (help-for-help): Update for all these changes.
4850
4851 * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
4852
4853 2002-01-13 Dave Love <fx@gnu.org>
4854
4855 * emacs-lisp/copyright.el: Doc fixes.
4856 (copyright-regexp): Add Latin-9 copyright sign.
4857 Match comment delimiters in year lists.
4858 (copyright-current-year): Initialize to load-time year.
4859
4860 2002-01-13 Andreas Schwab <schwab@suse.de>
4861
4862 * dired-aux.el (dired-do-shell-command): Doc fix.
4863
4864 2002-01-13 Jan Djarv <Jan.Djarv@mbox200.swipnet.se>
4865
4866 * startup.el (command-line-x-option-alist): New options "-fs",
4867 "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
4868
4869 * term/x-win.el (x-handle-initial-switch): New function.
4870
4871 2002-01-13 Colin Walters <walters@debian.org>
4872
4873 * emacs-lisp/autoload.el (make-autoload): Handle
4874 define-ibuffer-column, define-ibuffer-filter,
4875 define-ibuffer-sorter, and define-ibuffer-op.
4876
4877 * emacs-lisp/lisp-mode.el (toplevel): Ditto.
4878
4879 * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
4880
4881 2002-01-12 Richard M. Stallman <rms@gnu.org>
4882
4883 * net/browse-url.el (browse-url-grail):
4884 Use browse-url-maybe-new-window.
4885
4886 * net/telnet.el (telnet-simple-send): Handle
4887 comint-input-sender-no-newline like comint-simple-send.
4888
4889 * progmodes/sql.el (sql-query-placeholders-and-send): Handle
4890 comint-input-sender-no-newline like comint-simple-send.
4891 (sql-escape-newlines-and-send): Likewise.
4892
4893 * comint.el (comint-input-sender): Doc fix.
4894 (comint-input-sender-no-newline): New variable.
4895 (comint-simple-send): If comint-input-sender-no-newline,
4896 don't output newline, but maybe send eof.
4897 (comint-send-input): New arg NO-NEWLINE.
4898 (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
4899
4900 2002-01-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4901
4902 * textmodes/flyspell.el (flyspell-check-pre-word-p): Prevent
4903 delaying when executing keyboard macros.
4904
4905 2002-01-12 Richard M. Stallman <rms@gnu.org>
4906
4907 * simple.el (line-move): If we can't move enough lines,
4908 go to beginning or end of line.
4909
4910 * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
4911 and proper window.
4912
4913 * help.el (describe-mode): Call help-setup-xref in the help buffer.
4914 Switch buffers only after calling `help-buffer'.
4915
4916 * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
4917 only when they are surrounded by whitespace.
4918 Use dired-mark-separator when adding one file name to a command.
4919 (dired-do-shell-command): Verify that * is surrounded by whitespace.
4920 Ask for confirmation if * or ? is not surrounded by whitespace.
4921 (dired-bunch-files): Re-reverse the partial file list when it is used.
4922
4923 2002-01-12 Richard M. Stallman <rms@gnu.org>
4924
4925 * comint.el (comint-dynamic-list-completions): Repeating the command
4926 after displaying a completion list scrolls the list.
4927
4928 2002-01-12 Eli Zaretskii <eliz@is.elta.co.il>
4929
4930 * files.el (find-file-noselect): Don't consider a buffer as
4931 visiting a file literally if it is in hexl-mode.
4932
4933 * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
4934
4935 2002-01-11 Richard M. Stallman <rms@gnu.org>
4936
4937 * startup.el (initial-scratch-message): Fix custom type, add group.
4938
4939 * mail/rmail.el (rmail-decode-babyl-format): Disable undo
4940 around the decode-coding-region call.
4941
4942 * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
4943 after displaying a completion list scrolls the list.
4944
4945 2002-01-11 Eli Zaretskii <eliz@is.elta.co.il>
4946
4947 * version.el (emacs-version): Bump to 21.2.50.
4948
4949 2002-01-10 Thien-Thi Nguyen <ttn@giblet.glug.org>
4950
4951 * play/zone.el (zone-timeout): New var.
4952 (zone-hiding-modeline): New macro.
4953 (zone-call): New func.
4954
4955 (zone): Init `modeline-hidden-level' symbol property.
4956 Use `zone-call' instead of `funcall'.
4957
4958 (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 2001-10-26T20:11:25Z!monnier@iro.umontreal.ca).
4959
4960 (zone-pgm-stress): Use `zone-hiding-modeline'.
4961
4962 (zone-pgm-stress-destress): New zone program.
4963
4964 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
4965
4966 * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
4967
4968 2002-01-09 Richard M. Stallman <rms@gnu.org>
4969
4970 * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
4971
4972 2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu>
4973
4974 * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
4975 flyspell-mouse-map.
4976
4977 2002-01-08 Richard M. Stallman <rms@gnu.org>
4978
4979 * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
4980
4981 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
4982
4983 * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
4984
4985 2002-01-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
4986
4987 * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
4988 Do not use make-local-hook.
4989
4990 2002-01-08 Eli Zaretskii <eliz@is.elta.co.il>
4991
4992 * international/quail.el (quail-start-translation)
4993 (quail-start-conversion): Bind last-command-event, last-command,
4994 and this-command in the first let. This fixes the change from
4995 2000-08-30.
4996
4997 2002-01-08 Michael Kifer <kifer@cs.stonybrook.edu>
4998
4999 * ediff-hook.el: Add an autoload cookie.
5000
5001 2002-01-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5002
5003 * net/eudcb-ph.el, net/ldap.el: New maintainer. New e-mail
5004 address of the author.
5005
5006 2002-01-08 Richard M. Stallman <rms@gnu.org>
5007
5008 * replace.el (occur-mode-goto-occurrence-other-window): New command.
5009 (occur-mode-map): Bind `o' to that.
5010
5011 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
5012
5013 * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
5014 new macro that replaces viper-emacs-p and viper-xemacs-p in many
5015 cases. Used to reduce the number of warnings.
5016
5017 * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
5018 (viper-standard-value): Move here from viper.el.
5019 (viper-set-unread-command-events): Move to viper-util.el
5020 (viper-check-minibuffer-overlay): Make sure
5021 viper-minibuffer-overlay is moved to cover the entire input field.
5022
5023 * viper-util.el: use viper-cond-compile-for-xemacs-or-emacs.
5024 (viper-read-key-sequence, viper-set-unread-command-events)
5025 (viper-char-symbol-sequence-p, viper-char-array-p): Moved here.
5026
5027 * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
5028
5029 * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
5030
5031 * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
5032
5033 * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
5034 (viper-event-vector-p): Move to viper-util.el
5035
5036 * viper.el (viper-standard-value): Move to viper-cmd.el.
5037 Use viper-cond-compile-for-xemacs-or-emacs.
5038
5039 * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
5040
5041 * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
5042
5043 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
5044 New macro designed to be used in many places where ediff-emacs-p or
5045 ediff-xemacs-p was previously used. Reduces the number of warnings.
5046 Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
5047 of ediff-xemacs-p.
5048 (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
5049 (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
5050 (ediff-whitespace-diff-region-p, ediff-get-region-contents):
5051 Move to ediff-util.el.
5052 (ediff-event-key): Moved here.
5053
5054 * ediff-merge.el: Got rid of unreferenced variables.
5055
5056 * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
5057
5058 * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
5059 (ediff-cleanup-mess): Improve the way windows are set up after
5060 quitting ediff.
5061 (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
5062 (ediff-dispose-of-variant-according-to-user): New function
5063 designed to be smarter and also understands indirect buffers.
5064 (ediff-highlight-diff-in-one-buffer)
5065 (ediff-unhighlight-diff-in-one-buffer)
5066 (ediff-unhighlight-diffs-totally-in-one-buffer)
5067 (ediff-highlight-diff, ediff-highlight-diff)
5068 (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
5069 (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
5070 (ediff-get-region-contents, ediff-make-current-diff-overlay):
5071 Moved here.
5072 (ediff-format-bindings-of): New function by Hannu Koivisto
5073 <azure@iki.fi>.
5074 (ediff-setup): Make sure the merge buffer is always widened and
5075 modifiable.
5076 (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
5077 result of a merge into a file visited by another buffer.
5078 (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
5079 is visited by another buffer and ask to save/delete that buffer.
5080 (ediff-verify-file-merge-buffer): New function to do the above.
5081
5082 * ediff-vers.el: Load ediff-init.el at compile time.
5083
5084 * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
5085
5086 * ediff.el (ediff-windows, ediff-regions-wordwise)
5087 (ediff-regions-linewise): Use indirect buffers to improve
5088 robustness and make it possible to compare regions of the same
5089 buffer (even overlapping regions).
5090 (ediff-clone-buffer-for-region-comparison)
5091 (ediff-clone-buffer-for-window-comparison): New functions.
5092 (ediff-files-internal): Refuse to compare identical files.
5093 (ediff-regions-internal): Get rid of the warning about comparing
5094 regions of the same buffer.
5095
5096 * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Moved here.
5097 Plus the following fixes courtesy of Dave Love: Doc fixes.
5098 (ediff-word-1): Use word class and move - to the
5099 front per regexp documentation.
5100 (ediff-wordify): Bind forward-word-function outside loop.
5101 (ediff-copy-to-buffer): Use insert-buffer-substring rather than
5102 consing buffer contents.
5103 (ediff-goto-word): Move syntax table setting outside loop.
5104
5105 2002-01-07 Richard M. Stallman <rms@gnu.org>
5106
5107 * dired.el (dired-copy-filename-as-kill): Call kill-append
5108 if following a kill command.
5109
5110 * help-fns.el (describe-variable, describe-function):
5111 Do save-excursion.
5112
5113 2002-01-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5114
5115 * net/ldap.el (ldap-search-internal): Skip error message from
5116 ldapsearch. Allow listing attribute names only. Do not open
5117 non-existent files.
5118
5119 * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
5120 call non-existent function.
5121
5122 * net/eudc.el (top-level): Revert previous change.
5123
5124 * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
5125 variables to prevent warning from byte-compiler.
5126
5127 * net/eudc.el (top-level): Use eudc-xemacs-p instead of
5128 string-match on emacs-version again.
5129
5130 * enriched.el (enriched-make-annotation): Fix the change from
5131 2002-01-05.
5132 (enriched-handle-display-prop): Return proper values.
5133
5134 * net/eudcb-ldap.el (eudc-attribute-display-method-alist): Use
5135 proper attribute name labeledUri instead of deprecated labeledUrl.
5136
5137 2002-01-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5138
5139 * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
5140 editing an empty hotlist.
5141
5142 * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
5143 Use buffer-string instead of buffer-substring for the whole
5144 buffer.
5145
5146 * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
5147 not free.
5148
5149 * net/eudc-bob.el (eudc-bob-can-display-inline-images)
5150 (eudc-bob-display-jpeg): Use fboundp instead of boundp.
5151 (eudc-bob-save-object): Make the buffer unibyte.
5152 (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
5153 object to external program.
5154
5155 2002-01-05 Andre Spiegel <spiegel@gnu.org>
5156
5157 * vc.el (vc-branch-part): Return nil if there's no `.'
5158 (vc-default-previous-version): Renamed from vc-previous-version.
5159 New args BACKEND and FILE. Return nil for revision numbers
5160 without a `.'
5161 (vc-version-diff): Call vc-BACKEND-previous-version.
5162 (vc-steal-lock): Steal lock before composing mail, so that no mail
5163 is sent when the stealing goes wrong. And we'll actually see the
5164 error in that case now.
5165 (vc-finish-steal): Removed.
5166
5167 * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
5168 the lock, so that we see expanded headers.
5169 (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p,
5170 vc-rcs-minor-part, vc-rcs-previous-version): Removed. These are
5171 available from vc.el. Updated all callers.
5172
5173 2002-01-05 Richard M. Stallman <rms@gnu.org>
5174
5175 * enriched.el (enriched-make-annotation): Doc fix.
5176
5177 * format.el (format-replace-strings, format-subtract-regions)
5178 (format-annotate-region, format-annotate-location)
5179 (format-annotate-atomic-property-change)
5180 (format-annotate-single-property-change): Doc fixes.
5181
5182 2002-01-05 Jason Rumney <jasonr@gnu.org>
5183
5184 * term/w32-win.el: Require fontset unconditionally.
5185 (w32-handle-scroll-bar-event): Remove.
5186
5187 2002-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5188
5189 * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
5190 copyrights to be updated.
5191
5192 2002-01-04 Eli Zaretskii <eliz@is.elta.co.il>
5193
5194 * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
5195 2001-10-24.
5196
5197 * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
5198
5199 2002-01-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5200
5201 * net/ldap.el (ldap-host-parameters-alist): Remove duplicated
5202 entry.
5203 (ldap-ignore-attribute-codings): Change the default value to allow
5204 encoding/decoding of attributes.
5205 (ldap-coding-system): Use UTF-8 as the coding-system. Doc fix.
5206
5207 2002-01-03 Richard M. Stallman <rms@gnu.org>
5208
5209 * files.el (basic-save-buffer): Undo previous change.
5210
5211 * calendar/diary-lib.el (diary-block): Doc fix.
5212
5213 * custom.el (defcustom): Fix syntax of previous change.
5214
5215 2002-01-03 Per Abrahamsen <abraham@dina.kvl.dk>
5216
5217 * custom.el (defcustom): Documented :tag, :link and :load.
5218
5219 2002-01-03 Eli Zaretskii <eliz@is.elta.co.il>
5220
5221 * mail/sendmail.el (mail-recover-1): New function.
5222 (mail-recover): Switch to the *mail* buffer right away. Use
5223 buffer-auto-save-file-name instead of calling
5224 make-auto-save-file-name. Call dired-noselect instead of invoking
5225 `ls' directly. Bind coding-system-for-read to emacs-mule-unix
5226 before reading the auto-save file. If the buffer's auto-save file
5227 does not exist, call mail-recover-1 to allow recovery from past
5228 auto-saved drafts.
5229
5230 2002-01-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5231
5232 * time.el (display-time-load-average-threshold): Fix defcustom
5233 (add type and group).
5234
5235 * net/ange-ftp.el (ange-ftp-shell-command): Remove port
5236 specification from the hostname.
5237
5238 2002-01-02 Richard M. Stallman <rms@gnu.org>
5239
5240 * facemenu.el (facemenu-active-faces):
5241 Use face-attributes-as-vector, not face-attributes-vector.
5242
5243 2002-01-02 Chris Hanson <cph@aarau.ai.mit.edu>
5244
5245 * xscheme.el: Eleven years of updates on a private copy.
5246
5247 Extensive changes to support multiple xscheme buffers:
5248 (run-scheme): Break up into new functions to facilitate starting
5249 processes in other buffers.
5250 (xscheme-start, xscheme-read-command-line): New functions.
5251 (start-scheme, select-scheme)
5252 (default-xscheme-runlight)
5253 (global-set-scheme-interaction-buffer)
5254 (local-set-scheme-interaction-buffer)
5255 (local-clear-scheme-interaction-buffer)
5256 (exit-scheme-interaction-mode)
5257 (verify-xscheme-buffer): New functions.
5258 (xscheme-process-name, xscheme-buffer-name)
5259 (xscheme-runlight): New internal vars.
5260 (default-xscheme-runlight): New const.
5261 (xscheme-start-process): Add args for the process/buffer names.
5262 (reset-scheme): Pass process/buffer names.
5263 (scheme-interaction-mode): Initialize new local vars.
5264 (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
5265 (xscheme-select-process-buffer, xscheme-process-buffer)
5266 (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
5267 (xscheme-goto-output-point, xscheme-write-message-1): Use new
5268 var xscheme-process-name.
5269 (xscheme-start-process): Initialize xscheme-process-name and
5270 xscheme-buffer-name in the process buffer. Pass buffer name to
5271 xscheme-modeline-initialize.
5272 (xscheme-modeline-initialize): Add argument to specify buffer name
5273 for mode-line vars.
5274 (xscheme-process-sentinel): Make sure sentinel is run in the
5275 process buffer so it sees its local vars.
5276 (xscheme-process-filter-initialize, xscheme-set-runlight): More
5277 elaborate logic to handle multiple-buffer mode lines.
5278
5279 (xscheme-enter-input-wait): Re-enable control-G handler upon
5280 entering input wait.
5281
5282 (scheme-interaction-mode): Add arg to preserve local vars.
5283 (xscheme-enter-interaction-mode)
5284 (xscheme-enter-debugger-mode): Preserve local vars.
5285 (xscheme-start-process): Clobber local vars.
5286
5287 (scheme-interaction-mode-commands): Allow end user to add commands
5288 to scheme-interaction-mode keymap.
5289 (scheme-interaction-mode-commands-alist): New variable.
5290
5291 (xscheme-send-string): Don't use insert-before-markers.
5292
5293 Implement a per-buffer kill ring:
5294 (xscheme-insert-expression)
5295 (xscheme-rotate-yank-pointer, xscheme-yank)
5296 (xscheme-yank-pop, xscheme-yank-push): New functions.
5297 (xscheme-expressions-ring)
5298 (xscheme-expressions-ring-yank-pointer)
5299 (xscheme-expressions-ring-max): New variables.
5300 (xscheme-send-string-1): Call xscheme-insert-expression to save
5301 expression in ring.
5302 (xscheme-yank-previous-send): Now an alias for xscheme-yank.
5303 (xscheme-previous-send): Deleted variable.
5304
5305 (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed,
5306 xscheme-send-control-g-interrupt): Use process-send-string rather
5307 than send-string.
5308
5309 (xscheme-send-region): Insert a newline after an expression that
5310 is submitted in the interaction buffer, for consistency with
5311 recent changes to Edwin.
5312
5313 (xscheme-delete-output): New function mimics comint-delete-output.
5314 (xscheme-last-input-end): New internal variable.
5315 (xscheme-process-filter-output): Update xscheme-last-input-end.
5316
5317 (xscheme-send-control-g-interrupt): Make sure that
5318 xscheme-control-g-disabled-p is looked up in the right buffer.
5319
5320 (xscheme-enable-control-g): Clear C-g message if visible.
5321 (xscheme-control-g-message-string): New internal var.
5322 (xscheme-send-control-g-interrupt): Use new var.
5323
5324 (xscheme-send-control-g-interrupt, xscheme-send-interrupt): Delay
5325 after sending interrupt in order to work around race condition.
5326
5327 (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
5328 (xscheme-send-char): Use xscheme-send-char rather than send-string
5329 to send single char.
5330
5331 (xscheme-process-filter, xscheme-process-filter-alist): Add
5332 support for evaluating expressions outside of the call-excursion.
5333 (xscheme-process-filter:string-action-noexcursion): New func.
5334
5335 (xscheme-write-value): Change output string to match that used by
5336 Edwin.
5337
5338 (xscheme-coerce-prompt): Don't write a space after a command
5339 prompt. The PROMPT-FOR-COMMAND- procedures will take care of this
5340 for us.
5341
5342 (reset-scheme): Delete process after killing it.
5343
5344 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
5345
5346 * bindings.el (function-key-map): Don't bind shifted keypad
5347 numeric keys.
5348
5349 2002-01-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5350
5351 * enriched.el (enriched-handle-display-prop): Remove unused
5352 variables.
5353 (enriched-mode): Doc fix.
5354
5355 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
5356
5357 * international/ucs-tables.el (ucs-8859-8-alist): Comment away
5358 Hebrew points.
5359
5360 2002-01-01 Richard M. Stallman <rms@gnu.org>
5361
5362 * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
5363
5364 2001-12-31 Richard M. Stallman <rms@gnu.org>
5365
5366 * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
5367 * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
5368 * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
5369 * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
5370 * progmodes/cperl-mode.el, progmodes/idlwave.el:
5371 * progmodes/sh-script.el, progmodes/vhdl-mode.el:
5372 Adapt face definitions to use :weight and :slant.
5373
5374 * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
5375
5376 * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
5377
5378 * font-lock.el (initializing from font-lock-face-attributes):
5379 Use :weight and :slant, not :bold and :italic.
5380
5381 2001-12-31 Per Abrahamsen <abraham@dina.kvl.dk>
5382
5383 * cus-edit.el (custom-face-edit-fix-value): New function.
5384 (custom-face-edit): Use it, to convert :italic and :bold to new forms.
5385
5386 2001-12-30 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5387
5388 * progmodes/octave-mod.el (octave-abbrev-table):
5389 * progmodes/idlwave.el (idlwave-mode-abbrev-table):
5390 * progmodes/fortran.el (fortran-mode-abbrev-table):
5391 * progmodes/f90.el (f90-mode-abbrev-table):
5392 * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
5393 * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
5394 predefined abbrevs as "system" abbrevs.
5395
5396 2001-12-30 Richard M. Stallman <rms@gnu.org>
5397
5398 * info.el (Info-fontify-node): For a **** underline line, put the
5399 invisible and intangible props on the following newline, but not
5400 on the previous newline or the last char of the previous line.
5401
5402 * faces.el (face-set-after-frame-default): Don't change `default' face.
5403
5404 * faces.el (minibuffer-prompt): Adopt some default colors.
5405
5406 * replace.el (query-replace-read-args): Immediate error if read-only.
5407
5408 * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
5409 Display the output buffer in a more intelligent way.
5410
5411 2001-12-30 Eli Zaretskii <eliz@is.elta.co.il>
5412
5413 * ls-lisp.el (insert-directory): Modify the "total" line wording,
5414 in accordance with files.el's insert-directory.
5415
5416 2001-12-29 Richard M. Stallman <rms@gnu.org>
5417
5418 * files.el (basic-save-buffer): If a before-write hook displays
5419 an echo area message, pause before calling basic-save-buffer-1.
5420
5421 2001-12-29 Markus Rost <rost@math.ohio-state.edu>
5422
5423 * textmodes/reftex-global.el (reftex-query-replace-document)
5424 (reftex-change-label): Doc fix.
5425
5426 * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
5427
5428 * progmodes/etags.el (tags-query-replace): Doc fix.
5429
5430 2001-12-29 Richard M. Stallman <rms@gnu.org>
5431
5432 * progmodes/compile.el (compile-internal): Fix previous change.
5433
5434 2001-12-28 Richard M. Stallman <rms@gnu.org>
5435
5436 * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
5437 shrink the windows above as necessary to get space.
5438 (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
5439
5440 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
5441 This fixes a bug that treated all files as directories.
5442 (ange-ftp-insert-directory): Explicitly follow symlinks.
5443
5444 * international/iso-transl.el (iso-transl-char-map) Eliminate the
5445 alias symbols--put the translated sequences here directly.
5446
5447 * progmodes/cc-mode.el (c-mode-abbrev-table)
5448 (c++-mode-abbrev-table, objc-mode-abbrev-table)
5449 (java-mode-abbrev-table, pike-mode-abbrev-table):
5450 Mark all the predefined abbrevs as "system" abbrevs.
5451
5452 * mail/sendmail.el (mail-envelope-from): Fix custom type.
5453 (sendmail-send-it): Check mail-specify-envelope-from
5454 and mail-envelope-from in the mail buffer at start.
5455
5456 2001-12-28 Simon Josefsson <jas@extundo.com>
5457
5458 * mail/sendmail.el (mail-envelope-from): Fix :type.
5459 (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
5460
5461 2001-12-28 Richard M. Stallman <rms@gnu.org>
5462
5463 * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
5464
5465 * simple.el (line-move-invisible): New subroutine.
5466 (line-move-to-column): New subroutine--smarter about advancing over
5467 invisible parts of a line, or lines, but only as long as hpos grows.
5468 (line-move-finish): New subroutine: repeatedly processes desired
5469 column, intangibility, and fields.
5470 (line-move): Use those subroutines.
5471 When moving lines downward, skip invisible text first rather than last.
5472
5473 2001-12-27 Richard M. Stallman <rms@gnu.org>
5474
5475 * international/mule-diag.el (describe-char-after):
5476 Describe the text properties of the char after point.
5477
5478 * help.el (describe-key): Doc fix.
5479
5480 2001-12-26 Markus Rost <rost@math.ohio-state.edu>
5481
5482 * find-dired.el (find-dired-sentinel): Precede exit message by
5483 two spaces, to match the regexp in dired-between-files.
5484
5485 2001-12-28 Miles Bader <miles@gnu.org>
5486
5487 * wid-edit.el (widget-toggle-value-create): Don't eval actual
5488 images (which are lists too).
5489
5490 2001-12-27 Eli Zaretskii <eliz@is.elta.co.il>
5491
5492 * language/european.el: Fix the doc string of "Latin-5" language
5493 environment.
5494
5495 2001-12-26 Richard M. Stallman <rms@gnu.org>
5496
5497 * textmodes/flyspell.el (flyspell-mode-map): New keymap,
5498 defined as before 2001-11-09.
5499 (add-minor-mode call): Specify the keymap.
5500
5501 * progmodes/compile.el (compile-internal):
5502 Set TERM variable in process-environment.
5503
5504 2001-12-25 Richard M. Stallman <rms@gnu.org>
5505
5506 * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
5507 the buffer.
5508
5509 * startup.el (command-line): Convert command line args
5510 to Emacs internal representation using locale-coding-system.
5511
5512 2001-12-25 Eli Zaretskii <eliz@is.elta.co.il>
5513
5514 * international/fontset.el: Don't require ind-util when compiling.
5515
5516 2001-12-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5517
5518 * emulation/tpu-edt.el (tpu-reset-screen-size): Use
5519 set-frame-height and set-frame-width instead of set-screen-height
5520 and set-screen-width.
5521
5522 * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
5523 of obsolete set-screen-width.
5524
5525 * locate.el (locate): Remove dot at the end of error argument.
5526
5527 * emerge.el (emerge-show-file-name): Use frame-height instead of
5528 obsolete screen-height.
5529
5530 * mail/mh-utils.el (mh-show-msg): Likewise.
5531 (mh-handle-process-error): Use frame-width instead of obsolete
5532 screen-width.
5533
5534 2001-12-25 Richard M. Stallman <rms@gnu.org>
5535
5536 * window.el (balance-windows): Use new PRESERVE-BEFORE arg
5537 to enlarge-window. Use save-selected-window. Don't try
5538 to resize windows that end at the bottom "level".
5539 Retry changing the sizes until the windows get the desired sizes.
5540 Discount the minibuffer when computing total height available.
5541
5542 * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
5543 (debugger-make-xrefs): Only make a button for the first symbol
5544 on any line.
5545
5546 2001-12-24 Eli Zaretskii <eliz@is.elta.co.il>
5547
5548 * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
5549 Call IT-setup-unicode-display here instead of adding it to
5550 dos-codepage-setup-hook, so that Unicode display tables are set
5551 before dos-codepage-setup-hook runs.
5552
5553 2001-12-24 Richard M. Stallman <rms@gnu.org>
5554
5555 * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
5556 (nslookup-mode-abbrev-table): Don't define it.
5557 (smbclient-mode-abbrev-table): Don't define it.
5558 (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
5559 (nslookup-mode, smbclient-mode): Likewise.
5560 (network-connection-service-abbrev-alist): Variable deleted.
5561 (network-connection-mode-setup): Don't set up abbrev table.
5562
5563 * faces.el (minibuffer-prompt): New face.
5564 (minibuffer-prompt-properties): Add `face' property.
5565
5566 * replace.el (occur-mode-display-occurrence): New function.
5567 (occur-mode-map): Bind C-o to it.
5568
5569 2001-12-24 Michael Kifer <kifer@cs.sunysb.edu>
5570
5571 * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
5572 (viper-special-read-and-insert-char): Make C-m work right in the r
5573 comand.
5574 (viper-buffer-search-enable): Fixed format string.
5575
5576 * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
5577 instead of viper-info-on-file.
5578 (ex-set-visited-file-name): New function.
5579
5580 * viper.el (viper-emacs-state-mode-list): Added mail-mode.
5581
5582 * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
5583 action argument.
5584
5585 * ediff-init.el: Fixed some doc strings.
5586
5587 * ediff-util.el (ediff-after-quit-hook-internal): New variable.
5588 Got rid of make-local-hook.
5589
5590 * ediff-wind.el (ediff-setup-control-frame): Got rid of
5591 make-local-hook.
5592
5593 2001-12-23 Richard M. Stallman <rms@gnu.org>
5594
5595 * term/x-win.el (x-handle-geometry): Put height and width
5596 on default-frame-alist, left and top on initial-frame-alist.
5597 * term/w32-win.el (x-handle-geometry): Likewise.
5598
5599 * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
5600
5601 * play/yow.el (yow): Use an arg to distinguish interactive calls,
5602 not interactive-p.
5603
5604 2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5605
5606 * emacs-lisp/elint.el (elint-unknown-builtin-args): Remove
5607 mocklisp entries.
5608
5609 * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
5610 Lisp. Obsoleted.
5611
5612 * emulation/mlconvert.el: File removed.
5613
5614 * emulation/mlsupport.el: Moved to obsolete.
5615
5616 * obsolete/mlsupport.el: Moved there from lisp/emulation.
5617
5618 * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
5619
5620 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove
5621 mocklisp case.
5622
5623 * help-fns.el (describe-function-1): Remove mocklisp function
5624 case.
5625
5626 2001-12-22 Miles Bader <miles@gnu.org>
5627
5628 * textmodes/refill.el (refill-mode): Don't barf when redundantly
5629 turning refill-mode off.
5630
5631 2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5632
5633 * time.el (display-time-load-average-threshold): New variable.
5634 (display-time-update): Use it.
5635
5636 These changes allow cycling through past 1, 5 and 15 minutes
5637 load-average displayed in the mode-line.
5638
5639 * time.el (display-time-default-load-average): New customizable option.
5640 (display-time-load-average): New variable.
5641 (display-time-cycle-load-average): New function.
5642 (display-time-update): Use them.
5643
5644 2001-12-21 Richard M. Stallman <rms@gnu.org>
5645
5646 * apropos.el (apropos-print): SPACING is now nil or a separator string.
5647 (apropos-documentation, apropos-value): Pass a suitable string.
5648
5649 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
5650
5651 * dired.el (dired-free-space-program, dired-free-space-args):
5652 Aliases for back-compatibility.
5653
5654 * info.el (Info-select-node): If Info-use-header-line is nil, set
5655 header-line-format to nil.
5656 (Info-fontify-node): Don't put a keymap text property on the
5657 heading if we are not going to display the header line. Remove
5658 any such text properties left over from past visits to this node.
5659
5660 * ls-lisp.el (insert-directory): Insert the amount of free disk
5661 space, like files.el's insert-directory does.
5662
5663 * files.el (directory-free-space-program): Mention
5664 file-system-info in the doc string.
5665 (get-free-disk-space): New function; code moved from
5666 insert-directory.
5667 (insert-directory): Call get-free-disk-space to get the amount of
5668 free space.
5669
5670 2001-12-21 Richard M. Stallman <rms@gnu.org>
5671
5672 * help.el (view-order-manuals, view-emacs-news, describe-copying)
5673 (describe-distribution, describe-project): Use view-file.
5674
5675 * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
5676
5677 * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
5678
5679 * emacs-lisp/easy-mmode.el (define-minor-mode):
5680 Make no arg by default in an interactive call,
5681 so that repeating the command toggles again.
5682
5683 * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
5684
5685 2001-12-21 Christoph Wedler <Christoph.Wedler@sap.com>
5686
5687 * antlr-mode.el: More sophisticated indentation of cpp directive.
5688 (antlr-indent-at-bol-alist): New user option.
5689 (antlr-indent-line): Use it.
5690 (antlr-indent-style): New user option.
5691 (antlr-mode): Use it.
5692 (antlr-indent-item-regexp): Customize.
5693
5694 * antlr-mode.el: Syntax highlighting changes.
5695 (antlr-font-lock-literal-regexp): New user option.
5696 (antlr-font-lock-syntax-face): New face used for :, |, ....
5697 (antlr-font-lock-default-face): New face.
5698 (antlr-font-lock-additional-keywords): Use them.
5699
5700 * antlr-mode.el: New command to insert options -- variables.
5701 (antlr-mode-map): New binding [C-c C-o].
5702 (antlr-mode-menu): New submenus.
5703 (antlr-options-use-submenus): New user option.
5704 (antlr-tool-version): New user option.
5705 (antlr-options-auto-colon): New user option.
5706 (antlr-options-style): New user option.
5707 (antlr-options-push-mark): New user option.
5708 (antlr-options-assign-string): New user option.
5709 (antlr-options-headings): New variable.
5710
5711 * antlr-mode.el: New command to insert options -- specific.
5712 (antlr-options-alists): New variable.
5713 (antlr-read-value): New function.
5714 (antlr-read-boolean): New function.
5715 (antlr-language-option-extra): New function.
5716 (antlr-language-limit-n-regexp): Change default to higher LIMIT.
5717 (antlr-c++-mode-extra): New function.
5718 (antlr-grammar-tokens): New function.
5719 (antlr-imenu-create-index-function): New optional argument.
5720
5721 * antlr-mode.el: New command to insert options -- functions.
5722 (antlr-insert-option): New command.
5723 (antlr-insert-option-interactive): New function.
5724 (antlr-options-menu-filter): New function.
5725 (antlr-option-kind): New function.
5726 (antlr-scan-lists): New alias.
5727 (antlr-scan-lists-internal): New function.
5728 (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
5729 (antlr-option-level): New function.
5730 (antlr-syntactic-grammar-depth): New function.
5731 (antlr-option-location): New function.
5732 (antlr-insert-option-do): New function.
5733 (antlr-option-spec): New function.
5734 (antlr-version-string): New function.
5735 (antlr-insert-option-existing): New function.
5736 (antlr-insert-option-space): New function.
5737 (antlr-insert-option-area): New function.
5738
5739 * antlr-mode.el: New electric keys ":;|&(){}", TAB works better
5740 with narrowing. Menu change. Miscellaneous.
5741 (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
5742 (antlr-mode-map): New bindings for characters in ":;|&(){}".
5743 (antlr-electric-character): New command.
5744 (antlr-class-header-regexp): New variable.
5745 (antlr-font-lock-additional-keywords): Use it.
5746 (antlr-imenu-create-index-function): Use it.
5747 (antlr-file-dependencies): Use it.
5748 (antlr-indent-line): Also works with restrictions.
5749 (antlr-indent-command): Interactive spec - changes the buffer.
5750 (antlr-language-for-option): Deletia.
5751 (antlr-language-option): New function, defined instead.
5752 (antlr-mode): Use it.
5753
5754 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
5755
5756 * jka-compr.el (jka-compr-partial-uncompress): Use null-device
5757 instead of a literal /dev/null.
5758
5759 * Makefile.in (distclean): Remove Makefile in the build
5760 directory, not in the source directory.
5761
5762 2001-12-21 Simon Josefsson <jas@extundo.com>.
5763
5764 * mail/smtpmail.el (smtpmail-send-queued-mail): Use
5765 with-temp-buffer instead of find-file-noselect, and bind
5766 coding-system-for-read to no-conversion when reading the queued
5767 messages. (Simon's code modified slightly by Eli Zaretskii.)
5768
5769 2001-12-20 Werner Lemberg <wl@gnu.org>
5770
5771 * international/mule-diag.el (describe-coding-system,
5772 print-coding-system-briefly): Make printed output have a similar
5773 format as describe-character-set.
5774
5775 2001-12-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5776
5777 * play/blackbox.el (bb-member): Remove, use member instead.
5778 (bb-delete): Remove, use delete instead.
5779 Update copyright notice. Defvar for bb-board, bb-x, bb-y,
5780 bb-score, bb-detour-count and bb-balls-placed.
5781 Propertize results of rays.
5782
5783 2001-12-19 Karl Fogel <kfogel@red-bean.com>
5784
5785 * isearch.el (isearch-forward, isearch-edit-string): Make doc
5786 strings mention keybinding for `isearch-yank-word-or-char',
5787 rather than `isearch-yank-word', since the former is bound now
5788 and the latter is not.
5789 (isearch-yank-word-or-char): Fix formatting.
5790
5791 2001-12-19 Werner Lemberg <wl@gnu.org>
5792
5793 * language/czech.el, language/european.el, language/slovak.el: More
5794 fixes for language info doc strings.
5795
5796 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il>
5797
5798 * loadup.el: Add "language" to the load-path.
5799
5800 2001-12-19 Richard M. Stallman <rms@gnu.org>
5801
5802 * international/mule-cmds.el (describe-language-environment):
5803 Fix calls to help-xref-button.
5804
5805 2001-12-19 Miles Bader <miles@gnu.org>
5806
5807 * international/fontset.el: Require `ind-util' when compiling.
5808
5809 2001-12-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
5810
5811 * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
5812 instead of decompose-composite-char.
5813
5814 2001-12-18 Richard M. Stallman <rms@gnu.org>
5815
5816 * simple.el (eval-expression-print-level)
5817 (eval-expression-print-length): Doc fixes.
5818
5819 * international/mule-diag.el (describe-character-set):
5820 Fix the arg to help-xref-button.
5821
5822 * files.el (directory-free-space-program): New variable.
5823 (directory-free-space-args): New variable.
5824 (insert-directory): Use those two variables for getting free space.
5825 Use file-system-info instead, if that is defined.
5826
5827 * dired.el (dired-free-space-program): Variable deleted.
5828 (dired-free-space-args): Variable deleted.
5829 (dired-insert-directory): Don't try to determine free space.
5830
5831 * files.el (font-lock-defaults): Add risky-local-variables prop.
5832 (hack-one-local-variable): Treat various font-lock variables as risky.
5833
5834 2001-12-18 Werner Lemberg <wl@gnu.org>
5835
5836 * language/chinese.el, language/cyrillic.el:
5837 * language/czech.el, language/european.el, language/greek.el:
5838 * language/hebrew.el, language/indian.el, language/japanese.el:
5839 * language/korean.el, language/lao.el, language/slovak.el:
5840 * language/thai.el, language/tibetan.el, language/vietnamese.el:
5841 Improve documentation strings of coding systems and language infos.
5842
5843 2001-12-18 Werner LEMBERG <wl@gnu.org>
5844
5845 Add support for EUC-TW decoding/encoding.
5846
5847 * language/china-util.el (big5-to-flat-code, flat-code-to-big5,
5848 euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
5849 New auxiliary functions to build `big5-to-cns'.
5850 (big5-to-cns): New translation alist.
5851
5852 * language/chinese.el: Added new coding system `euc-tw' and its
5853 alias `euc-taiwan'.
5854 Updated language `Chinese-CNS' to include euc-tw encoding also.
5855 (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
5856 euc-tw.
5857
5858 2001-12-18 Dave Love <fx@gnu.org>
5859
5860 * loadup.el: Add language/utf-8-lang, language/georgian.
5861
5862 * image-file.el (image-file-name-extensions): Add pnm. Doc fix.
5863 (image-file-name-regexps): Doc fix.
5864
5865 * server.el (server-unload-hook): New function.
5866
5867 * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
5868 (lm-crack-copyright): Cope with multi-line copyright `lines'.
5869
5870 * simple.el (newline): Doc fix.
5871 (eval-expression-print-level, eval-expression-print-length): Doc
5872 fix. Amend :type.
5873 (next-line, previous-line): Make arg optional.
5874 (newline): Doc fix.
5875
5876 * Makefile.in (DONTCOMPILE): Add various language files.
5877
5878 * international/quail.el (quail-input-string-to-events): Don't use
5879 string-to-list.
5880
5881 * progmodes/f90.el (f90-break-line): Avoid infinite recursion
5882 calling `newline'.
5883
5884 2001-12-17 Richard M. Stallman <rms@gnu.org>
5885
5886 * comint.el (comint-dynamic-list-input-ring-select): New function.
5887 Switches back to the old window configuration.
5888 (comint-dynamic-list-input-ring): Bind RET to that function.
5889 (comint-dynamic-list-input-ring-window-conf): New variable.
5890
5891 2001-12-17 Werner Lemberg <wl@gnu.org>
5892
5893 * international/mule-conf.el: Improve documentation strings of
5894 character sets.
5895
5896 2001-12-16 Richard M. Stallman <rms@gnu.org>
5897
5898 * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
5899 (dired-mode-map): Bind w to dired-copy-filename-as-kill.
5900
5901 * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
5902
5903 * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
5904 Add a DESCRIPTION for the makefile item.
5905
5906 * find-file.el (ff-other-file-name): New function.
5907
5908 2001-12-16 Eli Zaretskii <eliz@is.elta.co.il>
5909
5910 * international/quail.el (quail-input-string-to-events): Fix last
5911 change.
5912
5913 2001-12-16 Richard M. Stallman <rms@gnu.org>
5914
5915 * isearch.el (isearch-edit-string): When we set isearch-string
5916 to the default, also set isearch-message.
5917
5918 * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
5919
5920 * startup.el (command-line-1): Display startup screen
5921 even if there are command line args.
5922 Add a note about how to go to editing your files.
5923 (fancy-splash-head): Add a note about how to go to your files.
5924 (fancy-splash-outer-buffer): New variable.
5925 (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
5926
5927 * subr.el (with-temp-message): At the end, always discard
5928 the temp message, even by clearing the echo area.
5929
5930 * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
5931
5932 2001-12-16 Stefan Monnier <monnier@cs.yale.edu>
5933
5934 * log-view.el (log-view-message-re, log-view-current-tag):
5935 Recognize Subversion's log output format.
5936
5937 * international/fontset.el: Build the list L at compile time.
5938
5939 * language/ind-util.el (mapthread): Make a closure.
5940
5941 2001-12-15 Richard M. Stallman <rms@gnu.org>
5942
5943 * isearch.el (isearch-start-hscroll): New variable.
5944 (isearch-mode): Set isearch-start-hscroll.
5945 (isearch-update): Restore original hscrolling if possible.
5946
5947 * isearch.el (isearch-edit-string):
5948 Treat isearch-yank-word-or-char specially, like isearch-yank-word.
5949
5950 * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
5951 (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
5952 rather than regexp search and (2) copying text properties
5953 already set up on text unchanged from the previous backtrace.
5954
5955 * case-table.el (set-case-syntax-pair):
5956 Detect invalid calls and signal an error.
5957
5958 2001-12-15 Richard M. Stallman <rms@gnu.org>
5959
5960 * language/ind-util.el (range): Function deleted.
5961 (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
5962 All calls changed.
5963
5964 * language/devan-util.el (devanagari-range): Renamed from `range'.
5965 All calls changed.
5966 (devanagari-regexp-of-hashtbl-keys):
5967 Renamed from `regexp-of-hashtbl-keys'. All calls changed.
5968
5969 2001-12-15 Dave Love <fx@gnu.org>
5970
5971 * language/ind-util.el: Don't require cl.
5972 (indian-glyph-char, indian-glyph-max-char)
5973 (indian-char-glyph): Moved from indian.el
5974 (indian--puthash-char, mapthread): Don't quote lambda.
5975 (indian--map): New function.
5976 (indian--puthash-v, indian--puthash-c, indian--puthash-m)
5977 (indian--puthash-cv): Use it.
5978
5979 * language/indian.el (indian-glyph-char, indian-glyph-max-char)
5980 (indian-char-glyph): Moved to ind-util.el
5981
5982 * language/devan-util.el (devanagari-post-read-conversion):
5983 New function.
5984
5985 * language/georgian.el: New file.
5986
5987 * international/mule-cmds.el (locale-language-names): Add various
5988 entries. Remove utf-8 special case.
5989 (locale-charset-language-names, locale-preferred-coding-systems):
5990 Add utf-8 case.
5991 (set-language-environment): Process required-features earlier.
5992
5993 * international/quail.el (quail-keyboard-layout-alist):
5994 Add pc105-uk.
5995 (quail-keyboard-layout-type): Fix :type.
5996 (quail-choose-completion-string): Simplify.
5997 (quail-update-leim-list-file): Don't get fooled by commented-out code.
5998 (quail-input-string-to-events): Run events through
5999 translation-table-for-input.
6000
6001 * international/mule-conf.el (translation-table-for-input):
6002 New variable.
6003 (latin-iso8859-14): Amend description.
6004 (file-coding-system-alist): Add entry for utf-8.
6005
6006 * language/utf-8-lang.el: New file.
6007
6008 * international/code-pages.el: New file.
6009
6010 * language/hebrew.el ("Windows-1255"): New language.
6011
6012 * language/european.el ("Welsh", "Latin-7", "Lithuanian")
6013 ("Latvian"): New languages.
6014
6015 2001-12-14 Stefan Monnier <monnier@cs.yale.edu>
6016
6017 * xml.el: Use setq rather than (set 'foo bar).
6018 Use push+nreverse rather than append.
6019 (xml-node-name, xml-node-attributes, xml-node-children):
6020 Use defsubst rather than macros.
6021 (xml-parse-region): Handle a nil return value from xml-parse-tag.
6022 (xml-parse-tag): Don't skip white space. Return nil for a comment.
6023 Concat the two strings surrounding a comment into a single string.
6024
6025 * newcomment.el (comment-indent): Jump to the middle of empty comments.
6026
6027 2001-12-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6028
6029 * select.el (xselect-convert-to-class, xselect-convert-to-name):
6030 Document.
6031
6032 2001-12-14 Andre Spiegel <spiegel@gnu.org>
6033
6034 * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
6035 Return nil if FILE is not registered.
6036 (vc-check-master-templates, vc-default-make-version-backups-p):
6037 Doc fix.
6038
6039 2001-12-13 David Ponce <david@dponce.com>
6040
6041 * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
6042 (ruler-mode-left-fringe-cols): New macro.
6043 (ruler-mode-right-fringe-cols): New macro.
6044 (ruler-mode-left-scroll-bar-cols): New macro.
6045 (ruler-mode-right-scroll-bar-cols): New macro.
6046 (ruler-mode-ruler): Use above new macros.
6047
6048 2001-12-13 Richard M. Stallman <rms@gnu.org>
6049
6050 * files.el (set-auto-mode): Fix previous change.
6051
6052 2001-12-13 Stefan Monnier <monnier@cs.yale.edu>
6053
6054 * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
6055 (easy-menu-do-define, easy-menu-convert-item-1)
6056 (easy-menu-define-key-intern, easy-menu-get-map): Use it.
6057 (easy-menu-return-item): Only return nil if there is no binding.
6058
6059 2001-12-13 Rajesh Vaidheeswarran <rv@gnu.org>
6060
6061 * whitespace.el (whitespace-version): 3.2
6062 * whitespace.el (whitespace-force-mode-line-update): Replace with
6063 `whitespace-mode-line-update', which is an alias to the correct
6064 function in various emacsen.
6065 * whitespace.el (whitespace-{un,}highlight-the-space):
6066 Add colorized highlighting of the bogus whitespaces in a buffer/file,
6067 using the `whitespace-highlight-face' if
6068 `whitespace-display-spaces-in-color' is set.
6069
6070 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
6071
6072 * international/mule.el (set-auto-coding): Don't search for
6073 "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
6074
6075 2001-12-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6076
6077 * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
6078
6079 * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
6080
6081 * mail/rmailsum.el (rmail-summary-mode): Likewise.
6082
6083 2001-12-13 Richard M. Stallman <rms@gnu.org>
6084
6085 * simple.el (undo): Always set this-command to `undo',
6086 so that the next undo after an error will not begin redoing.
6087
6088 * simple.el (shell-command): Doc fix.
6089 (shell-command-on-region): If there is output an an error,
6090 add "...Shell command failed" to the output.
6091
6092 2001-12-13 David Ponce <david@dponce.com>
6093
6094 * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
6095 (ruler-mode-left-fringe-cols): Function replaced by more efficient
6096 implementation `ruler-mode-extra-left-cols'.
6097 (ruler-mode-ruler): Use above new function. Take into account
6098 that the fringe areas can now be resized.
6099
6100 2001-12-12 Richard M. Stallman <rms@gnu.org>
6101
6102 * international/characters.el (Unicode): Comment out
6103 the specifications for kelvin and angstrom signs.
6104
6105 * international/mule.el (make-translation-table-from-vector):
6106 Allow null elements in VEC.
6107
6108 * international/ucs-tables.el (unify-8859-on-encoding-mode)
6109 (unify-8859-on-decoding-mode): Swap the code in their bodies.
6110 Add :version.
6111
6112 2001-12-11 Richard M. Stallman <rms@gnu.org>
6113
6114 * derived.el (derived-mode-p): Function moved to subr.el.
6115
6116 * subr.el (derived-mode-p): Moved here from derived.el.
6117
6118 * international/mule.el (set-auto-coding): Use set-auto-mode-1.
6119
6120 * files.el (set-auto-mode-1): New subroutine, broken out of
6121 set-auto-mode.
6122 (set-auto-mode, hack-local-variables-prop-line): Use that.
6123
6124 2001-12-11 Dave Love <fx@gnu.org>
6125
6126 * language/thai-util.el, language/thai.el: Add Unicode equivalents.
6127
6128 * language/european.el: Remove autoload cookies. Fix registration
6129 of diacritic composition function.
6130
6131 2001-12-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6132
6133 * calendar/todo-mode.el: Require time-stamp.
6134
6135 * net/zone-mode.el (zone-mode): Don't use make-local-hook.
6136
6137 2001-12-11 Richard M. Stallman <rms@gnu.org>
6138
6139 * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
6140
6141 * textmodes/ispell.el (ispell-buffer-local-parsing):
6142 Match xml like sgml.
6143
6144 * emacs-lisp/advice.el (ad-compile-function):
6145 Byte compile the function under another (uninterned) name.
6146
6147 * gud.el (gdb): Define and bind gud-jump.
6148
6149 * font-lock.el (font-lock-mode):
6150 Put our function at the end of after-change-functions.
6151
6152 * ediff-diff.el (ediff-cmp-options): Doc fix.
6153
6154 * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
6155
6156 2001-12-10 Richard M. Stallman <rms@gnu.org>
6157
6158 * isearch.el (isearch-yank-word-or-char): New function.
6159 (isearch-mode-map): Bind C-w to that.
6160
6161 * menu-bar.el (menu-bar-mode): Make arg optional.
6162
6163 * simple.el (line-move): Cope if next-single-property-change
6164 or previous-single-property-change returns nil.
6165
6166 * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
6167 Don't use interactive-p; instead, pass the proper args
6168 in (interactive...). Clean up most of the trouble-report strings.
6169
6170 2001-12-10 Eli Zaretskii <eliz@is.elta.co.il>
6171
6172 * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
6173 enqueued messages literally.
6174
6175 2001-12-10 Noah Friedman <friedman@splode.com>
6176
6177 * battery.el (battery-insert-file-contents): Obsolete function
6178 removed.
6179 (battery-read-function): Obsolete function removed.
6180 (battery-linux-proc-apm): Use insert-file-contents.
6181
6182 2001-12-07 Stephen Eglen <stephen@gnu.org>
6183
6184 * iswitchb.el (iswitchb-visit-buffer):
6185 Use `select-frame-set-input-focus'--needed when window manager
6186 uses "click to focus" policy.
6187
6188 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6189
6190 * COPYING: Moved back.
6191
6192 2001-12-07 Eli Zaretskii <eliz@is.elta.co.il>
6193
6194 * term/internal.el (IT-character-translations): Add entries for
6195 more points.
6196
6197 * international/characters.el: Resurrect the Hebrew category
6198 settings for all Hebrew characters removed by the last change.
6199 Add code for setting the Hebrew category of the Unicode Hebrew
6200 characters. Set syntax entries for Hebrew punctuation characters.
6201
6202 * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
6203 points and directional formatting control characters.
6204
6205 2001-12-07 Dave Love <fx@gnu.org>
6206
6207 * language/lao-util.el: Add Unicode equivalents for rules.
6208 (lao-post-read-conversion): New function.
6209
6210 * language/lao.el: Add Unicode equivalents.
6211 (lao): Add post-read conversion.
6212
6213 * international/latin1-disp.el: Fix some 8-bit-graphic characters.
6214 Use iso2022 encoding.
6215 (latin1-char-displayable-p): Doc fix.
6216 (latin1-display-ucs-per-lynx): New option.
6217 (latin1-display-ucs-per-lynx): New command.
6218 (latin1-display-reset): Special-case arabic.
6219 (ucs-tables): Require.
6220 (latin1-display-sets, latin1-display-setup): Add arabic.
6221 (latin1-display) <variable>: Use function latin1-display.
6222 (latin1-display) <function>: Add mule-unicode stuff.
6223 (latin1-display-check-font): Don't lose if `info' is nil.
6224
6225 * international/iso-transl.el: Insert Latin-1 characters, not
6226 unibyte codes.
6227
6228 * language/european.el (diacritic-composition-pattern): New constant.
6229 (diacritic-compose-region, diacritic-compose-string)
6230 (diacritic-compose-buffer, diacritic-post-read-conversion)
6231 (diacritic-composition-function): New functions.
6232
6233 * international/utf-8.el (ucs-mule-to-mule-unicode):
6234 New translation table.
6235 (ccl-encode-mule-utf-8): Use it.
6236 (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
6237 (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
6238 (utf-8-subst-table): New variable.
6239 (utf-8-compose-scripts): New option.
6240 (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
6241
6242 * international/ucs-tables.el, international/utf-8-subst.el:
6243 New files.
6244
6245 * international/characters.el: Don't set word syntax (the default)
6246 explicitly. Add a diacritic category. Add info for Unicode
6247 equivalents of characters in various Mule charsets and for extra
6248 Unicode characters. Don't define specific categories for
6249 Indian/Devanagari, since they aren't used.
6250
6251 2001-12-06 Richard M. Stallman <rms@gnu.org>
6252
6253 * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
6254 (set-justification-left, set-justification-right): Doc fix.
6255
6256 * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
6257 (bug-f90-mode): Variable deleted.
6258
6259 2001-12-06 Stefan Monnier <monnier@cs.yale.edu>
6260
6261 * indent.el (indent-line-function): Default is indent-relative again.
6262
6263 2001-12-07 Miles Bader <miles@gnu.org>
6264
6265 * progmodes/compile.el (compilation-error-regexp-alist):
6266 Added regexps for RXP.
6267
6268 2001-12-05 Eli Zaretskii <eliz@is.elta.co.il>
6269
6270 * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
6271 Add shift-assignment operators to those highlighted, and highlight
6272 the whole operator rather than just the "=".
6273
6274 2001-12-04 Juanma Barranquero <lektu@terra.es>
6275
6276 * files.el (save-abbrevs, save-some-buffers): Don't ask the user
6277 before saving abbrevs if `save-abbrevs' has the value `silently'.
6278
6279 2001-12-04 Andreas Schwab <schwab@suse.de>
6280
6281 * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
6282
6283 2001-12-04 Colin Walters <walters@debian.org>
6284
6285 * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
6286 for `defmacro*' forms.
6287
6288 * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
6289 `defmacro*'.
6290
6291 2001-12-03 Stefan Monnier <monnier@cs.yale.edu>
6292
6293 * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
6294
6295 2001-12-02 Richard M. Stallman <rms@gnu.org>
6296
6297 * files.el (insert-directory): If the df output does not look right,
6298 don't try to use it. Other cleanups in overall code structure.
6299
6300 2001-12-02 Stefan Monnier <monnier@cs.yale.edu>
6301
6302 * textmodes/outline.el (outline-mode-prefix-map):
6303 Add bindings for outline-promote and outline-demote.
6304 (outline-minor-mode-menu-bar-map): New var.
6305 (outline-minor-mode): Use it.
6306 (outline-heading-alist): New var (renamed from outline-level-heading).
6307 (outline-level): Use it.
6308 (outline-insert-heading, outline-promote, outline-demote):
6309 Update to use outline-heading-alist.
6310
6311 * disp-table.el (standard-display-european):
6312 Simplify since the function is not interactive any more.
6313 Don't set the existing buffers to unibyte.
6314
6315 * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
6316
6317 * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
6318
6319 * reveal.el (reveal-mode): Fix reveal-mode's lighter.
6320
6321 * shell.el (shell): Use shell-file-name.
6322 Pop to buffer before calling comint to set COLUMNS properly.
6323
6324 * emacs-lisp/cl.el (svref): New alias.
6325
6326 * progmodes/antlr-mode.el (antlr-c-common-init):
6327 Don't inhibit adaptive-fill-mode any more.
6328
6329 * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
6330
6331 * progmodes/etags.el (tags-with-face): Use make-symbol.
6332 (tags-search, tags-query-replace): Use backquotes.
6333
6334 * textmodes/picture.el (picture-mode-map): Don't use defconst
6335 for a variable.
6336
6337 2001-12-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6338
6339 * textmodes/reftex-index.el (reftex-index-mode):
6340 Remove make-local-hook.
6341
6342 * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
6343
6344 2001-12-02 Kim F. Storm <storm@cua.dk>
6345
6346 * isearch.el (isearch-resume-enabled): New variable.
6347 (isearch-done): Use that variable.
6348
6349 2001-12-01 Richard M. Stallman <rms@gnu.org>
6350
6351 * wid-edit.el (widget-button-click): Don't move point permanently:
6352 Avoid mouse-set-point--instead select the window,
6353 then do save-excursion, then move point.
6354 Specify the buffer for get-char-property.
6355 Don't use `@' in interactive.
6356
6357 * indent.el (indent-line-function):
6358 Default is indent-to-left-margin again.
6359
6360 * replace.el (query-replace-read-args): Display message
6361 if FROM contains `\n' or `\t'.
6362
6363 2001-12-01 Stefan Monnier <monnier@cs.yale.edu>
6364
6365 * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
6366
6367 * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
6368
6369 * emacs-lisp/regexp-opt.el (regexp-opt):
6370 Bind completion-regexp-list to nil.
6371
6372 * progmodes/hideif.el (hif-nexttoken): Move to before first def.
6373
6374 2001-12-01 Eli Zaretskii <eliz@is.elta.co.il>
6375
6376 * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
6377 * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
6378 Update maintainer.
6379
6380 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
6381
6382 * mail/smtpmail.el: Use with-current-buffer.
6383 (message-make-date, message-make-message-id): Autoload when needed.
6384 (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
6385 headers when missing.
6386
6387 * international/encoded-kb.el (encoded-kbd-mode):
6388 Use define-minor-mode.
6389
6390 * enriched.el (enriched-mode): Use define-minor-mode.
6391 Use dolist and pop and push.
6392
6393 * info.el (Info-find-node-2): Don't call info-insert-file-contents
6394 with the `visit' argument.
6395 (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
6396
6397 * progmodes/hideif.el (hide-ifdef-mode): Only modify
6398 `change-major-mode-hook' locally. Reset invisibility spec.
6399
6400 * man.el (Man-build-section-alist): Remove last Man-match-substring.
6401
6402 2001-11-30 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
6403
6404 * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
6405 Clarify error message.
6406
6407 2001-11-29 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
6408
6409 * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
6410
6411 2001-11-30 Andre Spiegel <spiegel@gnu.org>
6412
6413 * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
6414 don't just return it.
6415
6416 2001-11-30 Eli Zaretskii <eliz@is.elta.co.il>
6417
6418 * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
6419 (menu-bar-read-emacs-man, search-emacs-glossary)
6420 (emacs-index-search, elisp-index-search): New functions.
6421 (apropso-documentation, apropos, apropos-value, apropos-variable)
6422 (apropos-commands): Modify menu item names and help text.
6423 (elisp-index-search, emacs-index-search, emacs-glossary):
6424 New menu items.
6425 (menu-bar-manuals-menu): Move the Ordering Manuals item to a
6426 submenu.
6427 (info-elisp, info-elintro): New menu items.
6428 (apropos): Modify the menu item name.
6429
6430 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
6431
6432 * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
6433
6434 * textmodes/outline.el (outline-promote, outline-demote): Typo.
6435
6436 * man.el (man-follow-mouse): New function.
6437 (Man-mode-map): Bind mouse-2 to it.
6438 (Man-match-substring): Remove. Replace with `match-string'.
6439 (man): Use the `default-value' argument to `read-string'.
6440 (Man-fontify-manpage): Add mouse-face to cross references.
6441
6442 * emacs-lisp/cl-macs.el (shiftf): Fix more. Simplify.
6443
6444 2001-11-29 Stefan Monnier <monnier@cs.yale.edu>
6445
6446 * emacs-lisp/crm.el (completing-read-multiple): Better preserve
6447 the value of require-match in minibuffer-completion-confirm.
6448 Use crm-local-completion-map.
6449
6450 * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
6451 (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
6452 (cl-make-type-test): Use char-valid-p for `character'.
6453
6454 * info.el (Info-complete-next-re, Info-complete-cache): New vars.
6455 (Info-complete-menu-item): Rewrite. Add the ability to search
6456 several sequential nodes. Add a simple caching mechanism.
6457 (Info-goto-index): New function extracted from Info-index.
6458 (Info-index): Use it. Add completion to the interactive spec.
6459 (Info-menu-update): Simplify call to `Info-complete-menu-item'.
6460
6461 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6462
6463 * COPYING: Removed.
6464
6465 2001-11-29 Dave Love <fx@gnu.org>
6466
6467 * progmodes/fortran.el: Fontify rewind, backspace. Doc fixes.
6468 (fortran-window-create, fortran-window-create-momentarily):
6469 Rewrite, moving error condition.
6470 (fortran-beginning-do, fortran-beginning-if): Fix regexps.
6471 (fortran-mode-syntax-table): Revert last change.
6472
6473 * international/mule.el: Doc fixes.
6474 (map-charset-chars): New function.
6475 (register-char-codings): Use it to cope with generic chars in
6476 safe-chars.
6477
6478 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6479
6480 * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
6481
6482 * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
6483
6484 * play/studly.el (studlify-word, studlify-region)
6485 (studlify-buffer): Fix doc-string.
6486 (studlify-buffer): Add autoload cookie.
6487
6488 2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
6489
6490 * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
6491 (outline-up-heading-all): Remove.
6492 (hide-sublevels): Move to end-of-heading before calling flag-region.
6493 (outline-copy-overlay, outline-discard-overlays): Remove.
6494 (outline-flag-region): Use `remove-overlays'.
6495 Don't move to end-of-heading.
6496 (outline-next-visible-heading, outline-back-to-heading)
6497 (outline-on-heading-p): Use outline-invisible-p.
6498 (outline-font-lock-level): Use outline-up-heading's new arg.
6499 (outline-minor-mode): Simplify.
6500 (outline-map-tree, outline-reveal-toggle-invisible): New funs.
6501 (outline): Put a `reveal-toggle-invisible' property.
6502 (outline-level-heading): New var.
6503 (outline-insert-heading, outline-promote, outline-demote)
6504 (outline-toggle-children): New commands.
6505
6506 * progmodes/hideif.el (hif-end-of-line): New function.
6507 (hide-ifdef-mode): Set line-move-ignore-invisible.
6508 (hide-ifdef-region-internal): New function.
6509 (hide-ifdef-region): Use it.
6510 (hif-defined): Return an integer.
6511 (hif-infix-to-prefix): Remove.
6512 (hif-tokenize): Parse from the buffer rather than from a string.
6513 Correctly tokenize integers. Use forward-comment.
6514 (hif-expr): Use hif-or.
6515 (hif-term): Use hif-and.
6516 (hif-factor): Use hif-not. Handle numbers properly.
6517 Don't require parenthesis around `defined's argument.
6518 (hif-and, hif-or, hif-not): New funs.
6519 (hif-canonicalize): Pass a region to hif-tokenize. Use hif-not.
6520 (hif-hide-line): Don't hide the \n before the line.
6521 (hif-possibly-hide): Correctly handle numeric evaluation results.
6522
6523 * progmodes/make-mode.el: Use line-(end|beginning)-position.
6524 (makefile-mode): Set indent-line-function.
6525 (makefile-browser-insert-continuation): Use with-current-buffer.
6526 (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
6527
6528 2001-11-28 Karl Fogel <kfogel@red-bean.com>
6529
6530 * isearch.el (isearch-yank-internal): New helper function.
6531 (isearch-yank-char): New function.
6532 (isearch-yank-word, isearch-yank-line): Rewrite to use
6533 isearch-yank-internal.
6534
6535 2001-11-28 Eli Zaretskii <eliz@is.elta.co.il>
6536
6537 * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
6538 aren't supported. Print a message to that effect if invoked.
6539
6540 2001-11-27 Stephen Eglen <stephen@gnu.org>
6541
6542 * locate.el (locate): Put point at first matching file rather
6543 than top of buffer.
6544
6545 2001-11-27 Stefan Monnier <monnier@cs.yale.edu>
6546
6547 * reveal.el: New file.
6548
6549 * progmodes/hideif.el: Misc cleanup.
6550 (hide-ifdef-mode-submap): Put the def in the defvar.
6551 Use substitute-key-definition.
6552 (hide-ifdef-mode): Use define-minor-mode.
6553 (hif-outline-flag-region): Remove.
6554 (hif-show-all): Define in terms of hif-show-ifdef-region.
6555 (hif-after-revert-function): Rename from hif-before-revert-function.
6556 (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
6557 (hif-tokenize): Use with-syntax-table.
6558 (hif-make-range): Use `else' also for `else-p'.
6559 (hif-range-else-p): Remove.
6560 (hif-find-range): Simplify.
6561 (hif-hide-line): Don't bother preserving buffer-modified-p.
6562 (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
6563 Don't use selective-display and inhibit-read-only.
6564
6565 * subr.el (copy-overlay, remove-overlays): New funs.
6566
6567 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
6568
6569 2001-11-27 Sam Steingold <sds@gnu.org>
6570
6571 * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
6572 * lazy-lock.el, mouse-sel.el, mail/feedmail.el
6573 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
6574 * obsolete/c-mode.el, obsolete/cplus-md.el
6575 * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
6576 * term/sun-mouse.el, textmodes/artist.el:
6577 Converted backquote to the new style.
6578 * mouse.el, reposition.el: Likewise (in comments).
6579 * expand.el: Likewise (in a string).
6580
6581 2001-11-27 Richard M. Stallman <rms@gnu.org>
6582
6583 * cus-edit.el (custom-load-symbol): Don't always load locate-library.
6584
6585 2001-11-26 Richard M. Stallman <rms@gnu.org>
6586
6587 * wid-edit.el (widget-toggle-value-create): On graphic terminal,
6588 if :on-glyph or :off-glyph is a list, eval it and store it back.
6589 (checkbox): Quote the values for :on-glyph and :off-glyph.
6590
6591 * cus-start.el (recursive-load-depth-limit): Delete item.
6592
6593 2001-11-26 Stefan Monnier <monnier@cs.yale.edu>
6594
6595 * help-fns.el (describe-categories, help-describe-category-set): New.
6596 describe-categories moved here from src/category.c.
6597
6598 2001-11-26 Sam Steingold <sds@gnu.org>
6599
6600 * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
6601 arguments to `insert' are strings.
6602
6603 2001-11-26 Richard M. Stallman <rms@gnu.org>
6604
6605 * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
6606
6607 2001-11-26 Eli Zaretskii <eliz@is.elta.co.il>
6608
6609 * international/mule-diag.el: Require help-fns instead of
6610 help-funs.
6611
6612 * help-fns.el: Renamed from help-funs.el.
6613
6614 * startup.el (command-line-1): Don't try to call process-list if
6615 it is not fboundp.
6616
6617 2001-11-26 Sam Steingold <sds@gnu.org>
6618
6619 * frame.el (show-trailing-whitespace): Remove :set argument (the
6620 value was essentially identical to the defalt).
6621
6622 2001-11-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6623
6624 * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
6625
6626 * icomplete.el (icomplete-minibuffer-setup): Likewise.
6627
6628 * hilit-chg.el (hilit-chg-set): Likewise.
6629
6630 * speedbar.el (speedbar-mode): Likewise.
6631
6632 * calendar/calendar.el (calendar-mode): Likewise.
6633
6634 * play/yow.el (psychoanalyze-pinhead): Use insert instead of
6635 insert-string.
6636
6637 * play/gamegrid.el (gamegrid-init-buffer): Likewise.
6638
6639 * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
6640
6641 * term/sun-mouse.el (sun-yank-selection): Likewise.
6642
6643 * textmodes/bib-mode.el (return-key-bib): Likewise.
6644
6645 * calendar/appt.el (appt-disp-window): Likewise.
6646
6647 * calendar/diary-lib.el (list-diary-entries): Likewise.
6648
6649 * array.el (array-reconfigure-rows): Likewise.
6650
6651 * filecache.el (file-cache-minibuffer-complete): Likewise.
6652
6653 * obsolete/cplus-md.el (fill-c++-comment): Likewise.
6654
6655 * strokes.el (strokes-prompt-user-save-strokes): Likewise.
6656
6657 * allout.el (outline-version, outline-open-topic)
6658 (outline-rebullet-heading, outline-insert-listified)
6659 (outline-latex-verbatim-quote-curr-line)
6660 (outline-latexify-one-item, outlineify-sticky): Likewise.
6661
6662 * vc.el (vc-next-action-on-file): Likewise.
6663 (vc-dired-mode): Remove make-local-hook.
6664
6665 2001-11-26 Andre Spiegel <spiegel@gnu.org>
6666
6667 * vc.el (vc-find-version): New function.
6668 (vc-version-other-window): Redefined in terms of the above.
6669
6670 * log-view.el (log-view-find-version): New function.
6671 (log-view-mode-map): Bind it to `f'.
6672
6673 2001-11-26 Gerd Moellmann <gerd@gnu.org>
6674
6675 * language/devan-util.el (dev-char-glyph): Escape `"' in
6676 string literals.
6677 (dev-glyph-glyph, dev-glyph-glyph-2)
6678 (devanagari-compose-syllable-region): Likewise.
6679
6680 2001-11-26 Richard M. Stallman <rms@gnu.org>
6681
6682 * window.el (save-selected-window): No error if saved window is dead.
6683
6684 * help-funs.el (describe-syntax): Put (interactive) after doc string.
6685
6686 2001-11-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6687
6688 * international/quail.el (quail-help): Require help-mode in
6689 top-level instead.
6690
6691 * iswitchb.el (iswitchb-exhibit): Use insert instead of
6692 insert-string.
6693
6694 * icomplete.el (icomplete-exhibit): Likewise.
6695
6696 2001-11-25 Stefan Monnier <monnier@cs.yale.edu>
6697
6698 * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
6699 (diff-hunk-kill): Simplify.
6700 (diff-post-command-hook): Only apply to a single hunk.
6701 (diff-hunk-text): Make `char-offset' non-optional.
6702 (diff-find-text): Return a cons cell.
6703 (diff-find-approx-text): New fun.
6704 (diff-find-source-location): Use it.
6705 (diff-apply-hunk, diff-test-hunk, diff-goto-source):
6706 Adapt to new retval of diff-find-text.
6707
6708 * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
6709 rather than integer- representation of dates.
6710
6711 * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
6712
6713 * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
6714 (syntax-after): New fun.
6715
6716 * help-funs.el (describe-syntax): New fun.
6717
6718 * font-lock.el (font-lock-cache-state, font-lock-cache-position)
6719 (font-lock-ppss-stats, font-lock-ppss): Remove.
6720 (font-lock-fontify-syntactically-region): Remove tuning code.
6721 (font-lock-compile-keywords): Fix off-by-one bug.
6722 (font-lock-set-defaults): Don't set removed vars.
6723 (c-keywords): Add `inline'.
6724 (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
6725
6726 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6727 Set syntax-begin-function.
6728 (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
6729 (lisp-interaction-mode): Don't set local-abbrev-table any more.
6730 (lisp-mode-auto-fill): Use syntax-ppss and obey
6731 comment-auto-fill-only-comments.
6732 (lisp-fill-paragraph): Use syntax-ppss.
6733
6734 2001-11-25 ShengHuo ZHU <zsh@cs.rochester.edu>
6735
6736 * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
6737 version of rmail-enable-mime.
6738 (rmail-forward): Use it.
6739
6740 2001-11-25 Richard M. Stallman <rms@gnu.org>
6741
6742 * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
6743
6744 * international/quail.el (quail-keyboard-layout-button):
6745 Define button type.
6746 (quail-keyboard-customize-button): Likewise.
6747 (quail-help): Use those button types. Require `help-mode'.
6748 Avoid altering the argument `package'.
6749
6750 * help-mode.el (help-function, help-variable, help-face)
6751 (help-coding-system, help-input-method, help-character-set):
6752 Define each button type with its own explicit define-button-type.
6753
6754 * language/devan-util.el: Comment out parts of the file
6755 which apparently are garbled.
6756
6757 2001-11-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6758
6759 * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
6760 insert-string.
6761
6762 2001-11-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
6763
6764 * play/snake.el (snake-mode): Remove make-local-hook.
6765
6766 * play/tetris.el (tetris-mode): Likewise.
6767
6768 * play/decipher.el (decipher-mode): Likewise.
6769
6770 * tmm.el (tmm-add-prompt): Likewise.
6771
6772 2001-11-25 Sam Steingold <sds@gnu.org>
6773
6774 * menu-bar.el (menu-bar-apropos-menu): New variable.
6775 Moved all `apropos' bindings to this menu.
6776 (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
6777
6778 2001-11-24 KAWABATA, Taichi <batta@beige.ocn.ne.jp>
6779
6780 The following changes are for new indian languages support based
6781 on Unicode charset and CDAC fonts.
6782
6783 * international/mule-conf.el: Change indian-1-column charset to
6784 indian-glyph charset.
6785
6786 * international/characters.el: Adjusted for the change of
6787 indian-1-column -> indian-glyph.
6788
6789 * international/fontset.el: Delete the setting for indian-1-column
6790 and add the setting for indian-glyph in the default fontset.
6791
6792 * language/indian.el: Completely re-written.
6793
6794 * language/devanagari.el: Completely re-written.
6795
6796 * language/devan-util.el: Completely re-written.
6797
6798 * language/ind-util.el: New file.
6799
6800 2001-11-24 Richard M. Stallman <rms@gnu.org>
6801
6802 * startup.el (command-line-1): Don't do startup screen
6803 if a subprocess is running. Call the startup screen buffer
6804 "GNU Emacs". Make a special mode-line-format for it.
6805
6806 * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
6807 (browse-url-galeon): Use that variable.
6808
6809 * mail/supercite.el (sc-toggle-var): Don't use set-variable or
6810 eval-expression. Eval and set the variable simply.
6811
6812 * files.el (temporary-file-directory): Use defcustom.
6813 (small-temporary-file-directory): Likewise.
6814 (normal-backup-enable-predicate): Move down in file
6815 after definition of temporary-file-directory.
6816
6817 * bindings.el (last-buffer, unbury-buffer): Doc fixes.
6818
6819 2001-11-24 Colin Walters <walters@debian.org>
6820
6821 * calc/calc-ext.el (calc-init-extensions): Update the rest of the
6822 autoload names to match files renamed on initial calc import.
6823
6824 * calc/calc.el (Commentary): Cleanup, and add logistic curve
6825 fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
6826
6827 2001-11-23 Colin Walters <walters@debian.org>
6828
6829 * Makefile.in (finder_setwins, setwins): Include Calc again.
6830
6831 * calc/calc-rules.el: Add header comment.
6832
6833 2001-11-23 Andre Spiegel <spiegel@gnu.org>
6834
6835 * vc.el (with-vc-properties): Don't bind `filename' locally.
6836 (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
6837 to avoid name clashes. Fix `lisp-indent-function' property for
6838 both.
6839
6840 2001-11-23 Francesco Potorti` <pot@gnu.org>
6841
6842 * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
6843
6844 2001-11-22 Colin Walters <walters@debian.org>
6845
6846 * calc/calc-misc.el (report-calc-bug):
6847 Use `reporter-prompt-for-summary-p'.
6848
6849 * calc/INSTALL, calc/Makefile: Remove.
6850
6851 2001-11-22 Miles Bader <miles@gnu.org>
6852
6853 * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
6854 (reb-match-2, reb-match-3): Add dark-background variants.
6855
6856 2001-11-22 Colin Walters <walters@debian.org>
6857
6858 * calc/calc-misc.el (calc-info): Don't perform voodoo, just
6859 (info "Calc").
6860 (report-calc-bug): Use reporter.el.
6861
6862 * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
6863
6864 2001-11-21 Richard M. Stallman <rms@gnu.org>
6865
6866 * which-func.el (which-function): Call imenu--make-index-alist
6867 if necessary to get a list of functions.
6868 (which-function-imenu-failed): New variable.
6869 (which-func-update): Handle all visible windows.
6870 (which-func-update-1): New subroutine broken out of which-func-update.
6871
6872 * files.el (temporary-file-directory, null-device)
6873 (small-temporary-file-directory): Definitions moved up.
6874
6875 * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
6876 (cperl-non-problems, cperl-praise): Doc fixes.
6877
6878 * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
6879 (sh-mode-syntax-table): Function restored.
6880 Variable set up for use by function sh-mode-syntax-table.
6881 (sh-set-shell): Set the syntax table.
6882
6883 * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
6884
6885 * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
6886
6887 * international/encoded-kb.el: Don't alter minor-map-alist.
6888
6889 2001-11-20 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
6890
6891 * files.el (auto-save-file-name-transforms): Put remote files in
6892 temporary-file-directory rather than /tmp.
6893
6894 2001-11-21 Colin Walters <walters@debian.org>
6895
6896 * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
6897 of (function ...) wrapper.
6898
6899 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
6900
6901 * derived.el (define-derived-mode): Create the abbrev-table
6902 from inside the `defvar'.
6903
6904 * jit-lock.el (jit-lock-defer-time): New var.
6905 (jit-lock-defer-timer, jit-lock-buffers): New vars.
6906 (jit-lock-mode): Initialize them. Cancel the timers more carefully.
6907 (jit-lock-function): Defer fontification if requested.
6908 (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
6909 (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
6910 text property.
6911 (jit-lock-deferred-fontify): New fun.
6912
6913 2001-11-20 Richard M. Stallman <rms@gnu.org>
6914
6915 * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
6916 Set local-abbrev-table to lisp-mode-abbrev-table.
6917
6918 * emacs-lisp/re-builder.el (reb-mode):
6919 Don't use define-derived-mode. Call kill-all-local-variables.
6920
6921 * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
6922 Don't use define-derived-mode.
6923
6924 * help-mode.el (help-mode): Undo 2001-10-07 change.
6925
6926 * replace.el (occur-mode): Undo 2001-5-20 change.
6927
6928 2001-11-20 Jason Rumney <jasonr@gnu.org>
6929
6930 * w32-fns.el (w32-system-coding-system): Change to an alias for
6931 locale-coding-system.
6932 (set-w32-system-coding-system): Document the above change.
6933 Set locale-coding-system instead.
6934
6935 2001-11-20 Richard M. Stallman <rms@gnu.org>
6936
6937 * ruler-mode.el: Add pagination.
6938 (ruler-mode-toggle-show-tab-stops): No need to
6939 test `ruler-mode' variable.
6940
6941 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
6942
6943 * play/landmark.el: Mark lm-mode as special.
6944
6945 * play/gomoku.el: Mark gomoku-mode as special.
6946
6947 2001-11-20 Juanma Barranquero <lektu@terra.es>
6948
6949 * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
6950 (top-level): Bind it to C-c C-b.
6951 (re-builder): Don't re-enter RE Builder Mode.
6952
6953 * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
6954
6955 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
6956
6957 * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
6958 `manual-program'.
6959
6960 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
6961 to a line without a comment.
6962
6963 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
6964
6965 * dired.el (dired-listing-switches): Mention in the doc string
6966 that some switches are not supported by ls-lisp.el
6967
6968 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
6969
6970 * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
6971 (imenu--create-keymap-2): Remove.
6972 (imenu--create-keymap-1): Simplify, remove third argument.
6973 (imenu--generic-function): Use dolist.
6974 (imenu-find-default): New function.
6975 (imenu--completion-buffer): Use it.
6976 (imenu--mouse-menu): Use popup-menu.
6977 (imenu--menubar-select): Return t rather than calling imenu.
6978
6979 * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
6980 New functions, extracted from fill-region-as-paragraph.
6981 (fill-region-as-paragraph): Use them.
6982 Use an end marker instead of eob.
6983 Ignore whitespace-only fill-prefixes when indenting according to mode.
6984 Simplify the loop that searches for spaces backwards.
6985
6986 * textmodes/picture.el (picture-vertical-step)
6987 (picture-horizontal-step): Don't use defconst for variables.
6988
6989 * mail/mail-extr.el: Use backquote/dolist/mapc/when. Docstring fixes.
6990 (mail-extract-address-components): Downcase domain names.
6991 (mail-extr-delete-char): Remove. Use delete-char instead.
6992
6993 * emulation/pc-select.el: Doc string fixes.
6994 (pc-selection-mode): Don't treat macos as a tty.
6995
6996 * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
6997
6998 * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
6999
7000 * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
7001 (mouse-wheel-progessive-speed): New var.
7002 (mwheel-scroll): Use it and handle float values.
7003
7004 * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
7005
7006 * iswitchb.el (iswitchb-mode): Use define-minor-mode.
7007 (iswitchb): Fix the case where the result was selected with the mouse.
7008 (iswitchb-completion-help): Use the normal *Completions* now that
7009 mouse selection works.
7010 (iswitchb-minibuffer-setup): Simplify.
7011
7012 * newcomment.el (comment-column, comment-style, comment-multi-line)
7013 (comment-auto-fill-only-comments): Remove :group arg.
7014 (comment-padding): Add :type.
7015 (comment-indent-new-line): Ignore comment-auto-fill-only-comments
7016 if called interactively.
7017
7018 2001-11-19 Colin Walters <walters@verbum.org>
7019
7020 * calc/calc.el (toplevel): Add comment and version header.
7021 (calc-init-base): Bump version to 2.02f, update date.
7022
7023 2001-11-19 Richard M. Stallman <rms@gnu.org>
7024
7025 * net/browse-url.el: Support Mozilla and Galeon.
7026 By default, find the installed browser whichever it is.
7027 (browse-url-mozilla): New function.
7028 (browse-url-mozilla-sentinel): New function.
7029 (browse-url-galeon, browse-url-galeon-sentinel): New functions.
7030 (browse-url-default-browser): New function.
7031 (browse-url-process-environment): Use browse-url-browser-display.
7032 (browse-url-browser-display): Renamed from browse-url-netscape-display.
7033 (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
7034 (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
7035 (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
7036 (browse-url-browser-function): New default, new options.
7037
7038 2001-11-19 Sam Steingold <sds@gnu.org>
7039
7040 * bindings.el (last-buffer, unbury-buffer): New function.
7041 (mode-line-unbury-buffer): Use `unbury-buffer'.
7042
7043 2001-11-18 Stephen Eglen <stephen@gnu.org>
7044
7045 * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
7046 control behaviour when no further completion is possible.
7047
7048 2001-11-19 Colin Walters <walters@verbum.org>
7049
7050 * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
7051 (math-showing-full-precision, math-with-extra-prec, math-working)
7052 (calc-with-default-simplification)
7053 (calc-with-trail-buffer): Use backtick.
7054 (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
7055 (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
7056 (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
7057 (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
7058 (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
7059 (Math-num-integerp, Math-bignum-test, Math-equal-int)
7060 (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
7061 (calc-record-compilation-date-macro): Deleted. Callers updated.
7062 (math-format-radix-digit): Move to calc-bin.el.
7063
7064 * calc/calc.el (calc-record-compilation-date): Remove.
7065 (calc-bug-address): Update.
7066 (calc-settings-file): Use `user-init-file'.
7067
7068 * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
7069 Handle null `calc-settings-file'.
7070
7071 * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
7072 * calc/calc-keypd.el (calc-keypad-mode): New.
7073 (calc-do-keypad): Use it.
7074 (calc-keypad-map): Move into `calc-keypad-mode'.
7075
7076 * calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
7077 to defalias argument.
7078
7079 * calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
7080 (calcFunc-floor): Ditto.
7081
7082 * calc-units.el (calcFunc-usimplify): Ditto.
7083
7084 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
7085 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
7086 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
7087 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
7088 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
7089 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
7090 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
7091 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
7092 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
7093 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
7094 * calcsel2.el: Change all toplevel `setq' forms to `defvar' forms,
7095 and move them before their first use. Use `when', `unless'.
7096 Remove trailing periods from error forms. Add description and
7097 headers suggested by Emacs Lisp coding conventions.
7098
7099 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
7100
7101 * newcomment.el (comment-indent):
7102 Fix misindentation for comment-only lines.
7103 (comment-indent-new-line): Only obey comment-multi-line if the
7104 comment-ender is not the end-of-line.
7105
7106 2001-11-19 Richard M. Stallman <rms@gnu.org>
7107
7108 * net/net-utils.el (network-connection-service-abbrev-alist):
7109 New variable.
7110
7111 * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
7112 Advance to start of 3rd sexp by moving fwd and backing over it.
7113 At first three elements, act like defun.
7114
7115 * delsel.el (delete-selection-pre-hook): Handle and resignal
7116 file-supersession errors to interact properly with userlock.el.
7117
7118 2001-11-18 Richard M. Stallman <rms@gnu.org>
7119
7120 * progmodes/fortran.el (fortran-mode-syntax-table):
7121 Specify punctuation syntax for backslash.
7122
7123 * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
7124 All calls deleted.
7125
7126 * international/mule-util.el (string-to-sequence): Make it obsolete.
7127 (string-to-list, string-to-vector): Implement them directly
7128 using append and vconcat, not with string-to-sequence.
7129
7130 * startup.el (command-line): Set abbrevs-changed to nil after
7131 reading the init file and the abbrevs file.
7132
7133 * isearch.el (isearch): Use magenta2 as bg for (background light)
7134
7135 2001-11-17 Richard M. Stallman <rms@gnu.org>
7136
7137 * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
7138
7139 * simple.el (minibuffer-history-sexp-flag): Doc fix.
7140
7141 2001-11-17 Stefan Monnier <monnier@cs.yale.edu>
7142
7143 * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
7144 If set and if applicable, add a regexp to highlight defun-like
7145 text inside comments and strings.
7146 (font-lock-fontify-keywords-region): Pass that new arg.
7147 (font-lock-set-defaults): Move the code to set `font-lock-keywords'
7148 to the end and pass that new arg.
7149 (c-font-lock-keywords-2): Fix regex for labels.
7150 (font-lock-match-c++-style-declaration-item-and-skip-to-next):
7151 Make it work when LIMIT is several lines further.
7152 (c-font-lock-keywords-3, c++-font-lock-keywords-3)
7153 (objc-font-lock-keywords-3, java-font-lock-keywords-3):
7154 Use backquote and make the regexes for `int a, b, c;' work on
7155 multiple lines.
7156
7157 * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
7158 (font-lock-defaults-alist): Don't change it any more.
7159 (reb-subexp-mode-map): Cleanup.
7160
7161 * custom.el (custom-current-group-alist): New var.
7162 (custom-declare-group): Set it.
7163 (custom-current-group): New fun.
7164 (custom-declare-variable, custom-handle-all-keywords):
7165 Use it as a default if no :group argument is specified.
7166
7167 * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
7168 (standard-keyboard-coding-systems): New var.
7169 (set-locale-environment): Use it to decide whether or not to call
7170 set-keyboard-coding-system.
7171 (locale-language-names): Use \"French\" for "fr".
7172
7173 2001-11-17 Richard M. Stallman <rms@gnu.org>
7174
7175 * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
7176 (add-to-list): Delete compatibility code.
7177 (checkdoc-next-message-error): Doc fix.
7178
7179 2001-11-17 Stephen Eglen <stephen@gnu.org>
7180
7181 * locate.el (locate): Show default locate pattern within the
7182 prompt, but don't insert it into the minibuffer contents.
7183 Catch the case when pattern is the empty string.
7184
7185 2001-11-17 Eli Zaretskii <eliz@is.elta.co.il>
7186
7187 * language/european.el ("French"): New language environment.
7188
7189 2001-11-16 Richard M. Stallman <rms@gnu.org>
7190
7191 * calendar/todo-mode.el (todo-save): Fix previous change.
7192
7193 * subr.el (functionp): Do use cdr-safe on object.
7194
7195 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
7196
7197 * bindings.el (mode-line-mode-name): Only put the help-echo property
7198 if the local-map property was put as well.
7199 (global-map): Bind switch-frame, delete-frame, iconify-frame
7200 and make-frame-visible events.
7201
7202 * emacs-lisp/elp.el (elp-not-profilable): New var.
7203 (elp-not-profilable-p): New function.
7204 (elp-instrument-function): Use it. Use backquotes and push.
7205
7206 * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
7207 (byte-stack+-info, byte-compile-last-warned-form)
7208 (byte-compile-last-logged-file): Don't defconst a variable.
7209 (no-byte-compile): Declare.
7210 (byte-compile-file): Don't boundp-check no-byte-compile any more.
7211 (byte-compile-defvar): Leave defconst as is.
7212
7213 * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
7214 (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
7215 (edebug-current-offset, edebug-old-def-name, edebug-error-point)
7216 (edebug-best-error): Don't defconst a variable.
7217 (edebug-read-syntax-table): Use a char-table.
7218 (edebug-lemacs-specific): Remove.
7219 Toplevel: Eliminate check for Lucid Emacs.
7220
7221 * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
7222
7223 * rect.el (move-to-column-force): Mark obsolete.
7224 (operate-on-rectangle, delete-extract-rectangle-line)
7225 (insert-rectangle, delete-whitespace-rectangle-line)
7226 (open-rectangle-line, clear-rectangle-line): Use move-to-column.
7227 (string-rectangle-history): New var.
7228 (string-rectangle, string-insert-rectangle): Use it.
7229 (delete-rectangle-line): Fix pos/column mixup and simplify.
7230
7231 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
7232 (normal-top-level, command-line, command-line-1): Simplify.
7233
7234 * tar-mode.el (tar-mode): Use define-derived-mode.
7235
7236 * view.el (view-mode-enable): Don't use make-local-hook.
7237
7238 * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
7239
7240 2001-11-16 Richard M. Stallman <rms@gnu.org>
7241
7242 * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
7243 if it doesn't make sense as anything else.
7244 Don't recognize a "telephone number" at the beginning of the name.
7245 (mail-extr-leading-garbage): Match non-word characters only.
7246
7247 2001-11-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7248
7249 * startup.el (command-line-processed): Doc fix.
7250
7251 * apropos.el (apropos-next-label-button): Doc fix.
7252
7253 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
7254
7255 * comint.el (comint-mode): Simplify.
7256 (make-comint-in-buffer): Run `comint-mode' only if necessary.
7257
7258 * subr.el (eval-after-load): Make it work with features as well.
7259
7260 * log-view.el (log-view-mode): Don't mark the buffer unmodified.
7261
7262 * international/mule-cmds.el (describe-input-method): Setup xref.
7263 (set-language-environment): Use functionp.
7264 (locale-language-names, locale-charset-language-names)
7265 (locale-preferred-coding-systems): Defconst and purecopy.
7266
7267 * language/european.el (mac-roman): Add mime-charset property.
7268
7269 2001-11-15 Richard M. Stallman <rms@gnu.org>
7270
7271 * emacs-lisp/cl.el (values, values-list, multiple-value-list)
7272 (multiple-value-apply, nth-value): Use defsubst rather than defalias
7273 to get better doc strings.
7274
7275 2001-11-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7276
7277 * derived.el: Fix autoload cookie.
7278
7279 2001-11-15 Richard M. Stallman <rms@gnu.org>
7280
7281 * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
7282
7283 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
7284
7285 * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
7286
7287 2001-11-15 Richard M. Stallman <rms@gnu.org>
7288
7289 * dired.el (dired-undo): Display a message to explain
7290 that this does not undo file system changes.
7291
7292 2001-11-15 David Kastrup <David.Kastrup@t-online.de>
7293
7294 * mouse-drag.el (mouse-drag-throw): Push back non-drag events
7295 into `unread-command-events' instead of trying keymap
7296 lookups ourselves. This makes mouse-clicks do the right
7297 thing even when keymaps of overlays are involved.
7298 (mouse-drag-drag): Likewise.
7299
7300 2001-11-15 Andreas Schwab <schwab@suse.de>
7301
7302 * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
7303 characters and append anchor to pattern added to auto-mode-alist.
7304
7305 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
7306
7307 * server.el (server-process-filter): Run pore/post-comment-hook
7308 before/after visiting the file.
7309
7310 * info-look.el (makefile-mode): Add info for automake.
7311 (autoconf-mode): Fix the name of the index for automake.
7312
7313 * international/latin-9.el: Give pilcrow punctuation syntax.
7314
7315 2001-11-15 Andre Spiegel <spiegel@gnu.org>
7316
7317 * vc.el: Documentation fixes.
7318
7319 2001-11-14 Stefan Monnier <monnier@cs.yale.edu>
7320
7321 * smerge-mode.el (smerge-match-conflict): Fix typo.
7322 (smerge-diff): Be careful to read match-data early enough.
7323
7324 2001-11-14 Colin Walters <walters@verbum.org>
7325
7326 * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
7327 (calcFunc-subst): Use `defalias' instead of `fset' and
7328 `symbol-function'.
7329
7330 * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
7331 (calcFunc-ceil, calcFunc-round): Ditto.
7332
7333 * calc/calc-bin.el (calcFunc-clip): Ditto.
7334
7335 * calc/calc-ext.el (calcFunc-evalv): Ditto.
7336
7337 * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
7338
7339 * calc/calc-misc.el (math-fixnump, math-fixnatnump)
7340 (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
7341
7342 * calc/calc-units.el (calcFunc-unsimplify): Ditto.
7343
7344 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
7345 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
7346 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
7347 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
7348 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
7349 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
7350 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
7351 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
7352 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
7353 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
7354 * calcsel2.el: Style cleanup; don't put closing parens on their
7355 own line, add "foo.el ends here" to each file, and update
7356 copyright date.
7357
7358 * README: Update maintainer.
7359
7360 2001-11-13 Richard M. Stallman <rms@gnu.org>
7361
7362 * progmodes/compile.el (recompile): Use compilation-arguments if
7363 set, so as to be able to M-x recompile the exact command which
7364 created a compilation-mode buffer.
7365
7366 * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
7367
7368 2001-11-13 Gerd Moellmann <gerd@gnu.org>
7369
7370 * mouse.el (mouse-drag-region): Don't run the up-event
7371 handler if window start changed due to the down-mouse event.
7372
7373 2001-11-13 Richard M. Stallman <rms@gnu.org>
7374
7375 * mouse.el (mouse-show-mark): Either move point to the mark
7376 or use highlighting, never both.
7377 (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
7378
7379 2001-11-13 Simon Josefsson <jas@extundo.com>
7380
7381 * mail/smtpmail.el (top-level): Change maintainer to Simon
7382 Josefsson, cleanup the smtpmail.el header.
7383
7384 * mail/smtpmail.el (top-level): Don't require cl or base64.
7385 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
7386 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
7387 Defsubst instead of defmacro.
7388 (smtpmail-intersection): Return value in reverse order.
7389 (smtpmail-open-stream): Use stringp instead of string-to-list.
7390 (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
7391 separated from smtpmail-via-smtp.
7392
7393 * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
7394 rfc2104. Require base64 and cl.
7395 (smtpmail-smtp-service): Doc fix. :type fix.
7396 (smtpmail-debug-info): Doc fix.
7397 (smtpmail-debug-verb, smtpmail-auth-credentials)
7398 (smtpmail-starttls-credentials, smtpmail-auth-supported):
7399 New variables.
7400 (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
7401 mail-utils (it is autoloaded).
7402 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
7403 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
7404 (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
7405 (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
7406 (smtpmail-via-smtp): Support AUTH.
7407 (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
7408
7409 2001-11-13 Richard M. Stallman <rms@gnu.org>
7410
7411 * ebuff-menu.el (electric-buffer-update-highlight): New function.
7412 (electric-buffer-overlay): New variable.
7413 (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
7414 (electric-buffer-list): Likewise.
7415
7416 * isearch.el (isearch-whitespace-chars): Doc fix.
7417 (isearch-mode): Handle negative search-slow-window-lines correctly.
7418
7419 2001-11-13 Stefan Monnier <monnier@cs.yale.edu>
7420
7421 * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
7422
7423 * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
7424 From Emmanuel Briot <briot@act-europe.fr>.
7425
7426 2001-11-13 Colin Walters <walters@debian.org>
7427
7428 * calc/calc.el (calc-unread-command): Use `unread-command-events'.
7429
7430 * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
7431 "~/.emacs"; use `read-file-name'.
7432
7433 * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
7434 * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
7435 * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
7436 * calc/calc.el: Use `frame-width' instead of `screen-width',
7437 `frame-height' instead of `screen-height', and,
7438 `executing-kbd-macro' instead of `executing-macro'.
7439
7440 * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
7441 correct number of arguments.
7442
7443 * calc/calc-aent.el (calc-do-alg-entry):
7444 Use `blink-paren-function' instead of `blink-paren-hook'.
7445
7446 2001-11-12 Richard M. Stallman <rms@gnu.org>
7447
7448 * calendar/todo-mode.el (todo-save): Add save-excursion
7449 and save-restriction.
7450
7451 * server.el (server-edit, server-done): Doc fix.
7452
7453 * simple.el (clone-indirect-buffer): Error if major mode symbol
7454 has a no-clone-indirect property.
7455 (clone-buffer): Check for obvious errors before reading clone name.
7456
7457 * info.el (Info-mode): Add a no-clone-indirect property.
7458
7459 2001-11-12 Sam Steingold <sds@gnu.org>
7460
7461 * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
7462 set-buffer-modified-p to nil after `vc-exec-after'.
7463 * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
7464 (log-view-mode): Make read-only.
7465 (log-view-current-file): Do final `expand-file-name' in the
7466 current `default-directory'.
7467 (log-view-current-tag): Take an optional `where' arg.
7468 (log-view-diff): New user command.
7469
7470 2001-11-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7471
7472 * progmodes/cpp.el (cpp-choose-face): Fix typo.
7473
7474 2001-11-12 Sam Steingold <sds@gnu.org>
7475
7476 * emacs-lisp/cl-indent.el (toplevel): Indent properly
7477 `generic-flet', `generic-labels', `with-accessors',
7478 `with-condition-restarts'.
7479
7480 2001-11-12 Richard M. Stallman <rms@gnu.org>
7481
7482 * dired.el: Many trivial doc fixes.
7483 (dired-get-file-for-visit): New function.
7484 (dired-find-alternate-file, dired-mouse-find-file-other-window):
7485 (dired-view-file, dired-find-file-other-window, dired-display-file):
7486 (dired-find-file): Use dired-get-file-for-visit.
7487
7488 2001-11-12 Alex Schroeder <kensanata@yahoo.com>
7489
7490 * sql.el (sql-mode): Doc change.
7491
7492 * sql.el (sql-mode-syntax-table): The backslash is no longer an
7493 escape character.
7494
7495 2001-11-12 Colin Walters <walters@debian.org>
7496
7497 * calc/calc-keypd.el (toplevel): Bind mouse buttons.
7498 (calc-do-keypad): Don't attempt to use nonexistent global
7499 mouse-map, use calc-keypad-map.
7500 (calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
7501 (calc-keypad-left-click): Don't use mouse-map; update to new event
7502 interface.
7503 (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
7504 (calc-keypad-press): Use `unread-command-events' instead of
7505 `unread-command-char'.
7506
7507 * calc/calc-ext.el (calc-init-extensions): Update autoload names
7508 to match files renamed on initial calc import.
7509
7510 2001-11-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7511
7512 * textmodes/flyspell.el (flyspell-default-dictionary):
7513 Fix previous change.
7514
7515 2001-11-12 Richard M. Stallman <rms@gnu.org>
7516
7517 * textmodes/flyspell.el (flyspell-default-dictionary):
7518 Fix custom type.
7519
7520 2001-11-11 Richard M. Stallman <rms@gnu.org>
7521
7522 * calendar/solar.el (solar-sunrise-and-sunset):
7523 Exchange the two extreme values of day-length.
7524
7525 * progmodes/sh-script.el (sh-must-be-shell-mode):
7526 Allow modes derived from sh-mode.
7527
7528 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
7529 Turn off error in some re-search-forward calls.
7530
7531 * replace.el (query-replace-skip-read-only): New variable.
7532 (perform-replace): If that variable is non-nil, ignore matches
7533 that have a read-only property.
7534
7535 * derived.el (define-derived-mode): Doc fix.
7536
7537 * server.el (server-buffer-done): Test of server-existing-buffer
7538 was backwards.
7539 (server-existing-buffer): Doc fix.
7540
7541 * textmodes/flyspell.el (flyspell-default-dictionary):
7542 Allow nil as value, and make nil the default.
7543
7544 2001-11-11 Eli Zaretskii <eliz@is.elta.co.il>
7545
7546 * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
7547 it is not fboundp.
7548 (clipboard-yank): Ditto.
7549
7550 2001-11-11 Colin Walters <walters@verbum.org>
7551
7552 The following changes are based on patches from
7553 Eli Zaretskii <eliz@is.elta.co.il>, Kai Gro\e,A_\e(Bjohann
7554 <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
7555
7556 * calc/calc.el (toplevel): Require calc-macs.
7557 (calc-minibuffer-size): New.
7558 (calcDigit-nondigit): Use it instead of `buffer-size'.
7559 (calcDigit-backspace): Likewise.
7560 (calcDigit-nondigit): Use `minibuffer-contents' instead of
7561 `buffer-string'.
7562 (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
7563 `point-min'.
7564 (calcDigit-key): Use `calc-minibuffer-contains' instead of a
7565 `save-excursion'.
7566
7567 * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
7568 simple `setq' form.
7569
7570 * calc/calc-ext.el: (toplevel): Require calc.
7571 (calc-fancy-prefix-map): New.
7572 (calc-fancy-prefix): Use it.
7573 (calc-fancy-prefix-other-key): New.
7574
7575 * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
7576 (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
7577 (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
7578 (calcAlg-enter): Likewise.
7579 (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
7580
7581 2001-11-10 Richard M. Stallman <rms@gnu.org>
7582
7583 * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
7584 (quietly-read-abbrev-file): Doc fix.
7585
7586 * startup.el (command-line): Read standard abbrev
7587 file (abbrev-file-name), if it exists.
7588
7589 * files.el (save-abbrevs): Default value is t.
7590
7591 * progmodes/compile.el (compile-goto-error): Fix previous change
7592 in the case where subsequent errors have not been parsed yet
7593 because they are in a different source file.
7594
7595 2001-11-10 Peter Kleiweg <kleiweg@let.rug.nl>
7596
7597 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7598 Merge two regular expressions into one.
7599 (ps-mode): Make local bindings for `comment-start' and
7600 `comment-start-skip'.
7601 (ps-mode-looking-at-nested): Simplify an if-else construct;
7602 use `set-match-data' to set the result.
7603
7604 2001-11-10 Richard M. Stallman <rms@gnu.org>
7605
7606 * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
7607 Function deleted.
7608 (flyspell-correct-word): Old definition deleted.
7609 (flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
7610 All references renamed too.
7611
7612 2001-11-10 Gerd Moellmann <gerd@gnu.org>
7613
7614 * Makefile.in (finder_setwins, setwins): Exclude Calc.
7615
7616 2001-11-09 Per Abrahamsen <abraham@dina.kvl.dk>
7617
7618 * wid-edit.el (checklist): Removed `:menu-tag'.
7619 (radio-button-choice): Ditto.
7620 (editable-list): Ditto.
7621
7622 2001-11-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7623
7624 * play/gomoku.el: Move definitions of constants to the beginning
7625 of file, before their use.
7626
7627 2001-11-09 Richard M. Stallman <rms@gnu.org>
7628
7629 * textmodes/flyspell.el: Use the keymap property
7630 instead of local-map, and don't use a minor-mode map.
7631 (flyspell-mode-map): Variable deleted.
7632 Don't mess with minor-mode-map-alist.
7633 (calling add-minor-mode): Specify nil for keymap.
7634 And always use add-minor-mode, now that it exists.
7635 (flyspell-overlay-keymap-property-name): Set it to `keymap'.
7636 (flyspell-mode-on): Don't locally bind flyspell-mouse-map
7637 or flyspell-local-mouse-map.
7638 (make-flyspell-overlay): Use flyspell-mouse-map directly.
7639 (flyspell-mode): Doc fix.
7640 (flyspell-mode-on): Don't call make-local-hook.
7641
7642 2001-11-09 Sam Steingold <sds@gnu.org>
7643
7644 * emacs-lisp/debug.el (debugger-make-xrefs):
7645 Add buttons to all symbols.
7646
7647 2001-11-09 Andre Spiegel <spiegel@gnu.org>
7648
7649 * vc.el: Add John David Smith to credits.
7650
7651 Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
7652
7653 * vc-hooks.el (vc-error-occured): Backquotified.
7654 (vc-file-prop-obarray): Use prime length for better efficiency.
7655
7656 * vc.el (vc-clear-context): Fill obarray with 0, not nil.
7657
7658 2001-11-09 Eli Zaretskii <eliz@is.elta.co.il>
7659
7660 * info.el (Info-file-list-for-emacs): Add entries for Calc.
7661
7662 2001-11-09 Miles Bader <miles@gnu.org>
7663
7664 * subr.el (functionp): Don't consider macros as functions.
7665
7666 2001-11-08 Miles Bader <miles@gnu.org>
7667
7668 * subr.el (functionp): Make work correctly for macros and unbound
7669 symbols.
7670
7671 * comint.el (comint-send-input): Fix description of
7672 `comint-process-echoes' in the doc-string.
7673
7674 2001-11-08 Eli Zaretskii <eliz@is.elta.co.il>
7675
7676 * international/mule.el (make-translation-table): Doc fix.
7677 Suggested by Alex Schroeder <alex@gnu.org>.
7678
7679 2001-11-07 Richard M. Stallman <rms@gnu.org>
7680
7681 * info.el (Info-fontify-node): Highlight every third menu item.
7682
7683 2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk>
7684
7685 * cus-edit.el (custom-face-value-create): Don't ignore the
7686 `customized-face' attribute when finding the current face spec.
7687
7688 2001-11-07 Stefan Monnier <monnier@cs.yale.edu>
7689
7690 * subr.el (with-local-quit): New macro.
7691 (make-syntax-table): Always inherit.
7692 (functionp): Be more careful when `object' is a symbol.
7693
7694 * dabbrev.el (dabbrev-completion): Use "*Completions*".
7695
7696 2001-11-07 Paul Eggert <eggert@twinsun.com>
7697
7698 * dired.el (dired-move-to-filename-regexp):
7699 Do not distinguish between ASCII letters and non-ASCII characters.
7700 Don't allow comma except in the form "month day, year".
7701 Don't allow space between month name and comma.
7702 Clean up the code that checks for trailing period, comma, and space.
7703 Remove now-obsolete comments, and add more commentary about
7704 Japanese dates.
7705 Always gobble up trailing spaces, instead of doing it only sometimes.
7706
7707 2001-11-07 Miles Bader <miles@gnu.org>
7708
7709 * paren.el (show-paren-match-face): Add dark-background variant.
7710
7711 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
7712
7713 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
7714 (lisp-mode-variables): Don't set paragraph-{start,separate}.
7715 Don't disable adaptive-fill-mode.
7716 (lisp-fill-paragraph): Use tab-width rather than 8.
7717 Prevent filling the first line of docstrings.
7718
7719 2001-11-06 Richard M. Stallman <rms@gnu.org>
7720
7721 * play/gomoku.el (gomoku): Doc fix.
7722
7723 * jka-compr.el (jka-compr-partial-uncompress):
7724 Support an alternative of not using dd.
7725 (jka-compr-dd-program): Use defcustom to define this.
7726 (jka-compr-load-suffixes): Use defcustom.
7727 (jka-compr-mode-alist-additions): Use defcustom.
7728
7729 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
7730
7731 * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
7732 Also work when LIMIT is further than the end of line.
7733
7734 2001-11-06 Eli Zaretskii <eliz@is.elta.co.il>
7735
7736 * international/quail.el (quail-update-leim-list-file): Print the
7737 offending file name if some of its quail-define-package forms is broken.
7738
7739 2001-11-05 Richard M. Stallman <rms@gnu.org>
7740
7741 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
7742 of the evaluated form.
7743
7744 2001-11-05 Paul Eggert <eggert@twinsun.com>
7745
7746 * ls-lisp.el (ls-lisp-time-to-seconds): New function.
7747 (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
7748 stamps always line up by default. Also, it uses a slightly
7749 different window to determine whether files are "recent".
7750
7751 2001-11-05 Andrew Innes <andrewi@gnu.org>
7752
7753 * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
7754 Don't attempt to remake autoloads before nuking .elc files.
7755
7756 2001-11-04 Richard M. Stallman <rms@gnu.org>
7757
7758 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
7759 previous-single-property-change or next-single-char-property-change
7760 returns nil.
7761
7762 * international/mule-cmds.el (set-locale-environment):
7763 Make it interactive; make arg optional.
7764
7765 * international/mule-diag.el (help-funs): Require help-funs.
7766
7767 2001-11-04 Eli Zaretskii <eliz@is.elta.co.il>
7768
7769 * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
7770
7771 2001-11-04 Miles Bader <miles@gnu.org>
7772
7773 * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
7774 shadow of the splash image grey on a dark background instead of black.
7775
7776 2001-11-03 Stefan Monnier <monnier@cs.yale.edu>
7777
7778 * term.el (all faces): Don't (copy-face 'default <foo>).
7779
7780 * term/xterm.el (function-key-map):
7781 Add entry for `ESC [ 3 ~' -> <delete>
7782 Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
7783 Use inheritance so that .emacs and terminfo take precedence.
7784
7785 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
7786
7787 * tooltip.el (tooltip-delay): Decrease to 0.7.
7788 (tooltip-hide-delay): Enlarge to 10.
7789
7790 2001-11-03 Richard M. Stallman <rms@gnu.org>
7791
7792 * startup.el (fancy-splash-tail): Explain how to recover
7793 from a crash, if there was a crash.
7794 (command-line-1): Reorganize display of startup screen,
7795 to simplify the logic. Use a temp buffer for it.
7796
7797 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
7798
7799 * frame.el (set-background-color, set-foreground-color):
7800 Call face-set-after-frame-default, to propagate the new colors to
7801 the frame's parameters alist.
7802
7803 * calendar/timeclock.el (timeclock-out): Signal an error if
7804 timeclock-last-event is nil.
7805
7806 2001-11-02 Stefan Monnier <monnier@cs.yale.edu>
7807
7808 * textmodes/fill.el (fill-context-prefix): Fix braino.
7809
7810 * international/quail.el (quail-help):
7811 Use `help-buffer' and move `help-setup-xref' to beginning.
7812
7813 * international/mule-cmds.el (describe-language-environment):
7814 Use `help-buffer' and move `help-setup-xref' to beginning.
7815
7816 * international/mule-diag.el (list-character-sets)
7817 (sort-listed-character-sets, describe-character-set)
7818 (describe-coding-system, describe-fontset, list-fontsets):
7819 Use `help-buffer' and move `help-setup-xref' to beginning.
7820 (describe-char-after): Use `internal-describe-syntax-value'.
7821
7822 2001-11-02 Richard M. Stallman <rms@gnu.org>
7823
7824 * mouse.el (popup-menu): If the user refuses to select
7825 from a menu, don't try to invoke the menu.
7826
7827 2001-11-02 Miles Bader <miles@gnu.org>
7828
7829 * help-mode.el (help-xref): New button type.
7830 (help-function, help-variable, help-face, help-coding-system)
7831 (help-input-method, help-character-set, help-type, help-symbol)
7832 (help-back, help-info, help-customize-variable, help-customize-face)
7833 (help-function-def, help-variable-def): Use it as a supertype.
7834 Remove `action' property.
7835
7836 * international/mule-diag.el (describe-character-set)
7837 (describe-coding-system): Pass correct args to `help-xref-button'.
7838 (sort-listed-character-sets): New button type.
7839 (list-character-sets): Use it.
7840 (list-charset-chars): New button type.
7841 (list-character-sets-1): Use it.
7842
7843 2001-11-01 Stefan Monnier <monnier@rum.cs.yale.edu>
7844
7845 * indent.el (tab-always-indent, indent-for-tab-command):
7846 Remove redundant `never' setting.
7847
7848 * fill.el (fill-region-as-paragraph): Don't forget to skip
7849 over current whitespace before looking for a preceding space.
7850
7851 2001-11-01 Richard M. Stallman <rms@gnu.org>
7852
7853 * files.el (file-newest-backup): Don't pass backup file name
7854 thru file-name-sans-versions, because it never has version numbers.
7855
7856 * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
7857 to avoid ambiguous nested loops.
7858
7859 * files.el (find-file-noselect): Offer to change buffer-read-only
7860 only when the file's read-only status has changed from before
7861 as well as disagreeing with the buffer's current status.
7862 (buffer-file-read-only): New var, local in all buffers.
7863
7864 * buff-menu.el (buffer-menu): Doc fix.
7865 (buffer-menu-other-window): Doc fix.
7866 (list-buffers, list-buffers-noselect): Doc fix.
7867
7868 2001-11-01 Gerd Moellmann <gerd@gnu.org>
7869
7870 * startup.el (command-line): If the terminal Emacs is running on
7871 has erase char set to ^H, use the Backspace key for deleting
7872 backward, and the Delete key for deleting forward.
7873
7874 2001-11-01 Miles Bader <miles@gnu.org>
7875
7876 * button.el (define-button-type): Make sure every user-defined
7877 button type has a supertype.
7878
7879 2001-10-31 Jason Rumney <jasonr@gnu.org>
7880
7881 * international/mule-cmds.el (locale-language-names): Add chs and
7882 cht as aliases for Chinese-GB and Chinese-BIG5.
7883
7884 2001-10-31 Richard M. Stallman <rms@gnu.org>
7885
7886 * bindings.el (mode-line-frame-identification): Add doc string.
7887 (mode-line-position, mode-line-modes): New variables.
7888 (mode-line-format): Use mode-line-position for the part
7889 that displays the position-in-buffer info.
7890 Use mode-line-modes for the part that displays major and minor modes.
7891
7892 2001-10-31 Sam Steingold <sds@gnu.org>
7893
7894 * emacs-lisp/debug.el (debugger-make-xrefs): New function.
7895 (debugger-setup-buffer): Call it.
7896 (debugger-mode-map): Bind RET and mouse-2.
7897
7898 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
7899
7900 * startup.el: Document command line option --no-window-system
7901 instead of --no-windows.
7902
7903 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
7904
7905 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
7906
7907 * font-lock.el (java-font-lock-syntactic-face-function): New fun.
7908 (font-lock-defaults-alist): Use it.
7909 From David Ponce <david.ponce@wanadoo.fr>
7910
7911 * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
7912 output of `char-after'.
7913
7914 * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
7915
7916 * simple.el (reindent-then-newline-and-indent): Insert the newline
7917 before indenting the first line.
7918 (undo-get-state, undo-revert-to-state): New funs.
7919 (shell-command): Don't kill the buffer even if empty.
7920 (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
7921 (transpose-subr-end2): Remove.
7922 (transpose-subr): Add `special' arg and simplify.
7923 (transpose-subr-1): Rewrite.
7924 (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
7925 (rfc822-goto-eoh): Simplify.
7926
7927 2001-10-30 Richard M. Stallman <rms@gnu.org>
7928
7929 * enriched.el (enriched-face-ans): Fix previous change.
7930
7931 2001-10-30 Gerd Moellmann <gerd@gnu.org>
7932
7933 * international/iso-acc.el (iso-accents-compose): Remove a
7934 superfluous setq.
7935
7936 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il>
7937
7938 * buff-menu.el (list-buffers-noselect): If the buffer's name
7939 starts with a blank, but it visits a file, do show it (for files
7940 whose names start with a blank).
7941
7942 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
7943
7944 * textmodes/fill.el (sentence-end-double-space)
7945 (sentence-end-without-period): Move to paragraphs.el.
7946 (fill-indent-according-to-mode): Change default to t.
7947 (fill-context-prefix): Simplify control-flow and use a more
7948 sophisticated merge that unifies both previous checks.
7949 (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
7950 (fill-nobreak-predicate): Make it into a defcustom'd hook.
7951 (fill-nobreak-p): New fun.
7952 (fill-region-as-paragraph): Use it.
7953 Handle `fill-indent-according-to-mode' slightly differently.
7954 (fill-individual-paragraphs-prefix): Simplify the control-flow.
7955 (fill-individual-paragraphs-citation): Fix.
7956
7957 * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
7958 (paragraph-start): Change default to the `text-mode' value.
7959 (sentence-end-double-space, sentence-end-without-period):
7960 Move from fill.el.
7961 (forward-paragraph): Use `parstart' and `parsep' for temp variables
7962 rather than rebinding `paragraph-start' and `paragraph-separate'.
7963
7964 * indent.el (indent-line-function): Change default to indent-relative.
7965 (tab-always-indent): Add an `never' setting.
7966 (indent-according-to-mode): Handle `indent-relative' and
7967 `indent-relative-maybe' specially.
7968 (indent-for-tab-command): Rename `prefix-arg' to `arg'.
7969 Handle the `never' case for `tab-always-indent'.
7970 Don't call indent-according-to-mode for indent-relative' and
7971 `indent-relative-maybe'.
7972 (insert-tab): Rename `prefix-arg' to `arg'.
7973 (indent-region): Indent the first line as well.
7974 (indent-relative): Don't mark the buffer modified if the indentation
7975 is unchanged.
7976
7977 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7978 Don't set paragraph-separate. Set paragraph-start more carefully.
7979 Set indent-line-function.
7980 (paragraph-indent-text-mode): Use it and define-derived-mode.
7981 (text-mode-map): Remove the \t binding.
7982 (text-mode): Simplify now that the default is more favorable.
7983
7984 2001-10-29 Stefan Monnier <monnier@cs.yale.edu>
7985
7986 * emacs-lisp/find-func.el (find-function-search-for-symbol):
7987 If the regexp doesn't match, use a looser one.
7988 (find-variable-noselect): Add `file' argument.
7989
7990 * pcvs.el (cvs-mode-commit-hook): New hook.
7991 (cvs-mode-commit): Run it.
7992
7993 * log-edit.el (log-edit): Run hook after `log-edit-files'.
7994
7995 * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
7996 (edebug-instrument-function): Use `find-function-noselect'.
7997
7998 2001-10-29 Richard M. Stallman <rms@gnu.org>
7999
8000 * term.el (term-if-emacs19): Macro deleted.
8001 Callers changed to use progn instead.
8002
8003 * frame.el (blink-cursor-mode): Doc fix.
8004
8005 * files.el (find-backup-file-name): Use make-backup-file-name.
8006
8007 * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
8008 window-live-p.
8009 (edebug-set-conditional-breakpoint): Unconditionally use
8010 the former Emacs >=19 definition.
8011 (edebug-mark): Define unconditionally.
8012 (edebug-eval-expression): Always call read-from-minibuffer
8013 and specify history list.
8014 (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
8015 edebug-set-conditional-breakpoint.
8016 (edebug-emacs-version-specific): Function deleted;
8017 do the job at top level.
8018 (edebug-emacs-19-specific): Function deleted, this is the default.
8019
8020 2001-10-29 Sam Steingold <sds@gnu.org>
8021
8022 * w32-fns.el (convert-standard-filename): Handle cygwin-specific
8023 "/cygdrive/LETTER/" pathnames.
8024
8025 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il>
8026
8027 * faces.el (invert-face): Check for 'unspecified, not for nil,
8028 when testing whether face colors are not specified.
8029 From David.Kastrup@t-online.de (David Kastrup).
8030 (read-face-name): Doc fix.
8031 (make-face-bold, make-face-unbold, make-face-italic)
8032 (make-face-unitalic, make-face-bold-italic, invert-face):
8033 Remove trailing blank from the prompt passed to read-face-name.
8034
8035 2001-10-29 Sam Steingold <sds@gnu.org>
8036
8037 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8038 Report numbers of files skipped and failed too.
8039 (byte-compile-file): Return 'no-byte-compile for skipped files.
8040
8041 2001-10-29 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
8042
8043 * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
8044 and `M p'.
8045
8046 2001-10-29 Gerd Moellmann <gerd@gnu.org>
8047
8048 * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
8049 as is on unread-command-events instead of `(SECOND-CHAR)'.
8050
8051 2001-10-29 Andre Spiegel <spiegel@gnu.org>
8052
8053 * vc.el: Mention vc-*-switches in backend API documentation.
8054 (vc-annotate): Adapt doc string to recent change.
8055
8056 2001-10-29 Gerd Moellmann <gerd@gnu.org>
8057
8058 * enriched.el (enriched-face-ans): Handle face attributes
8059 of the form `(FACE1 FACE2 ...)'.
8060
8061 * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
8062
8063 2001-10-29 Alex Schroeder <kensanata@yahoo.com>
8064
8065 * progmodes/sql.el (sql-mysql): Doc change by RMS.
8066
8067 * progmodes/sql.el (sql-db2): Doc change.
8068 (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
8069 (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
8070
8071 2001-10-29 Gerd Moellmann <gerd@gnu.org>
8072
8073 * env.el (substitute-env-vars): Don't quote argument to `rx';
8074 it's a macro.
8075
8076 2001-10-28 Per Abrahamsen <abraham@dina.kvl.dk>
8077
8078 * cus-start.el (recursive-load-depth-limit): Added.
8079
8080 2001-10-28 Richard M. Stallman <rms@gnu.org>
8081
8082 * textmodes/ispell.el (version18p, version20p): Vars deleted.
8083 All uses removed--assume Emacs version is >= 20.
8084
8085 * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
8086 by really checking that it is not version 18.
8087
8088 * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
8089
8090 2001-10-28 Miles Bader <miles@gnu.org>
8091
8092 * faces.el (face-attribute): Add INHERIT argument, consider face
8093 inheritance if it's non-nil.
8094 (face-attribute-merged-with): New function.
8095 (face-attribute-specified-or): New macro.
8096 (face-foreground, face-background, face-stipple): Add INHERIT
8097 argument. Use `face-attribute-specified-or'.
8098
8099 2001-10-28 Stefan Monnier <monnier@cs.yale.edu>
8100
8101 * font-lock.el: Require `syntax'.
8102 (font-lock-defaults-alist): Don't define keywords for lisp languages.
8103 Use `c-font-lock-syntactic-face-function' for c languages.
8104 (font-lock-mode): Don't unset vars when turning the mode off.
8105 (font-lock-default-fontify-buffer): Don't unset vars at the end.
8106 (font-lock-extra-managed-props): New var.
8107 (font-lock-default-unfontify-region): Use it.
8108 (font-lock-apply-syntactic-highlight): Flush the syntax cache.
8109 Don't eval the value when there's no match.
8110 (font-lock-ppss-stats): New var.
8111 (font-lock-ppss): New fun.
8112 (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
8113 (font-lock-apply-highlight): Allow `highlight' to set several props.
8114 (font-lock-set-defaults): Use dolist.
8115 (font-lock-unset-defaults): Remove.
8116 (font-lock-match-c-style-declaration-item-and-skip-to-next):
8117 Try to recognize prototypes using `foo P_ ((args))'.
8118 ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
8119 (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
8120 (c-font-lock-syntactic-face-function): New function.
8121 (font-lock-match-c++-style-declaration-item-and-skip-to-next)
8122 (c++-keywords): Use a more sophisticated regexp to handle
8123 shallowly nested templates.
8124
8125 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
8126
8127 * textmodes/sgml-mode.el (sgml-empty-tags): New var.
8128 (sgml-tag): Use it. Cleanup with `cond'.
8129 (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
8130 Mark the overlays and only delete those that are marked.
8131 (sgml-skip-close-p): Remove.
8132 (sgml-value): Replace sgml-skip-close-p with its definition.
8133 (html-tag-alist): Use sgml-xml a bit more.
8134 (html-mode): Set sgml-empty-tags.
8135
8136 * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
8137 (texinfo-update-node, texinfo-sequential-node-update):
8138 Don't bind the obsolete `auto-fill-hook'.
8139 (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
8140 Use `set-buffer' rather than `switch-to-buffer'.
8141 (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
8142 Use `set-buffer' rather than `switch-to-buffer'.
8143
8144 * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
8145 text-mode-syntax-table.
8146 (mail-mode): Use define-derived-mode.
8147 Fix ordering of alternatives in adaptive-fill-regexp.
8148 (mail-mode-map): Don't rely on keymap's internal representation.
8149
8150 2001-10-27 Sam Steingold <sds@gnu.org>
8151
8152 * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
8153 (sgml-xml-guess): Extracted from `html-mode' and generalized.
8154 (sgml-mode-common): Call it.
8155 (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
8156 (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
8157 (html-horizontal-rule, html-image, html-ordered-list):
8158 (html-unordered-list, html-list-item, html-paragraph):
8159 (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
8160 `html-xhtml'.
8161
8162 2001-10-26 Masayuki Ataka <ataka@milk.freemail.ne.jp>
8163
8164 * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
8165 (ifnothtml): New alias.
8166
8167 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
8168
8169 * textmodes/text-mode.el (text-mode): Use define-derived-mode.
8170 (toggle-text-mode-auto-fill): Use derived-mode-p.
8171
8172 2001-10-27 Gerd Moellmann <gerd.moellmann@t-online.de>
8173
8174 * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
8175 `mdtm'. From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
8176
8177 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
8178
8179 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
8180 Add make-obsolete cookies, to follow faces.el.
8181
8182 These changes avoid warnings from the byte compiler in faces.el:
8183
8184 * faces.el (internal-get-face): Use facep instead of the obsolete
8185 internal-find-face.
8186 (internal-frob-font-weight, internal-frob-font-slant):
8187 New defaliases for obsolete functions.
8188 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
8189 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
8190 (x-make-font-bold-italic): Use internal-frob-font-weight and
8191 internal-frob-font-slant aliases instead of the obsolete
8192 x-frob-... functions.
8193
8194 2001-10-26 Sam Steingold <sds@gnu.org>
8195
8196 * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
8197 DOCTYPE; set `mode-name' based on it.
8198 (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
8199 (sgml-tag): Close empty tags in XHTML.
8200
8201 2001-10-26 Jason Rumney <jasonr@gnu.org>
8202
8203 * w32-fns.el: (w32-charset-info-alist): Use ANSI for iso10646-1
8204 when UNICODE is not defined.
8205
8206 2001-10-26 Sam Steingold <sds@gnu.org>
8207
8208 * font-lock.el (c-font-lock-keywords-2): Do not require labels to
8209 be alone on the line.
8210
8211 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
8212
8213 * button.el (button): Special face definition for MS-DOS terminals.
8214
8215 2001-10-26 Sam Steingold <sds@gnu.org>
8216
8217 * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
8218 Protect the /= test by checking that the args are non-nil.
8219 (sh-font-lock-close-heredoc): Check eof for being non-nil.
8220
8221 2001-10-26 Tomas Abrahamsson <tab@lysator.liu.se>
8222
8223 * textmodes/artist.el (artist-version): 1.2.4.
8224 (artist-butlast-fn): New variable.
8225 (artist-butlast): New function.
8226 (artist-ellipse-mirror-quadrant): Use it.
8227 (artist-mouse-draw-poly): Use nil for `point-list'.
8228 (artist-mouse-draw-poly): Check for point-list being nil.
8229
8230 2001-10-26 Peter Kleiweg <kleiweg@let.rug.nl>
8231
8232 * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
8233 lambda expression.
8234 (ps-mode-menu-main): Submenu with options on/off was replaced with
8235 a toggle button.
8236 (ps-mode, ps-run-mode): Define with `define-derived-mode'
8237 (ps-mode): Autoload cookie added on same line as comment
8238 (ps-mode-tabkey, ps-mode-backward-delete-char):
8239 (ps-mode-r-balance): Replace `delete-horizontal-space' and
8240 `indent-to' with `indent-line-to'
8241 (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
8242 instead of `eval'.
8243 (ps-mode-print-region): Use `with-temp-buffer'.
8244 (ps-run-start): Use of `mapconcat'. Use `apply' instead of `eval'.
8245 (numerous places): Add back-tick and tick around names in
8246 docstrings, fix punctuation in docstrings, remove trailing spaces.
8247
8248 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
8249
8250 * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
8251 (sgml-font-lock-keywords-2): Use `eval'. Moved from sgml-mode-common.
8252 (sgml-font-lock-syntactic-keywords): New var.
8253 (sgml-mode-common): Drop the two args.
8254 Don't make buffer-local variables that aren't used.
8255 Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
8256 Don't set `before-string' props from sgml-display-text.
8257 (sgml-mode): Use define-derived-mode.
8258 (sgml-tags-invisible): Use sgml-display-text.
8259 (sgml-quote): New command.
8260 (html-tag-alist): Add args for `span'.
8261 (html-mode): Use define-derived-mode.
8262 Set sgml-display-text and sgml-tag-face-alist.
8263
8264 2001-10-25 Sam Steingold <sds@gnu.org>
8265
8266 * add-log.el (add-log-always-start-new-record): New user option.
8267 (add-change-log-entry): Use it.
8268
8269 2001-10-25 Richard M. Stallman <rms@gnu.org>
8270
8271 * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
8272 bind case-fold-search if FROM is not all lower case.
8273
8274 2001-10-25 Gerd Moellmann <gerd@gnu.org>
8275
8276 * startup.el (normal-top-level): Check for frame-initial-frame
8277 only if it's really used.
8278
8279 * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
8280
8281 * progmodes/compile.el (compilation-parse-errors-filename-function):
8282 New variable.
8283 (compilation-parse-errors): Use it.
8284
8285 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
8286
8287 * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
8288 interactively so that C-u M-C-x still does edebug.
8289 (checkdoc-sentencespace-region-engine): Don't force a double-space
8290 after `.' if it doesn't look like an end-of-sentence.
8291 (debug-ignored-errors): Add `disambiguate ...'.
8292
8293 2001-10-24 Stefan Monnier <monnier@cs.yale.edu>
8294
8295 * textmodes/texinfo.el (texinfo-environments)
8296 (texinfo-environment-regexp): Hoist.
8297 (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
8298 Only highlight the menu name in menu items.
8299 Setup `@foo ... @end foo' as text clones.
8300 (texinfo-clone-environment): New function.
8301 (texinfo-mode): Simplify auto-fill-inhibit-regexp.
8302 (texinfo-insert-block): Simplify.
8303 (texinfo-insert-quote): Insert a plain " if preceded by \ or if
8304 the command is repeated.
8305 (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
8306 (texinfo-insert-@end): Simplify.
8307
8308 * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
8309 (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
8310 (texinfo-subsubsection-level-regexp)
8311 (texinfo-update-menu-same-level-regexps)
8312 (texinfo-update-menu-higher-regexps)
8313 (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
8314
8315 * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
8316 (derived-mode-p): Autoload.
8317
8318 * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
8319 New vars and functions.
8320 (text-clone-maintain, text-clone-create): New functions.
8321
8322 2001-10-25 Miles Bader <miles@gnu.org>
8323
8324 * facemenu.el (facemenu-add-new-face): Fix variable names.
8325
8326 2001-10-24 Richard M. Stallman <rms@gnu.org>
8327
8328 * facemenu.el (facemenu-unlisted-faces): Improve doc strings
8329 of t and nil values.
8330 (facemenu-set-face): Handle START and END interactively.
8331 (facemenu-set-foreground): Don't use a face; specify color directly.
8332 (facemenu-set-background): Likewise.
8333 (facemenu-set-face-from-menu): Doc fix.
8334 (facemenu-active-faces): Use face-attribute-vector
8335 to handle bare attributes not in faces.
8336 (facemenu-get-face): Don't handle face names fg:... and bg:...
8337 specially.
8338 (facemenu-add-new-face): New argument MENU.
8339 New way to handle adding colors to the color menus.
8340
8341 * env.el (substitute-env-vars): Quote the arg to rx.
8342
8343 2001-10-24 Sam Steingold <sds@gnu.org>
8344
8345 * mouse.el (mouse-buffer-menu-mode-groups): Added "Version
8346 Control" and "SGML" groups.
8347
8348 2001-10-24 Martin Stjernholm <bug-cc-mode@gnu.org>
8349
8350 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
8351 Better handling of C++ template args to avoid confusion with `<'
8352 and `>' used as operators in member init expressions.
8353
8354 2001-10-24 Gerd Moellmann <gerd@gnu.org>
8355
8356 * replace.el (perform-replace): Move START and END parameters
8357 to the end of the argument list and make them optional.
8358
8359 * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
8360 perform-replace.
8361
8362 * international/fontset.el (x-must-resolve-font-name): New function.
8363 (x-complement-fontset-spec): Use it.
8364
8365 2001-10-23 Stefan Monnier <monnier@cs.yale.edu>
8366
8367 * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
8368
8369 * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
8370 Turn caadr into caar of cdr.
8371
8372 2001-10-23 Gerd Moellmann <gerd@gnu.org>
8373
8374 * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
8375 of mouse-{1,2} since dragging is on the down event.
8376
8377 * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
8378
8379 * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
8380 if ARG is nil.
8381
8382 * desktop.el (desktop-last-buffer): New variable.
8383 (desktop-create-buffer): Set it.
8384 (desktop-read): Bind it and switch to that buffer.
8385
8386 2001-10-22 Gerd Moellmann <gerd@gnu.org>
8387
8388 * progmodes/compile.el (compilation-set-window-height):
8389 Select old window only if it's still live.
8390
8391 2001-10-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
8392
8393 * help-mode.el (help-buffer): Remove debugging code.
8394 From Stefan Monnier <monnier@cs.yale.edu>.
8395
8396 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
8397
8398 * files.el (file-name-sans-extension, file-name-extension):
8399 Don't count the leading dots in file names as signaling an extension.
8400
8401 2001-10-22 Andre Spiegel <spiegel@gnu.org>
8402
8403 * vc.el (vc-diff-switches): Doc rewritten.
8404
8405 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
8406
8407 * tooltip.el (tooltip-set-param): Doc fix.
8408
8409 * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
8410 127 to sgml-maybe-name-self.
8411 (sgml-name-8bit-mode): Doc fix.
8412 (sgml-char-names-table): New variable.
8413 (sgml-name-char): Support non-ASCII and mule-unicode-*
8414 characters. Doc fix.
8415 (sgml-maybe-name-self): Convert unibyte characters to multibyte.
8416
8417 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
8418 doc string the effect of `left' and `top' parameters in
8419 tooltip-frame-parameters, the default values, and the units.
8420 (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
8421 (tooltip-show): Mention in the doc string the `top' and `left'
8422 parameters in tooltip-frame-parameters, and x-max-tooltip-size.
8423
8424 2001-10-22 Andre Spiegel <spiegel@gnu.org>
8425
8426 Add autoscaling support for vc-annotate.
8427 From J.D. Smith <jdsmith@alum.mit.edu>.
8428
8429 * vc.el (vc-annotate-display-default): Accept colormap scaling
8430 ratio (now deprecated).
8431 (vc-annotate-display-autoscale): Added.
8432 (vc-annotate-add-menu): New autoscaling menu options "Span to
8433 Oldest" and "Span Oldest->Newest". Easymenu support added for
8434 toggle menus driven by customize variable `vc-annotate-display-mode'.
8435 (vc-annotate-display-select): Added.
8436 (vc-annotate): Changed temp-buffer-show-function to
8437 `vc-annotate-display-select'.
8438 (vc-annotate-display): Removed arguments BUFFER and BACKEND.
8439 Added argument OFFSET. Instead of backend function, calls now
8440 generic `vc-annotate-difference'.
8441 (vc-annotate-difference): Added as generic function instead of
8442 backend-specific function. No longer takes argument POINT, but
8443 instead accepts a time OFFSET.
8444 (vc-default-annotate-current-time): Added.
8445
8446 * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
8447 version in vc.el, with
8448 (vc-cvs-annotate-current-time): Added, as override of default.
8449 (vc-cvs-annotate-time): Added. Taken mostly from the (now removed)
8450 `vc-cvs-annotate-difference'.
8451
8452 2001-10-22 Gerd Moellmann <gerd@gnu.org>
8453
8454 * saveplace.el (save-place): Require `saveplace'.
8455
8456 * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
8457 Use `sexp' for :value-type instead of `face'.
8458
8459 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
8460
8461 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
8462 regexps due to 5-digit message IDs.
8463
8464 2001-10-21 Jason Rumney <jasonr@gnu.org>
8465
8466 * term/w32-win.el (redisplay-dont-pause): Don't set.
8467
8468 2001-10-21 Miles Bader <miles@gnu.org>
8469
8470 * help-funs.el (help-manyarg-func-alist): Variable removed.
8471
8472 2001-10-21 Miles Bader <miles@gnu.org>
8473
8474 * help-funs.el (help-manyarg-func-alist): Remove entries for
8475 `insert', `insert-and-inherit', `insert-before-markers',
8476 `insert-before-markers-and-inherit', `message', `message-box',
8477 `message-or-box', `propertize', `format', `encode-time', `append',
8478 `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
8479 `insert-string', `ml-if', `ml-provide-prefix-argument', and
8480 `ml-prefix-argument-loop'.
8481
8482 2001-10-21 Andre Spiegel <spiegel@gnu.org>
8483
8484 * vc.el (vc-diff-internal, vc-coding-system-for-diff)
8485 (vc-default-diff-tree): New functions.
8486 (vc-version-diff): Use them. As a result, coding systems are now
8487 set up properly for all sorts of diffs, and tree diffs can now
8488 also be done locally.
8489 (vc-diff): With a prefix argument, don't require that it's called
8490 from a buffer under version control.
8491 (diff-switches): Remove duplicate definition.
8492
8493 * vc-cvs.el (vc-cvs-diff-tree): New function.
8494
8495 2001-10-21 Miles Bader <miles@gnu.org>
8496
8497 * help-funs.el (help-manyarg-func-alist): Remove entries for
8498 `list', `vector', `make-byte-code', `call-process',
8499 `call-process-region', `string', `+', `-', `*', `/', `max', `min',
8500 `logand', `logior', and `logxor'.
8501
8502 * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
8503 image bits to compensate. Use `make-string' instead of
8504 `make-bool-vector' (XBM apparently wants byte-aligned rows).
8505
8506 2001-10-20 Kim F. Storm <storm@cua.dk>
8507
8508 * simple.el (kill-ring-save): Don't show extent of copied region
8509 if using transient-mark-mode and region is fully visible.
8510
8511 See ChangeLog.9 for earlier changes.
8512
8513 ;; Local Variables:
8514 ;; coding: iso-2022-7bit
8515 ;; End:
8516
8517 Copyright (C) 2001, 2002 Free Software Foundation, Inc.
8518 Copying and distribution of this file, with or without modification,
8519 are permitted provided the copyright notice and this notice are preserved.