1 2002-05-26 Kim F. Storm <storm@cua.dk>
3 * emulation/cua-base.el (cua--repeat-replace-text): New variable.
4 (cua-repeat-replace-region): New command.
5 (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
6 Misc improvements to the commantary.
8 2002-05-26 Simon Josefsson <jas@extundo.com>
10 * fringe.el (fringe-query-style): New fringe style "minimal".
12 2002-05-24 Simon Josefsson <jas@extundo.com>
14 * rot13.el (rot13-translate-table): New variable.
15 (rot13, rot13-string, rot13-region): New functions.
17 2002-05-25 Martin Stjernholm <bug-cc-mode@gnu.org>
19 * progmodes/cc-engine.el (c-add-stmt-syntax): Fixed some cases
20 of wrong anchoring, e.g. for else-if compounds.
22 2002-05-25 Miles Bader <miles@gnu.org>
24 * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
25 (menu-bar-showhide-fringe-menu-customize-right)
26 (menu-bar-showhide-fringe-menu-customize-disable):
27 Use proper calling convention for `customize-set-value'.
28 Require `fringe' before setting variable.
30 2002-05-25 Kim F. Storm <storm@cua.dk>
32 * emulation/cua-base.el (cua--self-insert-char-p): New function.
34 * emulation/cua-gmrk.el (cua--init-global-mark): Install default
35 binding in cua--global-mark-keymap using cua--self-insert-char-p
36 to handle all global self inserting characters in gmark mode.
38 * emulation/cua-rect.el (cua--init-rectangles): Install default
39 binding in cua--rectangle-keymap using cua--self-insert-char-p
40 to handle all global self inserting characters in rectangle mode.
42 2002-05-24 Stefan Monnier <monnier@cs.yale.edu>
44 * net/ange-ftp.el (read-file-name-internal): Remove the
46 (ange-ftp-real-read-file-name-internal): Remove.
48 2002-05-24 Glenn Morris <gmorris@ast.cam.ac.uk>
50 * progmodes/f90.el: (f90-end-of-subprogram): Remove the final
52 (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
53 (f90-previous-block-start): New navigation commands.
55 2002-05-20 Simon Josefsson <jas@extundo.com>
57 * fringe.el: New file.
59 * menu-bar.el (menu-bar-options-save): Add fringe-mode.
60 (menu-bar-showhide-fringe-menu): New menu.
61 (menu-bar-showhide-menu): Add Fringe sub-menu.
63 2002-05-23 Colin Walters <walters@verbum.org>
65 * replace.el (occur-engine): Include all text properties except
66 mouse-face on the newline at the end of occurences.
68 2002-05-23 Kim F. Storm <storm@cua.dk>
70 * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
71 (apropos-false-hit-str, apropos-true-hit-doc): New functions.
72 (apropos-command, apropos-value, apropos-documentation-internal)
73 (apropos-documentation-check-doc-file)
74 (apropos-documentation-check-elc-file): Use them to filter out
75 false matches where only one keyword matches, but more than once.
77 * apropos.el (apropos-show-scores, apropos-orig-regexp)
78 (apropos-all-regexp, apropos-synonyms, apropos-words)
79 (apropos-all-words): New variables.
80 (aprpos-words-to-regexp, apropos-rewrite-regexp)
81 (apropos-calc-scores, apropos-score-str, apropos-score-doc)
82 (apropos-score-symbol): New functions.
83 (apropos-command, apropos, apropos-value, apropos-documentation):
84 Allow keywords in addition to regexp. Added scoring.
85 (apropos-documentation-check-doc-file)
86 (apropos-documentation-check-elc-file): Added scoring.
87 (apropos-print): Sort according to score.
89 2002-05-22 Colin Walters <walters@cis.ohio-state.edu>
91 * info.el (Info-mode-hook): Change `font-lock-mode' to
94 * font-core.el (font-lock-function): New variable.
95 (font-lock-default-function): New function, created from
97 (font-lock-mode): Just funcall `font-lock-default-function'.
98 (font-lock-symbol-category-alist): New variable.
100 2002-05-22 Markus Rost <rost@math.ohio-state.edu>
102 * files.el (file-newest-backup): Use file-name-sans-versions.
104 * diff.el (diff-latest-backup-file): Replace the main code by
105 a call of file-newest-backup.
107 2002-05-22 Mike Williams <mdub@bigfoot.com>
109 * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
112 2002-05-21 Stefan Monnier <monnier@cs.yale.edu>
114 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
115 the last patch works around the wu-ftpd misfeature that prompted
116 the disabling of this optimization.
118 2002-05-21 Colin Walters <walters@gnu.org>
120 * international/mule.el (make-coding-system): Doc fixes.
122 * international/mule.el (auto-coding-functions): New variable.
123 (auto-coding-from-file-contents): Use it.
124 (set-auto-coding): Update docs.
125 (sgml-xml-auto-coding-function): New function.
127 * international/mule-util.el (truncate-string-to-width):
128 New optional argument `ellipsis'. Add commented-out test suite, and
129 change coding to iso-2022-7bit.
131 2002-05-21 Colin Walters <walters@verbum.org>
133 * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
134 (font-lock-multiline, font-lock-fontified, font-lock-mode)
135 (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
136 (font-lock-global-modes): Moved to font-core.el.
137 (font-lock-set-defaults-1): Partially moved to font-core.el.
139 * font-core.el: New file, with functions taken from font-lock.el.
140 (font-lock-category-alist): New variable.
141 (font-lock-mode): Use it.
142 (font-lock-set-defaults): Partially taken from font-lock.el.
143 Only load font-lock.el when necessary.
145 * loadup.el: Add font-core.el.
147 * replace.el (occur-mode-hook): New variable.
148 (occur-fontify-region-function): Deleted.
149 (occur-mode): Don't use it. Set up `font-lock-category-alist'
151 (occur-fontify-on-property): Deleted.
152 (occur-engine): Use categories from `font-lock-category-alist'.
154 * info.el (Info-fontify): Deleted.
155 (Info-select-node): Don't use it.
156 (Info-mode-hook): New variable.
157 (Info-mode): Set up categories.
158 (Info-fontify-menu-headers, Info-fontify-node): Use categories.
160 * ibuffer.el (ibuffer-formats): Update docs.
161 (ibuffer-category-alist): New variable.
162 (ibuffer-get-category): New function.
163 (ibuffer-compile-make-eliding-form): Use category property instead
165 (ibuffer-compile-format): Pass current ibuffer buffer to column
167 (ibuffer-buffer-name-category): New function.
168 (ibuffer-compile-format): If the current column is a `name'
169 column, figure out the appropriate category to put on it.
170 (filename-and-process): Use category property.
171 (ibuffer-fontify-region-function): Deleted.
172 (ibuffer-unfontify-region-function): Deleted.
173 (ibuffer-update-title-and-summary): Use category properties.
174 (ibuffer-insert-filter-group): Ditto.
175 (ibuffer-mode): Set up category properties.
177 2002-05-21 Colin Walters <walters@debian.org>
179 * replace.el (occur-engine): Increment globalcount all at once
180 after searching a buffer.
181 (occur-mode-map): Don't escape plain "o".
183 * ibuf-macs.el (define-ibuffer-column): Add third argument
186 * ibuffer.el (toplevel): Require font-lock, to get the face
188 (ibuffer-use-fontification): Deleted.
189 (column filename-and-process): New column.
190 (ibuffer-formats): Use it by default.
191 (ibuffer-name-map, ibuffer-mode-name-map)
192 (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
193 (ibuffer-do-save, ibuffer-do-toggle-modified)
194 (ibuffer-do-toggle-read-only, ibuffer-do-delete)
195 (ibuffer-do-kill-on-deletion-marks): Include name in definition.
196 (ibuffer): New optional argument `formats'.
198 2002-05-21 Eli Zaretskii <eliz@is.elta.co.il>
200 * indent.el (indent-rigidly): Mention how to remove all indentation.
202 2002-05-21 Colin Walters <walters@gnu.org>
204 * international/mule-diag.el (describe-char-after): Order display
205 of text properties by the size of their value, for clarity.
207 2002-05-20 Stefan Monnier <monnier@cs.yale.edu>
209 * net/ange-ftp.el (ange-ftp-generate-root-prefixes)
210 (ange-ftp-file-name-completion): Don't cons unnecessarily.
211 (ange-ftp-send-cmd): Always `cd' before doing `ls'.
213 * wid-edit.el (widget-color-complete):
214 * progmodes/etags.el (tags-complete-tags-table-file):
215 * progmodes/cpp.el (cpp-choose-symbol): Don't cons unnecessarily.
217 * textmodes/outline.el (outline-reveal-toggle-invisible):
218 Reverse the meaning of the second arg.
220 * reveal.el (reveal-post-command): Reverse the semantics of
221 reveal-toggle-invisible and support isearch-open-invisible-temporary.
223 2002-05-20 Markus Rost <rost@math.ohio-state.edu>
225 * mail/sendmail.el (mail-recover-1): Remove (debug).
226 (mail-signature): Fix :type.
227 (mail-default-directory): New user option.
228 (mail, mail-recover): Use that option.
230 2002-05-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
232 * international/mule.el (auto-coding-alist): Use emacs-mule
235 2002-05-20 Miles Bader <miles@gnu.org>
237 * files.el (find-file-read-args): Don't trash existing value of
238 `minibuffer-setup-hook', just add our hook to it.
240 2002-05-19 Markus Rost <rost@math.ohio-state.edu>
242 * international/ucs-tables.el (unify-8859-on-encoding-mode)
243 (unify-8859-on-decoding-mode): Change :version attributes to strings.
245 * simple.el (yank-excluded-properties): Change :version attribute
248 * dired.el (dired-view-command-alist): Change :version attribute
251 * xscheme.el (xscheme-start-hook): Change :version attribute to a
254 * find-dired.el (find-dired): Implement revert-buffer-function.
256 * mail/emacsbug.el (report-emacs-bug-hook): Do another save-excursion.
258 2002-05-19 Glenn Morris <gmorris@ast.cam.ac.uk>
260 * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
261 (f90-get-present-comment-type): Fix earlier change.
262 (f90-comment-indent): Doc fix.
263 (f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
264 (f90-looking-at-if-then): Remove lets.
265 (f90-looking-at-where-or-forall): Handle if split over lines.
266 (f90-change-keywords): Doc fix.
268 2002-05-19 Richard M. Stallman <rms@gnu.org>
270 * indent.el (indent-region): Make COLUMN arg optional.
272 * files.el (find-file-read-args): New function.
273 (find-file, find-file-other-window, find-file-other-frame)
274 (find-file-read-only, find-file-read-only-other-window)
275 (find-file-read-only-other-frame): Use it.
277 * custom.el (custom-load-symbol): Verify that LOADED is a string.
279 * arc-mode.el (archive-zip-use-pkzip): Variable deleted.
280 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
281 (archive-zip-update-case): Use locate-file to decide whether
283 (archive-zip-extract): Test for pkzip in value of archive-zip-extract.
285 * files.el (locate-file): Doc fix.
287 2002-05-19 John Paul Wallington <jpw@shootybangbang.com>
289 * mail/rmail.el (rmail-show-message-hook): Offer `goto-address'
292 2002-05-18 Stefan Monnier <monnier@cs.yale.edu>
294 * uniquify.el (uniquify-rationalize-file-buffer-names):
295 Always strip the trailing / even if the file is not a directory.
297 2002-05-18 Glenn Morris <gmorris@ast.cam.ac.uk>
299 * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
300 initialization in the defvar.
301 (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
302 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
303 (f90-font-lock-4): Move the doc strings.
304 (f90-menu-bar-menu): New internal variable to hold the top-level menu.
305 (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
306 (f90-mode-abbrev-table): Initialize in the defvar, with
309 2002-05-18 Eli Zaretskii <eliz@is.elta.co.il>
311 * tar-mode.el (tar-octal-time): Fix last change.
313 2002-05-18 Markus Rost <rost@math.ohio-state.edu>
315 * mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
316 (report-emacs-bug): Store the prompt in
317 `report-emacs-bug-text-prompt'. Move Configuration/Important
318 settings information after the user's report.
319 (report-emacs-bug-hook): Unclutter by deleting the content of
320 `report-emacs-bug-text-prompt'.
322 2002-05-17 Thomas Morgan <tlm@pocketmail.com>
324 * forms.el (forms-jump-record, forms-insert-record)
325 (forms-delete-record): Calculate lines from the beginning of the
326 accessible portion rather than from the beginning of the buffer.
328 2002-05-16 Eli Zaretskii <eliz@is.elta.co.il>
330 * ps-mule.el (eval-and-compile): Add a trivial replacement for a
331 possibly missing encode-char.
332 (ps-mule-font-info-database-bdf): Add associations for Unicode
334 (ps-mule-font-info-database-ps-bdf): Doc fix.
335 (ps-mule-encode-ucs2): New function for encoding Unicode characters.
337 * tar-mode.el (tar-octal-time): Fix the last argument of logior.
339 2002-05-16 Stefan Monnier <monnier@cs.yale.edu>
341 * emacs-lisp/find-func.el (find-function-search-for-symbol):
342 Find funs defined with defun-cvs-mode.
343 (find-function-space-re): New const. Skips comments as well.
344 (find-function-regexp, find-variable-regexp): Use it.
346 * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
347 (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
348 (cvs-mode-set-flags): Don't cons unnecessarily.
350 2002-05-16 Colin Walters <walters@debian.org>
352 * menu-bar.el (menu-bar-tools-menu) <calculator>: Renamed to
354 (menu-bar-tools-menu) <calc>: New.
356 2002-05-16 Juanma Barranquero <lektu@terra.es>
358 * progmodes/hideshow.el (hs-adjust-block-beginning): Fix typo.
360 * filesets.el (filesets-ormap): Fix typo.
362 * faces.el (describe-face): Fix typo.
364 2002-05-15 Stefan Monnier <monnier@cs.yale.edu>
366 * emacs-lisp/easymenu.el (easy-menu-make-symbol):
367 Don't treat (lambda () ...) as an expression.
369 2002-05-15 John Paul Wallington <jpw@shootybangbang.com>
371 * replace.el (occur-read-primary-args): Handle a bare 'C-u' correctly.
373 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il>
375 * emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
377 2002-05-14 Glenn Morris <gmorris@ast.cam.ac.uk>
379 * progmodes/fortran.el (fortran-directive-re): New name for
380 fortran-preprocessor-re. All usage updated.
381 (fortran-calculate-indent): Give directives zero indentation.
383 2002-05-14 Jason Rumney <jasonr@gnu.org>
385 * emacs-lisp/easymenu.el (easy-menu-name-match): Match both
386 displayed text and internal name as string.
388 2002-05-14 Kim F. Storm <storm@cua.dk>
390 * emulation/cua-rect.el (cua--rectangle-operation):
391 Don't highlight empty lines in rectangles.
393 * emulation/keypad.el: Improved commentary.
394 (keypad-setup, keypad-shifted-setup): Added choice to setup
395 Numeric keypad with decimal key; value is selected character.
396 (keypad-decimal-key, keypad-shifted-decimal-key): Removed options.
397 (keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
398 (keypad-setup): Arg list changed to support the new options.
400 2002-05-14 Richard M. Stallman <rms@gnu.org>
402 * dabbrev.el (dabbrev-case-distinction): New option.
403 (dabbrev--try-find): Handle dabbrev-case-distinction.
404 (dabbrev--search): Clean up the code.
405 (dabbrev-upcase-means-case-search): Doc fix.
406 (dabbrev-case-replace): Fix custom tags and docs.
408 2002-05-14 Jochen K
\e,A|
\e(Bpper <jochen@jochen-kuepper.de>
410 * calc/calc-units.el (math-standard-units): Update from CODATA.
412 2002-05-14 Stefan Monnier <monnier@cs.yale.edu>
414 * skeleton.el (skeleton-transformation): Default to `identity'.
415 (skeleton-insert): Use `move-after' markers and `insert' rather
416 than rely on insert-before-markers.
417 (skeleton-internal-1): Handle `> \n' specially so that the newline
418 is inserted before the first line is indented.
420 2002-05-14 Mike Williams <mdub@bigfoot.com>
422 * textmodes/sgml-mode.el (sgml-tag):
423 Default skeleton-transformation to `identity'.
425 2002-05-14 Francesco Potorti` <pot@gnu.org>
427 * shell.el (shell-mode): Make second part of initialisation
428 depend on whether comint-input-ring is empty, rather than depend
431 2002-05-14 Richard M. Stallman <rms@gnu.org>
433 * files.el (make-auto-save-file-name):
434 Delete the auto-save file after make-temp-file creates it.
436 2002-05-13 Kim F. Storm <storm@cua.dk>
438 * emulation/cua-base.el (cua-enable-cursor-indications): Default off.
439 (cua-mode): Print Enabled/Disabled messages if interactive.
440 Disable delete-selection-mode and pc-selection-mode when cua-mode
441 is enabled; reenable if cua-mode is turned off.
442 Remember setting of transient-mark-mode when cua-mode is enabled;
443 restore if cua-mode is disabled.
445 2002-05-13 Richard M. Stallman <rms@gnu.org>
447 * mail/emacsbug.el (report-emacs-bug): Change the "English please" msg.
449 2002-05-13 Colin Walters <walters@gnu.org>
451 * ibuf-ext.el (ibuffer-format-filter-group-data): New function.
453 * ibuffer.el (ibuffer-insert-filter-group): New argument filter-string.
454 (ibuffer-redisplay-engine): Handle it.
456 * add-log.el (add-log-mailing-address): Can be a list, too.
457 (add-change-log-entry): If `add-log-mailing-address' is a list,
460 2002-05-12 Colin Walters <walters@debian.org>
462 * replace.el (occur-1): New optional argument `buf-name'.
463 (occur-revert-function): Use it.
465 (occur-1): Handle plurals.
467 (occur-engine): If there are no more matches, then finish
468 searching the current buffer.
470 2002-05-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
472 * net/ange-ftp.el (ange-ftp-try-passive-mode)
473 (ange-ftp-passive-host-alist): Change :version attributes to be
476 2002-05-12 Markus Rost <rost@math.ohio-state.edu>
478 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Define it with
481 * emacs-lisp/find-func.el (find-function-search-for-symbol):
482 Handle more whitespace/newline combinations in symbol definitions.
484 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il>
487 * vc-cvs.el (vc-cvs-global-switches)
488 (vc-cvs-sticky-date-format-string, vc-cvs-sticky-tag-display)
489 * textmodes/sgml-mode.el (sgml-xml-mode)
490 * ruler-mode.el (ruler-mode)
491 * replace.el (query-replace-skip-read-only)
492 * progmodes/fortran.el (fortran-preprocessor-re)
493 * net/ange-ftp.el (ange-ftp-passive-host-alist)
494 * mail/sendmail.el (mail-use-dsn)
495 * faces.el (mode-line-inactive, minibuffer-prompt)
496 * add-log.el (add-log-always-start-new-record): Change all
497 post-21.1 :version attributes to 21.4.
499 2002-05-12 Richard M. Stallman <rms@gnu.org>
501 * mail/smtpmail.el (smtpmail-mail-address): New variable.
502 (smtpmail-send-it): Bind and use that instead of `mail-address'.
503 (smtpmail-via-smtp): Likewise.
505 * ansi-color.el (ansi-color-get-face): Avoid add-to-list on local var.
506 (ansi-color-apply-sequence): Avoid duplicates in combined face list.
508 * dired-aux.el (dired-show-file-type): Use -- to say FILE's not option.
510 * subr.el (functionp): Catch errors in indirect-function.
512 2002-05-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
514 * net/ldap.el (ldap-search-internal): Unfold folded lines before
517 * cus-edit.el (customize-set-value): Rename `var' to `variable'
518 and `val' to `value'.
519 (customize-save-variable): Rename `var' to `'variable.
521 2002-05-12 Glenn Morris <gmorris@ast.cam.ac.uk>
523 * progmodes/fortran.el (fortran-preprocessor-re): New variable.
524 Use it for font-locking and indentation.
525 (fortran-previous-statement, fortran-next-statement): Make them
526 skip over preprocessor lines.
527 (fortran-calculate-indent): Use fortran-preprocessor-re.
529 2002-05-10 Kim F. Storm <storm@cua.dk>
531 * emulation/cua-base.el (cua-enable-cua-keys)
532 (cua-enable-register-prefix): Added value for `other' choice.
534 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il>
536 * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
537 (menu-bar-showhide-menu): Use display-graphic-p, not window-system.
538 (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
539 Run a named function.
540 (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
541 (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
544 2002-05-10 Kim F. Storm <storm@cua.dk>
546 * emulation/cua-base.el (cua-mode): Misc. changes to use
547 emulation-mode-map-alists instead of minor-mode-map-alist.
549 2002-05-09 Richard M. Stallman <rms@gnu.org>
551 * mail/rmail.el (rmail-show-message):
552 Catch error in check-coding-system.
554 * progmodes/compile.el (compilation-error-regexp-alist):
555 New element to recognize Python error messages.
557 * shell.el (shell-replace-by-expanded-directory):
558 If there's already a / at the end, don't add one.
560 2002-05-09 Colin Walters <walters@verbum.org>
562 * ibuffer.el (ibuffer-mode-map): Add :enable guards for
563 `ibuffer-filter-disable', `ibuffer-pop-filter',
564 `ibuffer-or-filter', `ibuffer-negate-filter',
565 `ibuffer-decompose-filter', `ibuffer-save-filters',
566 `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
567 `ibuffer-save-filter-groups',
568 `ibuffer-switch-to-saved-filter-groups',
569 `ibuffer-delete-saved-filter-groups'.
571 * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
573 2002-05-09 Markus Rost <rost@math.ohio-state.edu>
575 * woman.el (woman-menu): Move symbol before the comment so that
576 find-function-search-for-symbol finds it.
578 2002-05-10 Miles Bader <miles@gnu.org>
580 * facemenu.el (list-colors-display): Don't use
581 `display-color-cells' unless the display class is one for which
582 that info is relevant.
584 2002-05-09 Simon Josefsson <jas@extundo.com>
586 * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
588 (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
591 2002-05-09 Kim F. Storm <storm@cua.dk>
593 * wid-edit.el (checkbox): New check-mark image.
595 2002-05-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
597 * filesets.el (filesets-running-xemacs): Fix last change.
599 2002-05-08 Markus Rost <rost@math.ohio-state.edu>
601 * help-fns.el (describe-function-1): If the source is
602 `loaddefs.el', look for the real source. This is necessary only
605 * emacs-lisp/find-func.el (find-function-search-for-symbol):
607 (find-function-regexp): Include
608 "\(quote " to match the defaliases in loaddefs.el.
610 * filesets.el (filesets-conditional-sort): Use copy-sequence,
612 (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
613 Defvar them to nil if running in Emacs.
615 2002-05-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
617 * textmodes/flyspell.el (make-flyspell-overlay): Add help text
618 to flyspell overlays.
620 * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
622 2002-05-08 Richard M. Stallman <rms@gnu.org>
624 * diff.el (diff-regexp-alist): Doc fix.
626 * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
628 2002-05-08 Simon Marshall <simon@gnu.org>
630 * msb.el (msb-menu-bar-update-buffers): Fixed frame menu to use
631 the frame name as the car of a menu entry, rather than the frame.
633 2002-05-08 Juanma Barranquero <lektu@terra.es>
635 * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
638 2002-05-07 Colin Walters <walters@verbum.org>
640 * replace.el (occur-unfontify-region-function): Delete.
641 (occur-mode): Don't use it.
642 (occur-engine): Respect `keep-props'.
643 (occur-accumulate-lines): If we're moving forward, decrement;
644 don't increment, and vice versa.
646 2002-05-08 Toru Tomabechi <Toru.Tomabechi@orient.unil.ch>
648 * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
649 (tibetan-canonicalize-for-unicode-regexp): New variables.
650 (tibetan-canonicalize-for-unicode-region): New function.
651 (tibetan-strict-unicode): New variable.
652 (tibetan-pre-write-canonicalize-for-unicode): New function.
654 2002-05-07 Markus Rost <rost@math.ohio-state.edu>
656 * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
657 the autoload-cookie. Remove comment.
659 * ffap.el (ffap): Don't hide it behind the autoload-cookie.
661 * rect.el (close-rectangle): Don't hide it behind the
664 2002-05-07 Juanma Barranquero <lektu@terra.es>
666 * windmove.el (windmove-default-keybindings): Add optional
667 parameter to allow using a modifier other than 'shift.
669 2002-05-07 Thomas Link <t.link@gmx.at>
672 (filesets-external-viewers): Fix customization problem.
673 (filesets-some): Replaces cl's `some'. Calls changed.
674 (filesets-member): Replaces cl's `member*'. Calls changed.
675 (filesets-ormap): New function.
677 2002-05-07 John Paul Wallington <jpw@shootybangbang.com>
679 * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
682 2002-05-07 Colin Walters <walters@gnu.org>
684 * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
685 (ibuffer-clear-filter-groups): Likewise.
686 (ibuffer-kill-filter-group): Likewise.
687 (ibuffer-kill-line): Likewise.
688 (ibuffer-read-filter-group-name): New function.
689 (ibuffer-jump-to-filter-group): Use it.
690 (ibuffer-kill-filter-group): Likewise.
691 (ibuffer-yank-filter-group): Likewise.
692 (ibuffer-decompose-filter-group): New function.
694 * ibuffer.el (ibuffer-mode-map): Bind it. Add :enable guard
695 around `ibuffer-filters-to-filter-group' menu item. Fix :enable
696 guards for `ibuffer-pop-filter-group' and
697 `ibuffer-clear-filter-groups'.
699 2002-05-06 Markus Rost <rost@math.ohio-state.edu>
701 * emacs-lisp/find-func.el (find-function-search-for-symbol):
702 Use with-syntax-table.
704 2002-05-06 Francesco Potorti` <pot@gnu.org>
706 * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
708 2002-05-05 Markus Rost <rost@math.ohio-state.edu>
710 * time-stamp.el (time-stamp-format): Doc fix: escape open
711 parenthesis in column 0.
713 2002-05-04 Richard M. Stallman <rms@gnu.org>
715 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
716 Handle both cases: when the menu item has cached info
719 * filesets.el (filesets-browse-dir-function): Renamed from ...-fn.
720 (filesets-open-file-function, filesets-save-buffer-function): Likewise.
721 (filesets-tree-max-level): Doc fix.
722 (filesets-commands, filesets-external-viewers)
723 (filesets-ingroup-patterns): Mark as risky.
724 (filesets-cache-hostname-flag): Doc fix.
725 (filesets-menu-cache-file): Doc fix. Mark as risky.
726 (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
727 Don't defcustom them if running in Emacs.
729 2002-05-04 Thomas Link <t.link@gmx.at>
731 * filesets.el (filesets-ingroup-collect-files):
732 Fix problem with inclusion groups' :scan-depth property.
734 2002-05-04 Colin Walters <walters@verbum.org>
736 * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
737 "Default" group earlier. Push killed group on
738 `ibuffer-filter-group-kill-ring'.
739 (ibuffer-kill-line): Document. Don't push killed group ourselves.
740 (ibuffer-yank-filter-group): Renamed from `ibuffer-yank'.
741 (ibuffer-insert-filter-group-before): New function, broken out
743 (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
745 * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
746 (ibuffer-mode-view-menu): Unused variables; deleted.
747 (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
749 2002-05-04 John Paul Wallington <jpw@shootybangbang.com>
751 * ibuffer.el (ibuffer-mode-groups-popup): New variable.
752 (toplevel): Bind filter group menu entries in it. Add :enable
753 forms for some menu items.
754 (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
755 to `ibuffer-mouse-popup-menu'.
756 (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
757 group name, and if so, pop up a filter group menu.
759 2002-05-04 Jason Rumney <jasonr@gnu.org>
761 * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
762 (mwheel-scroll): Recognize nil scroll amount as documented.
764 * term/w32-win.el (mouse-wheel-scroll-line)
765 (mouse-wheel-scroll-screen): Remove.
766 ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
768 * w32-vars.el: (mouse-wheel-scroll-amount): Removed.
770 2002-05-04 Markus Rost <rost@math.ohio-state.edu>
772 * emacs-lisp/find-func.el (find-function-search-for-symbol):
773 Bind case-fold-search when searching.
775 2002-05-04 Eli Zaretskii <eliz@is.elta.co.il>
777 * apropos.el (apropos-print): Fix the reference to mouse-2.
779 2002-05-04 Daniel Pfeiffer <occitan@esperanto.org>
781 * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
783 2002-05-04 Kim F. Storm <storm@cua.dk>
785 * cus-edit.el (custom-buffer-verbose-help): New variable.
786 (custom-buffer-create-internal): Remove verbose introduction
787 in customization buffer when it is nil.
789 2002-05-03 Dave Love <fx@gnu.org>
791 * international/mule-cmds.el (select-safe-coding-system):
792 Don't offer coding systems that use locking shift.
793 Ask for confirmation if chosen coding system disagrees with
794 a `coding:' spec in the file.
796 2002-05-03 John Wiegley <johnw@gnu.org>
798 * eshell/esh-var.el (eshell-modify-global-environment): Added this
799 customization variable, which will cause any "export" commands
800 within any eshell buffer to modify the global Emacs environment.
801 It defaults to nil, which means that such commands will only
802 modify that Eshell buffer's environment.
803 (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
805 * eshell/em-cmpl.el (eshell-command-completions-alist):
806 Improve default completion targets for objdump, nm and readelf.
808 2002-05-03 Colin Walters <walters@verbum.org>
810 * play/gamegrid.el (gamegrid-user-score-file-directory): New variable.
811 (gamegrid-add-score-with-update-game-score):
812 Use `shared-game-score-directory'. Correctly handle non-setuid case.
814 2002-05-02 Colin Walters <walters@verbum.org>
816 * replace.el (occur-mode-map): Bind "q" to `delete-window'.
817 (occur-1): If one of the buffers we're searching is the *Occur*
818 buffer itself, handle it by creating a temporary buffer. If any
819 of the buffers being searched are killed, note that in the search
820 result message. Also, set local variables before we possibly kill
823 2002-05-02 Kim F. Storm <storm@cua.dk>
825 * menu-bar.el (menu-bar-make-toggle): Added optional PROPS arg.
826 (menu-bar-options-save): Added cua-mode.
827 (menu-bar-options-menu): Added toggle for cua-mode.
828 Disable toggle for transient-mark-mode if cua-mode is enabled.
830 * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local
833 2002-05-01 Richard M. Stallman <rms@gnu.org>
835 * help.el (view-todo): New function.
836 (help-map): Bind C-h C-t to view-todo.
837 (help-for-help): Change the text.
839 2002-05-01 Glenn Morris <gmorris@ast.cam.ac.uk>
841 * progmodes/f90.el: Yet more doc string, commment and whitespace
843 (f90-imenu-flag): New name for internal variable f90-imenu.
844 (f90-blocks-re, f90-program-block-re, f90-end-if-re)
845 (f90-no-break-re): Use regexp-opt.
846 (f90-end-type-re): Add closing "\\>".
847 (f90-indent-region): Correctly indent comments embedded in
849 (f90-indent-new-line): Make it indent the current line, as it should.
850 (f90-line-continued, f90-get-present-comment-type)
851 (f90-looking-at-if-then, f90-indent-line, f90-indent-new-line)
852 (f90-indent-region, f90-indent-subprogram, f90-do-auto-fill)
853 (f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end)
854 (f90-change-keywords): Minor code tidying.
856 * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
857 typo `fortran-strip-sqeuence-nos'.
859 2002-05-01 Eli Zaretskii <eliz@is.elta.co.il>
861 * simple.el (clone-indirect-buffer-other-window): Fix a typo in
864 2002-05-01 Kim F. Storm <storm@cua.dk>
866 * emulation/cua-base.el (cua--pre-command-handler):
867 Only interpret delete-selection property if mark-active.
868 (cua-mode): Fixed require in defcustom.
870 2002-05-01 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
872 * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
875 2002-05-01 Colin Walters <walters@verbum.org>
877 * textmodes/tex-mode.el (tex-validate-buffer):
878 Use `occur-revert-arguments' instead of setting `occur-nlines' and
879 `occur-buffer'. Don't test for `input-pending-p' in loop.
880 Set text property `occur-target' instead of `occur'.
882 2002-04-30 John Wiegley <johnw@gnu.org>
884 * align.el (align-region): Fixed the fix to align-region, because
885 the "name" argument was appearing twice.
887 2002-05-01 Martin Stjernholm <bug-cc-mode@gnu.org>
889 * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
890 to handle protection labels, one which doesn't get confused by
893 * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
894 functions that have "class" or "struct" in the return type as
897 2002-04-30 Kim F. Storm <storm@cua.dk>
899 * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
900 Options" to "New Options..."; rephrase tooltip.
901 Rephrase tooltip for "Specific Option...".
902 Added "Saved Options" item. [from Simon Marshall]
904 2002-04-30 Richard M. Stallman <rms@gnu.org>
906 * time.el (display-time-mail-directory)
907 (display-time-mail-function): Doc fixes.
909 * ediff-hook.el: Remove autoload cookies.
911 * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
913 * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
915 * align.el (align-region): Fix call to `message'.
916 Check that (car rule) is a symbol.
918 * autoinsert.el (auto-insert-directory): Doc fix.
920 * facemenu.el (describe-text-at and stuff): Moved to descr-text.el.
922 * descr-text.el: New file, broken out of facemenu.el.
924 * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
926 2002-04-29 Markus Rost <rost@math.ohio-state.edu>
928 * mail/emacsbug.el (report-emacs-bug-hook):
929 Use replace-match only if search was successful.
931 2002-04-29 Richard M. Stallman <rms@gnu.org>
933 * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
935 * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
936 if the user edits the Emacs version number in the text.
938 * filesets.el (filesets-running-xemacs): Make defvar unconditional.
939 (filesets-ingroup-files): Renamed from filesets-ingroup-paths.
940 (filesets-error): Simplify definition and make conditional
941 on filesets-running-xemacs.
942 (filesets-find-file-using): Renamed from fsfind-file-using.
944 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
946 * info.el (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
947 (Info-read-node-name-1): Complete file names.
948 (Info-complete-menu-item): Don't cons unnecessarily.
950 * files.el (locate-file): New fun.
951 (locate-file-completion): Rename from load-completion and generalize.
952 (load-library): Use it.
953 (make-auto-save-file-name): Expand caddr.
955 * newcomment.el (comment-fill-column): New var.
956 (comment-indent): Use it.
957 (comment-or-uncomment-region): New fun.
958 (comment-dwim): Use it.
960 2002-04-29 Colin Walters <walters@verbum.org>
962 * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
963 (ibuffer-kill-line): Copy the filter group data structure when killing.
964 (ibuffer-yank): Handle case where we're yanking on the default
966 (ibuffer-delete-saved-filter-groups): Doc fix.
968 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
969 Test whether or not update-game-score is setuid, and do the right
972 2002-04-29 Kim F. Storm <storm@cua.dk>
974 * subr.el (remove-yank-excluded-properties): New helper function.
975 (insert-for-yank, insert-buffer-substring-as-yank): Use it.
977 * simple.el (yank-excluded-properties): Added help-echo to list.
979 2002-04-29 Glenn Morris <gmorris@ast.cam.ac.uk>
981 * autoinsert.el (auto-insert-directory): Doc fix.
983 * progmodes/f90.el: Add/change doc strings for many inline
984 functions. Whitespace changes.
985 (f90-indent-line-no, f90-update-line): Minor code changes.
987 2002-04-29 Kim F. Storm <storm@cua.dk>
989 * emulation/cua-base.el: New file.
991 * emulation/cua-rect.el: New file.
993 * emulation/cua-gmrk.el: New file.
995 * emulation/keypad.el: New file.
997 2002-04-29 Triet Hoai Lai <thlai@ee.usyd.edu.au>
999 * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
1000 (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn):
1001 New Vietnamese coding system.
1003 * language/viet-util.el: Update Commentary section.
1005 2002-04-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
1007 * filesets.el (filesets-data): Doc fix.
1008 (filesets-running-xemacs): Define even when compiling.
1010 * recentf.el (recentf-cancel-dialog): Remove dot at the end of
1013 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
1015 * textmodes/fill.el (fill-context-prefix): Fix last change with
1016 yet-another-approach.
1018 2002-04-28 Markus Rost <rost@math.ohio-state.edu>
1020 * net/ange-ftp.el (ange-ftp-passive-host-alist)
1021 (ange-ftp-bs2000-additional-pubsets): Fix custom type.
1023 * files.el (small-temporary-file-directory): Fix custom type.
1025 2002-04-28 Glenn Morris <gmorris@ast.cam.ac.uk>
1027 * progmodes/f90.el (f90-xemacs-flag): New variable.
1028 (f90-mark-subprogram-overlay): New variable.
1029 (f90-mark-subprogram): Now it highlights the subprogram.
1030 (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
1031 Fix highlighting of various "type" forms.
1033 2002-04-28 Colin Walters <walters@verbum.org>
1035 * ibuffer.el (ibuffer-mode): Additional documentation on filter
1038 2002-04-28 John Paul Wallington <jpw@shootybangbang.com>
1040 * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
1041 ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
1043 2002-04-28 Richard M. Stallman <rms@gnu.org>
1045 * mail/sendmail.el (mail-recover-1): Decrease non-random-len
1046 by 1 for the newly-readded #.
1048 * files.el (make-auto-save-file-name): Specify # as suffix
1049 in the non-file-visiting case.
1051 * subr.el (make-temp-file): New arg SUFFIX.
1053 * filesets.el: New file.
1055 * replace.el (occur-accumulate-lines): Avoid incf and decf.
1056 (occur-engine-add-prefix): New function.
1057 (occur-engine): Avoid using macrolet, incf and decf.
1058 Use occur-engine-add-prefix instead.
1059 Rename `l' to `lines' and `c' to `matches'.
1061 * replace.el (occur-engine, occur-mode-mouse-goto)
1062 (occur-mode-find-occurrence, occur-mode-goto-occurrence)
1063 (occur-mode-goto-occurrence-other-window)
1064 (occur-mode-display-occurrence): A position is just a marker,
1067 * replace.el (occur-revert-arguments):
1068 Renamed from occur-revert-properties. All uses changed.
1070 2002-04-28 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
1072 * recentf.el (recentf-menu-before): Use string to specify path in
1075 * international/mule-cmds.el (read-language-name): Take care of
1078 2002-04-27 Richard M. Stallman <rms@gnu.org>
1080 * custom.el (custom-load-symbol): Moved from cus-edit.el.
1081 (custom-load-recursion): Likewise.
1083 * cus-edit.el (custom-load-symbol): Moved to custom.el.
1084 (custom-load-recursion): Likewise.
1086 * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
1087 generated by easymenu are now lowercase.
1089 2002-04-27 Richard M. Stallman <rms@gnu.org>
1091 * menu-bar.el (menu-bar-update-buffers): Add menu items
1092 Next Buffer and Previous Buffer.
1094 * simple.el (next-buffer, prev-buffer): New commands.
1095 Bind C-x left and C-x right to them.
1097 * info.el (Info-header-line): Mark it as risky-local-variable.
1099 * subr.el (insert-for-yank): Replace `category' property
1100 with whatever properties it stands for.
1102 * subr.el (member-ignore-case): Ignore non-strings in LIST.
1104 2002-04-27 Miles Bader <miles@gnu.org>
1106 * faces.el (read-face-name): Format the prompt correctly when
1109 2002-04-26 Andrew Choi <akochoi@shaw.ca>
1111 * term/mac-win.el: Don't call ediff-toggle-multiframe.
1112 Set default directory. Set process-connection-type to nil.
1114 2002-04-26 Richard M. Stallman <rms@gnu.org>
1116 * loadup.el: Explicitly load cus-face and timer.
1118 * isearch.el: Don't require timer.
1120 * faces.el: Don't require cus-face.
1122 * cus-edit.el (customize-face): Use read-face-name
1123 and handle multiple faces.
1124 (customize-face-other-window): Make it work similarly.
1126 * faces.el (read-face-name): New defaulting features.
1127 New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
1128 (list-faces-display): Use the face, not its name string,
1129 as arg when running customize-face.
1130 Put a `read-face-name' prop on the entire line.
1131 (describe-face): Handle multiple faces via read-face-name.
1133 * textmodes/tex-mode.el (tex-start-options): New variable.
1134 (tex-start-commands): New variable.
1135 (tex-start-options-string): Variable deleted.
1136 (tex-start-tex): Use tex-start-options and tex-start-commands,
1137 not tex-start-options-string.
1138 (tex-command): Doc fix.
1140 2002-04-26 Sam Steingold <sds@gnu.org>
1142 * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
1143 not in the authinfo/netrc, keep `cred' at nil.
1145 2002-04-26 Gerd Moellmann <gerd@gnu.org>
1147 * find-file.el: Remove Ada-specific example code.
1149 2002-04-25 Michael Kifer <kifer@cs.stonybrook.edu>
1151 * ediff-hooks.el: Put back the autoloads.
1153 2002-04-25 Colin Walters <walters@verbum.org>
1155 * ibuffer.el (define column process): Use `ibuffer-aif'.
1157 * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
1159 (ibuffer-yank): Be sure to `setq' after we use `nconc'.
1160 (ibuffer-save-filter-groups): Correctly structure filter groups.
1161 (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
1164 2002-04-25 Simon Josefsson <jas@extundo.com>
1166 * mail/sendmail.el (mail-use-dsn): New variable to request
1167 delivery status notification from MTA.
1168 (sendmail-send-it): Use it.
1170 * mail/smtpmail.el (smtpmail-queue-counter): New variable.
1171 (smtpmail-send-it): Use it to construct new queue filenames
1172 (needed if you send more than one message per second, which is
1173 possible if you use Gnus Agent).
1175 * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
1177 (smtpmail-try-auth-methods): Support netrc data.
1178 (netrc-parse): Autoload netrc.
1180 2002-04-25 Colin Walters <walters@verbum.org>
1182 * replace.el (multi-occur-by-filename-regexp): Doc fix.
1183 (occur-engine): Go to `point-min'. Make nlines argument actually
1184 mean number of context lines. Handle it. Pad digits to the right.
1186 * ibuf-ext.el (ibuffer-filtering-groups): Renamed to
1187 `ibuffer-filter-groups'. All users updated.
1188 (ibuffer-show-empty-filter-groups): New variable.
1189 (ibuffer-saved-filter-groups): New variable.
1190 (ibuffer-maybe-save-stuff): Renamed from
1191 `ibuffer-maybe-save-saved-filters'. Callers updated.
1192 Handle `ibuffer-saved-filter-groups'.
1193 (ibuffer-hidden-filtering-groups): Renamed to
1194 `ibuffer-hidden-filter-groups'.
1195 (ibuffer-filter-group-kill-ring): New variable.
1196 (ibuffer-save-with-custom): Doc fix.
1197 (ibuffer-set-filter-groups-by-mode): New function.
1198 (ibuffer-clear-filter-groups): New function.
1199 (ibuffer-current-filter-groups-with-position): Renamed from
1200 `ibuffer-current-filter-groups'. Callers updated.
1201 (ibuffer-kill-filter-group): New function.
1202 (ibuffer-kill-line): New function.
1203 (ibuffer-yank): New function.
1204 (ibuffer-save-filter-groups): New function.
1205 (ibuffer-delete-saved-filter-groups): New function.
1206 (ibuffer-switch-to-saved-filter-groups): New function.
1207 (ibuffer-mark-on-buffer): Add optional arguments for adding a
1208 specific mark, and marking on a specific group.
1210 * ibuffer.el (ibuffer-formats): Doc fix.
1211 (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
1212 Bind new functions from ibuf-ext.el. Add menu entries for them.
1213 Remove superfluous tooltips.
1214 (ibuffer-toggle-marks): If on a group name, then toggle marks just
1216 (ibuffer-mark-interactive): Handle filter groups.
1217 (ibuffer-mark-forward, ibuffer-unmark-forward)
1218 (ibuffer-mark-for-delete, ibuffer-unmark-backward)
1219 (ibuffer-mark-for-delete-backwards): Update docs.
1220 (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
1221 to `ibuffer-current-filter-groups-with-position'.
1222 (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
1223 (ibuffer-mode): Add some documentation about filter groups.
1225 2002-04-25 Andreas Schwab <schwab@suse.de>
1227 * find-dired.el (find-name-dired): Don't quote pattern twice.
1229 2002-04-26 Miles Bader <miles@gnu.org>
1231 * cus-edit.el (customize-face, customize-face-other-window):
1232 Use default instead of initial-input for suggested face.
1234 2002-04-25 Gerd Moellmann <gerd@gnu.org>
1236 * cus-edit.el (customize-face-other-window, customize-face):
1237 Interactively, when point is on text with a face, suggest to
1238 customize that face.
1240 2002-04-25 Glenn Morris <gmorris@ast.cam.ac.uk>
1242 * progmodes/f90.el: General tidy-up of commentary and some doc
1245 2002-04-24 Glenn Morris <gmorris@ast.cam.ac.uk>
1247 * scroll-all.el (scroll-all-function-all) New function to do the
1249 (scroll-all-scroll-down-all, scroll-all-scroll-up-all,
1250 scroll-all-page-down-all, scroll-all-page-up-all,
1251 scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
1252 Make them use scroll-all-function-all.
1254 * progmodes/f90.el (f90-get-beg-of-line): Removed and replaced
1255 with line-beginning-position.
1256 (f90-get-end-of-line): Removed and replaced with line-end-position.
1257 (f90-match-piece): Removed and replaced with match-string.
1258 (f90-current-indentation): Remove `current-column'.
1259 (f90-get-present-comment-type): Use match-string rather than
1261 (f90-match-end): Use line-beginning-position, line-end-position
1262 rather than beginning-of-line, end-of-line.
1263 (f90-startup-message): Variable removed.
1265 2002-04-24 Colin Walters <walters@verbum.org>
1267 * replace.el (occur-accumulate-lines): Add optional argument
1268 `no-props'. Handle it.
1269 (occur-engine): Use it.
1271 * ibuf-ext.el (toplevel): Remove byte-compile-dynamic. Try to set
1272 up autoloads manually.
1273 (ibuffer-split-list): New function.
1274 (ibuffer-filtering-groups): New variable.
1275 (ibuffer-hidden-filtering-groups): New variable.
1276 (ibuffer-mouse-toggle-filter-group): New function.
1277 (ibuffer-toggle-filter-group): New function.
1278 (ibuffer-toggle-filter-group-1): New function.
1279 (ibuffer-forward-filter-group): New function.
1280 (ibuffer-backward-filter-group): New funtion.
1281 (ibuffer-generate-filter-groups): New function.
1282 (ibuffer-filters-to-filter-group): New function.
1283 (ibuffer-pop-filter-group): New function.
1284 (ibuffer-jump-to-filter-group): New function.
1285 (ibuffer-do-occur): Just use `occur-read-primary-args'
1287 * ibuffer.el (ibuffer-filter-group-name-face): New.
1288 (ibuffer-mode-map): Bind and add menu entries for most new
1289 functions; also, bind the arrow keys to the movement functions.
1290 (ibuffer-mode-filter-group-map): New.
1291 (ibuffer-mouse-toggle-mark): Handle group names.
1292 (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
1293 (ibuffer-skip-properties): New function.
1294 (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
1295 group names. Also, handle new properties.
1296 (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
1297 Move error handling to `ibuffer-current-buffer'.
1298 (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
1299 (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
1300 (ibuffer-toggle-marks): Add optional group argument.
1301 (ibuffer-mark-interactive): Skip group names.
1302 (ibuffer-current-buffer): Clean up error handling.
1303 (ibuffer-fontify-region-function): Fontify group names.
1304 (ibuffer-map-lines): Add extra group argument. Handle it.
1305 (ibuffer-current-filter-groups): New function.
1306 (ibuffer-redisplay): Handle hidden filtering groups.
1307 (ibuffer-sort-bufferlist): New function, taken from
1308 `ibuffer-insert-buffers-and-marks'.
1309 (ibuffer-insert-filter-group): New function.
1310 (ibuffer-redisplay-engine): Renamed from
1311 `ibuffer-insert-buffers-and-marks'. Handle new filtering groups.
1312 (ibuffer): Add filter-groups argument. Handle it.
1313 Use `save-selected-window'.
1314 (ibuffer-mode): Make `ibuffer-filtering-groups' and
1315 `ibuffer-hidden-filtering-groups' buffer-local.
1317 * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
1319 2002-04-24 Richard M. Stallman <rms@gnu.org>
1321 * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
1322 (easy-menu-define-key-intern): Function deleted; callers intern
1323 and then call easy-menu-define-key.
1324 (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
1325 (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
1326 (easy-menu-name-match): New function.
1327 (add-submenu): New function.
1328 (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
1330 2002-04-24 Eli Zaretskii <eliz@is.elta.co.il>
1332 * menu-bar.el (menu-bar-adv-search-menu)
1333 (menu-bar-adv-search-menu): Improve the help text.
1335 2002-04-24 Simon Josefsson <jas@extundo.com>
1337 * net/netrc.el: New file.
1339 2002-04-24 Thomas DeWeese <tdeweese@rochester.rr.com>
1341 * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
1342 Check if any of the available selection sources has new content
1343 and if so it will return that content.
1345 2002-04-24 Miles Bader <miles@gnu.org>
1347 * menu-bar.el (buffers-menu-show-directories)
1348 (buffers-menu-show-status): New variables.
1349 (menu-bar-update-buffers-1): Use them.
1351 2002-04-24 Martin Stjernholm <mast@lysator.liu.se>
1353 * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
1354 from `c-do-auto-fill' and point is at or near the limit of the
1355 comment. Fixed bug when the prefix from `c-guess-fill-prefix'
1356 is longer than the text on the first line of the comment when
1359 2002-04-24 Miles Bader <miles@gnu.org>
1361 * menu-bar.el (menu-bar-update-buffers-1): Make sure
1362 `uniquify-buffer-name-style' is bound.
1364 2002-04-23 Colin Walters <walters@verbum.org>
1366 * replace.el (toplevel): Require `cl' while compiling.
1367 (occur-buffer, occur-nlines): Delete.
1368 (occur-revert-properties): Rename to `occur-revert-properties'.
1369 (occur-mode): Handle it. Set up font lock.
1370 (occur-revert-function): Simply apply `occur-1'.
1371 (occur-mode-find-occurence, occur-mode-mouse-goto)
1372 (occur-mode-goto-occurrence-other-window)
1373 (occur-mode-display-occurrence): Handle buffer property.
1374 (list-matching-lines-face): Use defcustom.
1375 (list-matching-lines-buffer-name-face): New variable.
1376 (occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
1378 (occur-read-primary-args): Move out of `occur'.
1379 (occur): Delete. Now simply call `occur-1'.
1380 (multi-occur, multi-occur-by-filename-regexp): New functions.
1381 (occur-1): New function.
1382 (occur-engine): Renamed from `ibuffer-occur-engine' to replace the
1383 previous implementation of `occur'; taken from ibuf-ext.el.
1384 (occur-fontify-on-property): New function.
1385 (occur-fontify-region-function, occur-unfontify-region-function):
1388 * ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
1390 * ibuf-ext.el (ibuffer-depropertize-string): Delete.
1391 (ibuffer-occur-match-face): Delete.
1392 (ibuffer-occur-props, ibuffer-occur-mode): Delete.
1393 (ibuffer-occur-mouse-display-occurence): Delete.
1394 (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
1395 (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
1396 (ibuffer-occur-engine): Moved to replace.el.
1397 (ibuffer-do-occur): Simply call `occur-1'.
1399 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1400 Handle the case where we're already viewing the score file.
1402 2002-04-23 Andreas Schwab <schwab@suse.de>
1404 * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
1407 2002-04-23 Miles Bader <miles@gnu.org>
1409 * menu-bar.el (menu-bar-update-buffers-1): Don't display a
1410 directory separator if there's no directory. Don't display
1411 directories at all if uniquify is active. Some code cleanup.
1412 (uniquify-buffer-name-style): Declare (but don't initialize).
1414 * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
1415 for command menu entries, since the low-level menu code modifies
1416 them. Cache the resulting list.
1417 (menu-bar-buffers-menu-command-entries): New variable.
1419 * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
1420 Add separator line before commands
1421 Remove old crufty code that tried to line things up by adding
1422 spaces to entries (it doesn't work).
1423 Move `Frames' submenu after the normal buffers, and add a
1424 separator line before it.
1425 (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
1427 2002-04-22 Richard M. Stallman <rms@gnu.org>
1429 * files.el (after-find-file): Use %s to output MSG.
1431 * dired.el (dired-mouse-find-file-other-window):
1432 Handle events that move out of the window.
1434 2002-04-23 Martin Stjernholm <mast@lysator.liu.se>
1436 * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
1437 was moved to the following line when it was at the first line
1438 of a block comment where comment-start-skip matched to eol.
1440 2002-04-22 Richard M. Stallman <rms@gnu.org>
1442 * simple.el (line-move-finish): Find beg and end of line
1443 before calling line-move-to-column. Do consider intangible
1444 when finding the end. Take more care in analyzing the results
1445 of intangibility after line-move-to-column.
1447 2002-04-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
1449 * international/mule-diag.el (list-input-methods-1): Doc fix
1450 (LEIM is now part of the standard distribution).
1452 * tmm.el (tmm-completion-prompt): Doc fix.
1454 * hilit-chg.el (global-highlight-changes): Capitalize status texts.
1456 2002-04-22 Edward M. Reingold <reingold@emr.cs.iit.edu>
1458 * diary-lib.el (include-other-diary-files): Allow modifying
1459 included buffer, to turn off selective display.
1461 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1463 * progmodes/cc-mode.el: (c-define-abbrev-table): New function to
1464 pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
1465 emacsen that doesn't support it.
1467 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1469 * progmodes/cc-align.el, progmodes/cc-engine.el,
1470 progmodes/cc-styles.el, progmodes/cc-vars.el
1471 (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
1472 Find correct anchor for statement-cont in top level constructs.
1473 Analyze variable initializations in top level constructs as
1474 topmost-intro-cont instead of statement-cont. That is an
1475 incompatible change but it gives better consistency. The new
1476 lineup function c-lineup-topmost-intro-cont' compensates for
1477 it and is now put on topmost-intro-cont by default.
1479 * progmodes/cc-align.el, progmodes/cc-engine.el,
1480 progmodes/cc-langs.el (c-lineup-argcont): Lineup function
1481 contributed by Kevin Ryde.
1483 (c-in-gcc-asm-p): Function to recognize asm statements.
1484 Contributed by Kevin Ryde.
1486 (c-opt-asm-stmt-key): New language variable to recognize the
1487 beginning of asm statements.
1489 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1491 * progmodes/cc-engine.el (c-guess-basic-syntax):
1492 Detect variable declarations after class and struct declarations
1493 correctly. Fixed limit error when finding the anchor for
1494 template-args-cont and topmost-intro-cont.
1496 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1498 * progmodes/cc-cmds.el (c-beginning-of-defun)
1499 (c-declaration-limits): Find the "line oriented" declaration
1500 start too, just like the "line oriented" end is found.
1502 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1504 * progmodes/cc-vars.el (c-offsets-alist): A more sane default
1505 for `inexpr-statement'. This is not compatible, though.
1506 I think the benefit of a good default style outweights that in
1507 this case. Besides, `inexpr-statement' is not very common.
1509 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1511 * progmodes/cc-cmds.el (c-electric-delete-forward):
1512 Fix silly bug that caused it to delete backwards in hungry delete
1513 mode. (It's amazing that this bug hasn't been reported.)
1515 * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
1516 Extracted the code to get the declaration limits from
1517 `c-mark-function' to a new `c-declaration-limits'.
1519 (c-indent-defun): Use the same method to get the limits of the
1520 declaration or macro as `c-mark-function'.
1522 * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
1523 list initializers correctly (but costly; it ought to be
1524 integrated into `c-beginning-of-statement-1').
1526 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1528 * progmodes/cc-cmds.el, progmodes/cc-engine.el
1529 (c-beginning-of-defun, c-end-of-defun, c-mark-function):
1530 Rewritten to detect the declaration limits better.
1531 Now handles K&R argdecls, class definitions followed by variables etc.
1533 (c-in-knr-argdecl): Broke out the K&R argdecl test in
1534 `c-beginning-of-decl-1' to this new function.
1536 (c-end-of-statement-1, c-end-of-decl-1):
1537 Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
1538 handles declarations that continue after the block.
1540 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
1541 Added an option to restrict matching to the top level of the
1544 * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
1545 New regexp to recognize declarations that continue after the block.
1547 (c-syntactic-eol): New regexp to match a "syntactic" eol.
1549 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1551 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
1552 that often caused the backward limit to be lost at the top
1553 level. This improves performance a bit.
1555 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
1556 New function that works like `re-search-forward' but only returns
1557 matches in syntactically significant text.
1559 * progmodes/cc-engine.el: Fixed a faster and more accurate way
1560 to recognize K&R argdecls.
1562 (c-beginning-of-decl-1): New function that put point at the
1563 beginning of the declaration. It handles K&R argdecl blocks.
1565 (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
1566 code with one that doesn't depend on the current indentation.
1567 The anchor position for `knr-argdecl' has also changed, but in
1568 a way that is unlikely to cause compatibility problems.
1570 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1572 * progmodes/cc-defs.el, progmodes/cc-engine.el
1573 (c-forward-comment): `forward-comment' in XEmacs skips over
1574 line continuations in the backward direction. Correct for
1575 that. Also made this a defun since it has grown too large now
1578 * progmodes/cc-langs.el: More convenient and decentralized
1579 setup of the language specific variables. The regexp-opt
1580 mangling is also done at compile time now.
1582 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1584 * progmodes/cc-cmds.el (c-indent-line-or-region):
1585 Call `c-indent-line' directly instead of through
1586 `indent-according-to-mode' so that this function always
1587 indents syntactically.
1589 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
1590 where a class beginning with a nested class could cause an
1591 infinite loop (the state outside the narrowed out class is
1594 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1596 * progmodes/cc-align.el, progmodes/cc-cmds.el,
1597 progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
1598 the context sensitive analysis inside macros is restricted to
1599 the bodies of #define's; other things, like #if expressions,
1600 never have anything in common with their surroundings.
1601 The old `cpp-macro-cont' syntax is now used in situations where
1602 the syntactic analysis isn't applicable, and a new syntactic
1603 element `cpp-define-intro' is used to add indentation in
1606 (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
1607 better reflect its use.
1609 * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
1610 continuation backslashes in the detection of `arglist-cont-nonempty'.
1612 * progmodes/cc-align.el: Use the vector form in the return
1613 value in all cases where lineup functions return absolute columns.
1615 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1617 * progmodes/cc-engine.el (c-add-stmt-syntax)
1618 (c-guess-basic-syntax): Anchor `brace-list-intro' and
1619 `bracec-list-close' better for brace lists nested inside expressions.
1621 * progmodes/cc-engine.el, progmodes/cc-langs.el,
1622 progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
1623 various language specific variables and their initialization.
1624 The keyword regexps are now lists that are combined with
1625 regexp-opt. Some variables have changed names to fit better
1626 with the naming convention.
1628 * progmodes/cc-defs.el, progmodes/cc-vars.el
1629 (c-buffer-is-cc-mode): The value is the mode symbol of the
1630 original CC Mode mode.
1632 (c-major-mode-is): Compare against the buffer local variable
1633 `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
1635 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1637 * progmodes/cc-engine.el (c-forward-syntactic-ws)
1638 (c-backward-syntactic-ws, c-forward-token-1)
1639 (c-backward-token-1, c-in-literal, c-literal-limits)
1640 (c-collect-line-comments, c-literal-type, c-on-identifier)
1641 (c-guess-basic-syntax): These functions are now considered part
1642 of the "CC Mode API" and may be used by other code.
1643 That's signified by making their documentation into docstrings.
1645 (c-whack-state, c-hack-state, c-skip-case-statement-forward):
1646 Removed these internal functions since they aren't used.
1648 (c-forward-to-cpp-expression): Classified this function as internal.
1650 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1652 * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
1653 Simplified these regexps; the class keywords they contain
1654 ought to be enough to avoid false matches, so checking for
1655 following identifiers etc is just unnecessary (and might also
1656 fail for oddly formatted code).
1658 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1660 * progmodes/cc-engine.el, progmodes/cc-cmds.el
1661 (c-forward-comment-lc): New function that behaves like
1662 `c-forward-comment', with the exception that line
1663 continuations are treated as whitespace.
1665 (c-beginning-of-statement): Use `c-forward-comment-lc', to
1666 work correctly in macros and other places where line
1667 continuations should be treated as whitespace.
1669 * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
1670 normal label in a switch block as a case label, to get
1671 consistent lineup with the case labels.
1673 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
1674 in skipping over a macro that ends with an empty line.
1676 * progmodes/cc-styles.el: Require cc-align since styles added
1677 with `c-add-style' often contains references to functions
1678 defined there, and so the `c-valid-offset' check might
1679 otherwise complain on them.
1681 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1683 * progmodes/cc-align.el, progmodes/cc-mode.texi,
1684 progmodes/cc-vars.el: Added two new lineup functions:
1686 (c-lineup-knr-region-comment): A new lineup function to get
1687 (what most people think is) better indentation of comments in
1688 the "K&R region" between the function header and its body.
1690 (c-lineup-gcc-asm-reg): New lineup function for better
1691 indentation inside gcc asm blocks. Contributed by Kevin Ryde.
1693 (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
1694 `c-lineup-knr-region-comment' in the default offset
1695 configuration, since these two functions have little impact
1696 outside their intended use, and they generally do the right
1697 thing when they kick in.
1699 * progmodes/cc-engine.el (c-guess-continued-construct)
1700 (c-guess-basic-syntax): Handle nested functions in all
1701 languages, not just Pike. In C and C++ there's a gcc
1702 extension for this, and it also gives better treatment of
1703 macros that are followed by blocks.
1705 * progmodes/cc-langs.el (c-symbol-key): Made this variable
1706 mode specific, to handle Pike special symbols like `== better.
1708 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1710 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
1711 progmodes/cc-vars.el (c-report-syntactic-errors): A new
1712 variable to control the syntactic error messages. It defaults
1713 to off; since CC Mode ignores most syntactic errors it might
1714 as well ignore them all for the sake of consistency.
1716 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1718 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
1719 Optimization. Can give a noticeable speedup if there's a
1720 large preceding function or class body.
1722 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1724 * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
1725 efficient and correct insertion functions in many places.
1726 Always inherit text properties correctly if the text is
1727 permanent. Also do it for speed in temporary insertions,
1728 since I figure it's less work to continue the surrounding text
1729 properties than to break them.
1731 * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
1732 completion to make it easier to enter lists.
1734 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1736 * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
1737 c-state-cache was clobbered.
1739 * progmodes/cc-cmds.el, progmodes/cc-engine.el
1740 (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
1743 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1745 * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
1746 open parens in macros (if point isn't in the same one).
1748 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1750 * progmodes/cc-cmds.el (c-context-open-line): New function
1751 that is the `open-line' equivalent to `c-context-line-break'.
1753 * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
1754 for Emacs 21 since `indent-new-comment-line' has been changed
1755 to `comment-indent-new-line' there.
1757 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1759 * progmodes/cc-engine.el, progmodes/cc-langs.el
1760 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
1761 New variables containing the character sets used to recognize
1762 statement/declaration boundaries. These variables might help
1763 to support languages like javascript and awk, where newlines
1764 sometimes delimits statements.
1766 (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
1767 the set of statement delimiting characters, to allow it to be
1768 changed dynamically and per-mode.
1770 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1772 * progmodes/cc-engine.el (c-looking-at-bos)
1773 (c-looking-at-inexpr-block, c-add-stmt-syntax)
1774 (c-guess-basic-syntax): Treat blocks directly inside function
1775 calls like "bare" statements inside function calls, and not
1776 like in-expression statements. This to make indentation of
1777 such blocks consistent with other statements inside macro calls.
1779 * progmodes/cc-engine.el (c-guess-basic-syntax):
1780 Made arglist-cont anchor correctly in arglists that contain statements.
1782 * progmodes/cc-engine.el (c-guess-basic-syntax):
1783 Fixed consistent anchoring of defun-block-intro in defuns in code
1784 blocks (can only occur in Pike).
1786 * progmodes/cc-engine.el (c-looking-at-inexpr-block)
1787 (c-looking-at-inexpr-block-backward): Changed the arguments to
1788 require containing sexps and paren state, for better efficiency.
1790 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1792 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
1793 progmodes/cc-vars.el: Improved anchoring of statement and
1794 handling of labels in front of substatements.
1796 (c-guess-continued-construct, c-guess-basic-syntax):
1797 Improved and unified anchoring at statements. Statements beginning
1798 with comments or labels are now avoided, by going out of
1799 blocks and containing statements if necessary. This nesting
1800 handling also fixes the case when there's a statement after a
1801 block open brace. Added the syntactic symbol `substatement-label'.
1803 (c-electric-colon): Map the new `substatement-label' to
1804 `label' when consulting `c-hanging-colons-alist'.
1806 (c-offsets-alist): Added substatement-label. Updated the
1807 comments for the new anchoring positions at statements.
1809 * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
1810 anchor points for knr-argdecl-intro and access-label.
1811 They used to refer to some point on the same line, a bug which was
1812 neutralized by a kludge in `c-get-syntactic-indentation' which
1813 ignored such anchor points.
1815 (c-get-syntactic-indentation): Removed the kludge that was
1816 necessary due to buggy anchor points.
1818 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
1819 the absence of a comma before arglist-close (case 7A) in any
1820 language, since there's nothing better to do that case anyway.
1821 Added special case to make in-expression statements be
1822 recognized as normal arglist-cont if we're directly in a macro
1823 arglist, for consistency with other "bare" statements.
1825 * progmodes/cc-engine.el (c-looking-at-bos): Added optional
1826 limit arg for backward searches.
1828 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
1829 Anchor gcc in-expression statements at the surrounding open
1830 parenthesis. Treat a class body as an in-expression class if
1831 it's used in an object clone expression in Pike.
1833 * progmodes/cc-engine.el (c-get-offset)
1834 (c-get-syntactic-indentation): Allow several anchor positions
1835 in the list of syntactic symbols. Only the first is used as
1836 the base for the offset calculation.
1838 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1840 * progmodes/cc-cmds.el (c-indent-defun): Indent the current
1841 macro if inside one at the top level. Do not throw an error
1842 if used at the top level outside a macro.
1844 * progmodes/cc-cmds.el (c-backslash-region): Do tab width
1845 alignment only if the backslashes can't be aligned with
1846 surrounding backslashes.
1848 * progmodes/cc-engine.el (c-end-of-macro): New function.
1850 * progmodes/cc-engine.el (c-least-enclosing-brace):
1851 Rewritten to not be destructive.
1853 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1855 * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
1856 line break when point is inside the content of it; if it's in
1857 the cpp keyword a normal line break is done.
1859 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
1860 cpp-macro-cont inside the argument list to a #define.
1862 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1864 * progmodes/cc-defs.el (c-forward-comment): Implemented a
1865 kludge to avoid the problem most forward-comment incarnations
1866 have with `\' together with comment parsing.
1868 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1870 * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
1871 which could cause the state returned by `c-parse-state' to
1872 lack a closed paren element. That in turn could result in
1873 very long searches, since it's common that they start from the
1874 last preceding close brace.
1876 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1878 * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
1879 treat else-if as a single continuation, since that'd make it
1880 hard to get the right anchor point when there's a line break
1881 between the two keywords. This change causes else-clause to
1882 be anchored on the closest preceding else-if and not always on
1883 the starting if, but that doesn't affect the indentation for
1884 any reasonably sane style. Also introduced a noerror flag.
1886 (c-beginning-of-closest-statement): Removed;
1887 c-beginning-of-statement-1 now avoids the problem this one solved.
1889 * progmodes/cc-engine.el (c-guess-continued-construct)
1890 (c-guess-basic-syntax): Better and more uniform anchor points
1891 for 'statement-cont and 'substatement. The effect is
1892 noticeable mostly when there's a label on the same line as the
1893 beginning of the statement, or when there are more stuff
1894 before the start of the statement.
1896 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
1897 Added flag to disable looking at the type of the surrounding paren
1898 since that confuses c-beginning-of-statement-1 and a couple of
1901 * progmodes/cc-engine.el (c-guess-basic-syntax):
1902 Avoid stepping to the previous statement in case 18.
1903 Improvements in recognition of statement blocks on the top level.
1905 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1907 * progmodes/cc-engine.el (c-beginning-of-statement-1)
1908 (c-crosses-statement-barrier-p): Rewritten to get a well
1909 defined and documented behavior. This fixes some tricky cases
1910 in recognition of do-while constructs.
1912 (c-backward-to-start-of-do, c-backward-to-start-of-if):
1913 Removed; use c-beginning-of-statement-1 instead.
1915 (c-guess-continued-construct, c-guess-basic-syntax):
1916 Various fixes to not depend on the bugs previously in
1917 c-beginning-of-statement-1. Cleanups in cases 18 and 17 to
1918 use the new behavior of c-beginning-of-statement-1 better.
1919 Fixed recognition of catch blocks inside macros.
1921 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
1922 in skipping over a macro.
1924 * progmodes/cc-langs.el (c-label-kwds): New variable to
1925 contain the appropriate c-*-label-kwds value.
1927 * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
1928 evaluation bug that caused the widget for
1929 c-block-comment-prefix to bug out.
1931 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1933 * progmodes/cc-engine.el (c-guess-basic-syntax):
1934 Improved recognition of statements: They are now recognized in
1935 contexts where they normally can't occur, e.g. on the top level or
1936 in function call arguments. This is mainly useful to recognize
1937 statements in macros at the top level, and in arguments to
1938 macros. The cases has been moved around quite a bit, and case
1939 10 has been copied to case 18. (The cases has not been
1940 renumbered because of this.)
1942 (c-guess-continued-construct): New function which has the
1943 rules which are common between cases 10 and 18.
1945 * progmodes/cc-engine.el (c-beginning-of-statement-1)
1946 (c-backward-to-start-of-do, c-backward-to-start-of-if):
1947 Fixes so that they really obey the passed limits.
1949 (c-safe-position): Return nil if the state doesn't contain a
1952 (c-guess-basic-syntax): Fixes some too short limits in calls
1953 to c-beginning-of-statement-1. Some fixes for top level
1954 analysis in ObjC mode.
1956 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1957 Fixed bug in do-while statements where the body is not a block.
1959 * progmodes/cc-styles.el (c-set-style):
1960 Reset c-special-indent-hook to its global value if in override mode.
1961 Fixes problem where functions on that hook remained after
1964 * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
1965 Use c-benign-error to report the c-strict-syntax-p error.
1967 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
1969 * progmodes/cc-align.el, progmodes/cc-defs.el,
1970 progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
1971 Several fixes to treat macros as code and not literals and to
1972 handle line continuations transparently.
1974 (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
1975 through whitespace and line continuations, but not comments
1978 (c-in-literal): No longer recognizes macros as literals by
1979 default. An extra flag argument is required to do that.
1981 (c-macro-start, c-query-macro-start)
1982 (c-query-and-set-macro-start): Added a cache for the macro
1985 (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
1986 more speed when limits are given. Workaround for bad behavior
1987 in forward-comment in some emacsen when it hits a buffer limit
1988 with a large repeat count.
1990 (c-lineup-macro-cont): Improved behavior when
1991 c-syntactic-indentation-in-macros is nil.
1993 (c-syntactic-indentation-in-macros, c-backslash-max-column)
1994 (c-auto-align-backslashes): New customization variables to
1995 control macro handling.
1997 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
1998 Fixes to handle line continuations.
2000 * progmodes/cc-defs.el, progmodes/cc-styles.el
2001 (c-get-style-variables, c-set-offset): Report style errors
2002 with message and ding instead of error signal. This to avoid
2003 interrupted mode init if there's some style problem.
2005 (c-benign-error): New macro to report errors that doesn't need
2006 to interrupt the operation.
2008 * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
2010 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2012 * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
2013 Removed most of the c-state-cache fiddling, since the global
2014 state cache now handles this.
2016 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
2017 when there's an open paren at the very first char of the
2018 visible buffer region.
2020 * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
2021 Cache the state globally and invalidate it below every buffer
2022 change with the new after change function
2023 `c-check-state-cache'. This gives a considerable performance
2024 boost when editing large functions or classes.
2026 * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
2028 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2030 * progmodes/cc-engine.el, progmodes/cc-langs.el,
2031 progmodes/cc-align.el: Improvements to syntactic analysis
2034 (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
2035 by `c-guess-basic-syntax'.
2037 (c-parse-state): Fixed bug with braces inside macros when
2038 using cached state info.
2040 (c-forward-to-cpp-expression): New function to aid in
2041 syntactic analysis inside macros.
2043 (c-beginning-of-statement-1, c-backward-syntactic-ws):
2044 Fixes to work better inside macros.
2046 (c-forward-syntactic-ws): Whitespace between the # and the
2047 command should be allowed in preprocessor directives.
2049 (c-lineup-macro-cont): New lineup function to get context
2050 sensitive indentation inside macros.
2052 (c-offsets-alist): Made `c-lineup-macro-cont' the default for
2055 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2057 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2058 (c-forward-syntactic-ws): Fixes to handle continued lines.
2060 (c-backward-to-start-of-if, c-guess-basic-syntax):
2061 Do syntactic analysis inside macros.
2063 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2065 * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
2066 possible by the more flexible state cache.
2068 * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
2069 (c-whack-state-after, c-hack-state)
2070 (c-narrow-out-enclosing-class, c-guess-basic-syntax):
2071 Improved the state cache system. It now can use partial info from
2072 an old cached state to calculate a new one at a different
2073 position. Removed some kludges to avoid the state cache.
2074 The new functions `c-whack-state-before' and `c-whack-state-after'
2075 replace the now obsolete `c-whack-state'.
2077 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2078 Optimized backing through a macro. This can speed things up
2079 quite a bit when there are long macros before point.
2081 (c-beginning-of-macro): Do not ignore the limit.
2083 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2085 * progmodes/cc-cmds.el (c-electric-continued-statement):
2086 Fixed a bug where the keyword wasn't reindented correctly if
2087 followed by another keyword or identifier.
2089 * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
2090 pairs that are in macros. Fixes some cases where e.g. the
2091 second of two "do { } while (0)" macros after each other
2092 indented differently.
2094 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2096 * progmodes/cc-engine.el (c-beginning-of-macro)
2097 (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
2098 directive when it begins a line, to allow for script
2099 interpreter lines like "#!/usr/bin/pike" at the beginning of
2102 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2104 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
2105 Recognize brace blocks inside a parenthesis expression as
2106 inexpr-statement. Useful when writing statements as macro arguments.
2108 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2110 * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
2111 (c-mask-comment): Broke out the comment masking code from
2112 `c-fill-paragraph' to a new function `c-mask-comment', to be
2113 able to do the same thing in `c-do-auto-fill'. This should
2114 make auto-fill-mode behave better.
2116 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2118 * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
2119 Check `executing-macro' to avoid blinking parens when macros
2122 * progmodes/cc-mode.el, progmodes/cc-styles.el
2123 (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
2124 consistency with `c-setup-paragraph-variables' (which was
2125 placed there due to the dependency from `c-set-style').
2127 * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
2128 incomplete initialization from the style variable fallbacks if
2129 there already is a style called "user" defined when CC Mode
2130 starts up for the first time.
2132 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2134 * progmodes/cc-cmds.el, progmodes/cc-vars.el
2135 (c-comment-indent, c-indent-comment-alist): Added new variable
2136 `c-indent-comment-alist' to allow better control over
2139 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2141 * progmodes/cc-align.el (c-lineup-C-comments): Try to match
2142 both `comment-start-skip' and the comment prefix on the
2143 current line with the comment starter, so that we line up
2144 comments which matches `c-comment-prefix-regexp' on the first
2145 line (after the `/') without the need to make
2146 `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
2148 * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
2149 (c-set-style-1, c-setup-paragraph-variables): Moved the
2150 variable initialization based on `c-comment-prefix-regexp' to
2151 a new function `c-setup-paragraph-variables', which is now
2152 used both at mode init and when a style that sets
2153 `c-comment-prefix-regexp' is activated.
2155 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2157 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
2158 Better handling of C++ template args to avoid confusion with
2159 `<' and `>' used as operators in member init expressions.
2161 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2163 * progmodes/cc-engine.el (c-most-enclosing-brace)
2164 (c-least-enclosing-brace): Added optional second arg to limit
2165 the search to before a certain point.
2167 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
2168 which could cause incorrect analysis if a cached state is used
2169 (usually only happens when an electric key reindents a line).
2171 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2173 * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
2174 insulation. This time for XEmacs 21.
2176 * progmodes/cc-engine.el, progmodes/cc-langs.el:
2177 Improved handling of inheritance lists:
2179 (c-beginning-of-inheritance-list): Rewritten to use a more
2180 syntactically correct method that doesn't get confused by
2181 badly placed linebreaks and comments.
2183 (c-guess-basic-syntax): Several fixes to the handling of
2184 inheritance lists in combination with templates. 'inher-intro
2185 is now anchored on the start of the class declaration and not
2186 the indentation of the current line. Switched places on cases
2187 5D.3 and 5D.4 and made them use more syntactically correct methods.
2189 (c-inher-key): Removed since the code in
2190 `c-guess-basic-syntax' now uses token-based search.
2192 * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
2193 Added a submenu to access some toggles.
2195 (c-toggle-syntactic-indentation): New function to toggle the
2196 variable `c-syntactic-indentation'.
2198 * progmodes/cc-styles.el (c-set-style): Improved the error
2199 message for incorrect offsets a bit.
2201 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2203 * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
2204 sexp follows point immediately, instead find the closest
2205 following open paren that ends on another line.
2207 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2209 * progmodes/cc-align.el (c-lineup-cascaded-calls):
2210 New indentation function.
2212 * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
2213 directives with whitespace between the '#' and the name.
2215 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2217 * progmodes/cc-engine.el (c-forward-syntactic-ws)
2218 (c-backward-syntactic-ws): Handle line continuations as
2219 whitespace. Don't move past a macro if that'd take us past
2222 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2224 * progmodes/cc-engine.el (c-beginning-of-macro)
2225 (c-forward-syntactic-ws): Multiline strings begin with `#"' in
2226 Pike, and that shouldn't be confused with a preprocessor directive.
2228 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2230 * progmodes/cc-cmds.el: Extended the kludge to interoperate
2231 with the delsel and pending-del packages wrt to the new
2232 function `c-electric-delete-forward'.
2234 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2236 * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
2237 the block itself, i.e. only indent the contents in it.
2239 * progmodes/cc-styles.el (c-set-style): Use the default
2240 argument to completing-read instead of initial-contents, if
2241 the function is recent enough to support it.
2243 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2245 * progmodes/cc-mode.el (c-mode-help-address):
2246 Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
2247 I've almost never seen a bug reported this way that should go
2248 to that list, but it's rather common that the reports concern
2249 the combination CC Mode and XEmacs instead.
2251 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2253 * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
2254 brace-elseif-brace and brace-catch-brace are active and
2255 there's a "else if"-block before the catch block.
2257 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
2258 Detect function headers that span lines.
2260 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2262 * progmodes/cc-cmds.el (c-electric-brace)
2263 (c-electric-semi&comma, c-electric-colon, c-electric-paren):
2264 Check for last on line only for doing the auto-newline-mode
2265 stuff, not for the reindentation.
2267 * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
2268 handling of c-syntactic-indentation: When it's nil, indent the
2269 new lines but don't reindent the current one. Reindent the
2270 line only when the inserted brace comes first on it, instead
2273 * progmodes/cc-cmds.el (c-electric-brace)
2274 (c-electric-semi&comma): Fixed two places where
2275 c-syntactic-indentation wasn't heeded.
2277 * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
2280 * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
2281 little harder to find a fallback position when an orphan else
2282 is found. Fixed case where an else following a do-while
2283 statement could be associated with an if inside the do-while.
2285 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2287 * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
2288 for the fallback to add a single space after the comment prefix.
2290 * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
2291 behavior in some special cases, especially for single-line comments.
2292 Avoid breaking up a comment starter or ender.
2294 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2296 * progmodes/cc-cmds.el (c-outline-level): Applied patch from
2297 the Emacs sources to make this work in invisible text.
2299 * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
2300 not be confused by a later ':' on the same line as the label.
2302 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2304 * progmodes/cc-cmds.el, progmodes/cc-mode.el
2305 (c-electric-delete, c-electric-delete-forward):
2306 Split `c-electric-delete' into two functions where
2307 `c-electric-delete-forward' always deletes forward and
2308 `c-electric-delete' only contains the code necessary for
2309 XEmacs to choose between backward and forward deletion.
2310 `c-electric-delete-forward' is now bound to C-d to get the
2311 electric behavior on that key too.
2313 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2315 * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
2316 use of c-comment-prefix-regexp, which caused an error when
2319 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2321 * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
2322 (c-default-style): Removed the hardcoded switch to "java" style
2323 in Java mode. It's instead taken care of by the default value
2324 for c-default-style.
2326 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
2328 * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
2329 was triggered by equal signs in string literals.
2331 2002-04-21 Kim F. Storm <storm@cua.dk>
2333 * subr.el (insert-buffer-substring-no-properties): New function.
2334 (insert-buffer-substring-as-yank): New function.
2336 2002-04-21 Glenn Morris <gmorris@ast.cam.ac.uk>
2338 * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
2339 (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
2340 prefix from scroll commands. Ignore end-of-buffer errors from
2342 (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
2344 (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
2347 * files.el: (auto-mode-alist): .f95 files in f90-mode.
2349 * progmodes/fortran.el: (fortran-beginning-do): Make regexp match
2350 a DO statement irrespective of numeric label.
2352 2002-04-20 Glenn Morris <gmorris@ast.cam.ac.uk>
2354 * files.el (auto-save-file-name-transforms): Doc fix.
2355 Add third element to "uniquify" filenames.
2356 (make-auto-save-file-name): Use new element of
2357 auto-save-file-name-transforms.
2358 * startup.el (command-line): Add third element to
2359 auto-save-file-name-transforms.
2361 2002-04-19 Stefan Monnier <monnier@cs.yale.edu>
2363 * files.el (file-name-non-special): Don't mangle the 0'th arg and the
2364 return value of file-name-completion and file-name-all-completions.
2366 2002-04-19 Glenn Morris <gmorris@ast.cam.ac.uk>
2368 * progmodes/f90.el: Update maintainer.
2369 (f90-line-continued): Recognize blank/comment lines embedded in
2371 (f90-looking-at-program-block-start): No extra indentation after
2372 function or subroutine keyword appears in single quotes.
2374 2002-04-19 Miles Bader <miles@gnu.org>
2376 * custom.el (customize-mark-to-save, customize-mark-as-set)
2377 (custom-quote): Moved here from `cus-edit.el'.
2378 * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
2379 (custom-quote): Moved to `custom.el'.
2381 2002-04-18 Richard M. Stallman <rms@gnu.org>
2383 * facemenu.el (list-text-properties-at): Command deleted.
2385 * rect.el (insert-rectangle): Use insert-for-yank.
2387 * register.el (insert-register): Use insert-for-yank.
2388 (describe-register-1): Discard text props in yank-excluded-properties.
2390 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
2391 Fix parts in construction of `menu-item' item at end.
2393 * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
2395 * subr.el (insert-for-yank): New function.
2397 * simple.el (yank-excluded-properties): New user option.
2398 (yank-pop, yank): Use insert-for-yank.
2400 2002-04-19 Kim F. Storm <storm@cua.dk>
2402 * simple.el (pop-to-mark-command): Do not set this-command.
2403 (set-mark-command): Always jump to mark when called with arg.
2405 2002-04-18 Francesco Potorti` <pot@gnu.org>
2407 * comint.el (comint-watch-for-password-prompt): Remove whitespace
2408 at the beginning of password prompts.
2410 2002-04-18 Andrew Innes <andrewi@gnu.org>
2412 * facemenu.el: Remove require of wid-edit.
2414 2002-04-17 Colin Walters <walters@verbum.org>
2416 * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
2418 (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
2419 (ibuffer-current-state-list): Reinstate optional argument; now
2420 just call `point' inside the mapping function.
2422 2002-04-17 Francesco Potorti` <pot@gnu.org>
2424 * dired-aux.el (dired-star-subst-regexp)
2425 (dired-quark-subst-regexp): New constants.
2426 (dired-do-shell-command, dired-shell-stuff-it): Use them.
2427 (dired-do-shell-command): Raise an error if both `*' and `?'
2428 substitution marks are used in the same command.
2429 (dired-shell-stuff-it): Substitute all instances of `*' and `?'
2430 in a command given via dired-do-shell-command.
2432 * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
2434 2002-04-16 Jason Rumney <jasonr@gnu.org>
2436 * international/mule-cmds.el (locale-preferred-coding-systems):
2439 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
2441 * term.el (term-emulate-terminal): Fix last change.
2443 2002-04-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
2445 * bindings.el (mode-line-mode-menu): Update names to reflect
2448 2002-04-16 Mike Williams <mdub@bigfoot.com>
2450 * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
2453 2002-04-16 Michael Kifer <kifer@cs.stonybrook.edu>
2455 * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
2456 (viper-ex-print-buf-name): New variable.
2457 (viper-ex-print-buf): New variable.
2458 (ex-token-alist): Invoke ex-print on ":print" Ex commands.
2459 (ex-g-marks): New variable.
2460 (ex-print): New function.
2461 (ex-print-display-lines): New function.
2463 * viper.el (viper-set-hooks): Add window-setup-hook, which sets
2466 * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
2467 when the window is not in its own frame.
2468 (ediff-clone-buffer-for-region-comparison): More robust window
2469 arrangement while prompting for regions to compare.
2470 (ediff-make-cloned-buffer): Use generate-new-buffer-name.
2471 (ediff-inferior-compare-regions): Deleted unused vars
2472 ctl-buf and quit-now.
2474 2002-04-15 Richard M. Stallman <rms@gnu.org>
2476 * facemenu.el (facemenu-add-new-face): Use this only for faces.
2478 (facemenu-add-new-color): New function.
2479 (facemenu-set-foreground, facemenu-set-background):
2480 Use facemenu-add-new-color.
2482 2002-04-15 Eli Zaretskii <eliz@is.elta.co.il>
2484 * ediff-init.el (ediff-current-diff-face-A)
2485 (ediff-current-diff-face-B, ediff-current-diff-face-C)
2486 (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
2487 (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
2488 (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
2489 (ediff-even-diff-face-B, ediff-even-diff-face-C)
2490 (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
2491 (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
2492 (ediff-odd-diff-face-Ancestor): Add special color definitions for
2493 tty and MS-DOS displays.
2495 2002-04-15 Andrew Innes <andrewi@gnu.org>
2497 * facemenu.el: Require wid-edit.
2499 2002-04-15 Miles Bader <miles@gnu.org>
2501 * faces.el (highlight): Force foreground to be black on a tty, so
2502 this face is readable on a dark-background tty.
2503 * wid-edit.el (widget-field-face, widget-single-line-field-face):
2506 2002-04-14 Kim F. Storm <storm@cua.dk>
2508 * simple.el (pop-to-mark-command, push-mark-command): New commands.
2509 (set-mark-command): Use them.
2510 Enhanced functionality when command is repeated:
2511 - If first command set the mark (no prefix arg), repeat temporarily
2512 enables transient-mark-mode.
2513 - If first command jumped to mark off ring (with argument),
2514 repeat (with or without arg) jump to next mark off ring.
2515 - Use C-u C-u prefix to set mark after jump.
2516 (exchange-point-and-mark): Temporarily enable transient-mark-mode
2519 2002-04-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
2521 * speedbar.el (speedbar-tag-hierarchy-method)
2522 (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
2524 2002-04-14 Mike Williams <mdub@bigfoot.com>
2526 * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
2527 beginning of buffer.
2529 2002-04-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
2531 * speedbar.el (speedbar-generic-item-info)
2532 (speedbar-sort-tags): Doc fix.
2533 (speedbar-add-supported-extension): Fix typo in interactive spec.
2535 2002-04-13 Colin Walters <walters@verbum.org>
2537 * ibuffer.el (ibuffer-forward-line): Just skip header if we're
2538 only moving one line forward.
2539 (ibuffer-map-lines): Preserve point position even if we delete
2540 lines. Only call mapping functions with buffer and mark
2541 arguments; the other two were unused.
2542 (ibuffer-redisplay, ibuffer-update): Always skip special areas.
2544 * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
2546 * calc/calc-bin.el (math-format-radix-float): Use `when'.
2548 * calc/calc.el (math-format-number): Load `calc-ext' before we
2549 call `math-group-float'.
2551 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2552 Renamed from `gamegrid-add-score'.
2553 (gamegrid-add-score-insecure): Restored from the old
2554 `gamegrid-add-score'.
2555 (gamegrid-add-score): Just dispatch on `system-type' to one of the
2556 previous two functions.
2558 2002-04-13 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
2560 * iswitchb.el: Update commentary to include new function
2561 iswitchb-exclude-nonmatching.
2563 2002-04-12 John Wiegley <johnw@gnu.org>
2565 * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
2566 operating systems to the regexp used to detect a script's interpreter.
2568 2002-04-12 Eli Zaretskii <eliz@is.elta.co.il>
2570 * frame.el (frames-on-display-list): Use `equal' to compare the
2571 `display' frame parameter to the argument DISPLAY.
2573 2002-04-12 Dave Love <fx@gnu.org>
2575 * help.el (string-key-binding): Deal with margin events.
2577 2002-04-12 Francesco Potorti` <pot@gnu.org>
2579 * comint.el (comint-password-prompt-regexp): Match " SMB password".
2581 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
2583 * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
2585 * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
2587 * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
2588 (buffer-syntactic-context-depth): New funs.
2590 * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
2593 * emacs-lisp/debug.el (debug-on-entry): Use push.
2594 (debugger-make-xrefs): Don't assume point-min == 1.
2596 * progmodes/cc-engine.el (c-backward-to-start-of-if):
2597 Don't assume point-min == 1.
2599 * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
2600 (etags-list-tags, etags-tags-apropos, select-tags-table):
2601 Don't assume point-min == 1.
2603 2002-04-12 Mike Williams <mdub@bigfoot.com>
2605 * textmodes/sgml-mode.el (sgml-guess-indent): New function.
2607 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
2609 * textmodes/fill.el (fill-context-prefix): Fix up last change.
2611 * simple.el (line-move): Use memq rather than or.
2612 (transpose-sexps): Don't presume as much of forward-sexp's behavior.
2613 (do-auto-fill): Use fill-move-to-break-point.
2614 (syntax-code-table): Remove.
2616 * textmodes/fill.el (canonically-space-region): Obey sentence-end.
2617 Don't add spaces at end of sentences at end of line.
2618 (fill-move-to-break-point): Make sure the result is always greater
2619 than linebeg, so we ensure forward progress.
2620 (fill-region-as-paragraph): Compare to `to' rather than eobp.
2621 (fill-paragraph): Don't rebind fill-paragraph-function.
2623 2002-04-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
2625 * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
2627 2002-04-11 Andreas Schwab <schwab@suse.de>
2629 * files.el (file-name-non-special): Handle return value of t from
2630 `file-name-completion'.
2632 2002-04-10 Stefan Monnier <monnier@cs.yale.edu>
2634 * textmodes/fill.el (fill-context-prefix): Match the two prefixes
2635 differently to avoid pathological exponential-time case.
2636 (adaptive-fill-regexp): Add ! and %.
2637 (fill-delete-prefix): Remove indentation while removing prefix.
2638 (fill-delete-newlines): Obey sentence-end.
2639 (fill-move-to-break-point, fill-newline): New functions extracted
2640 from fill-region-as-paragraph.
2641 (fill-region-as-paragraph): Use them.
2642 Don't fiddle with fill-indent-according-to-mode.
2644 2002-04-10 Colin Walters <walters@verbum.org>
2646 * play/snake.el (snake-score-file): Default to just "snake-scores".
2648 * play/tetris.el (tetris-score-file): Likewise.
2650 * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
2651 use `update-game-score'.
2653 * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
2654 (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
2655 ourselves; take it as an argument. Caller updated.
2656 (ibuffer-mode): Make mode-class special.
2658 2002-04-10 Richard M. Stallman <rms@gnu.org>
2660 * dired.el (dired-view-command-alist): New variable.
2661 (dired-view-file): Use external viewers for some files names.
2663 * mouse.el (mouse-drag-region-1): Display region highlight
2664 only in the selected window.
2666 * subr.el (remove-hook): When there are no more local hooks,
2667 kill the buffer-local value.
2669 * isearch.el (isearch-mode): Don't call make-frame-visible
2670 if frame is already visible.
2672 * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
2674 2002-04-09 Emmanuel Briot <briot@act-europe.fr>
2676 * progmodes/ada-prj.el: Add support for the new project file
2677 fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd. Fix
2678 widget handling for Emacs 21. ada-mode now only supports a single
2679 active project file, instead of one per buffer. This is far less
2682 * progmodes/ada-stmt.el: Menu changed from Statements to Templates.
2683 (ada-func-or-proc-name): Get real subprogram name, after change in
2686 * progmodes/ada-xref.el: Ada-mode no longer supports a different
2687 project file per buffer. This was too complex. Instead, there is
2688 now a single active project file at any given time, and the user
2689 can switch the active one through the Ada menu. This revision
2690 also provides better handling of the Windows command line, and the
2691 various available shells on that platform. ada-mode is now fully
2692 integrated with the GNU visual debugger gvd, see
2693 http://libre.act-europe.fr.
2694 (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.
2695 This is only available with GNAT 3.14.
2696 (ada-prj-gnatfind-switches, ada-cd-command): New variable.
2697 (ada-quote-cmd): New function.
2698 (ada-initialize-runtime-library): Get the location of the actual
2699 runtime the compiler will be using, including support for
2700 cross-platform environments.
2701 (ada-treat-cmd-string): Add support for the new variable
2702 ${full_current} add support for debug-pre-cmd and debug-post-cmd,
2703 two commands to run just prior to running the debugger, and just
2704 after starting it. This provide better support for cross-platform
2705 and remote debugging.
2706 (ada-get-absolute-dir): Remove, replace with expand-file-name.
2707 (ada-gdb-application): New parameter executable-name.
2708 (ada-get-ali-file-name): Better handling of separate packages.
2709 Checkin on behalf of the ada-mode maintainer.
2711 * progmodes/ada-mode.el (ada-case-exception-file)
2712 (ada-indent-handle-comment-special): New variables.
2713 (ada-case-exception-substring): New variable. Casing exceptions
2714 can now also be defined for substrings, in addition to full
2715 identifier names. This provides more flexibility.
2716 (ada-align-list): New fun, provide support for align.el in ada-mode.
2717 (ada-procedure-start-regexp): Add support for operators and
2718 generic formal subprograms and packages.
2719 (ada-imenu-comment-re): New variable.
2720 (ada-imenu-generic-expression): Add support for protected types.
2721 (ada-mode): Set comment-start only after running ada-mode-hook, so
2722 that the user can change ada-comment-start in the hook.
2723 Add support for ispell in comments. Add support for align.el.
2724 (ada-save-exception-file, ada-create-case-exception-substring)
2725 (ada-adjust-case-substring): New functions.
2726 (ada-get-current-indent): Properly handles keywords with uppercases.
2727 (ada-goto-matching-end): Rewritten, fixes problems in the handling
2729 (ada-untab-hard): Do not touch the contents of comments and strings.
2731 2002-04-09 Mike Williams <mdub@bigfoot.com>
2733 * textmodes/sgml-mode.el (sgml-lexical-context):
2734 Use sgml-parse-tag-backward to find start point.
2735 (sgml-looking-back-at): Doc fix.
2737 2002-04-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
2739 * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
2742 2002-04-08 Stefan Monnier <monnier@cs.yale.edu>
2744 * autorevert.el (auto-revert-mode, global-auto-revert-mode):
2745 Use define-minor-mode.
2746 (auto-revert-buffers): Use with-current-buffer.
2747 Avoid changing the minor modes.
2749 * international/iso-acc.el (iso-accents-accent-key): Use `vector'
2750 rather than char-to-string since last-input-char can be any event.
2752 * international/titdic-cnv.el (tit-dictionary):
2753 Use defvar for non-constants.
2755 * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
2756 (global-cwarn-mode): Use easy-mmode-define-global-mode.
2757 (cwarn-font-lock-keywords): New function.
2758 Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
2759 (cwarn-font-lock-match): New macro.
2760 (cwarn-font-lock-match-assignment-in-expression)
2761 (cwarn-font-lock-match-dangerous-semicolon)
2762 (cwarn-font-lock-match-reference): Use it.
2764 * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
2765 Use defvar rather than defconst since it's meant to be settable.
2766 (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
2767 (cperl-fix-line-spacing): Add missing \ in [ t].
2769 * loadup.el: Call ucs-unify-8859 directly rather than
2770 unify-8859-on-encoding-mode.
2771 (fns-*.el): Don't use it anymore. Keep the load-history in purespace.
2773 * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
2774 (sgml-mode): Use it for comment-line-break-function.
2776 2002-04-08 Jason Rumney <jasonr@gnu.org>
2778 * international/mule-cmds.el (reset-language-environment):
2779 Handle coding-systems not being defined yet.
2781 2002-04-08 Sam Steingold <sds@gnu.org>
2783 * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
2784 (vc-cvs-checkin): Use it.
2786 2002-04-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
2788 * files.el (display-time-string): Fix last change.
2790 2002-04-07 Sam Steingold <sds@gnu.org>
2792 * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
2794 2002-04-07 Jason Rumney <jasonr@gnu.org>
2796 * international/mule-cmds.el (set-default-coding-systems)
2797 (reset-language-environment): Preserve eols on
2798 default-process-coding-system.
2799 (coding-system-change-text-conversion): Fix case where CODING is nil.
2801 2002-04-07 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
2803 * subr.el (play-sound): Move here from simple.el.
2805 * simple.el (play-sound): Move to subr.el.
2807 2002-04-06 Richard M. Stallman <rms@gnu.org>
2809 * files.el (display-time-string-forms): Mark as risky.
2811 * enriched.el (enriched-decode-foreground, enriched-decode-background):
2812 Use proper format for desired elts of `face' property.
2813 Don't test display-color-p; make the properties unconditionally.
2815 * progmodes/compile.el (compilation-error-regexp-alist):
2816 New alternatives for FILE:LINE.COL and for ranges of columns and lines.
2818 2002-04-06 Per Abrahamsen <abraham@dina.kvl.dk>
2820 * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
2821 for customization type.
2822 Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
2824 2002-04-06 Mike Williams <mdub@bigfoot.com>
2826 * textmodes/xml-lite.el: Remove.
2828 2002-04-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
2830 * simple.el (play-sound): New function (uses play-sound-internal).
2832 2002-04-04 Richard M. Stallman <rms@gnu.org>
2834 * files.el (mode-line-format, mode-line-modified)
2835 (mode-line-mule-info, mode-line-buffer-identification)
2836 (mode-line-modes, mode-line-position): Explicitly mark as risky.
2837 (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
2839 * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
2841 * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
2842 Use (syntax-table), not old-syntax-table.
2844 * enriched.el (enriched-decode-foreground)
2845 (enriched-decode-background): Don't call facemenu-get-face.
2847 2002-04-04 Mike Williams <mdub@bigfoot.com>
2849 * textmodes/sgml-mode.el: Add missing require.
2850 (sgml-lexical-context): Fix up CDATA detection for boundary cases.
2852 2002-04-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
2854 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
2855 spot indicated by text property `cvs-goal-column', if present.
2857 * pcvs-info.el (cvs-fileinfo-pp): Use text property
2858 `cvs-goal-column' to indicate position of file name (if present).
2860 2002-04-03 Richard M. Stallman <rms@gnu.org>
2862 * mail/mailabbrev.el (mail-abbrev-complete-alias):
2863 Call mail-abbrev-make-syntax-table.
2865 * format.el (format-deannotate-region): Doc fix.
2867 * enriched.el (enriched-face-ans): Delete special treatment
2868 for fg:... and bg:... faces.
2869 (enriched-decode-foreground): Return a list that specifies
2870 the foreground color, rather than creating a face.
2871 (enriched-decode-background): Likewise.
2873 * shell.el (shell-mode): Don't reinit comint-input-ring
2874 if that was already done.
2876 2002-04-03 Edward M. Reingold <reingold@emr.cs.iit.edu>
2878 * solar.el (solar-spring-or-summer-season): Delete.
2879 (solar-northern-spring-or-summer-season): New variable.
2880 (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
2883 * solar.el (diary-sabbath-candles-minutes): New variable.
2884 (diary-sabbath-candles): Use it instead of fixed 18 minutes.
2886 * calendar.el (update-calendar-mode-line): Force mode-line update.
2887 Make date under the cursor available as `date' in
2888 calendar-mode-line-format.
2889 Eval items in calendar-mode-line-format list.
2891 * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
2892 (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
2894 * cal-tex.el (cal-tex-latexify-list): Fix doc string.
2896 * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
2897 (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
2898 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2899 (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
2901 * cal-tex.el: Change all instances (interactive "P") to
2903 (cal-tex-cursor-month): Add hfill and newline at end of month that
2905 (cal-tex-preamble): Change to LaTeX2e.
2906 (cal-tex-cursor-filofax-year): Don't use default month names in
2907 LaTeX macros in case user changes them.
2908 (cal-tex-month-name): New function. Used throughout in case user
2909 has done something funny with month names.
2911 * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
2912 (diary-rosh-hodesh): Spelling correction.
2914 2002-04-03 Mike Williams <mdub@bigfoot.com>
2916 * textmodes/sgml-mode.el (sgml-lexical-context)
2917 (sgml-parse-tag-backward): Extend support for CDATA to include
2918 conditional sections.
2920 2002-04-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
2922 * cus-start.el: Rename `autoselect-window' to
2923 `mouse-autoselect-window'.
2925 2002-04-02 Richard M. Stallman <rms@gnu.org>
2927 * files.el (hack-one-local-variable):
2928 Clear text props from string value.
2930 2002-04-02 Stefan Monnier <monnier@cs.yale.edu>
2932 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
2933 (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
2935 (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
2937 (f90-procedures-re): Add `null' and `cpu_time' from F95.
2938 (f90-font-lock-keywords-1): Minor reorganization so we don't need
2939 `override' any more.
2940 (f90-font-lock-keywords-3): Use `keep' rather than `override'.
2941 (f90-indent-subprogram): Use indent-region.
2942 (f90-break-line): Use indent-according-to-mode.
2944 2002-04-02 Mike Williams <mdub@bigfoot.com>
2946 * textmodes/sgml-mode.el (sgml-close-tag): Rename from
2947 sgml-insert-end-tag. Simplify by using sgml-lexical-context.
2948 (sgml-get-context): Remove use of sgml-inside-tag-p.
2949 (sgml-inside-tag-p): Remove.
2950 (sgml-looking-back-at): Short-circuit at beg of buffer.
2951 (sgml-lexical-context, sgml-calculate-indent): Add support for
2954 2002-04-01 Stefan Monnier <monnier@cs.yale.edu>
2956 * help.el (help-key-description): New fun.
2957 (describe-key-briefly, describe-key): Use it and
2958 this-single-command-raw-keys plus new arg `untranslated'.
2960 * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
2961 (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
2962 (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
2963 (sgml-insert-end-tag): New funs taken from xml-lite.el.
2964 (sgml-calculate-indent): Use them.
2965 (sgml-slash-matching): Rename from sgml-slash.
2966 (sgml-slash): Copied from xml-lite and changed to use
2967 sgml-slash-matching and sgml-quick-keys.
2969 * international/mule-cmds.el (standard-keyboard-coding-systems):
2970 Add koi8-u and koi8-r.
2972 * eshell/.cvsignore: New file.
2974 * eshell/esh-groups.el: Remove.
2976 * progmodes/tcl.el: Change maintainer.
2977 (tcl-electric-hash-style): Change default to nil.
2978 (tcl-imenu-generic-expression): Use tcl-proc-regexp.
2979 (tcl-do-auto-fill): Remove.
2980 (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
2982 2002-04-01 Mike Williams <mdub@bigfoot.com>
2984 * textmodes/sgml-mode.el: Doc fixes.
2985 (sgml-mode): Set indent-line-function to sgml-indent-line.
2986 (sgml-calculate-indent): Add an explicit check for 'text syntax,
2987 to protect against future enhancements to sgml-lexical-context.
2988 (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
2990 * textmodes/xml-lite.el: Removed much redundant stuff.
2991 (xml-lite-parse-tag-backward): Simplify parsing by assuming we
2992 always start within text. Make use of sgml-unclosed-tag-p.
2994 2002-04-01 Ville Skytt
\e,Ad
\e(B <ville.skytta@xemacs.org>
2996 * tcl.el (tcl-imenu-generic-expression): New value.
2997 (tcl-imenu-create-index-function): Function deleted.
2998 (tcl-mode): Check for filladapt-mode.
2999 Use tcl-imenu-generic-expression instead of
3000 tcl-imenu-create-index-function.
3001 (inferior-tcl-mode): Doc fix.
3002 Change not legally significant.
3004 2002-04-01 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3006 * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
3008 * window.el (handle-select-window): New function.
3011 2002-04-01 Richard M. Stallman <rms@gnu.org>
3013 * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
3015 * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
3016 tool-bar-add-item, and new arg MAP.
3017 (tool-bar-add-item): Now calls tool-bar-local-item.
3018 (tool-bar-local-item-from-menu): Renamed from
3019 tool-bar-add-item-from-menu, and new arg IN-MAP.
3020 (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
3022 * help-fns.el (help-with-tutorial): Allow various ways
3023 to specify the text in the [...] line, in handling the <...> line.
3025 * progmodes/idlw-rinfo.el (idlwave-system-routines):
3026 WOLRDTITLE => WORLDTITLE. SUPRESS_VALUE => SUPPRESS_VALUE.
3028 * subr.el (redraw-modeline): Define alias.
3030 2002-03-31 Richard M. Stallman <rms@gnu.org>
3032 * files.el (file-expand-wildcards): Use save-match-data.
3034 * files.el (format-alist): Mark as risky.
3036 * simple.el (kill-new): Doc fix.
3038 * emacs-lisp/byte-opt.el (side-effect-free-fns)
3039 (side-effect-and-error-free-fns): Add many functions, remove some.
3041 2002-03-30 Richard M. Stallman <rms@gnu.org>
3043 * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
3045 2002-03-30 Eli Zaretskii <eliz@gnu.org>
3047 * font-lock.el (save-buffer-state): Fix last change.
3049 * files.el (auto-save-file-name-transforms): Fix last change.
3051 * startup.el (command-line): Fix last change.
3053 2002-03-29 Richard M. Stallman <rms@gnu.org>
3055 * subr.el (play-sound-file): Moved to simple.el.
3057 * simple.el (play-sound-file): Moved from subr.el, made unconditional.
3059 2002-03-29 Colin Walters <walters@verbum.org>
3061 * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
3062 instead of `forward-line'.
3063 (ibuffer-forward-line): Be sure to skip over special properties
3066 * calc/calc.el (calc-was-split): Var deleted.
3067 (calc): Remove reference to it.
3070 (calc-init-base): Ditto.
3072 * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
3074 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
3076 * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
3077 instead of nil when point is outside of any tag.
3078 (sgml-beginning-of-tag): Adjust to the change.
3079 (sgml-calculate-indent): Use the new info returned by
3080 sgml-lexical-context. Try to handle unclosed tags.
3082 * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
3083 at unclosed tags unless it is at indentation.
3084 Kill nested unclosed tags.
3085 (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
3086 (xml-lite-mode): Use sgml-indent-line instead.
3088 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
3090 * files.el (auto-save-file-name-transforms): Don't run "\\2" via
3093 * startup.el (command-line): Recompute auto-save-file-name-transforms
3094 using the updated value of temporary-file-directory.
3096 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
3098 * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
3099 even with an empty context. Don't save excursion any more.
3100 Don't complain about unmatched start-tags in sgml-unclosed-tags.
3101 Ignore end-tags in sgml-empty-tags.
3102 (xml-lite-get-context, xml-lite-calculate-indent)
3103 (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
3104 (xml-lite-indent-line): Use back-to-indentation.
3106 * textmodes/sgml-mode.el (sgml-basic-offset): New var.
3107 (sgml-name-re, sgml-attrs-re): New consts.
3108 (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
3109 (sgml-mode): Use them.
3110 (sgml-lexical-context): Default to (point-min) if nothing else works.
3111 (sgml-calculate-indent): Indent slightly differently.
3112 (sgml-indent-line): Use back-to-indentation.
3113 (sgml-parse-dtd): New function.
3114 (sgml-unclosed-tags): New var.
3115 (html-mode): Set it.
3117 2002-03-29 Simon Marshall <simon.marshall@misys.com>
3119 * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
3121 2002-03-29 Richard M. Stallman <rms@gnu.org>
3123 * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
3124 Use FILTER arg in dired-get-marked-files to exclude directories.
3125 (dired-nondirectory-p): New function.
3127 * dired.el (dired-get-marked-files): New arg FILTER
3128 allows selection of some files.
3130 * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
3132 2002-03-29 Eric M. Ludlam <eric@siege-engine.com>
3134 * speedbar.el (speedbar-default-directory-list): Made robust
3135 against deleted directories.
3137 2002-03-28 Richard M. Stallman <rms@gnu.org>
3139 * dired.el (dired-toggle-marks): Renamed from dired-do-toggle.
3142 * progmodes/compile.el (compilation-handle-exit):
3143 If compilation-window-height is 0, display status in echo area.
3145 * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
3147 * rect.el (replace-rectangle): Add autoload.
3149 * files.el: Mark many more variables as risky.
3150 (hack-one-local-variable): Recognize several additional
3153 * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
3155 2002-03-28 Stefan Monnier <monnier@cs.yale.edu>
3157 * textmodes/xml-lite.el (xml-lite-in-string-p):
3158 Use sgml-lexical-context.
3159 (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
3160 (xml-lite-get-context): Check that open/close tags match.
3161 Don't stop scanning while we're ignoring matching tags.
3163 * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
3164 (sgml-mode-syntax-table): Use it.
3165 (sgml-tag-syntax-table, sgml-tag-name-re): New const.
3166 (sgml-tags-invisible): Use it.
3167 (sgml-lexical-context): New fun.
3168 (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
3169 (sgml-quote): Accept \n as entity reference terminator.
3170 (sgml-calculate-indent, sgml-indent-line): New funs.
3172 2002-03-28 Andre Spiegel <spiegel@gnu.org>
3174 * vc-cvs.el (vc-cvs-global-switches): New user option.
3175 (vc-cvs-command): New function. Update all callers of
3176 `vc-do-command' in vc-cvs.el to use this instead.
3178 2002-03-27 Andrew Innes <andrewi@gnu.org>
3180 * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
3181 relying on shell globbing.
3183 2002-03-27 Colin Walters <walters@debian.org>
3185 * ibuffer.el (ibuffer-help-buffer-modes): New variable.
3186 (ibuffer-fontification-alist): Use it.
3187 (ibuffer-backward-line): Handle `ibuffer-summary' area.
3188 (ibuffer-forward-line): Ditto.
3190 * ibuf-ext.el (sorter mode-name): Doc fix.
3191 (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
3192 (operation query-replace): Use new `noerror' arg for
3193 `query-replace-read-args'.
3194 (operation query-replace-regexp): Ditto.
3196 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
3198 * textmodes/xml-lite.el: Fix copyright notice.
3199 (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
3200 (xml-lite-indent-comment-offset): Remove.
3201 (xml-lite-calculate-indent): Use new name. Use natural alignment
3203 (xml-lite-in-string-p): Simplify.
3205 2002-03-27 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3207 * allout.el (outline-layout): Doc fix.
3209 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
3211 * textmodes/xml-lite.el: Don't require `custom'.
3212 (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
3213 (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
3214 (xml-lite-get-context): Drop nested tags not just for comments.
3215 (xml-lite-indent-line): Be more careful about moving point.
3216 (xml-lite-insert-end-tag, xml-lite-slash):
3217 Use indent-according-to-mode instead of xml-lite-indent-line.
3218 (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
3219 Set sgml-xml-mode. Don't call force-mode-line-update.
3220 (xml-lite-mode-map): Don't bind TAB.
3222 2002-03-27 Zoltan Kemenczy <zoltan@ieee.org>
3224 * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
3226 (gud-jdb-build-source-files-list): Comment clarification.
3227 (gud-jdb-massage-args): Reworked into loop-based argument list
3228 processing in order to support -classpath and -sourcepath argument
3230 (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
3231 to gud-jdb-classpath to obtain search list.
3232 (gud-jdb-parse-classpath-string): Remove any trailing slashes from
3233 directory names in classpath/sourcepath lists, update comment.
3234 (jdb): Add setting of gud-jdb-sourcepath, update comment.
3235 (gud-find-class): Add gud-jdb-sourcepath use, and correct
3236 behaviour for the case when classpath is not used--backward
3239 2002-03-27 Eli Zaretskii <eliz@is.elta.co.il>
3241 * Makefile.in (compile, compile-always): Don't try to compile
3242 non-existent files or files in empty directories.
3244 2002-03-26 Michael Ernst <mernst@alum.mit.edu>
3246 * compare-w.el (compare-windows-whitespace): Match all whitespace.
3248 * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
3249 copy of standard Lisp directories.
3251 * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
3252 Support "next has longname" link type.
3254 2002-03-26 Stefan Monnier <monnier@cs.yale.edu>
3256 * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
3257 (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
3259 (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
3260 (end-of-xml-tag): Remove.
3261 (xml-lite-get-context): Better handling of comments.
3262 (xml-lite-calculate-indent): Use xml-lite-in-string-p.
3263 (xml-lite-parse-tag-backward): Rewrite.
3265 2002-03-26 Juanma Barranquero <lektu@terra.es>
3267 * makefile.w32-in (WINS): Add the toolbar directory.
3269 2002-03-26 Richard M. Stallman <rms@gnu.org>
3271 * subr.el (substring-no-properties): Function deleted (now in C).
3273 2002-03-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3275 * mwheel.el (mouse-wheel-mode): Use global-set-key and
3278 2002-03-24 Richard M. Stallman <rms@gnu.org>
3280 * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
3282 * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
3283 to query-replace-read-args.
3285 * progmodes/compile.el (compilation-forget-errors):
3286 Don't adjust compilation-parsing-end if it's nil.
3288 * replace.el (query-replace-read-args): New optional arg NOERROR.
3289 (perform-replace): Use save-window-excursion around recursive edit.
3291 2002-03-24 Colin Walters <walters@verbum.org>
3293 * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
3294 non-nil, then always use another window.
3296 2002-03-24 Gerd Moellmann <gerd@gnu.org>
3298 * subr.el (macro-declaration-function): New function. Set the
3299 variable macro-declaration-function to it.
3301 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
3302 Handle declarations in macro definitions.
3304 2002-03-24 Eli Zaretskii <eliz@is.elta.co.il>
3306 * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
3308 * enriched.el (enriched-face-ans): Support FACE of the form
3309 (:foreground COLOR) and (:background COLOR).
3310 (enriched-decode-foreground, enriched-decode-background): Set the
3311 fore- and background colors of the faces we create, since facemenu
3314 2002-03-24 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3316 * mwheel.el (mouse-wheel-mode): Use the result of
3317 current-global-map instead of the variable `global-map'.
3319 2002-03-23 Richard M. Stallman <rms@gnu.org>
3321 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
3322 broken out of sendmail-pre-abbrev-expand-hook.
3323 (sendmail-pre-abbrev-expand-hook): Use it.
3325 2002-03-22 Stefan Monnier <monnier@cs.yale.edu>
3327 * Makefile.in (finder-inf.el): Remove.
3328 (finder-data): Don't depend on finder-inf.el any more.
3329 (compile, compile-always): Handle the case where some files
3330 from DONTCOMPILE are missing (it tried to compile them).
3331 (bootstrap-clean): Use src/emacs only if executable.
3332 (bootstrap): Update subdirs.el and finder-inf.el.
3334 * finder.el: Don't load finder-inf.el during byte-compilation.
3336 * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
3337 Don't consider cvs-removed files as under VC control.
3338 VC wouldn't handle them properly anyway and it confuses
3339 vc-file-not-found-hook.
3341 * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
3342 Add autoload cookie.
3344 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il>
3346 * calendar/calendar.el (calendar): Doc fix.
3348 2002-03-22 Juanma Barranquero <lektu@terra.es>
3350 * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
3351 (gomoku-font-lock-X-face): Likewise.
3352 (gomoku-font-lock-keywords): Use faces instead of variables.
3354 2002-03-21 Stefan Monnier <monnier@cs.yale.edu>
3356 * Makefile.in (bootstrap): Make sure subdirs.el is ready.
3358 2002-03-21 Kim F. Storm <storm@cua.dk>
3360 * simple.el (open-network-stream, open-network-stream-nowait)
3361 (open-network-stream-server): Use featurep to test for
3362 supported networking features.
3364 2002-03-21 Thien-Thi Nguyen <ttn@gnu.org>
3366 * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
3367 directions as the last action.
3369 2002-03-21 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3371 * startup.el (fancy-splash-tail, normal-splash-screen):
3374 * novice.el (disabled-command-hook): Clarify output text to match
3377 2002-03-20 Jason Rumney <jasonr@gnu.org>
3379 * frame.el (display-images-p): Do not explicitly check display type.
3381 2002-03-20 pmr-sav <pmr-sav@hamm.pajato.com>
3384 Eliminate compilation warnings due to `rfc822-addresses'.
3385 (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
3386 warning free compile.
3388 2002-03-20 Michael Kifer <kifer@cs.stonybrook.edu>
3390 * ediff-diff.el (ediff-install-fine-diff-if-necessary):
3391 Take the current highlighting style into account.
3392 (ediff-forward-word-function,ediff-whitespace,ediff-word-1)
3393 (ediff-word-2,ediff-word-3,ediff-word-4): Make them buffer local.
3395 * ediff-init.el (ediff-patch-job): New macro.
3397 * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
3398 (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
3400 * ediff-ptch.el (ediff-map-patch-buffer):
3401 Use ediff-make-new-meta-list-header.
3402 (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
3404 * ediff-util.el (ediff-toggle-hilit): Fix toggling of highliting.
3405 (ediff-select-difference): Take highlighting style into account.
3406 (ediff-clone-buffer-for-region-comparison): New function.
3407 (ediff-inferior-compare-regions): Added comparison of current diff
3410 * ediff.el (ediff-clone-buffer-for-region-comparison)
3411 (ediff-clone-buffer-for-window-comparison): Moved to ediff-util.el.
3413 2002-03-19 pmr-sav <pmr-sav@hamm.pajato.com>
3415 * mail-utils.el (rmail-dont-reply-to):
3416 Overhaul to correctly apply the regular
3417 expressions in the variable `rmail-dont-reply-to-names' to the list of
3418 destination addresses. Contributed by lorentey@elte.hu.
3420 * rmail.el (rmail-dont-reply-to-names):
3421 Modify the documentation to make it email
3422 address centric rather than login name centric. Contributed by
3425 2002-03-18 Colin Walters <walters@verbum.org>
3427 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
3428 we don't require `cl' at runtime.
3429 (sorting mode mode-name): Don't take the symbol-name of a string.
3431 * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
3432 line after setting the mark.
3433 (ibuffer-insert-buffers-and-marks): Invert the test for
3434 `ibuffer-sorting-reversep'.
3436 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
3438 * international/ucs-tables.el (unify-8859-on-decoding-mode)
3439 (unify-8859-on-encoding-mode): Remove autoload cookie.
3441 2002-03-18 Andre Spiegel <spiegel@gnu.org>
3443 * vc-rcs.el (vc-rcs-register): Fix handling of
3444 vc-[rcs-]register-switches.
3445 (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
3446 Variables removed, since they weren't used yet.
3448 * vc-cvs.el (vc-cvs-register): Fix handling of
3449 vc-[cvs-]register-switches.
3451 * vc-sccs.el (vc-sccs-register): Fix handling of
3452 vc-[sccs-]register-switches.
3454 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
3456 * loadup.el ("emacs-lisp/backquote"): Load earlier.
3457 ("international/ucs-tables"): Load and turn on
3458 unify-8859-on-encoding-mode unconditionally.
3459 (emacs-version): Use `defconst' rather than `setq'.
3461 * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
3463 2002-03-18 Richard M. Stallman <rms@gnu.org>
3465 * menu-bar.el (menu-bar-options-menu): Cope if
3466 text-mode-hook is not a list.
3468 2002-03-17 Richard M. Stallman <rms@gnu.org>
3470 * emulation/pc-select.el (pc-selection-mode):
3471 Alter the existing global map, don't replace it.
3473 * files.el (list-directory): Set default-directory at the end.
3475 * dabbrev.el (dabbrev--goto-start-of-abbrev):
3476 Put a limit on field-beginning search.
3478 2002-03-17 Simon Josefsson <jas@extundo.com>
3480 * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
3481 (browse-url-mosaic): Use it.
3483 * net/browse-url.el (browse-url-filename-alist): Don't begin
3484 docstring with *, you don't want to set this one with M-x set-variable.
3486 * net/browse-url.el: Put * in user option doc strings.
3488 2002-03-17 Stefan Monnier <monnier@cs.yale.edu>
3490 * textmodes/sgml-mode.el (sgml-xml-mode): Renamed from sgml-xml.
3491 (sgml-xml-guess): Simplify.
3492 (sgml-mode-common): Remove (move into sgml-mode).
3493 (sgml-mode): Add code from sgml-mode-common.
3494 Remove redundant setting of indent-line-function.
3495 Don't set skeleton-transformation when in XML mode.
3497 * international/mule-diag.el (describe-char-after):
3498 Use `internal-describe-syntax-value' again (got lost somewhere).
3500 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
3501 Use unify-8859-on-decoding-mode.
3502 (unify-8859-on-decoding-mode): Also set translation-table-for-input.
3503 (ucs-insert): Give an error if the unicode char can't be created.
3505 * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
3506 (cvs-parse-status): Handle the "used to have a conflict" marker.
3508 2002-03-17 Kim F. Storm <storm@cua.dk>
3510 The following changes are related to the enhanced network process
3513 * simple.el: Update copyright.
3514 (clone-process): Use make-network-process to clone network
3515 processes. Get command list via (process-contact ... t).
3516 Use set-process-query-on-exit-flag and process-query-on-exit-flag
3517 instead of process-kill-without-query.
3518 (open-network-stream): Replaces C-version from process.c.
3519 (open-network-stream-nowait, open-network-stream-server): New funs.
3520 (process-kill-without-query): Replaces C-version from process.c.
3522 * files.el: Update copyright.
3523 (save-buffers-kill-emacs): Also check for active server
3524 processes. Use process-query-on-exit-flag. Only list processes
3525 which has the query-on-exit flag set in connection with user query.
3527 * shadowfile.el: Update copyright.
3528 (shadow-save-buffers-kill-emacs): Also check for active server
3529 processes. Use process-query-on-exit-flag.
3531 2002-03-16 Simon Marshall <simon.marshall@misys.com>
3533 * imenu.el (imenu-menubar-modified-tick): Renamed from
3534 imenu-update-menubar-modified-tick.
3535 (imenu-update-menubar): Update imenu-menubar-modified-tick
3536 whenever outer condition succeeds.
3538 * lazy-lock.el (save-buffer-state):
3539 Bind inhibit-modification-hooks and buffer-file-truename
3540 instead of before-change-functions and after-change-functions.
3542 2002-03-16 Eli Zaretskii <eliz@is.elta.co.il>
3544 * international/codepage.el (codepage-setup): Don't define a
3545 codepage if it is already defined.
3547 * textmodes/po.el (po-content-type-charset-alist): Convert the
3548 car of each association to a string.
3549 (po-find-file-coding-system-guts): If the charset matches a name
3550 of a codepage, set up that codepage and return it as a coding
3551 system to decode the file.
3552 (po-find-charset): Search for the Charset= header even if we've
3554 <top-level>: Remove the setup for all known codepages: it seems
3555 to cause crashes in the CCL driver.
3557 2002-03-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3559 * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
3560 (bibtex-entry-field-alist): Doc fix.
3562 2002-03-16 Richard M. Stallman <rms@gnu.org>
3564 * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
3565 Move definition above cperl-outline-regexp.
3567 * bindings.el (mode-line-mule-info): In computing help-echo prop,
3568 avoid using save-window-excursion. And compile the function.
3570 2002-03-15 Stefan Monnier <monnier@cs.yale.edu>
3572 * files.el (load-completion): New function.
3573 (load-library): Use it.
3575 2002-03-15 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3577 * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
3578 to match the actual code.
3580 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
3582 * textmodes/po.el (po-find-file-coding-system-guts):
3583 Use with-temp-buffer instead of po-with-temp-buffer.
3585 * international/mule-conf.el (file-coding-system-alist): Add an
3586 association for PO files.
3588 * textmodes/po.el: New file.
3590 2002-03-15 Gerd Moellmann <gerd@gnu.org>
3592 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3593 Fix simple loop indentation.
3595 2002-03-14 Miles Bader <miles@gnu.org>
3597 * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
3599 2002-03-14 Richard M. Stallman <rms@gnu.org>
3601 * textmodes/picture.el (picture-insert)
3602 (picture-clear-column, picture-draw-rectangle):
3603 Use move-to-column, not move-to-column-force.
3605 * dired.el (dired-readin): Clear out undo list.
3606 (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
3607 (dired-delete-entry): New function.
3608 (dired-internal-do-deletions): Use dired-fun-in-all-buffers
3609 and dired-delete-entry, to update this buffer (and others).
3611 * dired-aux.el (dired-fun-in-all-buffers): Moved to dired.el.
3613 * facemenu.el (facemenu-add-new-face):
3614 Pass region args to facemenu-set-face, when there is a region.
3615 (facemenu-set-foreground, facemenu-set-background)
3616 (facemenu-add-face): Doc fixes.
3618 * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
3620 2002-03-14 Miles Bader <miles@gnu.org>
3622 * emacs-lisp/debug.el: Require `button'.
3623 (debugger-mode-map): Set the parent keymap to `button-buffer-map',
3624 to get TAB and <backtab> bindings.
3626 * net/rlogin.el (rlogin-carriage-filter): Function removed.
3627 (rlogin): Don't install the `rlogin-carriage-filter' filter, as
3628 comint removes carriage returns itself now.
3630 * rfn-eshadow.el (rfn-eshadow-update-overlay):
3631 Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
3632 getting hosed by our own intangible property.
3634 2002-03-13 Stefan Monnier <monnier@cs.yale.edu>
3636 * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
3637 Add fortran-comment-line-start-skip to comment-start-skip.
3638 (fortran-comment-indent): Keep whole-line comments in column 0.
3639 (fortran-find-comment-start-skip): New arg `all'.
3640 If ALL is nil, make sure we only match comment-start-skip if we
3641 can't match fortran-comment-line-start-skip.
3642 Fix bug that made it return t but without moving point when
3643 matching '!'! (a false-comment followed by a real comment).
3644 (fortran-indent-comment): Use new `all' argument above.
3645 Be careful not to add an incorrect comment-starter like "C"
3647 (fortran-split-line): When splitting a comment, reuse the comment
3648 starter from the current line rather than fortran-comment-line-start.
3649 (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
3650 cleaner behavior of fortran-find-comment-start-skip.
3651 (fortran-fill): Don't be confused by ! inside a comment.
3652 (fortran-break-line): Minor cleanup and simplification.
3654 2002-03-13 Francesco Potorti` <pot@gnu.org>
3656 * progmodes/etags.el (tag-exact-file-name-match-p)
3657 (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
3660 2002-03-12 Colin Walters <walters@debian.org>
3662 * ibuffer.el (ibuffer-redisplay-current): Don't move point when
3663 redisplaying a line.
3665 2002-03-12 Jan D. <Jan.Djarv@mbox200.swipnet.se>
3667 * term/x-win.el (emacs-session-restore): Take previous id as
3669 (emacs-session-save): Add comment that return t means cancel shutdown
3671 * startup.el (command-line): Must check that x-session-previous-id
3672 is bound also, for non-X platforms.
3674 2002-03-12 Gerd Moellmann <gerd@gnu.org>
3676 * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
3677 (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
3679 (extended-loop-p, common-lisp-loop-part-indentation): New functions.
3680 (common-lisp-indent-function-1): Renamed from
3681 common-lisp-indent-function.
3682 (common-lisp-indent-function): Handle loop forms specially.
3683 (lisp-indent-defmethod): Use car/cdr instead of first/rest.
3684 (lisp-backquote-indentation): New user option.
3686 2002-03-12 Francesco Potorti` <pot@gnu.org>
3688 * progmodes/etags.el (tag-exact-file-name-match-p)
3689 (tag-file-name-match-p, tag-partial-file-name-match-p):
3690 Assume that the header of a tags section has either a number
3691 or nothing after the last comma.
3693 2002-03-11 Richard M. Stallman <rms@gnu.org>
3695 * imenu.el (imenu-update-menubar-modified-tick): New variable.
3696 (imenu-update-menubar): Don't call imenu--make-index-alist
3697 if buffer has not changed since last time.
3699 * desktop.el (desktop-buffer-handlers): Doc fix.
3700 (desktop-buffer-file): Explicitly return BUF.
3702 * paren.el (show-paren-function): Move back in other direction
3703 to verify the match is correct.
3705 * mail/supercite.el (sc-select-attribution): Accept whatever value
3706 we get in CHOICE; there is no value meaning "try again".
3708 2002-03-11 Colin Walters <walters@verbum.org>
3710 * shell.el (toplevel): Revert previous change to use pcomplete.
3711 (shell-mode): Ditto.
3712 (shell-pcomplete-setup-done): Remove.
3713 (shell-pcomplete): Ditto.
3714 (shell-pcomplete-reverse): Ditto.
3716 * comint.el: Remove documentation on setting up pcomplete.
3718 2002-03-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3720 * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
3723 * image.el (image-type-from-file-header): Make temporary buffer
3726 * subr.el (add-to-list): Doc fix.
3728 2002-03-11 Miles Bader <miles@gnu.org>
3730 * pcomplete.el (pcomplete-entries): Expand environment variables
3733 2002-03-10 Daniel Pfeiffer <occitan@esperanto.org>
3735 * play/mpuz.el: Use defface instead of facemenu-get-face.
3737 2002-03-10 Jan D. <Jan.Djarv@mbox200.swipnet.se>
3739 * startup.el (command-line): Add call to emacs-session-restore if
3740 both x-session-id and x-session-previous-id are strings.
3742 * term/x-win.el (x-handle-smid): New function.
3743 (emacs-session-filename): New function.
3744 (emacs-session-save): New function.
3745 (emacs-save-session-functions): New variable.
3746 (emacs-session-restore): New function.
3748 2002-03-09 Eli Zaretskii <eliz@is.elta.co.il>
3750 * simple.el (shell-command-on-region): Call push-mark with
3751 non-nil second arg, to suppress the "Mark set" message.
3753 2002-03-08 Richard M. Stallman <rms@gnu.org>
3755 * textmodes/picture.el (picture-forward-column): New arg `interactive'
3756 is non-nil for an interactive call. Use instead of interactive-p.
3757 (picture-backward-column): Likewise.
3759 * tar-mode.el (tar-untar-buffer): New function.
3761 * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
3762 Put the mouse-face on the entire xref, like the local keymap.
3764 * find-dired.el (find-name-dired): Use shell-quote-argument.
3766 2002-03-08 Daniel Pfeiffer <occitan@esperanto.org>
3768 * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
3769 (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
3770 (mpuz-allow-double-multiplicator): New options for nicer look and
3772 (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
3773 (mpuz-check-all-solved, mpuz-random-puzzle)
3774 (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
3775 (mpuz-show-solution): Functions streamlined and removed french
3776 style space before punctuation, added face support and optional
3777 solving of trivial results.
3779 2002-03-07 Colin Walters <walters@verbum.org>
3781 * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
3783 * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
3784 instead of "recency" for clarity.
3785 (ibuffer-compile-format): Document more. Handle new "summarizer"
3787 (ibuffer-fontify-region-function): Ditto.
3788 (ibuffer-insert-buffer-line): Ditto.
3789 (ibuffer-map-lines): Ditto.
3790 (ibuffer-insert-buffers-and-marks): Ditto.
3791 (ibuffer-update-title-and-summary): Renamed from
3792 `ibuffer-update-title'. Handle "summarizer" columns.
3793 (ibuffer-clear-summary-columns): New function.
3795 * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
3797 2002-03-07 Gerd Moellmann <gerd@gnu.org>
3799 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3800 Use the other-window instead of the other-frame functions when
3801 the window is dedicated.
3803 2002-03-06 ShengHuo ZHU <zsh@cs.rochester.edu>
3805 * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
3806 with SILENT so that a new field can be added.
3808 2002-03-06 Eli Zaretskii <eliz@is.elta.co.il>
3810 * files.el (make-auto-save-file-name): Make sure the produced file
3811 name does not contain characters that are invalid for DOS/Windows
3814 * dos-fns.el, w32-fns.el (make-auto-save-file-name):
3815 Remove replacement functions.
3817 2002-03-06 Gerd Moellmann <gerd@gnu.org>
3819 * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
3822 * vc.el (vc-branch-part): Add autoload cookie. This function can
3823 be called from vc-rcs-find-most-recent-rev when visiting a file
3824 checked into RCS in a CVS sandbox.
3826 2002-03-06 Andreas Schwab <schwab@suse.de>
3828 * progmodes/hideif.el: Augment expression parser to handle
3829 conditional expressions.
3830 (hif-token-regexp): Also match `?' and `:'.
3831 (hif-tokenize): Handle `?' and ':' as tokens.
3832 (hif-expr): Parse conditional expressions.
3833 (hif-or-expr): Parse `||' expressions.
3834 (hif-and-expr): Renamed from hif-term.
3835 (hif-conditional): New function to evaluate a conditional
3838 2002-03-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3840 * language/czech.el ("Czech"): Fix the documentation.
3842 * language/slovak.el ("Slovak"): Likewise.
3844 2002-03-05 ShengHuo ZHU <zsh@cs.rochester.edu>
3846 * xml.el (xml-parse-attlist): Accept empty strings.
3848 2002-03-05 Eli Zaretskii <eliz@is.elta.co.il>
3850 * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
3851 all terminals now support highlighting of some kind.
3853 * language/european.el (mac-roman): Fix the safe-chars property.
3855 2002-03-05 Andre Spiegel <spiegel@gnu.org>
3857 * vc.el (vc-transfer-file): Use `make-temp-file'.
3858 (vc-default-update-changelog): Remove conditional use of
3861 * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
3863 2002-03-05 Michael Kifer <kifer@cs.stonybrook.edu>
3865 * ediff-init.el: Comments.
3867 * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
3870 * ediff-mult.el (ediff-intersect-directories)
3871 (ediff-prepare-meta-buffer,ediff-get-directory-files-under-revision):
3873 (ediff-draw-dir-diffs): Now supports the "C" command in directory
3875 (ediff-dir-diff-copy-file): New function that implements copying
3876 of files from one Ediff dir to another
3877 (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
3878 (ediff-append-custom-diff): Better error msgs.
3880 * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
3881 (ediff-inferior-compare-regions): Use
3882 ediff-clone-buffer-for-region-comparison. Better and simpler interface.
3884 * ediff.el (ediff-directories-internal): Cleanup.
3885 (ediff-clone-buffer-for-region-comparison): Better interface.
3887 2002-03-04 Richard M. Stallman <rms@gnu.org>
3889 * emacs-lisp/easy-mmode.el (define-minor-mode):
3890 Use "P" in interactive spec of minor mode commands.
3892 2002-03-04 Stefan Monnier <monnier@cs.yale.edu>
3894 * faces.el (face-spec-choose): Allow `t' to appear before the end.
3895 (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
3896 (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
3897 (variable-pitch, trailing-whitespace): Don't use the old-style entries.
3898 (mode-line-inactive, header-line): Move the `t' section to the
3899 beginning so the `:inherit' setting can be shared.
3901 2002-03-04 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
3903 * net/snmp-mode.el: Require tempo when compiling to prevent
3904 warnings. Update copyright notice.
3906 * help.el (describe-key-briefly, describe-key): Interpret `undefined'
3907 like not defined at all.
3909 2002-03-03 Stefan Monnier <monnier@cs.yale.edu>
3911 * textmodes/sgml-mode.el: Change maintainer to FSF.
3912 (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
3913 (sgml-tags-invisible, sgml-beginning-of-tag):
3914 Allow _ : and non-ASCII in tag names, as required for XML.
3915 (sgml-name-char): Don't assume anything about charsets handled by
3918 * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
3919 where one of the buffers is narrowed.
3921 * hexl.el (hexlify-command, dehexlify-command): Remove.
3922 (hexlify-buffer, dehexlify-buffer): Use call-process-region
3923 rather than shell-command-on-region.
3925 * newcomment.el (comment-forward): Use forward-comment to skip
3926 over whitespace (or comments) even when comment-use-syntax is nil.
3928 * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
3930 * textmodes/xml-lite.el: New file.
3932 2002-03-03 Richard M. Stallman <rms@gnu.org>
3934 * textmodes/artist.el (artist-system): Use make-temp-file.
3936 * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
3938 * mail/sendmail.el (mail-recover-1): Increase non-random-len
3939 by 1 since we changed make-auto-save-file-name to add one
3940 fewer character to the buffer name.
3941 (mail-recover): Really show point at the right place
3942 in the *Directory* buffer.
3944 * files.el (make-auto-save-file-name): Use make-temp-file.
3946 * terminal.el (te-create-terminfo): Use make-temp-file
3947 to create the source file in a safe way.
3949 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il>
3951 * cus-start.el: Rename automatic-hscroll-step and
3952 automatic-hscroll-margin into hscroll-step and hscroll-margin.
3954 * frame.el (auto-hscroll-mode): Renamed from automatic-hscrolling.
3955 (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
3957 * mouse.el (mouse-region-delete-keys): Add deletechar.
3959 2002-03-03 Sam Steingold <sds@gnu.org>
3961 * play/snake.el (snake-score-file): Fixed parens (broken by the
3963 * play/tetris.el (tetris-score-file): Ditto.
3965 2002-03-03 Richard M. Stallman <rms@gnu.org>
3967 * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
3969 * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
3971 * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
3972 (gamegrid-make-mono-tty-face): Fix usage of condition-case.
3974 2002-03-03 Thien-Thi Nguyen <ttn@gnu.org>
3976 * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
3977 instead of `buffer-substring-no-properties' to support enriched mode.
3979 2002-03-02 Richard M. Stallman <rms@gnu.org>
3981 * find-dired.el (find-grep-dired): Call shell-quote-argument.
3982 Specify the -e option.
3983 Rename arg to `regexp'.
3985 2002-03-02 Milan Zamazal <pdm@zamazal.org>
3987 * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
3989 2002-03-02 Miles Bader <miles@gnu.org>
3991 * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
3992 event-modifiers before looking up in `mouse-wheel-scroll-amount'.
3993 If there's no applicable modifiers entry in the alist in
3994 `mouse-wheel-scroll-amount', fall back to the default, not to
3995 nil (which causes full screen scrolls).
3997 2002-03-01 Andreas Schwab <schwab@suse.de>
3999 * textmodes/texnfo-upd.el (texinfo-start-menu-description):
4000 Remove extra paren in regexp.
4002 2002-03-01 Eli Zaretskii <eliz@is.elta.co.il>
4004 * mouse.el (mouse-show-mark): Use display-mouse-p, not
4005 display-graphic-p, to decide whether to move point or use the
4008 2002-02-28 Colin Walters <walters@verbum.org>
4010 * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
4012 * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
4013 `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
4014 (calc-temp-file-name): Use `make-temp-file'.
4016 2002-02-28 Richard M. Stallman <rms@gnu.org>
4018 * font-lock.el (java-font-lock-extra-types):
4019 Match java.net.URL, etc.
4021 2002-02-28 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4023 * hexl.el (hexl-options): Doc fix.
4024 Update Commentary section.
4026 * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
4029 2002-02-28 Andre Spiegel <spiegel@gnu.org>
4031 * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
4032 the user to do that first.
4033 (vc-update): New function.
4035 * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
4036 which calls vc-update. Use the term "Base Version" instead of
4037 "Last Version" for the entries "Revert" and "Compare".
4039 2002-02-28 Kim F. Storm <storm@cua.dk>
4041 * simple.el (shell-command-on-region): Report non-zero exit
4042 status in mode line instead of buffer.
4044 2002-02-27 Richard M. Stallman <rms@gnu.org>
4046 * comint.el (comint-preoutput-filter-functions): Doc fix.
4047 (comint-output-filter-functions, comint-input-filter-functions)
4048 (comint-redirect-filter-functions): Likewise.
4050 (comint-redirect-preoutput-filter): Do the local-hook
4051 handling of t when running comint-redirect-filter-functions.
4052 (comint-output-filter): Likewise for comint-preoutput-filter-functions.
4054 2002-02-26 Richard M. Stallman <rms@gnu.org>
4056 * paths.el (remote-shell-program): Add doc string.
4058 2002-02-26 Colin Walters <walters@debian.org>
4060 * ibuf-ext.el (sorter mode-name): New.
4061 (ibuffer-do-occur): Don't quote ibuffer-marked-char.
4063 * calc/calc-ext.el (calc-scroll-left): Call scroll-left
4064 interactively, so they do something.
4065 (calc-scroll-right): Ditto.
4067 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
4069 * international/mule.el (ctext-pre-write-conversion): Handle the
4070 case when FROM is a string, and when we are called from
4071 build_annotations_2.
4073 2002-02-26 Richard M. Stallman <rms@gnu.org>
4075 * rect.el (clear-rectangle-line): Reindent to the same column
4076 that move-to-column reached when it tried to go to endcol.
4078 * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
4080 2002-02-26 Ivar Rummelhoff <ivarru@math.uio.no>
4082 * winner.el (winner-boring-buffers, winner-set): A window which
4083 displays a buffer whose name is in the list
4084 `winner-boring-buffers', will no longer be restored by `winner-undo'.
4085 (winner-sorted-window-list): Used to improve comparison between
4086 window configurations.
4087 (winner-win-data): Simplified and moved.
4088 (winner-conf): Simplified (now uses `winner-win-data').
4089 (winner-change-fun, winner-save-old-configurations)
4090 (winner-save-(un)conditionally, winner-redo): Changes made while in
4091 the minibuffer will be ignored. (Such changes are undone upon
4092 exit for the minibuffer, anyway.)
4093 (winner-set-conf): Preserve selected window whenever possible.
4094 (winner-make-point-alist): Simplified.
4095 (winner-mode, winner-save-unconditionally): Save current window
4096 configuration on entering minibuffer.
4097 (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
4098 since it does not change the overall behavior of Emacs.
4100 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
4102 * international/mule-conf.el (compound-text): Renamed back from
4103 compound-text-no-extensions.
4104 (ctext-no-compositions): Remove the mime-charset property.
4105 (compound-text-with-extensions): Renamed from compound-text.
4106 (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
4108 2002-02-26 Juanma Barranquero <lektu@terra.es>
4110 * faces.el (list-faces-display): Fix typo.
4112 2002-02-25 Richard M. Stallman <rms@gnu.org>
4114 * frame.el (focus-follows-mouse): Doc fix.
4116 2002-02-26 Miles Bader <miles@gnu.org>
4118 * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
4119 to `define-key', since it no longer accepts the latter.
4121 2002-02-25 Jason Rumney <jasonr@gnu.org>
4123 * term/w32-win.el (mouse-wheel-scroll-line): Use car of
4124 mouse-wheel-scroll-amount.
4126 * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
4129 * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
4131 2002-02-25 Andre Spiegel <spiegel@gnu.org>
4133 * vc.el (vc-diff-switches-list): Fix prev change, making the macro
4134 consistent with the others that take a backend name as a symbol.
4136 * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
4138 2002-02-25 Kim F. Storm <no-spam@cua.dk>
4140 * comint.el (comint-replace-by-expanded-filename): Do nothing if
4141 comint-match-partial-filename returns nil.
4143 * shell.el (shell-pcomplete-setup-done): New variable.
4144 (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
4145 (shell-pcomplete-reverse): Ditto.
4147 2002-02-25 Per Abrahamsen <abraham@dina.kvl.dk>
4149 * ps-print.el (ps-print-printer): Added `lpr' customize group member.
4151 2002-02-25 Juanma Barranquero <lektu@terra.es>
4153 * subr.el (save-match-data): Doc fix.
4155 * ielm.el (ielm-prompt): Allow customization; make it read-only.
4157 2002-02-25 Kim F. Storm <storm@cua.dk>
4159 * shell.el (shell-mode-map): Add "Complete" header so completion
4160 menu is shown on the menu bar in shell mode.
4162 2002-02-25 Stefan Monnier <monnier@cs.yale.edu>
4164 * ielm.el (ielm-match-data): New var.
4165 (inferior-emacs-lisp-mode): Make it buffer-local.
4166 (ielm-eval-input): Use it to preserve match-data between inputs.
4168 2002-02-24 Juanma Barranquero <lektu@terra.es>
4170 * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
4172 2002-02-24 Per Abrahamsen <abraham@dina.kvl.dk>
4174 * cus-edit.el (custom-unlispify-remove-prefixes): Add to
4175 `custom-buffer' customize group.
4177 2002-02-23 Kim F. Storm <storm@cua.dk>
4179 * help.el (where-is): Use remap-command.
4181 * help-fns.el (describe-function-1): Use remap-command.
4183 * subr.el (global-set-key, local-set-key): Undo 2002-02-06
4184 change (no longer accept a symbol for the KEY argument).
4186 2002-02-23 Colin Walters <walters@debian.org>
4188 * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
4189 * calc/calcalg2.el (math-solve-get-sign): Ditto.
4191 * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
4192 in generated function.
4194 * ibuf-ext.el (ibuffer-old-time): Change to hours.
4195 (ibuffer-mark-old-buffers): Handle it.
4197 * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
4198 (toplevel): Bind them.
4199 (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
4200 not necessary now that we use pcomplete.
4202 * comint.el: Document how use new pcomplete completion facility.
4204 2002-02-23 Richard M. Stallman <rms@gnu.org>
4206 * mail/rmailsum.el (rmail-summary-output): Properly advance
4207 to next message, by calling rmail-summary-goto-msg.
4209 * net/browse-url.el (browse-url-galeon): Specify --existing
4210 for an existing window. Use --noraise rather than --no-raise.
4213 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
4215 * progmodes/etags.el (find-tag-noselect, find-tag)
4216 (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
4217 Fix a typo in doc strings.
4219 2002-02-20 Deepak Goel <deego@glue.umd.edu>
4221 * play/snake.el (snake-velocity-queue, snake-update-velocity)
4222 (snake-final-x-velocity, snake-final-y-velocity):
4223 New variable and functions. Store user's keypresses
4224 into a queue and pop from the queue each subsequent turn.
4225 (snake-update-game, snake-move-left)
4226 (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
4227 (snake-start-game): Use that queue.
4228 (snake-use-glyphs-flag): Renamed from snake-use-glyphs.
4229 (snake-use-color-flag): Likewise.
4230 (snake-mode): Rename uses of those variables.
4232 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
4234 Support for ICCCM Extended Segments in X selections:
4236 * international/mule-conf.el (ctext-no-compositions): New coding
4238 (compount-text-no-extensions): Renamed from compound-text.
4239 (x-ctext-no-extensions, ctext-no-extensions): Aliases for
4240 compound-text-no-extensions.
4241 (compound-text): Redefined using post-read and pre-write conversions.
4243 * international/mule.el (non-standard-icccm-encodings-alist)
4244 (non-standard-designations-alist): New variables.
4245 (ctext-post-read-conversion, ctext-pre-write-conversion):
4248 2002-02-21 Jonathan Kamens <jik@kamens.brookline.ma.us>
4250 * vc.el (vc-default-init-version): Update documentation to
4251 indicate that the backend can override the default init version.
4252 (vc-register): Use the backend init-version function, if it
4253 exists, to determine the initial version of a file.
4254 (vc-diff-switches-list): Don't symbol-quote backend, since it's
4255 already a symbol. Don't fail if vc-BACKEND-diff-switches isn't bound.
4257 * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
4258 not version-controlled. This is necessary, e.g., if the file has
4259 just been reverted, and thus was previously under version control
4260 but isn't any longer.
4261 (vc-find-file-hook): Likewise.
4263 2002-02-21 Martin Lorentzson <Martin.Lorentzson@telia.com>
4265 * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
4266 (vc-cvs-sticky-tag-display): New variable.
4267 (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
4268 (vc-cvs-checkin): If the input revision is a valid symbolic tag
4269 name, we create it as a branch, commit and switch to it.
4270 (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
4271 (vc-cvs-valid-symbolic-tag-name-p): New function.
4272 (vc-cvs-parse-sticky-tag): New function.
4273 (vc-cvs-parse-entry): Added parsing of sticky tags.
4275 2002-02-21 Per Abrahamsen <abraham@dina.kvl.dk>
4277 * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
4278 nil, and then explicitly set the standard-value to t.
4280 2002-02-20 Sam Steingold <sds@gnu.org>
4282 * textmodes/flyspell.el (flyspell-mode): Autoload the variable
4283 since it is used in the menu bar.
4285 2002-02-20 Richard M. Stallman <rms@gnu.org>
4287 * simple.el (shell-command-on-region): Display the exit status
4288 when a command fails.
4290 * subr.el (add-hook): Doc fix.
4292 * frame.el (other-frame): Doc fix.
4294 * simple.el (yank): Clear `field' property.
4296 2002-02-20 Tom Tromey <tromey@cachet>
4298 * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
4299 natural paragraph boundaries. Don't fail at beginning of buffer.
4301 2002-02-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4303 * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
4304 call the argument "arg" to match plain next-line and
4305 previous-line. From Kevin Ryde <user42@zip.com.au>.
4307 2002-02-19 Sam Steingold <sds@gnu.org>
4309 * mwheel.el (mouse-wheel-scroll-amount): Can specify different
4310 scroll amounts for different modifiers now.
4311 (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
4313 (mouse-wheel-mode): Ditto.
4315 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il>
4317 * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
4318 around function body.
4320 * net/browse-url.el (browse-url-maybe-new-window): Reverse the
4321 sense of the comparison, to match the doc strings of functions
4322 that use this macro.
4324 2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
4326 * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
4328 * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
4329 * menu-bar.el (menu-bar-mode): Ditto.
4331 2002-02-18 Andreas Schwab <schwab@suse.de>
4333 * replace.el (query-replace-regexp-eval): Doc fix.
4335 2002-02-18 Colin Walters <walters@verbum.org>
4337 * calc/calcalg2.el (math-solve-get-int): Convert return value from
4338 `math-get-from-counter' to a string before calling `concat' on it.
4340 * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
4341 (calc-public-autoloads): Obsolete; remove.
4342 (calc-private-autoloads): Ditto.
4343 (calc-add-autoloads): Ditto.
4345 * calc/calc-macs.el (calc-with-default-simplification): Use &rest
4348 2002-02-17 Jason Rumney <jasonr@gnu.org>
4350 * w32-win.el (x-option-alist, x-long-option-alist)
4351 (x-switch-definitions): Remove, use command-line-x-option-alist
4352 instead to be consistent with X.
4353 (x-handle-initial-switch): New function.
4355 2002-02-17 Eli Zaretskii <eliz@is.elta.co.il>
4357 * faces.el (mode-line-inactive, header-line): Add the :inherit
4358 attribute for the tty case.
4360 2002-02-17 stanislav shalunov <shalunov@internet2.edu>
4362 * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
4363 invoked from Rmail with full headers displayed.
4365 2002-02-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
4367 * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
4369 * textmodes/paragraphs.el (mark-paragraph): Ditto.
4371 2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
4373 * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
4374 (menu-bar-tools-menu): Removed speedbar.
4376 * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
4377 and `flyspell-mode' entries.
4379 * textmodes/flyspell.el (flyspell): Add to ispell group.
4381 2002-02-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
4383 * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
4385 (mark-defun): Mark more if repeated.
4387 2002-02-17 Colin Walters <walters@verbum.org>
4389 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
4391 * ibuffer.el (ibuffer-truncate-lines): New option.
4392 (ibuffer-mode): Use it.
4394 2002-02-17 Kim F. Storm <storm@cua.dk>
4396 * cus-start.el: Add mouse-highlight.
4398 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
4400 * Makefile.in (DONTCOMPILE): Remove cus-start.el.
4402 * cus-start.el: Add automatic-hscroll-margin and
4403 automatic-hscroll-step.
4405 2002-02-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4407 * cus-start.el (x-autoselect-window): Allow customization.
4409 * eshell/em-alias.el (eshell-alias-initialize): Do not use
4412 * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
4414 * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
4416 * eshell/em-glob.el (eshell-glob-initialize): Likewise.
4418 * eshell/em-hist.el (eshell-hist-initialize): Likewise.
4420 * eshell/em-pred.el (eshell-pred-initialize): Likewise.
4422 * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
4424 * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
4426 * eshell/em-smart.el (eshell-smart-initialize): Likewise.
4428 * eshell/em-unix.el (eshell-unix-initialize): Likewise.
4430 * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
4432 * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
4434 * eshell/esh-io.el (eshell-io-initialize): Likewise.
4436 * eshell/esh-mode.el (eshell-mode): Likewise.
4438 * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
4440 * eshell/esh-var.el (eshell-var-initialize): Likewise.
4442 * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
4444 * progmodes/idlwave.el (idlwave-mode): Likewise.
4446 * textmodes/reftex-sel.el (reftex-select-label-mode)
4447 (reftex-select-bib-mode): Likewise.
4449 2002-02-16 John Wiegley <johnw@gnu.org>
4451 * eshell/em-hist.el (eshell-hist-initialize): When in the
4452 minibuffer, use the global value of `eshell-history-ring', and
4453 never save it to disk, or ask to save it to disk. This allows
4454 users of session.el to control whether its global state should be
4456 (eshell-add-command-to-history): Don't write Eshell's history out
4457 to disk, let the governing mode control that upon exit.
4459 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
4461 * eshell/eshell.el (eshell-command): Before reading from the
4462 minibuffer, add eshell-add-command-to-history to
4463 minibuffer-exit-hook, and remove it after read-from-minibuffer
4466 * eshell/em-hist.el (eshell-add-input-to-history): New function,
4467 with most of the code from eshell-add-to-history.
4468 (eshell-add-command-to-history): New function, to record in
4469 eshell-history the commands run via eshell-command.
4470 (eshell-add-to-history): Call eshell-add-command-to-history to do
4473 2002-02-16 John Wiegley <johnw@gnu.org>
4475 * eshell/esh-ext.el (eshell-external-command): Added a fix for
4476 XEmacs' new dired.el, which adds a global entry in the
4477 `file-name-handler-alist'.
4479 2002-02-16 John Wiegley <johnw@gnu.org>
4481 * align.el (align-region): Added a missing name argument.
4483 2002-02-16 John Wiegley <johnw@gnu.org>
4485 * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
4486 after the #! of a shell interpretor specification.
4488 2002-02-15 Richard M. Stallman <rms@gnu.org>
4490 * help.el (describe-key-briefly): Make output in INSERT case
4491 look just like what is displayed in the normal case.
4493 2002-02-15 Andreas Schwab <schwab@suse.de>
4495 * textmodes/tex-mode.el (tex-font-lock-keywords-2):
4496 Require non-letter after specials.
4498 2002-02-15 Eli Zaretskii <eliz@is.elta.co.il>
4500 * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
4502 2002-02-15 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
4504 * simple.el (mark-word): Mark more if repeated.
4505 * textmodes/paragraphs.el (mark-paragraph): Ditto.
4506 (mark-end-of-sentence): Ditto.
4508 2002-02-15 Per Abrahamsen <abraham@dina.kvl.dk>
4510 * wid-edit.el (widgetp): Made it more robust.
4512 2002-02-14 Per Abrahamsen <abraham@dina.kvl.dk>
4514 * facemenu.el (describe-text-done): New function.
4515 (describe-text-mode-map): New variable.
4516 (describe-text-mode-hook): New option.
4517 (describe-text-mode): New function.
4518 (describe-text-widget): New function.
4519 (describe-text-sexp): New function.
4520 (describe-text-properties): New function.
4521 (describe-text-category): New command.
4522 (describe-text-at): New command.
4523 (facemenu-menu): Replace `list-text-properties-at' with
4524 `describe-text-at' in the menu.
4526 * wid-edit.el (widgetp): New function.
4527 * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
4529 * emacs-lisp/pp.el (pp-to-string): Autoloaded.
4531 * wid-browse.el: Removed version and x-url keywords.
4533 2002-02-13 Kim F. Storm <storm@cua.dk>
4535 * cus-start.el (mode-line-in-non-selected-windows):
4536 Allow customization.
4538 2002-02-13 Richard M. Stallman <rms@gnu.org>
4540 * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
4541 Tell bibtex-parse-keys to output no progress messages.
4543 2002-02-12 Eli Zaretskii <eliz@is.elta.co.il>
4545 * progmodes/pascal.el (pascal-imenu-generic-expression):
4546 Add menu-title and fix parentheses.
4548 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
4550 * menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
4551 (menu-bar-options-menu): Don't set default value for `truncate-lines'.
4553 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
4555 * menu-bar.el (menu-bar-options-save): Only save
4556 `current-language-environment' and `default-input-method' when
4557 marked as customized.
4559 * international/mule-cmds.el
4560 (setup-specified-language-environment):
4561 Mark `current-language-environment' as customized.
4562 (set-input-method): Mark `default-input-method' as customized when
4563 called interactively.
4564 (toggle-input-method): Ditto.
4566 2002-02-11 Colin Walters <walters@verbum.org>
4568 * ibuffer.el (ibuffer-switch-format): Supply required argument for
4569 `ibuffer-current-formats'.
4571 2002-02-11 Miles Bader <miles@gnu.org>
4573 * faces.el (mode-line-inactive): Add dark-background variant.
4575 2002-02-11 Per Abrahamsen <abraham@dina.kvl.dk>
4577 * toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
4578 * menu-bar.el (menu-bar-mode): Ditto.
4579 * cus-edit.el (customize-mark-to-save): Always save variables
4580 without a standard value.
4582 * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
4583 (menu-bar-options-save): Ditto.
4584 (menu-bar-showhide-menu): Ditto.
4585 (menu-bar-options-menu): Ditto.
4586 (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
4587 (menu-bar-scroll-bar-none): Remove.
4588 (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
4589 expressions instead.
4591 * cus-edit.el (customize-set-value): Return value.
4592 (customize-set-variable): Ditto.
4593 (customize-save-variable): Ditto.
4594 (customize-set-variable): Load dependencies before setting value.
4595 (custom-load-symbol): Autoload it.
4596 (customize-mark-as-set): New function.
4598 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il>
4600 * cus-start.el: Don't warn about "x-*" symbols when building a
4603 2002-02-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4605 * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
4607 (strokes-help): Do not use doubled with-output-to-temp-buffer.
4608 Fix the help string.
4609 (strokes-prompt-user-save-strokes): Fix typo.
4610 (strokes-list-strokes): Use proper exit-action argument for
4611 view-buffer. Update copyright notice.
4613 * international/mule-diag.el: Various doc and message fixes.
4614 (non-iso-charset-alist): Add mac-roman. Don't add entries for
4615 codepages already present.
4616 (list-block-of-chars): Display space for null entries in
4617 translation table. Display tab specially.
4618 (list-non-iso-charset-chars): Check for null charsets. Use pop
4619 for clarity. Don't break 8-bit sets into sections between ranges.
4620 (list-charset-chars): Avoid indent-tabs-mode.
4621 (describe-char-after): Maybe use the text property for syntax
4622 table information. Maybe report char-code-property-table info.
4623 Maybe report character's unicode. Tweak printing of list info.
4624 (list-input-methods): Add xref buttons.
4625 (dump-charsets, dump-codings): Deleted (obsolete).
4626 From Dave Love <fx@gnu.org>.
4628 2002-02-10 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4630 * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
4632 2002-02-10 Michael Kifer <kifer@cs.stonybrook.edu>
4634 * viper-util.el (viper-read-key-sequence): Fix so it'll read
4635 fast key sequences in emacs native mode
4636 (viper-events-to-keys): Delete.
4638 * viper.el (describe-key, describe-key-briefly): Get rid of
4639 viper-events-to-keys.
4641 * ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch.
4643 * ediff-wind.el (ediff-setup-control-frame):
4644 Use ediff-has-gutter-support.
4646 * ediff-util.el (ediff-dispose-of-variant-according-to-user):
4647 check if buff is alive.
4649 * ediff.el: Typo in comment.
4651 2002-02-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4653 * menu-bar.el (menu-bar-options-save): Take care of
4654 line-number-mode and column-number-mode variables.
4655 (menu-bar-showhide-menu): New menu-items "Show Line Number" and
4656 "Show Column Number" in "Show/Hide" menu.
4658 2002-02-09 Richard M. Stallman <rms@gnu.org>
4660 * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
4662 2002-02-09 Kim F. Storm <storm@cua.dk>
4664 * faces.el (mode-line-inactive): New face for mode-line for
4665 non-selected windows.
4666 (mode-line): Doc fix: Only used for selected window.
4668 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
4670 * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
4671 name to "Insert Diary Entry".
4673 2002-02-08 Stefan Monnier <monnier@cs.yale.edu>
4675 * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
4676 (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
4678 2002-02-08 Richard M. Stallman <rms@gnu.org>
4680 * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
4682 2002-02-08 Andreas Schwab <schwab@suse.de>
4684 * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
4687 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
4689 * net/ange-ftp.el (ange-ftp-process-handle-line)
4690 (ange-ftp-set-xfer-size): If the file's size is a float, divide
4691 by 1024 instead of using ash.
4693 * international/mule-cmds.el (select-safe-coding-system):
4694 State the buffer's name in the message popped in the *Warning* buffer,
4695 and make sure the offending buffer is displayed.
4697 2002-02-07 Markus Rost <rost@math.ohio-state.edu>
4699 * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
4701 2002-02-07 Richard M. Stallman <rms@gnu.org>
4703 * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
4705 * register.el (list-registers): New command.
4706 (describe-register-1): New subroutine, taken out of view-register.
4708 * emacs-lisp/copyright.el (copyright-regexp):
4709 Delete the unibyte copyright symbol; it's redundant.
4710 Fix a spazz in the multibyte encoding here.
4712 2002-02-07 Dave Love <fx@gnu.org>
4714 * language/cyril-util.el (cyrillic-encode-koi8-r-char)
4715 (cyrillic-encode-alternativnyj-char): Get translation tables from
4716 symbol properties, not as variables.
4717 (standard-display-cyrillic-translit): Include unicodes.
4719 2002-02-06 Kim F. Storm <storm@cua.dk>
4721 * help.el (where-is): Report remapped commands.
4723 * help-fns.el (describe-function-1): Ditto.
4725 * subr.el (global-set-key, local-set-key): Accept a symbol for the
4726 KEY argument (like define-key).
4728 2002-02-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4730 * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
4732 2002-02-06 Richard M. Stallman <rms@gnu.org>
4734 * mail/mailabbrev.el: Require sendmail only at compile time.
4735 (mail-mode-header-syntax-table): Var deleted.
4736 (mail-abbrev-syntax-table): Init to nil, will compute when needed.
4737 (sendmail-pre-abbrev-expand-hook): Only temporarily change
4738 local-abbrev-table and the syntax table.
4739 Compute mail-abbrev-syntax-table if that has not been done.
4741 * progmodes/compile.el (grep-compute-defaults): Definition moved up.
4743 * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
4744 (debugger-frame-number): Figure out the offset directly.
4745 (debugger-setup-buffer): Don't use debugger-frame-offset.
4746 (debugger-frame, debugger-frame-clear): Likewise.
4747 (debugger-jump): Don't alter debugger-frame-offset.
4749 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4750 Replace foo-p as var name with foo-flag, not foo-p-flag.
4752 * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
4753 (highlight-changes-passive-string): Default to -Chg.
4754 (highlight-changes-global-modes): Doc fix.
4756 * dired.el (dired-get-filename): Add /: when appropriate
4757 to avoid taking a local name as remote.
4759 * files.el (file-name-non-special): Add special handling for
4760 file-name-sans-versions, file-name-completion, and
4761 file-name-all-completions.
4763 * isearch.el (isearch-update): Don't update display in kbd macro.
4764 (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
4766 * subr.el (force-mode-line-update): Doc fix.
4768 * subr.el (atomic-change-group, prepare-change-group)
4769 (activate-change-group, accept-change-group, cancel-change-group):
4772 * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
4773 (transpose-subr-1): Use atomic-change-group.
4775 * subr.el (add-minor-mode): Include the mode's lighter string
4776 in the minor mode menu item name.
4778 * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
4779 rmail-count-screen-lines starting from (point-min).
4781 * startup.el (use-fancy-splash-screens-p): Need 19 lines,
4782 beyond the image height, to use the fancy splash screen.
4784 * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
4785 (text-mode): Set text-mode-variant here.
4787 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il>
4789 * play/pong.el (pong-height): Don't use height that exceeds the
4791 (pong-border-options): Make the border colors slightly more bright.
4793 * play/gamegrid.el (gamegrid-display-type): Treat any
4794 color-capable display as color-x, if display-color-p is fboundp.
4795 (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
4796 (gamegrid-make-color-tty-face): Use the value of color, not the
4797 symbol itself. Don't call gamegrid-color.
4799 2002-02-05 Eli Zaretskii <eliz@is.elta.co.il>
4801 * gud.el (gud-refresh): Call recenter only after we are sure we
4802 are in the right window.
4804 2002-02-05 Per Abrahamsen <abraham@dina.kvl.dk>
4806 * cus-edit.el (customize-mark-to-save): New function.
4807 * menu-bar.el (menu-bar-options-save): Rewrote.
4809 2002-02-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4811 * cus-start.el (x-use-underline-position-properties):
4812 Allow customization.
4814 2002-02-04 Simon Josefsson <jas@extundo.com>
4816 * dired.el (dired-load-hook, dired-mode-hook)
4817 (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
4819 2002-02-03 Colin Walters <walters@verbum.org>
4821 * ibuf-ext.el (ibuffer-filter-format-alist)
4822 (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
4824 * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
4825 is now the Emacs CVS tree.
4826 (ibuffer-formats): Doc fix.
4827 (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
4828 (ibuffer-current-format): Use them.
4829 (ibuffer-recompile-formats, ibuffer-check-formats)
4830 (ibuffer-switch-format, ibuffer-update-title):
4831 Add support for ibuffer-filter-format-alist.
4832 (define-ibuffer-column process): Remove unncessary consing.
4834 * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
4835 for a summary column.
4837 2002-02-03 Andreas Schwab <schwab@suse.de>
4839 * window.el (save-selected-window): Move macro before first use.
4840 (balance-windows): Fix misplaced parenthesis.
4842 2002-02-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4844 * calculator.el (calculator-displayers): Doc fixes.
4846 2002-02-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4848 * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
4849 (menu-bar-options-save): Save also the value of `display-time-mode'.
4850 (showhide-date-time): New function.
4851 (menu-bar-showhide-menu): New menu-item "Date and time".
4853 2002-02-03 Eli Zaretskii <eliz@is.elta.co.il>
4855 * mail/rmail.el (rmail): Use find-buffer-visiting instead of
4856 get-file-buffer to check for rmail buffer existence.
4858 * term.el (term-emulate-terminal): Extract proper command string
4859 which is supplied to term-command-hook.
4861 2002-02-03 Richard M. Stallman <rms@gnu.org>
4863 * international/quail.el (quail-help): Don't call help-setup-xref.
4865 * international/mule-cmds.el (describe-input-method):
4866 Call help-setup-xref here.
4867 (describe-current-input-method): Doc fix.
4869 * novice.el (disabled-command-hook): Clarify output text.
4870 Indent the paragraph from the command's doc string.
4872 * dabbrev.el (dabbrev--goto-start-of-abbrev):
4873 Exit loop on beginning of field rather than bobp.
4875 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
4877 * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
4878 the message text into the *mail* buffer, and restore the pruned
4881 * mail/rmail.el (rmail-redecode-body): Prune the headers before
4882 looking for X-Coding-System header, and restore the pruned state
4885 2002-02-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4887 * cus-edit.el (customize-save-variable): Fix typo in prompt.
4889 These changes integrate new version of flyspell.el from its
4890 maintainer, Manuel Serrano:
4892 * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
4893 (flyspell-mode-on, flyspell-notify-misspell)
4894 (flyspell-small-region, flyspell-external-point-words)
4895 (flyspell-large-region): Use it
4896 (flyspell-before-incorrect-word-string)
4897 (flyspell-after-incorrect-word-string): New user options.
4898 (make-flyspell-overlay): Use them.
4899 (flyspell-version): New function.
4900 (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
4901 definitions to use :weight.
4902 (flyspell-insert-function): New user option.
4903 (flyspell-auto-correct-word, flyspell-correct-word)
4904 (flyspell-xemacs-correct): Use it.
4905 (flyspell-define-abbrev): New function.
4906 (flyspell-auto-correct-word, flyspell-correct-word)
4907 (flyspell-xemacs-correct): Use it.
4908 (make-flyspell-overlay): Use `evaporate' property.
4909 (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
4910 (flyspell-emacs-popup): Use `session' instead of `accept'.
4911 (flyspell-auto-correct-previous-pos): New variable.
4912 (flyspell-auto-correct-previous-hook)
4913 (flyspell-auto-correct-previous-word): New functions.
4915 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
4917 * novice.el (enable-command): If Emacs was invoked as "emacs -q",
4918 don't alter the user's ~/.emacs.
4919 (disable-command): If user-init-file is nil or does not exist,
4920 default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
4921 But don't alter the init file if Emacs was invoked as "emacs -q"
4923 2002-02-01 Stefan Monnier <monnier@cs.yale.edu>
4925 * mail/sendmail.el (mail-mode): Undo half of last change.
4927 * indent.el (indent-for-tab-command): Remove spurious code.
4929 * hi-lock.el (hi-lock-find-patterns): Save restriction.
4931 2002-02-01 Eli Zaretskii <eliz@is.elta.co.il>
4933 * calendar/time-date.el: Moved from lisp/gnus.
4935 * calendar/parse-time.el: Ditto.
4937 2002-01-31 Richard M. Stallman <rms@gnu.org>
4939 * international/iso-acc.el (iso-languages): Fix ", " in French.
4941 * cus-start.el (history-length): Specify customization for it.
4943 * emacs-lisp/debug.el (debugger-setup-buffer):
4944 When an eval-buffer frame was reading from a buffer,
4945 insert indication of the buffer position.
4946 (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
4947 (debugger-frame-clear, debugger-frame): Error on non-frame line.
4949 * simple.el (shell-command-on-region): Err if no mark
4950 before reading the command string.
4952 * hl-line.el (hl-line-highlight, hl-line-unhighlight):
4953 Definitions moved down after hl-line-mode var's definition.
4955 * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
4956 (hilit-chg-set-face-on-change): Rename arg.
4957 (hilit-chg-make-ov): Detect error earlier.
4959 * ediff-hook.el: Delete autoload cookies.
4961 * comint.el (comint-scroll-show-maximum-output): Default is t.
4963 * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
4964 (batch-byte-compile-if-not-done): New function.
4966 * Makefile.in (compile): New target.
4967 (compile-always): Renamed from compile-files.
4968 (compile-after-backup): Renamed from compile.
4969 (bootstrap): Depend on compile-always, not compile-files.
4971 * emulation/pc-select.el (pc-select-save-and-set-mode):
4972 Properly use MODE-VAR.
4974 2002-01-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4976 * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
4977 Version" to "About Emacs".
4978 (menu-bar-options-save): Add `default-frame-alist'
4980 (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
4981 of the variable `scroll-bar-mode'.
4983 * startup.el (normal-splash-screen, display-splash-screen):
4984 New functions (separated from command-line-1).
4985 (command-line-1): Use them.
4987 2002-01-28 Eli Zaretskii <eliz@is.elta.co.il>
4989 * calendar/calendar.el (generate-calendar-month): Doc fix.
4991 2002-01-27 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
4993 * time.el (display-time-mail-directory): New option.
4994 (display-time-mail-function): Update doc-string.
4995 (display-time-mail-icon): Use XPM image when available.
4996 (display-time-string-forms): Use more descriptive text as
4998 (display-time-mail-check-directory): New function.
4999 (display-time-update): Use it.
5001 * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
5002 Quote `window-system'.
5004 * tmm.el (tmm-get-keymap): Honour :visible in `menu-item'.
5005 Add Keywords header. Update Commentary section.
5006 Update copyright notice.
5008 * menu-bar.el (menu-bar-scroll-bar-right)
5009 (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
5010 (showhide-menu-bar): New functions.
5011 (menu-bar-showhide-menu): New submenu "Show/Hide".
5012 (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
5014 Update copyright notice.
5016 2002-01-27 Eli Zaretskii <eliz@is.elta.co.il>
5018 * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
5020 2002-01-26 Evgeny Roubinchtein <evgenyr@cs.washington.edu>
5022 * pc-select.el (pc-selection-mode-hook)
5023 (pc-select-saved-settings-alist, pc-select-map)
5024 (pc-select-saved-global-map, pc-select-key-bindings-alist)
5025 (pc-select-default-key-bindings, pc-select-extra-key-bindings)
5026 (pc-select-meta-moves-sexps-key-bindings)
5027 (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
5029 (pc-select-define-keys, pc-select-restore-keys): New functions.
5030 (pc-select-add-to-alist, pc-select-save-and-set-var)
5031 (pc-select-save-and-set-mode, pc-select-restore-var)
5032 (pc-select-restore-mode): New macros.
5033 (pc-selection-mode): Completely rewrote the body of the function;
5034 the main goal was to make pc-selection-mode "turn-off"-able, like
5035 other minor modes. Use define-minore-mode instead of just a
5036 defun. Store the key bindings into four alists:
5037 pc-select-default-key-bindings, pc-select-extra-key-bindings,
5038 pc-select-meta-moves-sexps-key-bindings, and
5039 pc-select-tty-key-bindings; then have the pc-select-define-keys
5040 function walk those alists instead of calling define-key
5041 repeatedly. When the mode is turned on, set the
5042 keybindings in global-map and remember the old keybindings; when
5043 the mode is turned off, restore the previously-saved keybindings.
5044 (pc-selection-mode defcustom): Reflect the fact that the mode is
5045 now "turn-off"-able.
5047 2002-01-26 Eli Zaretskii <eliz@is.elta.co.il>
5049 * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
5050 returns t, don't treat that as an error.
5052 2002-01-25 Jason Rumney <jasonr@gnu.org>
5054 * faces.el (face-font-registry-alternatives) [windows-nt]:
5055 Add ms-oemlatin as an alternative for iso8859-1.
5057 2002-01-25 Stefan Monnier <monnier@cs.yale.edu>
5059 * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
5060 args and the absence of an entry. Don't add -f each time.
5062 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il>
5064 * emacs-lisp/cl-seq.el (mismatch): Doc fix.
5066 Support for more than 8 colors on character terminals:
5068 * term/rxvt.el: New file.
5070 * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
5072 * term/xterm.el (xterm-standard-colors): New variable.
5073 (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
5074 (xterm-rxvt-set-background-mode): New functions.
5075 (toplevel): Call xterm-register-default-colors,
5076 xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
5077 Add support for more keys from xterm's terminfo entry.
5079 * facemenu.el (list-colors-display): If the argument is nil, don't
5080 show more colors that the number returned by display-color-cells.
5082 * term/pc-win.el (msdos-color-values): Reverse the order of the
5083 colors, since tty-color-define now preserves the registration order.
5085 * w32-fns.el (w32-tty-standard-colors): Reverse the order.
5087 * term/tty-colors.el (tty-standard-colors): Reverse the order.
5088 (tty-register-default-colors): New function; code moved from
5089 startup.el's command-line.
5090 (tty-modify-color-alist): Use nconc instead of cons, to preserve
5091 the order the colors where registered.
5093 * frame.el (display-color-cells): Use tty-display-color-cells.
5095 * startup.el (command-line): Call tty-register-default-colors.
5097 2002-01-25 Richard M. Stallman <rms@gnu.org>
5099 * subr.el (remove): Doc fix.
5101 2002-01-24 Richard M. Stallman <rms@gnu.org>
5103 * progmodes/compile.el (compilation-handle-exit):
5104 Add a compilation-handle-exit property to the "finished" message.
5105 (compilation-parse-errors): Stop parsing when that property is seen.
5107 * subr.el (substring-no-properties): New function.
5108 (copy-without-properties): Function deleted.
5110 * term/x-win.el (x-handle-geometry): Put sizes on both
5111 initial-frame-alist and default-frame-alist.
5113 * cus-edit.el (custom-save-all): Bind file-precious-flag to t
5116 * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
5118 * calendar/calendar.el (generate-calendar-month): Doc fix.
5120 2002-01-23 Richard M. Stallman <rms@gnu.org>
5122 * play/tetris.el (tetris): New defgroup.
5123 (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
5124 (tetris-default-tick-period): Convert to defcustom.
5125 Added * in docstring to indicate user variable.
5126 (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
5127 (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
5128 (tetris-buffer-height, tetris-width, tetris-height)
5129 (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
5131 2002-01-22 Stefan Monnier <monnier@cs.yale.edu>
5133 * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
5134 and is already matched by adaptive-fill-regexp.
5136 2002-01-22 Richard M. Stallman <rms@gnu.org>
5138 * bindings.el (mode-line-copied-mode-name): New variable.
5139 (mode-line-mode-name): Don't modify mode-name itself!
5140 Instead, make a copy and reuse it.
5142 * subr.el (copy-without-properties): New function.
5144 * progmodes/sh-script.el (sh-set-shell): Doc fix.
5146 * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
5147 slash if DIR is just slash.
5149 * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
5151 2002-01-21 Richard M. Stallman <rms@gnu.org>
5153 * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
5155 * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
5158 * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
5160 * ibuffer.el: Don't require ibuf-ext at load time.
5161 (ibuffer): Require ibuf-ext here.
5163 2002-01-21 Francesco Potorti` <pot@gnu.org>
5165 * generic-x.el (apache-conf-generic-mode): Highlight the first
5166 word in a line even if preceded by blanks.
5168 2002-01-21 Richard M. Stallman <rms@gnu.org>
5170 * window.el (window-body-height): Handle minibuffer window specially.
5171 Otherwise, don't return less than 1.
5173 2002-01-20 Thomas Dorner <Thomas.Dorner@start.de>
5175 * ange-ftp.el: Added support for BS2000, and for raw ftp
5176 login commands (needed in some circumstances).
5177 (ange-ftp-raw-login): New custom var.
5178 (ange-ftp-normal-login): Perform login with raw ftp commands, if
5179 ange-ftp-raw-login is set and account password is needed.
5180 (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
5181 (ange-ftp-bs2000-filename-pubset-regexp)
5182 (ange-ftp-bs2000-filename-username-regexp)
5183 (ange-ftp-bs2000-filename-prefix-regexp)
5184 (ange-ftp-bs2000-name-template): New consts.
5185 (ange-ftp-bs2000-short-filename-regexp)
5186 (ange-ftp-bs2000-fix-name-regexp-reverse)
5187 (ange-ftp-bs2000-fix-name-regexp): New consts.
5188 (ange-ftp-bs2000-special-prefix): New custom var.
5189 (ange-ftp-fix-name-for-bs2000)
5190 (ange-ftp-fix-dir-name-for-bs2000): New funs.
5191 (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
5192 (ange-ftp-bs2000-posix-hook-installed): New vars.
5193 (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
5194 (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
5195 (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
5196 (ange-ftp-bs2000-filename-regexp): New const.
5197 (ange-ftp-bs2000-additional-pubsets): New custom var.
5198 (ange-ftp-bs2000-cd-to-posix): New fun.
5200 2002-01-20 Colin Walters <walters@verbum.org>
5202 * ibuffer.el: (toplevel) Require `ibuf-ext', which is now compiled
5203 with `byte-compile-dynamic'.
5204 (ibuffer-default-directory, toplevel): Doc files.
5206 2002-01-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5208 * tempo.el (tempo-define-template): Doc fix.
5210 * scroll-bar.el (scroll-bar-mode): Make argument optional.
5212 2002-01-20 Jason Rumney <jasonr@gnu.org>
5214 * w32-vars.el: New file.
5216 * loadup.el [windows-nt]: Load it.
5218 * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
5219 and make them defcustoms.
5221 * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
5223 2002-01-19 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5225 * language/tibet-util.el (tibetan-decompose-region)
5226 (tibetan-decompose-string): Fix typo in docstring.
5228 * ruler-mode.el (ruler-mode): New keyword. Fix :version.
5230 2002-01-18 Richard M. Stallman <rms@gnu.org>
5232 * comint.el (comint-redirect-send-command-to-process):
5233 Restore previous current buffer.
5235 * window.el (window-body-height): New function.
5237 2002-01-18 Zoltan Kemenczy <kemenczy@rogers.com>
5239 * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
5240 "Finish Function" menu map entries for jdb mode.
5241 (gud-jdb-use-classpath): New customization variable.
5242 (gud-jdb-command-name): Add customization.
5243 (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
5244 (gud-jdb-classpath-string): New variable.
5245 (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
5246 (gud-jdb-build-source-files-list): Likewise.
5247 (gud-jdb-massage-args): Record any command argument classpath
5248 string in `gud-jdb-classpath-string'.
5249 (gud-jdb-lowest-stack-level): New function, finds bottom of current
5250 java call stack in jdb output.
5251 (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
5252 (gud-jdb-parse-classpath-string): New functions.
5253 (gud-jdb-marker-filter): Search/detect classpath information in
5254 jdb's output. marker regexp updated to match oldjdb and jdb output
5255 formats. Expand search for source files to include new/old methods
5256 using new functions above. Do not allow `gud-marker-acc' to grow
5258 (jdb): Set classpath information (if available) as jdb is started.
5259 Change `gud-break' and `gud-remove'
5260 to use new %c ("class") escape in format strings.
5261 Add `gud-finish', `gud-up', `gud-down' command string functions, and
5262 add them to the local menu map. Update `comint-prompt-regexp' for
5263 jdb and oldjdb. If attaching to an already running java VM and
5264 configured to use classpath, send command to query for classpath,
5265 else use previous method for finding and parsing java
5266 sources. Set `gud-jdb-find-source' function accordingly.
5267 (gud-mode): Doc fix.
5268 (gud-format-command): Add support for new %c ("class") escape.
5269 (gud-find-class): New function in support of %c escape.
5271 2002-01-17 Richard M. Stallman <rms@gnu.org>
5273 * ibuf-ext.el: Enable byte-compile-dynamic.
5275 2002-01-17 Jason Rumney <jasonr@gnu.org>
5277 * term/w32-win.el: Restore conditional require of fontset.
5279 2002-01-16 Richard M. Stallman <rms@gnu.org>
5281 * mouse.el (mouse-drag-region-1): Renamed from mouse-drag-region,
5283 (mouse-drag-region): New function. For a click in the echo area,
5286 * ibuf-ext.el: Delete the autoloads for functions defined with
5287 ibuffer-specific commands.
5289 * help.el (describe-distribution): Really call view-file.
5291 * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
5292 (ange-ftp-get-process): Pass that arg.
5294 * comint.el (comint-simple-send): Fix previous change.
5296 * net/telnet.el (telnet-simple-send): Fix previous change.
5298 * progmodes/sql.el (sql-escape-newlines-and-send)
5299 (sql-query-placeholders-and-send): Fix previous change.
5301 2002-01-16 Colin Walters <walters@verbum.org>
5303 * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
5304 URL, Compatibility headers. Update copyright notice.
5305 * ibuf-macs.el (toplevel): Require `cl' when compiling.
5307 2002-01-16 Andrew Choi <akochoi@cse.cuhk.edu.hk>
5309 * startup.el (command-line): Set EOL mnemonics for the Mac.
5311 2002-01-16 Andreas Schwab <schwab@suse.de>
5313 * mail/feedmail.el (feedmail): Fix :link spec.
5315 2002-01-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5317 * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
5320 * net/eudc.el: New maintainer. Change author's address.
5321 (eudc-pre-select-window-configuration, eudc-insertion-marker):
5323 (eudc-insert-selected): Function removed.
5324 (eudc-select): Reimplemented.
5325 (eudc-expand-inline): Delete the strings only after its expansion
5326 is chosen not before.
5328 * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
5329 Minor coding style fixes.
5331 * net/eudcb-ldap.el: New maintainer. Change author's address.
5332 (eudc-attribute-display-method-alist): Display mail with
5335 * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
5336 * net/eudc-vars.el: New maintainer. Change author's address.
5338 * net/eudc-bob.el: New maintainer. Change author's address.
5339 (eudc-bob-mail-keymap): New keymap for e-mail addresses.
5340 (eudc-display-mail): New function.
5341 (eudc-bob-play-sound-at-point): Remove XEmacs case.
5343 2002-01-15 Richard M. Stallman <rms@gnu.org>
5345 * emacs-lisp/autoload.el (make-autoload):
5346 Don't handle define-ibuffer-column, define-ibuffer-filter,
5347 define-ibuffer-sorter, and define-ibuffer-op.
5349 2002-01-14 Richard M. Stallman <rms@gnu.org>
5351 * calendar/calendar.el (diary-date-forms): Doc fix.
5353 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
5355 * startup.el (command-line): Register the default tty colors even
5356 if the terminal doesn't seem to support colors.
5357 <tty-long-option-alist>: New option --color.
5358 (tty-handle-args): Parse the --color arg.
5360 * term/tty-colors.el (tty-color-mode-alist): New variable.
5362 2002-01-14 Stefan Monnier <monnier@cs.yale.edu>
5364 * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
5365 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
5367 (ange-ftp-hook-function): Preserve match-data.
5368 (ange-ftp-insert-directory): Typo.
5369 (ange-ftp-shell-command): Check if regexp matched.
5371 2002-01-13 Richard M. Stallman <rms@gnu.org>
5373 * international/mule-cmds.el: help-map bindings moved to help.el.
5375 * help.el (view-echo-area-messages): New function.
5376 (help-map): Add `e' binding. Delete obsolete `d' binding.
5377 Change old Info bindings C-f, C-k and C-i to F, K, S.
5378 Move view-emacs-FAQ from F to C-f.
5379 Move view-emacs-problems from P to C-e.
5380 Bindings moved here from mule-cmds.el.
5381 C-l binding for describe-language-environment deleted
5382 (help-for-help): Update for all these changes.
5384 * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
5386 2002-01-13 Dave Love <fx@gnu.org>
5388 * emacs-lisp/copyright.el: Doc fixes.
5389 (copyright-regexp): Add Latin-9 copyright sign.
5390 Match comment delimiters in year lists.
5391 (copyright-current-year): Initialize to load-time year.
5393 2002-01-13 Andreas Schwab <schwab@suse.de>
5395 * dired-aux.el (dired-do-shell-command): Doc fix.
5397 2002-01-13 Jan Djarv <Jan.Djarv@mbox200.swipnet.se>
5399 * startup.el (command-line-x-option-alist): New options "-fs",
5400 "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
5402 * term/x-win.el (x-handle-initial-switch): New function.
5404 2002-01-13 Colin Walters <walters@debian.org>
5406 * emacs-lisp/autoload.el (make-autoload): Handle define-ibuffer-column,
5407 define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
5409 * emacs-lisp/lisp-mode.el (toplevel): Ditto.
5411 * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
5413 2002-01-12 Richard M. Stallman <rms@gnu.org>
5415 * net/browse-url.el (browse-url-grail):
5416 Use browse-url-maybe-new-window.
5418 * net/telnet.el (telnet-simple-send):
5419 Handle comint-input-sender-no-newline like comint-simple-send.
5421 * progmodes/sql.el (sql-query-placeholders-and-send):
5422 Handle comint-input-sender-no-newline like comint-simple-send.
5423 (sql-escape-newlines-and-send): Likewise.
5425 * comint.el (comint-input-sender): Doc fix.
5426 (comint-input-sender-no-newline): New variable.
5427 (comint-simple-send): If comint-input-sender-no-newline,
5428 don't output newline, but maybe send eof.
5429 (comint-send-input): New arg NO-NEWLINE.
5430 (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
5432 2002-01-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5434 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5435 Prevent delaying when executing keyboard macros.
5437 2002-01-12 Richard M. Stallman <rms@gnu.org>
5439 * simple.el (line-move): If we can't move enough lines,
5440 go to beginning or end of line.
5442 * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
5445 * help.el (describe-mode): Call help-setup-xref in the help buffer.
5446 Switch buffers only after calling `help-buffer'.
5448 * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
5449 only when they are surrounded by whitespace.
5450 Use dired-mark-separator when adding one file name to a command.
5451 (dired-do-shell-command): Verify that * is surrounded by whitespace.
5452 Ask for confirmation if * or ? is not surrounded by whitespace.
5453 (dired-bunch-files): Re-reverse the partial file list when it is used.
5455 2002-01-12 Richard M. Stallman <rms@gnu.org>
5457 * comint.el (comint-dynamic-list-completions): Repeating the command
5458 after displaying a completion list scrolls the list.
5460 2002-01-12 Eli Zaretskii <eliz@is.elta.co.il>
5462 * files.el (find-file-noselect): Don't consider a buffer as
5463 visiting a file literally if it is in hexl-mode.
5465 * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
5467 2002-01-11 Richard M. Stallman <rms@gnu.org>
5469 * startup.el (initial-scratch-message): Fix custom type, add group.
5471 * mail/rmail.el (rmail-decode-babyl-format): Disable undo
5472 around the decode-coding-region call.
5474 * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
5475 after displaying a completion list scrolls the list.
5477 2002-01-11 Eli Zaretskii <eliz@is.elta.co.il>
5479 * version.el (emacs-version): Bump to 21.2.50.
5481 2002-01-10 Thien-Thi Nguyen <ttn@giblet.glug.org>
5483 * play/zone.el (zone-timeout): New var.
5484 (zone-hiding-modeline): New macro.
5485 (zone-call): New func.
5487 (zone): Init `modeline-hidden-level' symbol property.
5488 Use `zone-call' instead of `funcall'.
5490 (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 2001-10-26T20:11:25Z!monnier@iro.umontreal.ca).
5492 (zone-pgm-stress): Use `zone-hiding-modeline'.
5494 (zone-pgm-stress-destress): New zone program.
5496 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
5498 * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
5500 2002-01-09 Richard M. Stallman <rms@gnu.org>
5502 * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
5504 2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu>
5506 * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
5509 2002-01-08 Richard M. Stallman <rms@gnu.org>
5511 * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
5513 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
5515 * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
5517 2002-01-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5519 * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
5520 Do not use make-local-hook.
5522 2002-01-08 Eli Zaretskii <eliz@is.elta.co.il>
5524 * international/quail.el (quail-start-translation)
5525 (quail-start-conversion): Bind last-command-event, last-command,
5526 and this-command in the first let. This fixes the change from
5529 2002-01-08 Michael Kifer <kifer@cs.stonybrook.edu>
5531 * ediff-hook.el: Add an autoload cookie.
5533 2002-01-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5535 * net/eudcb-ph.el, net/ldap.el: New maintainer. New e-mail
5536 address of the author.
5538 2002-01-08 Richard M. Stallman <rms@gnu.org>
5540 * replace.el (occur-mode-goto-occurrence-other-window): New command.
5541 (occur-mode-map): Bind `o' to that.
5543 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
5545 * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
5546 new macro that replaces viper-emacs-p and viper-xemacs-p in many
5547 cases. Used to reduce the number of warnings.
5549 * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
5550 (viper-standard-value): Move here from viper.el.
5551 (viper-set-unread-command-events): Move to viper-util.el
5552 (viper-check-minibuffer-overlay): Make sure
5553 viper-minibuffer-overlay is moved to cover the entire input field.
5555 * viper-util.el: use viper-cond-compile-for-xemacs-or-emacs.
5556 (viper-read-key-sequence, viper-set-unread-command-events)
5557 (viper-char-symbol-sequence-p, viper-char-array-p): Moved here.
5559 * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
5561 * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
5563 * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
5565 * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
5566 (viper-event-vector-p): Move to viper-util.el
5568 * viper.el (viper-standard-value): Move to viper-cmd.el.
5569 Use viper-cond-compile-for-xemacs-or-emacs.
5571 * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
5573 * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
5575 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
5576 New macro designed to be used in many places where ediff-emacs-p or
5577 ediff-xemacs-p was previously used. Reduces the number of warnings.
5578 Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
5580 (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
5581 (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
5582 (ediff-whitespace-diff-region-p, ediff-get-region-contents):
5583 Move to ediff-util.el.
5584 (ediff-event-key): Moved here.
5586 * ediff-merge.el: Got rid of unreferenced variables.
5588 * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
5590 * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
5591 (ediff-cleanup-mess): Improve the way windows are set up after
5593 (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
5594 (ediff-dispose-of-variant-according-to-user): New function
5595 designed to be smarter and also understands indirect buffers.
5596 (ediff-highlight-diff-in-one-buffer)
5597 (ediff-unhighlight-diff-in-one-buffer)
5598 (ediff-unhighlight-diffs-totally-in-one-buffer)
5599 (ediff-highlight-diff, ediff-highlight-diff)
5600 (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
5601 (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
5602 (ediff-get-region-contents, ediff-make-current-diff-overlay):
5604 (ediff-format-bindings-of): New function by Hannu Koivisto
5606 (ediff-setup): Make sure the merge buffer is always widened and
5608 (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
5609 result of a merge into a file visited by another buffer.
5610 (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
5611 is visited by another buffer and ask to save/delete that buffer.
5612 (ediff-verify-file-merge-buffer): New function to do the above.
5614 * ediff-vers.el: Load ediff-init.el at compile time.
5616 * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
5618 * ediff.el (ediff-windows, ediff-regions-wordwise)
5619 (ediff-regions-linewise): Use indirect buffers to improve
5620 robustness and make it possible to compare regions of the same
5621 buffer (even overlapping regions).
5622 (ediff-clone-buffer-for-region-comparison)
5623 (ediff-clone-buffer-for-window-comparison): New functions.
5624 (ediff-files-internal): Refuse to compare identical files.
5625 (ediff-regions-internal): Get rid of the warning about comparing
5626 regions of the same buffer.
5628 * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Moved here.
5629 Plus the following fixes courtesy of Dave Love: Doc fixes.
5630 (ediff-word-1): Use word class and move - to the
5631 front per regexp documentation.
5632 (ediff-wordify): Bind forward-word-function outside loop.
5633 (ediff-copy-to-buffer): Use insert-buffer-substring rather than
5634 consing buffer contents.
5635 (ediff-goto-word): Move syntax table setting outside loop.
5637 2002-01-07 Richard M. Stallman <rms@gnu.org>
5639 * dired.el (dired-copy-filename-as-kill): Call kill-append
5640 if following a kill command.
5642 * help-fns.el (describe-variable, describe-function):
5645 2002-01-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5647 * net/ldap.el (ldap-search-internal): Skip error message from
5648 ldapsearch. Allow listing attribute names only. Do not open
5651 * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
5652 call non-existent function.
5654 * net/eudc.el (top-level): Revert previous change.
5656 * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
5657 variables to prevent warning from byte-compiler.
5659 * net/eudc.el (top-level): Use eudc-xemacs-p instead of
5660 string-match on emacs-version again.
5662 * enriched.el (enriched-make-annotation): Fix the change from
5664 (enriched-handle-display-prop): Return proper values.
5666 * net/eudcb-ldap.el (eudc-attribute-display-method-alist):
5667 Use proper attribute name labeledUri instead of deprecated labeledUrl.
5669 2002-01-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5671 * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
5672 editing an empty hotlist.
5674 * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
5675 Use buffer-string instead of buffer-substring for the whole buffer.
5677 * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
5680 * net/eudc-bob.el (eudc-bob-can-display-inline-images)
5681 (eudc-bob-display-jpeg): Use fboundp instead of boundp.
5682 (eudc-bob-save-object): Make the buffer unibyte.
5683 (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
5684 object to external program.
5686 2002-01-05 Andre Spiegel <spiegel@gnu.org>
5688 * vc.el (vc-branch-part): Return nil if there's no `.'
5689 (vc-default-previous-version): Renamed from vc-previous-version.
5690 New args BACKEND and FILE. Return nil for revision numbers
5692 (vc-version-diff): Call vc-BACKEND-previous-version.
5693 (vc-steal-lock): Steal lock before composing mail, so that no mail
5694 is sent when the stealing goes wrong. And we'll actually see the
5695 error in that case now.
5696 (vc-finish-steal): Removed.
5698 * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
5699 the lock, so that we see expanded headers.
5700 (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p)
5701 (vc-rcs-minor-part, vc-rcs-previous-version): Removed. These are
5702 available from vc.el. Updated all callers.
5704 2002-01-05 Richard M. Stallman <rms@gnu.org>
5706 * enriched.el (enriched-make-annotation): Doc fix.
5708 * format.el (format-replace-strings, format-subtract-regions)
5709 (format-annotate-region, format-annotate-location)
5710 (format-annotate-atomic-property-change)
5711 (format-annotate-single-property-change): Doc fixes.
5713 2002-01-05 Jason Rumney <jasonr@gnu.org>
5715 * term/w32-win.el: Require fontset unconditionally.
5716 (w32-handle-scroll-bar-event): Remove.
5718 2002-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5720 * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
5721 copyrights to be updated.
5723 2002-01-04 Eli Zaretskii <eliz@is.elta.co.il>
5725 * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
5728 * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
5730 2002-01-04 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5732 * net/ldap.el (ldap-host-parameters-alist): Remove duplicated entry.
5733 (ldap-ignore-attribute-codings): Change the default value to allow
5734 encoding/decoding of attributes.
5735 (ldap-coding-system): Use UTF-8 as the coding-system. Doc fix.
5737 2002-01-03 Richard M. Stallman <rms@gnu.org>
5739 * files.el (basic-save-buffer): Undo previous change.
5741 * calendar/diary-lib.el (diary-block): Doc fix.
5743 * custom.el (defcustom): Fix syntax of previous change.
5745 2002-01-03 Per Abrahamsen <abraham@dina.kvl.dk>
5747 * custom.el (defcustom): Documented :tag, :link and :load.
5749 2002-01-03 Eli Zaretskii <eliz@is.elta.co.il>
5751 * mail/sendmail.el (mail-recover-1): New function.
5752 (mail-recover): Switch to the *mail* buffer right away.
5753 Use buffer-auto-save-file-name instead of calling
5754 make-auto-save-file-name. Call dired-noselect instead of invoking
5755 `ls' directly. Bind coding-system-for-read to emacs-mule-unix
5756 before reading the auto-save file. If the buffer's auto-save file
5757 does not exist, call mail-recover-1 to allow recovery from past
5760 2002-01-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5762 * time.el (display-time-load-average-threshold): Fix defcustom
5763 (add type and group).
5765 * net/ange-ftp.el (ange-ftp-shell-command): Remove port
5766 specification from the hostname.
5768 2002-01-02 Richard M. Stallman <rms@gnu.org>
5770 * facemenu.el (facemenu-active-faces):
5771 Use face-attributes-as-vector, not face-attributes-vector.
5773 2002-01-02 Chris Hanson <cph@aarau.ai.mit.edu>
5775 * xscheme.el: Eleven years of updates on a private copy.
5777 Extensive changes to support multiple xscheme buffers:
5778 (run-scheme): Break up into new functions to facilitate starting
5779 processes in other buffers.
5780 (xscheme-start, xscheme-read-command-line): New functions.
5781 (start-scheme, select-scheme)
5782 (default-xscheme-runlight)
5783 (global-set-scheme-interaction-buffer)
5784 (local-set-scheme-interaction-buffer)
5785 (local-clear-scheme-interaction-buffer)
5786 (exit-scheme-interaction-mode)
5787 (verify-xscheme-buffer): New functions.
5788 (xscheme-process-name, xscheme-buffer-name)
5789 (xscheme-runlight): New internal vars.
5790 (default-xscheme-runlight): New const.
5791 (xscheme-start-process): Add args for the process/buffer names.
5792 (reset-scheme): Pass process/buffer names.
5793 (scheme-interaction-mode): Initialize new local vars.
5794 (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
5795 (xscheme-select-process-buffer, xscheme-process-buffer)
5796 (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
5797 (xscheme-goto-output-point, xscheme-write-message-1): Use new
5798 var xscheme-process-name.
5799 (xscheme-start-process): Initialize xscheme-process-name and
5800 xscheme-buffer-name in the process buffer. Pass buffer name to
5801 xscheme-modeline-initialize.
5802 (xscheme-modeline-initialize): Add argument to specify buffer name
5804 (xscheme-process-sentinel): Make sure sentinel is run in the
5805 process buffer so it sees its local vars.
5806 (xscheme-process-filter-initialize, xscheme-set-runlight):
5807 More elaborate logic to handle multiple-buffer mode lines.
5809 (xscheme-enter-input-wait): Re-enable control-G handler upon
5810 entering input wait.
5812 (scheme-interaction-mode): Add arg to preserve local vars.
5813 (xscheme-enter-interaction-mode)
5814 (xscheme-enter-debugger-mode): Preserve local vars.
5815 (xscheme-start-process): Clobber local vars.
5817 (scheme-interaction-mode-commands): Allow end user to add commands
5818 to scheme-interaction-mode keymap.
5819 (scheme-interaction-mode-commands-alist): New variable.
5821 (xscheme-send-string): Don't use insert-before-markers.
5823 Implement a per-buffer kill ring:
5824 (xscheme-insert-expression)
5825 (xscheme-rotate-yank-pointer, xscheme-yank)
5826 (xscheme-yank-pop, xscheme-yank-push): New functions.
5827 (xscheme-expressions-ring)
5828 (xscheme-expressions-ring-yank-pointer)
5829 (xscheme-expressions-ring-max): New variables.
5830 (xscheme-send-string-1): Call xscheme-insert-expression to save
5832 (xscheme-yank-previous-send): Now an alias for xscheme-yank.
5833 (xscheme-previous-send): Deleted variable.
5835 (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed)
5836 (xscheme-send-control-g-interrupt): Use process-send-string rather
5839 (xscheme-send-region): Insert a newline after an expression that
5840 is submitted in the interaction buffer, for consistency with
5841 recent changes to Edwin.
5843 (xscheme-delete-output): New function mimics comint-delete-output.
5844 (xscheme-last-input-end): New internal variable.
5845 (xscheme-process-filter-output): Update xscheme-last-input-end.
5847 (xscheme-send-control-g-interrupt): Make sure that
5848 xscheme-control-g-disabled-p is looked up in the right buffer.
5850 (xscheme-enable-control-g): Clear C-g message if visible.
5851 (xscheme-control-g-message-string): New internal var.
5852 (xscheme-send-control-g-interrupt): Use new var.
5854 (xscheme-send-control-g-interrupt, xscheme-send-interrupt):
5855 Delay after sending interrupt in order to work around race condition.
5857 (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
5858 (xscheme-send-char): Use xscheme-send-char rather than send-string
5859 to send single char.
5861 (xscheme-process-filter, xscheme-process-filter-alist):
5862 Add support for evaluating expressions outside of the call-excursion.
5863 (xscheme-process-filter:string-action-noexcursion): New func.
5865 (xscheme-write-value): Change output string to match that used by
5868 (xscheme-coerce-prompt): Don't write a space after a command
5869 prompt. The PROMPT-FOR-COMMAND- procedures will take care of this
5872 (reset-scheme): Delete process after killing it.
5874 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
5876 * bindings.el (function-key-map): Don't bind shifted keypad
5879 2002-01-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5881 * enriched.el (enriched-handle-display-prop): Remove unused variables.
5882 (enriched-mode): Doc fix.
5884 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
5886 * international/ucs-tables.el (ucs-8859-8-alist): Comment away
5889 2002-01-01 Richard M. Stallman <rms@gnu.org>
5891 * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
5893 2001-12-31 Richard M. Stallman <rms@gnu.org>
5895 * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
5896 * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
5897 * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
5898 * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
5899 * progmodes/cperl-mode.el, progmodes/idlwave.el:
5900 * progmodes/sh-script.el, progmodes/vhdl-mode.el:
5901 Adapt face definitions to use :weight and :slant.
5903 * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
5905 * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
5907 * font-lock.el (initializing from font-lock-face-attributes):
5908 Use :weight and :slant, not :bold and :italic.
5910 2001-12-31 Per Abrahamsen <abraham@dina.kvl.dk>
5912 * cus-edit.el (custom-face-edit-fix-value): New function.
5913 (custom-face-edit): Use it, to convert :italic and :bold to new forms.
5915 2001-12-30 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
5917 * progmodes/octave-mod.el (octave-abbrev-table):
5918 * progmodes/idlwave.el (idlwave-mode-abbrev-table):
5919 * progmodes/fortran.el (fortran-mode-abbrev-table):
5920 * progmodes/f90.el (f90-mode-abbrev-table):
5921 * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
5922 * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
5923 predefined abbrevs as "system" abbrevs.
5925 2001-12-30 Richard M. Stallman <rms@gnu.org>
5927 * info.el (Info-fontify-node): For a **** underline line, put the
5928 invisible and intangible props on the following newline, but not
5929 on the previous newline or the last char of the previous line.
5931 * faces.el (face-set-after-frame-default): Don't change `default' face.
5933 * faces.el (minibuffer-prompt): Adopt some default colors.
5935 * replace.el (query-replace-read-args): Immediate error if read-only.
5937 * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
5938 Display the output buffer in a more intelligent way.
5940 2001-12-30 Eli Zaretskii <eliz@is.elta.co.il>
5942 * ls-lisp.el (insert-directory): Modify the "total" line wording,
5943 in accordance with files.el's insert-directory.
5945 2001-12-29 Richard M. Stallman <rms@gnu.org>
5947 * files.el (basic-save-buffer): If a before-write hook displays
5948 an echo area message, pause before calling basic-save-buffer-1.
5950 2001-12-29 Markus Rost <rost@math.ohio-state.edu>
5952 * textmodes/reftex-global.el (reftex-query-replace-document)
5953 (reftex-change-label): Doc fix.
5955 * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
5957 * progmodes/etags.el (tags-query-replace): Doc fix.
5959 2001-12-29 Richard M. Stallman <rms@gnu.org>
5961 * progmodes/compile.el (compile-internal): Fix previous change.
5963 2001-12-28 Richard M. Stallman <rms@gnu.org>
5965 * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
5966 shrink the windows above as necessary to get space.
5967 (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
5969 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
5970 This fixes a bug that treated all files as directories.
5971 (ange-ftp-insert-directory): Explicitly follow symlinks.
5973 * international/iso-transl.el (iso-transl-char-map) Eliminate the
5974 alias symbols--put the translated sequences here directly.
5976 * progmodes/cc-mode.el (c-mode-abbrev-table)
5977 (c++-mode-abbrev-table, objc-mode-abbrev-table)
5978 (java-mode-abbrev-table, pike-mode-abbrev-table):
5979 Mark all the predefined abbrevs as "system" abbrevs.
5981 * mail/sendmail.el (mail-envelope-from): Fix custom type.
5982 (sendmail-send-it): Check mail-specify-envelope-from
5983 and mail-envelope-from in the mail buffer at start.
5985 2001-12-28 Simon Josefsson <jas@extundo.com>
5987 * mail/sendmail.el (mail-envelope-from): Fix :type.
5988 (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
5990 2001-12-28 Richard M. Stallman <rms@gnu.org>
5992 * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
5994 * simple.el (line-move-invisible): New subroutine.
5995 (line-move-to-column): New subroutine--smarter about advancing over
5996 invisible parts of a line, or lines, but only as long as hpos grows.
5997 (line-move-finish): New subroutine: repeatedly processes desired
5998 column, intangibility, and fields.
5999 (line-move): Use those subroutines.
6000 When moving lines downward, skip invisible text first rather than last.
6002 2001-12-27 Richard M. Stallman <rms@gnu.org>
6004 * international/mule-diag.el (describe-char-after):
6005 Describe the text properties of the char after point.
6007 * help.el (describe-key): Doc fix.
6009 2001-12-26 Markus Rost <rost@math.ohio-state.edu>
6011 * find-dired.el (find-dired-sentinel): Precede exit message by
6012 two spaces, to match the regexp in dired-between-files.
6014 2001-12-28 Miles Bader <miles@gnu.org>
6016 * wid-edit.el (widget-toggle-value-create): Don't eval actual
6017 images (which are lists too).
6019 2001-12-27 Eli Zaretskii <eliz@is.elta.co.il>
6021 * language/european.el: Fix the doc string of "Latin-5" language
6024 2001-12-26 Richard M. Stallman <rms@gnu.org>
6026 * textmodes/flyspell.el (flyspell-mode-map): New keymap,
6027 defined as before 2001-11-09.
6028 (add-minor-mode call): Specify the keymap.
6030 * progmodes/compile.el (compile-internal):
6031 Set TERM variable in process-environment.
6033 2001-12-25 Richard M. Stallman <rms@gnu.org>
6035 * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
6038 * startup.el (command-line): Convert command line args
6039 to Emacs internal representation using locale-coding-system.
6041 2001-12-25 Eli Zaretskii <eliz@is.elta.co.il>
6043 * international/fontset.el: Don't require ind-util when compiling.
6045 2001-12-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6047 * emulation/tpu-edt.el (tpu-reset-screen-size):
6048 Use set-frame-height and set-frame-width instead of set-screen-height
6049 and set-screen-width.
6051 * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
6052 of obsolete set-screen-width.
6054 * locate.el (locate): Remove dot at the end of error argument.
6056 * emerge.el (emerge-show-file-name): Use frame-height instead of
6057 obsolete screen-height.
6059 * mail/mh-utils.el (mh-show-msg): Likewise.
6060 (mh-handle-process-error): Use frame-width instead of obsolete
6063 2001-12-25 Richard M. Stallman <rms@gnu.org>
6065 * window.el (balance-windows): Use new PRESERVE-BEFORE arg
6066 to enlarge-window. Use save-selected-window. Don't try
6067 to resize windows that end at the bottom "level".
6068 Retry changing the sizes until the windows get the desired sizes.
6069 Discount the minibuffer when computing total height available.
6071 * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
6072 (debugger-make-xrefs): Only make a button for the first symbol
6075 2001-12-24 Eli Zaretskii <eliz@is.elta.co.il>
6077 * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
6078 Call IT-setup-unicode-display here instead of adding it to
6079 dos-codepage-setup-hook, so that Unicode display tables are set
6080 before dos-codepage-setup-hook runs.
6082 2001-12-24 Richard M. Stallman <rms@gnu.org>
6084 * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
6085 (nslookup-mode-abbrev-table): Don't define it.
6086 (smbclient-mode-abbrev-table): Don't define it.
6087 (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
6088 (nslookup-mode, smbclient-mode): Likewise.
6089 (network-connection-service-abbrev-alist): Variable deleted.
6090 (network-connection-mode-setup): Don't set up abbrev table.
6092 * faces.el (minibuffer-prompt): New face.
6093 (minibuffer-prompt-properties): Add `face' property.
6095 * replace.el (occur-mode-display-occurrence): New function.
6096 (occur-mode-map): Bind C-o to it.
6098 2001-12-24 Michael Kifer <kifer@cs.sunysb.edu>
6100 * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
6101 (viper-special-read-and-insert-char): Make C-m work right in the r
6103 (viper-buffer-search-enable): Fixed format string.
6105 * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
6106 instead of viper-info-on-file.
6107 (ex-set-visited-file-name): New function.
6109 * viper.el (viper-emacs-state-mode-list): Added mail-mode.
6111 * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
6114 * ediff-init.el: Fixed some doc strings.
6116 * ediff-util.el (ediff-after-quit-hook-internal): New variable.
6117 Got rid of make-local-hook.
6119 * ediff-wind.el (ediff-setup-control-frame): Got rid of
6122 2001-12-23 Richard M. Stallman <rms@gnu.org>
6124 * term/x-win.el (x-handle-geometry): Put height and width
6125 on default-frame-alist, left and top on initial-frame-alist.
6126 * term/w32-win.el (x-handle-geometry): Likewise.
6128 * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
6130 * play/yow.el (yow): Use an arg to distinguish interactive calls,
6133 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6135 * emacs-lisp/elint.el (elint-unknown-builtin-args):
6136 Remove mocklisp entries.
6138 * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
6141 * emulation/mlconvert.el: File removed.
6143 * emulation/mlsupport.el: Moved to obsolete.
6145 * obsolete/mlsupport.el: Moved there from lisp/emulation.
6147 * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
6149 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6150 Remove mocklisp case.
6152 * help-fns.el (describe-function-1): Remove mocklisp function case.
6154 2001-12-22 Miles Bader <miles@gnu.org>
6156 * textmodes/refill.el (refill-mode): Don't barf when redundantly
6157 turning refill-mode off.
6159 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6161 * time.el (display-time-load-average-threshold): New variable.
6162 (display-time-update): Use it.
6164 These changes allow cycling through past 1, 5 and 15 minutes
6165 load-average displayed in the mode-line.
6167 * time.el (display-time-default-load-average): New customizable option.
6168 (display-time-load-average): New variable.
6169 (display-time-cycle-load-average): New function.
6170 (display-time-update): Use them.
6172 2001-12-21 Richard M. Stallman <rms@gnu.org>
6174 * apropos.el (apropos-print): SPACING is now nil or a separator string.
6175 (apropos-documentation, apropos-value): Pass a suitable string.
6177 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
6179 * dired.el (dired-free-space-program, dired-free-space-args):
6180 Aliases for back-compatibility.
6182 * info.el (Info-select-node): If Info-use-header-line is nil, set
6183 header-line-format to nil.
6184 (Info-fontify-node): Don't put a keymap text property on the
6185 heading if we are not going to display the header line. Remove
6186 any such text properties left over from past visits to this node.
6188 * ls-lisp.el (insert-directory): Insert the amount of free disk
6189 space, like files.el's insert-directory does.
6191 * files.el (directory-free-space-program):
6192 Mention file-system-info in the doc string.
6193 (get-free-disk-space): New function; code moved from insert-directory.
6194 (insert-directory): Call get-free-disk-space to get the amount of
6197 2001-12-21 Richard M. Stallman <rms@gnu.org>
6199 * help.el (view-order-manuals, view-emacs-news, describe-copying)
6200 (describe-distribution, describe-project): Use view-file.
6202 * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
6204 * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
6206 * emacs-lisp/easy-mmode.el (define-minor-mode):
6207 Make no arg by default in an interactive call,
6208 so that repeating the command toggles again.
6210 * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
6212 2001-12-21 Christoph Wedler <Christoph.Wedler@sap.com>
6214 * antlr-mode.el: More sophisticated indentation of cpp directive.
6215 (antlr-indent-at-bol-alist): New user option.
6216 (antlr-indent-line): Use it.
6217 (antlr-indent-style): New user option.
6218 (antlr-mode): Use it.
6219 (antlr-indent-item-regexp): Customize.
6221 * antlr-mode.el: Syntax highlighting changes.
6222 (antlr-font-lock-literal-regexp): New user option.
6223 (antlr-font-lock-syntax-face): New face used for :, |, ....
6224 (antlr-font-lock-default-face): New face.
6225 (antlr-font-lock-additional-keywords): Use them.
6227 * antlr-mode.el: New command to insert options -- variables.
6228 (antlr-mode-map): New binding [C-c C-o].
6229 (antlr-mode-menu): New submenus.
6230 (antlr-options-use-submenus): New user option.
6231 (antlr-tool-version): New user option.
6232 (antlr-options-auto-colon): New user option.
6233 (antlr-options-style): New user option.
6234 (antlr-options-push-mark): New user option.
6235 (antlr-options-assign-string): New user option.
6236 (antlr-options-headings): New variable.
6238 * antlr-mode.el: New command to insert options -- specific.
6239 (antlr-options-alists): New variable.
6240 (antlr-read-value): New function.
6241 (antlr-read-boolean): New function.
6242 (antlr-language-option-extra): New function.
6243 (antlr-language-limit-n-regexp): Change default to higher LIMIT.
6244 (antlr-c++-mode-extra): New function.
6245 (antlr-grammar-tokens): New function.
6246 (antlr-imenu-create-index-function): New optional argument.
6248 * antlr-mode.el: New command to insert options -- functions.
6249 (antlr-insert-option): New command.
6250 (antlr-insert-option-interactive): New function.
6251 (antlr-options-menu-filter): New function.
6252 (antlr-option-kind): New function.
6253 (antlr-scan-lists): New alias.
6254 (antlr-scan-lists-internal): New function.
6255 (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
6256 (antlr-option-level): New function.
6257 (antlr-syntactic-grammar-depth): New function.
6258 (antlr-option-location): New function.
6259 (antlr-insert-option-do): New function.
6260 (antlr-option-spec): New function.
6261 (antlr-version-string): New function.
6262 (antlr-insert-option-existing): New function.
6263 (antlr-insert-option-space): New function.
6264 (antlr-insert-option-area): New function.
6266 * antlr-mode.el: New electric keys ":;|&(){}", TAB works better
6267 with narrowing. Menu change. Miscellaneous.
6268 (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
6269 (antlr-mode-map): New bindings for characters in ":;|&(){}".
6270 (antlr-electric-character): New command.
6271 (antlr-class-header-regexp): New variable.
6272 (antlr-font-lock-additional-keywords): Use it.
6273 (antlr-imenu-create-index-function): Use it.
6274 (antlr-file-dependencies): Use it.
6275 (antlr-indent-line): Also works with restrictions.
6276 (antlr-indent-command): Interactive spec - changes the buffer.
6277 (antlr-language-for-option): Deletia.
6278 (antlr-language-option): New function, defined instead.
6279 (antlr-mode): Use it.
6281 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
6283 * jka-compr.el (jka-compr-partial-uncompress): Use null-device
6284 instead of a literal /dev/null.
6286 * Makefile.in (distclean): Remove Makefile in the build
6287 directory, not in the source directory.
6289 2001-12-21 Simon Josefsson <jas@extundo.com>.
6291 * mail/smtpmail.el (smtpmail-send-queued-mail):
6292 Use with-temp-buffer instead of find-file-noselect, and bind
6293 coding-system-for-read to no-conversion when reading the queued
6294 messages. (Simon's code modified slightly by Eli Zaretskii.)
6296 2001-12-20 Werner Lemberg <wl@gnu.org>
6298 * international/mule-diag.el (describe-coding-system)
6299 (print-coding-system-briefly): Make printed output have a similar
6300 format as describe-character-set.
6302 2001-12-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6304 * play/blackbox.el (bb-member): Remove, use member instead.
6305 (bb-delete): Remove, use delete instead.
6306 Update copyright notice. Defvar for bb-board, bb-x, bb-y,
6307 bb-score, bb-detour-count and bb-balls-placed.
6308 Propertize results of rays.
6310 2001-12-19 Karl Fogel <kfogel@red-bean.com>
6312 * isearch.el (isearch-forward, isearch-edit-string): Make doc
6313 strings mention keybinding for `isearch-yank-word-or-char',
6314 rather than `isearch-yank-word', since the former is bound now
6315 and the latter is not.
6316 (isearch-yank-word-or-char): Fix formatting.
6318 2001-12-19 Werner Lemberg <wl@gnu.org>
6320 * language/czech.el, language/european.el, language/slovak.el:
6321 More fixes for language info doc strings.
6323 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il>
6325 * loadup.el: Add "language" to the load-path.
6327 2001-12-19 Richard M. Stallman <rms@gnu.org>
6329 * international/mule-cmds.el (describe-language-environment):
6330 Fix calls to help-xref-button.
6332 2001-12-19 Miles Bader <miles@gnu.org>
6334 * international/fontset.el: Require `ind-util' when compiling.
6336 2001-12-18 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6338 * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
6339 instead of decompose-composite-char.
6341 2001-12-18 Richard M. Stallman <rms@gnu.org>
6343 * simple.el (eval-expression-print-level)
6344 (eval-expression-print-length): Doc fixes.
6346 * international/mule-diag.el (describe-character-set):
6347 Fix the arg to help-xref-button.
6349 * files.el (directory-free-space-program): New variable.
6350 (directory-free-space-args): New variable.
6351 (insert-directory): Use those two variables for getting free space.
6352 Use file-system-info instead, if that is defined.
6354 * dired.el (dired-free-space-program): Variable deleted.
6355 (dired-free-space-args): Variable deleted.
6356 (dired-insert-directory): Don't try to determine free space.
6358 * files.el (font-lock-defaults): Add risky-local-variables prop.
6359 (hack-one-local-variable): Treat various font-lock variables as risky.
6361 2001-12-18 Werner Lemberg <wl@gnu.org>
6363 * language/chinese.el, language/cyrillic.el:
6364 * language/czech.el, language/european.el, language/greek.el:
6365 * language/hebrew.el, language/indian.el, language/japanese.el:
6366 * language/korean.el, language/lao.el, language/slovak.el:
6367 * language/thai.el, language/tibetan.el, language/vietnamese.el:
6368 Improve documentation strings of coding systems and language infos.
6370 2001-12-18 Werner LEMBERG <wl@gnu.org>
6372 Add support for EUC-TW decoding/encoding.
6374 * language/china-util.el (big5-to-flat-code, flat-code-to-big5)
6375 (euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
6376 New auxiliary functions to build `big5-to-cns'.
6377 (big5-to-cns): New translation alist.
6379 * language/chinese.el: Added new coding system `euc-tw' and its
6381 Updated language `Chinese-CNS' to include euc-tw encoding also.
6382 (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
6385 2001-12-18 Dave Love <fx@gnu.org>
6387 * loadup.el: Add language/utf-8-lang, language/georgian.
6389 * image-file.el (image-file-name-extensions): Add pnm. Doc fix.
6390 (image-file-name-regexps): Doc fix.
6392 * server.el (server-unload-hook): New function.
6394 * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
6395 (lm-crack-copyright): Cope with multi-line copyright `lines'.
6397 * simple.el (newline): Doc fix.
6398 (eval-expression-print-level, eval-expression-print-length): Doc
6400 (next-line, previous-line): Make arg optional.
6403 * Makefile.in (DONTCOMPILE): Add various language files.
6405 * international/quail.el (quail-input-string-to-events): Don't use
6408 * progmodes/f90.el (f90-break-line): Avoid infinite recursion
6411 2001-12-17 Richard M. Stallman <rms@gnu.org>
6413 * comint.el (comint-dynamic-list-input-ring-select): New function.
6414 Switches back to the old window configuration.
6415 (comint-dynamic-list-input-ring): Bind RET to that function.
6416 (comint-dynamic-list-input-ring-window-conf): New variable.
6418 2001-12-17 Werner Lemberg <wl@gnu.org>
6420 * international/mule-conf.el: Improve documentation strings of
6423 2001-12-16 Richard M. Stallman <rms@gnu.org>
6425 * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
6426 (dired-mode-map): Bind w to dired-copy-filename-as-kill.
6428 * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
6430 * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
6431 Add a DESCRIPTION for the makefile item.
6433 * find-file.el (ff-other-file-name): New function.
6435 2001-12-16 Eli Zaretskii <eliz@is.elta.co.il>
6437 * international/quail.el (quail-input-string-to-events): Fix last
6440 2001-12-16 Richard M. Stallman <rms@gnu.org>
6442 * isearch.el (isearch-edit-string): When we set isearch-string
6443 to the default, also set isearch-message.
6445 * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
6447 * startup.el (command-line-1): Display startup screen
6448 even if there are command line args.
6449 Add a note about how to go to editing your files.
6450 (fancy-splash-head): Add a note about how to go to your files.
6451 (fancy-splash-outer-buffer): New variable.
6452 (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
6454 * subr.el (with-temp-message): At the end, always discard
6455 the temp message, even by clearing the echo area.
6457 * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
6459 2001-12-16 Stefan Monnier <monnier@cs.yale.edu>
6461 * log-view.el (log-view-message-re, log-view-current-tag):
6462 Recognize Subversion's log output format.
6464 * international/fontset.el: Build the list L at compile time.
6466 * language/ind-util.el (mapthread): Make a closure.
6468 2001-12-15 Richard M. Stallman <rms@gnu.org>
6470 * isearch.el (isearch-start-hscroll): New variable.
6471 (isearch-mode): Set isearch-start-hscroll.
6472 (isearch-update): Restore original hscrolling if possible.
6474 * isearch.el (isearch-edit-string):
6475 Treat isearch-yank-word-or-char specially, like isearch-yank-word.
6477 * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
6478 (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
6479 rather than regexp search and (2) copying text properties
6480 already set up on text unchanged from the previous backtrace.
6482 * case-table.el (set-case-syntax-pair):
6483 Detect invalid calls and signal an error.
6485 2001-12-15 Richard M. Stallman <rms@gnu.org>
6487 * language/ind-util.el (range): Function deleted.
6488 (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
6491 * language/devan-util.el (devanagari-range): Renamed from `range'.
6493 (devanagari-regexp-of-hashtbl-keys):
6494 Renamed from `regexp-of-hashtbl-keys'. All calls changed.
6496 2001-12-15 Dave Love <fx@gnu.org>
6498 * language/ind-util.el: Don't require cl.
6499 (indian-glyph-char, indian-glyph-max-char)
6500 (indian-char-glyph): Moved from indian.el
6501 (indian--puthash-char, mapthread): Don't quote lambda.
6502 (indian--map): New function.
6503 (indian--puthash-v, indian--puthash-c, indian--puthash-m)
6504 (indian--puthash-cv): Use it.
6506 * language/indian.el (indian-glyph-char, indian-glyph-max-char)
6507 (indian-char-glyph): Moved to ind-util.el
6509 * language/devan-util.el (devanagari-post-read-conversion):
6512 * language/georgian.el: New file.
6514 * international/mule-cmds.el (locale-language-names): Add various
6515 entries. Remove utf-8 special case.
6516 (locale-charset-language-names, locale-preferred-coding-systems):
6518 (set-language-environment): Process required-features earlier.
6520 * international/quail.el (quail-keyboard-layout-alist):
6522 (quail-keyboard-layout-type): Fix :type.
6523 (quail-choose-completion-string): Simplify.
6524 (quail-update-leim-list-file): Don't get fooled by commented-out code.
6525 (quail-input-string-to-events): Run events through
6526 translation-table-for-input.
6528 * international/mule-conf.el (translation-table-for-input):
6530 (latin-iso8859-14): Amend description.
6531 (file-coding-system-alist): Add entry for utf-8.
6533 * language/utf-8-lang.el: New file.
6535 * international/code-pages.el: New file.
6537 * language/hebrew.el ("Windows-1255"): New language.
6539 * language/european.el ("Welsh", "Latin-7", "Lithuanian")
6540 ("Latvian"): New languages.
6542 2001-12-14 Stefan Monnier <monnier@cs.yale.edu>
6544 * xml.el: Use setq rather than (set 'foo bar).
6545 Use push+nreverse rather than append.
6546 (xml-node-name, xml-node-attributes, xml-node-children):
6547 Use defsubst rather than macros.
6548 (xml-parse-region): Handle a nil return value from xml-parse-tag.
6549 (xml-parse-tag): Don't skip white space. Return nil for a comment.
6550 Concat the two strings surrounding a comment into a single string.
6552 * newcomment.el (comment-indent): Jump to the middle of empty comments.
6554 2001-12-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6556 * select.el (xselect-convert-to-class, xselect-convert-to-name):
6559 2001-12-14 Andre Spiegel <spiegel@gnu.org>
6561 * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
6562 Return nil if FILE is not registered.
6563 (vc-check-master-templates, vc-default-make-version-backups-p):
6566 2001-12-13 David Ponce <david@dponce.com>
6568 * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
6569 (ruler-mode-left-fringe-cols): New macro.
6570 (ruler-mode-right-fringe-cols): New macro.
6571 (ruler-mode-left-scroll-bar-cols): New macro.
6572 (ruler-mode-right-scroll-bar-cols): New macro.
6573 (ruler-mode-ruler): Use above new macros.
6575 2001-12-13 Richard M. Stallman <rms@gnu.org>
6577 * files.el (set-auto-mode): Fix previous change.
6579 2001-12-13 Stefan Monnier <monnier@cs.yale.edu>
6581 * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
6582 (easy-menu-do-define, easy-menu-convert-item-1)
6583 (easy-menu-define-key-intern, easy-menu-get-map): Use it.
6584 (easy-menu-return-item): Only return nil if there is no binding.
6586 2001-12-13 Rajesh Vaidheeswarran <rv@gnu.org>
6588 * whitespace.el (whitespace-version): 3.2
6589 * whitespace.el (whitespace-force-mode-line-update): Replace with
6590 `whitespace-mode-line-update', which is an alias to the correct
6591 function in various emacsen.
6592 * whitespace.el (whitespace-{un,}highlight-the-space):
6593 Add colorized highlighting of the bogus whitespaces in a buffer/file,
6594 using the `whitespace-highlight-face' if
6595 `whitespace-display-spaces-in-color' is set.
6597 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
6599 * international/mule.el (set-auto-coding): Don't search for
6600 "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
6602 2001-12-13 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6604 * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
6606 * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
6608 * mail/rmailsum.el (rmail-summary-mode): Likewise.
6610 2001-12-13 Richard M. Stallman <rms@gnu.org>
6612 * simple.el (undo): Always set this-command to `undo',
6613 so that the next undo after an error will not begin redoing.
6615 * simple.el (shell-command): Doc fix.
6616 (shell-command-on-region): If there is output an an error,
6617 add "...Shell command failed" to the output.
6619 2001-12-13 David Ponce <david@dponce.com>
6621 * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
6622 (ruler-mode-left-fringe-cols): Function replaced by more efficient
6623 implementation `ruler-mode-extra-left-cols'.
6624 (ruler-mode-ruler): Use above new function. Take into account
6625 that the fringe areas can now be resized.
6627 2001-12-12 Richard M. Stallman <rms@gnu.org>
6629 * international/characters.el (Unicode): Comment out
6630 the specifications for kelvin and angstrom signs.
6632 * international/mule.el (make-translation-table-from-vector):
6633 Allow null elements in VEC.
6635 * international/ucs-tables.el (unify-8859-on-encoding-mode)
6636 (unify-8859-on-decoding-mode): Swap the code in their bodies.
6639 2001-12-11 Richard M. Stallman <rms@gnu.org>
6641 * derived.el (derived-mode-p): Function moved to subr.el.
6643 * subr.el (derived-mode-p): Moved here from derived.el.
6645 * international/mule.el (set-auto-coding): Use set-auto-mode-1.
6647 * files.el (set-auto-mode-1): New subroutine, broken out of
6649 (set-auto-mode, hack-local-variables-prop-line): Use that.
6651 2001-12-11 Dave Love <fx@gnu.org>
6653 * language/thai-util.el, language/thai.el: Add Unicode equivalents.
6655 * language/european.el: Remove autoload cookies. Fix registration
6656 of diacritic composition function.
6658 2001-12-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6660 * calendar/todo-mode.el: Require time-stamp.
6662 * net/zone-mode.el (zone-mode): Don't use make-local-hook.
6664 2001-12-11 Richard M. Stallman <rms@gnu.org>
6666 * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
6668 * textmodes/ispell.el (ispell-buffer-local-parsing):
6669 Match xml like sgml.
6671 * emacs-lisp/advice.el (ad-compile-function):
6672 Byte compile the function under another (uninterned) name.
6674 * gud.el (gdb): Define and bind gud-jump.
6676 * font-lock.el (font-lock-mode):
6677 Put our function at the end of after-change-functions.
6679 * ediff-diff.el (ediff-cmp-options): Doc fix.
6681 * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
6683 2001-12-10 Richard M. Stallman <rms@gnu.org>
6685 * isearch.el (isearch-yank-word-or-char): New function.
6686 (isearch-mode-map): Bind C-w to that.
6688 * menu-bar.el (menu-bar-mode): Make arg optional.
6690 * simple.el (line-move): Cope if next-single-property-change
6691 or previous-single-property-change returns nil.
6693 * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
6694 Don't use interactive-p; instead, pass the proper args
6695 in (interactive...). Clean up most of the trouble-report strings.
6697 2001-12-10 Eli Zaretskii <eliz@is.elta.co.il>
6699 * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
6700 enqueued messages literally.
6702 2001-12-10 Noah Friedman <friedman@splode.com>
6704 * battery.el (battery-insert-file-contents): Obsolete function
6706 (battery-read-function): Obsolete function removed.
6707 (battery-linux-proc-apm): Use insert-file-contents.
6709 2001-12-07 Stephen Eglen <stephen@gnu.org>
6711 * iswitchb.el (iswitchb-visit-buffer):
6712 Use `select-frame-set-input-focus'--needed when window manager
6713 uses "click to focus" policy.
6715 2001-12-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6717 * COPYING: Moved back.
6719 2001-12-07 Eli Zaretskii <eliz@is.elta.co.il>
6721 * term/internal.el (IT-character-translations): Add entries for
6724 * international/characters.el: Resurrect the Hebrew category
6725 settings for all Hebrew characters removed by the last change.
6726 Add code for setting the Hebrew category of the Unicode Hebrew
6727 characters. Set syntax entries for Hebrew punctuation characters.
6729 * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
6730 points and directional formatting control characters.
6732 2001-12-07 Dave Love <fx@gnu.org>
6734 * language/lao-util.el: Add Unicode equivalents for rules.
6735 (lao-post-read-conversion): New function.
6737 * language/lao.el: Add Unicode equivalents.
6738 (lao): Add post-read conversion.
6740 * international/latin1-disp.el: Fix some 8-bit-graphic characters.
6741 Use iso2022 encoding.
6742 (latin1-char-displayable-p): Doc fix.
6743 (latin1-display-ucs-per-lynx): New option.
6744 (latin1-display-ucs-per-lynx): New command.
6745 (latin1-display-reset): Special-case arabic.
6746 (ucs-tables): Require.
6747 (latin1-display-sets, latin1-display-setup): Add arabic.
6748 (latin1-display) <variable>: Use function latin1-display.
6749 (latin1-display) <function>: Add mule-unicode stuff.
6750 (latin1-display-check-font): Don't lose if `info' is nil.
6752 * international/iso-transl.el: Insert Latin-1 characters, not
6755 * language/european.el (diacritic-composition-pattern): New constant.
6756 (diacritic-compose-region, diacritic-compose-string)
6757 (diacritic-compose-buffer, diacritic-post-read-conversion)
6758 (diacritic-composition-function): New functions.
6760 * international/utf-8.el (ucs-mule-to-mule-unicode):
6761 New translation table.
6762 (ccl-encode-mule-utf-8): Use it.
6763 (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
6764 (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
6765 (utf-8-subst-table): New variable.
6766 (utf-8-compose-scripts): New option.
6767 (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
6769 * international/ucs-tables.el, international/utf-8-subst.el:
6772 * international/characters.el: Don't set word syntax (the default)
6773 explicitly. Add a diacritic category. Add info for Unicode
6774 equivalents of characters in various Mule charsets and for extra
6775 Unicode characters. Don't define specific categories for
6776 Indian/Devanagari, since they aren't used.
6778 2001-12-06 Richard M. Stallman <rms@gnu.org>
6780 * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
6781 (set-justification-left, set-justification-right): Doc fix.
6783 * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
6784 (bug-f90-mode): Variable deleted.
6786 2001-12-06 Stefan Monnier <monnier@cs.yale.edu>
6788 * indent.el (indent-line-function): Default is indent-relative again.
6790 2001-12-07 Miles Bader <miles@gnu.org>
6792 * progmodes/compile.el (compilation-error-regexp-alist):
6793 Added regexps for RXP.
6795 2001-12-05 Eli Zaretskii <eliz@is.elta.co.il>
6797 * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
6798 Add shift-assignment operators to those highlighted, and highlight
6799 the whole operator rather than just the "=".
6801 2001-12-04 Juanma Barranquero <lektu@terra.es>
6803 * files.el (save-abbrevs, save-some-buffers): Don't ask the user
6804 before saving abbrevs if `save-abbrevs' has the value `silently'.
6806 2001-12-04 Andreas Schwab <schwab@suse.de>
6808 * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
6810 2001-12-04 Colin Walters <walters@debian.org>
6812 * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
6813 for `defmacro*' forms.
6815 * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
6818 2001-12-03 Stefan Monnier <monnier@cs.yale.edu>
6820 * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
6822 2001-12-02 Richard M. Stallman <rms@gnu.org>
6824 * files.el (insert-directory): If the df output does not look right,
6825 don't try to use it. Other cleanups in overall code structure.
6827 2001-12-02 Stefan Monnier <monnier@cs.yale.edu>
6829 * textmodes/outline.el (outline-mode-prefix-map):
6830 Add bindings for outline-promote and outline-demote.
6831 (outline-minor-mode-menu-bar-map): New var.
6832 (outline-minor-mode): Use it.
6833 (outline-heading-alist): New var (renamed from outline-level-heading).
6834 (outline-level): Use it.
6835 (outline-insert-heading, outline-promote, outline-demote):
6836 Update to use outline-heading-alist.
6838 * disp-table.el (standard-display-european):
6839 Simplify since the function is not interactive any more.
6840 Don't set the existing buffers to unibyte.
6842 * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
6844 * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
6846 * reveal.el (reveal-mode): Fix reveal-mode's lighter.
6848 * shell.el (shell): Use shell-file-name.
6849 Pop to buffer before calling comint to set COLUMNS properly.
6851 * emacs-lisp/cl.el (svref): New alias.
6853 * progmodes/antlr-mode.el (antlr-c-common-init):
6854 Don't inhibit adaptive-fill-mode any more.
6856 * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
6858 * progmodes/etags.el (tags-with-face): Use make-symbol.
6859 (tags-search, tags-query-replace): Use backquotes.
6861 * textmodes/picture.el (picture-mode-map): Don't use defconst
6864 2001-12-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6866 * textmodes/reftex-index.el (reftex-index-mode):
6867 Remove make-local-hook.
6869 * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
6871 2001-12-02 Kim F. Storm <storm@cua.dk>
6873 * isearch.el (isearch-resume-enabled): New variable.
6874 (isearch-done): Use that variable.
6876 2001-12-01 Richard M. Stallman <rms@gnu.org>
6878 * wid-edit.el (widget-button-click): Don't move point permanently:
6879 Avoid mouse-set-point--instead select the window,
6880 then do save-excursion, then move point.
6881 Specify the buffer for get-char-property.
6882 Don't use `@' in interactive.
6884 * indent.el (indent-line-function):
6885 Default is indent-to-left-margin again.
6887 * replace.el (query-replace-read-args): Display message
6888 if FROM contains `\n' or `\t'.
6890 2001-12-01 Stefan Monnier <monnier@cs.yale.edu>
6892 * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
6894 * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
6896 * emacs-lisp/regexp-opt.el (regexp-opt):
6897 Bind completion-regexp-list to nil.
6899 * progmodes/hideif.el (hif-nexttoken): Move to before first def.
6901 2001-12-01 Eli Zaretskii <eliz@is.elta.co.il>
6903 * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
6904 * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
6907 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
6909 * mail/smtpmail.el: Use with-current-buffer.
6910 (message-make-date, message-make-message-id): Autoload when needed.
6911 (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
6912 headers when missing.
6914 * international/encoded-kb.el (encoded-kbd-mode):
6915 Use define-minor-mode.
6917 * enriched.el (enriched-mode): Use define-minor-mode.
6918 Use dolist and pop and push.
6920 * info.el (Info-find-node-2): Don't call info-insert-file-contents
6921 with the `visit' argument.
6922 (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
6924 * progmodes/hideif.el (hide-ifdef-mode): Only modify
6925 `change-major-mode-hook' locally. Reset invisibility spec.
6927 * man.el (Man-build-section-alist): Remove last Man-match-substring.
6929 2001-11-30 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
6931 * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
6932 Clarify error message.
6934 2001-11-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
6936 * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
6938 2001-11-30 Andre Spiegel <spiegel@gnu.org>
6940 * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
6941 don't just return it.
6943 2001-11-30 Eli Zaretskii <eliz@is.elta.co.il>
6945 * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
6946 (menu-bar-read-emacs-man, search-emacs-glossary)
6947 (emacs-index-search, elisp-index-search): New functions.
6948 (apropso-documentation, apropos, apropos-value, apropos-variable)
6949 (apropos-commands): Modify menu item names and help text.
6950 (elisp-index-search, emacs-index-search, emacs-glossary):
6952 (menu-bar-manuals-menu): Move the Ordering Manuals item to a
6954 (info-elisp, info-elintro): New menu items.
6955 (apropos): Modify the menu item name.
6957 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
6959 * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
6961 * textmodes/outline.el (outline-promote, outline-demote): Typo.
6963 * man.el (man-follow-mouse): New function.
6964 (Man-mode-map): Bind mouse-2 to it.
6965 (Man-match-substring): Remove. Replace with `match-string'.
6966 (man): Use the `default-value' argument to `read-string'.
6967 (Man-fontify-manpage): Add mouse-face to cross references.
6969 * emacs-lisp/cl-macs.el (shiftf): Fix more. Simplify.
6971 2001-11-29 Stefan Monnier <monnier@cs.yale.edu>
6973 * emacs-lisp/crm.el (completing-read-multiple): Better preserve
6974 the value of require-match in minibuffer-completion-confirm.
6975 Use crm-local-completion-map.
6977 * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
6978 (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
6979 (cl-make-type-test): Use char-valid-p for `character'.
6981 * info.el (Info-complete-next-re, Info-complete-cache): New vars.
6982 (Info-complete-menu-item): Rewrite. Add the ability to search
6983 several sequential nodes. Add a simple caching mechanism.
6984 (Info-goto-index): New function extracted from Info-index.
6985 (Info-index): Use it. Add completion to the interactive spec.
6986 (Info-menu-update): Simplify call to `Info-complete-menu-item'.
6988 2001-11-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
6992 2001-11-29 Dave Love <fx@gnu.org>
6994 * progmodes/fortran.el: Fontify rewind, backspace. Doc fixes.
6995 (fortran-window-create, fortran-window-create-momentarily):
6996 Rewrite, moving error condition.
6997 (fortran-beginning-do, fortran-beginning-if): Fix regexps.
6998 (fortran-mode-syntax-table): Revert last change.
7000 * international/mule.el: Doc fixes.
7001 (map-charset-chars): New function.
7002 (register-char-codings): Use it to cope with generic chars in
7005 2001-11-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7007 * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
7009 * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
7011 * play/studly.el (studlify-word, studlify-region)
7012 (studlify-buffer): Fix doc-string.
7013 (studlify-buffer): Add autoload cookie.
7015 2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
7017 * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
7018 (outline-up-heading-all): Remove.
7019 (hide-sublevels): Move to end-of-heading before calling flag-region.
7020 (outline-copy-overlay, outline-discard-overlays): Remove.
7021 (outline-flag-region): Use `remove-overlays'.
7022 Don't move to end-of-heading.
7023 (outline-next-visible-heading, outline-back-to-heading)
7024 (outline-on-heading-p): Use outline-invisible-p.
7025 (outline-font-lock-level): Use outline-up-heading's new arg.
7026 (outline-minor-mode): Simplify.
7027 (outline-map-tree, outline-reveal-toggle-invisible): New funs.
7028 (outline): Put a `reveal-toggle-invisible' property.
7029 (outline-level-heading): New var.
7030 (outline-insert-heading, outline-promote, outline-demote)
7031 (outline-toggle-children): New commands.
7033 * progmodes/hideif.el (hif-end-of-line): New function.
7034 (hide-ifdef-mode): Set line-move-ignore-invisible.
7035 (hide-ifdef-region-internal): New function.
7036 (hide-ifdef-region): Use it.
7037 (hif-defined): Return an integer.
7038 (hif-infix-to-prefix): Remove.
7039 (hif-tokenize): Parse from the buffer rather than from a string.
7040 Correctly tokenize integers. Use forward-comment.
7041 (hif-expr): Use hif-or.
7042 (hif-term): Use hif-and.
7043 (hif-factor): Use hif-not. Handle numbers properly.
7044 Don't require parenthesis around `defined's argument.
7045 (hif-and, hif-or, hif-not): New funs.
7046 (hif-canonicalize): Pass a region to hif-tokenize. Use hif-not.
7047 (hif-hide-line): Don't hide the \n before the line.
7048 (hif-possibly-hide): Correctly handle numeric evaluation results.
7050 * progmodes/make-mode.el: Use line-(end|beginning)-position.
7051 (makefile-mode): Set indent-line-function.
7052 (makefile-browser-insert-continuation): Use with-current-buffer.
7053 (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
7055 2001-11-28 Karl Fogel <kfogel@red-bean.com>
7057 * isearch.el (isearch-yank-internal): New helper function.
7058 (isearch-yank-char): New function.
7059 (isearch-yank-word, isearch-yank-line): Rewrite to use
7060 isearch-yank-internal.
7062 2001-11-28 Eli Zaretskii <eliz@is.elta.co.il>
7064 * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
7065 aren't supported. Print a message to that effect if invoked.
7067 2001-11-27 Stephen Eglen <stephen@gnu.org>
7069 * locate.el (locate): Put point at first matching file rather
7072 2001-11-27 Stefan Monnier <monnier@cs.yale.edu>
7074 * reveal.el: New file.
7076 * progmodes/hideif.el: Misc cleanup.
7077 (hide-ifdef-mode-submap): Put the def in the defvar.
7078 Use substitute-key-definition.
7079 (hide-ifdef-mode): Use define-minor-mode.
7080 (hif-outline-flag-region): Remove.
7081 (hif-show-all): Define in terms of hif-show-ifdef-region.
7082 (hif-after-revert-function): Rename from hif-before-revert-function.
7083 (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
7084 (hif-tokenize): Use with-syntax-table.
7085 (hif-make-range): Use `else' also for `else-p'.
7086 (hif-range-else-p): Remove.
7087 (hif-find-range): Simplify.
7088 (hif-hide-line): Don't bother preserving buffer-modified-p.
7089 (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
7090 Don't use selective-display and inhibit-read-only.
7092 * subr.el (copy-overlay, remove-overlays): New funs.
7094 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
7096 2001-11-27 Sam Steingold <sds@gnu.org>
7098 * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
7099 * lazy-lock.el, mouse-sel.el, mail/feedmail.el
7100 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
7101 * obsolete/c-mode.el, obsolete/cplus-md.el
7102 * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
7103 * term/sun-mouse.el, textmodes/artist.el:
7104 Converted backquote to the new style.
7105 * mouse.el, reposition.el: Likewise (in comments).
7106 * expand.el: Likewise (in a string).
7108 2001-11-27 Richard M. Stallman <rms@gnu.org>
7110 * cus-edit.el (custom-load-symbol): Don't always load locate-library.
7112 2001-11-26 Richard M. Stallman <rms@gnu.org>
7114 * wid-edit.el (widget-toggle-value-create): On graphic terminal,
7115 if :on-glyph or :off-glyph is a list, eval it and store it back.
7116 (checkbox): Quote the values for :on-glyph and :off-glyph.
7118 * cus-start.el (recursive-load-depth-limit): Delete item.
7120 2001-11-26 Stefan Monnier <monnier@cs.yale.edu>
7122 * help-fns.el (describe-categories, help-describe-category-set): New.
7123 describe-categories moved here from src/category.c.
7125 2001-11-26 Sam Steingold <sds@gnu.org>
7127 * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
7128 arguments to `insert' are strings.
7130 2001-11-26 Richard M. Stallman <rms@gnu.org>
7132 * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
7134 2001-11-26 Eli Zaretskii <eliz@is.elta.co.il>
7136 * international/mule-diag.el: Require help-fns instead of
7139 * help-fns.el: Renamed from help-funs.el.
7141 * startup.el (command-line-1): Don't try to call process-list if
7144 2001-11-26 Sam Steingold <sds@gnu.org>
7146 * frame.el (show-trailing-whitespace): Remove :set argument (the
7147 value was essentially identical to the defalt).
7149 2001-11-26 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7151 * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
7153 * icomplete.el (icomplete-minibuffer-setup): Likewise.
7155 * hilit-chg.el (hilit-chg-set): Likewise.
7157 * speedbar.el (speedbar-mode): Likewise.
7159 * calendar/calendar.el (calendar-mode): Likewise.
7161 * play/yow.el (psychoanalyze-pinhead): Use insert instead of
7164 * play/gamegrid.el (gamegrid-init-buffer): Likewise.
7166 * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
7168 * term/sun-mouse.el (sun-yank-selection): Likewise.
7170 * textmodes/bib-mode.el (return-key-bib): Likewise.
7172 * calendar/appt.el (appt-disp-window): Likewise.
7174 * calendar/diary-lib.el (list-diary-entries): Likewise.
7176 * array.el (array-reconfigure-rows): Likewise.
7178 * filecache.el (file-cache-minibuffer-complete): Likewise.
7180 * obsolete/cplus-md.el (fill-c++-comment): Likewise.
7182 * strokes.el (strokes-prompt-user-save-strokes): Likewise.
7184 * allout.el (outline-version, outline-open-topic)
7185 (outline-rebullet-heading, outline-insert-listified)
7186 (outline-latex-verbatim-quote-curr-line)
7187 (outline-latexify-one-item, outlineify-sticky): Likewise.
7189 * vc.el (vc-next-action-on-file): Likewise.
7190 (vc-dired-mode): Remove make-local-hook.
7192 2001-11-26 Andre Spiegel <spiegel@gnu.org>
7194 * vc.el (vc-find-version): New function.
7195 (vc-version-other-window): Redefined in terms of the above.
7197 * log-view.el (log-view-find-version): New function.
7198 (log-view-mode-map): Bind it to `f'.
7200 2001-11-26 Gerd Moellmann <gerd@gnu.org>
7202 * language/devan-util.el (dev-char-glyph): Escape `"' in
7204 (dev-glyph-glyph, dev-glyph-glyph-2)
7205 (devanagari-compose-syllable-region): Likewise.
7207 2001-11-26 Richard M. Stallman <rms@gnu.org>
7209 * window.el (save-selected-window): No error if saved window is dead.
7211 * help-funs.el (describe-syntax): Put (interactive) after doc string.
7213 2001-11-26 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7215 * international/quail.el (quail-help): Require help-mode in
7218 * iswitchb.el (iswitchb-exhibit): Use insert instead of
7221 * icomplete.el (icomplete-exhibit): Likewise.
7223 2001-11-25 Stefan Monnier <monnier@cs.yale.edu>
7225 * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
7226 (diff-hunk-kill): Simplify.
7227 (diff-post-command-hook): Only apply to a single hunk.
7228 (diff-hunk-text): Make `char-offset' non-optional.
7229 (diff-find-text): Return a cons cell.
7230 (diff-find-approx-text): New fun.
7231 (diff-find-source-location): Use it.
7232 (diff-apply-hunk, diff-test-hunk, diff-goto-source):
7233 Adapt to new retval of diff-find-text.
7235 * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
7236 rather than integer- representation of dates.
7238 * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
7240 * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
7241 (syntax-after): New fun.
7243 * help-funs.el (describe-syntax): New fun.
7245 * font-lock.el (font-lock-cache-state, font-lock-cache-position)
7246 (font-lock-ppss-stats, font-lock-ppss): Remove.
7247 (font-lock-fontify-syntactically-region): Remove tuning code.
7248 (font-lock-compile-keywords): Fix off-by-one bug.
7249 (font-lock-set-defaults): Don't set removed vars.
7250 (c-keywords): Add `inline'.
7251 (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
7253 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7254 Set syntax-begin-function.
7255 (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
7256 (lisp-interaction-mode): Don't set local-abbrev-table any more.
7257 (lisp-mode-auto-fill): Use syntax-ppss and obey
7258 comment-auto-fill-only-comments.
7259 (lisp-fill-paragraph): Use syntax-ppss.
7261 2001-11-25 ShengHuo ZHU <zsh@cs.rochester.edu>
7263 * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
7264 version of rmail-enable-mime.
7265 (rmail-forward): Use it.
7267 2001-11-25 Richard M. Stallman <rms@gnu.org>
7269 * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
7271 * international/quail.el (quail-keyboard-layout-button):
7273 (quail-keyboard-customize-button): Likewise.
7274 (quail-help): Use those button types. Require `help-mode'.
7275 Avoid altering the argument `package'.
7277 * help-mode.el (help-function, help-variable, help-face)
7278 (help-coding-system, help-input-method, help-character-set):
7279 Define each button type with its own explicit define-button-type.
7281 * language/devan-util.el: Comment out parts of the file
7282 which apparently are garbled.
7284 2001-11-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7286 * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
7289 2001-11-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7291 * play/snake.el (snake-mode): Remove make-local-hook.
7293 * play/tetris.el (tetris-mode): Likewise.
7295 * play/decipher.el (decipher-mode): Likewise.
7297 * tmm.el (tmm-add-prompt): Likewise.
7299 2001-11-25 Sam Steingold <sds@gnu.org>
7301 * menu-bar.el (menu-bar-apropos-menu): New variable.
7302 Moved all `apropos' bindings to this menu.
7303 (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
7305 2001-11-24 KAWABATA, Taichi <batta@beige.ocn.ne.jp>
7307 The following changes are for new indian languages support based
7308 on Unicode charset and CDAC fonts.
7310 * international/mule-conf.el: Change indian-1-column charset to
7311 indian-glyph charset.
7313 * international/characters.el: Adjusted for the change of
7314 indian-1-column -> indian-glyph.
7316 * international/fontset.el: Delete the setting for indian-1-column
7317 and add the setting for indian-glyph in the default fontset.
7319 * language/indian.el: Completely re-written.
7321 * language/devanagari.el: Completely re-written.
7323 * language/devan-util.el: Completely re-written.
7325 * language/ind-util.el: New file.
7327 2001-11-24 Richard M. Stallman <rms@gnu.org>
7329 * startup.el (command-line-1): Don't do startup screen
7330 if a subprocess is running. Call the startup screen buffer
7331 "GNU Emacs". Make a special mode-line-format for it.
7333 * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
7334 (browse-url-galeon): Use that variable.
7336 * mail/supercite.el (sc-toggle-var): Don't use set-variable or
7337 eval-expression. Eval and set the variable simply.
7339 * files.el (temporary-file-directory): Use defcustom.
7340 (small-temporary-file-directory): Likewise.
7341 (normal-backup-enable-predicate): Move down in file
7342 after definition of temporary-file-directory.
7344 * bindings.el (last-buffer, unbury-buffer): Doc fixes.
7346 2001-11-24 Colin Walters <walters@debian.org>
7348 * calc/calc-ext.el (calc-init-extensions): Update the rest of the
7349 autoload names to match files renamed on initial calc import.
7351 * calc/calc.el (Commentary): Cleanup, and add logistic curve
7352 fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
7354 2001-11-23 Colin Walters <walters@debian.org>
7356 * Makefile.in (finder_setwins, setwins): Include Calc again.
7358 * calc/calc-rules.el: Add header comment.
7360 2001-11-23 Andre Spiegel <spiegel@gnu.org>
7362 * vc.el (with-vc-properties): Don't bind `filename' locally.
7363 (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
7364 to avoid name clashes. Fix `lisp-indent-function' property for
7367 2001-11-23 Francesco Potorti` <pot@gnu.org>
7369 * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
7371 2001-11-22 Colin Walters <walters@debian.org>
7373 * calc/calc-misc.el (report-calc-bug):
7374 Use `reporter-prompt-for-summary-p'.
7376 * calc/INSTALL, calc/Makefile: Remove.
7378 2001-11-22 Miles Bader <miles@gnu.org>
7380 * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
7381 (reb-match-2, reb-match-3): Add dark-background variants.
7383 2001-11-22 Colin Walters <walters@debian.org>
7385 * calc/calc-misc.el (calc-info): Don't perform voodoo, just
7387 (report-calc-bug): Use reporter.el.
7389 * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
7391 2001-11-21 Richard M. Stallman <rms@gnu.org>
7393 * which-func.el (which-function): Call imenu--make-index-alist
7394 if necessary to get a list of functions.
7395 (which-function-imenu-failed): New variable.
7396 (which-func-update): Handle all visible windows.
7397 (which-func-update-1): New subroutine broken out of which-func-update.
7399 * files.el (temporary-file-directory, null-device)
7400 (small-temporary-file-directory): Definitions moved up.
7402 * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
7403 (cperl-non-problems, cperl-praise): Doc fixes.
7405 * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
7406 (sh-mode-syntax-table): Function restored.
7407 Variable set up for use by function sh-mode-syntax-table.
7408 (sh-set-shell): Set the syntax table.
7410 * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
7412 * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
7414 * international/encoded-kb.el: Don't alter minor-map-alist.
7416 2001-11-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
7418 * files.el (auto-save-file-name-transforms): Put remote files in
7419 temporary-file-directory rather than /tmp.
7421 2001-11-21 Colin Walters <walters@debian.org>
7423 * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
7424 of (function ...) wrapper.
7426 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
7428 * derived.el (define-derived-mode): Create the abbrev-table
7429 from inside the `defvar'.
7431 * jit-lock.el (jit-lock-defer-time): New var.
7432 (jit-lock-defer-timer, jit-lock-buffers): New vars.
7433 (jit-lock-mode): Initialize them. Cancel the timers more carefully.
7434 (jit-lock-function): Defer fontification if requested.
7435 (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
7436 (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
7438 (jit-lock-deferred-fontify): New fun.
7440 2001-11-20 Richard M. Stallman <rms@gnu.org>
7442 * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
7443 Set local-abbrev-table to lisp-mode-abbrev-table.
7445 * emacs-lisp/re-builder.el (reb-mode):
7446 Don't use define-derived-mode. Call kill-all-local-variables.
7448 * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
7449 Don't use define-derived-mode.
7451 * help-mode.el (help-mode): Undo 2001-10-07 change.
7453 * replace.el (occur-mode): Undo 2001-5-20 change.
7455 2001-11-20 Jason Rumney <jasonr@gnu.org>
7457 * w32-fns.el (w32-system-coding-system): Change to an alias for
7458 locale-coding-system.
7459 (set-w32-system-coding-system): Document the above change.
7460 Set locale-coding-system instead.
7462 2001-11-20 Richard M. Stallman <rms@gnu.org>
7464 * ruler-mode.el: Add pagination.
7465 (ruler-mode-toggle-show-tab-stops): No need to
7466 test `ruler-mode' variable.
7468 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
7470 * play/landmark.el: Mark lm-mode as special.
7472 * play/gomoku.el: Mark gomoku-mode as special.
7474 2001-11-20 Juanma Barranquero <lektu@terra.es>
7476 * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
7477 (top-level): Bind it to C-c C-b.
7478 (re-builder): Don't re-enter RE Builder Mode.
7480 * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
7482 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
7484 * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
7487 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
7488 to a line without a comment.
7490 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
7492 * dired.el (dired-listing-switches): Mention in the doc string
7493 that some switches are not supported by ls-lisp.el
7495 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
7497 * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
7498 (imenu--create-keymap-2): Remove.
7499 (imenu--create-keymap-1): Simplify, remove third argument.
7500 (imenu--generic-function): Use dolist.
7501 (imenu-find-default): New function.
7502 (imenu--completion-buffer): Use it.
7503 (imenu--mouse-menu): Use popup-menu.
7504 (imenu--menubar-select): Return t rather than calling imenu.
7506 * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
7507 New functions, extracted from fill-region-as-paragraph.
7508 (fill-region-as-paragraph): Use them.
7509 Use an end marker instead of eob.
7510 Ignore whitespace-only fill-prefixes when indenting according to mode.
7511 Simplify the loop that searches for spaces backwards.
7513 * textmodes/picture.el (picture-vertical-step)
7514 (picture-horizontal-step): Don't use defconst for variables.
7516 * mail/mail-extr.el: Use backquote/dolist/mapc/when. Docstring fixes.
7517 (mail-extract-address-components): Downcase domain names.
7518 (mail-extr-delete-char): Remove. Use delete-char instead.
7520 * emulation/pc-select.el: Doc string fixes.
7521 (pc-selection-mode): Don't treat macos as a tty.
7523 * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
7525 * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
7527 * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
7528 (mouse-wheel-progessive-speed): New var.
7529 (mwheel-scroll): Use it and handle float values.
7531 * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
7533 * iswitchb.el (iswitchb-mode): Use define-minor-mode.
7534 (iswitchb): Fix the case where the result was selected with the mouse.
7535 (iswitchb-completion-help): Use the normal *Completions* now that
7536 mouse selection works.
7537 (iswitchb-minibuffer-setup): Simplify.
7539 * newcomment.el (comment-column, comment-style, comment-multi-line)
7540 (comment-auto-fill-only-comments): Remove :group arg.
7541 (comment-padding): Add :type.
7542 (comment-indent-new-line): Ignore comment-auto-fill-only-comments
7543 if called interactively.
7545 2001-11-19 Colin Walters <walters@verbum.org>
7547 * calc/calc.el (toplevel): Add comment and version header.
7548 (calc-init-base): Bump version to 2.02f, update date.
7550 2001-11-19 Richard M. Stallman <rms@gnu.org>
7552 * net/browse-url.el: Support Mozilla and Galeon.
7553 By default, find the installed browser whichever it is.
7554 (browse-url-mozilla): New function.
7555 (browse-url-mozilla-sentinel): New function.
7556 (browse-url-galeon, browse-url-galeon-sentinel): New functions.
7557 (browse-url-default-browser): New function.
7558 (browse-url-process-environment): Use browse-url-browser-display.
7559 (browse-url-browser-display): Renamed from browse-url-netscape-display.
7560 (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
7561 (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
7562 (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
7563 (browse-url-browser-function): New default, new options.
7565 2001-11-19 Sam Steingold <sds@gnu.org>
7567 * bindings.el (last-buffer, unbury-buffer): New function.
7568 (mode-line-unbury-buffer): Use `unbury-buffer'.
7570 2001-11-18 Stephen Eglen <stephen@gnu.org>
7572 * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
7573 control behaviour when no further completion is possible.
7575 2001-11-19 Colin Walters <walters@verbum.org>
7577 * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
7578 (math-showing-full-precision, math-with-extra-prec, math-working)
7579 (calc-with-default-simplification)
7580 (calc-with-trail-buffer): Use backtick.
7581 (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
7582 (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
7583 (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
7584 (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
7585 (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
7586 (Math-num-integerp, Math-bignum-test, Math-equal-int)
7587 (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
7588 (calc-record-compilation-date-macro): Deleted. Callers updated.
7589 (math-format-radix-digit): Move to calc-bin.el.
7591 * calc/calc.el (calc-record-compilation-date): Remove.
7592 (calc-bug-address): Update.
7593 (calc-settings-file): Use `user-init-file'.
7595 * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
7596 Handle null `calc-settings-file'.
7598 * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
7599 * calc/calc-keypd.el (calc-keypad-mode): New.
7600 (calc-do-keypad): Use it.
7601 (calc-keypad-map): Move into `calc-keypad-mode'.
7603 * calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
7604 to defalias argument.
7606 * calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
7607 (calcFunc-floor): Ditto.
7609 * calc-units.el (calcFunc-usimplify): Ditto.
7611 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
7612 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
7613 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
7614 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
7615 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
7616 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
7617 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
7618 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
7619 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
7620 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
7621 * calcsel2.el: Change all toplevel `setq' forms to `defvar' forms,
7622 and move them before their first use. Use `when', `unless'.
7623 Remove trailing periods from error forms. Add description and
7624 headers suggested by Emacs Lisp coding conventions.
7626 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
7628 * newcomment.el (comment-indent):
7629 Fix misindentation for comment-only lines.
7630 (comment-indent-new-line): Only obey comment-multi-line if the
7631 comment-ender is not the end-of-line.
7633 2001-11-19 Richard M. Stallman <rms@gnu.org>
7635 * net/net-utils.el (network-connection-service-abbrev-alist):
7638 * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
7639 Advance to start of 3rd sexp by moving fwd and backing over it.
7640 At first three elements, act like defun.
7642 * delsel.el (delete-selection-pre-hook): Handle and resignal
7643 file-supersession errors to interact properly with userlock.el.
7645 2001-11-18 Richard M. Stallman <rms@gnu.org>
7647 * progmodes/fortran.el (fortran-mode-syntax-table):
7648 Specify punctuation syntax for backslash.
7650 * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
7653 * international/mule-util.el (string-to-sequence): Make it obsolete.
7654 (string-to-list, string-to-vector): Implement them directly
7655 using append and vconcat, not with string-to-sequence.
7657 * startup.el (command-line): Set abbrevs-changed to nil after
7658 reading the init file and the abbrevs file.
7660 * isearch.el (isearch): Use magenta2 as bg for (background light)
7662 2001-11-17 Richard M. Stallman <rms@gnu.org>
7664 * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
7666 * simple.el (minibuffer-history-sexp-flag): Doc fix.
7668 2001-11-17 Stefan Monnier <monnier@cs.yale.edu>
7670 * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
7671 If set and if applicable, add a regexp to highlight defun-like
7672 text inside comments and strings.
7673 (font-lock-fontify-keywords-region): Pass that new arg.
7674 (font-lock-set-defaults): Move the code to set `font-lock-keywords'
7675 to the end and pass that new arg.
7676 (c-font-lock-keywords-2): Fix regex for labels.
7677 (font-lock-match-c++-style-declaration-item-and-skip-to-next):
7678 Make it work when LIMIT is several lines further.
7679 (c-font-lock-keywords-3, c++-font-lock-keywords-3)
7680 (objc-font-lock-keywords-3, java-font-lock-keywords-3):
7681 Use backquote and make the regexes for `int a, b, c;' work on
7684 * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
7685 (font-lock-defaults-alist): Don't change it any more.
7686 (reb-subexp-mode-map): Cleanup.
7688 * custom.el (custom-current-group-alist): New var.
7689 (custom-declare-group): Set it.
7690 (custom-current-group): New fun.
7691 (custom-declare-variable, custom-handle-all-keywords):
7692 Use it as a default if no :group argument is specified.
7694 * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
7695 (standard-keyboard-coding-systems): New var.
7696 (set-locale-environment): Use it to decide whether or not to call
7697 set-keyboard-coding-system.
7698 (locale-language-names): Use \"French\" for "fr".
7700 2001-11-17 Richard M. Stallman <rms@gnu.org>
7702 * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
7703 (add-to-list): Delete compatibility code.
7704 (checkdoc-next-message-error): Doc fix.
7706 2001-11-17 Stephen Eglen <stephen@gnu.org>
7708 * locate.el (locate): Show default locate pattern within the
7709 prompt, but don't insert it into the minibuffer contents.
7710 Catch the case when pattern is the empty string.
7712 2001-11-17 Eli Zaretskii <eliz@is.elta.co.il>
7714 * language/european.el ("French"): New language environment.
7716 2001-11-16 Richard M. Stallman <rms@gnu.org>
7718 * calendar/todo-mode.el (todo-save): Fix previous change.
7720 * subr.el (functionp): Do use cdr-safe on object.
7722 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
7724 * bindings.el (mode-line-mode-name): Only put the help-echo property
7725 if the local-map property was put as well.
7726 (global-map): Bind switch-frame, delete-frame, iconify-frame
7727 and make-frame-visible events.
7729 * emacs-lisp/elp.el (elp-not-profilable): New var.
7730 (elp-not-profilable-p): New function.
7731 (elp-instrument-function): Use it. Use backquotes and push.
7733 * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
7734 (byte-stack+-info, byte-compile-last-warned-form)
7735 (byte-compile-last-logged-file): Don't defconst a variable.
7736 (no-byte-compile): Declare.
7737 (byte-compile-file): Don't boundp-check no-byte-compile any more.
7738 (byte-compile-defvar): Leave defconst as is.
7740 * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
7741 (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
7742 (edebug-current-offset, edebug-old-def-name, edebug-error-point)
7743 (edebug-best-error): Don't defconst a variable.
7744 (edebug-read-syntax-table): Use a char-table.
7745 (edebug-lemacs-specific): Remove.
7746 Toplevel: Eliminate check for Lucid Emacs.
7748 * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
7750 * rect.el (move-to-column-force): Mark obsolete.
7751 (operate-on-rectangle, delete-extract-rectangle-line)
7752 (insert-rectangle, delete-whitespace-rectangle-line)
7753 (open-rectangle-line, clear-rectangle-line): Use move-to-column.
7754 (string-rectangle-history): New var.
7755 (string-rectangle, string-insert-rectangle): Use it.
7756 (delete-rectangle-line): Fix pos/column mixup and simplify.
7758 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
7759 (normal-top-level, command-line, command-line-1): Simplify.
7761 * tar-mode.el (tar-mode): Use define-derived-mode.
7763 * view.el (view-mode-enable): Don't use make-local-hook.
7765 * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
7767 2001-11-16 Richard M. Stallman <rms@gnu.org>
7769 * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
7770 if it doesn't make sense as anything else.
7771 Don't recognize a "telephone number" at the beginning of the name.
7772 (mail-extr-leading-garbage): Match non-word characters only.
7774 2001-11-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7776 * startup.el (command-line-processed): Doc fix.
7778 * apropos.el (apropos-next-label-button): Doc fix.
7780 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
7782 * comint.el (comint-mode): Simplify.
7783 (make-comint-in-buffer): Run `comint-mode' only if necessary.
7785 * subr.el (eval-after-load): Make it work with features as well.
7787 * log-view.el (log-view-mode): Don't mark the buffer unmodified.
7789 * international/mule-cmds.el (describe-input-method): Setup xref.
7790 (set-language-environment): Use functionp.
7791 (locale-language-names, locale-charset-language-names)
7792 (locale-preferred-coding-systems): Defconst and purecopy.
7794 * language/european.el (mac-roman): Add mime-charset property.
7796 2001-11-15 Richard M. Stallman <rms@gnu.org>
7798 * emacs-lisp/cl.el (values, values-list, multiple-value-list)
7799 (multiple-value-apply, nth-value): Use defsubst rather than defalias
7800 to get better doc strings.
7802 2001-11-15 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7804 * derived.el: Fix autoload cookie.
7806 2001-11-15 Richard M. Stallman <rms@gnu.org>
7808 * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
7810 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
7812 * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
7814 2001-11-15 Richard M. Stallman <rms@gnu.org>
7816 * dired.el (dired-undo): Display a message to explain
7817 that this does not undo file system changes.
7819 2001-11-15 David Kastrup <David.Kastrup@t-online.de>
7821 * mouse-drag.el (mouse-drag-throw): Push back non-drag events
7822 into `unread-command-events' instead of trying keymap
7823 lookups ourselves. This makes mouse-clicks do the right
7824 thing even when keymaps of overlays are involved.
7825 (mouse-drag-drag): Likewise.
7827 2001-11-15 Andreas Schwab <schwab@suse.de>
7829 * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
7830 characters and append anchor to pattern added to auto-mode-alist.
7832 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
7834 * server.el (server-process-filter): Run pore/post-comment-hook
7835 before/after visiting the file.
7837 * info-look.el (makefile-mode): Add info for automake.
7838 (autoconf-mode): Fix the name of the index for automake.
7840 * international/latin-9.el: Give pilcrow punctuation syntax.
7842 2001-11-15 Andre Spiegel <spiegel@gnu.org>
7844 * vc.el: Documentation fixes.
7846 2001-11-14 Stefan Monnier <monnier@cs.yale.edu>
7848 * smerge-mode.el (smerge-match-conflict): Fix typo.
7849 (smerge-diff): Be careful to read match-data early enough.
7851 2001-11-14 Colin Walters <walters@verbum.org>
7853 * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
7854 (calcFunc-subst): Use `defalias' instead of `fset' and
7857 * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
7858 (calcFunc-ceil, calcFunc-round): Ditto.
7860 * calc/calc-bin.el (calcFunc-clip): Ditto.
7862 * calc/calc-ext.el (calcFunc-evalv): Ditto.
7864 * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
7866 * calc/calc-misc.el (math-fixnump, math-fixnatnump)
7867 (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
7869 * calc/calc-units.el (calcFunc-unsimplify): Ditto.
7871 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
7872 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
7873 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
7874 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
7875 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
7876 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
7877 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
7878 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
7879 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
7880 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
7881 * calcsel2.el: Style cleanup; don't put closing parens on their
7882 own line, add "foo.el ends here" to each file, and update
7885 * README: Update maintainer.
7887 2001-11-13 Richard M. Stallman <rms@gnu.org>
7889 * progmodes/compile.el (recompile): Use compilation-arguments if
7890 set, so as to be able to M-x recompile the exact command which
7891 created a compilation-mode buffer.
7893 * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
7895 2001-11-13 Gerd Moellmann <gerd@gnu.org>
7897 * mouse.el (mouse-drag-region): Don't run the up-event
7898 handler if window start changed due to the down-mouse event.
7900 2001-11-13 Richard M. Stallman <rms@gnu.org>
7902 * mouse.el (mouse-show-mark): Either move point to the mark
7903 or use highlighting, never both.
7904 (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
7906 2001-11-13 Simon Josefsson <jas@extundo.com>
7908 * mail/smtpmail.el (top-level): Change maintainer to Simon
7909 Josefsson, cleanup the smtpmail.el header.
7911 * mail/smtpmail.el (top-level): Don't require cl or base64.
7912 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
7913 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
7914 Defsubst instead of defmacro.
7915 (smtpmail-intersection): Return value in reverse order.
7916 (smtpmail-open-stream): Use stringp instead of string-to-list.
7917 (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
7918 separated from smtpmail-via-smtp.
7920 * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
7921 rfc2104. Require base64 and cl.
7922 (smtpmail-smtp-service): Doc fix. :type fix.
7923 (smtpmail-debug-info): Doc fix.
7924 (smtpmail-debug-verb, smtpmail-auth-credentials)
7925 (smtpmail-starttls-credentials, smtpmail-auth-supported):
7927 (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
7928 mail-utils (it is autoloaded).
7929 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
7930 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
7931 (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
7932 (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
7933 (smtpmail-via-smtp): Support AUTH.
7934 (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
7936 2001-11-13 Richard M. Stallman <rms@gnu.org>
7938 * ebuff-menu.el (electric-buffer-update-highlight): New function.
7939 (electric-buffer-overlay): New variable.
7940 (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
7941 (electric-buffer-list): Likewise.
7943 * isearch.el (isearch-whitespace-chars): Doc fix.
7944 (isearch-mode): Handle negative search-slow-window-lines correctly.
7946 2001-11-13 Stefan Monnier <monnier@cs.yale.edu>
7948 * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
7950 * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
7951 From Emmanuel Briot <briot@act-europe.fr>.
7953 2001-11-13 Colin Walters <walters@debian.org>
7955 * calc/calc.el (calc-unread-command): Use `unread-command-events'.
7957 * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
7958 "~/.emacs"; use `read-file-name'.
7960 * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
7961 * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
7962 * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
7963 * calc/calc.el: Use `frame-width' instead of `screen-width',
7964 `frame-height' instead of `screen-height', and,
7965 `executing-kbd-macro' instead of `executing-macro'.
7967 * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
7968 correct number of arguments.
7970 * calc/calc-aent.el (calc-do-alg-entry):
7971 Use `blink-paren-function' instead of `blink-paren-hook'.
7973 2001-11-12 Richard M. Stallman <rms@gnu.org>
7975 * calendar/todo-mode.el (todo-save): Add save-excursion
7976 and save-restriction.
7978 * server.el (server-edit, server-done): Doc fix.
7980 * simple.el (clone-indirect-buffer): Error if major mode symbol
7981 has a no-clone-indirect property.
7982 (clone-buffer): Check for obvious errors before reading clone name.
7984 * info.el (Info-mode): Add a no-clone-indirect property.
7986 2001-11-12 Sam Steingold <sds@gnu.org>
7988 * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
7989 set-buffer-modified-p to nil after `vc-exec-after'.
7990 * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
7991 (log-view-mode): Make read-only.
7992 (log-view-current-file): Do final `expand-file-name' in the
7993 current `default-directory'.
7994 (log-view-current-tag): Take an optional `where' arg.
7995 (log-view-diff): New user command.
7997 2001-11-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
7999 * progmodes/cpp.el (cpp-choose-face): Fix typo.
8001 2001-11-12 Sam Steingold <sds@gnu.org>
8003 * emacs-lisp/cl-indent.el (toplevel): Indent properly
8004 `generic-flet', `generic-labels', `with-accessors',
8005 `with-condition-restarts'.
8007 2001-11-12 Richard M. Stallman <rms@gnu.org>
8009 * dired.el: Many trivial doc fixes.
8010 (dired-get-file-for-visit): New function.
8011 (dired-find-alternate-file, dired-mouse-find-file-other-window):
8012 (dired-view-file, dired-find-file-other-window, dired-display-file):
8013 (dired-find-file): Use dired-get-file-for-visit.
8015 2001-11-12 Alex Schroeder <kensanata@yahoo.com>
8017 * sql.el (sql-mode): Doc change.
8019 * sql.el (sql-mode-syntax-table): The backslash is no longer an
8022 2001-11-12 Colin Walters <walters@debian.org>
8024 * calc/calc-keypd.el (toplevel): Bind mouse buttons.
8025 (calc-do-keypad): Don't attempt to use nonexistent global
8026 mouse-map, use calc-keypad-map.
8027 (calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
8028 (calc-keypad-left-click): Don't use mouse-map; update to new event
8030 (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
8031 (calc-keypad-press): Use `unread-command-events' instead of
8032 `unread-command-char'.
8034 * calc/calc-ext.el (calc-init-extensions): Update autoload names
8035 to match files renamed on initial calc import.
8037 2001-11-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8039 * textmodes/flyspell.el (flyspell-default-dictionary):
8040 Fix previous change.
8042 2001-11-12 Richard M. Stallman <rms@gnu.org>
8044 * textmodes/flyspell.el (flyspell-default-dictionary):
8047 2001-11-11 Richard M. Stallman <rms@gnu.org>
8049 * calendar/solar.el (solar-sunrise-and-sunset):
8050 Exchange the two extreme values of day-length.
8052 * progmodes/sh-script.el (sh-must-be-shell-mode):
8053 Allow modes derived from sh-mode.
8055 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
8056 Turn off error in some re-search-forward calls.
8058 * replace.el (query-replace-skip-read-only): New variable.
8059 (perform-replace): If that variable is non-nil, ignore matches
8060 that have a read-only property.
8062 * derived.el (define-derived-mode): Doc fix.
8064 * server.el (server-buffer-done): Test of server-existing-buffer
8066 (server-existing-buffer): Doc fix.
8068 * textmodes/flyspell.el (flyspell-default-dictionary):
8069 Allow nil as value, and make nil the default.
8071 2001-11-11 Eli Zaretskii <eliz@is.elta.co.il>
8073 * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
8075 (clipboard-yank): Ditto.
8077 2001-11-11 Colin Walters <walters@verbum.org>
8079 The following changes are based on patches from
8080 Eli Zaretskii <eliz@is.elta.co.il>, Kai Gro
\e,A_
\e(Bjohann
8081 <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
8083 * calc/calc.el (toplevel): Require calc-macs.
8084 (calc-minibuffer-size): New.
8085 (calcDigit-nondigit): Use it instead of `buffer-size'.
8086 (calcDigit-backspace): Likewise.
8087 (calcDigit-nondigit): Use `minibuffer-contents' instead of
8089 (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
8091 (calcDigit-key): Use `calc-minibuffer-contains' instead of a
8094 * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
8097 * calc/calc-ext.el: (toplevel): Require calc.
8098 (calc-fancy-prefix-map): New.
8099 (calc-fancy-prefix): Use it.
8100 (calc-fancy-prefix-other-key): New.
8102 * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
8103 (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
8104 (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
8105 (calcAlg-enter): Likewise.
8106 (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
8108 2001-11-10 Richard M. Stallman <rms@gnu.org>
8110 * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
8111 (quietly-read-abbrev-file): Doc fix.
8113 * startup.el (command-line): Read standard abbrev
8114 file (abbrev-file-name), if it exists.
8116 * files.el (save-abbrevs): Default value is t.
8118 * progmodes/compile.el (compile-goto-error): Fix previous change
8119 in the case where subsequent errors have not been parsed yet
8120 because they are in a different source file.
8122 2001-11-10 Peter Kleiweg <kleiweg@let.rug.nl>
8124 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8125 Merge two regular expressions into one.
8126 (ps-mode): Make local bindings for `comment-start' and
8127 `comment-start-skip'.
8128 (ps-mode-looking-at-nested): Simplify an if-else construct;
8129 use `set-match-data' to set the result.
8131 2001-11-10 Richard M. Stallman <rms@gnu.org>
8133 * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
8135 (flyspell-correct-word): Old definition deleted.
8136 (flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
8137 All references renamed too.
8139 2001-11-10 Gerd Moellmann <gerd@gnu.org>
8141 * Makefile.in (finder_setwins, setwins): Exclude Calc.
8143 2001-11-09 Per Abrahamsen <abraham@dina.kvl.dk>
8145 * wid-edit.el (checklist): Removed `:menu-tag'.
8146 (radio-button-choice): Ditto.
8147 (editable-list): Ditto.
8149 2001-11-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8151 * play/gomoku.el: Move definitions of constants to the beginning
8152 of file, before their use.
8154 2001-11-09 Richard M. Stallman <rms@gnu.org>
8156 * textmodes/flyspell.el: Use the keymap property
8157 instead of local-map, and don't use a minor-mode map.
8158 (flyspell-mode-map): Variable deleted.
8159 Don't mess with minor-mode-map-alist.
8160 (calling add-minor-mode): Specify nil for keymap.
8161 And always use add-minor-mode, now that it exists.
8162 (flyspell-overlay-keymap-property-name): Set it to `keymap'.
8163 (flyspell-mode-on): Don't locally bind flyspell-mouse-map
8164 or flyspell-local-mouse-map.
8165 (make-flyspell-overlay): Use flyspell-mouse-map directly.
8166 (flyspell-mode): Doc fix.
8167 (flyspell-mode-on): Don't call make-local-hook.
8169 2001-11-09 Sam Steingold <sds@gnu.org>
8171 * emacs-lisp/debug.el (debugger-make-xrefs):
8172 Add buttons to all symbols.
8174 2001-11-09 Andre Spiegel <spiegel@gnu.org>
8176 * vc.el: Add John David Smith to credits.
8178 Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
8180 * vc-hooks.el (vc-error-occured): Backquotified.
8181 (vc-file-prop-obarray): Use prime length for better efficiency.
8183 * vc.el (vc-clear-context): Fill obarray with 0, not nil.
8185 2001-11-09 Eli Zaretskii <eliz@is.elta.co.il>
8187 * info.el (Info-file-list-for-emacs): Add entries for Calc.
8189 2001-11-09 Miles Bader <miles@gnu.org>
8191 * subr.el (functionp): Don't consider macros as functions.
8193 2001-11-08 Miles Bader <miles@gnu.org>
8195 * subr.el (functionp): Make work correctly for macros and unbound
8198 * comint.el (comint-send-input): Fix description of
8199 `comint-process-echoes' in the doc-string.
8201 2001-11-08 Eli Zaretskii <eliz@is.elta.co.il>
8203 * international/mule.el (make-translation-table): Doc fix.
8204 Suggested by Alex Schroeder <alex@gnu.org>.
8206 2001-11-07 Richard M. Stallman <rms@gnu.org>
8208 * info.el (Info-fontify-node): Highlight every third menu item.
8210 2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk>
8212 * cus-edit.el (custom-face-value-create): Don't ignore the
8213 `customized-face' attribute when finding the current face spec.
8215 2001-11-07 Stefan Monnier <monnier@cs.yale.edu>
8217 * subr.el (with-local-quit): New macro.
8218 (make-syntax-table): Always inherit.
8219 (functionp): Be more careful when `object' is a symbol.
8221 * dabbrev.el (dabbrev-completion): Use "*Completions*".
8223 2001-11-07 Paul Eggert <eggert@twinsun.com>
8225 * dired.el (dired-move-to-filename-regexp):
8226 Do not distinguish between ASCII letters and non-ASCII characters.
8227 Don't allow comma except in the form "month day, year".
8228 Don't allow space between month name and comma.
8229 Clean up the code that checks for trailing period, comma, and space.
8230 Remove now-obsolete comments, and add more commentary about
8232 Always gobble up trailing spaces, instead of doing it only sometimes.
8234 2001-11-07 Miles Bader <miles@gnu.org>
8236 * paren.el (show-paren-match-face): Add dark-background variant.
8238 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
8240 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
8241 (lisp-mode-variables): Don't set paragraph-{start,separate}.
8242 Don't disable adaptive-fill-mode.
8243 (lisp-fill-paragraph): Use tab-width rather than 8.
8244 Prevent filling the first line of docstrings.
8246 2001-11-06 Richard M. Stallman <rms@gnu.org>
8248 * play/gomoku.el (gomoku): Doc fix.
8250 * jka-compr.el (jka-compr-partial-uncompress):
8251 Support an alternative of not using dd.
8252 (jka-compr-dd-program): Use defcustom to define this.
8253 (jka-compr-load-suffixes): Use defcustom.
8254 (jka-compr-mode-alist-additions): Use defcustom.
8256 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
8258 * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
8259 Also work when LIMIT is further than the end of line.
8261 2001-11-06 Eli Zaretskii <eliz@is.elta.co.il>
8263 * international/quail.el (quail-update-leim-list-file): Print the
8264 offending file name if some of its quail-define-package forms is broken.
8266 2001-11-05 Richard M. Stallman <rms@gnu.org>
8268 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
8269 of the evaluated form.
8271 2001-11-05 Paul Eggert <eggert@twinsun.com>
8273 * ls-lisp.el (ls-lisp-time-to-seconds): New function.
8274 (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
8275 stamps always line up by default. Also, it uses a slightly
8276 different window to determine whether files are "recent".
8278 2001-11-05 Andrew Innes <andrewi@gnu.org>
8280 * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
8281 Don't attempt to remake autoloads before nuking .elc files.
8283 2001-11-04 Richard M. Stallman <rms@gnu.org>
8285 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
8286 previous-single-property-change or next-single-char-property-change
8289 * international/mule-cmds.el (set-locale-environment):
8290 Make it interactive; make arg optional.
8292 * international/mule-diag.el (help-funs): Require help-funs.
8294 2001-11-04 Eli Zaretskii <eliz@is.elta.co.il>
8296 * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
8298 2001-11-04 Miles Bader <miles@gnu.org>
8300 * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
8301 shadow of the splash image grey on a dark background instead of black.
8303 2001-11-03 Stefan Monnier <monnier@cs.yale.edu>
8305 * term.el (all faces): Don't (copy-face 'default <foo>).
8307 * term/xterm.el (function-key-map):
8308 Add entry for `ESC [ 3 ~' -> <delete>
8309 Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
8310 Use inheritance so that .emacs and terminfo take precedence.
8312 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
8314 * tooltip.el (tooltip-delay): Decrease to 0.7.
8315 (tooltip-hide-delay): Enlarge to 10.
8317 2001-11-03 Richard M. Stallman <rms@gnu.org>
8319 * startup.el (fancy-splash-tail): Explain how to recover
8320 from a crash, if there was a crash.
8321 (command-line-1): Reorganize display of startup screen,
8322 to simplify the logic. Use a temp buffer for it.
8324 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
8326 * frame.el (set-background-color, set-foreground-color):
8327 Call face-set-after-frame-default, to propagate the new colors to
8328 the frame's parameters alist.
8330 * calendar/timeclock.el (timeclock-out): Signal an error if
8331 timeclock-last-event is nil.
8333 2001-11-02 Stefan Monnier <monnier@cs.yale.edu>
8335 * textmodes/fill.el (fill-context-prefix): Fix braino.
8337 * international/quail.el (quail-help):
8338 Use `help-buffer' and move `help-setup-xref' to beginning.
8340 * international/mule-cmds.el (describe-language-environment):
8341 Use `help-buffer' and move `help-setup-xref' to beginning.
8343 * international/mule-diag.el (list-character-sets)
8344 (sort-listed-character-sets, describe-character-set)
8345 (describe-coding-system, describe-fontset, list-fontsets):
8346 Use `help-buffer' and move `help-setup-xref' to beginning.
8347 (describe-char-after): Use `internal-describe-syntax-value'.
8349 2001-11-02 Richard M. Stallman <rms@gnu.org>
8351 * mouse.el (popup-menu): If the user refuses to select
8352 from a menu, don't try to invoke the menu.
8354 2001-11-02 Miles Bader <miles@gnu.org>
8356 * help-mode.el (help-xref): New button type.
8357 (help-function, help-variable, help-face, help-coding-system)
8358 (help-input-method, help-character-set, help-type, help-symbol)
8359 (help-back, help-info, help-customize-variable, help-customize-face)
8360 (help-function-def, help-variable-def): Use it as a supertype.
8361 Remove `action' property.
8363 * international/mule-diag.el (describe-character-set)
8364 (describe-coding-system): Pass correct args to `help-xref-button'.
8365 (sort-listed-character-sets): New button type.
8366 (list-character-sets): Use it.
8367 (list-charset-chars): New button type.
8368 (list-character-sets-1): Use it.
8370 2001-11-01 Stefan Monnier <monnier@rum.cs.yale.edu>
8372 * indent.el (tab-always-indent, indent-for-tab-command):
8373 Remove redundant `never' setting.
8375 * fill.el (fill-region-as-paragraph): Don't forget to skip
8376 over current whitespace before looking for a preceding space.
8378 2001-11-01 Richard M. Stallman <rms@gnu.org>
8380 * files.el (file-newest-backup): Don't pass backup file name
8381 thru file-name-sans-versions, because it never has version numbers.
8383 * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
8384 to avoid ambiguous nested loops.
8386 * files.el (find-file-noselect): Offer to change buffer-read-only
8387 only when the file's read-only status has changed from before
8388 as well as disagreeing with the buffer's current status.
8389 (buffer-file-read-only): New var, local in all buffers.
8391 * buff-menu.el (buffer-menu): Doc fix.
8392 (buffer-menu-other-window): Doc fix.
8393 (list-buffers, list-buffers-noselect): Doc fix.
8395 2001-11-01 Gerd Moellmann <gerd@gnu.org>
8397 * startup.el (command-line): If the terminal Emacs is running on
8398 has erase char set to ^H, use the Backspace key for deleting
8399 backward, and the Delete key for deleting forward.
8401 2001-11-01 Miles Bader <miles@gnu.org>
8403 * button.el (define-button-type): Make sure every user-defined
8404 button type has a supertype.
8406 2001-10-31 Jason Rumney <jasonr@gnu.org>
8408 * international/mule-cmds.el (locale-language-names): Add chs and
8409 cht as aliases for Chinese-GB and Chinese-BIG5.
8411 2001-10-31 Richard M. Stallman <rms@gnu.org>
8413 * bindings.el (mode-line-frame-identification): Add doc string.
8414 (mode-line-position, mode-line-modes): New variables.
8415 (mode-line-format): Use mode-line-position for the part
8416 that displays the position-in-buffer info.
8417 Use mode-line-modes for the part that displays major and minor modes.
8419 2001-10-31 Sam Steingold <sds@gnu.org>
8421 * emacs-lisp/debug.el (debugger-make-xrefs): New function.
8422 (debugger-setup-buffer): Call it.
8423 (debugger-mode-map): Bind RET and mouse-2.
8425 2001-10-31 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8427 * startup.el: Document command line option --no-window-system
8428 instead of --no-windows.
8430 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
8432 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
8434 * font-lock.el (java-font-lock-syntactic-face-function): New fun.
8435 (font-lock-defaults-alist): Use it.
8436 From David Ponce <david.ponce@wanadoo.fr>
8438 * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
8439 output of `char-after'.
8441 * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
8443 * simple.el (reindent-then-newline-and-indent): Insert the newline
8444 before indenting the first line.
8445 (undo-get-state, undo-revert-to-state): New funs.
8446 (shell-command): Don't kill the buffer even if empty.
8447 (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
8448 (transpose-subr-end2): Remove.
8449 (transpose-subr): Add `special' arg and simplify.
8450 (transpose-subr-1): Rewrite.
8451 (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
8452 (rfc822-goto-eoh): Simplify.
8454 2001-10-30 Richard M. Stallman <rms@gnu.org>
8456 * enriched.el (enriched-face-ans): Fix previous change.
8458 2001-10-30 Gerd Moellmann <gerd@gnu.org>
8460 * international/iso-acc.el (iso-accents-compose): Remove a
8463 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il>
8465 * buff-menu.el (list-buffers-noselect): If the buffer's name
8466 starts with a blank, but it visits a file, do show it (for files
8467 whose names start with a blank).
8469 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
8471 * textmodes/fill.el (sentence-end-double-space)
8472 (sentence-end-without-period): Move to paragraphs.el.
8473 (fill-indent-according-to-mode): Change default to t.
8474 (fill-context-prefix): Simplify control-flow and use a more
8475 sophisticated merge that unifies both previous checks.
8476 (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
8477 (fill-nobreak-predicate): Make it into a defcustom'd hook.
8478 (fill-nobreak-p): New fun.
8479 (fill-region-as-paragraph): Use it.
8480 Handle `fill-indent-according-to-mode' slightly differently.
8481 (fill-individual-paragraphs-prefix): Simplify the control-flow.
8482 (fill-individual-paragraphs-citation): Fix.
8484 * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
8485 (paragraph-start): Change default to the `text-mode' value.
8486 (sentence-end-double-space, sentence-end-without-period):
8488 (forward-paragraph): Use `parstart' and `parsep' for temp variables
8489 rather than rebinding `paragraph-start' and `paragraph-separate'.
8491 * indent.el (indent-line-function): Change default to indent-relative.
8492 (tab-always-indent): Add an `never' setting.
8493 (indent-according-to-mode): Handle `indent-relative' and
8494 `indent-relative-maybe' specially.
8495 (indent-for-tab-command): Rename `prefix-arg' to `arg'.
8496 Handle the `never' case for `tab-always-indent'.
8497 Don't call indent-according-to-mode for indent-relative' and
8498 `indent-relative-maybe'.
8499 (insert-tab): Rename `prefix-arg' to `arg'.
8500 (indent-region): Indent the first line as well.
8501 (indent-relative): Don't mark the buffer modified if the indentation
8504 * textmodes/text-mode.el (paragraph-indent-minor-mode):
8505 Don't set paragraph-separate. Set paragraph-start more carefully.
8506 Set indent-line-function.
8507 (paragraph-indent-text-mode): Use it and define-derived-mode.
8508 (text-mode-map): Remove the \t binding.
8509 (text-mode): Simplify now that the default is more favorable.
8511 2001-10-29 Stefan Monnier <monnier@cs.yale.edu>
8513 * emacs-lisp/find-func.el (find-function-search-for-symbol):
8514 If the regexp doesn't match, use a looser one.
8515 (find-variable-noselect): Add `file' argument.
8517 * pcvs.el (cvs-mode-commit-hook): New hook.
8518 (cvs-mode-commit): Run it.
8520 * log-edit.el (log-edit): Run hook after `log-edit-files'.
8522 * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
8523 (edebug-instrument-function): Use `find-function-noselect'.
8525 2001-10-29 Richard M. Stallman <rms@gnu.org>
8527 * term.el (term-if-emacs19): Macro deleted.
8528 Callers changed to use progn instead.
8530 * frame.el (blink-cursor-mode): Doc fix.
8532 * files.el (find-backup-file-name): Use make-backup-file-name.
8534 * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
8536 (edebug-set-conditional-breakpoint): Unconditionally use
8537 the former Emacs >=19 definition.
8538 (edebug-mark): Define unconditionally.
8539 (edebug-eval-expression): Always call read-from-minibuffer
8540 and specify history list.
8541 (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
8542 edebug-set-conditional-breakpoint.
8543 (edebug-emacs-version-specific): Function deleted;
8544 do the job at top level.
8545 (edebug-emacs-19-specific): Function deleted, this is the default.
8547 2001-10-29 Sam Steingold <sds@gnu.org>
8549 * w32-fns.el (convert-standard-filename): Handle cygwin-specific
8550 "/cygdrive/LETTER/" pathnames.
8552 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il>
8554 * faces.el (invert-face): Check for 'unspecified, not for nil,
8555 when testing whether face colors are not specified.
8556 From David.Kastrup@t-online.de (David Kastrup).
8557 (read-face-name): Doc fix.
8558 (make-face-bold, make-face-unbold, make-face-italic)
8559 (make-face-unitalic, make-face-bold-italic, invert-face):
8560 Remove trailing blank from the prompt passed to read-face-name.
8562 2001-10-29 Sam Steingold <sds@gnu.org>
8564 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8565 Report numbers of files skipped and failed too.
8566 (byte-compile-file): Return 'no-byte-compile for skipped files.
8568 2001-10-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
8570 * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
8573 2001-10-29 Gerd Moellmann <gerd@gnu.org>
8575 * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
8576 as is on unread-command-events instead of `(SECOND-CHAR)'.
8578 2001-10-29 Andre Spiegel <spiegel@gnu.org>
8580 * vc.el: Mention vc-*-switches in backend API documentation.
8581 (vc-annotate): Adapt doc string to recent change.
8583 2001-10-29 Gerd Moellmann <gerd@gnu.org>
8585 * enriched.el (enriched-face-ans): Handle face attributes
8586 of the form `(FACE1 FACE2 ...)'.
8588 * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
8590 2001-10-29 Alex Schroeder <kensanata@yahoo.com>
8592 * progmodes/sql.el (sql-mysql): Doc change by RMS.
8594 * progmodes/sql.el (sql-db2): Doc change.
8595 (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
8596 (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
8598 2001-10-29 Gerd Moellmann <gerd@gnu.org>
8600 * env.el (substitute-env-vars): Don't quote argument to `rx';
8603 2001-10-28 Per Abrahamsen <abraham@dina.kvl.dk>
8605 * cus-start.el (recursive-load-depth-limit): Added.
8607 2001-10-28 Richard M. Stallman <rms@gnu.org>
8609 * textmodes/ispell.el (version18p, version20p): Vars deleted.
8610 All uses removed--assume Emacs version is >= 20.
8612 * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
8613 by really checking that it is not version 18.
8615 * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
8617 2001-10-28 Miles Bader <miles@gnu.org>
8619 * faces.el (face-attribute): Add INHERIT argument, consider face
8620 inheritance if it's non-nil.
8621 (face-attribute-merged-with): New function.
8622 (face-attribute-specified-or): New macro.
8623 (face-foreground, face-background, face-stipple): Add INHERIT
8624 argument. Use `face-attribute-specified-or'.
8626 2001-10-28 Stefan Monnier <monnier@cs.yale.edu>
8628 * font-lock.el: Require `syntax'.
8629 (font-lock-defaults-alist): Don't define keywords for lisp languages.
8630 Use `c-font-lock-syntactic-face-function' for c languages.
8631 (font-lock-mode): Don't unset vars when turning the mode off.
8632 (font-lock-default-fontify-buffer): Don't unset vars at the end.
8633 (font-lock-extra-managed-props): New var.
8634 (font-lock-default-unfontify-region): Use it.
8635 (font-lock-apply-syntactic-highlight): Flush the syntax cache.
8636 Don't eval the value when there's no match.
8637 (font-lock-ppss-stats): New var.
8638 (font-lock-ppss): New fun.
8639 (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
8640 (font-lock-apply-highlight): Allow `highlight' to set several props.
8641 (font-lock-set-defaults): Use dolist.
8642 (font-lock-unset-defaults): Remove.
8643 (font-lock-match-c-style-declaration-item-and-skip-to-next):
8644 Try to recognize prototypes using `foo P_ ((args))'.
8645 ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
8646 (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
8647 (c-font-lock-syntactic-face-function): New function.
8648 (font-lock-match-c++-style-declaration-item-and-skip-to-next)
8649 (c++-keywords): Use a more sophisticated regexp to handle
8650 shallowly nested templates.
8652 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
8654 * textmodes/sgml-mode.el (sgml-empty-tags): New var.
8655 (sgml-tag): Use it. Cleanup with `cond'.
8656 (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
8657 Mark the overlays and only delete those that are marked.
8658 (sgml-skip-close-p): Remove.
8659 (sgml-value): Replace sgml-skip-close-p with its definition.
8660 (html-tag-alist): Use sgml-xml a bit more.
8661 (html-mode): Set sgml-empty-tags.
8663 * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
8664 (texinfo-update-node, texinfo-sequential-node-update):
8665 Don't bind the obsolete `auto-fill-hook'.
8666 (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
8667 Use `set-buffer' rather than `switch-to-buffer'.
8668 (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
8669 Use `set-buffer' rather than `switch-to-buffer'.
8671 * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
8672 text-mode-syntax-table.
8673 (mail-mode): Use define-derived-mode.
8674 Fix ordering of alternatives in adaptive-fill-regexp.
8675 (mail-mode-map): Don't rely on keymap's internal representation.
8677 2001-10-27 Sam Steingold <sds@gnu.org>
8679 * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
8680 (sgml-xml-guess): Extracted from `html-mode' and generalized.
8681 (sgml-mode-common): Call it.
8682 (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
8683 (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
8684 (html-horizontal-rule, html-image, html-ordered-list):
8685 (html-unordered-list, html-list-item, html-paragraph):
8686 (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
8689 2001-10-26 Masayuki Ataka <ataka@milk.freemail.ne.jp>
8691 * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
8692 (ifnothtml): New alias.
8694 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
8696 * textmodes/text-mode.el (text-mode): Use define-derived-mode.
8697 (toggle-text-mode-auto-fill): Use derived-mode-p.
8699 2001-10-27 Gerd Moellmann <gerd.moellmann@t-online.de>
8701 * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
8702 `mdtm'. From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
8704 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
8706 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
8707 Add make-obsolete cookies, to follow faces.el.
8709 These changes avoid warnings from the byte compiler in faces.el:
8711 * faces.el (internal-get-face): Use facep instead of the obsolete
8713 (internal-frob-font-weight, internal-frob-font-slant):
8714 New defaliases for obsolete functions.
8715 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
8716 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
8717 (x-make-font-bold-italic): Use internal-frob-font-weight and
8718 internal-frob-font-slant aliases instead of the obsolete
8719 x-frob-... functions.
8721 2001-10-26 Sam Steingold <sds@gnu.org>
8723 * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
8724 DOCTYPE; set `mode-name' based on it.
8725 (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
8726 (sgml-tag): Close empty tags in XHTML.
8728 2001-10-26 Jason Rumney <jasonr@gnu.org>
8730 * w32-fns.el: (w32-charset-info-alist): Use ANSI for iso10646-1
8731 when UNICODE is not defined.
8733 2001-10-26 Sam Steingold <sds@gnu.org>
8735 * font-lock.el (c-font-lock-keywords-2): Do not require labels to
8736 be alone on the line.
8738 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
8740 * button.el (button): Special face definition for MS-DOS terminals.
8742 2001-10-26 Sam Steingold <sds@gnu.org>
8744 * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
8745 Protect the /= test by checking that the args are non-nil.
8746 (sh-font-lock-close-heredoc): Check eof for being non-nil.
8748 2001-10-26 Tomas Abrahamsson <tab@lysator.liu.se>
8750 * textmodes/artist.el (artist-version): 1.2.4.
8751 (artist-butlast-fn): New variable.
8752 (artist-butlast): New function.
8753 (artist-ellipse-mirror-quadrant): Use it.
8754 (artist-mouse-draw-poly): Use nil for `point-list'.
8755 (artist-mouse-draw-poly): Check for point-list being nil.
8757 2001-10-26 Peter Kleiweg <kleiweg@let.rug.nl>
8759 * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
8761 (ps-mode-menu-main): Submenu with options on/off was replaced with
8763 (ps-mode, ps-run-mode): Define with `define-derived-mode'
8764 (ps-mode): Autoload cookie added on same line as comment
8765 (ps-mode-tabkey, ps-mode-backward-delete-char):
8766 (ps-mode-r-balance): Replace `delete-horizontal-space' and
8767 `indent-to' with `indent-line-to'
8768 (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
8770 (ps-mode-print-region): Use `with-temp-buffer'.
8771 (ps-run-start): Use of `mapconcat'. Use `apply' instead of `eval'.
8772 (numerous places): Add back-tick and tick around names in
8773 docstrings, fix punctuation in docstrings, remove trailing spaces.
8775 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
8777 * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
8778 (sgml-font-lock-keywords-2): Use `eval'. Moved from sgml-mode-common.
8779 (sgml-font-lock-syntactic-keywords): New var.
8780 (sgml-mode-common): Drop the two args.
8781 Don't make buffer-local variables that aren't used.
8782 Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
8783 Don't set `before-string' props from sgml-display-text.
8784 (sgml-mode): Use define-derived-mode.
8785 (sgml-tags-invisible): Use sgml-display-text.
8786 (sgml-quote): New command.
8787 (html-tag-alist): Add args for `span'.
8788 (html-mode): Use define-derived-mode.
8789 Set sgml-display-text and sgml-tag-face-alist.
8791 2001-10-25 Sam Steingold <sds@gnu.org>
8793 * add-log.el (add-log-always-start-new-record): New user option.
8794 (add-change-log-entry): Use it.
8796 2001-10-25 Richard M. Stallman <rms@gnu.org>
8798 * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
8799 bind case-fold-search if FROM is not all lower case.
8801 2001-10-25 Gerd Moellmann <gerd@gnu.org>
8803 * startup.el (normal-top-level): Check for frame-initial-frame
8804 only if it's really used.
8806 * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
8808 * progmodes/compile.el (compilation-parse-errors-filename-function):
8810 (compilation-parse-errors): Use it.
8812 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
8814 * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
8815 interactively so that C-u M-C-x still does edebug.
8816 (checkdoc-sentencespace-region-engine): Don't force a double-space
8817 after `.' if it doesn't look like an end-of-sentence.
8818 (debug-ignored-errors): Add `disambiguate ...'.
8820 2001-10-24 Stefan Monnier <monnier@cs.yale.edu>
8822 * textmodes/texinfo.el (texinfo-environments)
8823 (texinfo-environment-regexp): Hoist.
8824 (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
8825 Only highlight the menu name in menu items.
8826 Setup `@foo ... @end foo' as text clones.
8827 (texinfo-clone-environment): New function.
8828 (texinfo-mode): Simplify auto-fill-inhibit-regexp.
8829 (texinfo-insert-block): Simplify.
8830 (texinfo-insert-quote): Insert a plain " if preceded by \ or if
8831 the command is repeated.
8832 (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
8833 (texinfo-insert-@end): Simplify.
8835 * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
8836 (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
8837 (texinfo-subsubsection-level-regexp)
8838 (texinfo-update-menu-same-level-regexps)
8839 (texinfo-update-menu-higher-regexps)
8840 (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
8842 * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
8843 (derived-mode-p): Autoload.
8845 * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
8846 New vars and functions.
8847 (text-clone-maintain, text-clone-create): New functions.
8849 2001-10-25 Miles Bader <miles@gnu.org>
8851 * facemenu.el (facemenu-add-new-face): Fix variable names.
8853 2001-10-24 Richard M. Stallman <rms@gnu.org>
8855 * facemenu.el (facemenu-unlisted-faces): Improve doc strings
8856 of t and nil values.
8857 (facemenu-set-face): Handle START and END interactively.
8858 (facemenu-set-foreground): Don't use a face; specify color directly.
8859 (facemenu-set-background): Likewise.
8860 (facemenu-set-face-from-menu): Doc fix.
8861 (facemenu-active-faces): Use face-attribute-vector
8862 to handle bare attributes not in faces.
8863 (facemenu-get-face): Don't handle face names fg:... and bg:...
8865 (facemenu-add-new-face): New argument MENU.
8866 New way to handle adding colors to the color menus.
8868 * env.el (substitute-env-vars): Quote the arg to rx.
8870 2001-10-24 Sam Steingold <sds@gnu.org>
8872 * mouse.el (mouse-buffer-menu-mode-groups): Added "Version
8873 Control" and "SGML" groups.
8875 2001-10-24 Martin Stjernholm <bug-cc-mode@gnu.org>
8877 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
8878 Better handling of C++ template args to avoid confusion with `<'
8879 and `>' used as operators in member init expressions.
8881 2001-10-24 Gerd Moellmann <gerd@gnu.org>
8883 * replace.el (perform-replace): Move START and END parameters
8884 to the end of the argument list and make them optional.
8886 * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
8889 * international/fontset.el (x-must-resolve-font-name): New function.
8890 (x-complement-fontset-spec): Use it.
8892 2001-10-23 Stefan Monnier <monnier@cs.yale.edu>
8894 * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
8896 * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
8897 Turn caadr into caar of cdr.
8899 2001-10-23 Gerd Moellmann <gerd@gnu.org>
8901 * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
8902 of mouse-{1,2} since dragging is on the down event.
8904 * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
8906 * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
8909 * desktop.el (desktop-last-buffer): New variable.
8910 (desktop-create-buffer): Set it.
8911 (desktop-read): Bind it and switch to that buffer.
8913 2001-10-22 Gerd Moellmann <gerd@gnu.org>
8915 * progmodes/compile.el (compilation-set-window-height):
8916 Select old window only if it's still live.
8918 2001-10-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8920 * help-mode.el (help-buffer): Remove debugging code.
8921 From Stefan Monnier <monnier@cs.yale.edu>.
8923 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
8925 * files.el (file-name-sans-extension, file-name-extension):
8926 Don't count the leading dots in file names as signaling an extension.
8928 2001-10-22 Andre Spiegel <spiegel@gnu.org>
8930 * vc.el (vc-diff-switches): Doc rewritten.
8932 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
8934 * tooltip.el (tooltip-set-param): Doc fix.
8936 * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
8937 127 to sgml-maybe-name-self.
8938 (sgml-name-8bit-mode): Doc fix.
8939 (sgml-char-names-table): New variable.
8940 (sgml-name-char): Support non-ASCII and mule-unicode-*
8941 characters. Doc fix.
8942 (sgml-maybe-name-self): Convert unibyte characters to multibyte.
8944 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
8945 doc string the effect of `left' and `top' parameters in
8946 tooltip-frame-parameters, the default values, and the units.
8947 (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
8948 (tooltip-show): Mention in the doc string the `top' and `left'
8949 parameters in tooltip-frame-parameters, and x-max-tooltip-size.
8951 2001-10-22 Andre Spiegel <spiegel@gnu.org>
8953 Add autoscaling support for vc-annotate.
8954 From J.D. Smith <jdsmith@alum.mit.edu>.
8956 * vc.el (vc-annotate-display-default): Accept colormap scaling
8957 ratio (now deprecated).
8958 (vc-annotate-display-autoscale): Added.
8959 (vc-annotate-add-menu): New autoscaling menu options "Span to
8960 Oldest" and "Span Oldest->Newest". Easymenu support added for
8961 toggle menus driven by customize variable `vc-annotate-display-mode'.
8962 (vc-annotate-display-select): Added.
8963 (vc-annotate): Changed temp-buffer-show-function to
8964 `vc-annotate-display-select'.
8965 (vc-annotate-display): Removed arguments BUFFER and BACKEND.
8966 Added argument OFFSET. Instead of backend function, calls now
8967 generic `vc-annotate-difference'.
8968 (vc-annotate-difference): Added as generic function instead of
8969 backend-specific function. No longer takes argument POINT, but
8970 instead accepts a time OFFSET.
8971 (vc-default-annotate-current-time): Added.
8973 * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
8974 version in vc.el, with
8975 (vc-cvs-annotate-current-time): Added, as override of default.
8976 (vc-cvs-annotate-time): Added. Taken mostly from the (now removed)
8977 `vc-cvs-annotate-difference'.
8979 2001-10-22 Gerd Moellmann <gerd@gnu.org>
8981 * saveplace.el (save-place): Require `saveplace'.
8983 * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
8984 Use `sexp' for :value-type instead of `face'.
8986 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
8988 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
8989 regexps due to 5-digit message IDs.
8991 2001-10-21 Jason Rumney <jasonr@gnu.org>
8993 * term/w32-win.el (redisplay-dont-pause): Don't set.
8995 2001-10-21 Miles Bader <miles@gnu.org>
8997 * help-funs.el (help-manyarg-func-alist): Variable removed.
8999 2001-10-21 Miles Bader <miles@gnu.org>
9001 * help-funs.el (help-manyarg-func-alist): Remove entries for
9002 `insert', `insert-and-inherit', `insert-before-markers',
9003 `insert-before-markers-and-inherit', `message', `message-box',
9004 `message-or-box', `propertize', `format', `encode-time', `append',
9005 `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
9006 `insert-string', `ml-if', `ml-provide-prefix-argument', and
9007 `ml-prefix-argument-loop'.
9009 2001-10-21 Andre Spiegel <spiegel@gnu.org>
9011 * vc.el (vc-diff-internal, vc-coding-system-for-diff)
9012 (vc-default-diff-tree): New functions.
9013 (vc-version-diff): Use them. As a result, coding systems are now
9014 set up properly for all sorts of diffs, and tree diffs can now
9015 also be done locally.
9016 (vc-diff): With a prefix argument, don't require that it's called
9017 from a buffer under version control.
9018 (diff-switches): Remove duplicate definition.
9020 * vc-cvs.el (vc-cvs-diff-tree): New function.
9022 2001-10-21 Miles Bader <miles@gnu.org>
9024 * help-funs.el (help-manyarg-func-alist): Remove entries for
9025 `list', `vector', `make-byte-code', `call-process',
9026 `call-process-region', `string', `+', `-', `*', `/', `max', `min',
9027 `logand', `logior', and `logxor'.
9029 * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
9030 image bits to compensate. Use `make-string' instead of
9031 `make-bool-vector' (XBM apparently wants byte-aligned rows).
9033 2001-10-20 Kim F. Storm <storm@cua.dk>
9035 * simple.el (kill-ring-save): Don't show extent of copied region
9036 if using transient-mark-mode and region is fully visible.
9038 See ChangeLog.9 for earlier changes.
9041 ;; coding: iso-2022-7bit
9044 Copyright (C) 2001, 2002 Free Software Foundation, Inc.
9045 Copying and distribution of this file, with or without modification,
9046 are permitted provided the copyright notice and this notice are preserved.