1 2003-08-03 Martin Stjernholm <bug-cc-mode@gnu.org>
3 * progmodes/cc-mode.el (c-init-language-vars-for): Add argument
4 MODE. Renamed from c-init-c-language-vars'.
5 (c-initialize-cc-mode): Change accordingly.
6 (c-common-init): Ditto.
8 (c++-mode): Use function.
15 2003-08-03 Martin Stjernholm <bug-cc-mode@gnu.org>
17 * progmodes/cc-engine.el (c-end-of-current-token): Return whether
18 or not the point moved.
20 (c-search-decl-header-end): Don't trip up on operator identifiers
21 in C++ and operators like == in all languages.
23 * progmodes/cc-engine.el (c-backward-to-decl-anchor): Detect
24 leading labels correctly.
26 2003-08-02 Andreas Schwab <schwab@suse.de>
28 * textmodes/ispell.el: Don't redo key bindings on loading, put
29 them only in loaddefs.el.
30 * bookmark.el: Likewise.
31 * dabbrev.el: Likewise.
32 * emerge.el: Likewise.
34 * apropos.el (apropos-words-to-regexp): Only add `wild' if `words'
35 has more than one member.
37 * progmodes/sh-script.el (sh-mode): Don't set mode-class property.
39 2003-08-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
41 * lpr.el (printify-region): It was ending conversion before the
42 expected position. Reported by Keiichi Suzuki <keiichi@nanap.org>.
44 2003-07-31 John Paul Wallington <jpw@gnu.org>
46 * net/browse-url.el (browse-url-epiphany): Doc fix.
48 2003-07-30 Kenichi Handa <handa@m17n.org>
50 * international/fontset.el (setup-default-fontset): Change
51 registry names of Akurti fonts.
53 2003-07-29 Jesper Harder <harder@ifa.au.dk> (tiny change)
55 * comint.el (comint-read-noecho): Use `clear-string' instead of
58 2003-07-29 Thomas W Murphy <twm@andrew.cmu.edu> (tiny change)
60 * outline.el (outline-mode-hook): Add defvar.
62 2003-07-28 Nick Roberts <nick@nick.uklinux.net>
64 * gdb-ui.el (gdb-setup-windows, gdb-restore-windows): Restore
65 assembler in source window if that is what has been selected.
66 (menu): Add gdb-restore-windows to menu. Make gdba
67 specific menus only visible from gdba.
69 2003-07-28 Tak Ota <Takaaki.Ota@am.sony.com> (tiny change)
71 * progmodes/compile.el (compilation-environment): New user variable.
72 (compile-internal): Respect it.
74 2003-07-23 Masatake YAMATO <jet@gyve.org>
76 * progmodes/gud.el (gdb-script-font-lock-keywords):
77 Put `font-lock-function-name-face' on a symbol which includes
78 `-' like `hook-run'. Put font-lock-variable-name-face
79 on a symbol starting with $.
81 2003-07-27 Markus Rost <rost@math.ohio-state.edu>
83 * files.el (set-visited-file-name): Use truename for buffer-file-name.
85 2003-07-26 Markus Rost <rost@math.ohio-state.edu>
87 * vc-hooks.el (vc-file-not-found-hook): Doc fix.
89 2003-07-26 Andre Spiegel <spiegel@gnu.org>
91 * vc-hooks.el (vc-default-registered, vc-make-version-backup):
93 (vc-file-not-found-hook): Add this to find-file-not-found-functions,
94 rather than to find-file-not-found-hook, which doesn't exist.
96 2003-07-26 Markus Rost <rost@math.ohio-state.edu>
98 * international/quail.el (quail-translate-key): Fix previous
101 2003-07-25 John Paul Wallington <jpw@gnu.org>
103 * server.el (server-start): Check `server-process' is non-nil
104 before killing it to avoid killing current buffer's process.
106 * simple.el (choose-completion-string): Use `minibufferp';
107 test `completion-reference-buffer' if `buffer' arg is nil.
108 (push-mark): Use `when' and `unless'.
109 (pop-mark): Use `when'.
111 * mouse-sel.el (mouse-sel-get-selection-function):
112 Check `x-last-selected-text-primary'. Don't barf if it or
113 `x-last-selected-text' aren't bound.
115 2003-07-25 Kevin Rodgers <ihs_4664@yahoo.com> (tiny change)
117 * menu-bar.el (menu-bar-tools-menu): Minor change in strings.
119 2003-07-23 Stefan Monnier <monnier@cs.yale.edu>
121 * vc-svn.el (vc-svn-diff-switches): Don't default to vc-diff-switches.
123 2003-07-23 John Paul Wallington <jpw@gnu.org>
125 * tooltip.el (defface tooltip): Inherit from variable-pitch.
127 2003-07-23 Glenn Morris <gmorris@ast.cam.ac.uk>
129 * emacs-lisp/derived.el (define-derived-mode): Mention hook in doc
130 string. Defvar the derived hook.
132 * macros.el (insert-kbd-macro): Escape double quote character.
133 From Thomas W Murphy <twm@andrew.cmu.edu>.
135 2003-07-22 Stefan Monnier <monnier@cs.yale.edu>
137 * textmodes/fill.el (fill-comment-paragraph): Construct a regexp
138 to match the specific mark rather than reusing comment-start-skip.
140 2003-07-22 Thien-Thi Nguyen <ttn@gnu.org>
142 * progmodes/hideshow.el (hs-special-modes-alist):
143 Clarify MDATA-SELECTOR doc; nfc.
145 2003-07-21 Markus Rost <rost@math.ohio-state.edu>
147 * progmodes/idlwave.el (idlwave-comment-indent-char): Fix default
150 2003-07-21 John Paul Wallington <jpw@gnu.org>
152 * subr.el (with-selected-window): Add closing paren.
154 2003-07-21 Richard M. Stallman <rms@gnu.org>
156 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use run-mode-hooks.
157 (lisp-mode): Likewise.
159 * subr.el (with-selected-window): Copy code form save-selected-window
160 so as to call select-window with norecord arg.
161 (dynamic-completion-table): Doc fix.
162 (lazy-completion-table): Doc fix.
164 * international/mule-cmds.el (set-locale-environment):
165 langinfo renamed to locale-info.
167 * international/mule.el (auto-coding-functions): Doc fix.
169 2003-07-21 Kenichi Handa <handa@m17n.org>
171 * international/quail.el (quail-translate-key):
172 Update quail-current-str correctly.
174 2003-07-21 Andreas Schwab <schwab@suse.de>
176 * progmodes/sh-script.el (sh-mode-syntax-table): Change syntax of
179 2003-07-20 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
180 Version 2.0.36 of Tramp released.
182 * net/tramp.el (tramp-default-password-end-of-line): Rename from
183 tramp-password-end-of-line.
184 (tramp-password-end-of-line): New method parameter.
185 (tramp-get-password-end-of-line): Function to access method
186 parameter `tramp-password-end-of-line', or variable
187 `tramp-default-password-end-of-line' (default value).
188 (tramp-methods): Add entries for new parameter
189 tramp-password-end-of-line.
190 (tramp-enter-password): Use new function
191 `tramp-get-password-end-of-line'.
192 (tramp-handle-insert-file-contents): Do not
193 unconditionally inhibit the file operation file-local-copy, only
194 do that when the inhibit-file-name-operation is currently
195 insert-file-contents. This fixes finding remote CVS-controlled
196 files. (It would barf on inserting the CVS/Entries file
197 literally, because the file-local-copy handler wasn't called.)
198 (tramp-handle-shell-command): Support optional third arg ERROR-BUFFER.
199 (tramp-sh-extra-args): Adapt defcustom type to XEmacs.
200 (tramp-initial-commands): New variable.
201 (tramp-process-initial-commands): New function, using the variable.
202 (tramp-open-connection-setup-interactive-shell): Call the new function.
203 (tramp-buffer-name, tramp-debug-buffer-name): Always put the
204 method into the buffer name, never use nil. Reported by Hanak
205 David <dhanak@inf.bme.hu>.
206 (tramp-open-connection-setup-interactive-shell): Erase buffer
207 before sending "stty -onlcr".
209 * net/tramp-vc.el (vc-workfile-unchanged-p): Add comment.
211 2003-07-19 Markus Rost <rost@math.ohio-state.edu>
213 * textmodes/artist.el (artist-erase-char): Fix default value using ?\s.
215 2003-07-19 John Paul Wallington <jpw@gnu.org>
217 * textmodes/artist.el (artist-butlast-fn, artist-draw-sline)
218 (artist-draw-rect, artist-draw-square): Doc fixes.
220 * textmodes/enriched.el (enriched-decode-display-prop): Doc fix.
222 * textmodes/two-column.el (2C-mode-line-format): Doc fix.
224 2003-07-19 Kenichi Handa <handa@m17n.org>
226 * international/kkc.el (kkc-show-conversion-list-update):
227 Highlight the correct candidate in the message.
229 2003-07-18 John Paul Wallington <jpw@gnu.org>
231 * simple.el (current-word): Don't include punctuation char when
232 `really-word' arg is non-nil.
234 2003-07-17 Martin Stjernholm <bug-cc-mode@gnu.org>
236 * progmodes/awk-mode.el: Obsoleted by the AWK support in CC Mode -
237 moved to the directory obsolete.
239 2003-07-16 Stefan Monnier <monnier@cs.yale.edu>
241 * info.el (Info-menu-entry-name-re): Allow newlines in
244 * emacs-lisp/syntax.el (syntax-ppss-flush-cache): Rename from
245 syntax-ppss-after-change-function.
246 (syntax-ppss-after-change-function): New alias. Update uses.
247 (syntax-ppss): Catch the case where the buffer is narrowed.
249 2003-07-16 Martin Stjernholm <bug-cc-mode@gnu.org>
251 * progmodes/cc-defs.el (c-langelem-sym, c-langelem-pos)
252 (c-langelem-2nd-pos): Add accessor functions for syntactic elements.
254 2003-07-16 Martin Stjernholm <bug-cc-mode@gnu.org>
256 * progmodes/cc-engine.el (c-literal-faces): Declare as a variable
257 since it might be modified.
259 * progmodes/cc-langs.el (c++-make-template-syntax-table)
260 (c-syntactic-ws-start, c-syntactic-ws-end): Give more consistent
261 names to these language constants.
263 2003-07-15 Kim F. Storm <storm@cua.dk>
265 * apropos.el (apropos-sort-by-scores): Rename from apropos-show-scores.
268 2003-07-14 Mark A. Hershberger <mah@everybody.org>
270 * xml.el (xml-parse-tag, xml-parse-file, xml-parse-region):
273 2003-07-13 Juanma Barranquero <lektu@terra.es>
275 * frame.el (modify-all-frames-parameters): Reinstall (copyright
278 2003-07-13 Karl Eichwalder <ke@suse.de>
280 * textmodes/po.el (po-find-charset): White space at the start of the
281 Content-Type field body is non-mandatory.
283 2003-07-13 Masayuki Ataka <ataka@milk.freemail.ne.jp> (tiny change)
285 * textmodes/texinfo.el (texinfo-section-list):
286 Append appendixsection; a synonym for appendixsec.
288 2003-07-13 Jari Aalto <jari.aalto@poboxes.com>
290 * man.el (Man-translate-cleanup): New.
291 (Man-translate-references): Call `Man-translate-cleanup' to clean
292 leading, trailing and middle spaces.
294 2003-07-13 Lars Hansen <larsh@math.ku.dk>
296 * desktop.el (desktop-buffer-dired-misc-data, desktop-buffer-dired):
297 Handle `dired-directory' being a list.
299 2003-07-13 Jesper Harder <harder@ifa.au.dk> (tiny change)
301 * mail/smtpmail.el (smtpmail-send-it): Create smtpmail-queue-dir if
304 2003-07-12 Richard M. Stallman <rms@gnu.org>
306 * progmodes/cc-engine.el (c-declare-lang-variables): Don't use mapcan.
308 * progmodes/cc-defs.el (c-make-keywords-re):
309 Don't use delete-duplicates.
310 (c-lang-const): Don't use mapcan.
312 * apropos.el (apropos-show-scores): Make it customizable.
313 Document new meaning.
314 (apropos): Compute scores from symbols.
315 (apropos-print): Don't sort by scores if apropos-show-scores is nil.
317 2003-07-11 Vinicius Jose Latorre <viniciusjl@ig.com.br>
319 * ps-bdf.el: Fix copyright line.
320 (bdf-directory-list): Fix initialization code.
322 2003-07-11 John Paul Wallington <jpw@gnu.org>
324 * emacs-lisp/ring.el (ring-empty-p): Use `zerop'.
325 (ring-p, ring-plus1, ring-minus1, ring-length, ring-index)
326 (ring-empty-p, ring-size, ring-copy, ring-ref): Doc fixes.
328 2003-07-11 NAKAJIMA Mikio <minakaji@namazu.org> (tiny change)
330 * emacs-lisp/ring.el (ring-elements): Doc fix.
332 2003-07-11 Glenn Morris <gmorris@ast.cam.ac.uk>
334 * calendar/timeclock.el (timeclock-relative)
335 (timeclock-ask-before-exiting, timeclock-use-display-time):
337 (timeclock-modeline-display): Give a message if
338 `timeclock-use-display-time' is non-nil but `display-time-mode'
341 2003-07-11 Kenichi Handa <handa@m17n.org>
343 * international/mule-cmds.el (set-language-environment):
344 Set current-language-environment to the correct string.
346 2003-07-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
348 * ps-print.el: Print line number correctly in a region. Reported by
349 Tim Allen <timallen@ls83.fsnet.co.uk>
350 (ps-print-version): New version number (6.6.2).
351 (ps-printing-region): Code fix.
353 2003-07-10 John Paul Wallington <jpw@gnu.org>
355 * progmodes/etags.el (visit-tags-table-buffer): Add autoload cookie;
356 this function can be called from `add-completions-from-tags-table'.
358 2003-07-10 Glenn Morris <gmorris@ast.cam.ac.uk>
360 * calendar/timeclock.el (timeclock-use-display-time)
361 (timeclock-day-over-hook, timeclock-workday-remaining)
362 (timeclock-status-string, timeclock-when-to-leave)
363 (timeclock-when-to-leave-string, timeclock-log-data)
364 (timeclock-find-discrep, timeclock-day-base)
365 (timeclock-generate-report, timeclock-visit-timelog): Doc fix.
366 (timeclock-modeline-display): Set the variable
367 `timeclock-modeline-display'.
368 (timeclock-update-modeline): Doc fix. Respect value of
369 `timeclock-relative'.
371 2003-07-09 Richard M. Stallman <rms@gnu.org>
373 * textmodes/reftex-parse.el (reftex-all-document-files):
376 * textmodes/reftex.el (reftex-all-document-files): Delete autoload.
377 (reftex-scanning-info-available-p): Add autoload cookie.
379 * international/mule-cmds.el (set-display-table-and-terminal-coding-system):
380 Delete duplicate aset on standard-display-table.
382 * view.el (view-file): If existing buffer's major mode is special,
383 don't go into view mode.
385 * dired.el (dired-move-to-filename-regexp): Allow quote in months.
387 2003-07-08 Martin Stjernholm <bug-cc-mode@gnu.org>
389 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not do hidden
390 buffer changes; there's third party code that calls this function
393 2003-07-08 Martin Stjernholm <bug-cc-mode@gnu.org>
395 * progmodes/cc-fonts.el (javadoc-font-lock-keywords)
396 (autodoc-font-lock-keywords): Don't byte compile on font lock
397 initialization when running from byte compiled files.
399 2003-07-08 Alan Mackenzie <bug-cc-mode@gnu.org>
401 * progmodes/cc-engine.el: Fix AWK mode indentation when previous
402 statement ends with auto-increment "++".
404 2003-07-08 Martin Stjernholm <bug-cc-mode@gnu.org>
406 * progmodes/cc-langs.el, progmodes/cc-styles.el (c-style-alist)
407 (c-lang-variable-inits, c-lang-variable-inits-tail): The values of
408 these are changed, so declare them as variables and not constants.
410 2003-07-08 Markus Rost <rost@math.ohio-state.edu>
412 * subr.el (dolist, dotimes): Doc fix.
414 2003-07-08 Kim F. Storm <storm@cua.dk>
416 * international/mule-cmds.el (set-display-table-and-terminal-coding-system):
417 Don't break bootstrap if standard-display-table isn't setup yet.
419 2003-07-07 Richard M. Stallman <rms@gnu.org>
421 * ehelp.el (ehelp-command): Use defalias to define ehelp-command.
422 Give it a doc string, and autoload it.
424 * desktop.el (desktop-buffer-info, desktop-buffer-mh):
425 Use with-no-warnings.
427 * info.el (Info-search): If find invisible text, search again.
429 * isearch.el (search-whitespace-regexp): Add a shy group around it.
431 * man.el (Man-name-regexp): Match + as part of name.
433 * simple.el (visible-mode): Rename from vis-mode.
434 (vis-mode-saved-buffer-invisibility-spec): Doc fix.
436 * simple.el (current-word): New arg REALLY-WORD specifies
437 don't include punctuation chars.
439 * emacs-lisp/debug.el (debug, debugger-env-macro):
440 Use with-no-warnings while accessing and binding unread-command-char.
442 * international/mule-cmds.el (set-display-table-and-terminal-coding-system):
443 Use explicit loop instead of calling standard-display-default.
445 * net/ange-ftp.el (ange-ftp-file-symlink-p):
446 Use condition-case to catch error in ange-ftp-get-files.
448 * net/browse-url.el (browse-url-browser-function):
449 Add alternative for Epiphany.
450 (browse-url-epiphany-program, browse-url-epiphany-arguments)
451 (browse-url-epiphany-startup-arguments)
452 (browse-url-epiphany-new-window-is-tab): New variables.
453 (browse-url-epiphany, browse-url-epiphany-sentinel): New functions.
455 * progmodes/compile.el (compile-auto-highlight): Default now t.
457 (compilation-next-error): Fix previous change.
459 * textmodes/tex-mode.el (tex-main-file): Use with-no-warnings.
461 * textmodes/sgml-mode.el (xml-mode): Add autoload cookie.
463 2003-07-07 Nick Roberts <nick@nick.uklinux.net>
465 * gdb-ui.el (gdb-source-info): Display current frame when
466 attaching to an existing process.
467 (gdb-setup-windows, gdb-source-info): Start with gud-comint-buffer
468 while laying out windows when attaching to an existing process.
470 2003-07-07 Stefan Monnier <monnier@cs.yale.edu>
472 * info.el (Info-menu): Use Info-menu-entry-name-re.
474 2003-07-06 Stefan Monnier <monnier@cs.yale.edu>
476 * vc-hooks.el (vc-stay-local, vc-stay-local-p): Move from vc.el.
477 * vc.el (vc-stay-local, vc-stay-local-p): Move to vc-hooks.el.
479 * info.el (Info-menu-entry-name-re): Be careful to avoid multiple ways
480 to match the same text.
482 2003-07-06 John Paul Wallington <jpw@gnu.org>
484 * vc.el (vc-annotate-offset): Move defvar up.
486 2003-07-06 Kim F. Storm <storm@cua.dk>
488 * info.el (Info-menu-entry-name-re): Add `:' to second [] part.
489 This should fix the infinite loop when extracting menu names.
491 2003-07-05 Martin Stjernholm <bug-cc-mode@gnu.org>
493 * files.el (auto-mode-alist, interpreter-mode-alist):
494 Remove entries to CC Mode modes to avoid duplicates; they are now added
495 with autoload directives in cc-mode.el.
497 2003-07-05 Martin Stjernholm <bug-cc-mode@gnu.org>
499 * progmodes/cc-langs.el, progmodes/cc-styles.el (c-style-alist)
500 (c-lang-variable-inits, c-lang-variable-inits-tail): The values of
501 these are changed, so declare them as variables and not constants.
503 * progmodes/cc-mode.el: Fix some autoload problems: Try to
504 ensure that the entry for ".c" extension comes before the one for
505 ".C" on `auto-mode-alist', to behave better on case insensitive OS:es.
506 Fix incorrect entries that were added to `interpreter-mode-alist'.
507 Move the autoload directives for AWK to the top level since they
508 aren't recognized anywhere else. Do not use the new AWK mode doc
509 in the autoload form for the old AWK mode.
511 2003-06-30 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
513 * textmodes/bibtex.el (bibtex-sort-entry-class): New entry catch-all.
514 (bibtex-sort-ignore-string-entries): Default value t.
515 (bibtex-entry-kill-ring-max): Reintroduce as it was removed
516 erroneously in previous version.
517 (bibtex-string-files): Docstring reflects new parsing scheme.
518 (bibtex-autokey-transcriptions): Merge some rewrite entries, fix
519 docstring, add # as one of the chars to crush
520 (bibtex-autokey-prefix-string, bibtex-autokey-names)
521 (bibtex-autokey-names-stretch, bibtex-autokey-additional-names)
522 (bibtex-autokey-name-change-strings)
523 (bibtex-autokey-name-case-convert, bibtex-autokey-name-length)
524 (bibtex-autokey-name-separator, bibtex-autokey-year-length)
525 (bibtex-autokey-use-crossref, bibtex-autokey-titlewords)
526 (bibtex-autokey-title-terminators)
527 (bibtex-autokey-titlewords-stretch)
528 (bibtex-autokey-titleword-ignore)
529 (bibtex-autokey-titleword-case-convert)
530 (bibtex-autokey-titleword-abbrevs)
531 (bibtex-autokey-titleword-abbrevs)
532 (bibtex-autokey-titleword-change-strings)
533 (bibtex-autokey-titleword-length)
534 (bibtex-autokey-titleword-separator)
535 (bibtex-autokey-name-year-separator)
536 (bibtex-autokey-year-title-separator)
537 (bibtex-autokey-before-presentation-function)
538 (bibtex-entry-type-history, bibtex-entry-maybe-empty-head):
540 (bibtex-strings, bibtex-reference-keys):
541 Use lazy-completion-table and make-variable-buffer-local.
542 (bibtex-sort-entry-class-alist): Use downcase, account for catch-all.
543 (bibtex-braced-string-syntax-table)
544 (bibtex-quoted-string-syntax-table): New variables.
545 (bibtex-parse-nested-braces): Remove.
546 (bibtex-parse-field-string): Use syntax table and forward-sexp.
547 (bibtex-parse-association): Simplify.
548 (bibtex-parse-field-name): Obey bibtex-autoadd-commas.
549 (bibtex-parse-field-text): Simplify.
550 (bibtex-search-forward-field, bibtex-search-backward-field):
551 argument BOUND can take value t.
552 (bibtex-start-of-field, bibtex-start-of-name-in-field)
553 (bibtex-end-of-name-in-field, bibtex-end-of-field)
554 (bibtex-start-of-text-in-field, bibtex-end-of-text-in-field)
555 (bibtex-start-of-text-in-string, bibtex-end-of-text-in-string)
556 (bibtex-end-of-string, bibtex-type-in-head): Use defsubst.
557 (bibtex-skip-to-valid-entry): Return buffer position of beginning
558 and ending of entry. Update for changes of bibtex-search-entry.
560 (bibtex-map-entries): FUN is called with three arguments.
561 (bibtex-search-entry): Return a cons pair with buffer positions of
562 beginning and end of entry.
563 (bibtex-enclosing-field): Simplify.
564 (bibtex-format-entry): Use booktitle to set a missing title.
565 (bibtex-autokey-get-names): Fiddle with regexps.
566 (bibtex-generate-autokey): Use identity.
567 (bibtex-parse-keys): Use simplified parsing algorithm if
568 bibtex-parse-keys-fast is non-nil. Simplify. Change order of
569 arguments. Return alist of keys.
570 (bibtex-parse-strings): Simplify. Return alist of strings.
571 (bibtex-complete-string-cleanup): Fix docstring.
572 (bibtex-read-key): New function.
573 (bibtex-mode): Fix docstring. Do not parse for keys and
574 strings when the mode is entered. Set fill-paragraph-function to
575 bibtex-fill-field. Setup font-lock-mark-block-function the way
577 (bibtex-entry): Use bibtex-read-key. Obey bibtex-autofill-types.
578 (bibtex-parse-entry, bibtex-autofill-entry): New functions.
579 (bibtex-print-help-message, bibtex-remove-OPT-or-ALT)
580 (bibtex-Preamble): Avoid hard coded constants.
581 (bibtex-make-field): Fix docstring. Simplify.
582 (bibtex-beginning-of-entry): Always return new position of point.
583 (bibtex-end-of-entry): Rearrange cond clauses.
584 (bibtex-count-entries, bibtex-validate, bibtex-reformat):
585 Update for changes of bibtex-map-entries.
586 (bibtex-ispell-abstract): Do not move point.
587 (bibtex-entry-index): Use downcase. Simplify.
588 (bibtex-lessp): Handle catch-all.
589 (bibtex-find-crossref): Turn into a command.
590 (bibtex-find-entry): Simplify. Use bibtex-read-key. Fix regexp.
591 (bibtex-clean-entry): Use bibtex-read-key. Handle string and
593 (bibtex-fill-field-bounds): New function.
594 (bibtex-fill-field): New command. Bound to fill-paragraph-function.
595 (bibtex-fill-entry): Use bibtex-fill-field-bounds
596 (bibtex-String): Use bibtex-strings. Always obey
597 bibtex-sort-ignore-string-entries.
599 2003-07-05 John Paul Wallington <jpw@gnu.org>
601 * cus-theme.el (customize-create-theme):
602 Call `customize-create-theme' in Reset widget's notify function.
604 * ibuffer.el (ibuffer-backward-line, ibuffer-forward-line)
605 (ibuffer-mark-interactive): Use `or' instead of `unless'.
606 (define-ibuffer-column name): Add summarizer.
607 (define-ibuffer-column size): Likewise.
608 (define-ibuffer-column filename): Likewise.
609 (define-ibuffer-column process): Likewise. Change BODY's output too.
610 (define-ibuffer-column filename-and-process): Likewise, likewise.
611 (ibuffer): Remove local vars `already-in' and `need-update'.
613 * ibuf-ext.el: Don't require `derived' at compile-time.
615 2003-07-05 Kim F. Storm <storm@cua.dk>
617 * info.el: Disable paragraph refilling.
618 (Info-refill-paragraphs): New defcustom.
619 (Info-fontify-node): Use it.
621 2003-07-04 Stefan Monnier <monnier@cs.yale.edu>
623 * emacs-lisp/cl-macs.el (cl-transform-lambda): Strip &cl-defs
624 thingies from constructors created by defstruct.
626 * emacs-lisp/bytecomp.el (byte-compile-defvar): Check and set
627 the default value of the variable.
628 (byte-code-meter): Move declaration to top level.
630 * pcvs-parse.el (cvs-parse-status): Ignore extra fields from CVSNT.
632 * info.el (Info-following-node-name-re): New fun.
633 (Info-following-node-name): Remove.
634 (Info-insert-dir): Use the new fun.
635 (Info-extract-pointer): Don't save restriction; use new fun.
636 (Info-menu-entry-name-re): New const.
637 (Info-menu-entry-name-re): Use it along with new fun.
638 (Info-node-spec-re): Use new fun.
639 (Info-complete-menu-item, Info-fontify-node): Use new const.
640 (Info-goto-node, Info-follow-reference, Info-menu-update):
642 (Info-follow-reference): Use assoc-string.
643 Use a list of strings for the completion table.
644 (Info-fontify-node): Use match-string, line-end-position.
645 Limit the search for `node:' to the first line.
647 * newcomment.el (uncomment-region): Remove padding coming from
648 comment-start rather than just from comment-padding.
650 * vc-cvs.el (vc-cvs-repository-hostname): New operation.
651 (vc-cvs-stay-local-p): Use vc-stay-local-p.
652 (vc-cvs-rename-file): Remove (use the default).
653 (vc-cvs-register): Register parent dir if needed.
654 (vc-cvs-could-register): Return non-nil if parent can be registered.
655 (vc-cvs-state, vc-cvs-dir-state, vc-cvs-print-log, vc-cvs-diff)
656 (vc-cvs-diff-tree, vc-cvs-make-version-backups-p): Use vc-stay-local-p.
658 * vc-svn.el (vc-svn-use-edit): Make it into a const.
659 (vc-svn-update): Fix the arguments to `svn'.
660 (vc-svn-diff-tree): Just use `vc-svn-diff'.
661 (vc-svn-create-snapshot, vc-svn-retrieve-snapshot):
662 Simple implementations, assuming `name' is a URL.
664 * progmodes/sh-script.el (sh-font-lock-paren): Add [ and ] to the
665 set of chars allowed unquoted in a case pattern.
667 * font-core.el (font-lock-defaults-alist): Remove obsolete entries.
669 * font-lock.el (font-lock-extra-types-widget)
670 (c-font-lock-extra-types, c++-font-lock-extra-types)
671 (objc-font-lock-extra-types, java-font-lock-extra-types)
672 (c-font-lock-keywords-1, c-font-lock-keywords-2, c-font-lock-keywords)
673 (c-font-lock-keywords-3, c-font-lock-syntactic-face-function)
674 (font-lock-match-c++-style-declaration-item-and-skip-to-next)
675 (font-lock-match-c++-structor-declaration)
676 (c++-font-lock-keywords-1, c++-font-lock-keywords-2)
677 (c++-font-lock-keywords-3, c++-font-lock-keywords)
678 (objc-font-lock-keywords-1, objc-font-lock-keywords-2)
679 (objc-font-lock-keywords-3, objc-font-lock-keywords)
680 (java-font-lock-keywords-1, java-font-lock-keywords-2)
681 (java-font-lock-keywords-3, java-font-lock-keywords)
682 (java-font-lock-syntactic-face-function): Remove obsolete code
683 and constants. It's all in cc-fonts.el now.
685 2003-07-04 Glenn Morris <gmorris@ast.cam.ac.uk>
687 * mail/sendmail.el (mail-specify-envelope-from)
688 (mail-envelope-from): Doc fix.
690 2003-07-04 Martin Stjernholm <mast@lysator.liu.se>
692 * generic-x.el: Do away with the dependency on `c-emacs-features'
693 when populating `rul-generic-mode-syntax-table'; we already know
696 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
698 * progmodes/cc-menus.el (cc-imenu-init): Do not set
699 `imenu-create-index-function' if the second argument is left
700 out. This bug broke the imenu support in C, C++ and Java modes.
702 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
704 * progmodes/cc-engine.el, progmodes/cc-align.el
705 (c-add-stmt-syntax, c-lineup-arglist)
706 (c-lineup-arglist-close-under-paren): Fixes to cope with
707 special brace lists in Pike.
709 2003-07-03 Alan Mackenzie <bug-cc-mode@gnu.org>
711 * progmodes/cc-mode.el: awk-mode: Call c-awk-after-change to
712 ensure syntax-table props at loading.
714 * progmodes/cc-fonts.el: Put (cc-require-when-compile 'cc-awk)
715 to eliminate compile-time errors.
717 2003-07-03 Alan Mackenzie <bug-cc-mode@gnu.org>
719 * progmodes/cc-awk.el, progmodes/cc-engine.el: Add code to
720 analyze AWK top-level forms properly (c-guess-basic-syntax
721 CASE 5P), c-awk-backward-syntactic-ws.
723 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
725 * progmodes/cc-fix.el: cc-mode-19.el has been renamed to
726 progmodes/cc-fix.el since it now contains compatibility stuff
727 for later versions than (X)Emacs 19.
729 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
731 * progmodes/cc-langs.el (c-paren-nontype-kwds): New language constant.
733 (c-other-decl-kwds, c-postfix-decl-spec-kwds): Add compiler
734 specific declspec keywords: __attribute__ for gcc and
737 * progmodes/cc-fonts.el (c-font-lock-declarations)
738 (c-complex-decl-matchers): Support specifiers in a couple more
739 contexts to cope with msvc '__declspec'.
741 * progmodes/cc-engine.el (c-forward-keyword-clause):
742 Support `c-paren-nontype-kwds'.
744 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
746 * progmodes/cc-langs.el (c-primary-expr-regexp): Don't match a
747 bare period as a float.
749 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
751 * progmodes/cc-bytecomp.el (cc-bytecomp-setup-environment):
752 Do not cover functions that have been bound.
754 (cc-external-require): New macro to use for requiring external
755 packages, to handle the environment correctly.
757 * progmodes/cc-defs.el, progmodes/cc-fix.el,
758 progmodes/cc-fonts.el, progmodes/cc-mode.el: Replaced external
759 require's with `cc-external-require'.
761 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
763 * progmodes/cc-engine.el (c-beginning-of-member-init-list)
764 (c-guess-basic-syntax): Fixes in handling of bitfields.
766 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
768 * progmodes/cc-langs.el (comment-end): Put a space in front of
769 the comment ender in C, as it was before the move from cc-mode.el.
771 2003-07-03 Alan Mackenzie <bug-cc-mode@gnu.org>
773 * progmodes/cc-fonts.el: Do not load progmodes/cc-awk.elc or
774 awk-font-lock-keywords unless there is an AWK Mode buffer.
776 2003-07-03 Alan Mackenzie <bug-cc-mode@gnu.org>
778 * progmodes/cc-awk.el: New file that implements AWK support,
779 superseding the old separate derived mode in awk-mode.el.
781 * progmodes/cc-vars.el, cc-mode-19.el, progmodes/cc-langs.el,
782 progmodes/cc-mode.el, progmodes/cc-defs.el,
783 progmodes/cc-engine.el, progmodes/cc-fonts.el: Changes for the
786 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
788 * progmodes/cc-engine.el, progmodes/cc-langs.el
789 (c-decl-block-key, c-search-uplist-for-classkey): Check that
790 the modifier is followed by "{" in Pike before considering it
791 to start a class-like block.
793 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
795 * progmodes/cc-mode.el (c-initialize-cc-mode): Add some
796 compatibility to make this function behave somewhat more as
797 documented for derived modes. It's still not enough to make
798 the old AWK mode behave reasonably, but it's been like this a
799 long time now so fixing it more might cause trouble
802 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
804 * progmodes/cc-fonts.el (c-remove-font-lock-face): New macro
805 to remove a font lock face properly (especially in XEmacs).
807 * progmodes/cc-bytecomp.el (cc-bytecomp-obsolete-fun):
808 Add the same kludge as in `cc-bytecomp-obsolete-var' to avoid a
809 confused compiler warning.
811 * progmodes/cc-engine.el (c-forward-type): Fix a bug in the
812 handling of concatenated types when the component types are known.
814 * progmodes/cc-fonts.el (c-constant-face-name): Add face name variable
815 to avoid the use of `font-lock-constant-face' for constants in
816 emacsen that doesn't have it.
818 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
820 * progmodes/cc-styles.el, progmodes/cc-vars.el,
821 progmodes/cc-cmds.el: Fixes for the syntactic symbols for
822 module and composition blocks.
824 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
826 * progmodes/cc-mode.el (c-basic-common-init):
827 Use `open-paren-in-column-0-is-defun-start' if it exists and works.
829 * progmodes/cc-vars.el (c-emacs-features): Add `col-0-paren'
830 to detect when `open-paren-in-column-0-is-defun-start' exists
833 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
835 * progmodes/cc-align.el (c-lineup-argcont, c-lineup-gcc-asm-reg):
836 Don't quote nil in docstrings.
838 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
840 * progmodes/cc-vars.el, progmodes/cc-langs.el
841 (c-primitive-type-kwds, c-font-lock-extra-types): "complex"
842 and "imaginary" aren't keywords in C99, only macros that
843 expand to the keywords "_Complex" and "_Imaginary", so make
844 the former a bit less hardcoded by putting it on
845 `c-font-lock-extra-types' instead. There are also "bool" and
846 "_Bool" that work the same way.
847 (c-constant-kwds): "false" and "true" are standard constant
850 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
852 * progmodes/cc-menus.el, progmodes/cc-langs.el,
853 progmodes/cc-engine.el, progmodes/cc-fonts.el,
854 progmodes/cc-cmds.el: Fixed various regexps to use POSIX char
855 classes when that is supported.
857 * progmodes/cc-defs.el (c-alpha, c-alnum, c-digit, c-upper, c-lower):
858 New constants to make it easier to create regexps
859 that use POSIX char classes in emacsen that support them.
861 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
863 * progmodes/cc-vars.el (c-emacs-features): Detect in the
864 regexp engine understands POSIX char classes.
866 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
868 * progmodes/cc-mode.el (c-after-change): Add kludge for bug
869 where this function sometimes gets positions outside the
872 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
874 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
875 Better handling of paretheses in unexpected places.
877 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Fix a
878 regexp match order problem that could cause empty template
879 args on the form "<>" to be missed.
881 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
883 * progmodes/cc-engine.el (c-parse-state): Add kludge to
884 avoid an infinite loop when Emacs' open-paren-in-column-zero
885 rule kicks in and causes the sexp functions to misbehave.
887 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
889 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
890 Fix bug when C++-like code is encountered in non-C++ mode.
892 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
894 * progmodes/cc-defs.el (c-make-keywords-re): Add option to
895 specify the language to look up `c-nonsymbol-key' in.
897 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
899 * progmodes/cc-cmds.el, progmodes/cc-engine.el
900 (c-auto-newline-analysis): New dynamically bound variable to
901 turn off the topmost-intro-cont/statement-cont kludge for
902 brace lists during the analysis for the auto newline feature.
903 This fixes some cases where the setting for `brace-list-open'
904 on `c-hanging-braces-alist' didn't have any effect.
906 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
908 * progmodes/cc-langs.el (c-literal-start-regexp): Yet another
911 * progmodes/cc-fonts.el (c-font-lock-doc-comments)
912 (c-find-invalid-doc-markup, javadoc-font-lock-keywords):
913 Fix fontification of the markup in Javadoc comments.
915 * progmodes/cc-engine.el: Fixes in face handling to cope with
918 (c-find-decl-spots): More failsafe skipping of comments and
919 strings that only have been partially fontified.
921 * progmodes/cc-defs.el (c-got-face-at): New subst to test
922 faces at positions easier.
924 * progmodes/cc-defs.el (c-safe-scan-lists): New wrapper macro
925 to avoid the warnings with too many args to `scan-lists' in Emacs.
927 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
929 * progmodes/cc-engine.el (c-syntactic-skip-backward):
930 New function to make syntactic searches in the backward direction
933 (c-beginning-of-statement-1): Optimize skipping over large paren
936 (c-safe-position): Remove the odd macro handling which was
937 centered around the point instead of the passed position.
939 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
941 * progmodes/cc-engine.el (c-in-knr-argdecl): Do not trip up on
942 initialization expressions.
944 * progmodes/cc-align.el (c-lineup-arglist)
945 (c-lineup-close-paren, c-lineup-arglist-close-under-paren):
946 Tune the "macro block" heuristics to work better in nested
949 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
951 * progmodes/cc-styles.el (c-set-offset): Don't find a default
952 syntactic element through syntactic analysis if called outside
955 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
957 * progmodes/cc-mode.el (c-basic-common-init):
958 Install `c-fill-paragraph' on `fill-paragraph-function'.
959 Although it's not the normal way to call it in a CC Mode buffer it
960 makes a direct call to `fill-paragraph' work better.
962 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
964 * progmodes/cc-vars.el, progmodes/cc-mode.el
965 (c-require-final-newline): Make this variable an alist to
966 specify a value for each language. The default value causes
967 `require-final-newline' to be set to t only in languages where
968 the standard requires a final newline.
970 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
972 * progmodes/cc-mode.el, progmodes/cc-vars.el
973 (c-require-final-newline): Add a variable to make the
974 initialization of `require-final-newline' more configurable.
976 * progmodes/cc-vars.el (c-mode-common-hook): Do not change the
977 format string to "CC Mode Common Hook" since that causes
978 confusion (although it is a more accurate name).
980 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
982 * progmodes/cc-fonts.el (javadoc-font-lock-keywords)
983 (autodoc-font-lock-keywords): Support for Javadoc and Pike
984 Autodoc doc comments.
986 * progmodes/cc-vars.el (c-doc-comment-style): New variable to
987 control the fontification of documentation comments on top of
988 the normal mode font lock.
990 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
992 * progmodes/cc-langs.el, progmodes/cc-fonts.el
993 (c-primary-expr-regexp, c-font-lock-declarations): Avoid false
994 recognition of parens as casts when they are followed by an
995 operator that is both prefix and infix.
997 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
999 * progmodes/cc-cmds.el (c-guess-fill-prefix): Tune the
1000 heuristics of when to use `c-block-comment-prefix' for an
1001 unclosed block comment.
1003 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1005 * progmodes/cc-engine.el, progmodes/cc-langs.el
1006 (c-nonsymbol-sexp-kwds, c-forward-keyword-clause):
1007 Handle keywords like "extern" that can be followed by e.g. a string
1010 * progmodes/cc-defs.el (c-make-keywords-re): Make a regexp
1011 correctly with one submatch when adorn is set and the list is empty.
1013 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1015 * progmodes/cc-fonts.el (c-font-lock-declarations): Fix a
1016 search that could go far past the relevant region and cause
1017 slowness. Do not limit the declaration detection to the
1018 fontified region since that can cause misfontification in
1019 multiline declarations.
1021 * progmodes/cc-engine.el (c-find-decl-spots): Add limit
1022 argument to handle declarations spanning the fontification
1025 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1027 * progmodes/cc-engine.el (c-in-literal, c-literal-limits)
1028 (c-literal-limits-fast, c-beginning-of-inheritance-list):
1029 Use the paren cache instead of the impaired ad hoc in
1030 `beginning-of-defun', so that these functions doesn't trip up
1031 on "{" in the first column inside strings or comments.
1033 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1035 * progmodes/cc-vars.el (c-hanging-braces-alist):
1036 Add `statement-cont' and made it auto newline free by default.
1038 * progmodes/cc-cmds.el (c-electric-brace):
1039 Add `statement-cont' to the list of syntactic symbols to consider
1040 for auto newlines since it can be used for in-statement brace lists.
1042 * progmodes/cc-vars.el (c-emacs-features): There's no need to
1043 have this constant autoloaded.
1045 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1047 * progmodes/cc-fonts.el (c-font-lock-declarations):
1048 Use `c-recognize-typeless-decls' to avoid fontifying some macro
1049 constructs as declarations in languages where a preceding type
1052 * progmodes/cc-langs.el (c-recognize-typeless-decls):
1053 New language variable.
1055 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1057 * progmodes/cc-align.el (c-lineup-close-paren):
1058 Use `c-syntactic-eol' when checking if the open paren ends its line.
1060 * progmodes/cc-langs.el (c-syntactic-eol): Handle a line
1061 continuation backslash.
1063 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1065 * progmodes/cc-align.el (c-snug-do-while): Compatibility fix
1066 for changed structure in `c-syntactic-context'.
1068 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1070 * progmodes/cc-engine.el (c-parse-state): Filter angle bracket
1071 arglist parens in a better way than disabling the syntax table
1072 properties completely.
1074 * progmodes/cc-fonts.el (c-cpp-matchers): Handle line
1075 continuations in cpp expressions. Do not fontify symbols after
1076 #ifdef etc as variables since that isn't consistent with how
1077 the face is used elsewhere (i.e. only for the definition of
1080 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1082 * progmodes/cc-mode.el: Add autoload directives for the
1083 interface functions in cc-langs.
1085 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1087 * progmodes/cc-fonts.el (c-font-lock-declarations): Add a
1088 property to handle refontication in multiline declaration
1090 (c-font-lock-<>-arglists): Fix to handle recursive template
1091 arglists better. (As a side effect this will make
1092 fontification work better in older emacsen too.)
1094 * progmodes/cc-engine.el (c-forward-<>-arglist)
1095 (c-remove-<>-arglist-properties): Use a common text property
1096 `c-type' for all sorts of CC Mode char classification, to
1097 avoid cases when then same char is given conflicting types.
1098 (c-forward-<>-arglist): New reparse argument to control that
1100 (c-forward-name, c-forward-type): Changes in the handling of
1101 recursive template arglists. Fixes to cope with the new 'known
1102 type classification.
1104 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1106 * progmodes/cc-mode.el (c-basic-common-init): Add the new
1107 char property `c-type' to `text-property-default-nonsticky'.
1109 * progmodes/cc-defs.el (c-put-char-property)
1110 (c-get-char-property, c-clear-char-property)
1111 (c-clear-char-properties): Generalize `c-put-char-syntax' and
1112 `c-get-char-syntax' to handle any property.
1114 * progmodes/cc-bytecomp.el (cc-bytecomp-defun): Fix bug that
1115 caused existing function definitions to be overridden by
1116 phonies when the bytecomp environment is restored.
1118 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1120 * progmodes/cc-cmds.el (c-mask-paragraph): Masking is
1121 necessary in normal code too to avoid getting a fill prefix
1122 from a nearby comment. Change the name from `c-mask-comment'
1123 to a more accurate one.
1125 * progmodes/cc-defs.el, progmodes/cc-mode.el: Change the
1126 auto-load-alist strategy to not add entries on package load,
1127 to be defensive in the case that autoloads are updated in
1128 older emacsen. The bug that would occur in that case would
1129 probably be rather nasty for the average user.
1131 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1133 * progmodes/cc-fonts.el (c-font-lock-declarations):
1134 Fine tuning of the decision tree that tells declarations from
1135 expressions to produce better results in some ambiguous cases.
1137 * progmodes/cc-fonts.el (c-font-lock-syntactic-face-function):
1138 Remove since it doesn't give the control we want.
1139 (c-font-lock-invalid-string): Replacement for
1140 `c-font-lock-syntactic-face-function' that puts the error face
1141 on the string opener only, to avoid the annoying excessive use
1142 of the error face while a string literal is being written.
1143 (c-basic-matchers-before): Use `c-font-lock-invalid-string'.
1145 * progmodes/cc-engine.el (c-string-syntax)
1146 (c-string-limit-regexp): Add constants to use when handling
1147 string limits, since not all old emacsen react well to the "|"
1150 (c-literal-limits, c-literal-limits-fast, c-literal-type):
1151 Use `c-string-syntax' and `c-string-limit-regexp'. Replace some
1152 hardcoded comment start regexps with `c-comment-start-regexp'.
1154 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1156 * progmodes/cc-mode.el: Added an association for pike-mode on
1157 `intepreter-mode-alist'.
1159 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1161 * progmodes/cc-mode.el: Add the `auto-mode-alist' entries to
1162 the end instead of the start of the list, to avoid overriding
1163 user additions that are made before this file is loaded when
1164 the entries don't correspond to any already on `auto-mode-alist'.
1165 This is done through the third append argument to
1166 `add-to-alist'. That doesn't exist in older (X)Emacsen, so
1167 the function is advised in cc-defs. However, that advice
1168 doesn't help if the autoloads are updated in an old (X)Emacs
1169 with this version of CC Mode, but I believe it's unlikely that
1170 anyone does that when CC Mode isn't distributed with with it.
1172 * progmodes/cc-defs.el (add-to-list): Add advice to get the
1173 optional third append argument in older (X)Emacsen.
1175 * progmodes/cc-langs.el (c-keywords-obarray): Kludge for
1176 strange bug in Emacs that gives so odd errors that I frankly
1177 don't even muster to begin trying to narrow it down.
1178 If someone is so inclined, restore the commented code, byte
1179 compile, and try to open a C++ file or something in font lock mode.
1181 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1183 * progmodes/cc-langs.el: Update the IDL support from the
1184 specs. This also adds the keywords for the variants PSDL and
1185 CIDL. (This is mostly done from reading the grammars only;
1186 very lightly tested.)
1188 * progmodes/cc-langs.el (c-type-list-kwds): Add "new" in Java.
1190 * progmodes/cc-fonts.el: Make sure that
1191 `parse-sexp-lookup-properties' is properly insulated from
1192 clobbering by the font-lock package at all relevant entry points.
1194 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1196 * progmodes/cc-langs.el (c-opt-after-id-concat-key):
1197 New language constant to make the recognition of identifier
1198 qualifiers more flexible. Recognize the identifier before
1199 ".*" as a qualifier in Java.
1200 (c-identifier-key): Recognize "::*" inside identifiers in C++.
1201 Recognize identifiers ending with ".*" in Java for the sake of
1203 (c-type-list-kwds, c-ref-list-kwds): Recognize "import" and
1204 "package" declarations in Java.
1206 * progmodes/cc-vars.el (c-doc-face, c-doc-marker-face)
1207 (c-doc-markup-face): Remove since they aren't used (and
1210 * progmodes/cc-langs.el (c-ref-list-kwds): New language
1211 constant to specify keywords followed by references.
1212 (c-last-identifier-range): New variable to avoid going back to
1213 search for the identifier to font lock after a call to
1215 (c-type-prefix-kwds, c-type-list-kwds): Fix classification of
1216 "@interface" etc in Objective-C.
1218 * progmodes/cc-engine.el (c-forward-keyword-clause):
1219 Fix handling of keyword prefixes in `c-type-list-kwds' and
1220 `c-colon-type-list-kwds' clauses.
1221 (c-keyword-sym, c-keyword-member): New functions to lookup and
1222 categorize keywords.
1223 (c-forward-keyword-clause): New function to move over a keyword
1224 and its associated clause according to `c-<>-arglist-kwds' etc.
1226 * progmodes/cc-langs.el (c-typeless-decl-kwds)
1227 (c-type-list-kwds, c-colon-type-list-kwds)
1228 (c-colon-type-list-re, c-paren-type-kwds): New language
1229 constants and variables to generalize the recognition of
1230 various language constructs.
1231 (c-keywords): Did away with the list of `*-kwds' constants.
1232 It's now built through macro expansion.
1233 (c-keywords-obarray): New language variable which contains each
1234 keyword as a symbol, to make fast reverse lookup of keywords to
1235 the `*-kwds' lists they come from.
1237 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1239 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
1240 Add macro to be able to do direct evaluation in
1241 `c-lang-defconst' forms.
1243 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
1244 Fix a bug which could cause the point to end up outside the
1245 containing sexp if PAREN-LEVEL was used.
1247 * progmodes/cc-engine.el, progmodes/cc-fonts.el,
1248 progmodes/cc-langs.el: Generalize the C++ template arglist
1249 support to handle angle bracket arglists in any language.
1250 (c-recognize-<>-arglists, c-<>-arglist-kwds)
1251 (c-opt-<>-arglist-start): New language variables to control
1252 angle bracket arglists.
1253 (c-opt-type-suffix-key): Use `c-recognize-<>-arglists' in
1254 Objective-C instead of matching a protocol reference list as a
1257 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1259 * progmodes/cc-align.el (c-gnu-impose-minimum): Fix a missing
1260 `save-excursion' that caused the point to jump around.
1262 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1264 * progmodes/cc-mode.el, progmodes/cc-menus.el (objc-mode)
1265 (cc-imenu-init): Fix initialization bug that has made the
1266 Objective-C support inoperational since 5.26.
1267 (cc-imenu-objc-generic-expression): Update submatch indices
1268 due to changes in `cc-imenu-c++-generic-expression'.
1269 (cc-imenu-objc-function): Don't add an empty "C" menu since
1270 imenu doesn't like that.
1272 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1274 * progmodes/cc-align.el (c-lineup-arglist)
1275 (c-lineup-arglist-close-under-paren, c-lineup-close-paren):
1276 Add DWIM to the functions that line up at or after the
1277 arglist open paren to avoid that if there are brace blocks
1278 inside, e.g. when a macro contains a code block.
1280 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1282 * progmodes/cc-vars.el (objc-font-lock-extra-types):
1283 Change default to treat identifiers starting with capital letters as
1284 types, according to Objective-C naming conventions. The types
1285 previously on the list is part of the language and therefore
1286 on `c-primitive-type-kwds' instead.
1288 * progmodes/cc-fonts.el: Fix font locking in Objective-C.
1289 Be more careful about returning nil from functions used
1290 directly as font-lock matchers.
1292 * progmodes/cc-mode.el (c-font-lock-init): Make the syntax
1293 table modification element of `font-lock-defaults'
1294 parameterized over the languages.
1296 * progmodes/cc-langs.el: Update the Objective-C constants
1297 according to the language spec. The "@" chars that start
1298 directives are now considered part of the keywords to make
1301 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1303 * progmodes/cc-defs.el: (c-(up|down)-list-(forward|backward)):
1304 Make the position optional and added docstrings.
1306 (c-go-(up|down)-list-(forward|backward)): Add variants of the
1307 above that move point and return successfulness instead.
1309 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1311 * progmodes/cc-fonts.el (c-font-lock-<>-arglists):
1312 New function to fontify all occurrences of template arglists in C++.
1314 * progmodes/cc-engine.el (c-disallow-comma-in-<>-arglists):
1315 New variable to be able to avoid false recognition of template
1316 arglists in some cases.
1318 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1320 * progmodes/cc-fonts.el, progmodes/cc-langs.el
1321 (c-decl-prefix-re, c-font-lock-declarations): Match template
1322 open brackets to get a declaration in the first template argument.
1323 (c-complex-decl-matchers): Fontify the second type in a "class
1324 X = Y" expression in C++.
1326 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1328 * progmodes/cc-engine.el (c-forward-<>-arglist): Break out the
1329 recursive part to a new function to improve efficiency when a
1330 nested template arglist search turns out to be futile.
1332 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1334 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
1335 Improve to avoid false matches on e.g. "else if (foo)".
1337 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1339 * progmodes/cc-engine.el (c-forward-token-2)
1340 (c-backward-token-2): New functions that work like the -1
1341 variants but that handle multicharacter operator tokens.
1343 * progmodes/cc-engine.el (c-inside-bracelist-p)
1344 (c-guess-basic-syntax): Do away with the hardcoded regexps to
1345 recognize "typedef" declaration prefixes, "extern" and
1346 "namespace" blocks, "enum"-style brace list declarations and
1347 Java-style array initializers with "new".
1349 * progmodes/cc-langs.el (c-brace-list-decl-kwds)
1350 (c-brace-list-key, c-inexpr-brace-list-kwds)
1351 (c-opt-inexpr-brace-list-key): New language constants and
1352 variables to parameterize some more of the hardcoded regexps
1355 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1357 * progmodes/cc-align.el (c-lineup-cascaded-calls): Do not
1358 allow cascaded call lists containing both "->" and ".".
1360 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1362 * progmodes/cc-align.el, progmodes/cc-cmds.el,
1363 progmodes/cc-defs.el, progmodes/cc-engine.el,
1364 progmodes/cc-fonts.el, progmodes/cc-langs.el,
1365 progmodes/cc-mode.el, progmodes/cc-styles.el: New language
1366 variable system to make it easier to set up optimized language
1367 variables and to extend them in third party derived modes.
1368 cc-langs is no longer required at runtime.
1370 * progmodes/cc-mode.el (c-basic-common-init): No longer
1371 initializes the language variables. It's necessary that the
1372 caller does that directly since the evaluated values for them
1373 now get compiled in directly.
1374 (c-font-lock-init, c-common-init): Separate the font-lock
1375 initialization from `c-common-init'.
1377 * progmodes/cc-mode.el (c-define-abbrev-table): Do not
1378 override an existing abbrev table.
1379 (c-Java-defun-prompt-regexp): Move here from cc-langs since
1380 cc-langs isn't always loaded at runtime.
1382 * progmodes/cc-langs.el (c-make-init-lang-vars-fun)
1383 (c-init-language-vars): Change to allow language variable
1384 initialization from derived modes.
1385 (c-mode-menu): New language variable for the mode menu.
1386 (c-make-mode-syntax-table, c-mode-syntax-table)
1387 (make-c++-template-syntax-table): New language variables for syntax
1388 tables. The code that initializes them has been moved to cc-mode
1389 to make it possible to avoid loading cc-langs at runtime.
1391 * progmodes/cc-engine.el, progmodes/cc-langs.el
1392 (c-hungry-delete-key, c-auto-newline, c-auto-hungry-string):
1393 Move these state variables from cc-langs to cc-engine to make
1394 it possible to avoid loading cc-langs at runtime.
1396 * progmodes/cc-defs.el (c-lang-defconst, c-lang-const):
1397 Move from cc-langs and rewritten to make the language constant
1398 system usable from derived modes.
1400 (c-add-language): New function intended for use from derived modes
1401 that add new C-like languages.
1403 * progmodes/cc-defs.el, progmodes/cc-vars.el
1404 (c-buffer-is-cc-mode): Move from cc-vars to cc-defs to define
1405 it during compilation.
1407 * progmodes/cc-bytecomp.el (cc-require-when-compile):
1408 New support macro for compile time `require's.
1410 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1412 * progmodes/cc-defs.el, progmodes/cc-mode.el (c-version):
1413 Move from cc-mode to cc-defs to make it accessible to the
1416 * progmodes/cc-engine.el (c-forward-token-1, c-backward-token-1):
1417 Compatibility fix for emacsen that doesn't understand generic
1420 * progmodes/cc-vars.el (c-emacs-features): Add detection of
1421 generic string and comment delimiters.
1423 * progmodes/cc-defs.el, progmodes/cc-langs.el
1424 (c-make-keywords-re): Change interface to make it more extensible.
1426 * progmodes/cc-langs.el, progmodes/cc-defs.el (c-regexp-opt)
1427 (c-regexp-opt-depth, c-make-keywords-re): Move from cc-langs
1428 to cc-defs since they are generally useful.
1430 * progmodes/cc-bytecomp.el, progmodes/cc-defs.el
1431 (cc-eval-when-compile): Move from cc-bytecomp to cc-defs to
1432 allow use at runtime.
1434 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1436 * progmodes/cc-bytecomp.el (cc-eval-when-compile):
1437 Workaround for a bug with nested `eval-when-compile' in XEmacs 21.
1439 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1441 * progmodes/cc-mode.el: Added autoloaded forms to install the
1442 appropriate file suffixes on `auto-mode-alist'. Necessary in
1443 XEmacs 21.5, and it can be useful elsewhere too.
1445 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1447 * progmodes/cc-align.el (c-lineup-cascaded-calls): Handle "."
1448 too, for use in Java.
1450 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1451 Do not handle cpp directives in languages that doesn't have any.
1453 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1455 * progmodes/cc-langs.el (c-operators): Add a high level description
1456 of all operators, along with their precedence and associativity.
1458 * progmodes/cc-align.el (c-lineup-multi-inher): Fix bug
1459 where the position of the point and not the beginning of the
1460 line was used to calculate the indentation.
1462 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1464 * progmodes/cc-defs.el, progmodes/cc-engine.el
1465 (c-backward-single-comment, c-backward-comments): Add kludge
1466 for the bug in `forward-comment' in most (X)Emacs versions
1467 where it moves back over the "*/" of a block comment if
1468 there's no matching "/*". This has become more important now
1469 since it can cause incorrect caching by `c-backward-sws'.
1471 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1473 * progmodes/cc-cmds.el (c-hungry-backspace)
1474 (c-hungry-delete-forward): New functions to do hungry deletion
1475 regardless of hungry-delete mode. Contributed by Kevin Ryde.
1477 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws)
1478 (c-invalidate-sws-region): Use text properties to cache regions
1479 with complex syntactic whitespace. This helps a lot in
1480 improving responsiveness when there are lots of comments and
1481 cpp directives before point.
1483 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1485 * progmodes/cc-guess.el, progmodes/cc-langs.el,
1486 progmodes/cc-menus.el, progmodes/cc-mode.el,
1487 progmodes/cc-styles.el, progmodes/cc-vars.el,
1488 progmodes/cc-engine.el, progmodes/cc-fonts.el,
1489 progmodes/cc-cmds.el, progmodes/cc-defs.el: Introduce a
1490 classification of functions into those that make "hidden
1491 buffer changes" and those who don't. This is prompted by the
1492 increasing use of text properties for various things, to
1493 correctly cover the silly buffer modifications that is caused
1494 by text property changes.
1495 (c-save-buffer-state): New macro that's put around any code that
1496 can manipulate text properties.
1498 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1500 * progmodes/cc-mode.el (c-basic-common-init):
1501 Setup `text-property-default-nonsticky' to avoid messing with the
1502 rear-nonsticky property on each character in Emacs 21.
1504 * progmodes/cc-defs.el (c-clear-char-syntax, c-put-char-syntax):
1505 Macros that sets and removes the
1506 syntax-table property on a single character and makes the
1507 property nonsticky in both directions in a suitable way for
1508 each (X)Emacs flavor.
1510 * progmodes/cc-vars.el, progmodes/cc-defs.el,
1511 progmodes/cc-engine.el, progmodes/cc-mode.el:
1512 Use `lookup-syntax-properties' in XEmacs to control whether the
1513 syntax-table property has any effect or not.
1515 (c-parse-sexp-lookup-properties): New macro that expands to either
1516 `parse-sexp-lookup-properties' or `lookup-syntax-properties'.
1518 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1520 * progmodes/cc-defs.el, progmodes/cc-engine.el,
1521 progmodes/cc-fonts.el: Put the faces into the buffer in the
1522 same way as the font-lock package does. This fixes a
1523 compatibility problem with XEmacs which sets an extra
1526 * progmodes/cc-fonts.el (c-put-font-lock-face): A macro that
1527 finds out the right way to put font lock faces at compile
1528 time. We're definitely not byte code portable between Emacs
1531 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1532 Implement a cache for the last large skipped over syntactic
1533 whitespace. This also has most effect after many macros.
1535 * progmodes/cc-engine.el, progmodes/cc-defs.el
1536 (c-forward-syntactic-ws, c-backward-syntactic-ws): Utilize the
1537 limit better when one is passed. These are now macros to
1538 avoid a little overhead when no limit is given.
1539 (c-forward-sws, c-backward-sws): New functions called by the
1540 macros above to do the unbounded search.
1542 * progmodes/cc-fonts.el (c-font-lock-declarations):
1543 Implement a cache for the first backward search for a
1544 preceding `c-decl-prefix-re' match. This typically speeds up
1545 interactive refontification a lot on the top level of macro
1548 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1550 * progmodes/cc-vars.el (c-emacs-features): Add check for
1551 syntax text properties.
1553 * progmodes/cc-mode.el (c-basic-common-init): Turn on
1554 `parse-sexp-lookup-properties' if it's supported. Define the
1555 variable in any case since it's used at runtime to check on this.
1557 * progmodes/cc-langs.el (c-identifier-key): Support C++
1559 (c-identifier-start, c-op-token-regexp, c-type-modifier-kwds)
1560 (c-opt-type-modifier-key, c-opt-type-component-key)
1561 (c-typedef-specifier-kwds, c-typedef-specifier-key)
1562 (c-paren-stmt-kwds, c-paren-stmt-key, c-syntactic-ws-start):
1563 A bunch of new language constants and variables to support the
1564 improved handling of names and types.
1566 * progmodes/cc-fonts.el (c-font-lock-declarators)
1567 (c-font-lock-declarations): Handle C++ template declarations
1568 and template references. Fontify complex types and names more
1569 accurately by delegating it to `c-forward-type' and
1570 `c-forward-name'. Fontify the identifiers in typedef
1571 declarations as types.
1573 * progmodes/cc-engine.el (c-forward-<>-arglist): New function
1574 to move forward over a C++ template arglist. It also marks
1575 the '<' and '>' chars with paren syntax using the syntax-table
1576 property, to speed up later calls in emacsen that support
1577 syntax text properties (Emacs >= 20 and (undocumented) XEmacs 21).
1578 This also has the very interesting effect that if font locking
1579 is used with decoration level 3 or higher in these emacsen
1580 then template arglists will behave just like paren sexps with
1581 the various sexp movement commands.
1582 (c-forward-name): New function to move over a name. Simple in
1583 most languages except C++ where a name can contain template
1584 arglists and therefore almost arbitrary expressions.
1585 (c-on-identifier): Fix for Pike operator identifiers.
1586 (c-simple-skip-symbol-backward, c-syntactic-content)
1587 (c-remove-<>-paren-properties): New helper functions.
1589 * progmodes/cc-defs.el: (c-clear-char-syntax)
1590 (c-mark-paren-open, c-mark-paren-close): New support functions
1591 to handle syntactic properties on C++ template arglist brackets.
1592 (c-put-type-face, c-put-reference-face): Helpers to put faces on
1593 regions, since there are a bit of that inside `c-forward-name' etc
1594 in progmodes/cc-engine.el.
1596 * progmodes/cc-engine.el, progmodes/cc-fonts.el,
1597 progmodes/cc-langs.el: Fix the names on a number of regexp
1598 language variables to conform to the nomenclature and
1599 shortened some names.
1601 * progmodes/cc-align.el, progmodes/cc-cmds.el,
1602 progmodes/cc-fonts.el, progmodes/cc-engine.el
1603 (c-syntactic-re-search-forward): Remove the COUNT argument
1604 since it's never used. Add an argument to tell which
1605 subexpression whose end should be tested for syntactic
1606 relevance. Using this also removes some optimizations, so
1607 that it's possible to use a look behind subexpression that
1608 matches the end of a literal or a close paren when PAREN-LEVEL
1611 (c-guess-continued-construct): Don't match <<= or >>= for the
1612 stream-op syntactic element.
1614 * progmodes/cc-defs.el (c-paren-re, c-identifier-re):
1615 Remove these helper macros since better and more correct tools are
1616 now available in progmodes/cc-langs.el.
1618 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1620 * progmodes/cc-align.el (c-lineup-string-cont): New lineup
1621 function to line up string literals that will be concatenated.
1623 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1625 * progmodes/cc-langs.el (c-populate-syntax-table):
1626 XEmacs classifies the hard space character as a symbol character
1627 but it's better to let it be in the punctuation class so that it's
1628 always highlighted with the inverted invalid face. It can
1629 perhaps be argued that that character is allowed in
1630 identifiers in some languages (haven't checked), but using it
1631 would still be extremely confusing.
1633 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1635 * progmodes/cc-engine.el (c-beginning-of-statement-1): Fix a
1636 case when a labeled substatement caused incorrect association
1637 of the following continuation clause.
1639 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
1640 Handle the case when the syntactic match position is in the
1641 middle of a comment starter.
1643 (c-guess-continued-construct): Analyze the "K&R region" of a
1644 function nested inside a function as func-decl-cont and not
1645 statement-cont. New case E. Also clean up case C (stream-op
1648 * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
1649 Move the check on `c-state-cache-start' from
1650 `c-check-state-cache' to `c-parse-state' so that the state
1651 cache isn't zapped if `c-check-state-cache' but not
1652 `c-parse-state' is called during a temporary narrowing.
1653 This fixes a performance problem that could occur when
1654 `fill-paragraph' is used in font lock mode on a comment at the
1655 end of a large class or function.
1657 (c-state-cache-start): Fix buffer localness.
1659 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1661 * progmodes/cc-langs.el: Updates from the C99 standard (or
1662 actually from the latest web accessible draft of it).
1664 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1666 * progmodes/cc-langs.el: Update the keywords and operator
1667 tokens from the latest C++ and Java standards. Some other
1668 multichar token corrections.
1670 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1672 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
1673 progmodes/cc-vars.el (c-syntactic-context)
1674 (c-syntactic-element): Do not bind any values to these
1675 variables globally since they should always be dynamically
1676 bound. This makes it much easier to debug cases when they've
1677 gotten global values somehow.
1679 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1681 * progmodes/cc-langs.el (c-regexp-opt): Fix to work around the
1682 non-greedy behavior that the regexp engine sometimes exposes.
1683 This bug only shows in (X)Emacs 19 where there's no regexp-opt package.
1685 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
1686 Add a feature to filter out matches in the middle of tokens.
1687 Changed the comment to a docstring since I consider this
1688 function generally useful.
1690 * progmodes/cc-defs.el (c-mode-symbol): Break out a part of
1693 * progmodes/cc-align.el (c-lineup-cascaded-calls)
1694 (c-lineup-gcc-asm-reg): Cope with that `c-most-enclosing-brace'
1697 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1699 * progmodes/cc-engine.el (c-found-types, c-clear-found-types)
1700 (c-add-type, c-check-type, c-add-complex-type)
1701 (c-list-found-types, c-forward-type): Add a sort of symbol
1702 table for types: If a name is recognized as a type in a
1703 declaration it's added in an obarray to be able to recognize
1704 it in other ambiguous declarations.
1706 (c-remove-ws): New helper function to canonicalize fully
1707 qualified identifiers for `c-found-types'.
1709 * progmodes/cc-defs.el (c-mode-var): New defsubst to access
1710 mode prefixed variables uniformly.
1712 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1714 * progmodes/cc-align.el (c-lineup-arglist-close-under-paren):
1715 Work correctly with nested arglist-cont-nonempty symbols.
1717 (c-lineup-arglist-operators): New lineup function to line up infix
1718 operators under the open paren of the surrounding sexp.
1720 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1722 * progmodes/cc-engine.el (c-forward-syntactic-ws): Fix a bug
1723 that could cause an infinite loop if something that looks like
1724 a macro begins in the middle of a line.
1726 (c-parse-state): Fix a bug that could cause `c-state-cache'
1727 to contain two conses in sequence when there's an unbalanced
1728 open paren in a macro.
1730 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1732 * progmodes/cc-defs.el (c-face-name-p): A defsubst to
1733 recognize the name of a face in a way that works also in XEmacs.
1735 * progmodes/cc-engine.el (c-forward-type): New function to
1736 move past a type spec.
1738 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
1739 Fix behavior when the limit is reached inside a comment,
1742 * progmodes/cc-align.el, progmodes/cc-cmds.el,
1743 progmodes/cc-engine.el (c-forward-single-comment,
1744 c-forward-comments, c-backward-single-comment,
1745 c-backward-comments): New replacements for `c-forward-comment'
1746 that wraps `forward-comment' more efficiently in each of the
1747 four different cases it's actually used. These replacements
1748 also treats line continuations as whitespace.
1750 (c-forward-comment): Remove. The four different cases above
1751 are basically different, so it's better to make them into
1752 separate functions than choose between them at runtime using
1755 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1757 * progmodes/cc-align.el (c-gnu-impose-minimum): Fix bug due
1758 to the new placement of cpp-macro and comment-intro in the
1759 syntactic context, as pointed out by Kevin Ryde. Change the
1760 method that decides whether point is inside a top-level
1761 construct to one that doesn't depend on the set of syntactic
1764 * progmodes/cc-defs.el (c-point): Use the functions
1765 `line-beginning-position' and `line-end-position' in emacsen
1766 that have them (currently Emacs 20 and later).
1768 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1770 * progmodes/cc-cmds.el (c-mask-comment): Fix a bug that
1771 sometimes caused code after a closed block comment to be taken
1772 into account when the fill prefix is calculated.
1774 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1776 * progmodes/cc-align.el (c-lineup-arglist, c-lineup-argcont)
1777 (c-lineup-math, c-lineup-cascaded-calls, c-lineup-gcc-asm-reg):
1778 Fixes to cope correctly with nested arglists for the lineups
1779 that can be used with arglist-cont-nonempty.
1781 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1783 * progmodes/cc-engine.el (c-add-stmt-syntax, c-guess-basic-syntax):
1784 Change the anchor position of
1785 arglist-cont-nonempty and arglist-close so that a relative
1786 indentation like + can be used with consistent results.
1787 Prior to this, the indentation engine more or less assumed that
1788 arglist-cont-nonempty always used `c-lineup-arglist'.
1789 Those two syntax symbols also get the opening paren as an extra
1790 position, to make it possible for `c-lineup-arglist' to
1791 continue to do a proper job.
1793 * progmodes/cc-engine.el (c-get-syntactic-indentation):
1794 A vector with an absolute indentation column now only overrides
1795 the indentation for surrounding structures, i.e. those whose
1796 syntactic elements are earlier in the `c-syntactic-context'
1797 list, but not nested ones. This so that
1798 e.g. `c-lineup-arglist' can reliably line up with the first
1799 argument but still allow relative indentation changes for
1800 nested things, e.g. the arglist-close of a nested argument
1801 list. This change means that the order in
1802 `c-syntactic-context' has become more essential.
1803 (c-guess-basic-syntax): Changes to make the nesting order of the
1804 returned syntax list correct.
1806 Compatibility note: This change means that `c-lineup-dont-change'
1807 now (again) isn't absolutely sure to keep the current indentation.
1808 However, I believe that most people use it for comments, macros
1809 and string literals, and since those are nested innermost it won't
1812 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1814 * progmodes/cc-align.el, progmodes/cc-defs.el,
1815 progmodes/cc-engine.el, progmodes/cc-vars.el
1816 (c-guess-basic-syntax, c-calc-offset)
1817 (c-get-syntactic-indentation, c-syntactic-context):
1818 Extend the representation of the syntactic context: Previously it was
1819 a list containing cons cells of the found syntactic symbols
1820 and their relpos values. Now each element is instead a list
1821 containing the syntactic symbol in the first element and the
1822 relpos (if any) in the second. After that there might be more
1823 elements, depending on the syntactic symbol. The line-up
1824 functions get these additional elements as extra arguments.
1826 This change is slightly incompatible. Although the calling
1827 convention for line-up functions is strictly extended, the format
1828 of the `c-syntactic-context' variable has changed slightly. It's
1829 believed that this incompatibility is minor, though; not a single
1830 line-up function distributed with CC Mode needed to be changed,
1833 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1835 * progmodes/cc-styles.el (c-set-style, c-set-style-1):
1836 Add another state for the `dont-override' flag where it only keeps
1837 globally set variables.
1839 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1841 * progmodes/cc-mode.el (c-postprocess-file-styles): Do nothing
1842 except in CC Mode modes.
1844 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1846 * progmodes/cc-vars.el, progmodes/cc-fonts.el,
1847 progmodes/cc-langs.el, progmodes/cc-mode.el: Add font lock support.
1849 * progmodes/cc-engine.el (c-beginning-of-syntax): New function
1850 to be used for font-lock-beginning-of-syntax-function.
1851 It uses the state cache to quickly find a good position.
1853 * progmodes/cc-defs.el (c-major-mode-is): Allow a list of
1854 modes. Made it a macro ensure that it's optimized to either
1855 eq or memq for constant arguments.
1857 * progmodes/cc-mode.el (c-common-init): Do away with the
1858 hardcoded setting of `comment-column'; it's a user variable
1859 that we have no business meddling with. Since the default
1860 value for it is 32 in all supported (X)Emacs versions, it's
1861 also safe from a compatibility perspective.
1863 * progmodes/cc-mode.el (c-basic-common-init): New function
1864 that contains only the syntax and line breaking/filling
1865 initialization. It's intended for use by other modes that
1868 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1870 * progmodes/cc-engine.el (c-add-stmt-syntax): Fix some cases
1871 of wrong anchoring, e.g. for else-if compounds.
1873 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1875 * progmodes/cc-engine.el (c-guess-basic-syntax): Fix anchor
1876 position for defun-open in K&R style functions.
1878 * progmodes/cc-engine.el (c-in-knr-argdecl): Don't trip up on macros.
1880 (c-search-decl-header-end): Handle C++ template arguments more
1883 (c-beginning-of-decl-1): Fix when the declaration is first in a macro.
1885 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1887 * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
1888 to handle protection labels, one which doesn't get confused by
1891 (c-end-of-decl-1): Don't treat functions that have "class" or
1892 "struct" in the return type as classes or structs.
1894 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1896 * progmodes/cc-langs.el (c-make-keywords-re): Fix the
1897 keyword adornment so that it works when a keyword ends with "_".
1899 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1901 * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
1902 from `c-do-auto-fill' and point is at or near the limit of the
1903 comment. Fix bug when the prefix from `c-guess-fill-prefix'
1904 is longer than the text on the first line of the comment when
1907 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1909 * progmodes/cc-cmds.el (c-mask-comment): Fix bug where point
1910 was moved to the following line when it was at the first line
1911 of a block comment where comment-start-skip matched to eol.
1913 2003-07-01 Luc Teirlinck <teirllm@mail.auburn.edu>
1915 * info.el (Info-fontify-menu-headers): Only fontify `* Menu:' at
1916 the beginning of a line.
1917 (Info-extract-menu-node-name): Correctly initialize while loop.
1918 (Info-scroll-prefer-subnodes): Change default to nil.
1920 * simple.el (vis-mode): Update documentation string to reflect
1923 2003-06-30 Richard M. Stallman <rms@gnu.org>
1925 * loadup.el (pure-space-overflow): Set it if overflow.
1927 * startup.el (pure-space-overflow): New variable.
1928 (fancy-splash-screens-1): Display warning if overflow.
1929 (normal-splash-screen): Likewise.
1931 * vc.el (vc-default-show-log-entry): Use with-no-warnings.
1933 * subr.el (lazy-completion-table, dynamic-completion-table):
1936 2003-06-28 Richard M. Stallman <rms@gnu.org>
1938 * menu-bar.el (menu-bar-options-menu): Move mouse-set-fonts item here.
1940 * international/mule-cmds.el (mule-menu-keymap):
1941 Delete mouse-set-fonts item here.
1943 2003-06-29 Nick Roberts <nick@nick.uklinux.net>
1945 * gdb-ui.el (gdb-display-number-end): Don't re-initialise local
1946 variables to preserve array slices.
1947 (gdb-array-slice): Rename gdb-mouse-array-slice.
1948 (gdb-array-slice): Interactive function bound to "\r" for text
1950 (gdb-view-source): Rename gdb-view-source-function.
1951 Set uninitialised variables (defvars) to nil.
1953 2003-06-29 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
1955 * international/mule-cmds.el
1956 (set-display-table-and-terminal-coding-system): Remove CVS
1957 conflict markers and some code.
1959 2003-06-27 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
1961 * international/mule-cmds.el (menu-bar-options-menu):
1962 Move `mouse-set-fonts' here from Options/Mule submenu.
1964 2003-06-26 Stephen Eglen <stephen@gnu.org>
1966 * iswitchb.el (iswitchb-read-buffer): Remove redundant variable
1967 iswitchb-prepost-hooks.
1968 (iswitchb-xemacs): Delete variable and use (featurep 'xemacs)
1969 and fboundp instead.
1970 (iswitchb-completions): Remove two redundant arguments and local
1971 variables. (All above from Stefan Monnier).
1973 2003-06-20 Masatake YAMATO <jet@gyve.org>
1975 * progmodes/asm-mode.el (asm-font-lock-keywords):
1976 Support labels starting with "." and directives starting with ".".
1978 2003-06-22 Andreas Schwab <schwab@suse.de>
1980 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1981 Avoid variable as format argument for error.
1982 Don't call symbol-name on string.
1984 * eshell/esh-opt.el (eshell-do-opt): Avoid variable as format
1987 * simple.el (vis-mode): Doc fix.
1989 2003-06-22 Glenn Morris <gmorris@ast.cam.ac.uk>
1991 * calendar/diary-lib.el (diary-check-diary-file): New function.
1992 (diary, view-diary-entries, show-all-diary-entries)
1993 (mark-diary-entries): Use it.
1994 (view-other-diary-entries): Doc fix. Use `prefix-numeric-value'.
1995 (diary-syntax-table, diary-attrtype-convert, diary-mail-days): Doc fix.
1996 (diary-modified, d-file): No need to defvar (for compiler).
1997 (list-diary-entries): No need for `let*' so use `let'.
1998 (simple-diary-display): Use `diary-file' directly rather than
1999 inheriting `d-file' from `list-diary-entries' caller.
2000 (make-fancy-diary-buffer, show-all-diary-entries):
2001 `mode-line-format' already buffer-local.
2002 (diary-mail-addr): Set to the empty string (rather than nil) if
2003 undefined, as per `user-mail-address'.
2004 (diary-mail-entries): Doc fix. Error if `diary-mail-address' unset.
2005 (mark-sexp-diary-entries): Don't regexp-quote sexp-mark twice.
2006 Remove an un-needed `if'.
2007 (list-sexp-diary-entries): Remove local vars mark and s-entry, and
2008 use `let' rather than `let*'.
2009 (diary-date, insert-monthly-diary-entry)
2010 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
2011 (insert-block-diary-entry, insert-cyclic-diary-entry)
2012 (font-lock-diary-date-forms): No need for `let*' so use `let'.
2013 (make-diary-entry): Doc fix. Use `or' rather than `if'.
2014 (diary-font-lock-keywords): Use `when'. `cal-islam' is required
2015 feature, not `cal-islamic'.
2016 `calendar-islamic-month-name-array-leap-year' does not exist - use
2017 `calendar-islamic-month-name-array'.
2019 2003-06-21 Kenichi Handa <handa@m17n.org>
2021 * international/utf-16.el: Many name changes: utf-16-{be,le} ->
2023 (mule-utf-16-le, utf-16-le, mule-utf-16-be, utf-16-be): New coding
2024 system aliases for backward compatibility.
2026 * international/utf-7.el: Adjusted for the name change:
2027 xxx-utf-16-{le,be} -> xxx-utf-16{le,be}.
2029 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
2030 Adjust for the name change: xxx-utf-16-{le,be} ->
2033 * international/mule-conf.el: Adjusted for the name change:
2034 xxx-utf-16-{le,be} -> xxx-utf-16{le,be}.
2036 * international/mule-cmds.el (reset-language-environment):
2037 Adjust for the name change: xxx-utf-16-{le,be} ->
2040 2003-06-20 Luc Teirlinck <teirllm@mail.auburn.edu>
2042 * vc.el (vc-rename-file): Fix typo.
2044 2003-06-19 Andreas Schwab <schwab@suse.de>
2046 * info.el (Info-fontify-node): Improve calculation of other-tag.
2048 2003-06-19 Stefan Monnier <monnier@cs.yale.edu>
2050 * progmodes/cc-mode.el (c-mode): Reverting last change.
2052 2003-06-18 Stefan Monnier <monnier@cs.yale.edu>
2054 * progmodes/gud.el (gud-find-expr-function): Rename from gud-find-expr.
2055 (gud-find-fortran-expr): Move to fortran.el.
2057 * progmodes/fortran.el (fortran-gud-find-expr): Move from gud.el
2058 where it was called gud-find-fortran-expr.
2059 (fortran-mode): Set gud-find-expr-function.
2061 2003-06-18 Nick Roberts <nick@nick.uklinux.net>
2063 * gdb-ui.el (gud-display1): Keep the gdb command, "display", in
2064 the command history.
2065 (gdb-restore-windows): Make restore work when gdb-many-windows
2067 (gdb-source-info, gdba): Display assembler if there is no symbol
2068 table for main, or message if there is no main.
2069 (gdb-assembler-custom): Move point to current line of assembler.
2071 * progmodes/gud.el (gud-menu-map): Add dbx support for "run" and
2073 (dbx): Define gud-nexti and gud-run.
2074 (gud-find-expr, gud-find-fortran-expr): New functions.
2075 (gud-find-expr): New variable.
2076 (gud-find-c-expr): Simplify.
2078 * progmodes/fortran.el (fortran-gud-syntax-table): Syntax table
2079 for parsing Fortran expressions for gud-print. (Stefan Monnier)
2080 (fortran-mode): Add local variable gud-find-expr.
2082 * progmodes/cc-mode.el (c-mode): Add local variable gud-find-expr.
2084 2003-06-18 Stefan Monnier <monnier@cs.yale.edu>
2086 * subr.el (looking-back): Handle the case of non-trivial regexps.
2087 Add an optional `limit' argument.
2088 (push, pop, with-temp-file, with-temp-message, delay-mode-hooks)
2089 (with-syntax-table): Add edebug info.
2091 2003-06-17 Stefan Monnier <monnier@cs.yale.edu>
2093 * simple.el (kill-new): Leave yank-handler property alone if no
2094 explicit yank-handler is specified.
2095 (vis-mode-saved-buffer-invisibility-spec): Rename from
2096 saved-buffer-invisibility-spec.
2097 (vis-mode): Correctly handle the case where the mode is turned on
2098 or off several times in a row.
2100 2003-06-17 Luc Teirlinck <teirllm@mail.auburn.edu>
2102 * info.el (Info-fontify-node): Give only the last whitespace
2103 character after the node name the display property. Give all
2104 other such whitespace the invisibility property.
2106 2003-06-17 Pinku Surana <surana@rcn.com>
2108 * progmodes/sql.el: Add support for SQLite interpreter.
2110 2003-06-17 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
2112 Version 2.0.35 of Tramp released.
2114 * net/tramp.el (tramp-password-end-of-line): Use "xy" with plink.
2115 (tramp-completion-function-alist): Add completion function for
2116 "remcp", "remsh" and "plink1".
2117 Factor out the `regular' file name handling via a remote shell of
2118 some sort into a specific function. Intent is to later put that
2119 part of Tramp into a special file, so that the Tramp `core' is
2120 just a dispatcher that dispatches to various handlers.
2121 (tramp-sh-file-name-handler): New function.
2122 (tramp-foreign-file-name-handler-alist): New default value.
2123 Call tramp-sh-file-name-handler as default case.
2124 (tramp-file-name-handler): Do not invoke the old remote-shell handler.
2125 (tramp-find-foreign-file-name-handler): Return after first match
2126 is found. From Francis Litterio <franl@world.std.com>.
2127 (tramp-handle-file-newer-than-file-p): `tramp-time-diff' returns
2128 integer, not list. Do not apply `car' to the return value of
2129 `tramp-time-diff'. Reported by David D. Smith
2130 <ultrasoul@ultrasoul.com>.
2131 (tramp-time-diff): Convert return value of subtract-time to a
2132 number of seconds in a correct manner, by applying float-time or
2133 time-to-seconds. Also correct compat code accordingly.
2134 The XEmacs branch for itimer-time-difference didn't need correction,
2135 it returned a float already. Reported by David D. Smith
2136 <ultrasoul@ultrasoul.com>.
2137 (tramp-handle-insert-file-contents): When calling
2138 `file-local-copy', let-bind `inhibit-file-name-operation'
2139 accordingly. This makes sure that jka-compr is not called when
2140 `insert-file-contents-literally' is invoked. From Katsumi Yamaoka
2142 (tramp-do-copy-or-rename-via-buffer): Avoid calling jka-compr when
2143 writing the target file.
2144 (tramp-foreign-file-name-handler-alist): Add comment about default
2145 value having to come last.
2146 (tramp-handle-file-local-copy, tramp-handle-write-region): Add the
2148 (tramp-handle-copy-file): Set file modes of target file.
2149 (tramp-handle-file-local-copy)
2150 (tramp-do-copy-or-rename-via-buffer): Use binary coding system,
2151 instead of no-conversion. They are the same on Emacs but
2152 different on XEmacs.
2153 (tramp-shell-prompt-pattern): Allow multiple escape
2154 sequences (each with optional trailing space).
2157 * net/tramp-util.el:
2158 * net/tramp-efs.el: Use iso-2022-7bit encoding with coding cookie
2159 for XEmacs compatibility.
2161 2003-06-17 Kenichi Handa <handa@m17n.org>
2163 * term/x-win.el (x-select-request-type): New variable.
2164 (x-select-utf8-or-ctext): New function.
2165 (x-selection-value): New function.
2166 (x-cut-buffer-or-selection-value): Call x-selection-value to get
2167 a selection data. Set next-selection-coding-system to nil.
2169 * select.el (x-get-selection): If the string returned by
2170 x-get-selection-internal has text property `foreign-selection',
2171 decode it while preserving that property.
2173 2003-06-16 Stefan Monnier <monnier@cs.yale.edu>
2175 * menu-bar.el (ispell-menu-bar): Don't autoload.
2176 (cvs-global-menu): Use the function rather than the variable.
2178 * pcvs-defs.el (cvs-global-menu): Define as a function as well.
2180 * emacs-lisp/debug.el (debug): Fix call to message.
2182 2003-06-16 Michael Mauger <mmaug@yahoo.com> (tiny change)
2184 * emulation/cua-base.el (cua-mode): Use explicit arg to turn off
2187 2003-06-16 Stefan Monnier <monnier@cs.yale.edu>
2189 * emacs-lisp/cl-extra.el (cl-macroexpand-all):
2190 Don't burp if (cadr (caddr found)) encounters a non-list element.
2192 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Use map-keymap.
2193 (defsubst*): Don't put a `cl-whole argument if it's not used.
2195 * emacs-lisp/cl-specs.el (pushnew): Use keywordp.
2197 * emacs-lisp/disass.el (disassemble): Accept plain expressions.
2199 * add-log.el (add-log-edit-prev-comment, add-log-edit-next-comment):
2201 (change-log-mode-map): Bind them.
2202 (smerge-resolve-function): Declare to quieten the byte-compiler.
2203 (change-log-mode): Add the keymap to the docstring.
2205 2003-06-16 Luc Teirlinck <teirllm@mail.auburn.edu>
2207 * simple.el (vis-mode): New function.
2208 (saved-buffer-invisibility-spec): New variable.
2210 2003-06-16 Juanma Barranquero <lektu@terra.es>
2212 * progmodes/sh-script.el (sh-while-getopts, sh-if, sh-case):
2213 Revert part of previous change.
2215 2003-06-16 Pieter E.J. Pareit <pieter.pareit@skynet.be>
2217 * progmodes/mixal-mode.el: New file.
2219 2003-06-16 Markus Rost <rost@math.ohio-state.edu>
2221 * files.el (recover-session-finish): Don't give up when there are
2222 two consecutive empty lines in the auto-save-list file.
2224 2003-06-14 Stefan Monnier <monnier@cs.yale.edu>
2226 * emacs-lisp/copyright.el (copyright-update-year): New function
2227 extracted from copyright-update.
2228 When `arg' is set, replace the year, not the `copyright' text.
2229 Ignore `copyright-update = nil' if called interactively.
2230 Use "," rather than ", " if that's what was used before.
2231 Recognize mixes of 2 and 4 digit years.
2233 (copyright-update): Add interactivep arg.
2234 Use it instead of use last-command.
2235 Use replace-match. Don't assume (point-min) == 1.
2237 * textmodes/tex-mode.el (tex-compile-commands):
2238 Handle tex-start-commands like tex-start-tex does.
2240 * cus-edit.el (custom-get-fresh-buffer): Kill overlays before erasing
2243 2003-06-13 Ilya N. Golubev <gin@mo.msk.ru> (tiny change)
2245 * shell.el (shell-command-separator-regexp): New variable.
2246 (shell-directory-tracker): Make regexp used for skipping to next
2247 command correspond to one used for command itself.
2249 2003-06-13 Katsumi Yamaoka <yamaoka@jpl.org> (tiny change)
2251 * textmodes/texinfmt.el (texinfo-format-scan):
2252 Silence `whitespace-cleanup'.
2254 2003-06-12 Glenn Morris <gmorris@ast.cam.ac.uk>
2256 * calendar/timeclock.el (display-time-hook)
2257 (timeclock-modeline-display): Define for byte-compiler.
2258 (timeclock-time-to-date, timeclock-workday-remaining)
2259 (timeclock-time-to-seconds, timeclock-seconds-to-time):
2260 Move earlier in the file so defined before used.
2261 (timeclock-status-string): No need for `let*' so use `let'.
2262 (timeclock-query-out): Always return a non-nil value.
2264 2003-06-10 Rajesh Vaidheeswarran <rv@gnu.org>
2266 * whitespace.el (whitespace-version): Bump to 3.3
2267 (whitespace-cleanup): Respect user preference for silence
2269 * whitespace.el: Remove :tag in commentary :link. Remove empty
2270 lines in comment, since commentary seems to have a problem with that.
2272 2003-06-09 Stefan Monnier <monnier@cs.yale.edu>
2274 * textmodes/tex-mode.el (tex-search-noncomment): New macro.
2275 (tex-last-unended-begin, tex-next-unmatched-end): Use it
2276 so we don't get confused by \begin and \end in comments.
2277 (tex-compile): Change dir before calling tex-compile-default.
2279 2003-06-09 Luc Teirlinck <teirllm@mail.auburn.edu>
2281 * bindings.el (global-map): Bind `kill-whole-line' to
2282 C-S-<backspace>. Remove M-S-<backspace> binding: too close to
2285 * dired.el (dired-re-dot): Make it handle trailing /.
2286 (dired-get-filename): Update documentation string.
2287 Revert previous change and fix typo in earlier version.
2289 2003-06-10 Kim F. Storm <storm@cua.dk>
2291 * info.el (Info-fontify-node): Make `invisible' property
2292 non-sticky so that whitespace added by filling stays visible.
2293 Make refilling less agressive by starting at beginning of current
2294 line rather than beginning of current paragraph.
2296 2003-06-09 Andreas Schwab <schwab@suse.de>
2298 * dired.el (dired-get-filename): Complain only about "." and "..",
2299 not all directories.
2301 2003-06-08 Nick Roberts <nick@nick.uklinux.net>
2303 * gdb-ui.el (gdb-get-current-frame, gdb-frame-handler): Use Gdb
2304 command `info frame' instead of `frame' to preserve point.
2305 (gdb-invalidate-assembler): Only run disassemble again if frame
2307 (gdb-append-to-inferior-io): Revert change from 2003-05-17.
2309 2003-06-07 Stefan Monnier <monnier@cs.yale.edu>
2311 * textmodes/texinfo.el (texinfo-enable-quote-macros): Fix thinko.
2312 (texinfo-insert-@table): Remove unused arg.
2313 (texinfo-show-structure): Remove unused var `source-buffer'.
2315 * info.el (Info-goto-node, Info-follow-reference, Info-menu-update)
2316 (Info-fontify-node): Don't search past header-end.
2317 Use match-string and line-end-position.
2319 * skeleton.el (skeleton-proxy-new): Consume the mark-active state.
2321 * textmodes/tex-mode.el (tex-mode-syntax-table)
2322 (tex-latex-indent-syntax-table): Don't use easy-mmode-defsyntax.
2324 2003-06-07 Jason Rumney <jasonr@gnu.org>
2326 * mwheel.el (mouse-wheel-up-event, mouse-wheel-down-event):
2327 Use wheel-* events on darwin.
2329 2003-06-06 Era Eriksson <era@iki.fi> (tiny change)
2331 * shell.el (shell-resync-dirs): Tolerate an extra line of output
2332 before the list of directories from `shell-dirstack-query' (it
2333 looks for, and ignores, a literal copy of the value of
2334 shell-dirstack-query).
2336 2003-06-06 Lute Kamstra <Lute.Kamstra@cwi.nl>
2338 * info.el (Info-complete-menu-item): Revert change of 2003-06-03.
2340 2003-06-06 Klaus Zeitler <kzeitler@lucent.com>
2342 * progmodes/sh-script.el: Fix bug in "Options Loop" skeleton for
2343 ksh. Add newlines to a few skeletons, add "select" keyword for bash.
2345 2003-06-06 Andreas Schwab <schwab@suse.de>
2347 * info.el (Info-select-node): Doc fix.
2349 2003-06-06 Miles Bader <miles@gnu.org>
2351 * frame.el (set-frame-font): Default to frame's current default font.
2353 2003-06-06 Kim F. Storm <storm@cua.dk>
2355 * info.el (Info-fontify-node): Don't refill over lines ending in a
2356 period; this should fix problems with lists like one in the
2357 (emacs)Library Keywords section.
2359 2003-06-05 Markus Rost <rost@math.ohio-state.edu>
2361 * dired.el (dired-get-filename): Don't err for . and .. for calls
2362 from dired-add-entry.
2364 2003-06-05 Takaaki Ota <Takaaki.Ota@am.sony.com>
2366 * textmodes/table.el (table-cell-horizontal-chars): Rename from
2367 table-cell-horizontal-char. Now a string value instead of a
2368 character. ?= is allowed for horizontal boundary as well as ?-.
2369 (table-command-remap-alist, table-command-list): Change defconst to
2370 defvar because the value is modified.
2371 (table-insert, table-insert-row, table-insert-column)
2372 (table-recognize, table-recognize-region, table-widen-cell)
2373 (table-span-cell, table-split-cell-vertically): Change due to
2374 table-cell-horizontal-chars.
2375 (table--cell-horizontal-char-p): New function.
2376 (table--generate-source-scan-lines, table-delete-row)
2377 (table-delete-column, table--spacify-frame)
2378 (table--find-row-column, table--probe-cell-left-up)
2379 (table--probe-cell-right-bottom, table--probe-cell): Change due to
2380 table-cell-horizontal-chars. From David Abrahams
2381 <dave@boost-consulting.com>
2383 2003-06-05 Juanma Barranquero <lektu@terra.es>
2385 * gud.el: Moved to progmodes.
2387 2003-06-05 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> (tiny change)
2389 * progmodes/tcl.el (tcl-mode): Set imenu-generic-expression to the
2390 value of tcl-imenu-generic-expression instead of the symbol.
2392 2003-06-05 Luc Teirlinck <teirllm@mail.auburn.edu>
2394 * info.el (Info-mode): Mention `c' and remove duplicate mention
2395 of `q' in documentation string.
2397 2003-06-05 Lute Kamstra <Lute.Kamstra@cwi.nl>
2399 * shell.el (shell-mode): Put `shell-filter-ctrl-a-ctrl-b' on
2400 `comint-output-filter-functions' when bash is used as the inferior
2402 (shell-filter-ctrl-a-ctrl-b): New function.
2404 2003-06-05 Dave Love <fx@gnu.org>
2406 * vc-hooks.el (vc-make-backup-files): Add :group backup.
2408 2003-06-05 Kim F. Storm <storm@cua.dk>
2410 * info.el (Info-fontify-node): Individually refill menus and
2411 paragraphs to preserve menu items and varying indentation.
2412 Only color first 9 menu items differently.
2414 2003-06-05 Juanma Barranquero <lektu@terra.es>
2416 * desktop.el: Add new maintainer.
2418 2003-06-04 Stefan Monnier <monnier@cs.yale.edu>
2420 * textmodes/sgml-mode.el (sgml-parse-tag-backward): Try and detect
2421 when we're starting from within a tag.
2422 (sgml-get-context): When called from inside a tag, do something useful.
2423 Rename the arg now that it's never used for `full' context anymore.
2424 (sgml-calculate-indent): Make `lcon' an argument.
2425 Return nil when we DON'T know what to do.
2426 If the initial lcon turns out to be wrong, try again.
2427 (sgml-indent-line): If sgml-calculate-indent returns nil, don't indent.
2429 2003-06-04 Jason Rumney <jasonr@gnu.org>
2431 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
2432 Default to new wheel-up and wheel-down events on MacOS.
2434 * term/mac-win.el: No need to bind wheel events specially.
2436 2003-06-04 Luc Teirlinck <teirllm@mail.auburn.edu>
2438 * simple.el (yank-excluded-properties): Expand documentation string.
2440 2003-06-04 Richard M. Stallman <rms@gnu.org>
2442 * emacs-lisp/lisp-mnt.el (lm-keywords-finder-p):
2443 Use with-no-warnings.
2445 * gud.el (gud-minor-mode-type): Move defvar up.
2447 * progmodes/compile.el (compilation-next-error): When moving fwd,
2448 compare position of point with the errors.
2450 * dired.el (dired-get-filename): Err for . and .. in usual case.
2451 (dired-get-file-for-visit): Specify no-error to dired-get-filename,
2452 and check for real errors here.
2453 (dired-unmark-all-files): Specify no-error to dired-get-filename.
2455 * buff-menu.el (list-buffers-noselect): Use window-inside-edges
2456 to compute the number of offset spaces.
2457 (list-buffers-noselect): Use Buffer-menu-buffer+size to
2458 indent the dashes properly. Put some in fixed-pitch.
2460 2003-06-04 Lars Hansen <larsh@math.ku.dk>
2462 * desktop.el (desktop-create-buffer): Undo last change.
2463 (desktop-kill, desktop-save, desktop-remove): Use expand-directory
2464 rather than concat to construct desktop filename.
2465 (desktop-kill, desktop-read, desktop-change-dir):
2466 Ensure desktop-dirname is a directory name.
2467 (desktop-change-dir): Fix bug when DIR was relative.
2469 2003-06-04 Alex Coventry <alex_c@mit.edu> (tiny change)
2471 * files.el (after-find-file): Fix arguments of call to `sit-for'.
2473 2003-06-03 Stefan Monnier <monnier@cs.yale.edu>
2475 * info.el (Info-extract-menu-node-name): Remove unused arg errmessage.
2476 (Info-follow-reference): Update corresponding call.
2477 (Info-node-spec-re): New const.
2478 (Info-complete-menu-item): Use it to only allow : when necessary.
2479 (Info-fontify-node): Use it as well. Fixup typo.
2481 * info.el (info-fontify-node): Use better help-echo text.
2482 Use :align-to display prop.
2483 Use `invisible' rather than `display' prop to hide text.
2485 * info.el (Info-mode-hook): Obey obsolete `Info-fontify'.
2486 (Info-find-in-tag-table-1): Remove unused vars.
2487 (Info-display-images-node): Remove unused var paragraph-markers.
2488 (Info-header-line): Remove.
2489 (Info-select-node): Don't set it.
2490 (Info-search): Remove unused var `current'.
2491 (Info-follow-reference): Remove unused var `beg'.
2492 (Info-extract-menu-node-name): Remove unused var `i'.
2493 (Info-complete-menu-item): Use `with-current-buffer'.
2494 (Info-index): Remove unused var `rnode'.
2495 (Info-mode): Set header-line-format to check text-properties directly.
2496 (Info-find-emacs-command-nodes): Remove unused var `found' and `exact'.
2497 (Info-fontify-node): Use `push'.
2498 (Info-speedbar-hierarchy-buttons): Use `dolist'.
2499 (Info-speedbar-goto-node, Info-speedbar-fetch-file-nodes):
2500 Check the return value of `string-match'.
2501 (Info-speedbar-fetch-file-nodes): Factor out common code.
2503 2003-06-03 Lute Kamstra <Lute.Kamstra@cwi.nl>
2505 * cus-edit.el (custom-get-fresh-buffer): Test for nonexistence buffer.
2507 2003-06-03 Richard M. Stallman <rms@gnu.org>
2509 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
2512 * windmove.el (windmove-reference-loc, windmove-frame-edges):
2513 Use window-inside-edges.
2514 (windmove-do-window-select): Fix error messages.
2516 * files.el (after-find-file): Simplify msg if nonexistent directory.
2517 (make-directory): Doc fix.
2519 * dabbrev.el (dabbrev--goto-start-of-abbrev):
2520 Use minibuffer-prompt-end.
2522 * comint.el (comint-move-point-for-output): Renamed from
2523 comint-scroll-to-bottom-on-output. Old name is alias.
2524 All uses changed. Doc fix.
2525 (comint-scroll-show-maximum-output): Doc fix.
2527 * comint.el (comint-exec-1): Don't use directory-sep-char.
2528 (comint-dynamic-complete-as-filename): Likewise.
2530 * bindings.el (global-map): Delete C-M-delete and C-M-backspace.
2532 2003-06-03 Markus Rost <rost@math.ohio-state.edu>
2534 * progmodes/ps-mode.el (ps-mode): Use autoload cookie in the
2537 2003-06-02 Stefan Monnier <monnier@cs.yale.edu>
2539 * textmodes/bibtex.el (bibtex-member-of-regexp)
2540 (bibtex-assoc-of-regexp, bibtex-format-entry, bibtex-find-entry)
2541 (bibtex-autokey-demangle-name, bibtex-string-files-init, bibtex-mode):
2542 Fix up regexp usage and use match-string.
2544 2003-06-02 Roland Winkler <roland.winkler@physik.uni-erlangen.de>
2546 * textmodes/bibtex.el: Long overdue merge.
2547 Don't require `compile' since it seems unnecessary.
2548 For all internal variables and functions the docstring comments have
2549 been converted into proper docstrings
2550 (bibtex-maintainer-address, bibtex-maintainer-salutation)
2551 (bibtex-version): Remove support for bug reporting.
2552 (bibtex-field-delimiters, bibtex-entry-delimiters)
2553 (bibtex-sort-ignore-string-entries, bibtex-maintain-sorted-entries)
2554 Replace make-variable-buffer-local by make-local-variable for
2555 (bibtex-entry-format): New tag `required-fields'.
2556 (bibtex-maintain-sorted-entries): New var.
2557 (bibtex-sort-entry-class, bibtex-sort-entry-class-alist): New vars.
2558 (bibtex-predefined-month-strings, bibtex-predefined-strings):
2559 Make into alists with pairs (abbreviation expansion).
2560 (bibtex-autokey-titleword-change-strings)
2561 (bibtex-autokey-transcriptions): Make into alists.
2562 Add new replacement pairs.
2563 (bibtex-autokey-use-crossref): New var.
2564 Replace bibtex-autokey-year-use-crossref-entry because updated code
2565 for autokey generation handles crossrefs independently of
2567 (bibtex-reference-key, bibtex-mode-syntax-table):
2568 Remove = because it can't be part of a string's key.
2569 (bibtex-complete-key-cleanup): New var.
2570 (bibtex-complete): Merge bibtex-complete-string and bibtex-complete-key
2571 into it (and bind to M-tab).
2572 (bibtex-valid-entry-re, bibtex-any-valid-entry-re)
2573 (bibtex-valid-entry-whitespace-re, bibtex-empty-field-re)
2574 (bibtex-quoted-string-re): New vars.
2575 (bibtex-field-name-for-parsing): Don't make-variable-buffer-local.
2576 (zmacs-regions): Declare to quieten the byte-compiler.
2577 (bibtex-comment-start): Don't include the space.
2578 (bibtex-font-lock-syntactic-keywords): New var.
2579 (bibtex-font-lock-keywords): Remove the entry for @Comment.
2580 (bibtex-parse-field-string): Merge the functionality of
2581 bibtex-parse-field-string-braced, bibtex-parse-quoted-string and
2582 bibtex-parse-field-string-quoted.
2583 (bibtex-search-forward-field-string): Remove.
2584 (bibtex-parse-association): Use when.
2585 (bibtex-parse-field-name): Use when.
2586 (bibtex-parse-field-text): Use when and cond.
2587 (bibtex-parse-field): Use let.
2588 (bibtex-search-forward-field, bibtex-search-backward-field):
2589 Make bound optional, use let, setq, and cddr.
2590 (bibtex-start-of-field, bibtex-start-of-name-in-field)
2591 (bibtex-end-of-name-in-field): Use nth.
2592 (bibtex-name-in-field, bibtex-text-in-field-bounds)
2593 (bibtex-text-in-field, bibtex-type-in-head, bibtex-key-in-head)
2594 (bibtex-text-in-string): New functions.
2595 (bibtex-reference-key-in-string): New fun. Merge of
2596 bibtex-start-of-reference-key-in-string and
2597 bibtex-end-of-reference-key-in-string.
2598 (bibtex-parse-string-prefix): Use let and when.
2599 (bibtex-parse-string-postfix): Use when.
2600 (bibtex-search-forward-string, bibtex-search-backward-string):
2601 Use save-excursion and setq.
2602 (bibtex-member-of-regexp): Use let.
2603 (bibtex-assoc-of-regexp): Use caar und let.
2604 (bibtex-skip-to-valid-entry): Return buffer position.
2605 (bibtex-map-entries): Use save-excursion.
2606 (bibtex-progress-message): Simplify.
2607 (bibtex-search-entry): Use skip-chars-forward, when, save-match-data.
2608 (bibtex-move-outside-of-entry): Handle the case that point is before
2610 (bibtex-enclosing-field): Use save-excursion, when.
2611 (bibtex-format-field-delimiters): Merge into bibtex-format-entry.
2612 (bibtex-enclosing-entry-maybe-empty-head): Simplify.
2613 (bibtex-format-entry): Simplify. Handle new tag required-fields of
2614 bibtex-entry-format.
2615 (bibtex-autokey-abbrev): Accept negative values of len.
2616 (bibtex-autokey-get-field, bibtex-autokey-demangle-title): New funs.
2617 (bibtex-autokey-get-namefield, bibtex-autokey-get-namelist)
2618 (bibtex-autokey-get-yearfield-digits, bibtex-autokey-get-yearfield)
2619 (bibtex-autokey-get-titlestring): Remove.
2620 (bibtex-autokey-get-names): Simplify.
2621 (bibtex-autokey-get-titles): Rename to bibtex-autokey-get-title.
2622 (bibtex-autokey-demangle-name): Simplify, avoid error messages.
2623 (bibtex-generate-autokey): Simplify.
2624 (bibtex-parse-keys): Simplify, use push.
2625 (bibtex-parse-strings): New fun similar to bibtex-parse-keys.
2626 (bibtex-string-files-init): New fun.
2627 (bibtex-parse-buffers-stealthily): Use bibtex-parse-keys,
2628 bibtex-string-files-init and bibtex-parse-strings.
2629 (bibtex-complete): Rename to bibtex-complete-internal, use push,
2630 bibtex-reference-key-in-string, no sorting.
2631 (bibtex-complete-string-cleanup): New fun, displays expansion of
2633 (bibtex-choose-completion-string): New fun. Required for
2634 choose-completion-string-functions.
2635 (bibtex-do-auto-fill): Remove. Set fill-prefix in bibtex-mode.
2636 (bibtex-pop): Simplify.
2637 (bibtex-mode): Move setting of bibtex-string to bibtex-parse-strings.
2638 Set choose-completion-string-functions.
2639 (bibtex-print-help-message,bibtex-make-field, bibtex-end-of-entry)
2640 (bibtex-count-entries): Simplify.
2641 (bibtex-entry-index, bibtex-lessp): New funs for generalized sorting
2642 scheme of indices, see bibtex-maintain-sorted-entries.
2643 (bibtex-sort-buffer): Use bibtex-lessp for sorting.
2644 (bibtex-find-crossref, bibtex-find-entry): New funs.
2645 (bibtex-find-entry-location): Rename to bibtex-prepare-new-entry, use
2646 bibtex-lessp, Simplify.
2647 (bibtex-validate): Simplify. Fixe bug of internal variable
2649 (bibtex-remove-OPT-or-ALT): Use when.
2650 (bibtex-remove-delimiters, bibtex-kill-field, bibtex-kill-entry)
2651 (bibtex-clean-entry, bibtex-fill-entry, bibtex-reformat): Simplify.
2652 (bibtex-convert-alien): Use deactivate-mark rather than the
2653 non-existent bibtex-mark-active variable.
2654 (bibtex-complete-string, bibtex-complete-key): Merge into new
2655 `smart' defun bibtex-complete.
2656 (bibtex-String): Update for new sorting scheme, distinguish empty and
2657 non-empty key strings.
2659 2003-06-02 Stefan Monnier <monnier@cs.yale.edu>
2661 * sort.el (sort-subr): Add `predicate' arg. Remove `sortcar' code.
2663 2003-06-02 Lute Kamstra <Lute.Kamstra@cwi.nl>
2665 * emacs-lisp/lisp-mnt.el (lm-synopsis): Use relative filenames
2666 correctly. Show the synopsis to the user when appropriate.
2667 Do not kill buffers that were created outside `lm-synopsis'.
2669 2003-06-01 Stefan Monnier <monnier@cs.yale.edu>
2671 * cus-edit.el (custom-get-fresh-buffer): Be extra paranoid,
2672 just in case some used a file of the wrong name.
2674 * progmodes/sh-script.el (sh-is-quoted-p): New fun.
2675 (sh-font-lock-paren): Use it to allow \C in case patterns.
2676 (sh-get-indent-info): Check the \n before the line for string-status.
2677 (sh-feature): Remove unused var `function'.
2678 (sh-get-indent-info): Remove unused variables.
2679 (sh-prev-thing): Remove unused vars `going', `n', and `found'.
2680 (sh-set-indent): Remove unused var `new-val' and `val0'.
2681 (sh-learn-buffer-indent): Remove unused vars `last-pos' and `lines'.
2682 (sh-guess-basic-offset): Remove unused var `return' and `j'.
2684 2003-05-27 David Ponce <david@dponce.com>
2690 Take into account changes made to the display margins, fringes and
2691 scroll-bar handling.
2693 (ruler-mode-margins-char): Remove. Not used anymore.
2694 (ruler-mode-pad-face, ruler-mode-fringes-face): New faces.
2695 (ruler-mode-margins-face): New definition. Move.
2696 (ruler-mode-left-fringe-cols)
2697 (ruler-mode-right-fringe-cols)
2698 (ruler-mode-left-scroll-bar-cols)
2699 (ruler-mode-right-scroll-bar-cols): Reimplement. Move.
2700 (ruler-mode-full-window-width)
2701 (ruler-mode-window-col): New functions.
2702 (ruler-mode-mouse-set-left-margin)
2703 (ruler-mode-mouse-set-right-margin)
2704 (ruler-mode-mouse-add-tab-stop)
2705 (ruler-mode-mouse-del-tab-stop): Reimplement.
2706 (ruler-mode-mouse-current-grab-object): Rename to...
2707 (ruler-mode-dragged-symbol): New.
2708 (ruler-mode-mouse-grab-any-column): Use it. Clean up.
2709 (ruler-mode-mouse-drag-any-column): Likewise.
2710 (ruler-mode-mouse-drag-any-column-iteration): Simplify.
2711 (ruler-mode): Restore previous `header-line-format' if
2712 `ruler-mode-header-line-format-old' has a local binding in current
2714 (ruler-mode-left-margin-help-echo)
2715 (ruler-mode-right-margin-help-echo): Remove.
2716 (ruler-mode-margin-help-echo)
2717 (ruler-mode-fringe-help-echo): New constants.
2718 (ruler-mode-ruler): Use them. Reimplement.
2720 2003-06-01 Jason Rumney <jasonr@gnu.org>
2722 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
2723 Default to new wheel-up and wheel-down events on Windows.
2725 * term/w32-win.el: No need to bind wheel events specially.
2727 2003-06-01 Michael Kifer <kifer@cs.stonybrook.edu>
2729 * desktop.el (desktop-create-buffer): Add (desktop-first-buffer) to
2730 the let-statement to avoid the startup error that desktop-first-buffer
2733 2003-06-01 Andreas Schwab <schwab@suse.de>
2735 * man.el (Man-name-regexp): Also match Latin-1 soft hyphen.
2736 (Man-build-references-alist): Handle Latin-1 soft hyphen.
2738 2003-05-31 Stephen Eglen <stephen@gnu.org>
2740 * iswitchb.el (iswitchb-buffer-ignore): Update custom type to
2743 2003-05-31 Stefan Monnier <monnier@cs.yale.edu>
2745 * view.el (view-file, view-file-other-window, view-file-other-frame):
2746 Signal an error when trying to visit an inexistent file.
2748 * vc-hooks.el (vc-call-backend): Give better error message
2749 when a backend function is missing.
2750 (vc-find-file-hook): USe unless. Merge if and cond.
2752 * vc.el (vc-directory-exclusion-list): Add MCVS and .svn.
2753 (vc-checkin-hook): Adjust option to new name.
2755 * log-edit.el (log-edit-maximum-comment-ring-size)
2756 (log-edit-comment-ring, log-edit-comment-ring-index)
2757 (log-edit-last-comment-match): Rename vars from
2758 vc-maximum-comment-ring-size, vc-comment-ring, vc-comment-ring-index,
2759 and vc-last-comment-match.
2760 (log-edit-new-comment-index, log-edit-previous-comment)
2761 (log-edit-next-comment, log-edit-comment-search-backward)
2762 (log-edit-comment-search-forward, log-edit-comment-to-change-log):
2763 Rename funs from vc-new-comment-index, vc-previous-comment,
2764 vc-next-comment, vc-comment-search-reverse, vc-comment-search-forward,
2765 and vc-comment-to-change-log.
2767 * wid-edit.el (widget-specify-insert): Simplify.
2768 (widget-editable-list-entry-create): Don't assume that %d and %i are
2769 in the format string.
2770 (widget-map-buttons): Remove unused var `parent'.
2771 (widget-move): Remove unused shadowed var `new'.
2772 (widget-color-action): Remove unused var `pos'.
2774 * cus-edit.el (custom-get-fresh-buffer): New fun.
2775 (custom-buffer-create, custom-buffer-create-other-window)
2776 (customize-browse): Use it instead of killing buffers.
2777 (custom-bury-buffer): Obey the argument.
2778 (custom-variable-reset-saved, custom-variable-reset-standard):
2779 Remove unused var `comment-widget'.
2780 (custom-face-edit-deactivate): Remove unused var `to'.
2781 (custom-save-variables): Remove unused var `sep'.
2783 2003-05-31 John Paul Wallington <jpw@gnu.org>
2785 * files.el (large-file-warning-threshold): Add type, groups.
2787 * progmodes/delphi.el (delphi-ignore-changes): Defvar; non-constant.
2789 2003-05-31 Kenichi Handa <handa@m17n.org>
2791 * files.el (recover-file): Bind coding-system-for-read to
2794 2003-05-31 Juanma Barranquero <lektu@terra.es>
2796 * misc.el (mark-beginning-of-buffer, mark-end-of-buffer)
2797 (upcase-char, forward-to-word, backward-to-word): Move from unused.el.
2799 * unused.el: Deleted (contents moved to misc.el).
2802 * emacs-lisp/float.el:
2803 * textmodes/scribe.el: Moved to obsolete.
2811 * warnings.el: Moved to emacs-lisp.
2813 * enriched.el: Moved to textmodes.
2815 * textmodes/outline.el: Moved to lisp.
2817 * which-func.el: Moved to progmodes.
2819 * loadup.el: Load byte-run.el, map-ynp.el, timer.el and float-sup.el
2822 2003-05-31 Tom Wurgler <twurgler@goodyear.com> (tiny change)
2824 * subr.el (looking-back): New function to check for regular
2825 expression before point.
2827 2003-05-30 Stefan Monnier <monnier@cs.yale.edu>
2829 * newcomment.el (comment-empty-lines): New var.
2830 (comment-region-internal): Use it.
2832 * textmodes/tex-mode.el (latex-block-args-alist)
2833 (latex-block-body-alist): New vars.
2834 (latex-insert-block): Use them.
2835 (tex-string-prefix-p): New fun.
2836 (tex-guess-main-file): Use it to detect when the main file
2837 is in a parent directory.
2838 (tex-main-file): Try to find a main-file in parent directories.
2839 (tex-compile-default): Don't use `gv' on pdf files just because
2840 `gv' was used recently on a ps file. Remove unused arg `dir'.
2841 Reuse a previous command as-is if it applied to the same file.
2842 (tex-compile): Use the right file name when file is not in dir.
2844 * textmodes/refill.el (refill-adjust-ignorable-overlay):
2845 Don't hardcode pint-min == 1.
2846 (refill-fill-paragraph-at): Use a more robust method to detect
2847 when the paragraph is after point. Remove unused var `fill-pfx'.
2849 * xml.el (xml-parse-tag): Return (foo nil) rather than (foo nil "")
2850 for <foo/>, to make it behave like <foo></foo>.
2852 * emacs-lisp/edebug.el (edebug-storing-offsets): Move indent
2853 and debug to inside the macro.
2854 (edebug-read-storing-offsets): Simplify.
2855 (edebug-read-quote, edebug-read-function): Place the
2856 start-position correctly.
2857 (edebug-read-backquote-new): Remove.
2858 (edebug-read-backquote-level): New var to replace it.
2859 (edebug-read-backquote): Increment it.
2860 Don't store offsets one extra time.
2861 (edebug-read-comma): Decrement it. Read the comma as a plain
2862 symbol if outside of any new-style backquote.
2863 (edebug-read-list): Use edebug-read-backquote-level.
2864 Don't call edebug-read-backquote directly. This way the extra
2865 offsets store is done exactly when it's needed.
2866 (edebug-read-vector): Use push.
2867 (defmacro): Add support for the `declare' thingy.
2869 2003-05-29 Stefan Monnier <monnier@cs.yale.edu>
2871 * forms.el (forms-mode-hook): Rename from forms-mode-hooks.
2872 (forms-mode): Use add-hook rather than make-local-variable+setq.
2873 Use with-current-buffer. Run the new and the old hooks.
2874 (forms--update): Use with-current-buffer and line-end-position.
2875 (forms--goto-record): New fun.
2876 (forms-jump-record, forms-insert-record, forms-delete-record): Use it.
2877 (forms--process-format-list): Remove unused var `this-item'.
2878 (forms--intuit-from-file): Remove unused var `the-result'.
2879 (forms--trans): Remove unused var `x'.
2880 (forms--exit, forms-exit, forms-exit-no-save): Remove unused arg.
2882 * emacs-lisp/edebug.el (edebug-window-list): Use push.
2883 (edebug-macrop): Use functionp.
2884 (edebug-functionp): Remove.
2885 (edebug-get-displayed-buffer-points): Use push.
2886 (edebug-set-buffer-points): Use save-current-buffer and buffer-live-p.
2887 (edebug-list-form): Remove dead code.
2888 (backquote-form): Correctly handle `(a . ,b).
2889 (edebug-mode-map, global-edebug-map): Move init to inside the defvar.
2890 (define-derived-mode, define-minor-mode): Remove outdated spec.
2891 (save-match-data, with-output-to-string, with-current-buffer)
2892 (combine-after-change-calls, with-temp-buffer, dolist, dotimes)
2893 (unless, when): Remove specs that are now in the corresponding macro.
2895 * emacs-lisp/easy-mmode.el (define-minor-mode): Add edebug spec.
2896 Accept a :keymap argument, as you'd expect.
2898 * derived.el (define-derived-mode): Add a proper edebug declaration.
2900 2003-05-29 Luc Teirlinck <teirllm@mail.auburn.edu>
2902 * simple.el (kill-whole-line): Make it interact correctly with
2905 2003-05-29 Kenichi Handa <handa@m17n.org>
2907 * international/mule.el (ctext-non-standard-encodings-alist):
2908 Rename from non-standard-icccm-encodings-alist.
2909 (ctext-non-standard-encodings-regexp): New variable
2910 (ctext-post-read-conversion): Full rewrite.
2911 (ctext-non-standard-designations-alist): Rename from
2912 non-standard-designations-alist.
2913 (ctext-pre-write-conversion): Full rewrite.
2915 2003-05-28 Stefan Monnier <monnier@cs.yale.edu>
2917 * info.el (Info-fontify-node): Hide \n------- rather than -------\n.
2919 * skeleton.el (skeleton-edebug-spec): First cut of an edebug spec.
2920 (define-skeleton): Use it.
2922 2003-05-28 Andreas Schwab <schwab@suse.de>
2924 * descr-text.el (describe-char): Use `char' instead of
2925 `(char-after)'. Fix display of unicode.
2927 2003-05-28 Nick Roberts <nick@nick.uklinux.net>
2929 * gud.el (gud-gdb-goto-stackframe, gud-gdb-get-stackframe):
2930 Add server prefix to the gdb commands used by the speedbar.
2932 2003-05-28 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
2934 * simple.el (kill-region): If nothing was killed, and the
2935 previous command was not a kill, break kill sequence.
2937 2003-05-28 Richard M. Stallman <rms@gnu.org>
2939 * textmodes/refill.el (refill-fill-paragraph-at):
2940 Avoid refilling the following paragraph.
2941 (refill-doit): Doc fix.
2943 * emulation/vip.el (ctl-x-map): Don't bind C-x C-i or C-x 3.
2944 (global-map): Don't bind C-z.
2945 (vip-setup): New function to rebind C-x 7 and C-z.
2947 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
2948 Undo previous change (don't check for eob). Widen at the beginning.
2950 * map-ynp.el (map-y-or-n-p): No special handling for exit-prefix.
2951 In help string, mention C-g but not ESC.
2953 * jka-compr.el (jka-compr-insert-file-contents):
2954 When REPLACE, delete the proper range of text.
2956 * info.el (Info-index): Add autoload cookie.
2958 * forms.el (forms-mode): Use write-file-functions instead
2959 of local-write-file-hooks. Use make-local-variable to make it local.
2961 * descr-text.el (describe-char-unicode-data): New dummy definition.
2962 (unicode-data): Comment out since we can't use UnicodeData.txt as is.
2963 (describe-char-unicodedata-file): Variable renamed and commented out.
2965 * faces.el (set-face-attribute): Set face-modified prop to t
2966 when we change the new-frame defaults.
2967 (face-spec-set): Set face-modified prop to nil
2968 when we change the new-frame defaults.
2970 * cus-edit.el (custom-face-state-set): non-nil `face-modified'
2971 means face was set outside of Custom.
2973 2003-05-28 Richard M. Stallman <rms@gnu.org>
2975 * byte-run.el (with-no-warnings): New function.
2977 * emacs-lisp/bytecomp.el (byte-compile-no-warnings): New function.
2978 (with-no-warnings): Set up compile handler.
2980 * startup.el (command-line-1): Use with-no-warnings.
2982 * type-break.el (type-break-cancel-function-timers):
2983 Use with-no-warnings.
2985 2003-05-28 Luc Teirlinck <teirllm@mail.auburn.edu>
2987 * env.el (substitute-env-vars): Fix typo.
2989 2003-05-28 Walter C. Pelissero <walter@pelissero.de> (tiny change)
2991 * net/browse-url.el (browse-url-mozilla): Correct the conditionals
2992 for using ,new-window.
2994 2003-05-27 Glenn Morris <gmorris@ast.cam.ac.uk>
2996 * progmodes/sh-script.el (sh-here-document-word):
2997 Document new treatment of leading "-".
2998 (sh-maybe-here-document): Strip a leading "-" from closing
2999 heredoc delimiter, if present.
3001 * align.el (align-rules-list): Doc fix.
3003 * calendar/timeclock.el: Update copyright.
3004 (timeclock-ask-before-exiting): Put `timeclock-query-out' on
3005 `kill-emacs-query-functions' rather than `kill-emacs-hook'.
3006 (timeclock-mode-string): Doc fix.
3007 (timeclock-modeline-display): Doc fix. Use `global-mode-string'
3008 rather than `mode-line-format'.
3009 (timeclock-query-out): Doc fix.
3010 (timeclock-update-modeline): No need for `let*', so use `let'.
3011 Add some help-echo text to `timeclock-mode-string'.
3012 (timeclock-mode-string): Give it the risky-local-variable
3013 property, so that help-echo text will display.
3014 (timeclock-find-discrep): Set `accum' to 0 if
3015 `timeclock-discrepancy' is nil.
3017 2003-05-27 Stefan Monnier <monnier@cs.yale.edu>
3019 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function):
3020 Don't infinite loop at bob.
3021 (emacs-lisp-mode): Mark its main custom group to be `lisp'.
3022 (prin1-char): New fun.
3023 (eval-last-sexp-1): Use it. Use with-syntax-table as well.
3024 (eval-defun-1): Don't replace `defvar' with `defconst'.
3026 2003-05-27 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
3028 * bindings.el (global-map): Bind M-S-<backspace to kill-whole-line.
3030 2003-05-26 Stefan Monnier <monnier@cs.yale.edu>
3032 * gud.el (gud-find-class): Remove unused var `pos'.
3033 (gdb-script-mode-syntax-table, gdb-script-font-lock-keywords)
3034 (gdb-script-font-lock-syntactic-keywords)
3035 (gdb-script-font-lock-syntactic-face, gdb-script-basic-indent)
3036 (gdb-script-skip-to-head, gdb-script-calculate-indentation)
3037 (gdb-script-indent-line, gdb-script-mode): New mode to edit
3038 .gdbinit-like scripts.
3040 2003-05-26 John Paul Wallington <jpw@gnu.org>
3042 * faces.el (display-supports-face-attributes-p): Doc fix.
3043 (x-create-frame-with-faces): Call `face-set-after-frame-default'.
3045 2003-05-26 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
3047 * bindings.el (global-map): Don't bind S-<backspace>. Too many
3048 people hit it by mistake.
3050 2003-05-26 Andre Spiegel <spiegel@gnu.org>
3052 * vc.el (vc-delete-file): Fix free variable reference.
3053 (vc-annotate-display): Remove obsolesence declaration; it isn't
3056 2003-05-25 Kevin Ryde <user42@zip.com.au>
3058 * info-look.el (autoconf-mode setups): Recognise AH_ and AU_ entries
3059 in "(autoconf)Autoconf Macro Index". Add "(autoconf)M4 Macro Index"
3060 and "(autoconf)Autotest Macro Index". Remove duplicate copy of
3061 "(automake)Macro and Variable Index". Keep automake after all
3062 autoconf possibilities, so as to prefer those.
3064 2003-05-25 Stefan Monnier <monnier@cs.yale.edu>
3066 * skeleton.el (skeleton-internal-1): Don't loop if interactor of
3068 (skeleton-pair-default-alist): New var.
3069 (skeleton-pair-insert-maybe): Use it. Don't munge multibyte chars.
3071 2003-05-25 Nick Roberts <nick@nick.uklinux.net>
3073 * gdb-ui.el (gdb-info-breakpoints-custom, gdb-assembler-custom):
3074 Put string associated with breakpoint at start of line so that it
3076 (gdb-display-source-buffer): Display assembler during execution,
3078 (gud-menu-map): Add a toggle button to menubar for gdb-many-windows.
3079 (gdb-many-windows): Define explicitly as a function and a variable
3080 (formerly as a minor mode). These need to be global so layout can
3081 be reset from any buffer.
3082 (gdb-assembler-mode): Keep fringe outside margin as the overlay
3083 arrow is not used for assembler.
3085 2003-05-25 Tim Van Holder <tim.vanholder@anubex.com>
3087 * which-func.el (which-func-update-timer): New variable.
3088 (which-function-mode): Use it.
3090 2003-05-25 Richard M. Stallman <rms@gnu.org>
3092 * simple.el (idle-update-delay): New variable.
3094 2003-05-25 Luc Teirlinck <teirllm@mail.auburn.edu>
3096 * simple.el (forward-visible-line): Fix negative arguments.
3098 2003-05-25 Juanma Barranquero <lektu@terra.es>
3100 * skeleton.el (skeleton-pair-insert-maybe): Remove leftover
3101 reference to skeleton-abbrev-cleanup.
3103 2003-05-24 Andreas Schwab <schwab@suse.de>
3105 * files.el (insert-directory): Preserve CR in a file name.
3107 2003-05-24 Stefan Monnier <monnier@cs.yale.edu>
3109 * skeleton.el (skeleton-abbrev-cleanup, skeleton-proxy):
3110 Remove obsolete code.
3112 * term/w32-win.el (iconify-or-deiconify-frame):
3113 * term/mac-win.el (iconify-or-deiconify-frame): Move to frame.el.
3115 * term/x-win.el (iconify-or-deiconify-frame): Move to frame.el.
3116 Turn on mouse-wheel support by default.
3118 * frame.el (iconify-or-deiconify-frame): Move from term/x-win.el.
3120 2003-05-24 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
3122 * net/tramp.el: Version 2.0.34 released.
3123 (tramp-handle-file-symlink-p): If target of symlink is absolute,
3124 return a Tramp filename. (Ie, return "/user@host:/target" instead
3126 (tramp-handle-file-truename): Deal with new return value from
3128 (tramp-handle-expand-file-name): Make default method explicit in
3130 (tramp-unified-filenames): Move to an earlier spot in the file.
3131 (top-level): If tramp-unified-filenames is set and we're running
3132 on XEmacs, load tramp-efs.
3133 (tramp-wait-for-shell-prompt, tramp-barf-if-no-shell-prompt):
3134 New functions, used by tramp-send-command-internal.
3135 (tramp-open-connection-setup-interactive-shell): Simplify using
3136 `tramp-send-command-internal'.
3137 (tramp-send-command-internal): New function.
3138 (tramp-methods): New entries "remsh" and "remcp" are like "rsh"
3139 and "rcp" but invoke "remsh" instead of "rsh". This is useful on
3140 Cray systems, for instance. Unify tramp-rsh-program,
3141 tramp-telnet-program, tramp-su-program into tramp-login-program.
3142 Likewise with tramp-login-args, tramp-copy-program,
3143 tramp-copy-args, tramp-copy-keep-date-arg. Users changed. New
3144 method plink1; like plink but pass "-1" to force protocol version 1.
3145 (tramp-default-method): Use plink as the default on machines where
3146 the plink program is present.
3147 (tramp-completion-file-name-handler): Add safe-magic property.
3148 (tramp-shell-prompt-pattern): Allow ANSI escapes at
3149 end of prompt. (ANSI escapes elsewhere in the prompt are
3150 recognized properly already.)
3152 * net/tramp-efs.el: New file.
3154 2003-05-24 Michael Albinus <Michael.Albinus@alcatel.de>
3156 * net/tramp.el (tramp-handle-file-truename): `sym' shouldn't be
3158 (tramp-methods, tramp-multi-connection-function-alist):
3159 Use argument "-p Password:" for "sudo" method, because password prompt
3160 might be changed by either passprompt option in /etc/sudoers, or
3161 SUDO_PROMPT environment variable. Suggested by Peter Oliver
3162 <peter.oliver@aquila-networks.co.uk>.
3164 2003-05-23 Stefan Monnier <monnier@cs.yale.edu>
3166 * mail/supercite.el: Use `push' and replace `regi-pos' by equivalents.
3167 (sc-emacs-features): Remove. Use better tests instead.
3168 (sc-minor-mode): Use define-minor-mode.
3169 (sc-mode-string, sc-set-mode-string): Remove.
3170 Use a better modeline expression instead.
3171 (sc-completing-read, sc-read-string, sc-submatch, sc-member)
3172 (sc-string-text): Remove those compatibility functions.
3174 * pcvs.el (cvs-temp-buffer): Kill running process in displayed buffers.
3175 (cvs-make-cvs-buffer): Fix up format of the header.
3177 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
3178 Match more cases of /.../ patterns.
3180 2003-05-23 Nick Roberts <nick@nick.uklinux.net>
3182 * gdb-ui.el (gdba): Accommodate Fortran programs.
3183 (gud-gdba-command-name): Use -noasync in all cases (as Fortran
3184 seems to require it also).
3185 (gdb-source-info): Parse correctly when compilation directory
3186 specifies host also (IRIX).
3188 2003-05-23 Andre Spiegel <spiegel@gnu.org>
3190 * vc-cvs.el (vc-cvs-checkout): Don't leave the branch when
3191 REV is t. From Don Provan <dprovan@bivio.net>
3193 2003-05-23 Richard M. Stallman <rms@gnu.org>
3195 * forms.el (forms--mode-commands1): Bind \t, not `tab'.
3196 (forms--mode-commands): Don't bind \t in the maps where
3197 we call forms--mode-commands1.
3199 2003-05-23 Taro Kawagishi <tarok@acm.org>
3201 * arc-mode.el (archive-lzh-summarize): Calculate correct total
3202 header size for LZH level 1 header.
3204 2003-05-23 Richard M. Stallman <rms@gnu.org>
3206 * textmodes/paragraphs.el (repunctuate-sentences): Add doc string.
3208 2003-05-23 Daniel Ortmann <dortmann@lsil.com> (tiny change)
3210 * textmodes/paragraphs.el (repunctuate-sentences): New function.
3212 2003-05-23 Lute Kamstra <Lute.Kamstra@cwi.nl>
3214 * emacs-lisp/lisp-mnt.el: Make the description of the library more
3216 (lm-any-header): New user option.
3217 (lm-section-start): New function; rewrite of `lm-section-mark'.
3218 (lm-section-mark): Make alias of `lm-section-start'.
3219 (lm-section-end): New function.
3220 (lm-code-start): New function; rewrite of `lm-code-mark'.
3221 (lm-code-mark): Make alias of `lm-code-start'.
3222 (lm-commentary-start): New function; rewrite of `lm-commentary-mark'.
3223 (lm-commentary-mark): Make alias of `lm-commentary-start'.
3224 (lm-commentary-end): New function.
3225 (lm-history-start): New function; rewrite of `lm-history-mark'.
3226 (lm-history-mark): Make alias of `lm-history-start'.
3227 (lm-commentary): Use `lm-commentary-end' to find the end of the
3230 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
3231 Use `lm-commentary-end' to find the end of the commentary section.
3233 2003-05-22 Stefan Monnier <monnier@cs.yale.edu>
3235 * skeleton.el (define-skeleton): Use the `no-self-insert' property.
3236 (skeleton-proxy-new): Fix docstring. Remove broken interactive spec.
3237 Rely on use `no-self-insert' rather than `skeleton-abbrev-cleanup'.
3238 (skeleton-internal-1): Add a `recursive' argument.
3239 (skeleton-internal-list): Use it to propagate `recursive'.
3241 2003-05-22 Ken Stevens <kstevens@ichips.intel.com>
3243 * ispell.el: Sync to version 3.6.
3244 Summary: MIME support added for e-mail processing that
3245 skips encoded regions. Allow user to skip saving Fcc messages with
3246 large attachments. Fixed region skipping bug with multi-line
3247 comments - e.g. tex $ regions spanning multiple lines.
3248 Added support for postscript and uuencoded regions.
3249 Redundant dictionary file names purged.
3250 Dictionary definition field name changed from "Character Set"
3251 to "Coding System". Fixed bug in reloading dictionaries.
3252 Modified headers to reflect new version. XEmacs menu now adds
3254 (ispell-check-version): No longer an aliased function.
3255 Returns library path if not called interactively.
3256 Variable `temporary-file-directory' protected if not loaded.
3257 (check-ispell-version): Now the alias for `ispell-check-version'.
3258 (ispell-message-fcc-skip): New variable that determines if and when
3259 to query about saving Fcc copy of message if an attachment is large.
3260 (ispell-skip-html): Declare buffer-local.
3261 (ispell-local-dictionary-alist): Docstring expanded.
3262 Tag name changed from "Character Set" to "Coding System".
3263 (ispell-dictionary-alist-1): Remove redundant command-line option to
3264 load brasileiro, british, and castellano dictionary files.
3265 (ispell-dictionary-alist-2): Remove redundant command-line option to
3266 load czech dictionary file.
3267 (ispell-dictionary-alist-3): Move francais-tex here.
3268 (ispell-dictionary-alist-4): Remove german and german8 dictionaries.
3269 The deutsch ones are the correct definitions. `nederlands'
3270 and `nederlands8' dictionaries moved here.
3271 (ispell-dictionary-alist-5): `polish' and `portugues' dictionaries
3272 moved here. Removed redundant command-line option to `norsk'
3274 (ispell-dictionary-alist-6): Remove redundant command-line option to
3275 load `russian' and `slovak' dictionary files.
3276 (ispell-dictionary-alist): Tag name changed from "Character Set" to
3278 (ispell-version): Update to 3.6.
3279 (ispell-library-directory): Calls non-deprecated function.
3280 (ispell-valid-dictionary-list): New function returning all valid
3281 dictionaries on machine.
3282 (ispell-checking-message): Documentation string improved.
3283 (ispell-skip-region-alist): Add uuencoded and postscript region
3284 skipping. Improve http/e-mail/file regexp to not match `/.\w'.
3285 (ispell-html-skip-alists): New variable for html region support.
3286 (ispell-send-string): Remove redundant xemacs check.
3287 (ispell-word): Fix spelling error in documentation string, add
3288 extent information to support highlighting in ispell-minor-mode.
3289 (ispell-command-loop): Disable horizontal scrollbar in XEmacs
3291 (ispell-show-choices): Directly select `choices-window'.
3292 (ispell-help): Use default buffer size for electric help.
3293 (ispell-adjusted-window-height): Correct for xemacs detection.
3294 (ispell-start-process): Don't double specify dictionary file name.
3295 (ispell-init-process): Set `ispell-library-path' each call.
3296 (ispell-change-dictionary): Now only completes valid dictionaries.
3297 (ispell-region): Add support for MIME region skipping and Fcc
3298 message query for large attachments.
3299 (ispell-begin-skip-region-regexp): Add documentation string.
3300 Add message support and clean up code for generic and html regions.
3301 (ispell-begin-skip-region): Function is now requires alist argument.
3302 (ispell-begin-tex-skip-regexp): Add comments and support
3303 improved html and message regions.
3304 (ispell-skip-region-list): New function for MIME and region skipping.
3305 (ispell-tex-arg-end): Add documentation string.
3306 (ispell-ignore-fcc): New function to query saving Fcc message.
3307 (ispell-skip-region): Calculate alist for key match dynamically,
3308 html skipping pushed to alists.
3309 (ispell-get-line): Add support for multi-line comment regions.
3310 (ispell): Check that variables to continue spelling are bound.
3311 (ispell-message-text-end): Postscript and uuencoded regions now
3312 supported as MIME regions, rather than as end-of-message region.
3313 (ispell-mime-multipartp): New function supporting MIME.
3314 (ispell-mime-skip-part): New function supporting MIME.
3315 (ispell-message): Add MIME support.
3316 (ispell-buffer-local-parsing): Variable `ispell-skip-html' now local.
3317 (ispell-buffer-local-dict): Fix bug for detecting and reloading
3320 2003-05-22 Stephen J. Turnbull <stephen@xemacs.org>
3322 * subr.el (split-string): Implement specification that splitting on
3323 explicit separators retains null fields. Add new argument
3324 OMIT-NULLS. Special-case (split-string "a string").
3326 2003-05-22 Stefan Monnier <monnier@cs.yale.edu>
3328 * international/mule-cmds.el (select-safe-coding-system):
3329 Try default-buffer-file-coding-system too for automatic selection.
3331 2003-05-21 Stefan Monnier <monnier@cs.yale.edu>
3333 * simple.el (ctl-x-map): Remove the C-x U binding added recently.
3335 2003-05-21 Dave Love <fx@gnu.org>
3337 * descr-text.el (unicodedata-file): New.
3338 (unicode-data): New (adapted from unicode branch).
3339 (describe-char): Use it. Print char's unicode differently.
3340 Avoid elements with null cadr when formatting list. Clarify error
3341 message when used in Help buffer.
3342 (button): Require when compiling.
3343 (describe-char-after): Alias for obsolete command.
3345 2003-05-21 Nick Roberts <nick@nick.uklinux.net>
3347 * gdb-ui.el (gud-gdba-command-name): Use -noasync option for Gdb
3349 (gdb-display-end): Only make buffer writeable temporarily.
3350 Move "View" submenu up one level.
3352 2003-05-21 Nick Roberts <nick@nick.uklinux.net>
3354 * gdb-ui.el (gdb-view-source, gdb-selected-view): New variables.
3355 (gdba): Inhibit DOS window in MS Windows.
3356 (gdb-inferior-io-mode): Use hexl instead of cat.
3357 (gdb-info-breakpoints-custom, gdb-assembler-custom, gdb-reset):
3358 Use text in margin for MS Windows as there is no image support.
3359 (gdb-restore-windows, gdb-setup-windows): Restore/start with
3360 assembler view if appropriate.
3361 (gdb-assembler-custom): Assembler code should display at point.
3362 Parse address correctly.
3363 (gdb-frame-handler): Accommodate selection of display of source
3365 Add radio buttons to select display of source or assembler.
3367 2003-05-20 Lars Hansen <larsh@math.ku.dk>
3369 * desktop.el (desktop-save): Ensure parameter is expanded and ends
3370 with a slash before assigning it to desktop-dirname and
3372 (desktop-read): Put buffers existing prior to evaluating the
3373 desktop (and not reused) at the end of the buffer list.
3374 (desktop-create-buffer): Don't update desktop-first-buffer for old
3377 2003-05-19 John Paul Wallington <jpw@gnu.org>
3379 * xml.el (xml-name-regexp): Wrap in `eval-and-compile'.
3381 2003-05-19 Dave Love <fx@gnu.org>
3383 * xml.el: Doc fixes.
3384 (xml-parse-file, xml-parse-region): Autoload.
3385 (xml-syntax-table, xml-name-regexp): New.
3386 (xml-parse-region): Narrow to region, set syntax-table and
3387 case-fold-search. Reject fewer valid documents.
3388 (xml-parse-tag): Remove arg END. Callers changed.
3389 (xml-parse-tag): Use skip-syntax-forward. Use PARSE-DTD arg
3390 properly. Don't use buffer-substring-no-properties. Don't bind
3391 case-fold-search. Fix syntax for empty elements. Hoist consing
3392 of end-of-tag regexp out of loop.
3393 (xml-parse-attlist): Remove arg. Callers changed.
3394 Use skip-syntax-forward, replace-regexp-in-string, forward-sexp.
3395 Allow non-ASCII names.
3396 (xml-skip-dtd): Remove arg. Callers changed. Change matching code.
3397 (xml-parse-dtd): Grok external DTDs. Allow non-ASCII.
3398 Don't use match-string-no-properties.
3399 (xml-ucs-to-string): Delete.
3400 (xml-substitute-entity): New.
3401 (xml-substitute-special): Use it.
3402 (xml-debug-print-internal): Simplify insertions.
3403 (xml-parse-file): Avoid finding file in xml-mode.
3405 2003-05-19 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
3407 * simple.el (kill-whole-line): New function.
3408 * bindings.el (global-map): Bind it.
3410 2003-05-19 Richard M. Stallman <rms@gnu.org>
3412 * net/goto-addr.el (goto-address-fontify-maximum-size):
3413 Value t means no limit.
3414 (goto-address-fontify): Implement that feature.
3416 * emacs-lisp/find-func.el (find-function-on-key):
3417 Move the call to find-function-other-window outside
3420 * find-file.el (ff-special-constructs): Delete the Ada entry.
3422 * faces.el (x-create-frame-with-faces):
3423 Don't call face-set-after-frame-default.
3424 (face-set-after-frame-default): Copy attrs of global `default'
3425 face to FRAME's `default' face.
3427 2003-05-19 Joe Kelsey <joek@flyingcroc.net>
3429 * skeleton.el (skeleton-internal-1): Allow - as alternate
3430 interesting point marker and revert @ to just setting
3433 2003-05-18 Stefan Monnier <monnier@cs.yale.edu>
3435 * emacs-lisp/lisp.el (beginning-of-defun-raw): Use shy-group.
3437 * progmodes/executable.el (executable-set-magic): Remove unused
3438 vars `point' and `buffer-modified-p'.
3440 * mail/sendmail.el (mail-mode): Don't bother setting paragraph-start.
3442 * mail/mail-extr.el: Use explicit coding tag.
3444 * international/mule.el (sgml-xml-auto-coding-function)
3445 (sgml-html-meta-auto-coding-function): Don't assume point-min == 1.
3447 * language/china-util.el (hz-set-msb-table): Build when compiling.
3448 (big5-to-cns): Pre-build the alist when compiling.
3450 * language/ind-util.el (indian-regexp-of-hashtbl-keys): Don't bother
3451 sorting the argument to regexp-opt.
3452 (indian--puthash-char): Use dolist rather than mapc.
3454 2003-05-18 Nick Roberts <nick@nick.uklinux.net>
3456 * gdb-ui.el (put-arrow): Rename gdb-put-arrow and simplify.
3457 (put-string): Rename gdb-put-string and simplify.
3458 (remove-strings): Rename gdb-remove-strings.
3459 (remove-arrow): Rename gdb-remove-arrow.
3460 (gdb-assembler-custom): Try to get line marker (arrow) to display
3461 in window (revisited).
3462 Use with-current-buffer where possible.
3464 2003-05-18 John Paul Wallington <jpw@gnu.org>
3466 * ibuffer.el (ibuffer-display-summary): New customizable variable.
3467 (ibuffer-update-title-and-summary): Respect it.
3469 2003-05-18 Michael Kifer <kifer@cs.stonybrook.edu>
3471 * ediff-mult.el (ediff-default-filtering-regexp): New variable.
3473 * ediff-util.el (ediff-maybe-save-and-delete-merge): Change in a
3476 * ediff.el (ediff-directories,ediff-directory-revisions)
3477 (ediff-directories3,ediff-merge-directories)
3478 (ediff-merge-directories-with-ancestor,ediff-merge-directory-revisions)
3479 (ediff-merge-directory-revisions-with-ancestor): Make use of the new
3480 ediff-default-filtering-regexp variable.
3482 2003-05-18 Richard M. Stallman <rms@gnu.org>
3484 * which-func.el (which-func-current, which-func-format):
3485 Preload the risky-local-variable properties for them.
3487 * subr.el (prepare-change-group): Reinstate BUFFER arg; make it work.
3489 2003-05-18 Nick Roberts <nick@nick.uklinux.net>
3491 * gud.el (gdb): Define gud-nexti.
3492 (gud-menu-map): Add gud-nexti to map.
3493 (gud-tool-bar-map): Add gud-nexti and gud-stepi to toolbar.
3495 * toolbar/gud-stepi.xpm, toolbar/gud-stepi.pbm,
3496 toolbar/gud-nexti.xpm, toolbar/gud-nexti.pbm: New icons for debugger.
3498 2003-05-17 John Paul Wallington <jpw@gnu.org>
3500 * international/ja-dic-cnv.el (skkdic-okuri-nasi-entries)
3501 (skkdic-okuri-nasi-entries-count): Use defvar for non-constants.
3503 * register.el (number-to-register): Use `string-to-number' instead
3506 2003-05-17 Stefan Monnier <monnier@cs.yale.edu>
3508 * log-edit.el: Don't require vc.el anymore.
3509 (log-edit-mode-map): Fold vc-log-mode-map into it.
3510 (vc-log-mode-map): Redefine as an alias.
3511 (vc-previous-comment): Don't widen.
3512 (vc-comment-to-change-log): Don't redundantly set paragraph-separate.
3513 Don't require `add-log' since it's already required at toplevel.
3515 * vc.el (vc-log-mode-map, vc-maximum-comment-ring-size)
3516 (vc-comment-ring, vc-comment-ring-index, vc-last-comment-match):
3517 Move vars to log-edit.el.
3518 (vc-new-comment-index, vc-previous-comment, vc-next-comment)
3519 (vc-comment-search-reverse, vc-comment-search-forward)
3520 (vc-comment-to-change-log): Move funs to log-edit.el.
3521 (vc-clear-context): Don't empty the comment-ring.
3522 (vc-finish-logentry): Don't add the comment onto the comment-ring.
3524 * log-edit.el (vc-log-mode-map, vc-maximum-comment-ring-size)
3525 (vc-comment-ring, vc-comment-ring-index, vc-last-comment-match):
3526 Move vars from vc.el.
3527 (vc-new-comment-index, vc-previous-comment, vc-next-comment)
3528 (vc-comment-search-reverse, vc-comment-search-forward)
3529 (vc-comment-to-change-log): Move funs from vc.el.
3530 (log-edit-show-files): Remove unused var `editbuf'.
3532 * progmodes/tcl.el (tcl-indent-exp): Remove dead code.
3533 (tcl-tab-always-indent): Default to tab-always-indent.
3535 * progmodes/perl-mode.el (perl-end-of-function): Remove unused var.
3536 (perl-tab-always-indent): Default to tab-always-indent.
3538 * which-func.el (which-func-format): Make it risky-local-variable.
3539 (which-func-table): New var.
3540 (which-func-current): Make it into a constant modeline spec.
3541 (which-func-previous): Remove.
3542 (which-func-update): Only update the selected window.
3543 (which-func-update-1): Use the new var to allow the current
3544 function to be different for a buffer shown in two windows.
3546 * subr.el (with-selected-window): New macro.
3547 (dolist, dotimes, with-current-buffer): Use backquotes.
3548 (when, unless, save-match-data, combine-after-change-calls)
3549 (with-output-to-string, with-temp-buffer): Add `declare' info.
3550 (listify-key-sequence): Don't allocate unnecessarily.
3551 (read-quoted-char): Allow up to base 36.
3552 (prepare-change-group): Remove unimplemented argument.
3553 (macro-declaration-function): Avoid `dolist' and `cadr'.
3555 * wid-edit.el (pp-to-string, Info-goto-node): Don't autoload.
3556 (widget-choose, widget-map-buttons): Use with-current-buffer.
3557 (widget-field-add-space): Change to nil (and to defconst).
3558 (widget-info-link-action): Use `info'.
3560 2003-05-17 Nick Roberts <nick@nick.uklinux.net>
3562 * gdb-ui.el (gdb-info-frames-custom): Reverse contrast of face for
3564 (gdb-annotation-rules): Stop using frames-invalid and
3565 breakpoints-invalid annotations. Update after post-prompt instead.
3566 (gdb-post-prompt): Update frames and breakpoints here.
3567 (gdb-invalidate-frame-and-assembler)
3568 (gdb-invalidate-breakpoints-and-assembler): Remove.
3569 (gdb-current-address): Remove.
3570 (gdb-previous-address): New variable.
3571 (gud-until): Extend to work in Assembler buffer
3572 (gdb-append-to-inferior-io): Select IO buffer when there is output.
3573 (gdb-assembler-custom): Try to get line marker (arrow) to display
3574 in window. Correct parsing for OS dependent output syntax of Gdb
3576 (gdb-frame-handler): Correct parsing for OS dependent output
3577 syntax of Gdb command, frame.
3578 (gdb-invalidate-assembler): Update assembler buffer correctly when
3579 frame changes (revisited).
3581 2003-05-16 Stefan Monnier <monnier@cs.yale.edu>
3583 * imenu.el (imenu--split-menu): Remove unused var `count'.
3584 Don't copy the sequence since we're already modifying it elsewhere.
3585 (imenu--create-keymap): Rename from imenu--create-keymap-1.
3586 Add optional `cmd' argument. Remove unused var `counter'.
3587 (imenu-update-menubar): Use the new arg to keep the old behavior.
3588 (imenu--mouse-menu): Don't use the arg, to recover the lost behavior.
3590 2003-05-16 Lute Kamstra <Lute.Kamstra@cwi.nl>
3592 * hl-line.el (hl-line-highlight, global-hl-line-highlight):
3593 Use `line-beginning-position' to determine the beginning of the next
3596 2003-05-16 Kenichi Handa <handa@m17n.org>
3598 * international/mule-cmds.el (mule-menu-keymap): Enable the menu
3599 set-various-coding-system when
3600 default-enable-multibyte-characters is non-nil.
3602 2003-05-15 Stefan Monnier <monnier@cs.yale.edu>
3604 * emacs-lisp/autoload.el (make-autoload): Add arglist for
3605 define-derived-mode.
3607 2003-05-15 Lute Kamstra <Lute.Kamstra@cwi.nl>
3609 * hl-line.el: Rewrite the local minor mode so that it can be
3610 sticky as well and made sticky the default. Reimplement the
3611 global minor mode. Update the commentary section to document
3613 (hl-line-sticky-flag): New user option.
3614 (hl-line-overlay): Make it buffer-local and give it a docstring.
3615 (global-hl-line-overlay): New variable.
3616 (hl-line-mode): Rewrite to use `hl-line-sticky-flag'.
3617 (hl-line-highlight): Rewrite to use `hl-line-sticky-flag'.
3618 (hl-line-unhighlight): Update docstring.
3619 (global-hl-line-mode): Implement directly so that is does not
3620 depend on `hl-line-mode' any more.
3621 (global-hl-line-highlight, global-hl-line-unhighlight): New functions.
3623 2003-05-15 Kenichi Handa <handa@m17n.org>
3625 * international/code-pages.el (cyrillic-koi8-t): Alias of koi8-t.
3627 2003-05-15 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3629 * ps-print.el: Avoid unnecessary calls to funs in header and footer
3630 variables. Reported by Greg Hill <ghill@synergymicro.com>.
3631 (ps-print-version): New version number (6.6.1).
3632 (ps-begin-page): Code fix.
3633 (ps-generate-string-list, ps-header-footer-string): New funs.
3634 (ps-lh-cache, ps-rh-cache, ps-lf-cache, ps-rf-cache): New vars.
3636 * ps-mule.el (ps-mule-header-string-charsets):
3637 Call ps-header-footer-string to avoid unnecessary calls to functions
3638 in header and footer variables.
3640 2003-05-15 John Paul Wallington <jpw@gnu.org>
3642 * mail/rmail.el (rmail-ignored-headers): Ignore Face: header.
3644 2003-05-14 Stefan Monnier <monnier@cs.yale.edu>
3646 * textmodes/tex-mode.el (tex-compile-history, tex-input-files-re)
3647 (tex-use-reftex, tex-compile-commands): New vars.
3648 (tex-summarize-command, tex-uptodate-p, tex-executable-exists-p)
3649 (tex-command-executable, tex-command-active-p, tex-compile-default)
3651 (tex-compile): New command.
3652 (tex-mode-map): Bind it to C-c C-c.
3654 * vc-svn.el (completion-ignored-extensions): Add .svn.
3655 (vc-svn-delete-file): New function.
3657 * pcvs.el (cvs-append-to-ignore): New arg `old-dir'.
3658 (cvs-mode-ignore): Use it.
3660 * pcvs-parse.el (cvs-parse-table): Remove unused var `type'.
3661 Look up `.cvsignore' to see what to do with `new-dir' messages.
3662 (cvs-parse-merge): Remove unused var `handled'.
3664 2003-05-14 Christoph Wedler <christoph.wedler@sap.com>
3666 * format.el (format-annotate-function): Copy coding system into the
3669 2003-05-14 John Paul Wallington <jpw@gnu.org>
3671 * ls-lisp.el (insert-directory): Discard --dired switch when
3672 `ls-lisp-use-insert-directory-program' is nil.
3674 2003-05-13 Stefan Monnier <monnier@cs.yale.edu>
3676 * textmodes/ispell.el (xemacsp): Remove. Use (featurep 'xemacs).
3677 (ispell-graphic-p): Inline and then remove.
3678 (toplevel): Get rid of unnecessary loop.
3679 (ispell-parse-output, ispell-complete-word): Replace (substring s 0 1)
3680 with a call to aref.
3681 (ispell-get-line): Remove unused arg `reg-end'.
3682 (ispell-region): Update corresponding call.
3684 * progmodes/cpp.el (cpp-make-overlay-hidden): Don't make intangible.
3686 * progmodes/compile.el (compile-internal): Use with-current-buffer.
3687 (compilation-set-window-height): Use save-selected-window.
3689 * progmodes/ada-xref.el (ada-xref-update-project-menu): Use easymenu.
3690 (ada-goto-declaration-other-frame): Remove unused arg other-frame.
3691 (ada-gdb-application): Remove unused vars comint-exec, in-post-mode,
3692 and gud-gdb-massage-args.
3694 * progmodes/cc-langs.el (c-lang-defvar-init-form-tail):
3695 This is actually not a constant.
3697 * progmodes/autoconf.el (autoconf-current-defun-function):
3698 Copy the syntax table before modifying it.
3700 * progmodes/ada-mode.el (ada-in-comment-p, ada-in-string-p)
3701 (ada-in-string-or-comment-p): Use line-beginning-position.
3703 * textmodes/reftex.el (reftex-select-with-char): Don't assume
3704 that point-min == 1.
3706 * textmodes/reftex-toc.el (reftex-toc-visit-location):
3707 Don't switch the current window if the new buffer is in another.
3708 (reftex-toc): Don't assume that point-min == 1.
3710 * textmodes/reftex-parse.el (reftex-what-macro): Don't assume
3711 that point-min == 1.
3713 * textmodes/reftex-cite.el (reftex-extract-bib-entries)
3714 (reftex-extract-bib-entries-from-thebibliography): New arg re-list.
3715 (reftex-extract-bib-entries): Use ^ rather than \(\`\|[\n\r]\).
3716 Use member-ignore-case. Don't add unnecessary trailing \n.
3717 (reftex-offer-bib-menu): Consolidate duplicated code from
3718 reftex-extract-bib-entries and
3719 reftex-extract-bib-entries-from-thebibliography.
3721 * simple.el (back-to-indentation): Simplify.
3722 (undo-equiv-table, undo-in-region, undo-no-redo): New vars.
3723 (undo): Use them to implement the no-redo form of undo.
3724 (undo-only): New fun.
3725 (shell-command): Don't require `shell' since shell-mode is autoloaded.
3726 (insert-buffer): Simplify.
3727 (completion-setup-function): Use minibufferp.
3728 (event-apply-alt-modifier, event-apply-super-modifier)
3729 (event-apply-hyper-modifier, event-apply-shift-modifier)
3730 (event-apply-control-modifier, event-apply-meta-modifier):
3731 Fix docstring to show the proper key sequence.
3733 * uniquify.el (uniquify-after-kill-buffer-p): Set default to t.
3734 (uniquify-ignore-buffers-re): Revert to nil now that uniquify
3735 is more careful about preserving buffer names.
3737 * menu-bar.el (menu-bar-options-menu) <cua-mode>:
3738 Use menu-bar-make-mm-toggle.
3740 * files.el (file-relative-name): Remove dead code.
3741 Make sure \n in a filename does not confuse us.
3743 * help-fns.el (describe-variable): Mention permanent local status.
3745 * comint.el (comint-carriage-motion, comint-output-filter):
3746 Bind inhibit-read-only rather than buffer-read-only.
3747 (comint-truncate-buffer): Bind inhibit-read-only.
3749 * pcvs.el (cvs-make-cvs-buffer): Add the tag info.
3750 (cvs-mode): Prevent pilot-error.
3752 * vc-mcvs.el (vc-mcvs-registered, vc-mcvs-root): Check the output
3753 of file-name-directory for nil.
3755 2003-05-13 Simon Josefsson <jas@extundo.com>
3757 * mail/smtpmail.el (smtpmail-open-stream): Don't hard code
3760 2003-05-13 Rajesh Vaidheeswarran <rv@gnu.org>
3762 * whitespace.el (whitespace-global-mode): Add :link entry
3763 to the commentary section in whitespace.el
3765 2003-05-13 Nick Roberts <nick@nick.uklinux.net>
3767 * gdb-ui.el (gdb-invalidate-assembler): Update assembler buffer
3768 correctly when frame changes.
3769 (gdb-info-threads-custom, gdb-threads-buffer-name)
3770 (gdb-display-threads-buffer, gdb-frame-threads-buffer)
3771 (gdb-threads-mode-map, gdb-threads-mode, gdb-get-thread-number)
3772 (gdb-threads-select, gdb-threads-mouse-select): New functions and
3773 variable for a buffer that provides a selectable threads list.
3775 2003-05-12 Stefan Monnier <monnier@cs.yale.edu>
3777 * pcvs-parse.el (cvs-parse-table): `New directory' messages include
3780 * pcvs.el (cvs-minor-current-files): Move before first use.
3781 (defun-cvs-mode): Remove unused var `restdoc'.
3782 (cvs-edit-log-revision, ediff-after-quit-hook-internal): Declare.
3783 (cvs-mode-diff-backup): Remove unused var `filter'.
3784 (cvs-mode-run): Remove unused var `cvs-buf'.
3785 (cvs-mode-do): Remove unused arg `parse'.
3786 (cvs-retrieve-revision): Make sure HEAD gets the head of the branch.
3788 * textmodes/sgml-mode.el (sgml-namespace-re): New const.
3789 (sgml-namespace-face): New face.
3790 (sgml-font-lock-keywords-1): Use them.
3792 2003-05-11 Kevin Ryde <user42@zip.com.au>
3794 * info-look.el (info-lookup-make-completions): Allow colons in index
3795 entries by looking for ": " to terminate, as per latest info.el.
3797 2003-05-11 Stefan Monnier <monnier@cs.yale.edu>
3799 * vc-mcvs.el (vc-mcvs-command): Filter output of `status'.
3800 (vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff):
3801 Change dir so that the filtered output of `mcvs makes sense.
3802 (vc-mcvs-mode-line-string): Handle the case where CVS is desync'd.
3803 (vc-mcvs-diff-tree): Don't bother with the local-diff code.
3804 (vc-mcvs-create-snapshot): Use `branch' and `switch'.
3806 2003-05-10 Stefan Monnier <monnier@cs.yale.edu>
3808 * newcomment.el (comment-indent): Try to align to adjacent comments.
3809 (comment-with-narrowing): Actually use the arguments.
3810 (comment-valid-prefix-p): Rename from comment-valid-prefix
3811 and fix to actually use its argument.
3813 * tex-mode (tex-mode-syntax-table): ~ is not whitespace.
3814 (tex-guess-mode): Add `renewcommand'.
3815 (tex-mode): Move the autoload to get the correct docstring and usage.
3817 * uniquify.el (uniquify-rationalize-file-buffer-names):
3818 Refresh the dirname in the case that rename-buffer was skipped.
3819 (uniquify-buffer-file-name): Return a dirname with no trailing slash.
3821 * mail/smtpmail.el (smtpmail-send-queued-mail): Use point-at-bol
3822 instead of forward-line.
3824 2003-05-10 Oliver Scholz <alkibiades@gmx.de>
3826 * startup.el (fancy-splash-default-action): Fix docstring.
3828 2003-05-09 Sam Steingold <sds@gnu.org>
3830 * pcvs.el (cvs-mode-find-file): Fixed the last patch's logic.
3832 2003-05-09 Stefan Monnier <monnier@cs.yale.edu>
3834 * newcomment.el (comment-indent): Be more careful when inserting
3835 the space, and insert it before setting `begpos'.
3837 * vc.el: New backend functions `delete-file' and `repository-hostname'.
3838 (vc-stay-local): New var. Mostly taken from vc-cvs-stay-local.
3839 (vc-stay-local-p): New fun. Adapted from vc-cvs-stay-local-p.
3840 (vc-diff-switches-list): Revert to the Emacs-21.[123] semantics.
3842 (vc-delete-file): New command.
3843 (vc-default-rename-file): New function.
3844 (vc-rename-file): Use it.
3845 Be careful to disallow renaming if the file is locked or out-of-date.
3846 (vc-ensure-vc-buffer, vc-next-action-on-file, vc-insert-headers)
3847 (vc-cancel-version, vc-annotate): Use buffer-file-name variable.
3849 * vc-mcvs.el (vc-mcvs-stay-local): Remove unused var.
3850 (vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff)
3851 (vc-mcvs-diff-tree, vc-mcvs-annotate-command)
3852 (vc-mcvs-make-version-backups-p): Use vc-stay-local-p.
3853 (vc-mcvs-checkin): Disallow commits to a numbered rev.
3854 (vc-mcvs-repository-hostname): New function.
3855 (vc-mcvs-stay-local-p): Remove.
3857 * vc-cvs.el (vc-cvs-mode-line-string): Use vc-default-mode-line-string.
3858 (vc-cvs-delete-file, vc-cvs-rename-file): New functions.
3860 * vc-svn.el (vc-svn-rename-file): New fun.
3861 (vc-svn-diff): Correctly check svn's return status.
3862 (vc-svn-state, vc-svn-dir-state, vc-svn-print-log, vc-svn-diff)
3863 (vc-svn-diff-tree): Use vc-stay-local-p.
3864 (vc-svn-register-switches, vc-svn-diff-switches, vc-svn-header)
3865 (vc-svn-use-edit): Fix the :version property.
3866 (vc-svn-stay-local): Remove unused var.
3867 (vc-svn-mode-line-string): Remove, use the default instead.
3868 (vc-svn-repository-hostname): New fun taken from vc-svn-stay-local-p.
3869 (vc-svn-stay-local-p): Remove.
3871 * uniquify.el: Use the original buffer-name as `base' in place of the
3872 nondirectory part of the file name.
3873 (uniquify-rationalize-file-buffer-names):
3874 Split the `newbuffile' arg into `base' and `dirname'.
3875 Reuse old uniquify-items to avoid recomputing their base&dirname.
3876 (uniquify-buffer-file-name): Only return the directory part.
3877 (uniquify-rerationalize-w/o-cb): Don't bother reseting proposed names.
3878 (rename-buffer): Use the `newname' arg as base.
3879 (create-file-buffer): Split the file name into base and dirname.
3881 2003-05-09 Jesper Harder <harder@ifa.au.dk> (tiny change)
3883 * mail/smtpmail.el (smtpmail-send-queued-mail): Don't use kill-line.
3885 2003-05-08 Stefan Monnier <monnier@cs.yale.edu>
3887 * uniquify.el (uniquify-after-kill-buffer-p): Fix misleading docstring.
3888 (uniquify-make-item): Make `proposed' optional.
3889 (uniquify-rationalize-file-buffer-names): Don't compute the
3890 initial proposed name.
3891 (uniquify-buffer-file-name): Remove dead code.
3892 (uniquify-strip-common-suffix): New var.
3893 (uniquify-rationalize): Always recompute initial proposed name.
3894 Strip common suffix if requested.
3896 * vc-rcs.el (vc-rcs-register, vc-rcs-checkin, vc-rcs-checkout)
3897 (vc-rcs-find-version, vc-rcs-diff): Use vc-switches.
3899 * vc-sccs.el (vc-sccs-register, vc-sccs-find-version)
3900 (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-diff): Use vc-switches.
3901 (vc-sccs-register): Remove unused var `|'.
3903 * vc-mcvs.el (vc-mcvs-read): Don't require `file' to exist.
3904 (vc-mcvs-diff): Don't return 0 for newly added empty files.
3905 (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-find-version)
3906 (vc-mcvs-checkout, vc-mcvs-diff, vc-mcvs-diff-tree): Use vc-switches.
3908 * vc-cvs.el (vc-cvs-dired-state-info): Use `added' for added files and
3909 don't use `concat' unnecessarily. Remove impossible cases.
3910 (vc-cvs-diff): Don't return 0 for newly added empty files.
3911 (vc-cvs-stay-local-p): Simplify.
3912 (vc-cvs-register, vc-cvs-checkin, vc-cvs-find-version, vc-cvs-diff)
3913 (vc-cvs-diff-tree, vc-cvs-checkout): Use vc-switches.
3915 * vc-svn.el (vc-svn-dired-state-info): Use `added' for added files and
3916 don't use `concat' unnecessarily. Remove impossible cases.
3917 (vc-svn-register, vc-svn-find-version, vc-svn-diff-tree):
3919 (vc-svn-checkin): Use vc-switches. Fix up regexp.
3920 (vc-svn-diff): Use vc-switches.
3921 Don't return 0 for newly added empty files.
3922 Don't use svn's return status.
3923 (vc-svn-parse-status): Recognize copied files as well.
3924 Use the last-modified revision for workfile-version.
3926 * vc-hooks.el (vc-default-workfile-unchanged-p): Pass nil
3927 rather than (vc-workfile-version file) to diff.
3929 * vc.el (with-vc-properties, with-vc-file, edit-vc-file):
3930 Add `declare's for debugging and indentation.
3931 (vc-do-command): Use `remq'.
3932 (vc-buffer-context): Remove unused var `curbuf'.
3933 (vc-next-action-dired): Remove unused var `dired-dir'.
3934 (vc-switches): New fun.
3935 (vc-diff-switches-list): Use it.
3936 (vc-dired-hook): Remove unused var `cvs-dir'.
3937 (vc-dired-purge): Remove unused var `subdir'.
3938 (vc-cancel-version): Remove unused var `config'.
3939 (vc-rename-master): Use dolist iso mapcar.
3940 (vc-rename-file): Remove redundant tests.
3941 Clear the properties of the old file name.
3942 (vc-annotate): Pass the complete filename to `annotate-command'.
3943 (vc-annotate-lines): Remove unused var `overlay'.
3945 2003-05-08 Glenn Morris <gmorris@ast.cam.ac.uk>
3947 * calendar/diary-lib.el (diary-pull-attrs): Make `ret-attr',
3949 (list-diary-entries): Make `temp' local.
3950 (fancy-diary-display): Make `marks', `temp-face', `faceinfo' local.
3951 (diary-mail-entries): There is no fancy-diary-buffer if there are
3952 no diary entries. Use call-interactively.
3953 (mark-diary-entries): Make `temp' local.
3954 (mark-sexp-diary-entries): Make `marks' local, remove `temp'.
3955 (list-sexp-diary-entries): Make `temp' local.
3956 (add-to-diary-list): Make `prefix' local.
3958 2003-05-08 Dave Love <fx@gnu.org>
3960 * international/utf-7.el: New file.
3962 2003-05-07 Francis J. Wright <F.J.Wright@qmul.ac.uk>
3964 * files.el (insert-file-contents-literally): Allow it to be called
3965 within a magic file name handler.
3967 2003-05-07 Stefan Monnier <monnier@cs.yale.edu>
3969 * uniquify.el (uniquify-rationalize-file-buffer-names):
3970 Don't uniquify if there is no filename.
3972 * vc-hooks.el: Use buffer-file-name variable rather than function.
3973 (vc-handled-backends): Add SVN and MCVS.
3974 (vc-mode-line): Call vc-backend only once.
3975 (find-file-hook, find-file-not-found-hook): Use the new
3976 names rather than ...-hooks.
3978 * uniquify.el (uniquify-item, uniquify-get-proposed-name)
3979 (uniquify-rationalize-conflicting-sublist): Rename filename -> dirname.
3980 (uniquify-rationalize): New fun. Set uniquify-managed to the fix-list.
3981 (uniquify-rationalize-file-buffer-names): Use it and make the args
3982 non-optional (i.e. don't support "re-rationalize all" any more).
3983 (uniquify-rerationalize-w/o-cb): New fun.
3984 (uniquify-maybe-rerationalize-w/o-cb): Use it to rerationalize
3985 immediately and only the relevant buffers.
3986 Merged from uniquify-delay-rationalize-file-buffer-names and
3987 uniquify-delayed-rationalize-file-buffer-names.
3988 (kill-buffer-hook, rename-buffer): Use it.
3990 2003-05-06 Jesper Harder <harder@ifa.au.dk>
3992 * progmodes/compile.el (compile-internal): Don't quote nil and t in
3995 * emacs-lisp/eldoc.el (eldoc-echo-area-use-multiline-p): Likewise.
3997 * emacs-lisp/cl-macs.el (case, typecase): Likewise.
3999 * allout.el (allout-auto-activation)
4000 (allout-use-mode-specific-leader, allout-reindent-bodies)
4001 (allout-unprotected): Likewise.
4003 * progmodes/tcl.el (tcl-explain-indentation): Likewise.
4005 * progmodes/idlwave.el (idlwave-complete-special): Likewise.
4007 * progmodes/cpp.el (cpp-edit-list): Likewise.
4009 * progmodes/cperl-mode.el (cperl-lineup): Likewise.
4011 * progmodes/cc-align.el (c-lineup-argcont, c-lineup-gcc-asm-reg):
4014 * play/mpuz.el (mpuz-silent): Likewise.
4016 * play/decipher.el (decipher-ignore-spaces): Likewise.
4018 * net/rlogin.el (rlogin-process-connection-type): Likewise.
4020 * mail/rmail.el (rmail-primary-inbox-list): Likewise.
4022 * mail/mailalias.el (mail-directory-function)
4023 (mail-directory-requery, mail-directory): Likewise.
4025 * emacs-lisp/lucid.el (buffer-syntactic-context): Likewise.
4027 * emacs-lisp/lmenu.el (popup-dialog-box): Likewise.
4029 * type-break.el (type-break-good-rest-interval)
4030 (type-break-query-mode, type-break-query-function)
4031 (type-break-mode-line-message-mode): Likewise.
4033 * skeleton.el (skeleton-autowrap, skeleton-untabify)
4034 (skeleton-newline-indent-rigidly, skeleton-insert)
4035 (skeleton-read): Likewise.
4037 * simple.el (newline): Likewise.
4039 * ps-print.el (ps-zebra-stripe-follow): Likewise.
4041 * mwheel.el (mouse-wheel-scroll-amount): Likewise.
4043 * env.el (setenv): Likewise.
4045 2003-05-06 Stefan Monnier <monnier@cs.yale.edu>
4047 * imenu.el (imenu--generic-function): Use font-lock-defaults
4048 case setting if imenu-case-fold-search is not locally set.
4050 * uniquify.el (uniquify-managed): New var.
4051 (uniquify-rationalize-file-buffer-names, rename-buffer): Use it and set
4052 it to prevent accidental renaming of unrelated buffers.
4053 (uniquify-delay-rationalize-file-buffer-names): Use it to avoid
4054 the cost of uniquify when killing unrelated buffers.
4056 * newcomment.el (comment-set-column, comment-kill)
4057 (comment-or-uncomment-region): Call comment-normalize-vars
4058 since these functions are autoloaded.
4060 * help-fns.el (help-add-fundoc-usage): Use t for "no arglist".
4061 * emacs-lisp/advice.el (ad-make-advised-docstring): Adjust usage.
4063 2003-05-06 Lute Kamstra <Lute.Kamstra@cwi.nl>
4065 * hl-line.el: Removed an erroneous comment.
4066 (hl-line-mode): Use buffer local hooks.
4067 (global-hl-line-mode): Turn local modes on unconditionally.
4068 (hl-line-highlight): Comment fix.
4070 2003-05-06 Richard M. Stallman <rms@gnu.org>
4072 * newcomment.el (comment-search-forward): Delete autoload cookie.
4074 2003-05-06 Kenichi Handa <handa@m17n.org>
4076 * arc-mode.el (archive-set-buffer-as-visiting-file):
4077 Use after-insert-file-set-coding, not
4078 after-insert-file-set-buffer-file-coding-system.
4080 2003-05-05 Stefan Monnier <monnier@cs.yale.edu>
4082 * uniquify.el (uniquify-buffer-name-style)
4083 (uniquify-after-kill-buffer-p, uniquify-ask-about-buffer-names-p)
4084 (uniquify-ignore-buffers-re, uniquify-min-dir-content)
4085 (uniquify-separator, uniquify-trailing-separator-p): Remove redundant
4086 group specification.
4087 (uniquify-file-name-nondirectory): Delete.
4088 (uniquify-rationalize-file-buffer-names): Simplify.
4089 Use directory names as `filename' component of uniquify-item.
4090 (uniquify-get-proposed-name): Adjust now that `filename' does not
4093 * vc-svn.el: New file.
4095 2003-05-05 John Paul Wallington <jpw@gnu.org>
4097 * emacs-lisp/autoload.el (batch-update-autoloads):
4098 Call `update-directory-autoloads'.
4100 2003-05-04 Dan Nicolaescu <dann@ics.uci.edu>
4102 * dired.el (dired-find-file): Bind find-file-run-dired around
4103 the call to find-file.
4105 2003-05-04 Stefan Monnier <monnier@cs.yale.edu>
4107 * uniquify.el: Move provide to end of file.
4108 (uniquify-ref-base, uniquify-ref-filename, uniquify-ref-buffer)
4109 (uniquify-ref-proposed, uniquify-set-proposed): Remove.
4110 (uniquify-item): New struct. Update users of uniquify-ref-*.
4111 (uniquify-get-proposed-name, uniquify-rationalize-a-list):
4112 Make `depth' optional.
4113 (uniquify-non-file-buffer-names): Remove.
4114 (uniquify-rationalize-file-buffer-names): Don't set it up.
4115 Use uniquify-make-item and don't pass the now-optional depth.
4116 (uniquify-rationalize-conflicting-sublist): Check the new buffer
4117 name directly instead of relying on uniquify-non-file-buffer-names.
4118 (uniquify-rename-buffer): Use with-current-buffer and pass
4119 the `unique' arg to rename-buffer.
4121 * vc-mcvs.el (vc-mcvs-mode-line-string): Fix thinko.
4122 (vc-mcvs-rename-file): New function.
4124 2003-05-04 Emmanuel Briot <briot@gnat.com>
4126 * progmodes/ada-mode.el
4127 * progmodes/ada-prj.el
4128 * progmodes/ada-stmt.el
4129 * progmodes/ada-xref.el (ada-xemacs): Variable removed, since it's
4130 better to use (featurep 'xemacs).
4131 Removed warnings generated with Emacs 21.3.x (mostly by adding
4132 needed `require' statements).
4134 2003-05-04 Nick Roberts <nick@nick.uklinux.net>
4136 * toolbar/gud-break.pbm, toolbar/gud-cont.pbm, toolbar/gud-display.pbm,
4137 toolbar/gud-down.pbm, toolbar/gud-finish.pbm, toolbar/gud-until.pbm,
4138 toolbar/gud-next.pbm, toolbar/gud-print.pbm, toolbar/gud-remove.pbm,
4139 toolbar/gud-run.pbm, toolbar/gud-step.pbm, toolbar/gud-up.pbm:
4140 Correct size for cleaner bitmaps.
4142 2003-05-03 Stefan Monnier <monnier@cs.yale.edu>
4144 * emacs-lisp/cl-extra.el (cl-map-keymap): Redefine as alias.
4145 (cl-map-keymap-recursively): Use map-keymap.
4146 (cl-macroexpand-all): Don't quote functions.
4148 * emacs-lisp/lucid.el (cl-map-keymap): Be careful with aliases.
4150 * emacs-lisp/advice.el (ad-get-enabled-advices, ad-special-forms)
4151 (ad-arglist, ad-subr-arglist): Use push and match-string.
4152 (ad-make-advised-docstring): Extract & reinsert the usage info.
4154 * help-fns.el (help-add-fundoc-usage): Allow arglist to be a string.
4156 2003-05-03 Nick Roberts <nick@nick.uklinux.net>
4158 * gdb-ui.el (breakpoint-enabled-icon, breakpoint-disabled-icon):
4159 Include bitmap data for monochrome display.
4160 (breakpoint-enabled-pbm-data, breakpoint-disabled-pbm-data):
4163 2003-05-03 Richard M. Stallman <rms@gnu.org>
4165 * emacs-lisp/autoload.el (update-directory-autoloads): Renamed from
4166 update-autoloads-from-directories.
4168 * progmodes/cperl-mode.el (cperl-nonoverridable-face): Doc fix.
4170 * mail/sendmail.el (mail-dont-send, mail-bury): Make ARG optional.
4172 * view.el (Helper-return-blurb): Add defvar. (Also rearrange defuns.)
4174 * uniquify.el (uniquify-ignore-buffers-re): Change default
4175 to match some Gnus buffers.
4177 * newcomment.el (comment-search-forward): Add autoload cookie.
4179 * isearch.el (isearch-complete): Update isearch-message.
4181 * filesets.el (filesets-data): Add another defvar.
4182 (filesets-verbosity): Doc fix.
4184 2003-05-02 Tak Ota <Takaaki.Ota@am.sony.com> (tiny change)
4186 * recentf.el (recentf-cleanup): Swap tests for exclusion and
4189 2003-05-01 Eduardo Mu
\e,Aq
\e(Boz <emufer@terra.es> (tiny change)
4191 * ls-lisp.el (ls-lisp-format-file-size): New function to implement
4193 (ls-lisp-format): Use it.
4195 2003-05-01 Kenichi Handa <handa@m17n.org>
4197 * international/utf-8.el (utf-translate-cjk-mode): Update the
4198 second extra slot of the translation table
4199 utf-translation-table-for-encode.
4200 (mule-utf-8): Set the property translation-table-for-encode.
4202 2003-04-30 Stefan Monnier <monnier@cs.yale.edu>
4204 * pcvs.el (cvs-vc-command-advice): Don't parse "cvs update -p" output.
4205 (cvs-mode-find-file): Don't complain if bound to a non-mouse event.
4207 * textmodes/fill.el (text-property-default-nonsticky): Add fill-space.
4208 (fill-delete-newlines): Respect the new property.
4209 (fill-newline): Use the property instead of leaving "spurious" spaces.
4211 * emacs-lisp/easymenu.el (easy-menu-get-map): Correctly handle
4212 non-submap bindings.
4214 2003-04-30 Emmanuel Briot <briot@gnat.com>
4216 * progmodes/ada-mode.el (ada-search-directories): Take into account
4217 ADA_INCLUDE_PATH for better compatibility with GNAT.
4218 (ada-contextual-menu): Menu defined through `easy-menu-define'
4219 instead. Various adjustments to the indentation engine (handling of
4220 subtypes, begin blocks, etc.).
4221 (ada-create-menu): Major rewrite of the handling of menus to use
4222 `easy-menu-define' for cleaner code and better compatibility with
4223 XEmacs. All menus that were previously in ada-xref.el and
4224 ada-prj.el are now defined in this package, which makes it easier to
4226 (ada-narrow-to-defun): Add support for `narrow-to-region'.
4227 No longer explicitely load ada-xref.el and ada-prj.el. Use autoload
4230 * progmodes/ada-xref.el (ada-gnatls-args): New variable.
4231 Add support for specifying arguments to gnatls.
4232 (ada-initialize-runtime-library): Properly parse "." in the output
4234 (ada-add-keymap): Remove since this is now done in ada-mode.el itself.
4235 (ada-add-ada-menu): Likewise.
4236 (ada-set-default-project-file): New parameter KEEP-EXISTING.
4237 (ada-prj-find-prj-file): New parameter FILE.
4238 (ada-parse-prj-file): Take into account the ADA_INCLUDE_PATH and
4239 ADA_OBJECTS_PATH environment variables. Minor reorganization of the
4241 (ada-get-all-references): Add support for GNAT 3.16 cross-references.
4243 * progmodes/ada-prj.el (ada-prj-add-keymap): Move to ada-mode.el
4244 directly. Add dependency on ada-xref.el to avoid compilation
4246 (ada-prj-get-prj-dir): Remove, no longer needed.
4248 * progmodes/ada-stmt.el (ada-stmt-add-to-ada-menu):
4249 Move to ada-mode.el.
4250 (ada-template-map): Merge with the keymap handling in ada-mode.el.
4252 2003-04-29 Stefan Monnier <monnier@cs.yale.edu>
4254 * isearch.el (isearch-complete1): Don't allocate unnecessarily.
4255 (isearch-complete-edit): Adjust to Emacs-21's new minibuffer handling.
4256 (isearch-update-ring): Use push.
4258 2003-04-29 Oliver Scholz <epameinondas@gmx.de>
4260 * play/gamegrid.el: Added a comment explaining the various ways to
4261 save a game score on POSIX systems.
4262 (gamegrid-add-score-with-update-game-score): Use `cond' instead of
4263 `if'. Provide for the case that FILE is an absolute filename.
4264 Create the directory "$HOME/.emacs.d/games", if necessary.
4266 2003-04-29 John Paul Wallington <jpw@gnu.org>
4268 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Use `string-match'.
4270 2003-04-28 Dave Love <fx@gnu.org>
4272 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Avoid cl warnings
4275 2003-04-28 Kenichi Handa <handa@m17n.org>
4277 * international/mule-cmds.el (reset-language-environment):
4278 Raise the priority of mule-utf-8, mule-utf-16-be-with-signature and
4279 mule-utf-16-le-with-signature.
4281 * international/mule-conf.el: Set coding-category-utf-16-be to
4282 mule-utf-16-be-with-signature, coding-category-utf-16-le to
4283 mule-utf-16-le-with-signature. Raise the priority of
4284 coding-category-utf-8, coding-category-utf-16-be, and
4285 coding-category-utf-16-le
4287 2003-04-27 Luc Teirlinck <teirllm@mail.auburn.edu>
4289 * scroll-bar.el (scroll-bar-drag-1): Replace beginning-of-line with
4292 2003-04-27 David Ponce <david@dponce.com>
4296 Major rewrite. The code is reordered, cleaner and faster.
4297 Introduce new options to automatically cleanup the recent list,
4298 and to handle filename transformation (for example to use true
4301 (recentf-version): New constant.
4302 (recentf-save-file-header): Move.
4303 (recentf-data-cache): New variable.
4304 (recentf-update-menu-p, recentf-initialized-p): Remove.
4305 (recentf-menu-customization-changed): Move. Doc fix.
4306 (recentf-max-saved-items): Doc fix.
4307 (recentf-save-file): Doc fix. No more expand filename here.
4308 (recentf-exclude, recentf-menu-action)
4309 (recentf-menu-filter): Doc fix.
4310 (recentf-menu-append-commands-flag): Rename from...
4311 (recentf-menu-append-commands-p): Make obsolete.
4312 (recentf-keep-non-readable-files-flag): Rename from...
4313 (recentf-keep-non-readable-files-p): Make obsolete.
4314 (recentf-auto-cleanup, recentf-filename-handler): New options.
4315 (recentf-string-equal, recentf-string-lessp)
4316 (recentf-string-member): New functions.
4317 (recentf-trunc-list): Move.
4318 (recentf-dump-variable): Move. Better code and output format.
4319 (recentf-auto-cleanup-timer): New variable.
4320 (recentf-auto-cleanup): New function.
4321 (recentf-push, recentf-expand-file-name): New functions.
4322 (recentf-add-file): In-line. Use above functions.
4323 (recentf-remove-if-non-readable): In-line. Expand file name.
4324 (recentf-find-file): Use `recentf-remove-if-non-readable'.
4325 (recentf-directory-compare): Move. Use `recentf-string-equal'
4326 and `recentf-string-lessp' to do comparisons.
4327 (recentf-menu-items-for-commands)
4328 (recentf-menu-filter-commands): Move.
4329 (recentf-elements, recentf-make-menu-element)
4330 (recentf-menu-element-item, recentf-menu-element-value)
4331 (recentf-set-menu-element-item, recentf-set-menu-element-value)
4332 (recentf-sub-menu-element-p, recentf-make-default-menu-element)
4333 (recentf-menu-elements): In-line. Some doc fix.
4334 (recentf-apply-menu-filter): Better code.
4335 (recentf-make-menu-items): Doc fix.
4336 Use `recentf-menu-append-commands-flag'.
4337 (recentf-make-menu-item): In-lined. Better code.
4338 (recentf-clear-data): New function.
4339 (recentf-sort-ascending, recentf-sort-descending)
4340 (recentf-sort-basenames-ascending)
4341 (recentf-sort-basenames-descending)
4342 (recentf-sort-directories-ascending)
4343 (recentf-sort-directories-descending)
4344 (recentf-show-basenames-ascending)
4345 (recentf-show-basenames-descending: In-line. Better code. Doc fix.
4346 (recentf-show-basenames)
4347 (recentf-relative-filter): Better code. Doc fix.
4348 (recentf-arrange-by-rule-subfilter): Doc fix. Improve :set code.
4349 (recentf-match-rule-p): Use filename instead of file-path.
4350 (recentf-arrange-by-rule, recentf-build-mode-rules)
4351 (recentf-arrange-by-mode, recentf-build-dir-rules)
4352 (recentf-file-name-nondir)
4353 (recentf-filter-changer-alist): Some doc fix and code cleanup.
4354 (recentf-filter-changer-goto-next): Doc fix.
4355 Call `recentf-clear-data'.
4356 (recentf-filter-changer-get-current)
4357 (recentf-filter-changer-get-next): In-line. Doc fix and better code.
4358 (recentf-filter-changer): Doc fix and better code.
4359 (recentf-cancel-dialog): Doc fix.
4360 (recentf-dialog-mode-map): Initialize in defvar.
4361 (recentf-dialog-mode): Doc fix.
4362 (recentf-track-opened-file): Rename from...
4363 (recentf-add-file-hook): Remove.
4364 (recentf-track-closed-file): Rename from...
4365 (recentf-remove-file-hook): Remove.
4366 (recentf-update-menu-hook): Remove. Replace by...
4367 (recentf-update-menu): New. Better catch unnecessary updates.
4368 Display a message on error.
4369 (recentf-used-hooks): New constant.
4370 (recentf-enabled-p): New function.
4371 (recentf-edit-selected-items)
4372 (recentf-open-files-action)
4373 (recentf-open-files-item-shift): Doc fix.
4374 (recentf-edit-list-action)
4375 (recentf-open-files-item): Doc fix. Code cleanup.
4376 (recentf-edit-list, recentf-open-files)
4377 (recentf-open-more-files): Likewise. Remove autoload cookie.
4378 (recentf-save-list, recentf-cleanup): Likewise. Move.
4379 (recentf-load-list): New command.
4380 (recentf-mode): Better code. Does nothing if enabling the already
4383 2003-04-27 Alan Mackenzie <acm@muc.de>
4385 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Don't count a "//("
4386 which appears inside a character set.
4387 (regexp-opt-not-groupie*-re): New constant.
4389 2003-04-26 John Paul Wallington <jpw@gnu.org>
4391 * ibuffer.el (ibuffer-name-map, ibuffer-mode-name-map)
4392 (ibuffer-mode-filter-group-map): Initialize in `defvar'.
4393 (ibuffer-do-view-1): Use `make-frame' instead of `new-frame'.
4395 2003-04-25 Jan Nieuwenhuizen <janneke@gnu.org>
4397 * info.el (Info-unescape-quotes, Info-split-parameter-string)
4398 (Info-display-images-node): New functions for displaying images.
4399 (Info-select-node): Call Info-display-images-node.
4401 2003-04-25 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
4403 * files.el (file-relative-name): Recognize "c:/foo" as absolute
4404 file name. Tiny change from David PONCE <david.ponce@wanadoo.fr>.
4406 2003-04-24 Sam Steingold <sds@gnu.org>
4408 * calendar/diary-lib.el (fancy-diary-display-mode): Bind "q" to
4409 `quit-window' in the fancy diary buffer.
4411 * emacs-lisp/cl-indent.el: `symbol-macrolet' is similar to `let',
4412 not `multiple-value-bind'.
4414 2003-04-24 Lars Hansen <larsh@math.ku.dk>
4416 * subr.el (assq-delete-all): Ignore non-cons elements.
4418 2003-04-24 John Paul Wallington <jpw@gnu.org>
4420 * help-mode.el (help-make-xrefs): Remove extra paren.
4422 2003-04-23 Stefan Monnier <monnier@cs.yale.edu>
4424 * newcomment.el (comment-normalize-vars): Prompt the user for
4425 the comment-start to use rather than signalling an error. Fix regexp.
4426 (uncomment-region): Don't leave half-removed comment markers.
4428 2003-04-23 Richard M. Stallman <rms@gnu.org>
4430 * mail/sendmail.el (mail-send-and-exit): Make arg optional.
4432 * files.el (view-read-only): Doc fix.
4434 * simple.el (back-to-indentation): Call backward-prefix-chars.
4436 * help-mode.el (help-make-xrefs): Clean up the loop that scans
4437 over a keymap inserted by \\{...}; it now stops at end of buffer.
4439 * filesets.el: Don't call filesets-init.
4441 * emacs-lisp/bytecomp.el (byte-compile-defun): Generate and
4442 compile a defalias form, unless byte-compile-compatibility.
4444 * progmodes/scheme.el (scheme-mode-syntax-table):
4445 Use prefix syntax for ', `, comma, @ and #.
4447 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4448 Give @ prefix syntax.
4450 2003-04-23 Andre Spiegel <spiegel@gnu.org>
4452 * vc-cvs.el (vc-cvs-stay-local): Keep the old default.
4453 Simplify doc string.
4455 2003-04-23 Wolfgang Scherer <wolfgang.scherer@gmx.de>
4457 * vc-cvs.el (vc-cvs-stay-local): Allow lists of host regexps.
4458 (vc-cvs-stay-local-p): Handle them.
4459 (vc-cvs-parse-root): New function, used by the above.
4461 2003-04-22 Stefan Monnier <monnier@cs.yale.edu>
4463 * vc-mcvs.el (vc-mcvs-root): Cache the result.
4464 (vc-mcvs-registered): Simplify. Use file-relative-name.
4465 (vc-mcvs-register): Simplify. Don't burp if MCVS/TYPES doesn't exist.
4466 (vc-mcvs-command): Filter F-NN names in the output for diff and log.
4468 2003-04-21 Stefan Monnier <monnier@cs.yale.edu>
4470 * info.el (Info-default-dirs): New fun extracted from Info-initialize.
4471 (info-initialize): Use it. Obey the "final :" convention for INFOPATH.
4473 * textmodes/fill.el (fill-region-as-paragraph):
4474 Fix "last line goes to fill-column+1" problem.
4476 * emacs-lisp/bytecomp.el (byte-compile-defvar): Improve message.
4478 2003-04-20 Richard M. Stallman <rms@gnu.org>
4480 * simple.el (kill-line): Doc fix.
4482 2003-04-20 Sam Steingold <sds@gnu.org>
4484 * pcvs.el (cvs-examine): Respect `find-file-visit-truename'.
4486 2003-04-20 Glenn Morris <gmorris@ast.cam.ac.uk>
4488 * which-func.el (which-func-modes): Add f90-mode.
4489 (which-function): Handle imenu submenus.
4491 * progmodes/fortran.el (fortran-abbrev-start): Make XEmacs compatible.
4493 * progmodes/f90.el (f90-font-lock-keywords-2): Use override for
4494 font-lock-variable-name-face in declarations.
4495 Highlight continuation characters.
4496 (f90-indent-new-line): Remove direct call to f90-indent-line-no,
4498 (f90-abbrev-start): Fix XEmacs compatibility.
4500 2003-04-19 Stefan Monnier <monnier@cs.yale.edu>
4502 * vc-mcvs.el: New file.
4504 * vc-cvs.el (vc-cvs-dir-state): Use vc-cvs-command.
4505 (vc-cvs-could-register, vc-cvs-make-version-backups-p): Use defalias.
4506 (vc-cvs-merge-news): Simplify.
4507 (vc-cvs-diff): Remove unused var `options'.
4508 (vc-cvs-parse-entry): Use the same algorithm as cvs does.
4510 2003-04-19 Richard M. Stallman <rms@gnu.org>
4512 * desktop.el (desktop-buffer-mh): Don't require mh-e;
4513 it causes trouble in compilation.
4515 * add-log.el (add-log-current-defun-function): Add autoload cookie.
4517 * newcomment.el (comment-use-syntax): Add autoload cookie.
4519 * emacs-lisp/bytecomp.el (byte-compile-log-file)
4520 (byte-recompile-directory): Don't use byte-goto-log-buffer.
4521 Instead, set default-directory and then call compilation-mode.
4522 (byte-compile-from-buffer): Force byte-compile-last-position
4523 to end of buffer before issuing final warnings.
4525 2003-04-18 Stefan Monnier <monnier@cs.yale.edu>
4527 * emulation/cua-base.el (cua-mode): Use define-minor-mode.
4528 (cua-global-mark-face): Fix face format.
4530 * emacs-lisp/easy-mmode.el (define-minor-mode): Only echo a message
4531 if the body didn't do so already.
4532 (easy-mmode-define-keymap): Remove unused var `suppress'.
4534 * view.el (view-read-only): Move to files.el.
4535 * files.el (view-read-only): Move from view.el.
4537 2003-04-17 Stefan Monnier <monnier@cs.yale.edu>
4539 * files.el (view-read-only): Don't declare a second time.
4540 (find-file-read-only, find-file-read-only-other-window)
4541 (find-file-read-only-other-frame): Check that file does exist.
4542 (large-file-warning-threshold): New custom.
4543 (find-file-noselect): Use it.
4544 (report-errors): New macro.
4545 (normal-mode): Use it.
4546 (toggle-read-only): Really toggle, even if view-mode is on.
4547 (parse-colon-path): Remove unused `cd-prefix' var.
4548 (make-backup-file-name-1): Remove unused `failed' var.
4549 (basic-save-buffer): Remove unused `tempsetmodes' var.
4550 (basic-save-buffer-2): Remove unused `temp' var.
4551 (insert-directory): Remove unused `available' var.
4553 2003-04-17 John Paul Wallington <jpw@gnu.org>
4555 * hexl.el (hexl-find-file): Bind `default-major-mode' to
4558 2003-04-16 Stefan Monnier <monnier@cs.yale.edu>
4560 * reveal.el (reveal-post-command): Use overlay-get for overlays.
4562 2003-04-16 Kenichi Handa <handa@m17n.org>
4564 * international/mule-cmds.el (describe-language-environment):
4565 At first, require all necessary features.
4567 2003-04-16 Dave Love <fx@gnu.org>
4569 * progmodes/xscheme.el: Moved from lisp directory.
4571 2003-04-16 Glenn Morris <gmorris@ast.cam.ac.uk>
4573 * progmodes/f90.el (f90-indent-to, f90-indent-line-no)
4574 (f90-no-block-limit, f90-end-of-block, f90-beginning-of-block)
4575 (f90-comment-region, f90-indent-line, f90-indent-region)
4576 (f90-find-breakpoint, f90-block-match): Trivial simplifications.
4577 (f90-looking-at-do, f90-looking-at-select-case)
4578 (f90-looking-at-if-then, f90-looking-at-where-or-forall):
4579 Drop XEmacs 19 support and simplify.
4580 (f90-indent-new-line): No need for case-fold-search. Simplify.
4581 (f90-fill-region): Make marker nil when done. Simplify.
4583 * progmodes/fortran.el (fortran-column-ruler): Minor doc change.
4585 2003-04-16 Richard M. Stallman <rms@gnu.org>
4587 * man.el (Man-follow-manual-reference): Don't require match
4588 when calling completing-read.
4590 2003-04-15 Glenn Morris <gmorris@ast.cam.ac.uk>
4592 * progmodes/fortran.el: Whitespace changes, some re-ordering of
4593 code, trivial commentary change.
4594 (fortran, fortran-indent, fortran-comment)
4595 (fortran-tab-mode-default, fortran-continuation-indent)
4596 (fortran-comment-indent-style, fortran-blink-matching-if)
4597 (fortran-continuation-string, fortran-electric-line-number)
4598 (fortran-break-before-delimiters, fortran-mode-hook)
4599 (fortran-end-prog-re, fortran-imenu-generic-expression):
4601 (fortran-tab-mode-minor-mode-string): New variable.
4602 (fortran-tab-mode-string): Now customization is meaningful.
4603 (fortran-column-ruler-fixed, fortran-column-ruler-tab)
4604 (fortran-analyze-depth): Use defcustom.
4605 (fortran-if-start-re, fortran-end-prog-re1, fortran-fill)
4606 (fortran-break-line, fortran-prepare-abbrev-list-buffer)
4607 (fortran-auto-fill): Add doc string.
4608 (fortran-type-types): New constant (was local to let binding).
4609 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
4610 (fortran-font-lock-syntactic-keywords): Initialize in defvar.
4611 (fortran-font-lock-keywords-3): Initialize in defvar. Use 1+ now
4612 depth of fortran-type-types has changed. Remove extra and.
4613 (fortran-mode-menu): Minor re-organization. Use lookup-key.
4614 (fortran-mode): Doc changes. Some re-organization.
4615 Use fortran-tab-mode-minor-mode-string.
4616 (fortran-comment-indent): Add doc string. Move save-excursion.
4618 (fortran-indent-comment, fortran-fill-statement):
4619 Change interactive spec. Use unless.
4620 (fortran-comment-region): Doc change. Reverse logic of arg
4622 (fortran-abbrev-start, fortran-split-line)
4623 (fortran-electric-line-number, fortran-indent-subprogram)
4624 (fortran-strip-sequence-nos): Change interactive spec.
4625 (fortran-remove-continuation): Add doc string. Use when.
4626 (fortran-numerical-continuation-char): Doc change. Use 1+.
4627 (fortran-previous-statement, fortran-next-statement)
4628 (fortran-beginning-do, fortran-calculate-indent)
4629 (fortran-end-do, fortran-end-if, fortran-beginning-if):
4631 (fortran-blink-match, fortran-check-for-matching-do): Use when.
4632 (fortran-indent-line): Change interactive spec. Remove un-needed
4634 (fortran-indent-to-column): Doc change. Use when, unless.
4635 (fortran-find-comment-start-skip): No longer interactive.
4636 (fortran-analyze-file-format): Minor doc change.
4637 Remove un-needed setq.
4638 (minor-mode-alist): Use add-to-list.
4639 (fortran-fill-paragraph): Change interactive spec, doc string.
4641 * progmodes/f90.el: Whitespace changes, trivial commentary changes.
4642 (f90, f90-indent, f90-program-indent, f90-continuation-indent)
4643 (f90-indented-comment-re, f90-imenu-generic-expression)
4644 (f90-mark-subprogram, f90-join-lines): Minor doc changes.
4645 (f90-menu): Shift definition to initialization of f90-mode-map.
4646 Add customization section.
4647 (f90-mode): Minor doc change. Do not call easy-menu-add.
4648 Set `beginning-of-defun-function' and `end-of-defun-function' to
4649 appropriate F90 functions.
4650 (f90-indent-line, f90-indent-line, f90-indent-subprogram)
4651 (f90-break-line, f90-do-auto-fill, f90-insert-end)
4652 (f90-upcase-keywords, f90-capitalize-keywords)
4653 (f90-downcase-keywords): Change interactive spec.
4655 2003-04-14 Stefan Monnier <monnier@cs.yale.edu>
4657 * font-lock.el (font-lock-multiline, font-lock-fontified)
4658 (font-lock-set-defaults): Move back from font-core.el and merge
4659 it back with font-lock-set-defaults-1.
4660 (font-lock-mode-internal): New function (basically the body of
4661 the old font-lock-mode minor mode).
4663 * font-core.el (font-lock-maximum-size, font-lock-verbose): Remove.
4664 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
4665 Move back to font-lock.el
4666 (font-lock-default-function): Use font-lock-mode-internal.
4668 * files.el (auto-mode-alist): Add entries for *.ins and *.dtx.
4669 (recover-file): Abbreviate file name in messages.
4671 * textmodes/tex-mode.el (latex-mode-map): Bind latex-split-block.
4672 (tex-font-lock-keywords-2): Comment out unused var `type'.
4673 (tex-guess-mode): New name for old `tex-mode'.
4674 (tex-mode): Make it a derived mode of text-mode.
4675 (plain-tex-mode, latex-mode): Change parent from text-mode to tex-mode.
4676 (tex-common-initialization): Don't setup syntax-table any more.
4677 (tex-validate-buffer): Remove unused var `oend'.
4678 Use with-current-buffer and line-beginning-position.
4679 (tex-recenter-output-buffer): Remove unused var `old-buffer'.
4680 (latex-indent): Return `noindent' if no indentation can happen.
4681 (doctex-font-lock-^^A, doctex-font-lock-syntactic-face-function)
4682 (doctex-font-lock-syntactic-keywords, doctex-font-lock-keywords)
4683 (doctex-mode): New funs for DocTeX mode, derived from LaTeX mode.
4685 * font-lock.el (font-lock-preprocessor-face): New var and face.
4687 2003-04-14 Andrew Choi <akochoi@shaw.ca>
4689 * term/mac-win.el: Unconditionally set process-connection-type to nil.
4691 2003-04-14 Richard M. Stallman <rms@gnu.org>
4693 * derived.el (define-derived-mode): Make generated code work in
4694 Emacs versions that do not have run-mode-hooks.
4696 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
4697 At end of buffer, run the global binding of the same key.
4699 * international/mule.el (after-insert-file-set-coding):
4700 Properly treat INSERTED as number of characters, for both
4701 for both the argument and the value.
4703 * desktop.el (desktop-base-file-name):
4704 Renamed from desktop-basefilename. Add defvaralias.
4706 2003-04-14 John Paul Wallington <jpw@gnu.org>
4708 * international/fontset.el (create-fontset-from-ascii-font): Doc fix.
4709 (x-must-resolve-font-name): Fix error message typo.
4711 2003-04-13 Glenn Morris <gmorris@ast.cam.ac.uk>
4713 * progmodes/fortran.el (fortran-previous-statement): Check for
4714 fortran-continuation-string.
4715 (fortran-calculate-indent): Do not add extra whitespace to
4716 strings broken over lines.
4717 (fortran-fill): Handle long strings that must be broken.
4719 2003-04-13 Michael Albinus <Michael.Albinus@alcatel.de> (tiny change)
4721 * net/ange-ftp.el (ange-ftp-expand-symlink): If result of
4722 expansion is a symlink, expand again.
4723 (ange-ftp-file-symlink-p): Return target of symlink literally.
4725 2003-04-13 Masatake YAMATO <jet@gyve.org>
4727 * bindings.el (toplevel): Don't change the face
4728 of major-mode on the mode line. Setting the face on
4729 the mode line code is installed by my mistake in
4732 2003-04-12 Stefan Monnier <monnier@cs.yale.edu>
4734 * add-log.el (change-log-version-number-search): Fix old bug.
4735 (add-change-log-entry): Avoid inserting the same funname again.
4736 (add-log-indent-text): New var.
4737 (add-log-indent): New fun.
4738 (change-log-mode): Use it.
4740 * net/browse-url.el: Don't autoload all these defcustoms.
4741 (browse-url-default-macosx-browser): New fun.
4742 (browse-url-browser-function): Use it for system-type = darwin.
4743 (browse-url-usr1-signal): Remove.
4744 (browse-url-mosaic): Use SIGUSR1 directly instead.
4745 (browse-url-gnome-moz-program): New var.
4746 (browse-url-gnome-moz, browse-url-default-browser): Use it.
4748 * emacs-lisp/bytecomp.el: Use push, with-current-buffer, dolist, ...
4749 (byte-compile-const-variables): New var.
4750 (byte-compile-close-variables): Reset it.
4751 (byte-compile-file-form-defvar, byte-compile-defvar): Update it.
4752 (byte-compile-const-symbol-p): Now arg `value' to check defconsts.
4753 (byte-compile-variable-ref): Use it and improve warning message.
4754 (byte-compile-check-lambda-list): Use byte-compile-const-symbol-p.
4755 (byte-compile-lapcode): Remove unused vars.
4756 (byte-compile-eval): Fix thinko in handling of old-autoloads.
4757 (byte-recompile-directory): Use the expanded form for directory.
4758 (byte-compile-track-mouse): Use modern backquote syntax.
4759 (byte-compile-defvar): Detect and properly handle (defconst a).
4760 (byte-compile-defalias-warn): Remove unused arg `alias'.
4761 (byte-compile-defalias): Update call.
4763 2003-04-13 Masatake YAMATO <jet@gyve.org>
4765 * help.el (describe-minor-mode): New function implementation.
4766 Accept both minor mode string and minor mode indicator.
4767 (describe-minor-mode-completion-table-for-indicator)
4768 (describe-minor-mode-completion-table-for-symbol): New functions.
4769 minor-mode-list is used here.
4770 (describe-minor-mode-from-symbol):
4771 Renamed from (old) describe-minor-mode.
4772 Use describe-minor-mode-completion-table-for-symbol.
4773 Don't use eval. Just use symbol-name.
4774 (describe-minor-mode-from-indicator): Document is updated.
4775 Use `format-mode-line'.
4776 Use describe-minor-mode-from-symbol instead of describe-minor-mode.
4777 Use describe-minor-mode-completion-table-for-indicator.
4778 (expand-minor-mode-indicator-object): Remove.
4779 (lookup-minor-mode-from-indicator): Remove the fist white
4780 space from both indicator and anindicator before comparing them.
4782 * bindings.el (mode-line-major-mode-keymap)
4783 (mode-line-minor-mode-keymap): Define keys for the maps
4786 2003-04-12 Stefan Monnier <monnier@cs.yale.edu>
4788 * server.el (server-socket-name): Use new safe location for socket.
4789 (server-ensure-safe-dir): New fun.
4790 (server-start): Use it and letf.
4791 (server-process-filter): Re-enable the -eval feature.
4793 2003-04-12 Glenn Morris <gmorris@ast.cam.ac.uk>
4795 * play/gomoku.el (gomoku-buffer-name): New constant.
4796 (gomoku-mode): Doc fix. Add call to kill-all-local-variables.
4797 (gomoku): Do not call gomoku-switch-to-window directly.
4798 (gomoku-prompt-for-other-game): Throw an error if no new game.
4799 (gomoku-switch-to-window): Use gomoku-buffer-name.
4801 * progmodes/f90.el (f90-abbrev-start): Only offer help if
4802 abbrev-mode is active.
4803 (f90-join-lines): Make it behave more like standard join-line.
4804 (f90-fill-region, f90-menu): Adapt for new f90-join-lines.
4806 * progmodes/fortran.el (fortran-abbrev-start): Only offer help if
4807 abbrev-mode is active.
4809 2003-04-12 John Paul Wallington <jpw@gnu.org>
4811 * help-fns.el (help-add-fundoc-usage): Pass an empty string to
4812 `format' if no newlines are necessary.
4814 2003-04-11 Stefan Monnier <monnier@cs.yale.edu>
4816 * bindings.el (global-map): Bind [select-window].
4818 2003-04-11 John Paul Wallington <jpw@gnu.org>
4820 * type-break.el (type-break-warning-countdown-string): Doc fix.
4822 2003-04-11 ARISAWA Akihiro <ari@mbf.sphere.ne.jp> (tiny change)
4824 * international/utf-8.el (utf-translate-cjk-mode): Fix incorrect
4825 place of parenthesis.
4827 2003-04-11 Masatake YAMATO <jet@gyve.org>
4829 * progmodes/etags.el (select-tags-table-mode-map):
4830 Don't create new keymap. Instead copy from button-buffer-map.
4831 Bind push-button to `t' instead of binding
4832 select-tags-table-select directly
4833 (tags-select-tags-table): New button.
4834 (select-tags-table): Put a button for each selections.
4836 2003-04-11 Kenichi Handa <handa@m17n.org>
4838 * international/mule.el:
4839 Don't set after-insert-file-adjust-coding-function.
4840 (after-insert-file-set-coding):
4841 Renamed from after-insert-file-set-buffer-file-coding-system.
4843 2003-04-11 Kenichi Handa <handa@m17n.org>
4845 * international/quail.el (quail-guidance-str)
4846 (quail-guidance-frame): New variables.
4847 (quail-guidance-win): Delete this variable.
4848 (quail-setup-overlays): Make overlay not rear-advancing.
4849 (quail-kill-guidance-buf): Delete this function.
4850 (quail-activate): Add/remove quail-show-guidance to/from
4852 (quail-input-method): Don't setup quail-guidance-buf.
4853 Initialize quail-guidance-str to "".
4854 (quail-start-translation): Call quail-show-guidance at first.
4855 (quail-start-conversion): Likewise.
4856 (quail-terminate-translation): Don't erase quail-guidance-buf.
4857 (quail-update-translation): Stretch overlays if their starting and
4858 ending positions are same.
4859 (quail-update-current-translations): Check the width of the
4860 current window, not the width of quail-guidance-win.
4861 (quail-make-guidance-frame): Delete the arg BUF. Fix position
4862 calculation. Don't set the window buffer, just return the new frame.
4863 (quail-minibuffer-message): New function.
4864 (quail-show-guidance): Renamed from quail-show-guidance-buf.
4865 Use message and quail-minibuffer-message to display the guidance.
4866 (quail-hide-guidance): Renamed from quail-hide-guidance-buf.
4867 Only delete quail-guidance-frame.
4868 (quail-update-guidance): Just update quail-guidance-str, not
4870 (quail-get-translations): Renamed from quail-show-translations.
4871 Return a string instead of inserting it in quail-guaidance-buf.
4873 2003-04-11 Kenichi Handa <handa@m17n.org>
4875 * international/mule-cmds.el (sort-coding-systems): Set lower
4876 priority to a utf-16 base coding system. Set higher priority to a
4877 coding system listed in coding-category-list.
4879 2003-04-10 Juanma Barranquero <lektu@terra.es>
4881 * frame.el (modify-all-frames-parameters): Deleted.
4883 2003-04-10 Sebastian Tennant <seb@albert.vcisp.net> (tiny change)
4885 * desktop.el (desktop-buffer-file): Restore major-mode if it is
4886 different from the normal mode.
4888 2003-04-10 Kenichi Handa <handa@m17n.org>
4890 * international/mule.el:
4891 Set after-insert-file-adjust-coding-function to
4892 after-insert-file-set-buffer-file-coding-system instead of adding
4893 it to after-insert-file-functions.
4895 * language/ind-util.el (indian-2-column-to-ucs-region): Fix for
4896 the case of replacing multibyte characters.
4898 2003-04-09 Richard M. Stallman <rms@gnu.org>
4900 * files.el (file-chase-links): Fix previous change.
4902 2003-04-09 Juanma Barranquero <lektu@terra.es>
4904 * frame.el (new-frame): Add obsolescence declaration.
4906 2003-04-09 Ehud Karni <ehud@unix.mvs.co.il>
4908 * frame.el (set-frame-font): Allow keeping frame size after
4910 (modify-all-frames-parameters): New function to change parameters
4911 in all existing and future frames.
4913 2003-04-09 Thien-Thi Nguyen <ttn@gnu.org>
4915 * man.el (Man-heading-regexp): Accept hyphen.
4917 2003-04-09 Kenichi Handa <handa@m17n.org>
4919 * international/fontset.el: Specify rescale ratio 1.3 for CDAC fonts.
4921 * international/mule-conf.el: Register ?\221 and ?\226 in
4922 latin-extra-code-table.
4924 2003-04-08 Richard M. Stallman <rms@gnu.org>
4926 * subr.el (minor-mode-list): New variable.
4927 (add-minor-mode): Add to it.
4929 * files.el (file-chase-links): New arg LIMIT.
4930 After that many iterations, just return what we've got.
4932 * map-ynp.el (map-y-or-n-p): When formatting chars in ACTION-ALIST,
4933 use single-key-description.
4935 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
4936 At end of buffer, just call `newline'.
4938 * mail/rmailsum.el (rmail-make-basic-summary-line): If there's
4939 no From field, still try to use the To field.
4941 2003-04-09 Kenichi Handa <handa@m17n.org>
4943 * international/mule-diag.el (print-coding-system-briefly):
4944 If DOC-STRING is `tightly', print the doc-string tightly.
4945 (list-coding-systems-1): Sort coding systems.
4946 Call print-coding-system-briefly with the arg DOC-STRING `tightly'.
4948 2003-04-08 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
4950 * net/tramp.el: Version 2.0.33 released.
4951 Change coding cookie to `iso-2022-7bit' for XEmacs
4952 compatibility. (From Steve Youngs <youngs@xemacs.org>.)
4954 2003-04-08 Michael Albinus <Michael.Albinus@alcatel.de>
4956 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
4957 Do not disable file name handlers for `file-exists-p' and
4960 2003-04-08 Kenichi Handa <handa@m17n.org>
4962 * international/mule-conf.el: Register ?\225 in latin-extra-code-table.
4964 * international/utf-16.el (utf-16-le-decode-loop)
4965 (utf-16-be-decode-loop): New temporary variables.
4966 (ccl-decode-mule-utf-16-le): Use utf-16-le-decode-loop.
4967 (ccl-decode-mule-utf-16-be): Use utf-16-be-decode-loop
4968 (ccl-decode-mule-utf-16-le-with-signature)
4969 (ccl-decode-mule-utf-16-be-with-signature)
4970 (ccl-decode-mule-utf-16): New CCL programs.
4971 (utf-16-le-encode-loop, utf-16-be-encode-loop): New temporary
4973 (ccl-encode-mule-utf-16-le): Use utf-16-le-encode-loop.
4974 (ccl-encode-mule-utf-16-be): Use utf-16-be-encode-loop
4975 (ccl-encode-mule-utf-16-le-with-signature)
4976 (ccl-encode-mule-utf-16-be-with-signature): New CCL programs.
4977 (mule-utf-16-post-read-conversion): New function.
4978 (mule-utf-16-le-with-signature, mule-utf-16-be-with-signature),
4979 (mule-utf-16): New coding systems.
4980 (utf-16-le-with-signature, utf-16-be-with-signature),
4981 (utf-16): Aliases of the above coding systems.
4983 2003-04-08 Martin Stjernholm <bug-cc-mode@gnu.org>
4985 * progmodes/cc-langs.el (c-symbol-key): Use POSIX char classes
4986 to match symbols. This makes CC Mode cope with the full range
4987 of identifier characters in e.g. Java.
4989 2003-04-07 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
4991 * xt-mouse.el (xterm-mouse-event-read): New function.
4992 (xterm-mouse-event): Use it to get xterm sequences above #x7f.
4993 Suggested by Aman Bhargava <emacs-bug@amanb.net>.
4995 2003-04-07 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
4997 * man.el (Man-getpage-in-background): Set GROFF_NO_SGR env var in
4998 all cases, whether or not start-process is fboundp.
5000 2003-04-06 Richard M. Stallman <rms@gnu.org>
5002 * calendar/cal-menu.el (cal-menu-update): Use easy-menu-create-menu
5003 rather than easy-menu-change.
5005 * dired.el (dired-view-file): Let viewer program run asynchronously.
5007 2003-04-06 Ben North <ben@redfrontdoor.org> (tiny change)
5009 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
5010 Correct the starting point for previous-single-property-change.
5012 2003-04-06 Lars Hansen <larsh@math.ku.dk>
5014 * desktop.el: Handle multiple desktop files in different dirs.
5016 Command line option --no-desktop introduced.
5017 (desktop-read): Record buffers in the desktop file in
5018 the same order as that in the buffer list,
5019 (desktop-save): Put buffers in the order given in desktop file,
5020 regardless of what handlers do.
5021 (desktop-file-version): New variable. Version number of desktop
5023 (desktop-create-buffer-form): Variable deleted.
5024 (desktop-save): New customizable variable.
5025 (desktop-kill): Use `desktop-save'.
5026 (desktop-file-name-format): New option: format in
5027 which desktop file names should be saved.
5028 (desktop-file-name): New function to convert a filename to the
5029 format specified in `desktop-file-name-format'.
5030 (desktop-create-buffer): Parameters renamed to descriptive
5031 systematic names. These parameters are visible to handlers.
5033 ver -> desktop-file-version
5034 mim -> desktop-buffer-minor-modes
5035 pt -> desktop-buffer-point
5036 mk -> desktop-buffer-mark
5037 ro -> desktop-buffer-read-only
5038 locals -> desktop-buffer-locals
5039 (desktop-buffer-major-mode, desktop-buffer-file-name)
5040 (desktop-buffer-name): Delete unused customizable variables.
5041 (desktop-buffer-misc): Delete unused variable.
5042 (desktop-save, desktop-buffer-dired-misc-data):
5043 Use `desktop-file-name'.
5044 (desktop-path): New customizable variable. List of directories in
5045 which to lookup the desktop file. Replaces hardcoded list.
5046 (desktop-globals-to-clear): New variable replaces hardcoded list.
5047 (desktop-clear-preserve-buffers-regexp): New customizable variable.
5048 (desktop-after-read-hook): New hook run after a desktop is read.
5049 (desktop-no-desktop-file-hook): New hook when no desktop file found.
5050 (desktop-change-dir): New function.
5051 (desktop-save-in-load-dir): New function. Save desktop in
5052 directory from which it was loaded.
5053 (desktop-revert): New function. Revert to the last loaded desktop.
5055 2003-04-06 Masatake YAMATO <jet@gyve.org>
5057 * progmodes/etags.el (tag-find-file-of-tag): Renamed from
5058 find-file-of-tag to avoid name space pollution.
5059 (tag-find-file-of-tag-noselect): Likewise.
5060 (etags-list-tags, etags-tags-apropos):
5061 Use tag-find-file-of-tag instead of find-file-of-tag.
5063 2003-04-06 Masatake YAMATO <jet@gyve.org>
5065 * info.el (Info-goto-emacs-command-node): If command
5066 is given as a string, convert it to a symbol.
5068 2003-04-05 Kevin Ryde <user42@zip.com.au>
5070 * info-look.el (emacs-lisp-mode): Add prefix/suffix matching regexps.
5072 2003-04-05 Andre Spiegel <spiegel@gnu.org>
5074 * vc-cvs.el (vc-cvs-get-entries): New function that uses the
5075 right coding system for accessing CVS/Entries.
5076 (vc-cvs-registered, vc-cvs-dir-state-heuristic): Use it.
5078 2003-04-04 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5080 * subr.el (number-sequence): Adjust code.
5082 2003-04-04 Stefan Monnier <monnier@cs.yale.edu>
5084 * textmodes/refill.el (refill-fill-paragraph-at): Undo last fix.
5085 (refill-fill-paragraph-at): Don't skip prefix since markers work right.
5087 * textmodes/fill.el (fill-delete-newlines): Remove trailing whitespace.
5088 (fill-paragraph): Don't skip prefix now that markers work right.
5090 2003-04-04 John Paul Wallington <jpw@gnu.org>
5092 * ibuffer.el (ibuffer-insert-filter-group): `help-echo' text
5093 property dynamically respects `tooltip-mode'.
5094 (define-ibuffer-column name): Likewise.
5096 * ibuf-ext.el (ibuffer-format-filter-group-data): Don't append "\n".
5098 2003-04-04 Masatake YAMATO <jet@gyve.org>
5100 * progmodes/etags.el (find-file-of-tag-noselect, find-file-of-tag):
5101 New helper functions.
5102 (snarf-tag-function): Doc string is changed. Explained about new
5103 optional argument, `use-explicit'.
5104 (etags-snarf-tag): Add one optional argument `use-explicit'.
5105 (file-of-tag-function): Doc string is changed. Explained about new
5106 optional argument, `relative'.
5107 (file-of-tag): Doc string is changed. Explained about new optional
5108 argument, `relative'. Pass `relative' to `file-of-tag-function'.
5109 (etags-file-of-tag): Add new argument `relative`.
5110 (list-tags): Set `buffer-read-only' to t after making the major mode
5112 (etags-list-tags): Use `make-text-button' instead of
5113 `add-text-properties'. Used `snarf-tag-function',
5114 `goto-tag-location-function' and `find-file-of-tag' instead of
5115 `find-tag-other-window' (it's too simple).
5116 (find-tag-in-order): Use `find-file-of-tag-noselect' instead of
5118 (etags-tags-apropos): Use `find-file-of-tag-noselect' instead of
5119 `find-file'. Do not use `etags-goto-tag-location` directly; use
5120 `goto-tag-location-function' instead. Print relative file paths
5121 instead of complete ones in *Tags List* buffer, so lines in the
5122 buffer become shorter.
5123 (etags-tags-apropos-additional): Use `make-text-button' instead of
5124 `add-text-properties'.
5126 2003-04-04 Andreas Schwab <schwab@suse.de>
5128 * net/tramp.el (tramp-send-string): Handle empty string.
5130 2003-04-03 Richard M. Stallman <rms@gnu.org>
5132 * emacs-lisp/easymenu.el (easy-menu-define):
5133 Don't make a defvar for nil.
5134 (easy-menu-convert-item-1): Doc fix.
5135 (easy-menu-change): Call easy-menu-create-menu.
5137 * subr.el (read-quoted-char): Remember the input char
5138 before translation thru function-key-map, and use that for unreading.
5140 * shadowfile.el (shadow-parse-fullname):
5141 Renamed from shadow-parse-fullpath.
5142 (shadow-parse-name): Renamed from shadow-parse-path.
5143 (shadow-make-fullname): Renamed from shadow-make-fullpath.
5144 (shadow-replace-name-component): Was shadow-replace-path-component.
5145 Callers of the above functions changed.
5146 (shadow-expand-cluster-in-file-name): Doc fix.
5147 (shadow-same-site, shadow-file-match): Doc fix.
5148 (shadow-define-literal-group): Doc fix.
5150 * kmacro.el (kmacro-end-and-call-macro): Doc fix.
5152 * hexl.el (hexl-find-file): Ignore user's value of default-major-mode.
5154 * files.el (hack-local-variables-prop-line): New arg MODE-ONLY.
5155 (hack-local-variables): When MODE-ONLY is set, pass it along to
5156 hack-local-variables-prop-line.
5158 * delsel.el (delete-active-region): Don't explicitly deactivate mark.
5160 2003-04-03 Masatake YAMATO <jet@gyve.org>
5162 * progmodes/etags.el: Require button.el.
5163 (etags-tags-apropos): Use `make-text-button' instead of
5164 `add-text-properties'. Use `snarf-tag-function' and
5165 `etags-goto-tag-location' instead of `find-tag-other-window' (it's
5168 * man.el (Man-xref-header-file): Fix previous change.
5170 2003-04-03 Kenichi Handa <handa@m17n.org>
5172 * subr.el (number-sequence): New function.
5174 2003-04-02 Ehud Karni <ehud@unix.mvs.co.il> (tiny change)
5176 * sort.el (sort-reorder-buffer): Fix saving of markers at the end
5177 of the sorted region.
5179 2003-04-02 Masatake YAMATO <jet@gyve.org>
5181 * woman.el (woman-xref): Removed.
5182 (woman-mode): Use `Man-highlight-references' instead of
5183 `WoMan-highlight-references'.
5184 (WoMan-highlight-references): Removed.
5186 * man.el (toplevel): Require button.
5187 (Man-header-file-path): New option.
5188 (Man-synopsis-regexp, Man-files-regexp, Man-include-regexp)
5189 (Man-file-name-regexp, Man-normal-file-prefix-regexp)
5190 (Man-header-regexp, Man-normal-file-regexp): New variables.
5191 (Man-mode-map): Inherit from `button-buffer-map'. Don't define
5192 "\r" and mouse-2 directly. These key are defined in
5193 `button-buffer-map'.
5194 (Man-xref-man-page, Man-xref-header-file, Man-xref-normal-file):
5195 New buttons. `Man-xref-man-page' comes from woman.el.
5196 (man-follow-mouse): Removed.
5197 (Man-fontify-manpage): Use `Man-highlight-references' instead of
5198 calling `add-text-properties' directly.
5199 (Man-highlight-references, Man-highlight-references0): New functions.
5200 (Man-view-header-file): New function.
5202 2003-04-02 Stefan Monnier <monnier@cs.yale.edu>
5204 * textmodes/refill.el (refill-fill-paragraph-at): Don't preserve
5205 the trailing space since fill.el doesn't remove it anymore.
5206 (refill-mode): Reset fill-paragraph-function even if it was nil.
5208 * textmodes/fill.el (fill-region-as-paragraph):
5209 Don't remove space at end of paragraph: it makes refill.el unusable.
5210 Remove obsolete `save-restriction'.
5211 (fill-paragraph, fill-comment-paragraph): Don't add newline at EOP.
5212 (fill-delete-newlines): Don't add a trailing space.
5213 (fill-newline): Don't leave markers before the prefix.
5215 * progmodes/asm-mode.el (asm-calculate-indentation, asm-indent-line):
5217 (asm-mode): Use them in indent-line-function.
5218 Set tab-always-indent to nil to stay closer to previous tab behavior.
5219 Set comment-add. Remove space at end of comment-add.
5220 (asm-newline): Obsolete. Use newline-and-indent instead.
5221 (asm-mode-map): Remove TAB binding.
5222 (asm-code-level-empty-comment-pattern)
5223 (asm-flush-left-empty-comment-pattern)
5224 (asm-inline-empty-comment-pattern): Remove.
5225 (asm-comment): Use newcomment functions instead.
5226 (asm-colon): Don't tab if colon is not after a label.
5227 (asm-line-matches, asm-pop-comment-level): Remove.
5229 2003-04-02 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
5231 * emulation/crisp.el (top-level): Quote second arg to
5234 2003-04-02 Miles Bader <miles@gnu.org>
5236 * scroll-bar.el (scroll-bar-mode): Correctly specify `nil' choice.
5238 2003-04-01 Stefan Monnier <monnier@cs.yale.edu>
5240 * progmodes/asm-mode.el (asm-mode-syntax-table): Setup entries
5241 that do not depend on asm-comment-char.
5242 (asm-mode-map): Declare and init at the same time.
5243 (asm-code-level-empty-comment-pattern)
5244 (asm-flush-left-empty-comment-pattern)
5245 (asm-inline-empty-comment-pattern): Use \s< so they do not depend
5246 on asm-comment-char. Turn them into constants.
5247 (asm-mode): Simplify.
5248 (asm-line-matches): Remove unused arg.
5250 2003-04-01 Dave Love <fx@gnu.org>
5252 * time.el: Doc fixes.
5253 (display-time-mail-face): Change :type and default to nil.
5254 (display-time-mail-icon): Use pbm, not xbm.
5255 (display-time-mail-string): New.
5256 (display-time-string-forms): Use display-time-mail-string.
5257 Add checks in display property.
5259 2003-04-01 Kenichi Handa <handa@m17n.org>
5261 * language/indian.el (indian-font-char-index-table): Fix the
5262 order of CDAC fonts.
5264 2003-04-01 Kim F. Storm <storm@cua.dk>
5266 * simple.el (pop-global-mark-quick-repeat): Remove defcustom.
5267 (set-mark-command): Unconditionally repeat pop-global-mark without
5268 C-x prefix. Fix doc.
5270 * emulation/cua-base.el (cua-set-mark): Unconditionally repeat
5271 pop-global-mark without C-x prefix. Fix doc.
5273 2003-03-31 Stefan Monnier <monnier@cs.yale.edu>
5275 * reveal.el (reveal-post-command): Better error handling.
5277 2003-03-31 Nick Roberts <nick@nick.uklinux.net>
5279 * gdb-ui.el (gdb-inferior-io-mode): Remove Unix pathname for cat
5280 so that it can run on NT also.
5282 2003-03-31 Masatake YAMATO <jet@gyve.org>
5284 * progmodes/asm-mode.el (asm-mode): Support skipping C lang style
5287 * bindings.el (mode-line-major-mode-keymap): New variable.
5288 (mode-line-minor-mode-help): New function, bound to
5289 mode-line-minor-mode-keymap.
5290 (mode-line-modes): Split mode-line-mode definitions to
5291 mode-name, mode-line-process and minor-mode-alist.
5292 For mode-name, mode-line-major-mode-keymap is used.
5294 * help.el (describe-minor-mode, describe-minor-mode-from-indicator)
5295 (lookup-minor-mode-from-indicator): New functions.
5297 2003-03-31 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
5299 * files.el (file-relative-name): Remove superfluous `and'.
5300 Clarify docstring. From Lars Hansen.
5302 2003-03-31 Kenichi Handa <handa@m17n.org>
5304 * international/utf-16.el (ccl-decode-mule-utf-16-le):
5305 Don't assume the signature bytes.
5306 (ccl-decode-mule-utf-16-be): Likewise.
5307 (ccl-encode-mule-utf-16-le): Don't produce the signature bytes.
5308 (ccl-encode-mule-utf-16-be): Likewise.
5310 2003-03-30 Kevin Ryde <user42@zip.com.au>
5312 * info-look.el (sh-mode): Add doc-specs for commands and variables.
5314 2003-03-29 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
5316 * international/utf-8.el (utf-translate-cjk-mode): Minor mode,
5317 replaces variable utf-translate-cjk which must be set via Custom.
5319 * files.el (file-relative-name): If FILENAME and DIRECTORY are on
5320 different drives (on DOS/Windows) or use different handlers, do
5321 like `expand-file-name' on FILENAME and return an absolute name.
5322 From Lars Hansen <larsh@math.ku.dk>.
5324 * tramp.el: Version 2.0.31 released.
5325 (tramp-handle-expand-file-name): Do not allow ".." to
5326 cross file handler boundaries, so that "/user@host:/../foo"
5327 expands to itself, rather than "/foo". This is intended to work
5328 in conjunction with a change in `file-relative-name' which makes
5329 sure to use absolute file names if FILE and DIRECTORY have
5331 (tramp-handle-insert-directory): Comment out XEmacs
5332 kludge. Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
5334 2003-03-29 Michael Albinus <Michael.Albinus@alcatel.de>
5336 * trampver.el: New file, to support Autoconf in Tramp CVS repository.
5337 * tramp.el (tramp-version, tramp-bug-report-address): Move to
5338 trampver.el, which is required now.
5339 (tramp-chunksize): Type can be nil as well.
5340 Reported by Markus Rost <rost@math.ohio-state.edu>.
5341 * tramp-smb.el (tramp-smb-read-file-entry): Make reading size of a
5342 listing entry more robust. Ranges from 10 chars (Samba 1) to 7-9
5345 2003-03-29 John Paul Wallington <jpw@gnu.org>
5347 * international/mule.el (with-category-table): Use `make-symbol'
5348 to avoid variable capture. Set table within `unwind-protect'.
5349 Ensure table is restored in correct buffer. Add docstring.
5351 2003-03-29 Kenichi Handa <handa@m17n.org>
5353 * language/japan-util.el: If system-type is not for Windows,
5354 prefer japanese-iso-8bit.
5356 2003-03-28 Sudish Joseph <sudish@corp.earthlink.net> (tiny change)
5358 * term/mac-win.el (iconify-or-deiconify-frame): Define for
5359 compatibility with packages that use it.
5361 2003-03-28 Lute Kamstra <Lute.Kamstra@cwi.nl>
5363 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer):
5365 (checkdoc-interactive, checkdoc-message-interactive): Make them
5366 perform spell checking when appropriate.
5367 (checkdoc-interactive-loop): Fix docstring and a few typos.
5368 (checkdoc-interactive-ispell-loop)
5369 (checkdoc-message-interactive-ispell-loop): New functions.
5370 (checkdoc-next-error): Fix docstring.
5371 (checkdoc-this-string-valid-engine): Fix typo.
5372 (checkdoc-ispell-docstring-engine): Do test for
5373 checkdoc-autofix-flag = nil.
5375 2003-03-28 Jonathan Yavner <jyavner@engineer.com>
5377 * emacs-lisp/testcover.el (testcover-mark-all): Handle screwy
5378 top-level macros that put functions as properties.
5379 (testcover-mark): No error for functions that just return a constant.
5381 2003-03-27 Andreas Schwab <schwab@suse.de>
5383 * vc-cvs.el (vc-cvs-parse-entry): Make sure a file with conflicts
5384 is marked as edited.
5386 2003-03-26 Kenichi Handa <handa@m17n.org>
5388 * files.el (recode-file-name): New function.
5390 * international/characters.el: Setup categories for Indian characters.
5392 2003-03-26 Steve Youngs <youngs@xemacs.org>
5394 * em-unix.el (eshell-plain-locate-behavior): Make the default
5395 nil on Emacs, t on XEmacs.
5397 2003-03-25 Stefan Monnier <monnier@cs.yale.edu>
5399 * emacs-lisp/byte-opt.el (byte-optimize-set): New.
5400 Turn `set' into `setq' when applicable.
5402 2003-03-24 Stefan Monnier <monnier@cs.yale.edu>
5404 * emacs-lisp/easy-mmode.el (define-minor-mode): Pass unknown keyword
5405 args blindly to defcustom. Use custom-set-minor-mode.
5407 2003-03-24 Kim F. Storm <storm@cua.dk>
5409 * simple.el: Rework last change so C-x C-SPC C-SPC does not
5410 repeat pop-global-mark by default.
5411 (pop-global-mark-quick-repeat): New user option.
5412 (set-mark-command): Use it.
5414 * emulation/cua-base.el (cua-set-mark):
5415 Check pop-global-mark-quick-repeat.
5417 2003-03-24 John Paul Wallington <jpw@gnu.org>
5419 * emacs-lisp/easymenu.el (easy-menu-add-item): Don't default to
5422 * emerge.el (emerge-show-file-name): Read event irrespective of
5423 whether minibuffer window is resized. Clear minibuffer when done.
5425 * cus-theme.el (customize-create-theme): Rename from
5426 `custom-theme-create'.
5428 2003-03-24 Luc Teirlinck <teirllm@mail.auburn.edu>
5430 * cus-edit.el (custom-mode): Make `custom-local-buffer' local.
5432 2003-03-23 Peter Breton <pbreton@attbi.com>
5434 * net/net-utils.el (dns-lookup-host): New function.
5436 2003-03-23 Martin Stjernholm <bug-cc-mode@gnu.org>
5438 * progmodes/cc-mode.el (c-parse-state): Add kludge to avoid
5439 an infinite loop when Emacs' open-paren-in-column-zero rule
5440 kicks in and causes the sexp functions to misbehave.
5442 2003-03-22 Peter Breton <pbreton@cs.umb.edu>
5444 * filecache.el (file-cache-add-directory-recursively)
5445 (file-cache-complete, file-cache-display): New functions.
5447 * generic-x.el (etc-modules-conf-generic-mode): New generic mode.
5448 (rul-generic-mode): Bugfixes by Rolf.Sandau@marconi.com.
5450 * dirtrack.el (dirtrack-cygwin-directory-function): New function.
5453 2003-03-22 Kim F. Storm <storm@cua.dk>
5455 * ido.el (ido-mode): Remove unused NOBIND arg. Fix doc string
5457 (ido-define-mode-map): Bind C-l for both file and dir modes.
5458 (ido-wide-find-file, ido-wide-find-dir, ido-make-directory):
5459 Let-bind enable-recursive-minibuffers to t around read-string.
5461 2003-03-22 Kenichi Handa <handa@m17n.org>
5463 * international/fontset.el (setup-default-fontset):
5464 Use indian-font-char-range for specifying ranges of indian-glyph
5465 chars. Setup for AKRUTI fonts.
5467 * language/indian.el (indian-font-foundry): New variable.
5468 (indian-script-language-alist): New variable.
5469 (indian-font-char-index-table): New variable.
5470 (indian-font-char): New function.
5471 (indian-font-char-range): New function.
5472 (font-ccl-encoder-alist): Add entry for AKRUTI font.
5474 2003-03-22 Kim F. Storm <storm@cua.dk>
5476 * progmodes/cperl-mode.el (cperl-electric-backspace):
5477 Add delete-selection property.
5479 * simple.el (set-mark-command): Doc fixes.
5480 Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
5481 C-u C-u C-SPC now unconditionally sets the mark.
5483 * emulation/cua-base.el (cua-set-mark): Doc fixes.
5484 Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
5485 C-u C-u C-SPC now unconditionally sets the mark.
5487 2003-03-20 Mark A. Hershberger <mah@everybody.org>
5489 * xml.el (xml-parse-attlist): Fix typo in attribute parsing.
5491 2003-03-20 Kenichi Handa <handa@m17n.org>
5493 * international/utf-8.el (ccl-decode-mule-utf-8): Fix a bug in
5494 handling invalid 5 to 6 bytes sequence.
5496 2003-03-19 Simon Marshall <simon@gnu.org>
5498 * progmodes/make-mode.el (makefile-font-lock-syntactic-keywords):
5500 (makefile-mode): Use it for value of font-lock-syntactic-keywords.
5502 2003-03-19 John Paul Wallington <jpw@gnu.org>
5504 * cus-theme.el (custom-theme-create): Add autoload cookie.
5506 2003-03-19 Kenichi Handa <handa@m17n.org>
5508 * dired.el (dired-get-filename): Pay attention to the case that
5509 `read' returns a unibyte string. Don't encode the file name by
5510 buffer-file-coding-system.
5512 2003-03-18 Kenichi Handa <handa@m17n.org>
5514 * language/european.el ("Latin-6"): Fix input-method.
5515 ("Latin-7"): Fix input-method.
5517 * international/utf-8.el (utf-fragment-on-decoding):
5518 Don't call register-char-codings.
5519 (utf-fragment-on-decoding): Don't update char-coding-system-table.
5520 (utf-translate-cjk): Don't call register-char-codings nor
5521 optimize-char-coding-system-table. Don't update
5522 char-coding-system-table.
5524 * international/ucs-tables.el (ucs-unify-8859): Don't call
5525 register-char-codings.
5526 (ucs-unify-8859): Don't call optimize-char-coding-system-table.
5527 (ucs-fragment-8859): Don't update char-coding-system-table.
5528 Don't call register-char-codings nor optimize-char-coding-system-table.
5530 * international/mule.el (optimize-char-coding-system-table):
5531 Remove this function.
5532 (register-char-codings): Make it obsolete.
5533 (char-coding-system-table): Defconst it here.
5534 (make-coding-system): Don't call register-char-codings, call
5535 define-coding-system-internal.
5537 * international/mule-conf.el (no-conversion):
5538 Call define-coding-system-internal on this coding system instead of
5539 calling register-char-codings.
5541 * international/mule-cmds.el (find-coding-systems-for-charsets):
5542 Use find-coding-systems-string instead of looking up
5543 char-coding-system-table.
5545 * international/code-pages.el (cp-fix-safe-chars): Make it obsolete.
5546 (cp-make-coding-system): Don't call cp-fix-safe-chars.
5548 2003-03-18 Stefan Monnier <monnier@cs.yale.edu>
5550 * startup.el (command-line-1): Use command-execute for any command.
5552 2003-03-17 Stefan Monnier <monnier@cs.yale.edu>
5554 * buff-menu.el (list-buffers-noselect): Use the display property
5555 to properly align header-line text with the buffer's contents.
5557 2003-03-17 Kenichi Handa <handa@m17n.org>
5559 * international/mule.el (ctext-post-read-conversion): Convert the
5560 search pattern to multibyte by string-to-multibyte.
5562 2003-03-16 Deepak Goel <deego@gnufans.org>
5564 * calc/calc-forms.el (math-tzone-names): Introduce UTC as an alias
5565 for GMT. Suggested by bob@rattlesnake.com.
5567 2003-03-15 Stefan Monnier <monnier@cs.yale.edu>
5569 * pcvs.el (cvs-mode!): Remove unused argument.
5571 * emacs-lisp/easymenu.el (easy-menu-name-match): Catch any error
5572 that member-ignore-case might signal.
5573 (easy-menu-add-item): Default to the global map, as documented.
5574 (easy-menu-convert-item-1): Use match-string.
5576 2003-03-15 Mark A. Hershberger <mah@everybody.org>
5578 * xml.el (xml-ucs-to-string): New function to convert Unicode
5579 codepoints to strings. Uses decode-char (mule.el) if available.
5580 (xml-parse-tag, xml-parse-attlist, xml-skip-dtd, xml-parse-dtd)
5581 (xml-parse-elem-type): Use ' \t\n\r' instead of '[:space:]'.
5582 (xml-parse-attlist): Add attribute normalization.
5583 (xml-parse-tag): Replace "\r\n" and "\r" with "\n".
5585 2003-03-14 John Paul Wallington <jpw@gnu.org>
5587 * files.el (recover-session): Error if there are no previous
5588 sessions to recover.
5590 * subr.el (posn-col-row): Simplify.
5592 * arc-mode.el (archive-subtype, archive-file-list-start)
5593 (archive-file-list-end, archive-proper-file-start)
5594 (archive-read-only, archive-local-name, archive-mode-map)
5595 (archive-file-name-indent, archive-remote)
5596 (archive-alternate-display, archive-superior-buffer)
5597 (archive-subfile-mode): Doc fixes.
5599 2003-03-14 Stefan Monnier <monnier@cs.yale.edu>
5601 * indent.el (indent-for-tab-command): If tab-always-indent is non-nil
5602 and the user hits TAB a second time, just insert a tab.
5604 * textmodes/texinfo.el (texinfo-outline-level): Remove.
5605 (texinfo-mode): Set outline-heading-alist instead.
5606 (texinfo-section-list): Reorder for the needs of outline-heading-alist.
5607 (texinfo-insert-block): Don't cons needlessly.
5608 (texinfo-enable-quote-macros, texinfo-enable-quote-envs): New vars.
5609 (texinfo-insert-quote): Use them.
5611 * textmodes/outline.el (outline-level): Demote it to defvar.
5612 (outline-heading-alist): Document extended semantics.
5613 (outline-head-from-level): New fun.
5614 (outline-promote, outline-demote): Use it.
5615 (outline-show-heading): New fun.
5616 (hide-sublevels, show-children):
5617 Use it together with outline-map-region.
5618 (outline-get-next-sibling): Don't call outline-level at eob.
5620 2003-03-14 Simon Josefsson <jas@extundo.com>
5622 * fringe.el (fringe-mode): Autoload so that
5623 Options->Show/Hide->Fringe->Customize works.
5625 2003-03-13 Stefan Monnier <monnier@cs.yale.edu>
5627 * textmodes/outline.el (outline-mode-menu-bar-map): Add entries.
5628 (outline-mode-prefix-map): Match new bindings to those of allout.
5629 (outline-map-region): New fun.
5630 (outline-map-tree): Remove.
5631 (outline-promote, outline-demote): Apply to region if active.
5632 Change the default to apply to the subtree.
5633 (outline-move-subtree-up, outline-move-subtree-down): New funs.
5634 (outline-invisible-p): Add optional `pos' argument.
5635 (outline-next-visible-heading, outline-toggle-children): Use it.
5636 (outline-get-next-sibling): Don't call outline-level at eob.
5638 * custom.el (custom-set-minor-mode): New fun.
5640 2003-03-13 Dave Love <fx@gnu.org>
5642 * international/latin1-disp.el (ucs-tables): Don't require.
5643 (latin1-display-face): New.
5644 (latin1-display-char): Use it.
5646 2003-03-13 Kenichi Handa <handa@m17n.org>
5648 * international/mule-cmds.el (reset-language-environment):
5649 Set default-file-name-coding-system to iso-latin-1.
5651 * language/european.el (iso-latin-1): Definition of this coding
5652 system moved to mule-conf.el.
5654 * international/mule-conf.el (iso-latin-1): Move from
5657 * term/x-win.el (x-select-text): Don't set a text containing
5658 eight-bit-control/graphic into the cut buffer.
5660 2003-03-12 Kenichi Handa <handa@m17n.org>
5662 * files.el (insert-directory): Decode by what specified.
5664 * language/japan-util.el (setup-japanese-environment-internal):
5665 By defalt, use japanese-iso-8bit for file names, and prefer
5666 japanese-shift-jis on DOS and Windows.
5668 * international/quail.el (quail-show-guidance-buf): Make the quail
5669 guidance buffer inherit the current value of quail-current-package.
5671 * international/utf-8.el (ccl-decode-mule-utf-8): Don't lose bytes
5672 on handling an invalid byte sequence.
5674 2003-03-11 Jason Rumney <jasonr@gnu.org>
5676 * files.el (auto-mode-alist): Add .xsl for sgml-mode.
5678 2003-03-11 Mark A. Hershberger <mah@everybody.org>
5680 * xml.el (xml-skip-dtd): Fix parsing of DOCTYPE.
5682 2003-03-11 John Paul Wallington <jpw@gnu.org>
5684 * subr.el (posn-col-row): Heed frame parameter `line-spacing' and
5685 `default-line-spacing', rather than buffer-local `line-spacing'.
5687 2003-03-10 Per Abrahamsen <abraham@dina.kvl.dk>
5689 * cus-edit.el (customize-rogue): New command.
5691 2003-03-10 Andreas Schwab <schwab@suse.de>
5693 * info.el (Info-extract-menu-node-name)
5694 (Info-following-node-name): Revert last change.
5696 2003-03-10 Thien-Thi Nguyen <ttn@gnu.org>
5698 * progmodes/scheme.el (scheme-mode-syntax-table):
5699 Construct w/o using `with-syntax-table'.
5701 2003-03-10 John Paul Wallington <jpw@gnu.org>
5703 * subr.el (posn-col-row): Take into account `line-spacing'.
5705 * ebuff-menu.el (electric-buffer-update-highlight): Do nothing
5706 if major mode isn't `Electric-buffer-menu-mode'.
5708 * term/x-win.el (vendor-specific-keysyms)
5709 (x-last-selected-text-primary): Doc fixes.
5710 (x-win-suspend-error): Use proper noun in error message.
5712 2003-03-09 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
5714 * man.el (Man-getpage-in-background): Always use `setenv' for
5715 environment variables, instead of modifying process-environment
5716 directly. The previous version let-bound process-environment --
5717 the let-binding is skipped for GROFF_NO_SGR because there is
5718 already a let-binding in effect in some outer scope.
5720 * emulation/crisp.el (top-level): Interoperate with cua.
5722 2003-03-08 Kim F. Storm <storm@cua.dk>
5724 * emulation/cua-base.el: Provide `cua' feature.
5726 2003-03-08 Juanma Barranquero <lektu@terra.es>
5728 * emulation/cua-base.el (cua--standard-movement-commands):
5731 2003-03-07 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
5733 * man.el (Man-getpage-in-background): Only change
5734 default-directory if necessary.
5736 2003-03-07 Andreas Schwab <schwab@suse.de>
5738 * info.el (Info-following-node-name): Skip trailing period.
5739 (Info-extract-menu-node-name): Allow period in node name.
5741 2003-03-07 Kevin Rodgers <kevin.rodgers@ihs.com>
5743 * dired-x.el (dired-guess-shell-case-fold-search): New user option.
5744 (dired-guess-default): Use it.
5746 2003-03-07 Thien-Thi Nguyen <ttn@gnu.org>
5748 * progmodes/dcl-mode.el (dcl-font-lock-keywords): New var.
5749 (dcl-font-lock-defaults): New var.
5750 (dcl-mode): Make and init local var `font-lock-defaults'.
5752 2003-03-06 Kevin Rodgers <kevin.rodgers@ihs.com>
5754 * ffap.el (dired-at-point): Check whether the user can create a
5755 directory before asking about creating it.
5757 2003-03-06 John Paul Wallington <jpw@gnu.org>
5759 * ebuff-menu.el (electric-buffer-list):
5760 Respect `Buffer-menu-use-header-line'.
5761 (electric-buffer-menu-looper): Likewise.
5763 * buff-menu.el (Buffer-menu-mode-map): Add docstring.
5764 (Buffer-menu-buffer): Fix indentation.
5765 (list-buffers-noselect): Calculate header-line spacing to take
5766 into account width of left fringe and left scrollbar.
5768 2003-03-05 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5770 * ps-print.el (ps-print-version): New version number (6.6).
5771 (ps-begin-job): If background and foreground color are the same, give
5773 (ps-default-fg, ps-default-bg): Better doc.
5774 (ps-rgb-color): Became a defun, check RGB value list.
5775 (ps-default-background): New internal var.
5776 (ps-begin-file): Code fix.
5778 2003-03-05 Richard M. Stallman <rms@gnu.org>
5780 * replace.el (query-replace-read-args): Use save-excursion.
5781 (map-query-replace-regexp): Use prefix-numeric-value.
5783 2003-03-05 Juanma Barranquero <lektu@terra.es>
5785 * term/w32-win.el (x-handle-geometry): Put sizes on
5786 `initial-frame-alist' too.
5788 * startup.el (command-line-x-option-alist): Make --border-color set
5789 the border-color frame parameter, not border-width.
5791 * faces.el (frame-set-background-mode): Fix reference to attribute
5794 2003-03-05 Reto Zimmermann <reto@gnu.org>
5796 * progmodes/vhdl-mode.el: Version 3.32.12 released.
5797 Modifications for displaying all projects in hierarchy browser and case
5798 insensitive hierarchy browsing. Change Rod's email address.
5799 Include `itimer.el' patch for XEmacs. Backquote fix. Change some
5800 documentation strings. Add "ERROR: " prefix to all error
5801 messages. Enhanced usage of hideshow.
5802 (vhdl-in-literal): Remove unused argument LIM.
5803 (vhdl-compiler-alist): Enhance customization for compilers; add
5804 "Speedwave", "Simili", "Synopsys Design Compiler", "Cadence NC",
5805 "Savant", "ProVHDL" and "VeriBest" compilers.
5806 Add new error message syntax for Modelsim.
5807 Add Synplify, column no in error regexp.
5808 Include library name in library command.
5809 Add unit-to-file name mapping for Savant.
5810 Add library option in Makefile generation command.
5811 Add command to create library directory.
5812 Built-in Makefile generation is always default.
5813 (vhdl-create-mode-menu): Split menues for compilers, projects, models.
5814 Add customization for `global-font-lock-mode'.
5815 Fix `customize-group' entries for XEmacs and
5816 change "Gen." to "Generate". Get *Messages* buffer.
5817 Fix "Auto Load Setup File" menu entry.
5818 Add faces customization to "Options". Add "Options" entry.
5819 Include `speedbar-indentation-width'.
5820 (vhdl-replace-string): Allow casing (use `vhdl-file-name-case').
5821 (vhdl-template-exit, vhdl-template-next, vhdl-template-return):
5822 Fix template abortion.
5823 (vhdl-speedbar-port-copy): Add subprogram copy; copy port of component
5825 (vhdl-fixup-whitespace-region): No whitespace after '(' and before ')'.
5826 Better treat comments and strings. Fix "=> ," alignment.
5827 (vhdl-port-paste-testbench): Print file names created.
5828 Better handling when file exist/open. Additional comments in code.
5829 Replace keywords in testbench entity and architecture file headers.
5830 Adjust case in testbench configuration.
5831 (vhdl-port-paste-instance): Special case: no number in instance name.
5832 (vhdl-speedbar-expand-units): Fix speedbar frame switching oddity.
5833 (vhdl-font-lock-keywords-2): Enhance highlighting of instantiation;
5834 highlight instantiations without map.
5835 Highlight quantity declaration names. Highlight formal parameters.
5836 Fix label highlighting for signal asst.
5837 (vhdl-mode): `comment-padding' for Emacs 21 only.
5838 Remove forced `turn-on-font-lock'.
5839 Remove `hippie-expand-only-buffers' setting.
5840 Update online documentation and web address.
5841 (vhdl-comment-uncomment-region): Remove usage of `commend-dwim' again.
5842 Change ARG for uncommenting.
5843 (vhdl-speedbar-make-*-line): Fix for displaying XEmacs speedbar images.
5844 (vhdl-fontify-buffer): Toggle font-lock-mode for better recovery.
5845 (vhdl-port-list): Add context clause.
5846 (vhdl-port-paste-signals): Include direction comments.
5847 (vhdl-testbench-declarations, vhdl-testbench-statements): New default.
5848 (vhdl-port-*): Include name in status messages.
5849 (vhdl-package-alist): Scan for and display subprogram body.
5850 Change key to lower case, add original case identifier.
5851 Scan for packages used by package body.
5852 (vhdl-speedbar-find-file): Always jump to design unit if buffer open.
5853 (vhdl-speedbar-insert-hierarchy): Mark non-existing entities/packages.
5854 Message "No VHDL design units!".
5855 (vhdl-compile-init): Allow fourth element (column no) in error regexp.
5856 Fix `nconc' bug. Eliminate redundant regexps.
5857 (vhdl-minibuffer-tab): No indentation.
5858 Use `hippie-expand-only-buffers' to take
5859 expansions from VHDL buffers only; don't overwrite non-nil default of
5860 `hippie-expand-only-buffers'; check whether
5861 `hippie-expand-only-buffers' is bound.
5862 (vhdl-ams-types, vhdl-ams-enum-values): Add identifiers from
5863 `nature_pkg' package.
5864 (vhdl-align-alist): Fix "when/else ... =>" case.
5865 Align declaration keywords only at beg. of line.
5866 Align <=, := and == among each other.
5867 (vhdl-port-copy): Extended identifiers for signal names.
5868 Fix on empty generic/port clause.
5869 Fix parsing of comment on first line.
5870 Allow generic clause begin on first line.
5871 Add "inout" and "linkage" to direction modes.
5872 (vhdl-font-lock-function-face): Change DarkCyan to Cyan4.
5873 (vhdl-file-header): Insert VHDL language standard string.
5874 (vhdl-instance-name): Unique numbers in instance names.
5875 (vhdl-compile): Check for existing compile directory.
5876 Print out file name if compiler does not; put it in
5877 quotes if contains spaces. Check compiler name.
5878 (vhdl-compiler): Change empty value from "" to nil.
5879 (vhdl-make): Check for existing compile directory.
5880 Fix missing options if there is a target. Check compiler name.
5881 (vhdl-template-field): Fix case on all VHDL words.
5882 (vhdl-template-others): Re-electrified "others".
5883 (vhdl-speedbar-expand-architecture): Give user control over displayed
5885 (vhdl-project-alist): Insert library name in Makefile name.
5886 Sources exclude regexp. Add file-specific compile exceptions.
5887 Enhance customization of projects.
5888 (vhdl-get-hierarchy): Include configurations in hierarchy list.
5889 Fix bug with configurations.
5890 Consider configurations; also at lower levels.
5891 (vhdl-speedbar-item-info): Enhance displaying.
5892 (vhdl-scan-file-contents): Fix skipping of comments in scanning.
5893 Sources exclude regexp.
5894 Allow comment lines in instantiations.
5895 Fix used packages in package body scanning.
5896 Allow code before first block configuration.
5897 Scan also for "is" keyword of design units.
5898 Scan configuration specification.
5899 Clear directory alists first.
5901 Check for multiply scanned design units.
5902 Scan components/subprograms in package.
5903 Scan library clauses and subconfigurations.
5904 Limit file size for scanning.
5905 (vhdl-entity-alist): Change key to lower case, add original case
5907 (vhdl-electric-tab): Not overwrite non-nil default of
5908 `hippie-expand-only-buffers'.
5909 (vhdl-electric-tab): Check whether `hippie-expand-only-buffers' is
5910 bound; use it to take expansions from VHDL buffers only.
5911 (vhdl-electric-tab): Toggle comment indent.
5912 (vhdl-generate-makefile): Check compiler name.
5913 Add library option in Makefile generation command.
5914 (vhdl-generate-makefile): Add dependencies for components in package.
5915 (vhdl-template-elsif): No expansion in concurrent part (except AMS).
5916 (vhdl-insert-string-or-file): Resolve environment variables.
5917 (vhdl-insert-string-or-file): Fix NTEmacs `file-exists-p' problem.
5918 (vhdl-submit-bug-report): Prompt for summary.
5919 (vhdl-resolve-paths): Rearrange environment variable resolution.
5920 (vhdl-scan-project-contents): Rearrange environment variable
5922 (vhdl-scan-project-contents): Allow absolute paths.
5923 (vhdl-doc-coding-style): Update RMM URL.
5924 (vhdl-end-of-leader): Consider "is" keyword in VHDL'93.
5925 (vhdl-model-insert): Replace header prompts too.
5926 (vhdl-template-header): New argument `is-model'.
5927 (vhdl-template-generate-body): Remove "begin" for VHDL'93.
5928 (vhdl-actual-port-name): Change default value (no "_i" extension).
5929 (vhdl-template-modify): Delete date instead of kill.
5930 (vhdl-get-source-files): Don't match source files beginning with ".".
5931 (vhdl-project-*-alist): Merge with variables `vhdl-*-alist'.
5932 (vhdl-speedbar-*): Many enhancements and fixes in hierarchy browser.
5933 (vhdl-speedbar-expand-*): Display used packages.
5934 (vhdl-sequential-statement-p): Better algorithm.
5935 (vhdl-electric-mode, vhdl-stutter-mode): Change key bindings.
5936 (vhdl-electric-...): No stuttering within literals.
5937 (vhdl-template-footer): Replace keywords in footer as in header.
5938 (vhdl-align-...): Enhance alignment, add progress reporting.
5939 (vhdl-beautify-region): Bug fix.
5940 (vhdl-comment-insert-inline): Remove wrapping to next line if too long.
5941 (vhdl-testbench-configuration-name)
5942 (vhdl-update-sensitivity-list-buffer): Fix starting cursor position.
5943 (vhdl-prepare-search-[12]): Fix search within hidden code.
5944 (vhdl-speedbar-jump-to-unit): Disable cursor re-positioning.
5945 (vhdl-template-for): Fix sequential statement part detection.
5946 (vhdl-electric-space): Fix wrapping for non-word characters.
5947 (vhdl-template-standard-package): Don't insert "std" library.
5948 (vhdl-template-architecture): Code optimization.
5949 (vhdl-template-package): Search for existing package name.
5950 (vhdl-template-component-decl, vhdl-port-paste-declaration):
5951 Insert "is" in VHDL'93.
5952 (match-string-no-properties, vhdl-forward-comment): New aliases.
5953 (vhdl-speedbar-library-face, vhdl-speedbar-subprogram-face): New faces.
5954 (file-expand-wildcards, regexp-opt, subst-char-in-string)
5955 (vhdl-add-modified-file, vhdl-align-buffer, vhdl-align-declarations)
5956 (vhdl-align-list, vhdl-align-region-2, vhdl-align-region-groups)
5957 (vhdl-align-same-indent, vhdl-aput, vhdl-auto-load-project)
5958 (vhdl-backward-same-indent, vhdl-beginning-of-block)
5959 (vhdl-character-to-event, vhdl-compile-directory)
5960 (vhdl-compile-print-file-name, vhdl-compose-components-package)
5961 (vhdl-compose-insert-generic, vhdl-compose-insert-port)
5962 (vhdl-compose-insert-signal, vhdl-compose-new-component)
5963 (vhdl-compose-place-component, vhdl-compose-wire-components)
5964 (vhdl-default-directory, vhdl-delete, vhdl-delete-indentation)
5965 (vhdl-do-group, vhdl-do-list, vhdl-do-same-indent)
5966 (vhdl-duplicate-project, vhdl-end-of-block, vhdl-expand-abbrev)
5967 (vhdl-expand-paren, vhdl-export-project, vhdl-fill-group)
5968 (vhdl-fill-list, vhdl-fill-region, vhdl-fill-same-indent)
5969 (vhdl-fix-case-word, vhdl-fix-clause, vhdl-forward-comment)
5970 (vhdl-forward-same-indent, vhdl-generate-makefile-1)
5971 (vhdl-get-compile-options, vhdl-get-components-package-name)
5972 (vhdl-get-end-of-unit, vhdl-get-make-options, vhdl-get-packages)
5973 (vhdl-get-visible-signals, vhdl-goto-marker)
5974 (vhdl-hs-forward-sexp-func, vhdl-hs-minor-mode, vhdl-import-project)
5975 (vhdl-indent-group, vhdl-insert-file-contents, vhdl-load-cache)
5976 (vhdl-makefile-name, vhdl-match-string-downcase, vhdl-max-marker)
5977 (vhdl-parse-group-comment, vhdl-paste-group-comment)
5978 (vhdl-port-paste-context-clause, vhdl-port-paste-initializations)
5979 (vhdl-port-reverse-direction, vhdl-process-command-line-option)
5980 (vhdl-project-p, vhdl-re-search-backward, vhdl-re-search-forward)
5981 (vhdl-remove-trailing-spaces, vhdl-require-hierarchy-info)
5982 (vhdl-resolve-env-variable, vhdl-run-when-idle, vhdl-save-cache)
5983 (vhdl-save-caches, vhdl-scan-context-clause)
5984 (vhdl-scan-directory-contents, vhdl-set-compiler, vhdl-set-project)
5985 (vhdl-show-messages, vhdl-sort-alist, vhdl-speedbar-check-unit)
5986 (vhdl-speedbar-contract-all, vhdl-speedbar-contract-level)
5987 (vhdl-speedbar-display-directory, vhdl-speedbar-display-projects)
5988 (vhdl-speedbar-expand-all, vhdl-speedbar-expand-config)
5989 (vhdl-speedbar-expand-package, vhdl-speedbar-expand-project)
5990 (vhdl-speedbar-generate-makefile, vhdl-speedbar-insert-projects)
5991 (vhdl-speedbar-insert-subpackages, vhdl-speedbar-line-key)
5992 (vhdl-speedbar-line-project, vhdl-speedbar-line-text)
5993 (vhdl-speedbar-make-design, vhdl-speedbar-make-subpack-line)
5994 (vhdl-speedbar-make-subprogram-line, vhdl-speedbar-place-component)
5995 (vhdl-speedbar-refresh, vhdl-speedbar-set-depth)
5996 (vhdl-speedbar-update-current-project, vhdl-statistics-buffer)
5997 (vhdl-subprog-copy, vhdl-subprog-flatten, vhdl-subprog-paste-body)
5998 (vhdl-subprog-paste-call, vhdl-subprog-paste-declaration)
5999 (vhdl-subprog-paste-specification, vhdl-template-others-hook)
6000 (vhdl-template-replace-header-keywords, vhdl-toggle-project)
6001 (vhdl-uniquify, vhdl-update-file-contents, vhdl-update-hierarchy)
6002 (vhdl-update-progress-info, vhdl-update-sensitivity-list)
6003 (vhdl-update-sensitivity-list-buffer)
6004 (vhdl-update-sensitivity-list-process, vhdl-use-direct-instantiation)
6005 (vhdl-warning, vhdl-warning-when-idle)
6006 (vhdl-widget-directory-validate, vhdl-work-library)
6007 (vhdl-write-file-hooks-init): New functions.
6008 (vhdl-aappend, vhdl-add-warning, vhdl-align-noindent-buffer)
6009 (vhdl-align-noindent-region, vhdl-create-customize-menu)
6010 (vhdl-forward-unit, vhdl-modify-date-init, vhdl-project-switch)
6011 (vhdl-scan-file-contents, vhdl-speedbar-display-hierarchy)
6012 (vhdl-speedbar-toggle-hierarchy): Functions deleted.
6013 (vhdl-in-comment-p, vhdl-in-string-p, vhdl-standard-p): Define as
6014 functions, not defsubsts.
6015 (vhdl-in-comment-or-string-p, vhdl-speedbar-project-p):
6017 (vhdl-compose, vhdl-naming, vhdl-speedbar, vhdl-template)
6018 (vhdl-testbench): New customization groups.
6019 (vhdl-electric): Customization group deleted.
6020 (vhdl-align-alist, vhdl-doc-coding-style, vhdl-doc-keywords)
6021 (vhdl-imenu-generic-expression): Define as constants instead of
6023 (vhdl-ams-packages, vhdl-doc-release-notes, vhdl-emacs-21)
6024 (vhdl-hs-start-regexp, vhdl-time-stamp, vhdl-xemacs): New constants.
6025 (vhdl-font-lock-keywords-0): Constants deleted.
6026 (vhdl-prepare-search-1, vhdl-prepare-search-2, vhdl-visit-file):
6028 (vhdl-ext-syntax-table): Macro deleted.
6029 (vhdl-align-group-separate, vhdl-align-same-indent)
6030 (vhdl-architecture-file-name, vhdl-compile-use-local-error-regexp)
6031 (vhdl-components-package-name, vhdl-compose-architecture-name)
6032 (vhdl-compose-create-files, vhdl-compose-include-header)
6033 (vhdl-copyright-string, vhdl-default-library, vhdl-directive-keywords)
6034 (vhdl-entity-file-name, vhdl-file-name-case)
6035 (vhdl-include-group-comments, vhdl-include-type-comments)
6036 (vhdl-indent-syntax-based, vhdl-makefile-generation-hook)
6037 (vhdl-package-file-name, vhdl-project-auto-load)
6038 (vhdl-project-file-name, vhdl-project-sort, vhdl-speedbar-auto-open)
6039 (vhdl-speedbar-cache-file-name, vhdl-speedbar-display-mode)
6040 (vhdl-speedbar-jump-to-unit, vhdl-speedbar-save-cache)
6041 (vhdl-speedbar-scan-limit, vhdl-speedbar-update-on-saving)
6042 (vhdl-testbench-configuration-name)
6043 (vhdl-testbench-include-configuration, vhdl-testbench-include-header)
6044 (vhdl-testbench-include-library, vhdl-use-components-package)
6045 (vhdl-use-direct-instantiation): New options.
6046 (vhdl-compiler-options, vhdl-speedbar, vhdl-speedbar-hierarchy-indent)
6047 (vhdl-speedbar-show-hierarchy, vhdl-testbench-architecture-header)
6048 (vhdl-testbench-entity-header): Options deleted.
6049 (speedbar-indentation-width, vhdl-compile-file-name)
6050 (vhdl-config-alist, vhdl-directive-keywords-regexp)
6051 (vhdl-directory-alist, vhdl-font-lock-keywords-0, vhdl-menu-max-size)
6052 (vhdl-mode-ext-syntax-table, vhdl-modified-file-list)
6053 (vhdl-port-flattened, vhdl-port-reversed-direction)
6054 (vhdl-speedbar-hierarchy-depth, vhdl-speedbar-last-selected-project)
6055 (vhdl-speedbar-show-projects, vhdl-speedbar-shown-project-list)
6056 (vhdl-speedbar-shown-unit-alist, vhdl-speedbar-update-current-unit)
6057 (vhdl-subprog-flattened, vhdl-subprog-list, vhdl-updated-project-list)
6058 (vhdl-warnings): New variables.
6059 (vhdl-project-ent-inst-list, vhdl-project-entity-alist)
6060 (vhdl-project-package-alist, vhdl-speedbar-last-file-name)
6061 (vhdl-speedbar-shown-units-alist, vhdl-startup-warnings): Delete vars.
6063 2003-03-04 Rob Kaut <rob@siworks.com> (tiny change)
6065 * progmodes/vhdl-mode.el (vhdl-comment-uncomment-region):
6066 Remove two comment characters at start of line instead of one.
6068 2003-03-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6070 * printing.el (pr-get-symbol): Move it to next eval-and-compile.
6072 2003-03-03 John Paul Wallington <jpw@gnu.org>
6074 * ibuf-macs.el (ibuffer-aif): Use `make-symbol' instead of
6075 `gensym' in case user calls macro at runtime.
6076 (ibuffer-save-marks): Likewise.
6078 2003-03-03 Kenichi Handa <handa@m17n.org>
6080 * language/japan-util.el (japanese-symbol-table): Add two entries
6081 to make it complete.
6083 2003-03-03 Andreas Schwab <schwab@suse.de>
6085 * info.el (Info-fontify-node): Don't hide indentation before the
6086 reference name. Don't process a reference twice when a new tag is
6088 (Info-hide-note-references): Fix doc and customize type.
6090 2003-03-02 Matt Swift <swift@alum.mit.edu>
6092 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
6093 New custom variable.
6094 (lisp-fill-paragraph): Use it. Add ?, to `paragraph-separate' so
6095 that first docstring lines ending with a comma are respected.
6096 Add "`(" to same so that function and macro bodies beginning with a
6097 backquote do not get disturbed. Revise the comments.
6099 2003-03-01 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
6101 * startup.el (command-line): Call menu-bar-mode with 1 instead of t.
6103 * menu-bar.el (menu-bar-mode): Change to define-minor-mode
6104 and initialize as for tool-bar-mode.
6106 2003-02-28 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
6108 * net/tramp.el: Version 2.0.30 released.
6109 Replace term "path" with "localname" unless it is used for a
6111 (tramp-handle-expand-file-name): Allow ".." to cross host boundaries.
6112 (tramp-open-connection-setup-interactive-shell): Unset $ENV in
6113 addition to setting $PS1 when starting the Bourne-ish shell.
6114 Some sh implementations (eg, bash when called as sh) read the file
6115 named there on startup, which could clobber $PS1.
6116 (tramp-do-copy-or-rename-file-one-local): New function.
6117 Not implemented. Not used. Should invoke rcp or scp directly to keep
6120 2003-02-28 Michael Albinus <Michael.Albinus@alcatel.de>
6122 * net/tramp-smb.el: Replace term `path' with `localname'
6123 unless it is used for a search path. In GNU, the word `path' is
6124 reserved for search paths.
6126 * net/tramp.el (tramp-send-string, tramp-send-region): Remove.
6127 (tramp-send-string): New function. Takes over the role of the
6128 functions above, in order to have a unique place handling
6129 `tramp-chunksize'. Same implementation as `tramp-send-region'.
6130 (tramp-chunksize): It's now a defcustom. Set to 500 on systems
6131 only known to have a buggy `process-send-string' implementation.
6132 First black-listed constellation is GNU Emacs/ hpux.
6133 (tramp-send-region): Correct debug message.
6134 (tramp-bug): Add `tramp-chunksize'.
6136 2003-02-26 Matt Swift <swift@alum.mit.edu>
6138 * startup.el: Streamline code in several functions for efficiency
6139 and readability. Rephrase booleans to avoid `(not noninteractive)'.
6140 Clarify several booleans expressions using De Morgan's laws.
6142 (command-line): Fix barf when first command-line option handled by
6143 `command-line-1' is in the form --OPT=VAL.
6144 (command-line-1): Restore intended behavior of the --directory/-L
6145 command-line option: "-L a -L b -L c" on the command-line now puts
6146 '(a b c) at the front of `load-path'.
6148 2003-02-26 Oliver Scholz <alkibiades@gmx.de>
6150 * play/gamegrid.el (gamegrid-add-score): Add info to docstring.
6151 (gamegrid-add-score-with-update-game-score-1): New function,
6152 factored out of `gamegrid-add-score-with-update-game-score'.
6153 (gamegrid-add-score-with-update-game-score): Use it. Fall back on
6154 `gamegrid-add-score-insecure' if the requested file does not exist
6155 in $(gamedir), in case the user has installed a game on his own.
6156 (gamegrid-add-score-insecure): Accept optional directory argument.
6158 2003-02-25 Andreas Schwab <schwab@suse.de>
6160 * progmodes/make-mode.el (makefile-font-lock-keywords): Protect shell
6161 variable references by requireing that $ is not preceded by another $.
6163 2003-02-25 Kenichi Handa <handa@m17n.org>
6165 * env.el (setenv): Fix previous change.
6167 2003-02-25 Ramakrishnan M <rama@gnu.org> (tiny change)
6169 * language/mlm-util.el (mlm-char-glyph): Fix more rules.
6171 2003-02-24 Stefan Monnier <monnier@cs.yale.edu>
6173 * progmodes/simula.el: Move abbrev loading to after the fun it uses.
6174 (simula-install-standard-abbrevs): Use dolist.
6175 Use system-flag when calling define-abbrev.
6177 2003-02-24 Dave Love <fx@gnu.org>
6179 * obsolete/cplus-md.el: Delete. (Requires removed c-mode.el.)
6181 * env.el (read-envvar-name): Decode names.
6182 (substitute-env-vars): Use eval-when-compile and char class.
6183 (setenv): Doc fix. Encode the data (after checking that's possible).
6184 (getenv): Encode the name and decode the result.
6186 2003-02-24 Ken Manheimer <klm@zope.com>
6188 * allout.el (allout-pre-command-business): Fix docstring.
6190 2003-02-24 Ramakrishnan M <rama@gnu.org> (tiny change)
6192 * language/mlm-util.el (mlm-char-glyph): Fix several composing rules.
6194 2003-02-24 Kenichi Handa <handa@m17n.org>
6196 * international/characters.el: Fix syntaxes of gb2312 and big5.
6198 * language/japan-util.el (sentence-end-save): Variable deleted.
6199 (setup-japanese-environment-internal): Don't setup sentence-end.
6200 (exit-japanese-environment): Function deleted.
6202 * language/japanese.el ("Japanese"): Delete `exit-function'.
6204 * textmodes/paragraphs.el (sentence-end): Add Chinese and Japanese
6207 2003-02-24 Ramakrishnan M <rama@gnu.org> (tiny change)
6209 * language/mlm-util.el (mlm-char-glyph): Add entries for "halant +
6210 rakar + halant" and "halant + rrakar + halant".
6212 2003-02-23 Richard M. Stallman <rms@gnu.org>
6214 * replace.el (query-replace-read-args): Return just 3 values.
6215 (query-replace, query-replace-regexp)
6216 (query-replace-regexp-eval, map-query-replace-regexp)
6217 (replace-string, replace-regexp): Read the start and end args
6218 separately so that the expressions are recorded in command-history.
6220 * menu-bar.el (Revert Buffer): Condition on buffer-file-number.
6222 * startup.el (inhibit-startup-hooks): New variable.
6223 (normal-top-level): Obey that variable.
6224 (command-line-1): Run emacs-startup-hook before term-setup-hook.
6225 Set inhibit-startup-hooks too.
6227 * files.el (revert-buffer): Different error message
6228 for reverting a nonexistent file.
6230 2003-02-22 Stefan Monnier <monnier@cs.yale.edu>
6232 * progmodes/cperl-mode.el: Merge changes from CPerl-5.0.
6233 (toplevel): Require man.
6234 Don't autoload tmm-prompt (it's in loaddefs.el).
6235 (cperl-electric-backspace-untabify): New var.
6236 (cperl-electric-backspace): Use it.
6237 (cperl-vc-header-alist): Extract numeric version from the Id.
6238 (cperl-build-manpage): New fun.
6239 (cperl-menu): Use it. Add toggle-autohelp.
6240 (cperl-mode) <defun-prompt_regexp>: Understand prototypes.
6241 (cperl-electric-brace): Use `cperl-after-block-p' for detection.
6242 (cperl-electric-keyword): Make $if (etc: "$@%&*") non-electric.
6243 '(' after keyword would insert a doubled paren.
6244 (cperl-calculate-indent): Update syntaxification before checks.
6245 Fix wrong indent of blocks starting with POD.
6246 (cperl-find-pods-heres): If no end of HERE-doc found, mark to the end
6247 of buffer. This enables recognition of end of HERE-doc "as one types".
6248 Require "\n" after trailing tag of HERE-doc.
6249 \( made non-quoting outside of string/comment (gdj-contributed).
6250 Likewise for \$. Remove `here-doc-group' text property at start
6251 (makes this property reliable).
6252 Text property `first-format-line' ==> t.
6253 Do not recognize $opt_s and $opt::s as s///.
6254 (cperl-after-block-p): Optional arg pre-block to check for a pre-block
6255 Recognize `continue' blocks too.
6256 (cperl-after-expr-p): Update syntaxification before checks. Work after
6257 here-docs, formats, and PODs too (affects many electric constructs).
6258 (cperl-fix-line-spacing): Allow "_" in $vars of foreach etc.
6259 (cperl-perldoc): Use case-sensitive search.
6261 * progmodes/cperl-mode.el: Merge changes from CPerl-4.35.
6262 (cperl-xemacs-p): Move.
6263 (cperl-can-font-lock): New var to replace window-system.
6264 (cperl-enable-font-lock): Use it.
6265 (cperl-use-major-mode): New var.
6266 (cperl-mode): Use it.
6267 (cperl-calculate-indent): Remove code whose removal was missed
6268 in some earlier merge.
6269 (cperl-tags-hier-init): Use display-popup-menus-p.
6271 2003-02-22 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
6273 * files.el (abbreviate-file-name): Shorten docstring: variables
6274 are now hyperlinks and `C-h v' need not be mentioned explicitly.
6276 2003-02-21 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
6278 * files.el (abbreviate-file-name): Document removal of
6279 automounter prefixes. Reported by Lars Hansen.
6281 2003-02-21 Kim F. Storm <storm@cua.dk>
6283 * emulation/cua-base.el: Add run-time check to catch users trying
6284 to use older versions of CUA-mode, rather than the version
6285 distributed with Emacs. Use autoload cookies and eval-after-load.
6287 * startup.el (command-line): Clarify and tidy up the message
6288 printed when there are errors in the user-init-file.
6289 Do not encapsulate the error data; it's read by humans here.
6290 Do not split windows when displaying the *Message* buffer.
6292 2003-02-20 Stefan Monnier <monnier@cs.yale.edu>
6294 * subr.el (with-syntax-table): Don't copy the table any more.
6296 2003-02-20 Ehud Karni <ehud@unix.mvs.co.il> (tiny change)
6298 * mail/rmail.el (rmail-insert-inbox-text): Make the pop3 mechanism
6299 work on cygwin systems too.
6301 2003-02-20 Juanma Barranquero <lektu@terra.es>
6303 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
6304 Remove useless check.
6306 2003-02-20 Andreas Schwab <schwab@suse.de>
6308 * info.el (Info-extract-menu-node-name): Stop if colon is
6309 followed by open paren.
6311 2003-02-20 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
6313 * mail/undigest.el (unforward-rmail-message): Allow nested
6314 unforwarding, that is, preserve old Forwarded-From/Date headers.
6316 2003-02-20 Kenichi Handa <handa@m17n.org>
6318 * term/w32-win.el: Call set-fontset-font with NAME nil.
6320 * international/mule-diag.el (print-fontset): If FONTSET is nil,
6321 use the default fontset.
6322 (describe-fontset): If the current frame is not using a fontset,
6323 call print-fontset with nil.
6325 2003-02-19 Andre Spiegel <spiegel@gnu.org>
6327 * vc.el (vc-binary-assoc, vc-binary-suffixes): Remove; these
6328 were accidentally left over during the VC redesign in 2000.
6330 2003-02-18 Juanma Barranquero <lektu@terra.es>
6332 * help-macro.el (make-help-screen): Fix character constant.
6334 * mouse-sel.el (mouse-sel-determine-selection-thing): Likewise.
6336 * calc/calc-graph.el (calc-graph-plot): Likewise.
6338 * calc/calc-prog.el (calc-macro-edit-variable): Likewise.
6340 * emacs-lisp/edebug.el: Likewise.
6342 * emacs-lisp/helper.el (Helper-help-scroller): Likewise.
6344 * language/cyril-util.el (standard-display-cyrillic-translit):
6347 * mail/rfc822.el (rfc822-nuke-whitespace): Likewise.
6349 * progmodes/cperl-mode.el (cperl-electric-keyword)
6350 (cperl-electric-pod, cperl-do-auto-fill): Likewise.
6352 * textmodes/reftex-ref.el (reftex-reference): Likewise.
6354 * textmodes/table.el (table-generate-source): Use ?\\ instead of
6355 space in "work in progress" message.
6357 * emacs-lisp/tq.el (tq-create): Fix quoted lambda expression.
6359 2003-02-17 Dave Love <fx@gnu.org>
6361 * progmodes/ebrowse.el (ebrowse-output): Don't use gensym.
6363 2003-02-17 Markus Rost <rost@math.ohio-state.edu>
6365 * calendar/calendar.el (diary-file-name-prefix-function):
6368 2003-02-17 Andre Spiegel <spiegel@gnu.org>
6370 * vc-cvs.el (vc-cvs-dir-state): Protect against DIR not being
6371 under CVS control. Suggested by Masanobu UMEDA.
6373 2003-02-17 Kenichi Handa <handa@m17n.org>
6375 * files.el (insert-directory): Add workaround for the case that we
6376 can't trust ls's output as to byte positions of filenames.
6378 2003-02-15 Richard M. Stallman <rms@gnu.org>
6380 * ffap.el: Many doc fixes.
6381 (ffap-replace-file-component):
6382 Renamed from ffap-replace-path-component. Callers changed.
6383 (ffap-host-to-filename): Renamed from ffap-host-to-path. Callers chgd.
6385 * international/iso-ascii.el (iso-ascii-display-table): New variable.
6386 (iso-ascii-standard-display-table): New variable.
6387 (iso-ascii-display): Define in iso-ascii-display-table.
6388 (iso-ascii-mode): New command.
6390 * tar-mode.el (tar-header-block-summarize):
6391 Use l for symlink, h for hard link.
6393 2003-02-15 David Kastrup <dak@gnu.org>
6395 * net/ange-ftp.el (ange-ftp-get-file-entry): Allow for graceful
6396 failure returning nil, as documented.
6398 2003-02-14 Dave Love <fx@gnu.org>
6400 * international/code-pages.el: Undo `Trailing whitepace deleted.'
6402 (cp1125, mik): Nullify mime-charset.
6404 * language/cyrillic.el ("Cyrillic-KOI8"): Fix input-method.
6406 ("Bulgarian"): Add tutorial.
6408 * international/mule-cmds.el (locale-language-names): Use Italian,
6409 Russian, Turkish, Chinese-EUC-TW.
6410 (set-locale-environment): Set ps-paper-type.
6412 2003-02-14 ARISAWA Akihiro <ari@mbf.sphere.ne.jp> (tiny change)
6414 * time.el (display-time-string-forms): Add face property to mail
6417 2003-02-14 Juanma Barranquero <lektu@terra.es>
6419 * international/mule-cmds.el (view-hello-file): Use `view-file'
6420 instead of `find-file-read-only'.
6422 * dired-aux.el (dired-query-alist): Fix use of character constant.
6424 * simple.el (backward-delete-char-untabify): Likewise.
6426 * strokes.el (strokes-read-complex-stroke): Likewise.
6428 * wid-edit.el (widget-choose): Likewise.
6430 * xml.el (xml-parse-elem-type): Likewise.
6432 * emacs-lisp/testcover-ses.el (ses-exercise-signals): Likewise.
6434 * progmodes/cperl-mode.el (cperl-next-bad-style): Likewise.
6436 * progmodes/idlwave.el (idlwave-show-begin): Likewise.
6438 2003-02-13 Stefan Monnier <monnier@cs.yale.edu>
6440 * international/mule-cmds.el (sort-coding-systems): Use \'.
6441 (select-safe-coding-system): Remove redundant assq check.
6442 Remove raw-text, emacs-mule and no-conversion from the list of
6443 proposed encodings unless there's nothing else.
6445 2003-02-13 Markus Rost <rost@math.ohio-state.edu>
6447 * files.el (find-alternate-file): Undo last change.
6449 * dired.el (dired-directory): Add autoload cookie.
6451 2003-02-13 Juanma Barranquero <lektu@terra.es>
6453 * international/characters.el: Use new ?\s syntax instead of "? "
6454 followed by a comment.
6456 * ruler-mode.el (ruler-mode-margins-char): Likewise.
6458 2003-02-13 Dave Love <fx@gnu.org>
6460 * newcomment.el (comment-indent): Ensure space before added comment.
6462 2003-02-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6464 * ps-print.el: Change the policy of background/foreground default
6466 (ps-print-version): New version number (6.5.9).
6467 (ps-default-fg, ps-default-bg): Adjust default value.
6468 (ps-begin-file, ps-begin-job): ps-default-fg and ps-default-bg
6469 variables now use `t' to indicate the use of Emacs session
6470 background/foreground color.
6471 (ps-output-string-prim): If index out of range, insert hexadecimal
6472 representation of character.
6474 2003-02-13 Kim F. Storm <storm@cua.dk>
6476 * help.el (where-is): Rename remap-command to command-remapping.
6477 * help-fns.el (describe-function-1): Likewise.
6479 2003-02-12 Glenn Morris <gmorris@ast.cam.ac.uk>
6481 * progmodes/fortran.el (fortran-fill): Fill lines that do not have
6484 2003-02-12 Stefan Monnier <monnier@cs.yale.edu>
6486 * progmodes/fortran.el (fortran-mode): Set comment-use-syntax.
6487 (fortran-fill-paragraph): Use fill-comment-paragraph.
6489 2003-02-12 Juanma Barranquero <lektu@terra.es>
6491 * files.el (file-truename): Revert change from 2002-11-27.
6493 2003-02-12 Luc Teirlinck <teirllm@mail.auburn.edu>
6495 * help-fns.el (describe-function-1): Change output for keyboard macros.
6497 2003-02-12 Andreas Schwab <schwab@suse.de>
6499 * progmodes/sh-script.el (sh-mode-map): Don't remap
6500 beginning-of-defun to the non-existing command
6501 sh-beginning-of-compound-command.
6503 2003-02-12 Karl Chen <quarl@hkn.eecs.berkeley.edu> (tiny change)
6505 * files.el (find-alternate-file): Check whether `dired-directory'
6508 2003-02-12 Simon Marshall <simon@gnu.org>
6510 * progmodes/make-mode.el (makefile-font-lock-keywords):
6511 Fontify single character variable references, but protect shell
6512 variables references.
6513 (makefile-mode): Make `$' be punctuation in font-lock-defaults.
6515 2003-02-12 Ami Fischman <ami@fischman.org>
6517 Face markup of calendar and diary displays: Any entry line that
6518 ends with [foo:value] where foo is a face attribute (except :box
6519 :stipple) or with [face:blah] tags, will have these values applied
6520 to the calendar and fancy diary displays. These attributes "stack"
6521 on calendar displays. File-wide attributes can be defined as
6522 follows: the first line matching "^# [tag:value]" defines the
6523 value for that particular tag. All of the tags' regexps can be
6526 * calendar/calendar.el (diary-face-attrs): New custom.
6527 (diary-file-name-prefix-function): New custom.
6528 (diary-glob-file-regexp-prefix): New custom.
6529 (diary-file-name-prefix): New custom.
6530 (generate-calendar-window): Check that font-lock-mode is bound
6531 before checking value.
6532 (mark-visible-calendar-date): Add the ability to pass face
6533 attribute/value pairs in the mark argument. Handle the mark.
6535 * calendar/diary-lib.el (diary-attrtype-convert): Convert an
6536 attribute value string to the desired type.
6537 (diary-pull-attrs): New function that pulls the attributes off a
6538 diary entry, merges with file-global attributes, and returns
6539 the (possibly modified) entry and a list of attribute/values using
6540 diary-attrtype-convert.
6541 (list-diary-entries, fancy-diary-display, show-all-diary-entries)
6542 (mark-diary-entries, mark-sexp-diary-entries)
6543 (list-sexp-diary-entries): Add handling of file-global attributes;
6544 add handling of entry attributes using diary-pull-attrs.
6545 (mark-calendar-days-named, mark-calendar-days-named)
6546 (mark-calendar-date-pattern, mark-calendar-month)
6547 (add-to-diary-list): Add optional paramater `color' for passing
6548 face attribute info through the callchain. Pass this parameter around.
6550 2003-02-11 Stefan Monnier <monnier@cs.yale.edu>
6552 * progmodes/etags.el (find-tag-tag): Move (default foo) to before
6554 (find-tag): Make sure we move point in the proper window.
6556 * progmodes/meta-mode.el (meta-fill-paragraph): Remove.
6557 (meta-common-initialization): Don't set fill-paragraph-function
6558 now that fill-paragraph takes care of comments.
6560 * progmodes/scheme.el (scheme-mode-syntax-table): Don't switch
6561 the current buffer's syntax-table.
6563 * progmodes/simula.el (simula-font-lock-syntactic-keywords): New var.
6564 (simula-font-lock-keywords-1): Simplify.
6565 (simula-font-lock-keywords-2): Use regexp-opt.
6566 (simula-emacs-features): Remove.
6567 (simula-mode-syntax-table): Setup %...\n as comment style b.
6568 (simula-mode-map): Remove compatibility cruft.
6569 (simula-keep-region-active): Remove.
6570 (simula-popup-menu): Simplify.
6571 (simula-mode): Move abbrev-table setup to top-level.
6572 (simula-match-string-or-comment): Remove.
6574 * progmodes/tcl.el (tcl-omit-ws-regexp): Correctly handle cases
6575 like `proc foo {a {b c} d} {'.
6576 (tcl-mode): Make comment-start-skip more selective.
6578 * info-xref.el (info-xref-check): Use line-beginning-position.
6579 (info-xref-all-info-files): Cons a bit less.
6580 (info-xref-check-buffer): Use push and replace-regexp-in-string.
6581 (info-xref-output): Call insert only once.
6582 (info-xref-whitespace): Remove.
6584 2003-02-11 John Paul Wallington <jpw@gnu.org>
6586 * ibuffer.el (toplevel): Don't require `font-lock';
6587 require `font-core' instead, even though it is dumped.
6589 * ibuf-ext.el (ibuffer-save-with-custom, ibuffer-add-to-tmp-hide)
6590 (ibuffer-add-to-tmp-show): Doc fixes.
6592 * language/tamil.el ("Tamil"): Doc fix.
6594 2003-02-11 Juanma Barranquero <lektu@terra.es>
6596 * language/vietnamese.el ("Vietnamese"): Fix typos.
6598 * info-xref.el (info-xref-check-buffer): Fix typo.
6600 * makefile.w32-in (DONTCOMPILE): Add malayalam.el and tamil.el.
6602 2003-02-11 Kenichi Handa <handa@m17n.org>
6604 * loadup.el: Load "language/malayalam" and "language/tamil".
6606 2003-02-11 KAWABATA, Taichi <kawabata@m17n.org>
6608 * Makefile.in (DONTCOMPILE): Add malayalam.el and tamil.el.
6610 * language/devan-util.el: Maintainer's mail address changed.
6611 (devanagari-composable-pattern): Add DANDA character.
6612 (dev-char-glyph): Add an entry for DANDA.
6614 * language/devanagari.el: Maintainer's mail address changed.
6616 * language/indian.el: Maintainer's mail address changed.
6618 * language/ind-util.el (indian-dev-base-table): Table fixed.
6619 (indian-pnj-base-table): Table contents defined.
6620 (indian-gjr-base-table): Likewise.
6621 (indian-ori-base-table): Likewise.
6622 (indian-bng-base-table): Likewise.
6623 (indian-asm-base-table): Likewise.
6624 (indian-tlg-base-table): Likewise.
6625 (indian-knd-base-table): Likewise.
6626 (indian-mlm-base-table): Likewise.
6627 (indian-tml-base-table): Likewise.
6628 (indian-pnj-itrans-v5-hash, indian-gjr-itrans-v5-hash)
6629 (indian-ori-itrans-v5-hash, indian-bng-itrans-v5-hash)
6630 (indian-asm-itrans-v5-hash, indian-tlg-itrans-v5-hash)
6631 (indian-knd-itrans-v5-hash, indian-mlm-itrans-v5-hash)
6632 (indian-tml-itrans-v5-hash): New variables.
6634 * language/malayalam.el: New file.
6635 * language/mlm-util.el: New file.
6636 * language/tamil.el: New file.
6637 * language/tml-util.el: New file.
6639 2003-02-11 Kevin Ryde <user42@zip.com.au>
6641 * info-xref.el: New file.
6643 2003-02-10 Stefan Monnier <monnier@cs.yale.edu>
6645 * textmodes/page-ext.el (pages-directory-mode-map): New.
6646 (pages-directory-map): Redefine as an varalias.
6647 (pages-directory-mode): Use new map var and run mode hook.
6648 (pages-directory-address-mode): Use define-derived-mode.
6650 * textmodes/texinfmt.el (texinfo-format-iftex, texinfo-format-ifhtml)
6651 (texinfo-format-ifplaintext, texinfo-format-tex, texinfo-format-html)
6652 (texinfo-format-ifnotinfo, texinfo-format-titlepage)
6653 (texinfo-format-titlespec, texinfo-format-ignore, texinfo-if-set)
6654 (texinfo-if-clear): Use re-search-forward's return value.
6655 (texinfo-sort-startkeyfun, texinfo-format-buffer-1)
6656 (texinfo-format-region): Use line-{end,beginning}-position.
6657 (texinfo-append-refill, texinfo-alias): Use match-string-no-properties.
6659 * emacs-lisp/eldoc.el (eldoc-echo-area-multiline-supported-p)
6660 (eldoc-use-idle-timer-p): Remove.
6661 (timer): Never require. It only works in current Emacs anyway.
6662 (eldoc-mode, eldoc-message, eldoc-display-message-p)
6663 (eldoc-docstring-format-sym-doc, eldoc-remove-command): Simplify.
6665 * ffap.el (ffap-complete-as-file-p):
6666 Use minibuffer-completing-file-name.
6668 * international/mule.el (load-with-code-conversion): Use push.
6670 * font-core.el (font-lock-defontify): Use restore-buffer-modified-p.
6672 * gud.el (gud-gdb-run-command-fetch-lines, gud-display-line):
6673 Use with-current-buffer and simplify.
6675 * help-mode.el (help-xref-on-pp): Only add xref if the text
6678 * pcvs-parse.el (cvs-parse-table): "no longer in repo" does not
6679 make the file dead if we used the -n arg.
6681 * emacs-lisp/cl-macs.el (process-get): Add setf method.
6683 * server.el (server-previous-strings): Remove.
6684 (server-process-filter): Use (process-get 'previous-string) instead.
6685 (server-sentinel): Remove code made superfluous.
6687 2003-02-10 Luc Teirlinck <teirllm@mail.auburn.edu>
6689 * info.el (Info-follow-nearest-node): Implement new behavior.
6691 2003-02-10 Juanma Barranquero <lektu@terra.es>
6693 * progmodes/ebnf-otz.el (ebnf-optimize, ebnf-optimize1): Fix typo.
6695 * progmodes/ebnf2ps.el (ebnf2ps): Fix typo.
6696 (ebnf-syntactic): Change group name and tag from "ebnf-syntatic".
6697 (ebnf-syntax, ebnf-lex-comment-char, ebnf-lex-eop-char)
6698 (ebnf-terminal-regexp, ebnf-case-fold-search)
6699 (ebnf-iso-alternative-p, ebnf-iso-normalize-p)
6700 (ebnf-yac-ignore-error-recovery): Add to group "ebnf-syntactic", not
6702 (ebnf-optimize, ebnf-print-buffer, ebnf-print-region)
6703 (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-buffer)
6704 (ebnf-eps-region, ebnf-syntax-buffer, ebnf-syntax-region)
6705 (ebnf-generate-region): Fix typo.
6707 2003-02-10 KAWABATA, Taichi <kawabata@m17n.org>
6709 * language/ind-util.el (indian-itrans-v5-table): Add entries for
6712 2003-02-10 Martin Stjernholm <bug-cc-mode@gnu.org>
6714 * progmodes/cc-styles.el (c-set-offset): Don't find a default
6715 syntactic element through syntactic analysis if called outside
6718 2003-02-09 Martin Stjernholm <bug-cc-mode@gnu.org>
6720 * progmodes/cc-mode.el (c-basic-common-init):
6721 Install `c-fill-paragraph' on `fill-paragraph-function'.
6722 Although it's not the normal way to call it in a CC Mode buffer it
6723 makes a direct call to `fill-paragraph' work better.
6725 2003-02-08 Kim F. Storm <storm@cua.dk>
6727 * printing.el (pr-get-symbol): Define during compile.
6729 2003-02-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6731 * printing.el: New file.
6733 2003-02-07 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
6735 * language/european.el ("French", "Slovenian"): Fix doc strings.
6737 2003-02-06 John Paul Wallington <jpw@gnu.org>
6739 * mail/rmailsum.el (rmail-summary-previous-msg): Add docstring.
6740 (rmail-summary-line-count-flag, rmail-summary-previous-labeled-message)
6741 (rmail-summary-next-labeled-message, rmail-summary-resend)
6742 (rmail-summary-override-mail-send-and-exit): Doc fixes.
6744 2003-02-06 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
6746 * language/european.el ("Italian"): New.
6748 2003-02-06 Matthew Swift <swift@alum.mit.edu>
6750 * dired.el (dired-move-to-filename-regexp): Support "K" suffix on
6753 2003-02-05 Juanma Barranquero <lektu@terra.es>
6755 * font-lock.el (font-lock-reference-face): Add obsolescence
6756 declaration and remove redundant info from docstring.
6758 * log-edit.el (cvs-commit-buffer-require-final-newline)
6759 (cvs-changelog-full-paragraphs): Likewise.
6761 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
6762 (mouse-wheel-click-button): Likewise.
6764 * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name): Likewise.
6766 * vc.el (vc-annotate-display, vc-checkout-carefully): Likewise.
6768 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6769 (vc-header-alist): Likewise.
6771 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Likewise.
6773 * textmodes/outline.el (outline-visible): Likewise.
6775 2003-02-05 Kim F. Storm <storm@cua.dk>
6777 * ido.el (ido-define-mode-map):
6778 Undo last change (duplicates part of 2003-02-04 change).
6779 Remap `viper' delete commands only in file or dir mode.
6781 2003-02-05 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
6783 * ido.el (ido-define-mode-map): Interact with Viper.
6785 2003-02-05 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
6787 * net/tramp.el: Version 2.0.29 released.
6788 (tramp-send-region): Protect against tramp-chunksize being nil.
6789 (tramp-chunksize): Set default to 500 as workaround for some ssh
6791 (tramp-handle-directory-file-name): New implementation. Not sure
6793 (tramp-md5-function): Require md5 before checking function md5.
6794 If using md5-encode, put wrapper around it that converts vector of
6795 bytes to ascii text.
6796 (top-level): Avoid byte-compiler warnings of unused variables if
6797 the byte-compiler supports this. This is for the
6798 with-parsed-tramp-file-name macro which is wont to produce such stuff.
6800 2003-02-05 Michael Albinus <Michael.Albinus@alcatel.de>
6802 * net/tramp.el (tramp-handle-directory-file-name): Handle the case
6804 (tramp-completion-handle-file-name-all-completions):
6805 Define `tramp-current-user' locally. See `tramp-parse-passwd'.
6806 (tramp-parse-passwd): For su-alike methods it would be desirable
6807 to return "root@localhost" as default. Unfortunately, we have no
6808 information whether any user name has been typed already. So we
6809 (mis-)use tramp-current-user as indication, assuming it is set in
6810 `tramp-completion-handle-file-name-all-completions'.
6811 (tramp-send-region): Handle the case `tramp-chunksize' is equal 0.
6812 I did it accidently. Infinite loop ...
6813 (tramp-get-device): `tramp-make-tramp-file-name' must not be
6814 called with NIL path. It fails in case of multi-method.
6815 (tramp-file-name-for-operation): Apply `expand-file-name' for
6816 relative file names only. Otherwise there might be problems if
6817 the default directory is another Tramp directory as the directory
6818 the file is based on.
6819 (tramp-find-foreign-file-name-handler): Check whether FILENAME is
6820 a Tramp file name. It isn't if it comes from an expanded file
6821 name (like "/xx:yy//zz").
6822 (tramp-devices): New variable. Keeps virtual device numbers.
6823 Devices must distinguish physical file systems. The device
6824 numbers provided by "lstat" aren't unique, because we operate on
6825 different hosts. So we use virtual device numbers, generated by
6826 `tramp-get-device'. Both Ange-FTP and EFS use device number -1.
6827 In order to be different, we use device number (-1 x), whereby "x"
6828 is unique for a given (multi-method method user host).
6830 (tramp-perl-file-attributes): Always return device number -1.
6831 There will be a virtual device number set in
6832 `tramp-handle-file-attributes', which replaces this one.
6833 (tramp-handle-file-attributes): Set virtual device number.
6834 (tramp-get-device): New function. Returns the virtual device
6835 number. If it doesn't exist, generate a new one.
6836 (tramp-handle-file-regular-p): Use Emacs file name primitives
6837 instead of calling tramp-handle-* equivalents directly.
6838 Needed for tramp-smb.
6839 (tramp-completion-function-alist-ssh): Add parsing of
6840 "/etc/ssh_config" and "~/.ssh/config". Suggested by Kai.
6841 (tramp-completion-function-alist, tramp-set-completion-function):
6843 (tramp-parse-sconfig, tramp-parse-sconfig-group): New functions.
6844 Provide parsing of "~/.ssh/config" style files.
6845 (tramp-completion-handle-expand-file-name):
6846 Apply `tramp-drop-volume-letter'. Otherwise, there are problems
6848 (tramp-completion-mode): Perform check (integerp last-input-event)
6849 before (event-modifiers last-input-event) -- there might be
6850 problems if `last-input-event' is a mouse event.
6851 (tramp-parse-rhosts, tramp-parse-shosts)
6852 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc):
6853 Use `file-readable-p' instead of `file-exists-p'. Otherwise these
6854 functions might block. Reported by <kin@neoscale.com>.
6856 * net/tramp-ftp.el (top-level): eval-after-load "ange-ftp"
6857 '(tramp-disable-ange-ftp). Suggested by Kai.
6858 (tramp-ftp-file-name-handler): `tramp-disable-ange-ftp' not needed
6860 (top-level): Defaults for `tramp-default-method-alist' must be a list.
6862 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6863 Apply `tramp-handle-directory-file-name'.
6864 (tramp-smb-handle-file-attributes): Apply `tramp-get-device'.
6865 ATIME and CTIME are (0 0) now (= "don't know"), which is more honest.
6866 (tramp-smb-handle-make-directory): Use Emacs file name primitives
6867 instead of calling tramp-smb-handle-* equivalents directly.
6868 (tramp-smb-read-file-entry): Return size as a number, not a string.
6869 (top-level): Defaults for `tramp-default-method-alist' must be a list.
6871 2003-02-05 Stefan Monnier <monnier@cs.yale.edu>
6873 * completion.el (eval-when-compile-load-eval, completion-eval-when)
6874 (cmpl-read-time-eval, minibuffer-window-selected-p): Remove.
6875 (completion-min-length, completion-max-length)
6876 (completion-prefix-min-length): Don't hard-code the default value
6877 when byte-compiling.
6878 (complete): Inline minibuffer-window-selected-p.
6880 2003-02-04 Richard M. Stallman <rms@gnu.org>
6882 * term.el (term-raw-map): Set it up at load time.
6883 (term-char-mode): Don't set up term-raw-map here.
6884 (term-set-escape-char): Don't set up C-x subcommand.
6885 (term-ansi-face-already-done): Renamed from
6886 term-ansi-face-alredy-done.
6887 (term-command-hook): Avoid error if STRING is empty.
6888 (term, term-mode): Doc fixes.
6890 * term.el: Redesign handling of colors and faces.
6891 Delete all the faces that this mode used to make.
6892 (ansi-term-color-vector): New variable.
6893 (ansi-term-fg-faces-vector, ansi-term-bg-faces-vector)
6894 (ansi-term-inv-bg-faces-vector, ansi-term-inv-fg-faces-vector):
6896 (term-default-fg-color, term-default-bg-color): Use defcustom.
6897 (term-handle-colors-array): Use ansi-term-color-vector,
6898 and specify face attributes rather than faces in `face' property.
6900 * term.el (term-ansi-fg-faces-vector, term-ansi-bg-faces-vector)
6901 (term-ansi-inv-fg-faces-vector, term-ansi-inv-bg-faces-vector)
6902 (term-ansi-reverse-faces-vector): Delete unused variables.
6903 (term-ignore-error): Delete macro.
6905 * simple.el (back-to-indentation): Skip all whitespace
6906 except for newlines.
6908 * files.el (find-alternate-file): Handle dired-directory
6909 like buffer-file-name.
6911 * dired.el (dired-find-buffer-nocreate): Avoid error if
6912 dired-directory is nil.
6914 2003-02-04 Juanma Barranquero <lektu@terra.es>
6916 * image.el (image-type-regexps): Fix typo.
6918 * international/characters.el: Restore missing space and put a
6919 comment to protect it from being deleted as trailing whitespace.
6921 * ruler-mode.el (ruler-mode-margins-char): Likewise.
6923 2003-02-04 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
6925 * mail/rmailout.el (rmail-output): If preserving MIME-version,
6926 preserve Content-type too.
6928 2003-02-04 Kim F. Storm <storm@cua.dk>
6930 * ido.el (ido-define-mode-map): Remap viper delete char/word
6931 commands to their ido specific equivalents. Disable ESC in
6932 viper mode (to avoid exiting insert mode), since ido doesn't
6933 work in viper command mode.
6934 (ido-delete-backward-updir, ido-delete-backward-word-updir):
6935 Handle remapped viper commands.
6937 2003-02-03 Juanma Barranquero <lektu@terra.es>
6939 * calculator.el (calculator): Don't use the minibuffer even in
6940 electric mode; use a private buffer and display it in the minibuffer
6941 window using `set-window-buffer'.
6943 2003-02-03 Dave Love <fx@gnu.org>
6945 * emacs-lisp/benchmark.el: New.
6947 2003-02-02 Andreas Schwab <schwab@suse.de>
6949 * progmodes/asm-mode.el (asm-font-lock-keywords): Allow arbitrary
6950 words separated by dots. Match optional parenthesized word at
6954 (font-lock-match-c-style-declaration-item-and-skip-to-next):
6955 Don't require underscore in word before double open-paren.
6957 2003-02-02 John Paul Wallington <jpw@gnu.org>
6959 * hexl.el (hexl-mode-map): Bind C-m to `hexl-self-insert-command'.
6961 2003-02-01 Stephen Gildea <gildea@stop.mail-abuse.org>
6963 * time-stamp.el: Tweak doc strings and preamble commentary.
6964 (time-stamp): Fix parsing of "%%a" in time-stamp-pattern (change
6965 regexp subpattern 5)
6966 (time-stamp-pattern): Initialize to nil to avoid regexp work in
6968 (time-stamp-string): Call set-time-zone-rule instead of setenv
6969 (time-stamp-hhmmss): Remove (not needed after all).
6970 (time-stamp-month-dd-yyyy, time-stamp-dd/mm/yyyy)
6971 (time-stamp-mon-dd-yyyy, time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
6972 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd, time-stamp-yymmdd)
6973 (time-stamp-hh:mm:ss, time-stamp-hhmm): Make obsolete.
6975 2003-01-31 Stefan Monnier <monnier@cs.yale.edu>
6977 * cus-edit.el (custom-unlispify-menu-entry): Use with-current-buffer.
6978 (custom-save-variables): Use dolist, simplify.
6979 Output a message if a `requests' entry looks suspicious.
6980 (custom-save-faces): Use dolist, simplify.
6982 2003-01-31 Christoph Wedler <Christoph.Wedler@sap.com>
6984 * antlr-mode.el: Bug fixes, miscellaneous.
6985 (antlr-mode): Make major mode work with cc-mode-5.29 or higher,
6986 make it more rubust against changes in cc-mode's style variables
6987 by using `boundp' and function `c-init-language-vars' if defined.
6988 (antlr-c++-mode-extra): Only ask if language is not "Cpp".
6989 (antlr-read-value): With completion, ignore case.
6990 (antlr-run-tool-interactive): New function.
6991 (antlr-run-tool): Use it for `interactive' specification.
6993 * antlr-mode.el: Simplify Emacs/XEmacs compatibility.
6994 (cond-emacs-xemacs): New compile-time macro.
6995 (defunx): New compile-time macro.
6996 (ignore-errors-x): New compile-time macro.
6997 (save-buffer-state-x): New compile-time macro.
6999 (antlr-scan-sexps, antlr-simple-scan-sexps): Deletia.
7000 (antlr-scan-lists, antlr-simple-scan-sexps): Deletia.
7001 (antlr-simple-default-directory): Deletia.
7002 (antlr-default-directory): Define directly.
7003 (antlr-simple-read-shell-command): Deletia.
7004 (antlr-read-shell-command): Define directly.
7005 (antlr-simple-with-displaying-help-buffer): Deletia.
7006 (antlr-with-displaying-help-buffer): Define directly.
7007 (antlr-fast-invalidate-context-cache): Deletia.
7008 (antlr-slow-invalidate-context-cache): Deletia.
7009 (antlr-invalidate-context-cache): Define directly.
7010 (antlr-fast-syntactic-context): Deletia.
7011 (antlr-slow-syntactic-context): Deletia.
7012 (antlr-syntactic-context): Define directly.
7014 (antlr-mode-menu): Use new macros.
7015 (antlr-font-lock-additional-keywords): Ditto.
7016 (antlr-skip-sexps): Ditto.
7017 (antlr-end-of-rule): Ditto.
7018 (antlr-beginning-of-rule): Ditto.
7019 (antlr-end-of-body): Ditto.
7020 (antlr-beginning-of-body): Ditto.
7021 (antlr-hide-actions): Ditto.
7022 (antlr-option-kind): Ditto.
7024 * antlr-mode.el: In Emacs, use face attribute :weight, not :bold.
7025 (antlr-font-lock-keyword-face): Use new macros.
7026 (antlr-font-lock-syntax-face): Ditto.
7027 (antlr-font-lock-ruledef-face): Ditto.
7028 (antlr-font-lock-tokendef-face): Ditto.
7029 (antlr-font-lock-literal-face): Ditto.
7031 Changes from 2002-05-24:
7033 * antlr-mode.el: Version 2.2a.
7035 Changes from 2002-05-03:
7037 * antlr-mode.el: Make context parsing faster on Emacs, for faster
7038 syntax highlighting, indentation and imenu support.
7039 Suggested by Aaron Davies <adavies42@users.sourceforge.net>.
7040 (antlr-slow-context-cache): New variable.
7041 (antlr-slow-syntactic-context): Use cache.
7042 (antlr-slow-cache-enabling-symbol): New internal variable.
7043 (antlr-slow-cache-diff-threshold): New variable.
7044 (antlr-fast-invalidate-context-cache): Renamed from
7045 antlr-xemacs-bug-workaround.
7046 (antlr-imenu-create-index-function): Search from beginning.
7048 * antlr-mode.el: More sophisticated indentation, i.e., use the
7049 indentation engine of cc-mode for most actions.
7050 (antlr-c-common-init): Allow nil for `antlr-indent-style'.
7051 (antlr-indent-line): Use indentation engine of cc-mode more often.
7052 (antlr-indent-at-bol-alist): Only used for header actions.
7053 (antlr-disabling-cc-syntactic-symbols): New variable.
7054 (antlr-indent-item-regexp): Delete stuff for actions.
7055 (antlr-indent-at-bol-alist): With language "Java", indent
7056 "package" and "import" at column 0 in header part.
7058 * antlr-mode.el (antlr-simple-default-directory): Define.
7059 (antlr-simple-read-shell-command): Define.
7060 (antlr-simple-with-displaying-help-buffer): Define.
7061 (antlr-simple-scan-sexps, antlr-simple-scan-lists):
7062 Renamed from antlr-scan-{sexps,lists}-internal.
7064 Changes from 2002-02-28:
7066 * antlr-mode: Version 2.2 is released.
7068 * antlr-mode.el (antlr): Moved to SourceForge.net
7070 * antlr-mode.el: Minor bug fixes: insert options and indentation.
7071 (antlr-option-location): Don't use point as position where to
7072 insert options if point is in comment.
7073 (antlr-mode): Don't set style here.
7074 (antlr-c-common-init): Set style here. If boundp, set
7075 `c-current-comment-prefix' to not break indentation in comments.
7076 Hm, I should probably split `c-common-init' from cc-mode into two
7077 parts, one of which I could use for antlr-mode.el.
7079 Changes from 2002-01-31:
7081 * antlr-mode.el (antlr-font-lock-additional-keywords):
7082 Also hightlight `~' with `antlr-font-lock-syntax-face'.
7083 Suggested by Helmut Neukirchen <neukirchen@itm.mu-luebeck.de>.
7085 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
7096 * international/mule.el:
7097 * net/browse-url.el:
7101 * woman.el: Added cygwin to system-type comparisons.
7103 2003-01-31 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
7105 * mail/undigest.el (rmail-forward-separator-regex): New custom
7107 (unforward-rmail-message): Use it.
7109 2003-01-30 Dave Love <fx@gnu.org>
7111 * textmodes/ispell.el (lookup-words): Fix last change.
7113 2003-01-29 John Paul Wallington <jpw@gnu.org>
7115 * font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'.
7117 * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
7118 `deftheme'. Fix docstring offsets for `define-ibuffer-filter' and
7119 `define-ibuffer-sorter'.
7120 (lisp-imenu-generic-expression): Add `deftheme' to types.
7122 * custom.el (customize-mark-to-save, customize-mark-as-set)
7123 (custom-remove-theme): Doc fixes.
7125 2003-01-29 Didier Verna <didier@xemacs.org>
7127 * cus-edit.el (custom-save-variables): Also save non theme'd ones.
7128 * cus-edit.el (custom-save-faces): Ditto.
7130 2003-01-29 Juanma Barranquero <lektu@terra.es>
7132 * composite.el (decompose-composite-char): Fix docstring.
7134 * select.el (x-set-cut-buffer): Fix docstring. Check type with
7135 `stringp' instead of `substring'.
7137 * textmodes/reftex.el (reftex-TeX-master-file): Use really the buffer
7138 file name if no other master file is located.
7140 * progmodes/cperl-mode.el (cperl-beautify-level)
7141 (cperl-beautify-regexp): Fix use of `prefix-numeric-value'.
7142 (cperl-calculate-indent): Fix typo.
7144 2003-01-29 Taro Kawagishi <tarok@transpulse.org>
7146 * arc-mode.el (archive-lzh-summarize): Fix previous change.
7148 2003-01-29 Kim F. Storm <storm@cua.dk>
7150 * emacs-lisp/authors.el: New format of AUTHORS file; list each
7151 author name once followed by contributed and changed files.
7152 Improve selection of entries to include in list, and generate list
7153 of unrecognized entries indicating syntax errors in ChangeLog files.
7154 (authors-coding-system): New variable.
7155 (authors-many-files): Update doc string.
7156 (authors-aliases): Change format. Now one entry with multiple
7158 (authors-valid-file-names, authors-renamed-files-alist)
7159 (authors-renamed-files-regexps): New variables.
7160 (authors-canonical-file-name): New function. Validates that file
7161 exists or occurs in one of the above lists. Record unrecognized
7162 file names in global authors-invalid-file-names list.
7163 (authors-add): Change to record per-change counts.
7164 (authors-canonical-author-name): Handle new format of
7165 authors-aliases list.
7166 (authors-scan-change-log): Rename FILE arg to LOG-FILE.
7167 Change doc string to describe new entry format.
7168 Only add author entries for valid file names.
7169 (authors-print): Replace by authors-add-to-author-list.
7170 (authors-add-to-author-list): New function which reorders
7171 per-file entries and adds them to global authors-author-list.
7172 (authors): Instead of authors-print to insert in *Authors* buffer,
7173 use authors-add-to-author-list to reorder the list and then
7174 insert result in *Authors* buffer with new format.
7175 Generate *Authors Errors* compilation-mode buffer listing
7176 unrecognized ChangeLog entries.
7178 2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
7180 * term/mac-win.el: Add entries in function-key-map for
7181 [tab], [backspace], [escape].
7183 2003-01-28 Kim F. Storm <storm@cua.dk>
7185 * info.el (Info-extract-menu-node-name): Another fix for
7186 2003-01-24 change. Also stop search if : is followed by TAB.
7188 2003-01-28 John Paul Wallington <jpw@gnu.org>
7190 * ibuf-ext.el (ibuffer-yank-filter-group): Move check for empty
7191 `ibuffer-filter-group-kill-ring' out of `interactive' declaration.
7193 2003-01-28 Martin Stjernholm <bug-cc-mode@gnu.org>
7195 * progmodes/cc-vars.el, progmodes/cc-mode.el
7196 (c-require-final-newline): Made this variable an alist to
7197 specify a value for each language. The default value causes
7198 `require-final-newline' to be set to t only in languages where
7199 the standard requires a final newline.
7201 2003-01-27 Kim F. Storm <storm@cua.dk>
7203 * simple.el (kill-new): Improve doc string for yank-handler.
7204 Signal args-out-of-range error if yank-handler is specified for
7207 * subr.el (insert-for-yank): Remove COMMAND element from yank handler.
7209 2003-01-27 Dave Love <fx@gnu.org>
7211 * dired-x.el (dired-filename-at-point): Fix last change and tidy up.
7213 * thingatpt.el (thing-at-point-file-name-chars):
7214 Include non-ASCII again and re-write the filename ops.
7216 2003-01-27 David Ponce <david@dponce.com>
7218 * makefile.w32-in (update-subdirs-SH): Create lisp/subdirs.el.
7220 2003-01-27 Juanma Barranquero <lektu@terra.es>
7222 * filesets.el (filesets-file-open): Fix typo.
7224 * vcursor.el (vcursor-disable): Likewise.
7226 * eshell/esh-cmd.el (eshell-separate-commands): Likewise.
7228 * progmodes/cc-styles.el (c-make-styles-buffer-local): Likewise.
7230 * progmodes/cc-vars.el (c-offsets-alist): Likewise.
7232 * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Likewise.
7234 2003-01-26 Martin Stjernholm <bug-cc-mode@gnu.org>
7236 * progmodes/cc-vars.el, progmodes/cc-mode.el
7237 (c-require-final-newline): Add a variable to make the
7238 initialization of `require-final-newline' more configurable.
7240 2003-01-26 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
7242 * emacs-lisp/authors.el (authors-aliases): Add Jan D.
7243 Set iso-2022-7bit coding: cookie.
7245 2003-01-26 Kim F. Storm <storm@cua.dk>
7247 * info.el (Info-extract-menu-node-name): Fix 2003-01-24 change.
7248 Don't search for next colon if current colon is followed by
7249 one of ".", ",", ";", or ")".
7250 (info-insert-file-contents) [!MSDOS]: Avoid byte-compiler warning.
7251 (Info-find-node) [!MSDOS]: Avoid byte-compiler warning.
7253 2003-01-26 Richard M. Stallman <rms@gnu.org>
7255 * thingatpt.el (thing-at-point-file-name-chars): Undo previous change.
7257 2003-01-25 Bill Wohler <wohler@newt.com>
7259 * mh-e: Created directory. ChangeLog will appear in a week when we
7260 release version 7.2.
7262 * mail/mh-alias.el, mail/mh-comp.el, mail/mh-customize.el, mail/mh-e.el,
7263 mail/mh-funcs.el, mail/mh-identity.el, mail/mh-index.el,
7264 mail/mh-loaddefs.el, mail/mh-mime.el, mail/mh-pick.el,
7265 mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el,
7266 mail/mh-xemacs-compat.el: Moved to mh-e directory.
7267 Note that reply2.pbm and reply2.xpm, which were created by the
7268 MH-E package, were left in mail since they can probably be used by
7269 other mail packages.
7271 * makefile.w32-in (WINS): Add mh-e.
7273 * makefile.nt (WINS): Add mh-e.
7275 2003-01-25 Richard M. Stallman <rms@gnu.org>
7277 * emacs-lisp/bytecomp.el (byte-compile-file-form-custom-declare-variable):
7278 Compile any lambda-expressions among the args.
7280 * view.el (view-mode): Doc fix.
7282 * ido.el: Many doc fixes.
7283 (ido-complete): Fix message.
7285 2003-01-25 Taro Kawagishi <tarok@transpulse.org>
7287 * arc-mode.el (archive-unixdate): Correct the date field string.
7288 (archive-lzh-summarize): Extend it to allow the LZH level 2 header
7289 type (which is most prevalent now), in addition to the already
7290 supported level 0 and 1 header types.
7292 2003-01-25 Markus Rost <rost@math.ohio-state.edu>
7294 * international/mule-cmds.el (set-language-info)
7295 (current-language-environment): Simplify setting the type of
7296 current-language-environment.
7298 2003-01-25 Kim F. Storm <storm@cua.dk>
7300 * emulation/cua-base.el (cua--init-keymaps): Move C-S-x and C-S-c
7301 bindings from cua--cua-keys-keymap to cua--region-keymap, as they are
7302 only needed when the region is active. This also makes the output
7303 from C-h b look normal when cua-mode is enabled (no C-S-x/c bindings).
7305 2003-01-25 Michael Kifer <kifer@cs.stonybrook.edu>
7307 * ediff.el (ediff-revision): Better defaults.
7309 * ediff-vers.el (ediff-vc-latest-version): New function.
7310 (ediff-vc-internal): Use latest version instead of working version.
7312 2003-01-24 Thien-Thi Nguyen <ttn@gnu.org>
7314 * info.el (Info-extract-menu-node-name): When looking for end of menu
7315 item, don't stop at first ":"; instead, continue until trailing
7316 context is either a space or newline.
7317 (Info-complete-menu-item): Var `pattern': allow ":" in menu item.
7318 (Info-menu): Likewise, for regexp used in backwards search.
7319 (Info-try-follow-nearest-node): Remove case added in previous edit.
7320 Change regexp in the following case to allow ":" in menu item.
7321 (Info-fontify-node): Fix bug: Handle `next-property-change' returning
7322 point-max as "hasn't already been done".
7324 2003-01-24 Thien-Thi Nguyen <ttn@gnu.org>
7326 * info.el (Info-try-follow-nearest-node): Add case: Handle menu item
7327 terminated by ": " as an index entry.
7329 2003-01-24 Juanma Barranquero <lektu@terra.es>
7331 * isearch.el (isearch-forward): Fix typo.
7333 2003-01-24 Kenichi Handa <handa@m17n.org>
7335 * international/mule.el (decode-coding-inserted-region):
7336 Rename from decode-coding-region-as-inserted-from-file to make it fit
7337 well in the Lisp manual.
7339 * jka-compr.el (jka-compr-insert-file-contents):
7340 Call docode-coding-inserted-region.
7342 2003-01-24 John Paul Wallington <jpw@gnu.org>
7344 * ibuffer.el (ibuffer-window-list): Remove.
7345 (ibuffer-confirm-operation-on): Use `window-list' instead.
7346 (ibuffer-load-hook): New customizable variable.
7348 (ibuffer-customize): New command.
7349 (ibuffer-mode-map): Bind it.
7350 (ibuffer-mode-map): Add menu seperator in View>Sort menu.
7351 (ibuffer-mode): Tidy.
7352 (ibuffer-fontification-alist, ibuffer-always-show-last-buffer)
7353 (ibuffer-default-directory, ibuffer-default-sorting-mode)
7354 (ibuffer-maybe-show-predicates, ibuffer-hook, ibuffer-mode-hook)
7355 (ibuffer-map-lines): Doc fixes.
7357 * ibuf-ext.el (ibuffer-copy-filename-as-kill): C-u means relative
7358 filenames. Use `kill-new'.
7360 2003-01-23 Dave Love <fx@gnu.org>
7362 * abbrev.el (write-abbrev-file): Simplify, and put a coding cookie
7365 2003-01-23 Masatake YAMATO <jet@gyve.org>
7367 * progmodes/asm-mode.el (asm-mode): Add syntax table entries for
7370 2003-01-23 Kenichi Handa <handa@m17n.org>
7372 * files.el (insert-directory): Read the output of "ls" by
7373 no-conversion, and decode it later while preserving
7374 `dired-filename' property.
7376 2003-01-23 Markus Rost <rost@math.ohio-state.edu>
7378 * descr-text.el (describe-text-mode-hook): Add a group.
7380 2003-01-23 John Paul Wallington <jpw@shootybangbang.com>
7382 * term/mac-win.el (interprogram-paste-function): Handle empty
7385 2003-01-22 Aubrey Jaffer <agj@alum.mit.edu> (tiny change)
7387 * info.el (Info-index): Change pattern so that index entries with
7388 colons can be read properly; also, require at least one space
7389 after the colons, which makeinfo puts in.
7391 2003-01-22 Andreas Schwab <schwab@suse.de>
7393 * jka-compr.el (jka-compr-insert-file-contents): Fix typo in last
7396 2003-01-22 Markus Rost <rost@math.ohio-state.edu>
7398 * Makefile.in (bootstrap-after): New target.
7399 (bootstrap): Move finder-data, custom-deps to bootstrap-after.
7401 2003-01-22 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
7403 * info.el (Info-index-next): Use "(`,' tries to find next)" for
7404 more matches for consistency with standalone info browser.
7406 2003-01-22 Kenichi Handa <handa@m17n.org>
7408 * international/mule.el
7409 (decode-coding-region-as-inserted-from-file): New function.
7411 * jka-compr.el (jka-compr-insert-file-contents): Read a process
7412 output without decoding. Decode the result by
7413 decode-coding-region-as-inserted-from-file.
7415 2003-01-22 Kim F. Storm <storm@cua.dk>
7417 * ido.el (ido-make-file-list, ido-make-dir-list): Don't move
7418 visited directories to end of list; it's the wrong thing to do if
7419 we want to find a file or directory in such directories.
7421 * simple.el: Doc fixes.
7422 * subr.el: Doc fixes.
7424 2003-01-20 Nick Roberts <nick@nick.uklinux.net>
7426 * gud.el (gud-display-line): If the current file is newer than its
7427 buffer, offer to reread the file.
7428 (gud-keep-buffer): New buffer local variable. Ensures offer to
7429 reread file is made just once.
7431 2003-01-20 Stefan Monnier <monnier@cs.yale.edu>
7433 * emacs-lisp/regexp-opt.el (regexp-opt-group): Undo last change.
7434 Fix the docstring instead.
7436 2003-01-20 Glenn Morris <gmorris@ast.cam.ac.uk>
7438 * calendar/calendar.el (calendar-only-one-frame-setup): Autoload it.
7440 2003-01-20 Richard M. Stallman <rms@gnu.org>
7442 * simple.el (completion-setup-function): Set default-directory
7443 in the minibuffer, so it'll be copied into the completion list buffer.
7445 * emacs-lisp/regexp-opt.el (regexp-opt-group): Compute HALF2 properly.
7447 * loadup.el (load-path): Rename `path' local var.
7449 * progmodes/octave-mod.el (octave-mode-map): Change C-c i bindings
7450 to C-c C-i. Duplicate its bindings with last char a ctl char.
7451 Also change C-c f to C-c C-f.
7453 2003-01-20 Markus Rost <rost@math.ohio-state.edu>
7455 * ls-lisp.el (ls-lisp-use-insert-directory-program): Make default
7456 value system dependent.
7457 (ls-lisp-support-shell-wildcards): Add autoload cookie.
7459 2003-01-19 Kim F. Storm <storm@cua.dk>
7461 * msb.el: Use `dir' instead of `path' everywhere.
7463 2003-01-18 Kim F. Storm <storm@cua.dk>
7465 * simple.el (kill-new, kill-append, kill-region):
7466 New optional parameter yank-handler.
7467 (yank-excluded-properties): Add yank-handler to list.
7468 (yank-undo-function): New variable.
7469 (yank): Use it to undo previous yank or yank-pop command.
7470 Allow insert-for-yank to override this-command.
7472 * subr.el (insert-for-yank): Arg list changed; now only accepts one
7473 string rather than any number of strings; no callers needed change.
7474 Use yank-handler text property on the arg string.
7475 Set yank-undo-function variable appropriately for yank-pop.
7477 2003-01-18 Stefan Monnier <monnier@cs.yale.edu>
7479 * textmodes/fill.el (fill-comment-paragraph): Fix simplistic
7480 regexp-concatenation.
7482 * add-log.el (add-change-log-entry): Don't leave space at eol.
7483 (add-log-current-defun): Perl functions names can't have (or {.
7485 * progmodes/sh-script.el (sh-indent-line): Use indent-line-to.
7486 (sh-non-closing-paren): New const.
7487 (sh-case, sh-while-getopts): Use it to make props non-sticky.
7488 (sh-add-completer): Use test-completion.
7490 2003-01-18 Vasily Korytov <deskpot@myrealbox.com> (tiny change)
7492 * progmodes/cperl-mode.el: Don't make faces depend on window-system.
7494 2003-01-18 Markus Rost <rost@math.ohio-state.edu>
7496 * cus-edit.el (customize-changed-options): Undo last doc change.
7498 2003-01-17 Stefan Monnier <monnier@cs.yale.edu>
7500 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
7501 Don't treat \n specially in sub-skeletons.
7503 2003-01-17 Dave Love <fx@gnu.org>
7505 * international/ucs-tables.el: Redo 8859-6 change in the right place.
7507 2003-01-17 Kenichi Handa <handa@m17n.org>
7509 * international/fontset.el: Don't setup the default fontset and
7510 font-encoding-alist at the top level.
7511 (setup-default-fontset): New function.
7512 (create-fontset-from-fontset-spec): Delete autoload cookie.
7514 * term/x-win.el: Require fontset unconditionally again.
7515 Call setup-default-fontset at the top level.
7517 * term/w32-win.el: Call setup-default-fontset.
7519 * term/mac-win.el: Require fontset and call setup-default-fontset.
7521 2003-01-16 Stefan Monnier <monnier@cs.yale.edu>
7523 * textmodes/fill.el (fill-region-as-paragraph): Only erase `hard'
7524 property until end-of-paragraph.
7526 2003-01-16 Kenichi Handa <handa@m17n.org>
7528 * international/ucs-tables.el: Undo the last change.
7530 2003-01-15 Dave Love <fx@gnu.org>
7532 * thingatpt.el (thing-at-point-file-name-chars): Include non-ASCII
7533 and use documented treatment of -.
7535 * dired-x.el (dired-filename-at-point): Fix filename-chars.
7537 * international/ucs-tables.el: Set up tables for 8859-6.
7539 * server.el (server-window): Customize.
7541 (server-unload-hook): Call server-start.
7543 2003-01-15 John Wiegley <johnw@gnu.org>
7545 * eshell/em-hist.el (eshell-save-history-on-exit):
7546 Rename `eshell-ask-to-save-history' to `eshell-save-history-on-exit',
7547 because the former name is somewhat unrelated to the variables'
7550 2003-01-15 Deepak Goel <deego@gnufans.org>
7552 * calc/README: Add new maintainer.
7556 * calc/calc.el (calc-bug-address): Change address to deego@gnufans.org.
7558 2003-01-15 Andrew Innes <andrewi@gnu.org>
7560 * makefile.w32-in (loaddefs.el): Invoke make to build stub file
7561 using appropriate rule for build environment.
7562 (loaddefs.el-SH, loaddefs.el-CMD): New targets. Include small set
7563 of autoloads and defvars, sufficient to dump bootstrap emacs.
7564 (update-subdirs-SH): Use hard-coded list of top-level lisp
7565 subdirs, because find program on Windows is not compatible with
7567 (compile-CMD, compile-SH): Use `batch-byte-compile-if-not-done'.
7568 Explicitly load loaddefs.el so that bootstrap emacs can compile
7570 (bootstrap-clean): Add dependency on loaddefs.el, to ensure
7571 minimal stub sufficient for dumping bootstrap emacs is available.
7573 * loadup.el: Include lisp/textmodes in load-path for bootstrap
7574 emacs, to resolve ispell menu reference.
7576 2003-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> (tiny change)
7578 * international/mule.el (optimize-char-coding-system-table):
7581 * term/mac-win.el: Setup the fontset "fontset-mac" correctly.
7583 2003-01-14 Stefan Monnier <monnier@cs.yale.edu>
7585 * pcvs-info.el (cvs-fileinfo-from-entries): Deal with Solaris'
7586 occasional use of "05" rather than " 5" for day-of-month.
7588 * log-view.el (log-view-message-re): The rev might be locked.
7590 2003-01-14 Nick Roberts <nick@nick.uklinux.net>
7592 * gdb-ui.el: Improve commentary.
7593 (gdb-window-height, gdb-window-width, gdb-display-number-end):
7594 Customize the dimensions of frames for displayed expressions.
7595 (gdb-error-begin): Comment out because it is not used because of
7596 bug/quirk in annotations.
7597 (gdb-reset): Use with-current-buffer.
7599 2003-01-14 Kim F. Storm <storm@cua.dk>
7601 * ido.el (ido-read-internal, ido-file-internal)
7602 (ido-copy-current-file-name, ido-wide-find-dirs-or-files):
7603 Don't use `path' as name of local variables holding a file name.
7605 * arc-mode.el (archive-arc-rename-entry): Fix error message.
7606 (archive-lzh-summarize): Rename local var `path' to `dir'.
7607 (archive-unique-fname) [!MSDOS]: Avoid byte-compiler warning.
7609 * dired.el: Doc fixes.
7610 * dired-aux.el: Rename `whole-path' to `whole-name' throughout.
7611 (dired-mark-read-regexp): Use "Abs." prefix instead of "Path".
7612 * dired-x.el: Doc fixes.
7614 * fast-lock.el (fast-lock-cache-name): Doc fix.
7616 * net/browse-url.el (browse-url-filename-alist): Doc fix.
7618 2003-01-14 John Paul Wallington <jpw@shootybangbang.com>
7620 * apropos.el (apropos): Restore autoload cookie. Fix typo in
7621 "error retrieving function documentation" output.
7623 2003-01-14 Kim F. Storm <storm@cua.dk>
7625 * subr.el (process-put, process-get): New functions.
7627 * simple.el (clone-process): Copy process' plist to new process.
7629 2003-01-13 Markus Rost <rost@math.ohio-state.edu>
7631 * cus-dep.el (custom-make-dependencies): Don't set standard-value
7632 and version numbers for variables. Handle faces.
7634 * cus-edit.el (customize-changed-options): Doc addition. Load the
7635 version deps earlier. Use other tests for groups and variables.
7638 2003-01-14 Kim F. Storm <storm@cua.dk>
7640 * ido.el: Doc fixes.
7641 (ido-max-file-prompt-width): Rename from ido-max-prompt-path.
7642 (ido-rewrite-file-prompt-functions): Rename from
7643 ido-make-file-prompt-hook. Directory name is now in dynamic
7644 variable `dirname' (instead of `path').
7645 (ido-rewrite-file-prompt-rules): Rename from
7646 ido-rewrite-prompt-path-rules.
7647 (ido-make-prompt): Directory name now in `dirname' var.
7648 (ido-complete): Fix error message.
7650 2003-01-13 John Paul Wallington <jpw@shootybangbang.com>
7652 * server.el (server-process-filter): Use `minibufferp' to test
7653 whether we are inside a minibuffer.
7654 (server-process, server-kill-new-buffers): Doc fixes.
7656 2003-01-13 Dave Love <fx@gnu.org>
7658 * international/utf-16.el (mule-utf-16-be, mule-utf-16-le):
7659 Remove pre-write-conversion.
7661 2003-01-13 Kim F. Storm <storm@cua.dk>
7663 * hexl.el (hexl-mode-map): Don't quote remapped command names.
7665 2003-01-13 David Ponce <david@dponce.com>
7667 * ruler-mode.el (ruler-mode): Cleanup buffer local variable
7668 `header-line-format' if it didn't exist when `ruler-mode' was enabled.
7670 2003-01-13 Masatake YAMATO <jet@gyve.org>
7672 * ruler-mode.el (ruler-mode-comment-column-char)
7673 (ruler-mode-goal-column-char, ruler-mode-set-goal-column-ding-flag)
7674 (ruler-mode-mouse-current-grab-object): New variables.
7675 (ruler-mode-comment-column-face, ruler-mode-goal-column-face):
7677 (ruler-mode-mouse-set-fill-column): Removed.
7678 (ruler-mode-mouse-grab-any-column)
7679 (ruler-mode-mouse-drag-any-column-iteration)
7680 (ruler-mode-mouse-drag-any-column): New functions.
7681 (ruler-mode-map): [header-line down-mouse-2] Bound to
7682 `ruler-mode-mouse-grab-any-column' instead of
7683 `ruler-mode-mouse-set-fill-column'.
7684 (ruler-mode-ruler-help-echo): Update its value.
7685 (ruler-mode-ruler-help-echo-when-goal-column): New help string used
7686 when goal-column is already set.
7687 (ruler-mode-ruler-help-echo-tab): Rename to...
7688 (ruler-mode-ruler-help-echo-when-tab-stops): New.
7689 (ruler-mode-fill-column-help-echo, ruler-mode-comment-column-help-echo)
7690 (ruler-mode-goal-column-help-echo): New help strings.
7691 (ruler-mode-ruler): Use `ruler-mode-ruler-help-echo-when-goal-column'
7692 instead of `ruler-mode-ruler-help-echo' if `goal-column' is set.
7693 Show `comment-column' and `goal-column'. Echo the different help
7694 string for each *-column characters on the ruler.
7696 2003-01-13 Richard M. Stallman <rms@gnu.org>
7698 * apropos.el (apropos-documentation-property): New function.
7699 (apropos): Use apropos-documentation-property.
7701 * files.el (mode-line-process): Mark as risky.
7703 * help.el (where-is): Catch errors in indirect-function.
7705 * server.el (server-process-filter): Comment out -eval.
7706 Don't switch buffers if inside isearch or minibuffer.
7708 * progmodes/compile.el (compilation-revert-buffer):
7709 If buffer has a file, revert it in the normal way.
7711 * term/x-win.el: Require fontset conditionally again.
7713 2003-01-13 Kim F. Storm <storm@cua.dk>
7715 * ido.el (ido-enable-tramp-completion): New defcustom.
7716 (ido-enter-single-matching-directory): Change default to 'slash.
7717 (ido-is-tramp-root): New defun.
7718 (ido-is-root-directory, ido-is-ftp-directory, ido-is-slow-ftp-host)
7719 (ido-may-cache-directory, ido-final-slash, ido-read-internal)
7720 (ido-complete, ido-make-file-list1, ido-make-dir-list1):
7721 Handle tramp completion.
7722 (ido-file-name-all-completions1): New defun for tramp completion.
7723 (ido-file-name-all-completions): Use it.
7724 (ido-set-matches1): Relax matching of text with trailing slash.
7725 (ido-exhibit): Handle tramp completion.
7726 Simplified code using nested cond forms using new `refresh' var.
7727 Fixed handling of /~user/ paths.
7729 2003-01-12 Andreas Schwab <schwab@suse.de>
7731 * arc-mode.el (archive-mode-map): Use command remapping instead of
7732 substitute-key-definition.
7733 * emerge.el (emerge-setup-fixed-keymaps): Likewise.
7734 * msb.el (msb-mode-map): Likewise.
7735 * forms.el (forms--change-commands): Likewise.
7736 * hexl.el (hexl-mode-map): Likewise.
7737 * mail/mailabbrev.el (Commentary): Likewise.
7738 * play/decipher.el (decipher-mode-map): Likewise.
7739 * play/gomoku.el (gomoku-mode-map): Likewise.
7740 * play/landmark.el (lm-mode-map): Likewise.
7741 * play/solitaire.el (solitaire-mode-map): Likewise.
7742 * progmodes/sh-script.el (sh-mode-map): Likewise.
7743 * textmodes/picture.el (picture-substitute): Likewise.
7745 * ielm.el (inferior-emacs-lisp-mode):
7746 Bind comint-dynamic-complete-functions locally.
7748 * buff-menu.el (Buffer-menu-select): Fix for effect of header line.
7750 2003-01-11 Andreas Schwab <schwab@suse.de>
7752 * textmodes/sgml-mode.el (sgml-font-lock-keywords-2): Add flag to
7753 merge with existing fontification.
7755 2003-01-11 Nick Roberts <nick@nick.uklinux.net>
7757 * gud.el (gud-kill-buffer-hook): Save gud-minor-mode type.
7758 (gud-reset): New function. Reset environment at end of debugging.
7759 (gud-sentinel): Call gud-reset or gdb-reset.
7760 (gud-menu-map, gud-tool-bar-map, gdb): Change gud-goto to gud-until.
7762 * gdb-ui.el (gud-display): Use GDB command ptype instead of whatis
7763 to find out if variable shuld be dereferenced.
7764 (gud-display1): Exit if there is `No symbol'.
7765 (gdb-expressions-mode-map): Correction to key-binding.
7766 (gdb-reset): New function. Reset environment at end of debugging.
7769 2003-01-10 Dave Love <fx@gnu.org>
7771 * international/code-pages.el (cp-make-coding-system): Fix last change.
7773 2003-01-10 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
7775 * dired.el (dired-garbage-files-regexp): Use \\' instead of $ and
7776 use regexp-opt for readability.
7778 2003-01-10 Mark A. Hershberger <mah@everybody.org>
7780 * xml.el (xml-parse-tag, xml-parse-attlist, xml-skip-dtd)
7781 (xml-parse-dtd, xml-parse-elem-type): Be more flexible in recognizing
7784 2003-01-10 Luc Teirlinck <teirllm@mail.auburn.edu>
7786 * progmodes/sh-script.el (sh-set-shell): Make sh-shell-file the default
7789 2003-01-09 John Wiegley <johnw@gnu.org>
7791 * pcomplete.el (pcomplete-termination-string): Add a variable
7792 for modifying the string which is inserted after a completion or
7793 expansion using pcomplete.
7795 2003-01-09 Karl Berry <karl@gnu.org>
7797 * sort.el (sort-regexp-fields): Pass noerror to re-search-forward,
7798 so that we don't fail if no records match record-regexp.
7800 2003-01-09 Markus Rost <rost@math.ohio-state.edu>
7802 * cus-edit.el (customize-group, customize-group-other-window):
7803 Remove unnecessary calls to custom-load-symbol.
7804 (custom-group-value-create):
7805 Load widget deps if state is not hidden. If widget deps are
7806 loaded, load them in advance.
7807 (custom-menu-create): If widget deps are loaded, load them earlier.
7809 2003-01-09 John Paul Wallington <jpw@shootybangbang.com>
7811 * language/ethio-util.el (ethio-gemination)
7812 (exit-ethiopic-environment): Doc fixes.
7814 * language/viet-util.el (viet-encode-viqr-region)
7815 (viet-decode-viqr-region, viet-encode-viqr-buffer)
7816 (viet-decode-viqr-buffer): Doc fixes.
7818 2003-01-09 ShengHuo ZHU <zsh@cs.rochester.edu>
7820 * paths.el: Remove gnus-startup-file.
7822 2003-01-08 Bill Wohler <wohler@newt.com>
7824 * mail/mh-alias.el, mail/mh-customize.el, mail/mh-identity.el,
7825 mail/mh-loaddefs.el, toolbar/alias.pbm, toolbar/alias.xpm: Added.
7827 * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
7828 mail/mh-index.el, mail/mh-mime.el, mail/mh-pick.el,
7829 mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el,
7830 mail/mh-xemacs-compat.el: Upgraded to MH-E version 7.1.
7832 2003-01-08 Kim F. Storm <storm@cua.dk>
7834 * mail/undigest.el (unforward-rmail-message): Don't use global
7837 2003-01-08 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
7839 * mail/undigest.el (unforward-rmail-message): Simplified.
7840 No functional change.
7842 2003-01-07 Markus Rost <rost@math.ohio-state.edu>
7844 * custom.el (custom-autoload, custom-variable-p): New functions.
7846 * emacs-lisp/autoload.el (make-autoload):
7847 Generate custom-autoload for autoloaded defcustoms.
7849 * help-fns.el (describe-variable): Use custom-variable-p.
7851 * simple.el (set-variable): Load deps of custom variables without type.
7853 * cus-edit.el (custom-variable-prompt): Doc change.
7854 Use custom-variable-p.
7855 (customize-option): Remove search in loaddefs.el.
7856 (customize-apropos): Use custom-variable-p.
7857 (custom-save-variables): Use custom-variable-p to detect
7858 non-rogue variables.
7860 2003-01-07 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
7862 * mail/undigest.el (unforward-rmail-message): Skip all newlines
7863 after the initial separator.
7864 (unforward-rmail-message): Forwarded-From: and Forwarded-Date:
7865 instead of Forwarded-from: and Forwarded-date:.
7867 2003-01-07 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
7869 * dired.el (dired-garbage-files-regexp): Add `.aux$'. These are
7872 2003-01-07 Andre Spiegel <spiegel@gnu.org>
7874 * vc-rcs.el (vc-rcs-checkout): Fix the check whether we are on a
7877 2003-01-06 Dave Love <fx@gnu.org>
7879 * textmodes/ispell.el (lookup-words): Cope with null lookup-dict.
7881 * language/chinese.el ("Chinese-EUC-TW"): New.
7883 2003-01-06 John Paul Wallington <jpw@shootybangbang.com>
7885 * mail/rmail.el (rmail-mmdf-delim1, rmail-mmdf-delim2): Doc fixes.
7887 2003-01-05 Richard M. Stallman <rms@gnu.org>
7889 * obsolete/uncompress.el: Display message that this pkg is obsolete.
7891 * isearch.el (isearch-repeat): Error if try to repeat search and
7892 there was no previous search.
7894 * dired.el (dired-recursive-deletes): Fix custom type.
7896 * dabbrev.el (dabbrev--substitute-expansion):
7897 Convert all whitespace to single spaces,
7898 except when it's carried over from the existing text.
7900 * simple.el (split-line): Clean up implementation.
7902 * mail/rmail.el (rmail-font-lock-keywords): Discard code to match
7904 (rmail-variables): Specify case-insensitive matching for font-lock.
7906 2003-01-05 Alexander Pohoyda <alexander.pohoyda@gmx.net> (tiny change)
7908 * mail/sendmail.el (mail-font-lock-keywords):
7909 * mail/rmail.el (rmail-font-lock-keywords): Match multiline
7910 In-Reply-To and X-*.
7912 2003-01-05 Mark A. Hershberger <mah@everybody.org>
7914 * xml.el (xml-substitute-special): Check for & last.
7916 2003-01-05 Dave Love <fx@gnu.org>
7918 * buff-menu.el (Buffer-menu-execute): Fix for effect of header line.
7920 2003-01-05 Dave Love <fx@gnu.org>
7922 * international/mule-diag.el (non-iso-charset-alist):
7923 Add vietnamese-tcvn.
7925 * international/mule-cmds.el (locale-language-names):
7926 Use Croatian, Swedish.
7928 2003-01-05 Andreas Schwab <schwab@suse.de>
7930 * buff-menu.el (Buffer-menu-buffer+size): Don't clobber buffer name.
7932 2003-01-05 Dave Love <fx@gnu.org>
7934 * language/european.el ("Latin-6", "Croatian"): New.
7935 ("Latin-7"): Fix nonascii-translation. Add input method.
7936 ("Lithuanian", "Latvian"): Add nonascii-translation.
7937 ("German", "Spanish", "Dutch", "Welsh", "Swedish"):
7938 Fix nonascii-translation.
7940 * language/georgian.el ("Georgian"): Fix nonascii-translation.
7942 * international/mule-cmds.el (set-locale-environment):
7943 Ignore empty values of environment variables.
7945 * emacs-lisp/byte-opt.el (byte-optimize-nth)
7946 (byte-optimize-nthcdr): Fix for case of wrong-length forms.
7948 2003-01-04 Nick Roberts <nick@nick.uklinux.net>
7950 * gdb-ui.el: Acknowledge Tom Lord as author of gdba.el.
7951 Use let construction to bind buffer-read-only to nil.
7952 (gdba): 'set height 0' in GDB.
7953 (gdb-display-end, gdb-frame-handler): Corrections to forming
7954 full expression name for header-line in display frame.
7955 (gdb-info-breakpoints-custom): Highlight breakpoints since
7956 they may be clicked on with mouse-2.
7957 (gdb-quit): Delete frames of displayed expressions when quitting.
7958 (gdb-delete-frames): New function.
7959 (gdb-source-info): Don't create stack buffer automatically.
7961 2003-01-04 Thien-Thi Nguyen <ttn@gnu.org>
7963 * xml.el (xml-substitute-special): Move "&" -> "&" last.
7965 2003-01-04 Kim F. Storm <storm@cua.dk>
7967 * simple.el (split-line): If present, copy fill-prefix from
7968 current line to new line. Don't copy if prefix arg.
7969 From Lisp, arg may be an alternative prefix string to copy.
7970 Inspired by Ehud Karni <ehud@unix.mvs.co.il>.
7972 * mail/sendmail.el (mail-split-line): New function.
7973 (mail-mode-map): Remap split-line to mail-split-line.
7975 2003-01-03 Dave Love <fx@gnu.org>
7977 * emacs-lisp/find-func.el (find-variable-noselect): Make it work
7978 with new load-history format.
7980 * international/mule-cmds.el (sort-coding-systems):
7981 Adjust priority of utf-16 and x-ctext.
7983 * international/utf-8.el (utf-translate-cjk):
7984 Call optimize-char-coding-system-table.
7986 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
7987 Call optimize-char-coding-system-table.
7989 * international/mule.el (register-char-codings): Don't call
7990 optimize-char-coding-system-table here.
7991 (keyboard-coding-system): Doc fix. Update :version.
7993 * textmodes/nroff-mode.el (nroff-mode-hook): Customize.
7994 (nroff-imenu-expression): New.
7995 (nroff-mode): Use it.
7997 * autoinsert.el (auto-insert-alist): Add man page skeleton.
7999 2003-01-03 Andre Spiegel <spiegel@gnu.org>
8001 * vc-rcs.el (vc-rcs-revert): Unlock only if the user does have
8004 2003-01-03 Kim F. Storm <storm@cua.dk>
8006 * emulation/cua-base.el (cua--pre-command-handler):
8007 Corrected handling of delete-selection properties.
8009 2003-01-03 John Paul Wallington <jpw@shootybangbang.com>
8011 * emacs-lisp/eldoc.el (eldoc-get-var-docstring): Only return a
8012 documentation string when `sym' is non-nil.
8014 2003-01-02 Steven Tamm <steventamm@mac.com>
8016 * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode):
8017 Have scroll bars correctly default to being on the right for Mac
8018 Carbon port by testing "mac-carbon" feature, not window-system.
8020 2003-01-02 Markus Rost <rost@math.ohio-state.edu>
8022 * cus-edit.el (customize-group, customize-group-other-window):
8023 Call custom-load-symbol unconditionally.
8024 (customize-face, customize-face-other-window): Fix format arg.
8026 2003-01-02 John Paul Wallington <jpw@shootybangbang.com>
8028 * menu-bar.el (menu-bar-left-scroll-bar): Set `scroll-bar-mode'
8031 2003-01-01 Richard M. Stallman <rms@gnu.org>
8033 * mail/rmail.el (rmail-reply): Don't call mail-strip-quoted-names.
8035 * files.el (backup-buffer): Cope if file-modes returns nil.
8037 2002-12-30 Steven Tamm <steventamm@mac.com>
8039 * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode):
8040 Have scroll bars correctly default to being on the right for Mac
8043 2002-12-29 Nick Roberts <nick@nick.uklinux.net>
8045 * gdb-ui.el (gdb-delete-display): Rename (gdb-delete-expression).
8046 (gdb-goto-bp-this-line): Rename (gdb-goto-breakpoint).
8047 (gdb-toggle-bp-this-line): Rename (gdb-toggle-breakpoint).
8048 (gdb-delete-bp-this-line): Rename (gdb-delete-breakpoint).
8049 (gdb-toggle-disp-this-line): Rename (gdb-toggle-display).
8050 (gdb-delete-disp-this-line): Rename (gdb-delete-display).
8051 (gud-gdba-marker-filter): Remove unnecessary save-match-data.
8052 (gdb-mouse-goto-breakpoint, gdb-frames-select): New functions.
8053 (gdb-frames-mouse-select): Simplify.
8054 Make keybindings (gdb-goto-breakpoint, gdb-frames-select, etc)
8055 consistent with other modes in emacs.
8056 (gdb-display-source-buffer): Return window of source buffer
8057 for (gud-display-line).
8059 2002-12-29 Markus Rost <rost@math.ohio-state.edu>
8061 * button.el (defface button): Add group.
8063 * cus-edit.el (customize-browse): Call `widget-setup'.
8065 2002-12-29 Andreas Schwab <schwab@suse.de>
8067 * Makefile.in: Generate cus-load.el and finder-inf.el in the
8068 source directory. Change dependencies on lisp files to explicitly
8070 (compile-calc): Fix command substitution.
8071 * cus-dep.el (generated-custom-dependencies-file): New variable.
8072 (custom-make-dependencies): Use it instead of hardcoding cus-load.el.
8073 * finder.el (generated-finder-keywords-file): New variable.
8074 (finder-compile-keywords): Use it instead of hardcoding finder-inf.el.
8076 2002-12-28 Richard M. Stallman <rms@gnu.org>
8078 * info-look.el (info-lookup): Fix error message typo.
8080 * comint.el (comint-mode): Locally set scroll-conservatively.
8081 (comint-postoutput-scroll-to-bottom): comint-scroll-show-maximum-output
8082 is active only when point is at end.
8084 * dired.el (dired-goto-file): Handle \ and ^M quoted by backslash.
8087 * files.el (find-file-noselect-1): Kill local value of `cursor-type'.
8089 * simple.el (repeat-complex-command): Signal real error on failure.
8091 2002-12-28 Andreas Schwab <schwab@suse.de>
8093 * progmodes/make-mode.el (makefile-font-lock-keywords):
8094 Highlight automatic variable references enclosed in parens and
8095 optionally suffixed by F or D.
8097 2002-12-27 Miles Bader <miles@gnu.org>
8099 * info.el (Info-complete-menu-item): Make `Info-complete-cache' a
8100 buffer-local variable.
8102 2002-12-26 Markus Rost <rost@math.ohio-state.edu>
8104 * cus-edit.el (customize-group-other-window): Use pop-to-buffer in
8105 the same way as `custom-buffer-create-other-window'.
8106 (customize-variable-other-window, customize-option-other-window):
8107 Definitions moved up.
8109 2002-12-26 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
8111 * net/tramp*.el: Sync with upstream version 2.0.28. Bugfixes.
8112 * net/tramp-ftp.el: Glue code with Ange-FTP, broken out of
8113 tramp.el. From Michael Albinus.
8114 * net/tramp-smb.el: New file for using smbclient to access
8115 Windows shares with Tramp. From Michael Albinus.
8117 2002-12-26 Andreas Schwab <schwab@suse.de>
8119 * international/mule-cmds.el (select-safe-coding-system): Fix typo.
8121 2002-12-26 Andre Spiegel <spiegel@gnu.org>
8123 * vc.el (vc-next-action-on-file): Use t argument to vc-checkout in
8124 order to get the latest version on the current branch.
8125 Update documentation of vc-BACKEND-checkout to explain this.
8127 * vc-rcs.el (vc-rcs-checkout): Handle t argument for REV.
8128 (vc-rcs-checkin): By default, specify the current workfile
8129 branch as the check-in revision.
8131 * vc-cvs.el (vc-cvs-checkout): Handle t argument for REV.
8133 * vc-sccs.el (vc-sccs-checkout): Likewise.
8135 2002-12-26 Nick Roberts <nick@nick.uklinux.net>
8137 * gdb-ui.el (gdb-info-display-custom): Ensure that frames/buffers
8138 of displayed expressions are deleted when the displayed expressions
8140 (gdb-delete-disp-this-line, gdb-delete-display): Frame/buffer
8141 deletion is handled by gdb-info-display-custom now.
8142 (gdb-source-info): Undo earlier change (do create display buffer
8145 2002-12-25 Markus Rost <rost@math.ohio-state.edu>
8147 * cus-edit.el (custom-save-faces): Fix typo.
8149 2002-12-23 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
8151 * mail/undigest.el (unforward-rmail-message): Do not assume that
8152 the forwarded message's Date: header comes after From:. Use a
8153 Forwarded-from: rather than a Forwarded-by: header. Add a
8154 Forwarded-date: header.
8156 2002-12-23 Nick Roberts <nick@nick.uklinux.net>
8158 * gdb-ui.el (gdb-display-number-end): Make auto-display of
8159 expressions in GDB work on text-only terminals.
8160 (gdb-post-prompt): Compute current frame properly.
8161 (gdb-get-current-frame, gdb-frame-handler): New functions.
8162 (gdb-source-info): Move last statement into if clause.
8163 Tidy, improve documentation.
8165 2002-12-23 Richard M. Stallman <rms@gnu.org>
8167 * emacs-lisp/checkdoc.el: Don't define a name for the minor mode menu.
8169 * emacs-lisp/easymenu.el (easy-menu-do-define): Handle nil for SYMBOL.
8170 (easy-menu-define): Doc fix, say SYMBOL can be nil.
8172 * window.el (save-selected-window): Save and restore
8173 selected windows of all frames.
8175 * cus-start.el (scroll-up-aggressively, scroll-down-aggressively):
8176 Update custom types.
8178 2002-12-23 Alex Schroeder <alex@emacswiki.org>
8180 Merging Dave Love <fx@gnu.org>'s custom_themes branch containing
8181 Alex Schroeder's adaptation of Jan Vroonhof
8182 <vroonhof@math.ethz.ch>'s code. Doc strings corrected by RMS.
8184 * cus-edit.el (customize-save-variable): Take themes into account.
8185 (custom-variable-save): Take themes into account.
8186 (custom-variable-reset-saved): Add comment-widget.
8187 (custom-variable-reset-standard): Add comment-widget.
8188 (custom-variable-reset-standard): Take themes into account.
8189 (custom-face-save): Take themes into account.
8190 (custom-face-reset-standard): Take themes into account.
8191 (custom-save-variables): Take themes into account.
8192 (custom-save-faces): Take themes into account.
8193 (custom-save-resets): New function.
8194 (custom-save-loaded-themes): New function.
8195 (customize-save-customized): Take themes into account.
8197 * cus-face.el (custom-set-faces): Call custom-theme-set-faces.
8198 (custom-theme-set-faces): New function.
8199 (custom-theme-face-value): New function.
8200 (custom-theme-reset-internal-face): New function.
8201 (custom-theme-reset-faces): New function.
8202 (custom-reset-faces): New function.
8204 * custom.el (custom-known-themes): New variable.
8205 (custom-declare-theme): New function.
8206 (deftheme): New macro.
8207 (custom-make-theme-feature): New function.
8208 (custom-theme-p): New function.
8209 (custom-check-theme): New function.
8210 (custom-push-theme): New function.
8211 (custom-theme-set-variables): Take themes into account.
8212 (custom-loaded-themes): New variable.
8213 (custom-theme-loaded-p): New function.
8214 (provide-theme): New function.
8215 (require-theme): New function.
8216 (custom-remove-theme): New function.
8217 (custom-do-theme-reset): New function.
8218 (custom-theme-load-themes): New function.
8219 (custom-load-themes): New function.
8220 (custom-theme-value): New function.
8221 (custom-theme-variable-value): New function.
8222 (custom-theme-reset-internal): New function.
8223 (custom-theme-reset-variables): New function.
8224 (custom-reset-variables): New function.
8226 * cus-theme.el: New file.
8228 2002-12-23 Matthew Swift <swift@alum.mit.edu>
8230 * emacs-lisp/rx.el (rx-and): Generate a shy group.
8231 Specify `no-group' when calling rx-to-string.
8232 (rx-submatch): Specify `no-group' when calling rx-to-string.
8233 (rx-kleene): Use rx-atomic-p to decide whether to make a group.
8234 (rx-atomic-p): New function.
8236 2002-12-23 Kevin Ryde <user42@zip.com.au>
8238 * info-look.el (info-lookup): For ease of use try item
8239 case-insensitive if not found case-sensitive.
8240 Do case sensitive search in index nodes, so items differing only in
8241 case go correctly to their respective nodes.
8243 2002-12-22 Richard M. Stallman <rms@gnu.org>
8245 * subr.el (add-to-invisibility-spec): If it was t, start it out at (t).
8247 * textmodes/texinfmt.el (tex-start-of-header, tex-end-of-header):
8250 * textmodes/tex-mode.el (tex-print): Call shell-quote-argument
8253 * textmodes/outline.el (outline-next-visible-heading):
8254 When going forward, test outline-invisible-p at start of header.
8256 2002-12-22 Kevin Ryde <user42@zip.com.au>
8258 * textmodes/makeinfo.el (makeinfo-buffer): Display result using
8260 (makeinfo-compilation-sentinel-buffer, makeinfo-current-node):
8262 (makeinfo-compile): Add a sentinel parameter.
8263 (makeinfo-compilation-sentinel-region): Renamed from
8264 makeinfo-compilation-sentinel, and makeinfo-temp-file now never nil.
8265 (makeinfo-region): Use this.
8266 * info.el (Info-revert-find-node): New function.
8268 2002-12-22 Nick Roberts <nick@nick.uklinux.net>
8270 * tooltip.el (tooltip-gud-tips): Output tooltip without switching
8271 process filter (gdba in gdb-ui.el only).
8272 (gdb-tooltip-print): New function.
8273 (tooltip-gud-process-output): Undo previous change.
8274 (tooltip-strip-annotations): Remove.
8276 2002-12-22 Zoltan Kemenczy <zoltan@ieee.org>
8278 * gud.el (gud-menu-map): Add jdb support for "run".
8279 (gud-jdb-find-source-using-classpath): Use 'identity.
8280 (gud-jdb-marker-filter): Marker regexp and filename filtering
8281 change to support a backwards-incompatible change in Sun's jdb
8282 line number display in SDK versions 1.4.
8283 (gud-format-command): gud-find-class now requires two
8284 parameters (file and linenumber).
8285 (gud-find-class): Bulk of the change related to using c-syntactic
8286 symbols to locate nested class declarations in java sources
8287 visited by java-mode (cc-mode).
8289 2002-12-21 Nick Roberts <nick@nick.uklinux.net>
8291 * gdb-ui.el: Remove the concept of an instance. This means that
8292 a lot of functions have been renamed. Accessors are prefixed with
8293 gdb-get, setters with gdb-set and the word instance has been
8294 removed from many function and variable names.
8295 (gdb-display-buffer): Protect source buffer as well
8296 as GUD buffer when requesting new buffers.
8297 (gdb-source-info): Two changes : Don't create display buffer
8298 automatically, compute source window correctly.
8300 2002-12-21 Richard M. Stallman <rms@gnu.org>
8302 * man.el (Man-getpage-in-background): Put GROFF_NO_SGR in env.
8304 * ls-lisp.el (original-insert-directory): Make this a variable,
8305 don't set its function definition.
8306 (insert-directory): Use funcall to call that function.
8308 * bindings.el (help-echo): Change tooltip string.
8310 * chistory.el (command-history-map): Move definition up.
8312 * faces.el (help-xref-stack): Add defvar to avoid warning.
8314 2002-12-21 Andreas Schwab <schwab@suse.de>
8316 * dired.el (dired-insert-directory): Preserve text properties
8319 2002-12-20 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
8321 * mail/undigest.el (rmail-mail-separator): Renamed from
8322 rmail-digest-mail-separator. All users changed.
8323 (unforward-rmail-message): Rewritten to be more robust and to
8324 additionally account for the common style of forwarding messages
8325 by citing them entirely with headers.
8327 2002-12-18 Dave Love <fx@gnu.org>
8329 * international/utf-8-subst.el: Deleted.
8331 * international/ucs-tables.el (ucs-fragment-8859): Don't modify
8332 char-coding-system-table elements destructively.
8333 Use optimize-char-coding-system-table.
8335 * international/mule.el (optimize-char-coding-system-table): New.
8336 (register-char-codings): Use it.
8338 * international/utf-8.el (ucs-mule-cjk-to-unicode)
8339 (ucs-unicode-to-mule-cjk): Revert last change.
8340 (utf-subst-table-for-encode): Initially use ucs-mule-cjk-to-unicode.
8341 (utf-subst-table-for-decode): Initially use ucs-unicode-to-mule-cjk.
8342 (utf-fragment-on-decoding, utf-translate-cjk): Don't modify
8343 char-coding-system-table elements destructively.
8344 (utf-translate-cjk): Set ucs-mule-cjk-to-unicode,
8345 ucs-unicode-to-mule-cjk to new hash tables with realistic parameters.
8347 2002-12-18 John Paul Wallington <jpw@shootybangbang.com>
8349 * info.el (Info-dir-remove-duplicates): Avoid infloop when
8350 deleting last entry.
8352 2002-12-17 Nick Roberts <nick@nick.uklinux.net>
8354 * gdb-ui.el (gdba-marker-filter, gdb-output-burst): Merge and
8355 rename gud-gdba-marker-filter.
8356 (gdb-append-to-inferior-io): Only pop up IO buffer if there is output.
8357 (gdb-make-instance): Remove (put into gdba).
8358 Use gdb-instance-enqueue-input instead of
8359 gdb-instance-enqueue-idle-input for user functions.
8360 (gdb-instance-target-string): Simplify.
8361 (in-gdb-instance-context): Remove.
8364 2002-12-17 Kenichi Handa <handa@m17n.org>
8366 * international/mule.el (set-file-name-coding-system): New function.
8368 * international/mule-cmds.el (mule-keymap, set-coding-system-map):
8369 Add bindings for set-file-name-coding-system.
8371 2002-12-17 Kenichi Handa <handa@m17n.org>
8373 * international/mule-cmds.el (universal-coding-system-argument):
8374 Bind coding-system-require-warning to t.
8375 (select-safe-coding-system): Handle t in the arg
8376 DEFAULT-CODING-SYSTEM specially. Use read-coding-system to read a
8377 coding-system to allow users to specify unsafe coding system on
8380 2002-12-16 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
8382 * mail/undigest.el (rmail-digest-methods)
8383 (rmail-digest-mail-separator): New variables.
8384 (rmail-digest-parse-mime, rmail-digest-parse-rfc1153strict)
8385 (rmail-digest-parse-rfc1153sloppy, rmail-digest-rfc1153)
8386 (rmail-digest-parse-rfc934): New functions.
8387 (undigestify-rmail-message): Completely rewritten.
8389 2002-12-16 Kim F. Storm <storm@cua.dk>
8391 * ido.el (ido-read-file-name): Remove debug message.
8393 2002-12-16 Daniel Pfeiffer <occitan@esperanto.org>
8395 * buff-menu.el (Buffer-menu, Buffer-menu-use-header-line)
8396 (Buffer-menu-buffer-face, Buffer-menu-buffer+size-width)
8397 (Buffer-menu-mode-width): New customization.
8398 (Buffer-menu-sort-column): New var.
8399 (Buffer-menu-no-header): New function for not changing header line and
8400 recognizing swapped M&R columns, used by modifying commands in Buffer
8402 (Buffer-menu-buffer+size): New function for variable width buffer name.
8403 (list-buffers-noselect): Rewritten for nicer menu.
8405 2002-12-16 Markus Rost <rost@math.ohio-state.edu>
8407 * filesets.el (filesets-build-menu-now): Don't clear messages.
8409 * allout.el: Avoid name conflicts with outline.el.
8410 Replace globally string "outline-" with string "allout-".
8411 Replaced 1446 occurrences; there was no string "allout-" before the
8412 change and there seems to be no dependency on outline.el.
8413 Put `quotes' around many function and variable names.
8414 Doc changes to adjust to the change to prefix "allout-".
8415 Don't provide `outline'. Use " Allout" as mode line string,
8416 not " Outl". Put group `allout' in group `editing'.
8417 Update Copyright notice. Autoload `allout-init'.
8418 (allout-init): Give report also in case auto-activation was inhibited.
8419 (my-mark-marker): Test for feature `xemacs' instead of a string parse.
8421 2002-12-16 Stefan Monnier <monnier@cs.yale.edu>
8423 * xml.el (xml-parse-tag): Allow spaces between / and >.
8425 2002-12-15 David Kastrup <David.Kastrup@t-online.de>
8427 * emacs-lisp/autoload.el (autoload-ensure-default-file):
8428 Insert missing space in file end comment.
8430 2002-12-15 Simon Josefsson <jas@extundo.com>
8432 * mail/smtpmail.el (smtpmail-via-smtp): Fall back to
8433 user-mail-address as sender.
8435 2002-12-15 Dave Love <fx@gnu.org>
8437 * international/mule-cmds.el (standard-keyboard-coding-systems):
8439 (set-locale-environment): Don't use it.
8441 * international/utf-8.el (ucs-mule-cjk-to-unicode)
8442 (utf-subst-table-for-encode, ucs-unicode-to-mule-cjk)
8443 (utf-subst-table-for-decode): Specify :size, :rehash-size.
8444 (utf-translate-cjk): :set rewritten to load subst-... files.
8446 (ccl-decode-mule-utf-8): Consider CJK translation for r3<#x3400.
8448 2002-12-15 Gustav H
\e,Ae
\e(Bllberg <gustav@virtutech.se> (tiny change)
8450 * progmodes/compile.el (compile-reinitialize-errors): Don't mark the
8451 buffer as modified unless it really is.
8453 2002-12-14 Andreas Schwab <schwab@suse.de>
8455 * wid-edit.el (widget-move): Don't loop infinitely when there is
8458 2002-12-13 Stefan Monnier <monnier@cs.yale.edu>
8460 * uniquify.el (uniquify-rationalize-file-buffer-names, rename-buffer)
8461 (uniquify-delay-rationalize-file-buffer-names, kill-buffer-hook):
8462 Undo 2002/09/27 change because kill-buffer-hook is not
8465 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8466 Optimize the remaining part of for-effect and/or expressions.
8468 2002-12-13 Markus Rost <rost@math.ohio-state.edu>
8470 * emacs-lisp/easy-mmode.el (define-minor-mode):
8471 Use `custom-current-group'. Pass all groups to the hook.
8472 (easy-mmode-define-global-mode): Use `custom-current-group'.
8474 * international/mule-cmds.el (current-language-environment):
8475 Set type according to `language-info-alist' also here.
8477 * progmodes/compile.el (compilation-menu-map):
8478 Use `kill-compilation' to stop compilation.
8480 2002-12-13 Kenichi Handa <handa@m17n.org>
8482 * language/european.el (encode-mac-roman): Fix last change.
8484 * language/cyrillic.el (ccl-encode-koi8, ccl-encode-koi8-u)
8485 (ccl-encode-alternativnyj): Fix last change.
8487 2002-12-13 Nick Roberts <nick@nick.uklinux.net>
8489 * gdb-ui.el: Improve documentation strings.
8490 (gdb-many-windows): Set default value to nil.
8492 2002-12-12 Dave Love <fx@gnu.org>
8494 * international/subst-big5.el, international/subst-gb2312.el:
8495 * international/subst-jis.el, international/subst-ksc.el: New.
8497 * custom.el (defcustom, custom-set-variables): Doc fix.
8499 * emacs-lisp/bytecomp.el (byte-compile-if): Suppress warnings from
8500 things protected by `(if (fboundp ...' or `(if (boundp ...'.
8502 * emacs-lisp/byte-opt.el (byte-optimize-featurep): New.
8504 2002-12-12 Glenn Morris <gmorris@ast.cam.ac.uk>
8506 * progmodes/fortran.el (fortran-mode-abbrev-table):
8507 Handle `define-abbrev' with either 5 or 6 arguments.
8509 2002-12-12 Markus Rost <rost@math.ohio-state.edu>
8511 * international/mule-cmds.el (set-language-info):
8512 Update custom-type of `current-language-environment'.
8513 (current-language-environment): Fix custom type.
8515 2002-12-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
8517 * progmodes/antlr-mode.el (antlr): New URL.
8519 2002-12-10 R. Bernstein <rocky@panix.com>
8521 * gud.el (bashdb): Prompt now included parenthesis for subshell levels.
8522 Fix erroneous print expression command, and fix typos.
8523 (perldb): Undo previous change in prompt regexp.
8525 2002-12-10 Steven Tamm <steventamm@mac.com>
8527 * generic-x.el (javascript-generic-mode): Added C style block
8528 comments as used in ECMA-262 standard.
8530 2002-12-10 Kenichi Handa <handa@m17n.org>
8532 * language/european.el ("Swedish"): Change tutorial file name to
8533 TUTORIAL.sv in this langauge environment..
8535 2002-12-09 John Paul Wallington <jpw@shootybangbang.com>
8537 * ibuffer.el (ibuffer-mode): If `show-paren-mode' is enabled,
8538 disable it buffer-locally.
8539 (ibuffer-mouse-popup-menu): Use `=' instead of `eq' to compare
8540 `eventpt' and point.
8542 * ibuf-ext.el (ibuffer-remove-duplicates): New function.
8543 (ibuffer-set-filter-groups-by-mode): Use it instead of
8544 `delete-duplicates' so we don't require cl library at runtime.
8545 (ibuffer-insert-filter-group-before): Don't use `position' so we
8546 don't require cl library at runtime.
8548 * chistory.el (command-history-mode): Add interactive spec.
8551 2002-12-09 Richard M. Stallman <rms@gnu.org>
8553 * isearch.el (isearch-no-upper-case-p): \\ only quotes one character.
8555 2002-12-09 Markus Rost <rost@math.ohio-state.edu>
8557 * mwheel.el (mouse-wheel-scroll-amount): Revert previous change -
8558 customize type 'float is now defined.
8560 2002-12-09 Dave Love <fx@gnu.org>
8562 * international/code-pages.el (mik, pt154): New coding systems.
8564 * international/ucs-tables.el: Fix properly.
8566 2002-12-09 Andreas Schwab <schwab@suse.de>
8568 * international/ucs-tables.el: Fix last change.
8570 2002-12-09 Kenichi Handa <handa@m17n.org>
8572 * international/titdic-cnv.el (titdic-convert): Process the
8573 header part in multibyte mode.
8575 2002-12-08 Dave Love <fx@gnu.org>
8577 * international/code-pages.el (mule-diag): Move where it's required.
8579 * international/ucs-tables.el: Add latin-jisx0201 characters.
8580 Fix translation-table-for-input for lao, thai, tibetan.
8582 2002-12-08 Andreas Schwab <schwab@suse.de>
8584 * files.el (insert-directory): Insert free space only when
8585 listing a full directory.
8587 2002-12-08 Nick Roberts <nick@nick.uklinux.net>
8589 * gdb-ui.el : Remove inappropriate key-bindings.
8590 (gdb-info-breakpoints-custom, gdb-goto-bp-this-line):
8591 Parse correctly when breakpoint has no line number.
8592 (def-gdb-auto-update-handler, gdb-info-locals-handler),
8593 (gdb-display-end): Avoid using insert-buffer.
8594 (gdb-frames-select-by-mouse): Rename gdb-frames-mouse-select.
8596 2002-12-07 Richard M. Stallman <rms@gnu.org>
8598 * progmodes/compile.el (compilation-enter-directory-regexp-alist)
8599 (compilation-leave-directory-regexp-alist): Match byte compiler output.
8601 * emacs-lisp/cl-macs.el: Add local variable list
8602 to turn off cl-function warnings.
8604 * emacs-lisp/bytecomp.el (byte-compile-eval): Handle (t . SYMBOL)
8605 elements in load-history.
8606 (byte-compile-cl-warn): No cl warnings for cl-defsubst-expand
8607 and cl-struct-setf-expander.
8609 * emacs-lisp/autoload.el (autoload-print-form-outbuf):
8611 (autoload-print-form): Use autoload-print-form-outbuf.
8612 (generate-file-autoloads): Bind autoload-print-form-outbuf.
8614 * calendar/calendar.el (calendar-day-name): Move defn down.
8616 * speedbar.el (speedbar-directory-buttons-follow):
8617 Don't use directory-sep-char.
8619 2002-12-06 Masatake YAMATO <jet@gyve.org> (tiny change)
8621 * register.el (describe-register-1): Use window-width
8622 to truncate string in a register. Check whether the string
8623 in a register is an empty string or a sequence of white spaces.
8625 2002-12-07 Andreas Schwab <schwab@suse.de>
8627 * faces.el (face-font-selection-order)
8628 (face-font-family-alternatives, face-font-registry-alternatives):
8629 Remove period from :tag value.
8631 * cus-edit.el (custom-face-edit-fix-value): Change :reverse-video
8634 2002-12-07 Markus Rost <rost@math.ohio-state.edu>
8636 * wid-edit.el (define-widget number): Clarify doc and error message.
8637 (define-widget float): New widget.
8639 2002-12-07 Andreas Schwab <schwab@suse.de>
8641 * eshell/em-ls.el (eshell-ls-product-regexp): Fix typo.
8643 * files.el (find-file-read-args): Reenable wildcard processing
8646 2002-12-06 Robert J. Chassell <bob@rattlesnake.com>
8648 * textmodes/texinfmt.el (texinfo-format-scan): Handle new
8649 functions for copyright notice and copying permissions.
8650 (texinfo-copying, texinfo-insertcopying): New functions.
8652 2002-12-03 TAKAHASHI Kaoru <kaoru@kaisei.org>
8654 * textmodes/texinfmt.el (texinfo-format-ifxml)
8655 (texinfo-format-xml): New function.
8656 (ifxml, ifnotxml): New aliases.
8658 2002-12-06 Dave Love <fx@gnu.org>
8660 * international/utf-8-subst.el: Revert last change.
8662 2002-12-06 Miles Bader <miles@gnu.org>
8664 * info.el (Info-insert-dir): Make dir-node-cache variables
8665 buffer-local, so that killing the *info* buffer forces the
8666 dir-node to be rebuilt.
8668 2002-12-06 Markus Rost <rost@math.ohio-state.edu>
8670 * finder.el (finder-compile-keywords): Don't insert a keyword to
8673 2002-12-05 Andreas Schwab <schwab@suse.de>
8675 * speedbar.el (speedbar-highlight-face): Fix face spec.
8677 2002-12-05 Stefan Monnier <monnier@cs.yale.edu>
8679 * gdb-ui.el: Replace uses of (gdb-get-instance-buffer 'gdba) and
8680 gdb-proc with gud-comint-buffer instead.
8682 (def-gdb-var): Simplify.
8683 (gdb-get-create-instance-buffer): Avoid make-variable-buffer-local.
8684 Set gud-comint-buffer as well as gud-minor-mode and tool-bar-map.
8685 (gdb-goto-bp-this-line): Select the window while doing the goto-line.
8686 (gdb-info-locals-handler): Avoid replace-regexp.
8688 * calendar/calendar.el (facemenu-unlisted-faces): Only update
8689 after facemenu is loaded.
8690 (calendar-font-lock-keywords): Accept non-ASCII month names.
8693 * gdb-ui.el (gud-gdb-complete-string, gud-gdb-complete-break)
8694 (gud-gdb-complete-list, gud-gdb-complete-in-progress): Remove.
8695 (gdba): Call `gdb' and then make modifications.
8696 Always call gdb-clear-inferior-io rather than just "the first time".
8697 (gud-break, gud-remove): Definitions moved to inside gdba.
8698 (gdb-target-name): Remove. Use gud-target-name instead.
8699 (gdba-complete-filter, gdba-common-init): Remove.
8700 The changes were integrated into the generic code.
8702 * gud.el: Use match-string.
8703 (gud-menu-map): Re-fix gdb-running to gud-running.
8704 Activate up/down and finish for pdb.
8705 (gud-def): Use backquotes.
8706 (gdb, sdb, dbx, xdb, pdb, jdb, bashdb): Remove redundant menu bindings.
8707 (gud-gdb-complete-in-progress, gud-gdb-complete-string)
8708 (gud-gdb-complete-break, gud-gdb-complete-list):
8709 Rename to gud-gdb-fetch-lines-in-progress, gud-gdb-fetch-lines-string,
8710 gud-gdb-fetch-lines-break and gud-gdb-fetched-lines.
8711 (gud-gdb-fetch-lines-filter): Rename from gud-gdb-complete-filter.
8712 Add a `filter' argument and run it on `string'.
8713 (gud-gdb-run-command-fetch-lines): Use it instead of
8714 gud-gdb-speedbar-stack-filter. Add a `skip' arg.
8715 Return the fetched lines.
8716 (gud-gdb-complete-command): Use it instead of cooking up
8717 something by hand using gud-gdb-complete-filter.
8718 (gud-gdb-get-stackframe): Use the new calling convention of
8719 gud-gdb-run-command-fetch-lines.
8720 (gud-gdb-fetched-stack-frame-list): Remove.
8721 (gud-gdb-speedbar-stack-filter): Remove.
8722 (gud-jdb-marker-filter): Change RE for easier extraction of submatches.
8723 (gud-bashdb-command-name): Add "--debugger" argument here.
8724 (bashdb): Use default gud-find-file and don't bother with
8725 a massage-args function now that --debugger is make explicit.
8726 (gud-bashdb-massage-args, gud-bashdb-find-file): Remove.
8727 (bashdb): Don't provide.
8728 (gud-target-name): New var.
8729 (gud-common-init): Set it.
8730 Also reset gud-running and gud-last-last-frame.
8732 2002-12-05 Dave Love <fx@gnu.org>
8734 * international/utf-8-subst.el: Update safe-chars of mule-utf-8,
8735 mule-utf-16-le, mule-utf-16-be.
8737 2002-12-05 Richard M. Stallman <rms@gnu.org>
8739 * textmodes/outline.el (outline-mode): Doc fix.
8741 2002-12-05 Edward M. Reingold <reingold@emr.cs.iit.edu>
8743 * calendar/solar.el (solar-atn2): Give correct quadrant for arctan.
8745 2002-12-05 Kenichi Handa <handa@m17n.org>
8747 * international/titdic-cnv.el (quail-misc-package-ext-info):
8748 Remove duplicate entry for chinese-b5-quick.
8749 (batch-miscdic-convert): Don't try to call miscdic-convert on
8750 files in the directory just following the arg "-dir".
8752 2002-12-04 Stefan Monnier <monnier@cs.yale.edu>
8754 * gdb-ui.el: Fold top-level `setq's and `define-key's into their
8755 corresponding defvar.
8756 (gdb-inferior-io-mode-map): New var.
8757 Add bindings to it rather than to comint-mode-map.
8758 (gdb-display-number-end): Use dolist. Remove always-true test.
8759 (gdb-delete-line): Move and simplify.
8760 (gdb-display-end): Don't bother going to beg-of-line since we're there.
8761 (gdb-array-format1): Use dolist.
8762 (gdb-make-windows-menu, gdb-make-frames-menu):
8763 Move to top-level code. Move the menus to within the GUD menu.
8764 Make the menus only appear in gdba mode.
8766 * gdb-ui.el (gdb-inferior-io-mode-map): Remove (unused).
8767 (gdb-inferior-io-mode): Use define-minor-mode.
8768 (gdb-source-info): Don't burp if there's no source file.
8769 (gdb-inferior-io-interrupt, gdb-inferior-io-quit)
8770 (gdb-inferior-io-stop, gdb-inferior-io-eof)
8771 (gdb-display-breakpoints-buffer, gdb-frame-breakpoints-buffer)
8772 (gdb-display-stack-buffer, gdb-frame-stack-buffer)
8773 (gdb-display-registers-buffer, gdb-frame-registers-buffer)
8774 (gdb-display-locals-buffer, gdb-frame-locals-buffer)
8775 (gdb-display-display-buffer, gdb-frame-display-buffer)
8776 (gdb-display-gdb-buffer, gdb-frame-gdb-buffer)
8777 (gdb-display-assembler-buffer, gdb-frame-assembler-buffer):
8778 Remove the spurious left over arg from the "big reorg".
8780 2002-12-04 Richard M. Stallman <rms@gnu.org>
8782 * gud.el (gud-menu-map): Update for bashdb.
8783 (perldb): Change prompt regexp.
8784 (gud-bashdb-history, gud-bashdb-massage-args, gud-bashdb-marker-filter)
8785 (gud-bashdb-find-file, gud-bashdb-command-name, bashdb): New.
8787 * progmodes/cc-vars.el: Simply require wid-edit and custom
8788 in eval-when-compile.
8790 * progmodes/cc-menus.el: Don't require imenu.
8792 * progmodes/cc-langs.el: Don't require cl.
8793 (c-delete-duplicates): New function. Use instead of delete-duplicates.
8795 * progmodes/cc-bytecomp.el (cc-bytecomp-obsolete-var):
8796 Add an else-clause to the if to avoid confused compiler warning.
8798 * tooltip.el (tooltip-gud-tips-p): Undo previous change.
8800 2002-12-03 Stefan Monnier <monnier@cs.yale.edu>
8802 * gdb-ui.el: Get rid of (quote ..); use match-string and ignore.
8804 * gdb-ui.el (gdba, gdb-starting, gdb-stopped, gdb-quit):
8805 Update gdb-running -> gud-running.
8806 (gdba): Use the default for gud-find-file.
8807 (def-gdb-variable): Remove: fold into def-gdb-var.
8808 (def-gdb-var): Use buffer-local-value and with-current-buffer.
8810 * gud.el (gud-running): Rename from gdb-running. Update uses.
8811 (gud-tool-bar-map): Use tool-bar-local-item-from-menu rather than
8812 tool-bar-add-item-from-menu to avoid let binding tool-bar-map
8813 which fails if tool-bar.el is loaded in the mean time.
8814 (gud-file-name): New fun.
8815 (gud-find-file): Use it as default value for gud-find-file.
8816 (gud-speedbar-buttons): Discriminate on gud-minor-mode rather than
8818 (gud-gdb-find-file, gud-dbx-file-name, gud-dbx-find-file)
8819 (gud-xdb-file-name, gud-xdb-find-file, gud-perldb-find-file)
8820 (gud-pdb-find-file, gud-jdb-find-file): Remove.
8821 (gud-query-cmdline): Don't stuff the whole cwd in the command.
8822 (gdb, dbx, xdb, perldb, pdb, jdb): Use the default for gud-find-file.
8823 (gud-mipsdbx-massage-args): Remove.
8824 (gud-dbx-command-name): New var. Do what gud-mipsdbx-massage-args did.
8825 (gud-irixdbx-marker-filter): Use match-string and gud-file-name.
8826 (gud-jdb-command-name): New var.
8827 (gud-common-init): Re-instate RMS code of 11/13.
8829 2002-12-03 Dave Love <fx@gnu.org>
8831 * international/ucs-tables.el (ucs-unify-8859, ucs-unify-8859)
8832 (ucs-fragment-8859): Don't use set-buffer-major-mode-hook.
8833 (ucs-set-table-for-input): Use optional arg. Check for null `cs'.
8835 2002-12-03 Andreas Schwab <schwab@suse.de>
8837 * cus-edit.el (custom-display): Add checkbox for type mac.
8839 * whitespace.el (whitespace-highlight-face): Fix face spec.
8841 2002-12-02 Stefan Monnier <monnier@cs.yale.edu>
8843 * simple.el (completion-setup-function): Fix last change to use
8844 minibuffer-completing-file-name instead.
8846 * add-log.el (change-log-mode): Set indent-line-function explicitly
8847 to what it was before indent-line-function's default was changed.
8849 2002-12-02 Richard M. Stallman <rms@gnu.org>
8851 * textmodes/ispell.el (ispell-dict-map): Move specific
8852 dictionary selection into a submenu.
8854 * textmodes/fill.el (fill-indent-to-left-margin): New function.
8855 (fill-newline, fill-region-as-paragraph): Use that.
8857 * simple.el (completion-setup-function):
8858 Handle ffap-read-file-or-url-internal specially like
8859 read-file-name-internal.
8861 2002-12-02 Simon Marshall <marshals@perth>
8863 * font-lock.el (c++-font-lock-extra-types): Fix previous change.
8865 2002-12-02 Fran
\e,Ag
\e(Bois Pinard <pinard@iro.umontreal.ca>
8867 * progmodes/make-mode.el (makefile-font-lock-keywords): Highlight
8868 more make keywords: defined, endef, override, export, unexport
8871 2002-12-02 Dave Love <fx@gnu.org>
8873 * autoarg.el (autoarg-kp-mode): Give it a :group.
8875 2002-12-02 Noah Friedman <friedman@splode.com>
8877 * complete.el (PC-do-completion): Do not add wildcards to pattern
8878 unless filename is non-nil.
8880 2002-12-02 Andreas Schwab <schwab@suse.de>
8882 * mwheel.el (mouse-wheel-scroll-amount): Fix customize type.
8884 * paren.el (show-paren-mismatch-face): Fix face spec.
8886 2002-11-30 Nick Roberts <nick@nick.uklinux.net>
8888 * gdb-ui.el (gdb-many-windows): Define as a minor mode.
8889 (toggle-gdb-windows): Remove. (Patch from Stefan Monnier)
8891 * tooltip.el (tooltip-gud-process-output): Handle annotations that
8892 are output with gdba in gdb-ui.el.
8893 (tooltip-strip-annotations): New function.
8895 2002-11-29 Dave Love <fx@gnu.org>
8897 * autoarg.el (autoarg-mode): Give it a :group.
8899 2002-11-29 Bill Wohler <wohler@newt.com>
8901 * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
8902 mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el,
8903 mail/mh-utils.el, mail/mh-xemacs-compat.el: Upgraded to MH-E
8906 * mail/mh-index.el, mail/mh-speed.el: New files for indexed
8907 searches and speedbar support in MH-E version 7.0.
8909 * toolbar/reply-all.pbm, toolbar/reply-all.xpm,
8910 toolbar/reply-from.pbm, toolbar/reply-from.xpm,
8911 toolbar/reply-to.pbm, toolbar/reply-to.xpm: New toolbar images for
8914 2002-11-29 Markus Rost <rost@math.ohio-state.edu>
8916 * mwheel.el (mouse-wheel-inhibit-click-time): Fix custom type.
8918 2002-11-29 Richard M. Stallman <rms@gnu.org>
8920 * mail/rmail.el (rmail-convert-to-babyl-format):
8921 Make search for message delimiter case-sensitive.
8923 * simple.el (yank-window-start): New variable.
8924 (yank): Record yank-window-start
8925 (yank-pop): Use yank-window-start.
8927 * info.el (Info-additional-directory-list): Doc fix.
8929 * indent.el (indent-according-to-mode, indent-region): Doc fix.
8931 * tooltip.el (tooltip-gud-tips-p): Doc fix.
8933 * eshell/em-script.el: Require eshell.
8935 * eshell/esh-ext.el, eshell/em-cmpl.el: Require esh-util.
8937 2002-11-29 Kim F. Storm <storm@cua.dk>
8939 * mwheel.el: Avoid accidental yanking of text while scrolling with
8940 the mouse wheel. This adds a short period after each mouse wheel
8941 scroll event where a click on the mouse wheel button is ignored.
8942 (mouse-wheel-click-event, mouse-wheel-inhibit-click-time): New customs.
8943 (mouse-wheel-click-button, mwheel-inhibit-click-event-timer): New vars.
8944 (mwheel-inhibit-click-timeout,mwheel-filter-click-events): New defuns.
8945 (mwheel-scroll): Add mwheel-filter-click-events as pre-command-hook.
8946 Start mwheel-inhibit-click-event-timer with timeout handler
8947 mwheel-inhibit-click-timeout.
8949 2002-11-28 Nick Roberts <nick@nick.uklinux.net>
8951 * tooltip.el (tooltip-gud-tips-setup): Remove.
8952 (tooltip-gud-debugger): Remove.
8953 (tooltip-gud-print-command): Use gud-minor mode instead of
8954 tooltip-gud-tips-setup and tooltip-gud-debugger.
8956 * gdb-ui.el (gdb-starting): Set gdb-running to t.
8957 (gdb-stopped): Set gdb-running to nil.
8958 (gdb-quit): Reset some variables including tool-bar-map.
8960 * gud.el (gdb-running): New variable.
8961 (gud-menu-map): Use gdb-running to grey out toolbar buttons
8962 with gdba in gdb-ui.el.
8963 (gud-tool-bar-map): Move to avoid byte compiler warning.
8965 2002-11-27 Jason Rumney <jasonr@gnu.org>
8967 * files.el (file-truename): Canonicalize non-existent names on w32.
8969 2002-11-28 Kim F. Storm <storm@cua.dk>
8971 * ido.el (ido-xemacs): Remove defvar. All uses changed to
8972 check (featurep 'xemacs) instead.
8973 (ido-visit-buffer): Use select-frame-set-input-focus unconditionally.
8975 2002-11-27 Dave Love <fx@gnu.org>
8977 * emacs-lisp/cl-macs.el: Move `predicates for analyzing Lisp
8978 forms' block to top (before uses).
8979 (help-fns): Don't require at top level. (Recursively.)
8980 (cl-transform-lambda): Require help-fns.
8982 2002-11-26 Dave Love <fx@gnu.org>
8984 * language/european.el (encode-mac-roman): Deal with unencodable
8987 * language/cyrillic.el (ccl-encode-koi8, ccl-encode-koi8-u)
8988 (ccl-encode-alternativnyj): Deal with unencodable characters.
8990 * international/code-pages.el (cp-make-coding-system): Deal with
8991 unencodable characters.
8993 2002-11-24 Richard M. Stallman <rms@gnu.org>
8995 * mail/sendmail.el (mail-signature): Handle case where
8996 value of mail-signature is a string.
8998 * menu-bar.el (menu-bar-describe-menu): Add "What's This?" item.
9000 * faces.el (face-set-after-frame-default): Ignore errors
9001 in face-spec-face-set.
9003 * cus-face.el (custom-declare-face): Add face-defface-spec
9004 prop after applying the face spec.
9006 2002-11-23 Nick Roberts <nick@nick.uklinux.net>
9008 * tooltip.el (tooltip-gud-print-command): Add server prefix to the
9009 print command for gdb to keep it out of the command history.
9011 * gdb-ui.el: Major re-organisation. Simplify legacy gdba
9012 code to allow only one gdb process.
9014 2002-11-23 Markus Rost <rost@math.ohio-state.edu>
9016 * scroll-all.el (scroll-all-mode): Move arg LIGHTER to the right
9019 2002-11-22 Simon Marshall <marshals@perth>
9021 * font-lock.el (c++-font-lock-extra-types): Add various STL classes.
9023 2002-11-21 Nick Roberts <nick@nick.uklinux.net>
9025 * gdb-ui.el : General tidying. Patches from Stefan Monnier.
9027 2002-11-20 Simon Josefsson <jas@extundo.com>
9029 * play/morse.el (morse-code): Add non-ASCII characters, according
9030 to table at http://www.soton.ac.uk/~scp93ch/morse/.
9032 2002-11-21 Richard M. Stallman <rms@gnu.org>
9034 * dired.el (dired-sort-inhibit): New variable.
9035 (dired-sort-toggle-or-edit): Err if dired-sort-inhibit non-nil.
9037 * find-dired.el (find-dired): Set dired-sort-inhibit to t
9040 2002-11-21 Eugene Exarevsky <zheka@relex.ru>
9042 * progmodes/sql.el: Added LINTER support.
9043 (sql-linter-program): New variable.
9044 (sql-linter-options): New variable.
9045 (sql-mode-menu): Added Linter keywords.
9046 (sql-mode-linter-font-lock-keywords): New variable.
9047 (sql-highlight-linter-keywords): New function.
9048 (sql-linter): New function.
9049 (sql-ms-options): New variable.
9052 2002-11-21 John Paul Wallington <jpw@shootybangbang.com>
9054 * ibuffer.el (ibuffer-formats): Change default value; bump width
9055 of size column in first format to 7.
9057 2002-11-20 Stefan Monnier <monnier@cs.yale.edu>
9059 * help-fns.el (describe-variable): Look for (defvar . <sym>) in the
9060 load-history since `defvar' now uses this format.
9062 * custom.el (custom-declare-variable): Use push.
9063 Use the (defvar . <sym>) format in load-history like `defvar' does.
9065 * subr.el (symbol-file): Accept a non-atomic `function' arg.
9066 (with-local-quit): Add debug and indentation info.
9068 2002-11-20 John Paul Wallington <jpw@shootybangbang.com>
9070 * subr.el (symbol-file): Remove unused variable `functions'.
9072 2002-11-20 Markus Rost <rost@math.ohio-state.edu>
9074 * Makefile.in (setwins_almost): Renamed from finder_setwins.
9075 (custom-deps): Use it.
9076 (finder-data): Adjust to that name change.
9078 2002-11-19 Stefan Monnier <monnier@cs.yale.edu>
9080 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9081 Turn errors into messages so they don't get ignored.
9082 (eldoc-get-fnsym-args-string): Use help-split-fundoc.
9083 (eldoc-beginning-of-sexp): Simplify.
9084 (eldoc-function-arglist): Remove.
9085 (eldoc-function-argstring): Use help-function-arglist instead.
9086 (eldoc-function-argstring-from-docstring-method-table)
9087 (eldoc-function-argstring-from-docstring): Remove.
9089 * emacs-lisp/cl.el (multiple-value-call): Add docstring.
9091 2002-11-19 Dave Love <fx@gnu.org>
9093 * emacs-lisp/bytecomp.el (maphash, map-char-table):
9094 Use byte-compile-funarg.
9096 * emacs-lisp/byte-opt.el (side-effect-free-fns): Several additions.
9098 2002-11-19 Markus Rost <rost@math.ohio-state.edu>
9100 * progmodes/vhdl-mode.el (defgroup vhdl-related): Declare the
9101 members here rather than with custom-add-to-group. This is the
9102 intended way of using defgroup and also lets
9103 custom-make-dependencies do its job.
9104 (defgroup vhdl-highlight-faces): Ditto.
9106 * emacs-lisp/shadow.el (defgroup lisp-shadow): New group name.
9107 Previous group name shadow is used in shadowfile.el.
9108 (shadows-compare-text-p): Use group lisp-shadow.
9110 2002-11-19 Stefan Monnier <monnier@cs.yale.edu>
9112 * emacs-lisp/cl.el (multiple-value-call): Add docstring.
9114 2002-11-19 Masatake Yamato <jet@gyve.org> (tiny change)
9116 * register.el (describe-register-1): Don't assign to val the value
9117 returned by `remove-list-of-text-properties'.
9119 2002-11-18 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
9121 * calendar/diary-lib.el (fancy-diary-font-lock-keywords):
9122 Grok month numbers, too.
9124 2002-11-18 Juanma Barranquero <lektu@terra.es>
9126 * mail/smtpmail.el (smtpmail-send-queued-mail): Add autoload cookie.
9128 2002-11-18 Markus Rost <rost@math.ohio-state.edu>
9130 * pcvs.el (cvs-minor-mode, cvs-mode-commit-hook): Add group.
9132 * textmodes/refill.el (defgroup refill): New group.
9134 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Add group.
9136 * textmodes/sgml-mode.el (html-autoview-mode): Add group.
9138 * textmodes/paragraphs.el (use-hard-newlines): Add group.
9140 * progmodes/compile.el (compilation-shell-minor-mode): Add group.
9141 (compilation-minor-mode): Add group.
9143 * reveal.el (global-reveal-mode): Add group.
9145 * bookmark.el (bookmark-menu-length): Fix group name.
9147 2002-11-17 Richard M. Stallman <rms@gnu.org>
9149 * mail/rmail.el (rmail-ignored-headers): Add more headers.
9151 * calendar/parse-time.el (parse-time-elt): Var renamed from `elt'.
9152 (parse-time-val): Var renamed from `val'. All uses changed.
9154 * files.el (parse-time-rules): Mark it as risky.
9156 * finder.el (finder-commentary): Use buffer *Finder-package*.
9158 * menu-bar.el (menu-bar-options-menu): Improve tooltip string.
9160 * simple.el (indicate-unused-lines)
9161 (default-indicate-unused-lines): New variable aliases.
9163 2002-11-18 Kenichi Handa <handa@m17n.org>
9165 * progmodes/cc-vars.el: Undo previous change.
9167 2002-11-18 Kenichi Handa <handa@m17n.org>
9169 * language/cyrillic.el (cyrillic-iso-8bit): Make it safe.
9171 * language/european.el (iso-latin-1): Make it safe.
9172 (iso-latin-2, iso-latin-3, iso-latin-4, iso-latin-5, iso-latin-8)
9173 (iso-latin-9): Likewise.
9175 * language/greek.el (greek-iso-8bit): Make it safe.
9177 * language/hebrew.el (hebrew-iso-8bit): Make it safe.
9179 * language/lao.el (lao): Make it safe.
9181 * language/thai.el (thai-tis620): Make it safe.
9183 2002-11-17 Markus Rost <rost@math.ohio-state.edu>
9185 * speedbar.el (defgroup speedbar): Use group 'etags instead of
9186 nonexisting group 'tags.
9188 * emacs-lisp/re-builder.el: Add provide call.
9190 * mail/feedmail.el (feedmail-fiddle-headers-upwardly)
9191 (feedmail-fiddle-plex-user-list): Fix typo in group name.
9193 * progmodes/make-mode.el (makefile-space-face): Fix group name.
9195 * textmodes/ispell.el (defgroup ispell): Arrange that definition
9196 starts at beginning of line.
9198 * textmodes/table.el (defgroup table-hooks): New group.
9199 (table-cell-map-hook): Fix typo in group name.
9201 * calendar/diary-lib.el (diary-button-face): Add group and version
9204 * warnings.el (defgroup warnings): New group.
9206 2002-11-16 Markus Rost <rost@math.ohio-state.edu>
9208 * emacs-lisp/autoload.el (update-autoloads-from-directories):
9209 Sort the list of files with no autoloads.
9211 2002-11-16 Alan Shutko <ats@acm.org>
9213 * calendar/diary-lib.el (list-diary-entries): Pass a marker
9214 indicating source of entry to add-to-diary-list.
9215 (diary-button-face, diary-entry, diary-goto-entry): New, to
9216 support click to diary file.
9217 (fancy-diary-display): Buttonize diary entries.
9218 (list-sexp-diary-entries): Pass a marker indicating source of
9219 entry to add-to-diary-list.
9220 (diary-date): Return mark as well as entry.
9222 * calendar/calendar.el (diary-face): New.
9223 (european-calendar-display-form, describe-calendar-mode)
9224 (mark-visible-calendar-date, calendar-mark-today): Tidy doc string.
9225 (calendar-make-alist): New.
9226 (calendar-mode): Set up font-lock mode.
9227 (generate-calendar-window): Fontify if font-lock-mode is on.
9229 2002-11-16 Ivan Zakharyaschev <imz@altlinux.org> (tiny change)
9231 * international/codepage.el (cp866-decode-table): Fix the
9234 2002-11-16 Martin Stjernholm <bug-cc-mode@gnu.org>
9236 * progmodes/cc-bytecomp.el (cc-bytecomp-defun): Fixed bug that
9237 caused existing function definitions to be overridden by
9238 phonies when the bytecomp environment is restored.
9240 2002-11-15 Nick Roberts <nick@nick.uklinux.net>
9242 * toolbar/gud-break.pbm, toolbar/gud-cont.pbm, toolbar/gud-display.pbm,
9243 toolbar/gud-down.pbm, toolbar/gud-finish.pbm, toolbar/gud-goto.pbm,
9244 toolbar/gud-next.pbm, toolbar/gud-print.pbm, toolbar/gud-remove.pbm,
9245 toolbar/gud-run.pbm, toolbar/gud-step.pbm, toolbar/gud-up.pbm:
9246 Icons for debugger (pbm files).
9248 2002-11-15 Richard M. Stallman <rms@gnu.org>
9250 * international/mule.el (set-buffer-file-coding-system): Redo prev chg.
9252 2002-11-15 John Paul Wallington <jpw@shootybangbang.com>
9254 * ibuffer.el (ibuffer-use-other-window, ibuffer-use-header-line)
9255 (ibuffer-visit-buffer, ibuffer-redisplay, ibuffer-update): Doc fix.
9256 (ibuffer-mode-hooks): Remove spurious defvar.
9257 (ibuffer): Run `ibuffer-hook' instead of `ibuffer-hooks'.
9258 (ibuffer-mode): Run `ibuffer-mode-hook' instead of
9259 `ibuffer-mode-hooks'.
9261 2002-11-15 Markus Rost <rost@math.ohio-state.edu>
9263 * mail/rmailedit.el: Add provide call.
9265 * play/bruce.el: Add provide call.
9267 * emacs-lisp/gulp.el: Add provide call.
9269 2002-11-14 Richard M. Stallman <rms@gnu.org>
9271 * international/mule.el (set-buffer-file-coding-system): Undo prv chg.
9273 2002-11-14 Markus Rost <rost@math.ohio-state.edu>
9275 * custom.el (custom-declare-group): Remove unnecessary line of code.
9277 * cus-dep.el (custom-make-dependencies): Bind load-file-name.
9279 2002-11-14 Edward M. Reingold <reingold@emr.cs.iit.edu>
9281 * calendar/diary-lib.el (make-diary-entry): Allow for local variables
9282 at end of diary file.
9284 2002-11-14 Kim F. Storm <storm@cua.dk>
9286 * files.el (mode-name): Mark it as risky-local-variable like the
9287 other mode-line elements (moved from bindings.el).
9289 * bindings.el (mode-name): Moved mark as risky-local-variable to
9292 2002-11-14 Juanma Barranquero <lektu@terra.es>
9294 * gud.el: Fix feature name in `provide'.
9296 * gdb-ui.el: Fix feature name in `require'.
9298 2002-11-14 Per Cederqvist <ceder@lysator.liu.se> (tiny change)
9300 * progmodes/etags.el (find-tag-default): Copy text at point without
9303 2002-11-14 Kenichi Handa <handa@m17n.org>
9305 * progmodes/cc-vars.el: Don't cc-bytecomp-defun char-table-p.
9307 2002-11-14 Kim F. Storm <storm@cua.dk>
9309 * textmodes/fill.el (fill-nobreak-invisible): New var.
9310 (fill-nobreak-p): Test it; return t if set and point invisible.
9311 (fill-newline): Test it; remove invisible prop on newline if set.
9313 * info.el (Info-fontify-node): New local list paragraph-markers.
9314 Record markers for mangled *note references on that list.
9315 When done, go back through those markers and fill each mangled
9316 paragraph with `fill-nobreak-invisible' let-bound to t.
9317 Don't use `display' property; insert "see" directly in buffer.
9319 2002-11-14 Nick Roberts <nick@nick.uklinux.net>
9321 * gdb-ui.el: New file, User Interface for running GDB
9323 * gud.el:(gud-find-file): Set up GDB tool bar.
9324 (gud-menu-map): New commands: run, goto.
9325 Enable some commands for gdba.
9326 (gud-query-cmdline): Pass default directory to gdba.
9327 (gdb): Defune gud-goto and gud-run.
9328 (gud-gdb-complete-command): Maybe use gdba-complete-filter.
9329 (gud-mode): Set up local tool bar.
9330 (gud-display-line): For gdba, call gdb-display-source-buffer.
9331 (gud-basic-call): For gdba, maybe delete the current prompt.
9332 (gud-tool-bar-map): New variable.
9333 (gud-read-address): Correction.
9335 * toolbar/gud-break.xpm, toolbar/gud-cont.xpm, toolbar/gud-display.xpm,
9336 toolbar/gud-down.xpm, toolbar/gud-finish.xpm, toolbar/gud-goto.xpm,
9337 toolbar/gud-next.xpm, toolbar/gud-print.xpm, toolbar/gud-remove.xpm,
9338 toolbar/gud-run.xpm, toolbar/gud-step.xpm, toolbar/gud-up.xpm:
9341 2002-11-13 Stefan Monnier <monnier@cs.yale.edu>
9343 * pcvs.el (cvs-mode-run): Don't pass "." if not needed.
9345 2002-11-13 Andre Spiegel <spiegel@gnu.org>
9347 * vc-rcs.el (vc-rcs-registered): Improve comment.
9349 * vc-sccs.el (vc-sccs-registered): Improve comment.
9351 2002-11-13 Tim Van Holder <tim.vanholder@anubex.com> (tiny change)
9353 * progmodes/compile.el (compilation-error-regexp-alist):
9354 Don't include colon and space after a file name as part of the name.
9356 2002-11-13 Richard M. Stallman <rms@gnu.org>
9358 * gud.el (gdb): Undo 10-26 change.
9360 2002-11-13 Kenichi Handa <handa@m17n.org>
9362 * replace.el (occur-engine): Set buffer-file-coding-system of
9363 OUT-BUF to that of one of BUFFERS if they locally bind that variable.
9365 2002-11-13 Markus Rost <rost@math.ohio-state.edu>
9367 * custom.el (custom-handle-all-keywords): Fix arg passed to
9368 custom-add-to-group.
9370 2002-11-12 Stefan Monnier <monnier@cs.yale.edu>
9372 * pcvs-defs.el (cvs-mode-map): Remove M-f binding.
9373 (cvs-minor-mode-map): Add e binding in log-view-mode.
9375 * progmodes/perl-mode.el (perl-hanging-paren-p): New fun.
9376 (perl-indent-line): Look at the open-paren to indent a close-paren.
9377 (perl-calculate-indent): Try to better indent args after hanging paren.
9378 Remove special code for open-paren-in-column-0.
9380 * textmodes/sgml-mode.el (sgml-namify-char): New cmd.
9381 (sgml-name-char): Use it.
9382 (sgml-tag-last, sgml-tag-history): New vars.
9383 (sgml-tag): Use them.
9384 (sgml-skip-tag-forward): Use sgml-tag-syntax-table.
9385 (sgml-delete-tag): Remove resulting empty lines.
9386 (sgml-tag) <symbol-plist>: Don't make intangible.
9387 (sgml-parse-tag-backward): Add limit argument.
9388 (html-autoview-mode): Use define-minor-mode.
9390 2002-11-12 Markus Rost <rost@math.ohio-state.edu>
9392 * vc-rcs.el (vc-rcs-registered): Handle the autoload cookie so
9393 that the definition is found by `find-function-search-for-symbol'
9396 * vc-sccs.el (vc-sccs-registered): Ditto.
9398 * emulation/edt.el (defgroup edt): Arrange that definition starts
9399 at beginning of line.
9401 * ls-lisp.el (defgroup ls-lisp): Remove autoload cookie.
9403 * hi-lock.el (defgroup hi-lock-interactive-text-highlighting):
9404 Remove autoload cookie.
9406 * newcomment.el (defgroup comment): Remove autoload cookie.
9408 2002-11-11 Markus Rost <rost@math.ohio-state.edu>
9410 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button):
9411 Declare with defvar, not with defcustom.
9413 * cus-dep.el: Don't require 'autoload.
9414 (custom-make-dependencies): Handle :version also for autoloaded
9417 * winner.el (defgroup winner): Arrange that definition starts at
9420 * emulation/edt.el: Simplify Emacs 19 compatibility.
9422 2002-11-11 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr> (tiny change)
9424 * dired-aux.el (dired-show-file-type): Format filename with "%s" to
9425 escape any format-like sequences it could contain.
9427 2002-11-11 Per Abrahamsen <abraham@dina.kvl.dk>
9429 * cus-edit.el (custom-save-delete): Force emacs-lisp-mode.
9431 2002-11-11 Juanma Barranquero <lektu@terra.es>
9433 * bindings.el (mode-name): Mark it as risky-local-variable.
9435 2002-11-09 Dave Love <fx@gnu.org>
9437 * international/mule-cmds.el (current-language-environment):
9440 * international/ucs-tables.el: Revert to using
9441 translation-table-for-input instead of keyboard-translate-table.
9443 * international/quail.el (quail-input-string-to-events):
9446 * simple.el (quoted-insert): Bind translation-table-for-input,
9447 not keyboard-translate-table.
9449 2002-11-08 Stefan Monnier <monnier@cs.yale.edu>
9451 * arc-mode.el (archive-zip-summarize): Don't hardcode (point-min) = 1.
9453 * complete.el (PC-do-completion): Make partial-completion work
9454 with incomplete directory names.
9456 * textmodes/tex-mode.el (latex-standard-block-names): Rename from
9457 standard-latex-block-names.
9458 (tex-font-lock-keywords-1): Add providecommand, renewenvironment,
9459 and renewtheorem. Highlight \it and \bf separately since they
9461 (tex-font-lock-suscript, tex-font-lock-unfontify-region): New funs.
9462 (tex-font-lock-keywords-3, tex-verbatim-environments)
9463 (tex-font-lock-syntactic-keywords): New vars.
9464 (superscript, subscript, tex-verbatim-face): New faces.
9465 (tex-font-lock-syntactic-face-function): Handle \verb construct.
9466 (tex-common-initialization): Update font-lock-defaults setting.
9467 (tex-insert-braces): Make it into a skeleton.
9468 (latex-fill-nobreak-predicate): Don't break after \.
9469 (latex-insert-block): Rename from tex-latex-block.
9470 (latex-down-list): Use tex-mode-syntax-table when skipping parens
9471 rather than the indentation syntax-table.
9472 (latex-close-block): Rename from tex-close-latex-block.
9473 (latex-split-block): New fun.
9474 (latex-indent): Don't indent inside a verbatim block.
9475 (latex-find-indent): Stick \begin{verbatim} to the margin.
9477 2002-11-08 John Wiegley <johnw@gnu.org>
9479 * calendar/timeclock.el (timeclock-modeline-display): Use assq as
9480 well as memq to find `global-mode-string' within
9481 `mode-line-format'. The structure of that variable has changed in
9484 2002-11-07 Stefan Monnier <monnier@cs.yale.edu>
9486 * format.el (format-decode): Be careful with the order in `format'.
9488 * eshell/esh-cmd.el (function-p-func): Avoid `xemacs-p'.
9490 * eshell/em-glob.el: Require esh-util.
9491 (eshell-glob-initialize): Don't assume
9492 eshell-special-chars-outside-quoting is available.
9494 * textmodes/fill.el (fill-paragraph): Consider a comment-start as
9495 a paragraph starter when filling non-comments.
9496 (fill-comment-paragraph): Don't narrow while doing the fill.
9497 Recognize paragraph starters and separators within comments.
9498 Use adaptive-fill-prefix when it works. Use comment-search-forward.
9500 * progmodes/compile.el (grep-default-command): New fun.
9502 (compilation-menu-map): New var.
9503 (compilation-minor-mode-map, compilation-shell-minor-mode-map): Use it.
9504 (compilation-mode-map): Simplify.
9505 (compilation-shell-minor-mode, compilation-minor-mode):
9506 Use define-minor-mode.
9508 * elide-head.el (elide-head): Don't make intangible.
9510 * help.el (where-is): Rename map to defs (a list of syms is not a map).
9511 Test fboundp first, to speed things up. Use push.
9513 * isearch.el (isearch-hidden): New var.
9514 (isearch-search-and-update): Test it.
9515 (isearch-range-invisible): Set it.
9517 * progmodes/tcl.el (tcl-mode): Don't set paragraph-start,
9518 paragraph-separate, comment-column, and fill-paragraph-function.
9519 Simplify outline-regexp.
9520 (tcl-do-fill-paragraph): Remove.
9522 2002-11-07 Markus Rost <rost@math.ohio-state.edu>
9524 * mail/sendmail.el (mail-default-directory): Set the version to 21.4.
9526 * progmodes/compile.el (grep-compute-defaults): Undo previous change.
9527 Definition moved down.
9528 (grep-command, grep-find-command, grep-tree-command): Allow value nil.
9529 Do not declare :get property.
9530 (grep-use-null-device): Fix type. Do not declare :get property.
9532 * emacs-lisp/checkdoc.el (checkdoc-find-error):
9533 Use get-file-buffer instead of get-buffer.
9535 * cus-dep.el (custom-make-dependencies): Fix comment inserted in
9538 2002-11-07 Juanma Barranquero <lektu@terra.es>
9540 * help.el (where-is): Report also aliases of the passed command.
9542 2002-11-06 Dave Love <fx@gnu.org>
9544 * simple.el (quoted-insert): Bind keyboard-translate-table around
9547 * international/ucs-tables.el: Use keyboard-translate-table coding
9548 system property, not translation-table-for-input, for
9549 vietnamese-viscii & al.
9550 (translation-table-for-input): Set,
9551 don't defvar, and make permanent-local.
9552 (ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859): Add/remove
9553 set-buffer-major-mode-hook, not quail-activate-hook.
9554 (ucs-set-table-for-input): Renamed from ucs-quail-activate.
9555 (ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859):
9556 Setup keyboard-translate-table, not translation-table-for-input.
9557 Modify set-buffer-major-mode-hook, not quail-activate-hook.
9558 (ucs-fragment-8859): Don't use translation-table-for-input coding
9560 (ucs-quail-activate): Deleted.
9561 (ucs-set-table-for-input): New.
9562 (ucs-minibuffer-setup): Use it.
9564 * international/quail.el (quail-input-string-to-events):
9565 Use keyboard-translate-table, not translation-table-for-input.
9567 * files.el (normal-mode): Call ucs-set-table-for-input.
9569 * international/mule.el (set-buffer-file-coding-system):
9570 Call ucs-set-table-for-input.
9572 2002-11-06 Richard M. Stallman <rms@gnu.org>
9574 * replace.el (query-replace, query-replace-regexp): Doc fixes.
9576 * emacs-lisp/bytecomp.el (byte-compile-lambda):
9577 Handle progn like let, inside interactive spec.
9579 * textmodes/tex-mode.el (tex-dvi-view-command): Value can be sexp.
9580 Initialize to a suitable sexp.
9581 (tex-view): Evaluate tex-dvi-view-command and use the value.
9583 2002-11-06 Kenichi Handa <handa@m17n.org>
9585 * international/mule.el (coding-system-eol-type-mnemonic):
9586 Use eol-mnemonic-undecided if CODING-SYSTEM is nil.
9588 2002-11-06 Kim F. Storm <storm@cua.dk>
9590 * info.el (Info-fontify-node): Fixed hiding of *note references
9591 with embedded file names like (xxx.yyy).
9592 Avoid making any lines visibly longer if hiding newlines inside
9593 note references by wrapping line after references if it contained
9594 a newline (unfortunaly this makes more lines appear "shorter").
9595 Properly reindent multi-line menu entry descriptions.
9597 2002-11-05 Juanma Barranquero <lektu@terra.es>
9599 * language/cyrillic.el ("Bulgarian"): Fix typo.
9601 * international/mule.el (coding-system-eol-type-mnemonic):
9602 Move from mule-util.el.
9604 * international/mule-util.el (coding-system-eol-type-mnemonic):
9607 2002-11-04 Juanma Barranquero <lektu@terra.es>
9609 * files.el (find-buffer-visiting): Accept new optional PREDICATE
9610 argument to return only a buffer that satisfies the predicate.
9611 (insert-file-1): New function.
9612 (insert-file-literally): Use it.
9613 (insert-file): Use it.
9615 2002-11-04 Robert Fenk <Robert.Fenk@gmx.de> (tiny change)
9617 * desktop.el (desktop-relative-file-names): New variable.
9618 (desktop-save): Use it.
9620 2002-11-03 Andre Spiegel <spiegel@gnu.org>
9622 * vc.el (vc-dired-mode): Adapt dired-move-to-filename-regexp to
9623 its current version in dired.el.
9625 2002-11-03 Stefan Monnier <monnier@cs.yale.edu>
9627 * emacs-lisp/autoload.el (generate-file-autoloads)
9628 (update-file-autoloads): Strip .gz and other such extensions.
9629 (update-autoloads-from-directories): Also consider compressed files.
9631 * info.el (Info-streamline-headings): New var.
9632 (Info-dir-remove-duplicates): New fun.
9633 (Info-insert-dir): Use it. Simplify the code with push,mapc,dolist.
9634 (Info-select-node): Simplify handling of Info-header-line.
9635 (Info-forward-node): Undo 2000/12/15 since we don't narrow any more.
9636 (Info-mode): Set header-line-format once and for all.
9637 (Info-fontify-node): Accept bogus first line with `File:' missing.
9638 Only make first line invisible if Info-use-header-line.
9639 Don't use `intangible': it's evil. Use inhibit-read-only.
9640 (Info-follow-reference, Info-next-reference, Info-prev-reference)
9641 (Info-try-follow-nearest-node): Don't bind inhibit-point-motion-hooks
9642 since we don't use intangible any more.
9644 * image.el (insert-image): Don't make intangible since
9645 adjust_point_for_property should be sufficient by default.
9647 2002-11-02 Stefan Monnier <monnier@cs.yale.edu>
9649 * textmodes/fill.el (fill-paragraph-handle-comment): New var.
9650 (fill-comment-paragraph): New fun (generalizes of lisp-fill-paragraph).
9651 (fill-paragraph): Use them.
9653 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph):
9654 Use fill-comment-paragraph.
9656 2002-11-02 Stefan Monnier <monnier@cs.yale.edu>
9658 * bindings.el (mode-line-change-eol)
9659 (mode-line-eol-desc-cache, mode-line-eol-desc): New.
9660 (mode-line-mule-info): Use them for the EOL part of the modeline.
9662 * server.el (server-sentinel): Kill buffers if applicable.
9663 (server-temp-file-p): Make arg optional.
9664 (server-done): Use it to simplify.
9665 (server-switch-buffer): If server-window is a function, use it.
9667 * mail/undigest.el (rmail-digest-end-regexps): Simplify.
9668 (undigestify-rmail-message): Fix paren-bug and simplify.
9670 2002-11-02 Kim F. Storm <storm@cua.dk>
9672 * info.el (Info-hide-note-references): nil value now does no
9673 reformatting at all. New choice 'tag reformats tag but shows
9674 the section reference.
9675 (Info-fontify-node): Use it.
9677 2002-11-01 Stefan Monnier <monnier@cs.yale.edu>
9679 * textmodes/tex-mode.el (tex-common-initialization):
9680 comment-start-skip shouldn't match on the next line.
9682 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Use match-string.
9683 Don't bother making paragraph-start a superset of paragraph-separate.
9684 Use line-beginning-position.
9686 * textmodes/sgml-mode.el (sgml-skip-tag-backward)
9687 (sgml-skip-tag-forward): Deal with xml-style <foo/> empty tags.
9689 2002-11-01 Kim F. Storm <storm@cua.dk>
9691 * info.el (Info-hide-note-references): New defcustom.
9692 (Info-fontify-node): Use it.
9694 2002-10-31 Kim F. Storm <storm@cua.dk>
9696 * shell.el (explicit-bash-args): Bash 1.x doesn't grok
9697 --noediting option; added run-time check to exclude it.
9699 * info.el (Info-follow-reference, Info-next-reference)
9700 (Info-prev-reference, Info-try-follow-nearest-node):
9701 Bind inhibit-point-motion-hooks to t while parsing reference.
9702 (Info-fontify-node): When font-lock-mode is enabled, display
9703 "*note" and "* menu" references in a more user friendly format.
9705 2002-10-30 Stefan Monnier <monnier@cs.yale.edu>
9707 * textmodes/fill.el (fill-move-to-break-point): Skip white space
9708 _before_ checking to see if we're hitting the margin.
9709 (fill-region-as-paragraph): Don't fiddle with the undo-list any more:
9710 it's now done by the C primitives. Don't use narrowing.
9711 Reorganize the line-breaking part of the code to simplify the control
9712 flow and make it work in the absence of narrowing.
9713 (fill-region): Don't use narrowing.
9715 2002-10-30 Dave Love <fx@gnu.org>
9717 * textmodes/po.el (po-content-type-charset-alist): Delete most entries.
9718 (po-find-charset): Doc fix. Remove interactive spec.
9720 (po-find-file-coding-system-guts): Re-written to use
9721 coding-system-alist, and code-pages, not codepage stuff.
9723 * term/x-win.el: Remove some ancient compatibility code.
9724 Populate x-keysym-table.
9726 2002-10-30 Andreas Schwab <schwab@suse.de>
9728 * subr.el (replace-regexp-in-string): Doc fix.
9730 2002-10-29 Dave Love <fx@gnu.org>
9732 * cus-start.el (selection-coding-system, scalable-fonts-allowed): Add.
9734 * progmodes/scheme.el (syntax-case): Define scheme-indent-function.
9736 * international/mule-conf.el: Doc fixes.
9738 2002-10-29 Richard M. Stallman <rms@gnu.org>
9740 * server.el (server-switch-buffer): Say when no server buffers remain.
9742 * net/goto-addr.el (goto-address-url-regexp): Don't match `mailto'.
9744 2002-10-28 Masayuki Ataka <ataka@milk.freemail.ne.jp> (tiny change)
9746 * progmodes/make-mode.el (makefile-warn-continuations):
9747 Call re-search-forward with NOERROR t.
9749 2002-10-29 Kim F. Storm <storm@cua.dk>
9751 * ido.el (ido-wide-find-dirs-or-files): Fixed problem that caused
9752 incomplete list of matches to be returned.
9754 2002-10-29 Masayuki Ataka <ataka@milk.freemail.ne.jp> (tiny change)
9756 * textmodes/texinfo.el (texinfo-environments): Add environment;
9757 copying, documentdescription, ifplaintext, ifnotplaintext, and
9760 * textmodes/texinfmt.el (texinfo-format-ifplaintext): New function.
9761 (ifplaintext, ifnotplaintext)
9762 (afourpaper, afivepaper, afourlatex, afourwide)
9763 (documentlanguage, documentencoding): New aliases.
9765 2002-10-29 John Paul Wallington <jpw@shootybangbang.com>
9767 * ibuffer.el (ibuffer-mouse-popup-menu): Set point before popping
9768 up filter groups menu. Preserve point unless a menu command has
9769 moved it from point clicked.
9771 2002-10-29 David Kastrup <dak@lola.goethe.zz>
9773 * calc/calc.el (calc-any-evaltos): Initialize to nil, since
9774 calc-refresh-evaltos appears to need this.
9776 2002-10-28 Dave Love <fx@gnu.org>
9778 * international/mule-diag.el (non-iso-charset-alist): Move to
9779 avoid compilation warning.
9780 (mule-diag): Provide.
9782 * international/code-pages.el (cp-make-coding-system):
9783 Use utf-translation-table-for-decode, not
9784 utf-8-translation-table-for-decode.
9785 (mule-diag): Require.
9787 * language/thai-util.el (thai-composition-function): Don't use prog1.
9789 * language/lao-util.el (lao-composition-function): Don't use prog1.
9791 * language/european.el (diacritic-composition-function):
9792 Modify confused prog1 form.
9794 * international/quail.el (quail-keyboard-layout-alist): Fix pc105-uk.
9795 (quail-keyboard-layout): Customize.
9796 Move after quail-keyboard-layout-alist.
9798 2002-10-28 Miles Bader <miles@gnu.org>
9800 * progmodes/make-mode.el (makefile-warn-continuations):
9801 Don't barf when there _aren't_ any suspicious continuations.
9803 2002-10-28 Matthew Swift <swift@alum.mit.edu>
9805 * progmodes/compile.el (grep-find-use-xargs): Fix docstring.
9807 2002-10-27 Michael Kifer <kifer@cs.stonybrook.edu>
9809 * ediff-wind.el (ediff-control-frame-parameters): Add scrollbar-height.
9811 2002-10-27 Andreas Schwab <schwab@suse.de>
9813 * progmodes/sh-script.el (sh-mode-syntax-table): Don't make ^L
9814 end-of-comment syntax.
9816 2002-10-27 Kim F. Storm <storm@cua.dk>
9818 * ido.el (ido-cannot-complete-command): New defcustom, default to
9819 ido-completion-help (similar to iswitchb-cannot-complete-hook).
9820 (ido-complete): Call value of ido-cannot-complete-command rather
9821 than ido-completion-help when no common completion.
9823 2002-10-27 Dave Love <fx@gnu.org>
9825 * international/code-pages.el (iso-8859-11): New.
9827 2002-10-27 Kim F. Storm <storm@cua.dk>
9829 * pcvs.el (cvs-checkout): Use read-directory-name.
9830 (cvs-query-directory): Likewise.
9832 2002-10-26 Richard M. Stallman <rms@gnu.org>
9834 * progmodes/make-mode.el (makefile-cleanup-continuations):
9835 Default for variable is nil.
9836 (makefile-warn-continuations): New function.
9837 (makefile-mode): Put it on write-file-functions.
9839 * international/mule-cmds.el (select-safe-coding-system):
9840 Delete debugging setq.
9842 * shell.el (shell): Look for .emacs_SHELL under ~/.emacs.d
9845 * startup.el (command-line): Look for .emacs under ~/.emacs.d
9848 * simple.el (toggle-truncate-lines): When turning off truncation,
9849 clear out the hscroll value in this buffer's windows.
9851 * simple.el (display-message-or-buffer): Don't display empty
9852 output in the echo area.
9854 * man.el (Man-default-man-entry): Don't look for all word chars,
9855 look only for characters that are normally part of a shell command.
9857 * gud.el (gdb): Pass default-directory to GDB via -cd option.
9859 * font-lock.el (c++-font-lock-keywords...): Add `restrict' keyword.
9861 * find-file.el (ff-find-related-file): Fix autoload cookie.
9863 * emacs-lisp/unsafep.el (unsafep-variable): Pass second arg to
9864 risky-local-variable-p.
9866 * files.el (risky-local-variable-p): VAL=nil has special meaning.
9868 * Makefile.in (compile-always): Avoid error in old Bash versions.
9870 2002-10-26 John Paul Wallington <jpw@shootybangbang.com>
9872 * textmodes/picture.el (picture-mouse-set-point): New command.
9873 (picture-mode-map): Bind it.
9874 (picture-motion-reverse): Doc fix.
9876 2002-10-25 Stefan Monnier <monnier@cs.yale.edu>
9878 * textmodes/outline.el (outline-next-heading): Make sure the match-data
9879 is really correct where returning.
9881 2002-10-24 Matthew Swift <swift@alum.mit.edu>
9883 * textmodes/outline.el (outline-minor-mode): Add customization group.
9885 2002-10-23 Richard M. Stallman <rms@gnu.org>
9887 * files.el (risky-local-variable-p): New arg VAL.
9888 (compile-command): Use `stringp' for `safe-local-variable' prop.
9889 (hack-one-local-variable): Pass VAL to `risky-local-variable-p'.
9891 2002-10-23 Francis J. Wright <F.J.Wright@qmul.ac.uk>
9893 * woman.el (woman-version): Update to 0.551 (beta).
9894 (woman-parse-colon-path): Add support for current Cygwin mount
9896 (woman-Cyg-to-Win): New function to convert absolute filename from
9897 Cygwin to Windows form by executing external program cygpath if
9899 (woman-man.conf-path): Update default to current common locations
9900 and to support Cygwin; update documentation.
9901 (woman-parse-man.conf): Generalize regexp to "man.*\\.conf" to
9902 match possible names of man.conf file; tidy code and documentation.
9903 (woman-manpath): Simplify default and documentation; essentially
9904 move code that was here into `woman-parse-colon-path'.
9905 (woman-default-indent): Change Linux to GNU in documentation.
9906 (woman-addition-face): Make documentation consistent with other
9908 (woman-emulate-tbl): New variable, determines whether tbl
9909 emulation is required.
9910 (woman-decode-region): Add check for preprocessor requests.
9911 (woman0-process-escapes, woman-special-characters)
9912 (woman-get-next-char, woman-parse-numeric-value): Add support for
9913 long groff names of the form [xxx].
9914 (woman-strings, woman-change-fonts): Now call `woman-match-name'.
9915 (woman2-PD, woman2-na): Doc fix.
9916 (woman-match-name): New function.
9917 (woman2-TS): New function.
9918 (woman2-TE): New alias for `woman2-fi'.
9920 2002-10-23 Kim F. Storm <storm@cua.dk>
9922 * ido.el (ido-restrict-to-matches): New command.
9923 (ido-define-mode-map): Bind it to C-SPC and C-@ in ido-mode-map.
9925 2002-10-22 Bob Halley <halley@play-bow.org> (tiny change)
9927 * eshell/esh-io.el (eshell-set-output-handle): Fix so that
9928 multiple redirection can work.
9930 2002-10-21 Stefan Monnier <monnier@cs.yale.edu>
9932 * ielm.el (inferior-emacs-lisp-mode): If hexl not found, use cat.
9933 Don't hardcode point-min == 1.
9935 * hexl.el (hexl-mode-old-write-contents-hooks): Remove.
9936 (hexl-mode, hexl-current-address, hexl-address-to-marker)
9937 (hexl-insert-char): Don't hardcode point-min == 1.
9938 (hexl-isearch-search-function): New fun.
9939 (hexl-mode-old-isearch-search-fun-function): New var.
9940 (hexl-mode): Use them.
9941 (hexl-mode, hexl-mode-exit, hexl-maybe-dehexlify-buffer):
9942 Use write-contents-functions rather then write-contents-hooks.
9944 * textmodes/text-mode.el (text-mode-syntax-table): Make ' a prefix.
9945 (paragraph-indent-text-mode-abbrev-table)
9946 (paragraph-indent-text-mode-syntax-table): Remove.
9947 (paragraph-indent-text-mode): Use the :abbrev and :syntax-table args.
9949 2002-10-21 Juanma Barranquero <lektu@terra.es>
9951 * eshell/esh-util.el (directory-files-and-attributes): Copy docstring
9952 from Emacs 21. Arg DIR renamed to DIRECTORY for consistency.
9954 2002-10-20 Andreas Schwab <schwab@suse.de>
9956 * apropos.el (apropos-group): Use customize-group-other-window.
9958 2002-10-18 Stefan Monnier <monnier@rum.cs.yale.edu>
9960 * progmodes/perl-mode.el (perl-mode-syntax-table): Change $ back
9961 to just "/" instead of "/ p".
9962 (perl-font-lock-syntactic-keywords): Use ". p" for the `$'.
9964 2002-10-18 Juanma Barranquero <lektu@terra.es>
9966 * textmodes/artist.el (artist-ff-is-bottommost-line): Fix misplaced
9967 ELSE expression on IF.
9969 2002-10-17 Juanma Barranquero <lektu@terra.es>
9971 * align.el (align-rules-list, align-exclude-rules-list): Fix typos.
9973 * subr.el (remq): Likewise.
9975 * vc-cvs.el (vc-cvs-sticky-tag-display): Likewise.
9977 * vc-hooks.el (vc-insert-file): Likewise.
9979 * vcursor.el (vcursor-other-window): Likewise.
9981 * wid-edit.el (widget-choose): Likewise.
9983 * calendar/diary-lib.el (diary-name-pattern): Likewise.
9985 * emacs-lisp/elint.el (elint-error, elint-warning): Likewise.
9987 * emacs-lisp/lisp.el (beginning-of-defun): Likewise.
9989 * emulation/edt-mapper.el (top-level): Likewise.
9991 * eshell/esh-var.el (eshell/define): Likewise.
9993 * mail/feedmail.el (feedmail-nuke-body-in-fcc)
9994 (feedmail-queue-draft-directory): Likewise.
9996 * net/netrc.el (netrc-parse): Likewise.
9998 * obsolete/cplus-md.el (c++-empty-arglist-indent): Likewise.
10000 * progmodes/ebrowse.el (ebrowse-ts)
10001 (ebrowse-view/find-file-and-search-pattern)
10002 (ebrowse-draw-file-member-info): Likewise.
10004 * progmodes/idlwave.el (idlwave-region-active-p): Likewise.
10006 * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
10008 * progmodes/sh-script.el (sh-indent-for-then): Likewise.
10010 * textmodes/bibtex.el (bibtex-find-entry-location): Likewise.
10012 * textmodes/sgml-mode.el (sgml-close-tag, html-imenu-index): Likewise.
10014 2002-10-17 Dave Love <fx@gnu.org>
10016 * international/mule-diag.el (non-iso-charset-alist): Add koi8-u.
10018 * international/code-pages.el (cp-make-translation-table): Use
10019 ucs-mule-to-mule-unicode.
10020 (cp-fix-safe-chars): Fix typo.
10021 (non-iso-charset-alist): Don't define.
10022 (cp-make-coding-system): Use utf-8-translation-table-for-decode.
10023 Define translation-table-for-input.
10024 (cp866): Reinstate.
10025 (alternativnj): Don't define alias.
10028 * language/european.el ("Slovenian"): Use slovenian input-method.
10029 (encode-mac-roman): Use ucs-mule-to-mule-unicode.
10031 * language/cyrillic.el (cyrillic-alternativnyj-decode-table): Fix
10033 (cyrillic-alternativnyj): Don't give it `mime-charset' property.
10034 (cp866): Delete this alias.
10035 ("Bulgarian"): Fix the value of `input-method'.
10037 2002-10-16 Luc Teirlinck <teirllm@mail.auburn.edu>
10039 * dired-aux.el (dired-add-entry): Put point in correct position
10040 before inserting marker char.
10042 2002-10-16 Andreas Schwab <schwab@suse.de>
10044 * dired.el (dired-readin-insert): Expand dired-directory.
10046 * dired-aux.el (dired-insert-subdir-doinsert): Preserve point.
10048 2002-10-16 Markus Rost <rost@math.ohio-state.edu>
10050 * textmodes/reftex-vars.el: Move reftex-set-dirty here from
10051 reftex.el. Move the provide call to end of file.
10053 * textmodes/reftex.el: Move reftex-set-dirty to reftex-vars.el.
10055 2002-10-15 Dave Love <fx@gnu.org>
10057 * man.el (Man-getpage-in-background): Set width in environment.
10059 2002-10-15 Kenichi Handa <handa@m17n.org>
10061 * mail/sendmail.el (sendmail-send-it): Call
10062 select-message-coding-system before changing the current bufer to
10065 2002-10-14 Andre Spiegel <spiegel@gnu.org>
10067 * files.el (insert-directory): Handle //SUBDIRED// lines in
10068 recursive listings from ls --dired.
10070 * vc.el (vc-dired-reformat-line): Simplified. Handles text
10071 properties correctly now.
10073 2002-10-14 Juanma Barranquero <lektu@terra.es>
10075 * international/mule.el (set-selection-coding-system): Fix spacing.
10077 2002-10-13 Richard M. Stallman <rms@gnu.org>
10079 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
10080 Treat `ignore' specially--prevent warnings about functions
10081 called for effect, in its args.
10082 Don't warn when `pop' is used for effect.
10084 * emacs-lisp/autoload.el (autoload-print-form): Cleanup.
10086 * uniquify.el (uniquify-get-proposed-name):
10087 Don't use directory-sep-char.
10089 * thingatpt.el (read-from-whole-string): Add call to `ignore'.
10091 * find-file.el (ff-related-file-alist): New alias.
10092 (ff-find-related-file): New alias.
10094 2002-10-13 Andreas Schwab <schwab@suse.de>
10096 * dired.el (dired-insert-directory): When looking for existing
10097 indentation, goto OPOINT instead of beginning of buffer.
10099 2002-10-12 Stefan Monnier <monnier@cs.yale.edu>
10101 * cus-dep.el (custom-make-dependencies): Ignore preloaded files.
10103 2002-10-12 Michael Kifer <kifer@cs.stonybrook.edu>
10105 * ediff-init.el (ediff-frame-char-height): Use frame-selected-window.
10107 * ediff-util.el (ediff-file-checked-in-p): Changed progn with and.
10109 * ediff-wind.el (ediff-skip-unsuitable-frames): Distinguish selected
10110 frame from frame of selected window.
10111 (ediff-frame-has-dedicated-windows): Don't select any frames to avoid
10112 changing selected windows.
10113 (ediff-setup-control-frame): Make sure auto-rase is properly set for
10116 2002-10-10 Simon Josefsson <jas@extundo.com>
10118 * browse-url.el (browse-url-mozilla): Doc fix.
10120 2002-10-10 Steve Youngs <youngs@xemacs.org>
10122 * browse-url.el (browse-url-mozilla-new-window-is-tab): New.
10123 (browse-url-mozilla): Use it.
10125 2002-10-11 Miles Bader <miles@gnu.org>
10127 * vc-cvs.el (vc-cvs-parse-entry): Don't barf when an `Entries'
10128 files contains an invalid timestamp.
10130 2002-10-11 Simon Josefsson <jas@extundo.com>
10132 * mail/sendmail.el (mail-envelope-from): New option `header' to
10133 use RFC 2822 From: header as the envelope address.
10134 (mail-envelope-from): New function, this should be used instead of
10135 looking at the `mail-envelope-from' variable.
10136 (sendmail-send-it): Use it.
10138 * mail/smtpmail.el (smtpmail-via-smtp): Use it.
10140 2002-10-11 Andre Spiegel <spiegel@gnu.org>
10142 * dired.el (dired-insert-directory): Fix check for indentation
10145 * vc.el (vc-dired-reformat-line): As a temporary fix, remove all text
10146 properties from the reformatted line.
10148 2002-10-10 Stefan Monnier <monnier@cs.yale.edu>
10150 * textmodes/paragraphs.el (forward-paragraph): Keep track of
10151 remaining paragraphs to skip more carefully.
10153 * add-log.el (add-change-log-entry): Don't call find-file at all
10154 if we're already in the proper buffer.
10155 (change-log-resolve-conflict): New fun.
10156 (change-log-mode): Use it and use define-derived-mode.
10157 (change-log-merge): Allow other-log to be a buffer.
10158 Don't add a \n if there are already enough \n's.
10160 * finder-inf.el, subdirs.el, cus-load.el: Remove.
10162 * finder.el ("finder-inf"): Don't fail if the file is absent.
10164 * cus-dep.el (custom-make-dependencies): Don't use find-file.
10165 Use feature names rather than file names if applicable.
10167 * cus-edit.el (customize-mode): New command.
10169 * custom.el (custom-group-of-mode): New fun.
10170 (custom-load-symbol): Don't use preloaded-file-list now that
10171 load-history is always complete. Don't look up the expanded file
10172 name in load-history (looked like an XEmacsism).
10174 * smerge-mode.el (smerge-ediff): Autoload.
10175 (smerge-match-conflict): Don't assume as much about smerge-begin-re.
10176 (smerge-resolve-function): New var.
10177 (smerge-resolve): New command.
10178 (smerge-basic-map): Bind it.
10180 2002-10-10 Andre Spiegel <spiegel@gnu.org>
10182 * vc-cvs.el (vc-cvs-parse-entry): Parse the time stamp found in
10183 CVS/Entries, rather than comparing it textually.
10185 2002-10-10 Markus Rost <rost@math.ohio-state.edu>
10187 * international/encoded-kb.el: Add `provide' call.
10189 2002-10-09 David Kastrup <David.Kastrup@t-online.de>
10191 * calc/calc-alg.el (calcFunc-ln): In symbolic manipulations,
10192 ln(-1) should be i*pi, not pi.
10194 2002-10-09 Markus Rost <rost@math.ohio-state.edu>
10196 * vc-cvs.el (vc-cvs-registered): In the autoload version use load
10197 instead of require to avoid loops when loaddefs.el is loaded after
10200 * cus-edit.el (Custom-reset-current): Don't test for default-boundp.
10201 (Custom-reset-saved): Don't test for saved-value.
10203 2002-10-08 Stefan Monnier <monnier@cs.yale.edu>
10205 * vc.el (vc-find-version): Use the new backend op `find-version'.
10206 (vc-default-find-version): Provide the new backend op `find-version'
10207 in terms of the old `checkout' op.
10209 * vc-rcs.el (vc-rcs-find-version): New fun.
10210 (vc-rcs-checkout): Remove `workfile' arg and simplify.
10212 * vc-sccs.el (vc-sccs-find-version): New fun.
10213 (vc-sccs-checkout): Remove `workfile' arg and simplify.
10215 * vc-cvs.el (vc-cvs-find-version): New fun.
10217 2002-10-08 John Paul Wallington <jpw@shootybangbang.com>
10219 * info.el (Info-next-menu-item, Info-last-menu-item)
10220 (info-emacs-manual): Add docstrings.
10221 (Info-index): Use `string-to-number' instead of `string-to-int'.
10223 2002-10-08 Kenichi Handa <handa@m17n.org>
10225 * international/ucs-tables.el (ucs-translation-table-for-decode):
10226 Define it as a translation-table.
10228 2002-10-07 Richard M. Stallman <rms@gnu.org>
10230 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10232 * progmodes/compile.el (grep-compute-defaults): Set the standard-value
10233 properties of the variables being initialized.
10235 * thingatpt.el (thing-at-point-url-path-regexp): Doc fix.
10237 2002-10-07 Kim F. Storm <storm@cua.dk>
10239 * emulation/cua-base.el (cua-normal-cursor-color):
10240 Fixed initialization to make "Erase Customization" work.
10242 2002-10-07 Stefan Monnier <monnier@cs.yale.edu>
10244 * vc.el (vc-maybe-resolve-conflicts): Always call vc-resolve-conflicts
10245 in case some other package redefined it.
10246 (vc-resolve-conflicts): Make it into an alias for smerge-ediff.
10248 * textmodes/fill.el (fill-paragraph): Go to BOL before calling
10249 forward-paragraph to make sure its return value is meaningful.
10251 2002-10-06 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10253 * net/tramp.el: Version 2.0.25 released.
10254 (tramp-handle-file-truename): If it's a directory,
10255 append slash only if result doesn't end in a slash already.
10256 (tramp-handle-file-truename): Restructure logic. If list of steps
10257 is nil, return "/" as the real name.
10258 (tramp-completion-mode): Add "\\(" and "\\)". Otherwise,
10259 `match-string' doesn't make sense. From Michael Albinus.
10260 (tramp-host-with-port-regexp): New defcustom. Equal to previous
10261 `tramp-host-regexp'. From Michael Albinus.
10262 (tramp-host-regexp): Taken off hashes in host names. Otherwise,
10263 scanning files like .rhosts would take comments as host names.
10264 From Michael Albinus.
10265 (tramp-file-name-structure, tramp-multi-file-name-hop-structure):
10266 Replace `tramp-host-regexp' by `tramp-host-with-port-regexp'.
10267 From Michael Albinus.
10268 (tramp-action-terminal): New function.
10269 (tramp-terminal-prompt-regexp): New variable, matches "tset" prompts.
10270 (tramp-actions-before-shell): Use them.
10271 (tramp-handle-shell-command): Logic error. From Ivan
10272 Zakharyaschev <imz@altlinux.org>.
10274 2002-10-06 Markus Holmberg <markush@acc.umu.se> (tiny change)
10276 * thingatpt.el (thing-at-point-uri-schemes): New variable.
10277 (thing-at-point-url-regexp): Use it.
10279 2002-10-06 Glenn Morris <gmorris@ast.cam.ac.uk>
10281 * progmodes/fortran.el (fortran-beginning-do): Ignore labelled DO
10284 2002-10-05 Stefan Monnier <monnier@cs.yale.edu>
10286 * vc.el (vc-log-mode-map): Explicitly inherit from text-mode.
10287 (vc-maybe-resolve-conflicts): Don't check smerge-mode and smerge-ediff.
10288 (vc-print-log): Don't check log-view-mode.
10289 (vc-default-show-log-entry): Don't check log-view-goto-rev.
10290 (vc-log-mode): Remove.
10291 (vc-log-edit): Don't check log-edit.
10293 2002-10-04 Stefan Monnier <monnier@cs.yale.edu>
10295 * vc-cvs.el (vc-cvs-show-log-entry):
10296 * vc-rcs.el (vc-rcs-show-log-entry): Delete.
10298 * smerge-mode.el (smerge-ediff): Add name-{mine,other,base} args.
10300 2002-10-04 Markus Rost <rost@math.ohio-state.edu>
10302 * vc.el (vc-default-show-log-entry): Fix typo.
10304 2002-10-04 Steven Tamm <steventamm@mac.com>
10306 * term/mac-win.el: Add lines to handle the new [return] event.
10308 2002-10-03 Stefan Monnier <monnier@cs.yale.edu>
10310 * textmodes/fill.el (fill-paragraph): Give up if there's no
10311 paragraph at or after point.
10313 * textmodes/paragraphs.el (forward-paragraph): Return the steps left.
10315 * vc.el (vc-print-log): Unconditionally use `show-log-entry'.
10316 (vc-default-show-log-entry): New fun.
10318 * subr.el (read-key-auxiliary-map, read-key): Remove.
10319 (read-quoted-char): Undo the `read-key' change of 2002-06-23.
10321 2002-10-03 Markus Rost <rost@math.ohio-state.edu>
10323 * progmodes/ada-stmt.el (ada-stmt-add-to-ada-menu): Handle the
10324 menu pseudo-keys generated by easymenu which are lowercase in
10327 * progmodes/ada-xref.el
10328 (ada-xref-update-project-menu,ada-add-ada-menu): Ditto.
10330 2002-10-03 John Paul Wallington <jpw@shootybangbang.com>
10332 * frame.el (delete-frame-hook): Variable alias for
10333 `delete-frame-functions'. Mark obsolete.
10335 2002-10-02 Stefan Monnier <monnier@cs.yale.edu>
10337 * textmodes/outline.el (outline-1, outline-2, outline-3, outline-4)
10338 (outline-5, outline-6, outline-7, outline-8): New faces.
10339 (outline-font-lock-faces, outline-font-lock-levels): New vars.
10340 (outline-font-lock-face): New fun.
10341 (outline-font-lock-keywords): Use it.
10342 (outline-font-lock-level): Remove.
10343 (outline-mode, outline-next-preface, outline-next-heading)
10344 (outline-previous-heading, outline-next-visible-heading):
10346 (outline-level) <var>: Update calling convention.
10347 (outline-level) <fun>: Take advantage of it.
10348 (outline-demote): Don't assume the match-data is still uptodate.
10349 (outline-up-heading): Simplify and make sure the match data is
10350 properly set at the end.
10352 2002-10-02 Markus Rost <rost@math.ohio-state.edu>
10354 * progmodes/sh-script.el (sh-alias-alist): Use append instead of
10357 * startup.el (normal-top-level): Reset standard-value property of
10358 `user-full-name' here.
10360 2002-10-02 Per Abrahamsen <abraham@dina.kvl.dk>
10362 * wid-edit.el (widget-default-get): Change to return external
10364 (widget-choice-action): Update caller.
10365 (widget-editable-list-entry-create): Update caller.
10367 * wid-edit.el (widget-types-copy): New function.
10368 (default): Added :copy keyword.
10369 (menu-choice): Ditto.
10370 (checklist): Ditto.
10371 (radio-button-choice): Ditto.
10372 (editable-list): Ditto.
10374 (widget-copy): New function.
10375 (widget-create-child): Use it.
10376 (widget-create-child-value): Use it.
10378 2002-10-01 Bill Wohler <wohler@newt.com>
10380 * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
10381 mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el,
10382 mail/mh-utils.el, mail/mh-xemacs-compat.el, mail/reply2.pbm,
10383 mail/reply2.xpm, toolbar/execute.pbm, toolbar/execute.xpm,
10384 toolbar/page-down.pbm, toolbar/page-down.xpm, toolbar/refile.pbm,
10385 toolbar/refile.xpm, toolbar/repack.pbm, toolbar/repack.xpm,
10386 toolbar/rescan.pbm, toolbar/rescan.xpm, toolbar/show.pbm,
10387 toolbar/show.xpm, toolbar/widen.pbm, toolbar/widen.xpm:
10388 Upgraded to mh-e version 6.1.1. Full ChangeLog available in
10389 http://prdownloads.sourceforge.net/mh-e/mh-e-6.1.tgz?download .
10390 There were no user-visible changes in 6.1.1 from 6.1--only the
10391 section of the Makefile that installs the files into Emacs was changed.
10393 2002-10-01 Stefan Monnier <monnier@cs.yale.edu>
10395 * pcvs.el (cvs-mode-find-file): Look up font-lock-face so it also
10396 works when font-lock is turned off.
10398 * jit-lock.el (jit-lock-fontify-now): Don't widen.
10399 Let the jit-lock-functions do it if they want to.
10401 2002-10-01 Juanma Barranquero <lektu@terra.es>
10403 * eshell/esh-module.el (eshell-load-defgroups):
10404 Add "no-byte-compile: t" to subdirs.el.
10406 * makefile.w32-in (update-subdirs-CMD): Likewise.
10414 * international/mule-conf.el:
10415 * language/czech.el:
10416 * language/devanagari.el:
10417 * language/english.el:
10418 * language/georgian.el:
10419 * language/greek.el:
10420 * language/hebrew.el:
10421 * language/japanese.el:
10422 * language/korean.el:
10424 * language/misc-lang.el:
10425 * language/romanian.el:
10426 * language/slovak.el:
10427 * language/thai.el:
10428 * language/utf-8-lang.el:
10429 * emacs-lisp/cl-specs.el:
10430 * eshell/esh-maint.el:
10431 * mail/blessmail.el:
10436 * term/internal.el:
10437 * term/iris-ansi.el:
10452 * term/wyse50.el: Add "no-byte-compile: t" in first line.
10454 2002-10-01 Kenichi Handa <handa@m17n.org>
10456 * international/utf-16.el: Don't provide utf-16.
10458 * international/utf-8.el (ccl-decode-mule-utf-8):
10459 Remove unnecessary line.
10461 2002-09-30 Kenichi Handa <handa@m17n.org>
10463 * language/thai.el (thai-tis620): Add `mime-charset' property.
10465 * language/indian.el: Don't register "ISO10646.*-1" in
10466 font-ccl-encoder-alist.
10468 * language/cyrillic.el (ccl-decode-koi8): Refer to
10469 ucs-translation-table-for-decode.
10470 (ccl-decode-koi8-u): Likewise.
10471 (ccl-decode-alternativnyj): Likewise.
10472 (cyrillic-koi8): Put `dependency' property.
10473 (koi8-u): Likewise.
10474 (cyrillic-alternativnyj): Likewise.
10476 * international/utf-8.el (ucs-mule-to-mule-unicode): Don't define
10477 this translation-table name here.
10478 (utf-translation-table-for-encode): New translation-table name.
10479 (utf-fragmentation-table): Renamed from utf-8-fragmentation-table.
10480 (utf-defragmentation-table): New variable.
10481 (ucs-mule-cjk-to-unicode): Renamed from utf-8-subst-rev-table.
10482 (utf-subst-table-for-encode): New translation-table name.
10483 (ucs-unicode-to-mule-cjk): Renamed from utf-8-subst-table.
10484 (utf-subst-table-for-decode): New translation-table name.
10485 (utf-fragment-on-decoding): Renamed from
10486 utf-8-fragment-on-decoding. Correctly handle the case that
10487 unify-8859-on-encoding-mode is off. Handle mule-utf-16-le and
10488 mule-utf-16-be too.
10489 (utf-translate-cjk): Renamed from utf-8-translate-cjk.
10490 Handle mule-utf-16-le and mule-utf-16-be too.
10491 (ccl-decode-mule-utf-8): Refer to utf-translation-table-for-decode
10492 and utf-subst-table-for-decode.
10493 (ccl-encode-mule-utf-8): Refer to utf-translation-table-for-encode
10494 and utf-subst-table-for-encode.
10495 (mule-utf-8): Fix `safe-charsets' property, put `dependency' property.
10497 * international/utf-8-subst.el: Setup ucs-unicode-to-mule-cjk and
10498 ucs-mule-cjk-to-unicode, not utf-8-subst-table and
10499 utf-8-subst-rev-table.
10501 * international/utf-16.el (utf-16-decode-ucs): Look up
10502 utf-subst-table-for-decode. Fix for the case that the looking up
10504 (ccl-decode-mule-utf-16-le): Translate characters by
10505 utf-translation-table-for-decode.
10506 (ccl-decode-mule-utf-16-be): Likewise.
10507 (ccl-encode-mule-utf-16-le): Look up utf-subst-table-for-encode
10508 at first. Translate characters by utf-translation-table-for-encode.
10509 (ccl-encode-mule-utf-16-be): Likewise.
10510 (mule-utf-16-le, mule-utf-16-be): Add `dependency' property.
10512 * loadup.el: Preload international/utf-16. Don't call ucs-unify-8859.
10514 * international/ucs-tables.el: Don't bind
10515 utf-8-translation-table-for-decode while setting up
10516 ucs-mule-8859-to-ucs-table, etc. Add `depenency' property to
10517 iso-8859-* coding systems.
10518 (ucs-unify-8859): Arguments changed to FOR-ENCODE and FOR-DECODE.
10519 If FOR-DECODE is non-nil, make ucs-mule-8859-to-mule-unicode
10520 populate the translation table named
10521 ucs-translation-table-for-decode. If FOR-ENCODE is non-nil, make
10522 ucs-mule-to-mule-unicode populates the translation table named
10523 utf-translation-table-for-encode. Call register-char-codings for
10524 mule-utf-16-be and mule-utf-16-le too.
10525 (ucs-fragment-8859): Arguments changed to FOR-ENCODE and
10526 FOR-DECODE. If FOR-DECODE is non-nil, make the translation table
10527 named ucs-translation-table-for-decode vacant. If FOR-ENCODE is
10528 non-nil, make a proper char-table populates the translation table
10529 name utf-translation-table-for-encode. Call register-char-codings
10530 for all mule-utf-* to to reset their status to the origianl.
10531 (unify-8859-on-encoding-mode): Call ucs-unify-8859 and
10532 ucs-fragment-8859 with fixed arguments. Set the version to 21.3.
10533 (unify-8859-on-decoding-mode): Likewise. Remove dependency.
10534 (ccl-encode-unicode-font): Delete.
10535 (ucs-tables-unload-hook): Delete.
10537 * international/mule.el (decode-char): Refer to the translation
10538 hash table named utf-subst-table-for-decode. Refer to the
10539 translation table named utf-translation-table-for-decode instead
10540 of utf-8-translation-table-for-decode.
10541 (encode-char): Refer to the translation hash table named
10542 utf-subst-table-for-encode. Refer to the translation table named
10543 utf-translation-table-for-encode instead of
10544 utf-8-translation-table-for-encode.
10546 * international/mule-diag.el (describe-coding-system):
10547 Describe `dependency' property.
10549 * international/mule-conf.el (emacs-mule): Add property `composition'.
10551 * international/fontset.el (ucs-mule-to-mule-unicode): Define this
10552 translation table name here.
10553 (ucs-mule-cjk-to-unicode): New translation table name.
10554 (ccl-encode-unicode-font): Merge the code in ucs-tables.el.
10555 (font-ccl-encoder-alist): Change the font registry pattern to
10558 2002-09-30 Colin Walters <walters@gnu.org>
10560 * calc/calc-stuff.el (calc-flush-caches): Add optional arg
10563 * calc/calc-prog.el (calc-kbd-report, calc-kbd-query): Don't bind
10564 `executing-kbd-macro' and `defining-kbd-macro'.
10566 * calc/calc-ext.el (calc-reset): Don't bind `executing-kbd-macro'.
10567 Call `calc-flush-caches' with inhibit-msg arg.
10568 (calc-change-mode): Remove extra arg for `calc-save-modes'.
10570 * calc/calc-mode.el (calc-save-modes): Remove `quiet' arg.
10571 Don't bind `executing-kbd-macro'.
10573 2002-09-29 Noah Friedman <friedman@splode.com>
10575 * subr.el (read-key): Use read-key-auxiliary-map, not read-key-aux-map.
10577 2002-09-29 Richard M. Stallman <rms@gnu.org>
10579 * startup.el (user-mail-address): Initialize to a useful value
10580 once Emacs is started up; initialize to "" at loadup time.
10581 (command-line): "", not nil, means user-mail-address not set yet.
10583 2002-09-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10585 * net/tramp.el: Version 2.0.24 released.
10586 (tramp-methods, tramp-completion-function-alist):
10587 Rename "*-old" methods to "*_old". From Michael Albinus.
10588 (tramp-completion-function-alist):
10589 Use `tramp-completion-function-alist-ssh' for the "fcp" method.
10590 From Michael Albinus.
10591 (tramp-default-method-alist): Use "su" for "root@localhost".
10592 (tramp-host-regexp): Allow "#" for "host#port" kludge.
10593 (tramp-ange-ftp-file-name-p): If METHOD is nil, find the right
10594 default method. Require additional args USER and HOST for this.
10596 (tramp-handle-file-local-copy): More local bindings. Bind results
10597 of tramp-get-{remote,local}-{de,en}coding earlier to avoid nasty
10598 "are you awake" problem.
10599 (tramp-action-password): Protect against clobbered match data.
10600 (tramp-open-connection-setup-interactive-shell): Explicitly set
10601 tramp-last-cmd-time before invoking tramp-send-command the first
10602 time. Otherwise, tramp-send-command would issue "echo are you
10603 awake" right at the first time, which is not what we want.
10604 Reported by Douglas Gray Stephens.
10605 (tramp-find-inline-encoding): Don't redirect stdout to
10606 /dev/null to avoid "chmode go-rwx" operation from "mimencode
10607 >/dev/null" as root(!), and to check the output of the decoding
10609 (tramp-maybe-open-connection): Don't send "are you awake" if
10612 2002-09-29 Colin Walters <walters@gnu.org>
10614 * calc/calc.el (calc-dispatch-map): Actually set to keymap.
10616 2002-09-29 Mike Williams <mdub@bigfoot.com>
10618 * textmodes/sgml-mode.el (sgml-guess-indent): Handle tabs correctly.
10620 2002-09-29 Richard M. Stallman <rms@gnu.org>
10622 * custom.el (defcustom): Doc fix.
10624 2002-09-28 Richard M. Stallman <rms@gnu.org>
10626 * loadhist.el (unload-feature): When undefining a variable,
10627 delete its buffer-local bindings.
10629 2002-09-28 Luc Teirlinck <teirllm@mail.auburn.edu>
10631 * subr.el (remove-yank-excluded-properties): Fix bugs in
10632 handling of category properties.
10634 2002-09-28 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10636 * ps-print.el (ps-print-emacs-type): Error if ps-print is
10637 activated in Epoch, inLucid or in Emacs v19 or lesser.
10638 Value can no longer be `lucid'.
10639 (ps-print-version): New version number (6.5.8).
10640 (faces): Never do (require 'faces).
10642 2002-09-28 Simon Josefsson <jas@extundo.com>
10644 * mail/smtpmail.el (smtpmail-via-smtp): Only negotiate starttls on
10645 streams that were opened using starttls.
10647 2002-09-28 Paul Reilly <pmr@pajato.com>
10649 * files.el (auto-mode-alist): Add support for Java Enterprise
10650 ARchive (ear/EAR) and Web ARchive (war/WAR) files.
10652 2002-09-28 John Paul Wallington <jpw@shootybangbang.com>
10654 * progmodes/m4-mode.el (m4-font-lock-keywords)
10655 (m4-mode-syntax-table, m4-mode-abbrev-table, m4-m4-buffer)
10656 (m4-m4-region): Doc fixes.
10658 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>
10660 * emacs-lisp/cl-macs.el: Use the new usage-in-docstring syntax.
10661 (cl-push, cl-pop): Remove.
10662 Use pop and push throughout the file instead.
10663 (cl-transform-lambda): Add usage info to docstring if the arglist
10666 * emacs-lisp/autoload.el (make-autoload): Add usage info to docstring.
10667 (autoload-print-form): Also quote open-[-in-column 0.
10669 * help-fns.el (help-with-tutorial): Use minibuffer-completion-help.
10670 (help-split-fundoc): Don't support old syntax any more.
10671 (help-add-fundoc-usage): New fun.
10673 * emacs-lisp/cl-extra.el (cl-push, cl-pop): Remove.
10674 Use pop and push throughout the file instead.
10675 (cl-hash-lookup): Remove.
10676 (cl-make-hash-table, cl-hash-table-p, cl-gethash, cl-puthash)
10677 (cl-remhash, cl-clrhash, cl-maphash, cl-hash-table-count): Simplify.
10679 * emacs-lisp/cl-seq.el (cl-push, cl-pop): Remove.
10680 Use pop and push throughout the file instead.
10682 * emacs-lisp/edebug.el: Don't precompute menu shortcuts during
10683 loading since the current keymaps might be all weird.
10685 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't add properties
10686 to the name since they're added by mode-line-format already.
10687 (define-minor-mode): Run (,mode -1) when needed.
10689 * tar-mode.el (tar-untar-buffer): Handle dir-entries.
10690 (tar-summarize-buffer, tar-mode, tar-extract, tar-copy, tar-expunge)
10691 (tar-alter-one-field, tar-subfile-save-buffer, tar-mode-write-file):
10692 Don't hardcode 1 == point-min.
10694 * abbrev.el (write-abbrev-file): Don't hardcode point-min == 1.
10696 * subr.el (read-key-auxiliary-map): New var.
10697 (read-key): Use it.
10698 (make-temp-file): Make the file have mode 600.
10699 (add-minor-mode): Don't add properties to the name since it's
10700 added by mode-line-format already.
10701 Be more careful with the mode-line-menu entry name.
10703 * userlock.el (ask-user-about-supersession-threat): Don't abort
10704 when the user hits mouse-2.
10706 * register.el (set-register): Use push.
10707 (point-to-register): Set kill-buffer-hook in this buffer.
10708 (register-swap-out): Use dolist.
10709 (kill-buffer-hook): Don't change globally.
10711 * server.el (server-select-display): New function.
10712 (server-process-filter): Add support for `-display' and `-eval' args.
10713 (server-visit-files): Use save-current-buffer, push, and dolist.
10714 Add server-kill-buffer to kill-buffer-hook.
10715 (kill-buffer-hook): Don't modify globally.
10716 (server-switch-buffer): Be a bit more careful with multiple displays.
10717 (server-socket-name): Always use /tmp and non-qualified hostname.
10719 * uniquify.el (uniquify-rationalize-file-buffer-names):
10720 Add to kill-buffer-hook for buffers with conflict.
10721 (rename-buffer): Check kill-buffer-hook to see if there was a conflict.
10722 (uniquify-delay-rationalize-file-buffer-names): Remove useless check.
10723 (kill-buffer-hook): Don't change globally.
10725 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>.
10727 * calc/calc.el (calc-bug-address, calc-scan-for-dels, calc-stack)
10728 (calc-stack-top, calc-always-load-extensions)
10729 (calc-line-numbering, calc-line-breaking, calc-display-just)
10730 (calc-display-origin, calc-number-radix, calc-leading-zeros)
10731 (calc-group-digits, calc-group-char, calc-point-char)
10732 (calc-frac-format, calc-prefer-frac, calc-hms-format)
10733 (calc-date-format, calc-float-format, calc-complex-format)
10734 (calc-full-float-format, calc-complex-mode, calc-infinite-mode)
10735 (calc-display-strings, calc-matrix-just, calc-break-vectors)
10736 (calc-full-vectors, calc-full-trail-vectors, calc-vector-commas)
10737 (calc-vector-brackets, calc-matrix-brackets, calc-language)
10738 (calc-language-option, calc-function-open, calc-function-open)
10739 (calc-function-close, calc-language-output-filter)
10740 (calc-language-input-filter, calc-radix-formatter)
10741 (calc-left-label, calc-right-label, calc-word-size)
10742 (calc-previous-modulo, calc-simplify-mode, calc-auto-recompute)
10743 (calc-display-raw, calc-internal-prec, calc-inverse-flag)
10744 (calc-hyperbolic-flag, calc-keep-args-flag, calc-angle-mode)
10745 (calc-algebraic-mode, calc-incomplete-algebraic-mode)
10746 (calc-symbolic-mode, calc-matrix-mode, calc-shift-prefix)
10747 (calc-window-height, calc-display-trail, calc-show-selections)
10748 (calc-use-selections, calc-assoc-selections)
10749 (calc-display-working-message, calc-auto-why, calc-timing)
10750 (calc-display-sci-high, calc-display-sci-low, calc-other-modes)
10751 (calc-other-modes, calc-Y-help-msgs, calc-loaded-settings-file):
10752 Make into real defvars.
10753 (calc-mode-var-list): Delete.
10754 (calc-mode-save-mode, calc-standard-date-formats)
10755 (calc-autorange-units, calc-was-keypad-mode, calc-full-mode)
10756 (calc-user-parse-tables, calc-gnuplot-default-device)
10757 (calc-gnuplot-default-output, calc-gnuplot-print-device)
10758 (calc-gnuplot-print-output, calc-gnuplot-geometry)
10759 (calc-graph-default-resolution, calc-graph-default-resolution-3d)
10760 (calc-invocation-macro, calc-show-banner): Make into defvars,
10761 taken from `calc-mode-var-list'.
10762 (calc-emacs-type-epoch, calc-emacs-type-19)
10763 (calc-emacs-type-lucid, calc-emacs-type-gnu19): Make into defvars.
10764 (calc-version, calc-version-date, calc-trail-pointer)
10765 (calc-trail-overlay, calc-undo-list, calc-redo-list)
10766 (calc-main-buffer, calc-trail-buffer, calc-why, calc-next-why)
10767 (calc-inverse-flag, calc-hyperbolic-flag, calc-keep-args-flag)
10768 (calc-last-kill, calc-previous-alg-entry, calc-dollar-values)
10769 (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
10770 (calc-said-hello, calc-executing-macro, calc-any-selections)
10771 (calc-help-phase, calc-full-help-flag, calc-refresh-count)
10772 (calc-display-dirty, calc-prepared-composition)
10773 (calc-selection-cache-default-entry, calc-embedded-info)
10774 (calc-embedded-active, calc-standalone-flag, var-EvalRules)
10775 (math-eval-rules-cache-tag, math-radix-explicit-format)
10776 (math-expr-function-mapping, math-expr-variable-mapping)
10777 (math-read-expr-quotes, math-working-step, math-working-step-2)
10778 (var-i, var-pi, var-e, var-phi, var-gamma, var-Modes): Make into
10779 defvars, from toplevel setq.
10780 (calc-mode-map): Set up keymap in more modern fashion.
10781 (calc-dispatch-map): Ditto.
10782 (calc-command-flags, calc-final-point-line)
10783 (calc-final-point-column): Defvar.
10784 (calc-do): Use `save-current-buffer' instead of `save-excursion'.
10785 (sel-mode): Defvar.
10786 (calc-any-evaltos): Ditto.
10787 (calc-buffer, calc-prev-char, calc-prev-prev-char)
10788 (calc-digit-value): Ditto.
10789 (math-eval-rules-cache, math-eval-rules-cache-other): Ditto.
10790 (math-sub-bignum): Bind `diff'.
10791 (calc-selection-cache-entry): Defvar.
10792 (calc-count-lines): Reference `pos' instead of `newpos'.
10794 2002-09-27 Simon Josefsson <jas@extundo.com>
10796 * mail/mail-hist.el (mail-hist-next-input): Fix docstring.
10798 2002-09-26 Richard M. Stallman <rms@gnu.org>
10800 * mail/unrmail.el (unrmail): Do the work directly,
10801 without actually selecting the messages in the from file.
10802 (unrmail-unprune): New subroutine.
10804 * files.el (backup-buffer): Bind local var MODES.
10805 Don't use renaming for a suid or sgid file.
10806 Use backup-buffer-copy to do copying.
10807 (backup-buffer-copy): New subroutine.
10808 Clear suid and sgid bits for the copy.
10810 2002-09-26 Edward M. Reingold <reingold@emr.cs.iit.edu>
10812 * calendar/solar.el (solar-equinoxes-solstices):
10813 Use time properly adjusted for DST in the result.
10815 2002-09-26 Richard M. Stallman <rms@gnu.org>
10817 * follow.el (follow-generic-filter): Simply bind deactivate-mark.
10818 Bind inhibit-read-only; don't mess with buffer-read-only.
10820 * speedbar.el (speedbar-refresh): Simply bind deactivate-mark.
10822 2002-09-26 Luc Teirlinck <teirllm@mail.auburn.edu>
10824 * ielm.el (inferior-emacs-lisp-mode): Treat the header as
10825 output, if comint-use-prompt-regexp-instead-of-fields is nil.
10827 2002-09-26 John Paul Wallington <jpw@shootybangbang.com>
10829 * ibuffer.el (ibuffer-update): Call `minibufferp' with argument
10830 instead of within `with-current-buffer'.
10832 2002-09-26 Stephen Eglen <stephen@gnu.org>
10834 * iswitchb.el (iswitchb-completions): Test that
10835 iswitchb-common-match-string is a string, before printing common
10838 2002-09-25 Stefan Monnier <monnier@cs.yale.edu>
10840 * server.el: Use built-in network primitives.
10841 (server-program, server-previous-string): Remove.
10842 (server-previous-strings): New var.
10843 (server-socket-name): New var.
10844 (server-log): Minor change to the output format.
10845 (server-sentinel): Clean up global state when a client disconnects.
10846 (server-unquote-arg): New fun.
10847 (server-start): Use server-socket-name and make-network-process.
10848 (server-process-filter): Now talks to the clients directly.
10849 Normalize file name after unquoting and decoding.
10850 (server-buffer-done): Just close the connection.
10851 (server-switch-buffer): Handle the case where all windows are
10852 dedicated or minibuffers.
10854 * font-lock.el (fast-lock-mode, lazy-lock-mode, jit-lock-mode):
10855 Don't bind them variables.
10856 (font-lock-turn-off-thing-lock, font-lock-after-fontify-buffer)
10857 (font-lock-after-unfontify-buffer): Check that the vars are bound.
10858 (font-lock-dont-widen): New var.
10859 (font-lock-default-fontify-region): Use it.
10861 * emacs-lisp/find-func.el (find-library-name):
10862 Correctly find "file.el.gz" from "file.elc" or "file.elc.gz".
10864 2002-09-25 Kenichi Handa <handa@etl.go.jp>
10866 * international/mule-cmds.el (select-safe-coding-system):
10867 Handle safe but rejected default coding systems and unsafe default
10868 coding systems differently.
10870 * international/mule-diag.el (list-character-sets): Use the buffer
10871 name "*Character Set List*", not "*Help*". List also indirectly
10872 supported character sets.
10873 (list-charset-chars): Use the buffer name "*Character List*", not
10874 "*Help*". Display the current charset name in the modeline.
10875 (non-iso-charset-alist): Add mapped charset list for `mac-roman'.
10876 (sort-listed-character-sets): Don't alter the region showing
10877 indirectly supported charsets.
10879 2002-09-24 Simon Josefsson <jas@extundo.com>
10881 * mail/mail-extr.el (mail-extr-ignore-single-names): Change default.
10882 (mail-extract-address-components): Doc fix.
10884 2002-09-24 Markus Rost <rost@math.ohio-state.edu>
10886 * simple.el (edit-and-eval-command): Protect command-history.
10887 (repeat-complex-command): Protect command-history.
10889 2002-09-24 Juanma Barranquero <lektu@terra.es>
10891 * replace.el (occur-find-match): New function.
10892 (occur-next, occur-prev): Use it.
10894 * progmodes/sh-script.el (sh-mark-init): Don't set `occur-buffer'.
10895 (sh-mark-line): Likewise. Use 'occur-target and 'occur-match
10896 instead of 'occur and 'occur-point.
10898 * eshell/em-unix.el (eshell-occur-mode-mouse-goto)
10899 (eshell-poor-mans-grep): Remove references to `occur-buffer'.
10901 2002-09-24 Stefan Monnier <monnier@cs.yale.edu>
10903 * descr-text.el (describe-text-category): Use *Help*.
10905 (describe-text-properties, describe-char):
10906 Delay self-inspection test. Use *Help*.
10907 Use syntax-after. Use `pos' rather than (point).
10908 Distinguish the before/after part of a composition.
10910 2002-09-23 Kenichi Handa <handa@etl.go.jp>
10912 * international/quail.el (quail-completion): Be sure to scroll
10913 quail-completion-buf.
10915 2002-09-23 Richard M. Stallman <rms@gnu.org>
10917 * ielm.el (*1): Fix previous change.
10919 2002-09-23 Juanma Barranquero <lektu@terra.es>
10921 * net/tramp.el (tramp-unified-filenames): Autoload it.
10923 2002-09-23 Michael Kifer <kifer@cs.stonybrook.edu>
10925 * ediff-init.el (ediff-get-next-window): Bug fix.
10927 2002-09-22 Oliver Scholz <alkibiades@gmx.de>
10929 * play/gamegrid.el (gamegrid-face): New variable to emulate a
10930 buffer-local default face.
10931 (gamegrid-xbm): New variable; XBM image as a replacement for
10932 `gamegrid-xpm' on Emacsen compiled without XPM-support.
10933 (gamegrid-colorize-glyph): Ported XEmacs-code for the generation
10934 of images to Emacs.
10935 (gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to
10936 convert XEmacs-type image descriptors.
10937 (gamegrid-color-display-p): Remove (use `display-colors-p' instead.)
10938 (gamegrid-make-image-from-vector): New function. Convert XEmacs'
10940 (gamegrid-display-type): Use Emacs' standard `display-.*-p'
10941 functions to check for display capabilities. Fix the recognition
10942 of image-support in Emacs 21 by this way.
10943 (gamegrid-hide-cursor): Removed.
10944 (gamegrid-setup-default-font): Ported the code from XEmacs to
10945 Emacs: create a new face and assign the variable `gamegrid-face'
10946 to it. Make sure that the face is not higher than the smallest
10947 image used by the game.
10948 (gamegrid-initialize-display): Use `(setq cursor-type nil)'
10949 instead of `gamegrid-hide-cursor'.
10950 (gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an
10951 image in the buffer, instead of applying a face. [This is because
10952 Emacs display-tables are not as capable as the display-tables in
10953 XEmacs. Maybe this function should be renamed to reflect the change?]
10954 (gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put
10955 the face held by `gamegrid-face' in an overlay over the whole
10956 buffer to emulate a buffer-local default-face.
10958 2002-09-22 Markus Triska <triska@gmx.at> (iny change)
10960 * play/doctor.el (doctor-doc): Add 2 question words.
10961 (doctor-getnoun): Parse and save the complete object phrase.
10963 2002-09-22 Richard M. Stallman <rms@gnu.org>
10965 * international/mule-cmds.el (select-safe-coding-system): Cope if
10966 default-coding-system gives nil which was then used in `min'.
10968 * mail/sendmail.el (sendmail-send-it): If user's buffer
10969 is unibyte, make tembuf unibyte.
10971 2002-09-22 Kai Gro
\e,A_
\e(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
10973 * net/tramp.el: Version 2.0.22 released.
10974 (tramp-parse-rhosts, tramp-parse-shosts)
10975 (tramp-parse-hosts, tramp-parse-passwd): Apply `push' but
10976 `add-to-list' for performance reasons.
10977 (tramp-get-completion-user-host): Return `nil' in case both `user'
10978 and 'host' are empty (not necessarily `nil'.
10979 (tramp-parse-netrc, tramp-parse-netrc-group): New functions.
10980 (tramp-user-regexp): " \t" are not user regexp characters.
10981 (tramp-completion-handle-file-name-all-completions):
10982 Remove Ange-FTP cmpletion. It has a bug not handling the "/ftp:" prefix
10983 completely, and it returns local completions as well.
10984 (tramp-completion-function-alist-ftp): New constant.
10985 (tramp-completion-function-alist): Add completion function for "ftp".
10986 From Michael Albinus <Michael.Albinus@alcatel.de>.
10988 2002-09-22 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10990 * net/tramp.el: Version 2.0.21 released.
10991 (tramp-handle-file-newer-than-file-p): If mtime of both files is
10992 known, return a useful result. Better error message in case one
10993 is a Tramp file and one isn't.
10994 (tramp-handle-file-local-copy, tramp-handle-write-region)
10995 (tramp-find-shell, tramp-open-connection-telnet)
10996 (tramp-open-connection-rsh, tramp-open-connection-su)
10997 (tramp-open-connection-setup-interactive-shell)
10998 (tramp-post-connection, tramp-maybe-open-connection)
10999 (tramp-method-out-of-band-p): Correct number of args for
11000 `tramp-get-rsh-program' and similar functions.
11002 2002-09-22 Kai Gro
\e,A_
\e(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
11004 * net/tramp.el: Version 2.0.20 released.
11006 2002-09-20 Kai Gro
\e,A_
\e(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
11008 * net/tramp.el (tramp-completion-function-alist): Escape open
11009 paren in docstring.
11010 (tramp-user-regexp, tramp-host-regexp): Allow empty strings.
11011 (tramp-handle-insert-file-contents): Call tramp-message-for-buffer
11012 instead of tramp-message.
11013 (tramp-open-connection-rsh): Handle empty string as user name.
11014 (tramp-open-connection-su): Handle empty string as host name.
11015 Handle nil user name.
11016 (tramp-handle-file-local-copy, tramp-handle-write-region)
11017 (tramp-completion-handle-file-name-all-completions)
11018 (tramp-open-connection-telnet, tramp-open-connection-rsh)
11019 (tramp-open-connection-su, tramp-post-connection)
11020 (tramp-maybe-open-connection, tramp-method-out-of-band-p)
11021 (tramp-get-connection-function, tramp-get-remote-sh)
11022 (tramp-get-rsh-program, tramp-get-rsh-args)
11023 (tramp-get-rcp-program, tramp-get-rcp-args)
11024 (tramp-get-rcp-keep-date-arg, tramp-get-su-program)
11025 (tramp-get-su-args, tramp-get-telnet-program)
11026 (tramp-get-telnet-args): Use `tramp-find-method', perhaps require
11027 additional args USER, HOST.
11028 (tramp-action-password, tramp-open-connection-telnet)
11029 (tramp-open-connection-su, tramp-open-connection-multi)
11030 (tramp-method-out-of-band-p): `tramp-method-out-of-band-p' now
11031 takes USER and HOST arguments, to be able to use
11032 `tramp-find-method'. Update callers.
11033 (tramp-find-method): New function.
11035 2002-09-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11037 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
11038 in SWITCHES (by removing it).
11040 2002-09-18 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11042 * net/tramp.el (tramp-file-name-handler): Add `file-remote-p' property.
11044 2002-09-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11046 * net/tramp.el (top-level): Maybe autoload uudecode-decode-region.
11048 2002-09-16 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11050 * net/tramp.el (tramp-bug): Add tramp-methods.
11052 2002-09-16 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11054 * net/tramp.el (tramp-methods): Update docstring:
11055 tramp-encoding-command, tramp-decoding-command,
11056 tramp-encoding-function and tramp-decoding-function are not
11057 parameters anymore.
11058 (tramp-uuencode-region): Autoload it.
11060 2002-09-13 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11062 * net/tramp.el: Version 2.0.19 released.
11064 * net/tramp-uu.el: New file, implements uuencode in Lisp.
11066 * net/tramp.el (tramp-coding-commands):
11067 Use `tramp-uuencode-region' as local encoder for the uuencode based
11070 2002-09-13 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11072 * net/tramp.el (tramp-handle-write-region): Wrong parens.
11074 2002-09-13 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11076 * net/tramp.el: Version 2.0.18 released.
11078 * net/tramp.el (tramp-perl-decode): Perl changes to accomodate
11079 older versions of Perl. Now tested with 5.004. Suggestion from
11082 2002-09-12 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11084 * net/tramp.el (tramp-find-inline-encoding):
11085 Call tramp-call-local-coding-command with nil for INPUT and OUTPUT.
11086 (tramp-call-local-coding-command): OUTPUT equals nil means to
11087 discard the output. INPUT equals nil means /dev/null.
11089 2002-09-12 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11091 * net/tramp.el (tramp-encoding-shell): Default to environment
11092 variable COMSPEC on Windows.
11093 (tramp-handle-write-region): More debugging output.
11094 (tramp-find-inline-encoding): Ditto.
11096 2002-09-11 Michael Albinus <Michael.Albinus@alcatel.de>
11098 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11100 (tramp-parse-hosts-group): Discard IPv6 entries.
11102 2002-09-11 Kai Gro
\e,A_
\e(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
11104 * net/tramp.el (tramp-post-connection): Only send Perl
11105 mime-encode/decode implementations when using inline method.
11106 (tramp-handle-file-local-copy)
11107 (tramp-handle-write-region, tramp-post-connection)
11108 (tramp-coding-commands, tramp-find-inline-encoding): For the
11109 inline encodings, distinguish between local and remote commands,
11110 instead of between commands and functions. (The local commands
11111 can be functions, too.) If the local host is a Windows machine,
11112 we can't expect the same commands to work there as on the remote host.
11113 (tramp-call-local-coding-command): New function for calling local
11114 encoding and decoding commands.
11115 (tramp-set-remote-encoding, tramp-get-remote-encoding)
11116 (tramp-set-remote-decoding, tramp-get-remote-decoding)
11117 (tramp-set-local-encoding, tramp-get-local-encoding)
11118 (tramp-set-local-decoding, tramp-get-local-decoding): New functions.
11119 (tramp-get-encoding-command, tramp-set-encoding-command)
11120 (tramp-get-decoding-command, tramp-set-decoding-command)
11121 (tramp-get-encoding-function, tramp-set-encoding-function)
11122 (tramp-get-decoding-function, tramp-set-decoding-function):
11123 Old functions, removed.
11125 2002-09-10 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11127 * net/tramp.el (tramp-open-connection-setup-interactive-shell):
11128 Change command to invoke /bin/sh slightly to make it compatible
11129 with the `rc' shell. Suggested by Daniel Pittman.
11131 2002-09-10 Michael Albinus <Michael.Albinus@alcatel.de>
11133 * net/tramp.el (tramp-handle-write-region): Added missing
11134 `)'. Hope it's the right place.
11136 2002-09-09 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11138 * net/tramp.el (tramp-open-connection-setup-interactive-shell):
11139 Do "exec env PS1='$ ' /bin/sh" instead of just "exec /bin/sh" in
11140 order to get a sane shell prompt. If people have ${CWD}, say, in
11141 their shell prompt, then the default login shell might display
11142 something harmless, but the /bin/sh will display a dollar sign
11143 which confused the subsequent prompt recognition.
11144 (tramp-multi-action-password): More debugging output.
11145 (tramp-encoding-shell): Renamed from tramp-sh-program.
11146 More documentation. Default to cmd.exe on Windows NT.
11147 (tramp-encoding-command-switch): New variable. Use instead of
11148 hard-wired "-c" which is only good for /bin/sh.
11149 (tramp-encoding-reads-stdin): New variable. If t, commands are
11150 called like "/bin/sh -c COMMAND <INPUT", if nil, they are called
11151 like "/bin/sh -c COMMAND INPUT", ie the input file is the last arg.
11152 (tramp-multi-sh-program): Always default to tramp-encoding-shell.
11153 (tramp-handle-file-local-copy, tramp-handle-write-region):
11154 Respect tramp-encoding-shell and friends.
11155 (tramp-find-inline-encoding): Use new-style calls for checking if
11156 the local commands work.
11158 2002-09-07 Michael Albinus <Michael.Albinus@alcatel.de>
11160 * net/tramp.el (tramp-methods): Remove `tramp-completion-function'
11161 entries. They are handled now by `tramp-completion-function-alist'.
11162 (tramp-completion-function): Defvar removed. I've never used
11164 (tramp-get-completion-function)
11165 (tramp-get-completion-rsh, tramp-get-completion-ssh)
11166 (tramp-get-completion-telnet, tramp-get-completion-su):
11167 Functions removed as well. Not necessary any longer due to extended
11168 customization means.
11169 (tramp-completion-function-alist): New defcustom. Holds all
11170 FUNCTION FILE pairs used for user and host name completion
11171 relevant for METHOD.
11172 (tramp-completion-function-alist-rsh)
11173 (tramp-completion-function-alist-ssh)
11174 (tramp-completion-function-alist-telnet)
11175 (tramp-completion-function-alist-su): Defconst for initializing
11176 `tramp-completion-function-alist'. Unfortunately, mainly UNIX-like
11177 values are known for me until now. Needs to be completed for at
11178 least VMS++ like operating systems.
11179 (tramp-set-completion-function)
11180 (tramp-get-completion-function): New functions for configuration
11181 of `tramp-completion-function-alist'. The old definition of
11182 `tramp-get-completion-function' has been discarded.
11183 (tramp-completion-handle-file-name-all-completions):
11184 Change function call for user/host completion according to definition
11185 in `tramp-completion-function-alist'.
11186 (tramp-parse-passwd): Added exception handling for "root", because
11187 `tramp-get-completion-su' (the previous place for this stuff)
11188 doesn't exist any longer.
11190 2002-09-07 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11192 * net/tramp.el (tramp-enter-password):
11193 Use `tramp-password-end-of-line' to terminate the line.
11194 (tramp-bug): Include new variable `tramp-password-end-of-line'.
11195 (tramp-password-end-of-line): New variable. People who use plink
11196 under Windows might have to issue "\r\n" after the password, but
11197 they need to send just "\n" after the other commands. So this
11198 variable was introduced to complement `tramp-rsh-end-of-line'.
11199 (tramp-wait-for-output, tramp-post-connection): Allow "\r" at end
11200 of line of the output delimiter.
11202 2002-09-06 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11204 * net/tramp.el (tramp-handle-file-local-copy, tramp-find-shell)
11205 (tramp-open-connection-setup-interactive-shell): Add some comments
11206 about Douglas Grey Stephen's suggestions to make Tramp work better
11207 with plink under Windows. I'm not sure what to think of them, but
11208 now I have a guinea pig to try it out on. Said guinea pig is
11209 having other problems, though... Also remove some commented-out code.
11211 2002-09-06 Michael Albinus <Michael.Albinus@alcatel.de>
11213 * net/tramp.el (tramp-get-completion-methods): Algorithm slightly
11215 (tramp-get-completion-user-host): Accept user names as they are if
11217 (tramp-completion-mode): Replace `last-input-char' by modern
11218 `last-input-event'. Check for `event-modifiers'.
11220 2002-09-06 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11222 * net/tramp.el (file-expand-wildcards): Corrected check to see if
11223 advising is necessary.
11225 2002-09-05 Michael Albinus <Michael.Albinus@alcatel.de>
11227 * net/tramp.el (tramp-postfix-single-method-format)
11228 (tramp-postfix-multi-method-format)
11229 (tramp-postfix-multi-hop-format)
11230 (tramp-postfix-user-format): New format strings.
11231 (tramp-postfix-single-method-regexp)
11232 (tramp-postfix-multi-method-regexp)
11233 (tramp-postfix-multi-hop-regexp)
11234 (tramp-postfix-user-regexp)
11235 (tramp-make-multi-tramp-file-format)
11236 (tramp-make-tramp-file-name): Apply them.
11237 (tramp-completion-handle-file-name-all-completions): Fix for
11238 invoking ange-ftp in case of "/ftp:xxx" file names.
11240 2002-09-04 Michael Albinus <Michael.Albinus@alcatel.de>
11242 * net/tramp.el (tramp-prefix-format)
11243 (tramp-postfix-host-format): New format strings.
11244 (tramp-prefix-regexp, tramp-method-regexp)
11245 (tramp-postfix-single-method-regexp)
11246 (tramp-postfix-multi-method-regexp)
11247 (tramp-postfix-multi-hop-regexp)
11248 (tramp-user-regexp, tramp-postfix-user-regexp)
11249 (tramp-host-regexp, tramp-postfix-host-regexp)
11250 (tramp-path-regexp): New atomar regular expressions.
11251 If corresponding format strings exist, derived from them.
11252 (tramp-file-name-structure)
11253 (tramp-multi-file-name-structure)
11254 (tramp-multi-file-name-hop-structure)
11255 (tramp-make-multi-tramp-file-format)
11256 (tramp-completion-mode)
11257 (tramp-completion-dissect-file-name)
11258 (tramp-parse-rhosts-group)
11259 (tramp-parse-shosts-group)
11260 (tramp-parse-hosts-group)
11261 (tramp-parse-passwd-group): Apply these expressions.
11262 (tramp-file-name-structure-unified)
11263 (tramp-file-name-structure-separate)
11264 (tramp-make-tramp-file-format-unified)
11265 (tramp-make-tramp-file-format-separate)
11266 (tramp-make-tramp-file-format)
11267 (tramp-make-tramp-file-user-nil-format-unified)
11268 (tramp-make-tramp-file-user-nil-format-separate)
11269 (tramp-make-tramp-file-user-nil-format)
11270 (tramp-multi-file-name-structure-unified)
11271 (tramp-multi-file-name-structure-separate)
11272 (tramp-multi-file-name-hop-structure-unified)
11273 (tramp-multi-file-name-hop-structure-separate)
11274 (tramp-make-multi-tramp-file-format-unified)
11275 (tramp-make-multi-tramp-file-format-separate): Removed.
11276 (tramp-make-tramp-file-name): Allow partial tramp file
11277 names. Generate tramp file format on-the-fly depending on
11278 parameters. Apply atomar format strings resp expressions.
11279 (tramp-get-completion-methods)
11280 (tramp-get-completion-user-host): Apply `tramp-make-tramp-file-name'.
11281 (tramp-parse-hosts-group): Take all host names and IP addresses
11283 (tramp-bug): Remove `tramp-make-tramp-file-format'.
11285 2002-09-01 Michael Albinus <Michael.Albinus@alcatel.de>
11287 * net/tramp.el (tramp-methods): Add `tramp-completion-function'
11288 for "su" and "sudo".
11289 (tramp-get-completion-telnet): Implement it.
11290 (tramp-parse-hosts)
11291 (tramp-parse-hosts-group)
11292 (tramp-get-completion-su)
11293 (tramp-parse-passwd)
11294 (tramp-parse-passwd-group): New functions.
11296 2002-08-31 Michael Albinus <Michael.Albinus@alcatel.de>
11298 * net/tramp.el (tramp-completion-mode): Check for `last-input-char'.
11299 (tramp-completion-file-name-handler-alist): Add handler for
11301 (tramp-completion-handle-file-exists-p): New function.
11302 (tramp-completion-handle-file-name-completion): Simplified.
11303 (tramp-completion-dissect-file-name): Regexp's reorganised.
11304 (tramp-completion-handle-file-name-all-completions):
11305 Call completion-function only if `user' or `host' is given.
11306 (tramp-get-completion-user-host): New function.
11307 (tramp-get-completion-rsh)
11308 (tramp-get-completion-ssh): Apply it.
11310 2002-08-29 Michael Albinus <Michael.Albinus@alcatel.de>
11312 * net/tramp.el (tramp-completion-file-name-handler-alist):
11313 Add handler for `expand-file-name'.
11314 (tramp-completion-handle-expand-file-name): New function.
11316 2002-08-26 Michael Albinus <Michael.Albinus@alcatel.de>
11318 * net/tramp.el (tramp-completion-mode): New function.
11319 (tramp-completion-handle-file-name-directory)
11320 (tramp-completion-handle-file-name-all-completions): Apply it.
11321 (tramp-methods): Remove double definition of `ssh1-old' and `ssh2-old'.
11322 (tramp-point-at-eol): New defalias.
11323 (tramp-parse-rhosts-group)
11324 (tramp-parse-shosts-group):: Apply it.
11326 2002-08-25 Michael Albinus <Michael.Albinus@alcatel.de>
11328 * net/tramp.el (tramp-get-completion-methods)
11329 (tramp-get-completion-rsh)
11330 (tramp-get-completion-ssh): Add "[" for Xemacs.
11331 (tramp-completion-file-name-regexp-separate): Expression adapted.
11332 (tramp-completion-file-name-handler-alist): Add handler for
11333 `file-name-directory' and `file-name-nondirectory'.
11334 (tramp-completion-handle-file-name-directory)
11335 (tramp-completion-handle-file-name-nondirectory)
11336 (tramp-completion-run-real-handler): New functions.
11337 (tramp-completion-file-name-handler)
11338 (tramp-completion-handle-file-name-all-completions):
11339 Apply `tramp-completion-run-real-handler'.
11340 (tramp-parse-rhosts)
11341 (tramp-parse-shosts): Use `with-temp-buffer'. `result
\e$,1!=
\e(B renamed to
11342 `res' (otherwise side effects in XEmacs).
11344 2002-08-24 Michael Albinus <Michael.Albinus@alcatel.de>
11346 * net/tramp.el (tramp-completion-file-name-regexp)
11347 (tramp-completion-file-name-handler-alist)
11348 (tramp-flatten-list)
11349 (tramp-completion-dissect-file-name)
11350 (tramp-get-completion-rsh)
11351 (tramp-parse-rhosts)
11352 (tramp-parse-rhosts-group)
11353 (tramp-get-completion-ssh): Doc string tuned.
11354 (tramp-methods): Doc string and custom type extended for
11355 `tramp-completion-function'.
11356 (tramp-completion-function): Variable added. Is it really used?
11357 Other variables like `tramp-completion-function' aren't used.
11358 (tramp-completion-file-name-handler-alist): Add handler for
11359 `file-name-completion'.
11360 (tramp-completion-handle-file-name-completion): New function.
11362 2002-08-18 Michael Albinus <Michael.Albinus@alcatel.de>
11364 * net/tramp.el (tramp-parse-rhosts)
11365 (tramp-parse-rhosts-group)
11366 (tramp-parse-shosts)
11367 (tramp-parse-shosts-group): New functions.
11369 2002-08-17 Michael Albinus <Michael.Albinus@alcatel.de>
11371 * net/tramp.el (tramp-completion-dissect-file-name)
11372 (tramp-completion-dissect-file-name1): New functions.
11374 2002-08-16 Michael Albinus <Michael.Albinus@alcatel.de>
11376 * net/tramp.el (tramp-get-completion-function)
11377 (tramp-get-completion-rsh)
11378 (tramp-get-completion-ssh)
11379 (tramp-get-completion-telnet): New functions.
11380 (tramp-methods): Add `tramp-completion-function' for all methods.
11382 2002-08-15 Michael Albinus <Michael.Albinus@alcatel.de>
11384 * net/tramp.el (tramp-get-completion-methods): New function.
11385 (tramp-find-default-method): Allow host to be nil (like user).
11387 2002-08-14 Michael Albinus <Michael.Albinus@alcatel.de>
11389 * net/tramp.el (tramp-completion-file-name-regexp-unified)
11390 (tramp-completion-file-name-regexp-separate)
11391 (tramp-completion-file-name-regexp)
11392 (tramp-completion-file-name-handler-alist): New defcustoms.
11393 (tramp-completion-file-name-handler): New function.
11394 Add `tramp-completion-file-name-handler' to `file-name-handler-alist'.
11395 (tramp-run-real-handler): Add `tramp-completion-file-name-handler'
11396 to `inhibit-file-name-handlers'.
11397 (tramp-completion-handle-file-name-all-completions)
11398 (tramp-completion-handle-file-name-completion): New functions.
11400 2002-08-12 Michael Albinus <Michael.Albinus@alcatel.de>
11402 * net/tramp.el (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp'
11403 must be called again after activating `ange-ftp'.
11404 (tramp-ange-ftp-file-name-p): Check for Xemacs.
11406 2002-08-08 Michael Albinus <Michael.Albinus@alcatel.de>
11408 * net/tramp.el (tramp-do-copy-or-rename-file): Don't pass
11409 KEEP-DATE to tramp-invoke-ange-ftp 'rename.
11410 (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
11411 tramp-invoke-ange-ftp 'write-region.
11412 (tramp-handle-set-file-modes): Change order of FILENAME and MODE
11413 passing to tramp-invoke-ange-ftp 'set-file-modes.
11414 (tramp-flatten-list): New function. Maybe this functionality does
11415 exist already elsewhere in the libraries.
11416 (tramp-invoke-ange-ftp): Apply `tramp-flatten-list' to parameter
11417 list in order to avoid nested lists, f.e. when invoked from
11418 `tramp-handle-dired-call-process'.
11420 2002-09-05 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11422 * net/tramp.el (tramp-chunksize): New kluge variable.
11423 (tramp-send-region): If tramp-chunksize is non-nil, send region in
11424 parts and sleep 0.1 seconds between chunks.
11426 2002-09-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11428 * net/tramp.el (tramp-handle-insert-directory):
11429 Use `insert-buffer-substring' instead of `insert-buffer', which is not
11430 supposed to be used from Lisp. Remember old point in a variable
11431 instead of using `mark'. Suggestion from Stefan Monnier.
11432 (tramp-unified-filenames): New variable. Use it in default value
11433 of other filename variables.
11434 (file-expand-wildcards): Don't advise unless "[" and "]" are used
11435 in the filename format.
11437 2002-09-01 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11439 * net/tramp.el (tramp-methods): Remove duplicate definition of
11440 ssh1-old and ssh2-old.
11442 2002-09-22 Kai Gro
\e,A_
\e(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
11444 * dired.el (dired-insert-directory): Always add "--dired" to to
11445 SWITCHES for remote files.
11446 * files.el (insert-directory): Comment saying that "--dired"
11447 might be in the SWITCHES.
11448 * net/ange-ftp.el (ange-ftp-ls): Handle "--dired" in LSARGS.
11449 (ange-ftp-insert-directory): Comment explaining "--dired" handling.
11451 2002-09-21 Markus Rost <rost@math.ohio-state.edu>
11453 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Give %!._-
11454 word constituent syntax.
11456 2002-09-21 Richard M. Stallman <rms@gnu.org>
11458 * cus-dep.el (custom-make-dependencies): Bind to t
11459 around evaluating the def-form.
11461 * custom.el (custom-dont-initialize): New variable.
11462 (custom-declare-variable): Don't init the variable
11463 if custom-dont-initialize is non-nil.
11465 2002-09-21 John Paul Wallington <jpw@shootybangbang.com>
11467 * net/eudc.el (eudc-install-menu): Use `define-key' and
11468 `easy-menu-create-menu' to avoid duplication of menu.
11470 2002-09-20 Kim F. Storm <storm@cua.dk>
11472 * kmacro.el (kmacro-step-edit-query): Use RET to execute rest of
11473 macro and terminate editing.
11474 (kmacro-step-edit-macro): Push previous macro onto ring if changed
11477 2002-09-19 Tom Tromey <tromey@redhat.com>
11479 * play/blackbox.el (bb-right): Respect prefix argument.
11480 (bb-left, bb-up, bb-down): Likewise.
11482 2002-09-19 Richard M. Stallman <rms@gnu.org>
11484 * cus-dep.el (custom-make-dependencies): Fix previous change.
11486 2002-09-19 Juanma Barranquero <lektu@terra.es>
11488 * ielm.el (ielm-eval-input): Call `error-message-string' instead
11489 of the non-existent `ielm-format-error'.
11491 2002-09-19 Stefan Monnier <monnier@cs.yale.edu>
11493 * emacs-lisp/easymenu.el (easy-menu-remove):
11494 * emacs-lisp/ewoc.el (ewoc--node-branch): Add docstring.
11496 * international/mule-diag.el (describe-coding-system):
11497 Remove unused `coding-spec' variable.
11498 (list-input-methods): Be more careful when setting up the help buffer.
11500 * international/ucs-tables.el (unify-8859-on-encoding-mode):
11501 Set init value to t to reflect reality.
11502 (ucs-minibuffer-setup): Use minibuffer-selected-window.
11504 2002-09-18 Stefan Monnier <monnier@cs.yale.edu>
11506 * progmodes/make-mode.el (makefile-cleanup-continuations-p):
11507 Rename to makefile-cleanup-continuations.
11508 (makefile-mode): Use write-file-functions.
11509 (makefile-fill-paragraph): Use match-string-no-properties.
11510 (makefile-fill-paragraph): Use line-end-position.
11511 (makefile-add-log-defun): Simplify.
11513 2002-09-18 Richard M. Stallman <rms@gnu.org>
11515 * dired.el (dired-mark-pop-up): Doc fix.
11517 * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Put the
11518 definition straight into loaddefs.el as well as executing it here.
11520 2002-09-18 Colin Walters <walters@debian.org>
11522 * calc/calc.el (calc-mode): Add font-lock-defontify to
11523 change-major-mode-hook.
11525 2002-09-18 Richard M. Stallman <rms@gnu.org>
11527 * Makefile.in (bootstrap-clean): Use cd to shorten arg strings.
11528 Don't ignore errors in rm line.
11530 * menu-bar.el (menu-bar-search-menu): Nicer help string.
11532 * replace.el (occur-engine-add-prefix): Use 7 spaces.
11533 (occur-engine): Use 7 digits to align tabs in the data.
11535 * emacs-lisp/bytecomp.el (byte-compile-output-docform):
11536 Don't make the definition dynamic if it shares structure
11539 * gud.el (gud-pdb-marker-regexp): Allow : and \ in file name.
11540 (pdb): In gud-remove, pass down the file name.
11542 * cus-dep.el (custom-make-dependencies): Sort MEMBERS before use.
11544 2002-09-18 Luc Teirlinck <teirllm@mail.auburn.edu>
11546 * ielm.el: (*1, *2, *3): New variables.
11547 (ielm-eval-input): Make temporary buffers current on entry and
11548 exit to the let bindings for *, ** and ***.
11549 (inferior-emacs-lisp-mode): Mention *1, *2 and *3 in the docstring.
11550 Do not overrule global bindings for *, ** and ***.
11552 2002-09-18 Tom Tromey <tromey@redhat.com>
11554 * progmodes/make-mode.el (makefile-fill-paragraph): Find comment
11555 boundaries before filling.
11557 2002-09-18 Stefan Monnier <monnier@cs.yale.edu>
11559 * server.el (server-done): Fix harmlessly wrong arg to save-buffer.
11560 (server-switch-buffer): Only select a different window if
11561 next-buffer is non-nil. Don't switch in a dedicated window.
11562 If next-buffer is already displayed, reuse that window.
11564 * diff-mode.el (diff-mode): Use compilation-minor-mode.
11565 Don't unbind compilation-last-buffer after autoloading compile.el.
11566 Hide the compilation-minor-mode bindings altogether.
11568 2002-09-18 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11570 * dired.el (dired-insert-directory): Never add "--dired" when
11571 listing remote directories.
11573 2002-09-18 Michael Kifer <kifer@cs.stonybrook.edu>
11575 * ediff-hooks.el: Put back the autoloads (for XEmacs compatibility).
11577 * ediff-init.el: Use defalias instead of fset.
11579 * ediff-util.el: Use defalias instead of fset.
11581 * viper-util.el (viper-chars-in-region): Simplification.
11583 * viper.el (viper-emacs-state-mode-list): Added modes.
11585 2002-09-18 Jonathan Yavner <jyavner@engineer.com>
11587 * emacs-lisp/testcover.el: New file. Uses edebug to instrument a
11588 module of code, with graphical display of poor-coverage spots.
11590 * emacs-lisp/testcover-ses.el: New file. Demonstrates use of
11591 testcover on a interactive module like ses.
11593 * emacs-lisp/testcover-unsafep.el: New file. Demonstrates use of
11594 testcover on a noninteractive module like unsafep.
11596 2002-09-18 Miles Bader <miles@gnu.org>
11598 * diff-mode.el (diff-mode): Don't evaluate `compilation-last-buffer'
11601 2002-09-17 Stefan Monnier <monnier@cs.yale.edu>
11603 * server.el (server-log): Add `client' arg.
11604 (server-start): Don't bother canceling the sentinel.
11605 (server-process-filter): Use replace-regexp-in-string and
11606 handle the new &n quoting. Use push. Use server-log's new arg.
11607 Don't output the C-x # message if `nowait'.
11608 (server-buffer-done): Use server-log's new arg.
11610 2002-09-16 Jonathan Yavner <jyavner@engineer.com>
11612 * ses.el: New file.
11614 * emacs-lisp/unsafep.el: New file.
11616 * files.el (auto-mode-alist): Add ".ses" for ses-mode.
11617 (inhibit-quit): This is risky for unsafep, doesn't matter much for
11619 (risky-local-variable-p): New function. Split off from
11620 hack-one-local-variable so unsafep can use it. Add \|-history$ to
11621 the list of disallowed local variable names (malicious user could
11622 stuff a `display' property in there that would be activated when
11623 na
\e,Ao
\e(Bve user called up the history).
11625 2002-09-16 Markus Rost <rost@math.ohio-state.edu>
11627 * ls-lisp.el (ls-lisp-format-time-list): Fix type and provide :tag's.
11629 2002-09-16 Richard M. Stallman <rms@gnu.org>
11631 * play/gomoku.el (gomoku-move-up, gomoku-move-down):
11632 Use forward-line and move-to-column.
11634 * cus-edit.el (custom-variable-backup-value): New function.
11635 (custom-variable-reset-backup): New function.
11636 (custom-variable-menu): Add item for custom-variable-reset-backup.
11637 (custom-variable-set, custom-variable-reset-saved)
11638 (custom-variable-reset-standard): Call custom-variable-backup-value.
11640 2002-09-16 Stefan Monnier <monnier@cs.yale.edu>
11642 * dired.el (dired-font-lock-keywords): Use regexp-opt.
11643 (dired-move-to-filename): Better message when we fail to find the file.
11644 (dired-sort-toggle): Minor optimization.
11646 2002-09-16 Juanma Barranquero <lektu@terra.es>
11648 * dired-aux.el (dired-add-entry): Add missing argument to
11651 2002-09-16 John Paul Wallington <jpw@shootybangbang.com>
11653 * xscheme.el (scheme-interaction-mode): Doc fix.
11655 * net/eudc.el (eudc-plist-get): Doc fix.
11657 2002-09-16 Kim F. Storm <storm@cua.dk>
11659 * menu-bar.el (menu-bar-last-search-type): New var.
11660 (nonincremental-repeat-search-forward)
11661 (nonincremental-repeat-search-backward): Repeat string or
11662 regexp search depending on menu-bar-last-search-type.
11663 (nonincremental-search-forward, nonincremental-re-search-forward)
11664 (nonincremental-search-backward, nonincremental-re-search-backward):
11665 Set menu-bar-last-search-type to string or regexp.
11666 (nonincremental-repeat-re-search-forward): Removed.
11667 (nonincremental-repeat-re-search-backward): Removed.
11668 (menu-bar-replace-menu): New keymap for "Edit->Replace" submenu.
11669 (menu-bar-i-search-menu): New keymap for "Incremental Search" submenu.
11670 (menu-bar-adv-search-menu): Removed.
11671 (menu-bar-search-menu): Reorganized.
11672 (menu-bar-edit-menu): Added "Replace" submenu.
11674 2002-09-15 Richard M. Stallman <rms@gnu.org>
11676 * scroll-bar.el (scroll-bar-mode): Specify :initialize.
11678 * menu-bar.el (menu-bar-make-mm-toggle): Don't put a quote befor FNAME
11679 when it's not being evaluated.
11681 2002-09-15 Markus Rost <rost@math.ohio-state.edu>
11683 * dired.el (dired-move-to-filename): Fix previous change.
11685 2002-09-14 Kim F. Storm <storm@cua.dk>
11687 * emulation/keypad.el (keypad-setup, keypad-shifted-setup)
11688 (keypad-numlock-setup, keypad-numlock-shifted-setup):
11689 Change `Remove Binding' option to `Unspecified/User-defined'.
11690 (keypad-setup): Enhance explanation of setup type `none'.
11692 2002-09-14 Richard M. Stallman <rms@gnu.org>
11694 * time.el (display-time-mode): Set display-time-load-average here.
11695 (display-time-load-average): Initialize to nil.
11696 (display-time-default-load-average): Add "None" alternative.
11697 (display-time-update): Handle "None" alternative for load-average.
11699 * dired-aux.el (dired-bunch-files): Put the arg FILES
11700 back as it was after temporary destrucive mods.
11701 (dired-add-entry): Use dired-insert-directory to handle indentation.
11702 Explicitly restore the line's marker character.
11703 Preserve the old file name's text properties.
11704 (dired-add-entry-do-indentation): Function deleted.
11705 (dired-relist-file): Doc fix.
11706 (dired-rename-file): Change argument names.
11707 (foo-rename-file): New function.
11708 (dired-do-hardlink): Use dired-hardlink.
11709 (dired-hardlink): New function.
11710 (dired-insert-subdir-doinsert): Use dired-insert-directory;
11711 that handles indentation, text props and header line.
11712 dired-readin-insert gets no args.
11713 Use `last' instead of `reverse'.
11715 * dired.el (dired-use-ls-dired): New variable.
11716 (dired-directory): Document the rules better.
11718 * dired.el (dired-insert-headerline): Function deleted.
11719 (dired-revert): Pass no args to dired-readin.
11720 (dired-move-to-filename): First try using dired-filename property.
11721 (dired-move-to-end-of-filename): Likewise.
11722 (dired-why): Try to show the start of this page of warnings.
11723 (dired-log): Insert the buffer name at start of page, not end.
11724 (dired-log-summary): If just one failure, explain it in echo area.
11726 * dired.el (dired-internal-noselect):
11727 Always set dired-directory, when buffer is not new.
11728 Pass dir-or-list, not dirname, to dired-mode.
11729 Call dired-readin with no args.
11730 Don't call dired-after-readin-hook here.
11731 (dired-find-buffer-nocreate): Expand dirname.
11732 Expand the dir from dired-directory to compare with dirname.
11734 (dired-readin): Take no args. Get the directory from dired-directory.
11735 Run dired-before-reading hook inside save-excursion.
11736 Run dired-after-readin-hook here.
11737 Don't make undo entries at all.
11738 Call dired-readin-insert with no args.
11739 Don't change indentation here.
11740 Don't insert headerline here.
11742 (dired-readin-insert): Take no args.
11743 Get dir and file-list from dired-directory.
11744 Call dired-insert-directory the new way.
11745 Don't insert "wildcard" info here.
11747 (dired-insert-directory): New arg FILE-LIST.
11748 First arg now DIR, always just the directory.
11749 This function fully handles setting up the buffer text:
11750 update indentation, insert headerline and "wildcard" info.
11751 Pass --dired arg if appropriate; put info in dired-filename props.
11752 Don't expand file names here.
11754 * warnings.el (display-warning): In batch mode,
11755 exclude the final newline from the arg to `message'.
11757 2002-09-13 Markus Rost <rost@math.ohio-state.edu>
11759 * files.el (diff-buffer-with-file): Check whether associated file
11760 exists. Display message for 1 second. Always return nil.
11762 2002-09-13 Stefan Monnier <monnier@cs.yale.edu>
11764 * diff-mode.el (diff-mode): Turn on compilation-minor-mode
11765 support again, but more carefully this time.
11767 * progmodes/perl-mode.el (perl-mode-syntax-table): Mark $, % and @
11768 such that backward-sexp correctly skips them.
11769 (perl-font-lock-keywords-2): Use regexp-opt.
11770 (perl-font-lock-syntactic-keywords)
11771 (perl-font-lock-syntactic-face-function): Better handle PODs.
11772 Handle package names with ' in them and ($$) in `sub' declarations.
11773 Handle format staements. Handle regexp and quote-like ops.
11774 (perl-empty-syntax-table): New var.
11775 (perl-quote-syntax-table): New fun.
11777 * pcvs.el (cvs-mode-find-file): Work even if point is at beg-of-line.
11778 (cvs-do-removal): Bind inhibit-read-only while modifying the buffer.
11780 * newcomment.el (comment-with-narrowing): Use the `declare' thingy.
11782 * derived.el (define-derived-mode): Properly ignore unknown args.
11784 * emacs-lisp/easy-mmode.el (define-minor-mode): Add a :require arg.
11785 Don't call the function during init if mode is on by default.
11787 * simple.el: Provide `simple'.
11788 (transient-mark-mode, line-number-mode, column-number-mode):
11789 Pass an explicit `:require nil' argument.
11791 2002-09-13 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
11793 * play/tetris.el (tetris-blank-options, tetris-cell-options):
11794 Remove various redundant `(t nil)'.
11796 * play/snake.el (snake-border-options): Use color on tty if available.
11798 * play/tetris.el (tetris-border-options): Likewise.
11800 * play/pong.el (pong-border-options): Likewise, plus reset
11801 color on tty to be [0.5 0.5 0.5].
11803 2002-09-13 Kim F. Storm <storm@cua.dk>
11805 * kmacro.el (kmacro-start-macro): Doc fix.
11807 2002-09-13 Juanma Barranquero <lektu@terra.es>
11809 * progmodes/idlw-shell.el (idlwave-shell-cleanup): Fix reference
11810 to `idlwave-idlwave_routine_info-compiled'.
11812 * whitespace.el (whitespace-unload-hook): Call `remove-hook' with
11813 three arguments, not four.
11815 2002-09-13 Kim F. Storm <storm@cua.dk>
11817 * kmacro.el (kmacro-keymap): Changed bindings:
11818 C-x C-k s to kmacro-start-macro, C-x C-k b to kmacro-bind-to-key.
11820 2002-09-12 Richard M. Stallman <rms@gnu.org>
11822 * international/mule-cmds.el (universal-coding-system-argument):
11823 Read the coding system inside `interactive' spec, for command-history.
11825 2002-09-12 Stefan Monnier <monnier@cs.yale.edu>
11827 * emacs-lisp/find-func.el (find-library-name): Don't forget
11828 the empty suffix. Fix stale variable name.
11830 * gud.el (gud-gdb-massage-args, gud-sdb-massage-args)
11831 (gud-pdb-massage-args): Delete.
11832 (gdb, sdb, pdb): Don't pass gud-*-massage-args any more.
11833 (gud-gdb-command-name): New var. Put "--fullname" in there.
11834 (gud-query-cmdline): Use the most recent executable as the default.
11835 Don't add "--fullname" (it's only valid/meaningful for GDB).
11836 (gud-xdb-marker-filter): Use match-string.
11837 (gud-perldb-massage-args): Don't add "-d".
11838 (gud-perldb-command-name): Add "-d".
11839 (gud-common-init): If `massage-args' is nil, don't call it.
11840 (gud-format-command): Don't hardcode point-min==1.
11842 * derived.el: Require CL when compiling.
11844 2002-09-12 Simon Josefsson <jas@extundo.com>
11846 * mail/smtpmail.el (smtpmail-send-it): Don't use : in filenames
11847 (for cygwin). Suggested by Andrew Senior <aws@watson.ibm.com>.
11848 Use expand-file-name. Also don't require time-stamp.
11850 2002-09-11 Richard M. Stallman <rms@gnu.org>
11852 * derived.el (define-derived-mode): When making new abbrev table,
11853 don't try to copy the parent's abbrev table.
11855 * ruler-mode.el (ruler-mode-left-scroll-bar-cols):
11856 Always round scroll-bar-width parameter up.
11857 If it is nil, use 14.
11859 * abbrev.el (copy-abbrev-table): New function.
11861 2002-09-11 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11863 * ps-print.el: Adjust ps-print-color-p, ps-default-fg and
11864 ps-default-bg setting.
11865 (ps-print-version): New version number (6.5.7).
11866 (ps-mark-active-p): New fun.
11867 (ps-print-preprint-region): Adjust code.
11869 2002-09-11 Dave Love <fx@gnu.org>
11871 * international/mule.el (non-standard-designations-alist)
11872 (ctext-pre-write-conversion): Don't generate invalid extended
11873 segments for iso8859.
11875 * language/cyrillic.el ("Ukrainian"): Fix nonascii-translation.
11876 (cyrillic-alternativnyj-decode-table): Fix some entries.
11878 * international/ucs-tables.el: Fix last change.
11880 * international/utf-8.el (utf-8-fragment-on-decoding): Fix last
11883 2002-09-11 Kim F. Storm <storm@cua.dk>
11885 * edmacro.el (edit-kbd-macro): Recognize new C-x e binding,
11886 kmacro-end-and-call-macro.
11888 2002-09-11 Juanma Barranquero <lektu@terra.es>
11890 * newcomment.el (uncomment-region): Fix let/let* use.
11892 2002-09-11 Simon Josefsson <jas@extundo.com>
11894 * time-stamp.el (time-stamp-hhmmss): New function.
11896 * gud.el (gud-gdb-massage-args): Don't secretly add -fullname.
11897 (gud-query-cmdline): Add --fullname to the user cmdline.
11899 * mail/smtpmail.el (smtpmail-default-smtp-server): Doc fix.
11901 2002-09-11 Kim F. Storm <storm@cua.dk>
11903 * kmacro.el (kmacro-call-macro): Rephrase repeat prompt.
11904 (kmacro-step-edit-map): Bind "A" to `append-end'.
11905 (kmacro-step-edit-prompt): Fix prompt.
11906 (kmacro-step-edit-query): Handle `append-end' response.
11907 (kmacro-step-edit-pre-command): Activate `append-end' at end of
11908 macro when required.
11910 2002-09-11 Stefan Monnier <monnier@cs.yale.edu>
11912 * derived.el (define-derived-mode): Fix typo.
11914 * menu-bar.el (line-number-mode, column-number-mode)
11915 (transient-mark-mode): Use minor mode directly.
11916 (menu-bar-make-toggle): Remove `props' arg.
11917 Move customize-mark-as-set directly into the toggle function.
11919 * whitespace.el (whitespace-global-mode): Use define-minor-mode.
11920 Use the new file hook names.
11921 (whitespace-describe): Remove. Move the text to `Commentary:'.
11922 (whitespace-unload-hook): Use the new file hook names.
11924 * finder.el (finder-find-library): Remove.
11925 (finder-commentary): Use find-library-name and add completion.
11927 * simple.el (transient-mark-mode, line-number-mode)
11928 (column-number-mode): Use define-minor-mode.
11929 (define-mail-user-agent): Delete. Moved to subr.el.
11931 * loadup.el ("simple.el"): Move to after loaddefs.el.
11933 * subr.el (define-mail-user-agent): Moved from simple.el.
11935 2002-09-10 Richard M. Stallman <rms@gnu.org>
11937 * pcvs-info.el (cvs-check-fileinfo): Don't use boolp.
11938 (boolp): Function deleted.
11940 2002-09-10 Dave Love <fx@gnu.org>
11942 * international/utf-8.el (ucs-mule-to-mule-unicode):
11943 Define unconditionally.
11944 (utf-8-fragmentation-table): New. Use it in top-level mapc.
11945 (utf-8-fragment-on-decoding): Use it to keep
11946 utf-8-translation-table-for-decode variable and translation table
11949 * international/ucs-tables.el: Bind utf-8-translation-table-for-decode
11950 when setting up tables and remove useless optimize-char-table.
11951 (ucs-mule-to-mule-unicode): Deleted.
11952 (ucs-unify-8859): Maybe optimize ucs-mule-to-mule-unicode.
11954 * international/utf-16.el (utf-16-le-pre-write-conversion)
11955 (utf-16-be-pre-write-conversion): Deleted.
11956 (mule-utf-16-le, mule-utf-16-be): Register encoding translation table.
11958 2002-09-10 Richard M. Stallman <rms@gnu.org>
11960 * files.el (diff-buffer-with-file): Simplify.
11961 Don't signal an error if buffer has no file.
11962 Call sit-for after `diff' returns.
11964 * play/gamegrid.el (gamegrid-make-color-tty-face):
11965 Handle string as COLOR arg.
11966 (gamegrid-display-type): Don't assume display-color-p
11967 implies a color-x terminal.
11968 (gamegrid-hide-cursor): Set `cursor-type' local variable.
11970 * descr-text.el (describe-text-mode): Add font-lock-defontify to
11971 change-major-mode-hook.
11973 * ibuffer.el (ibuffer-mode): Add font-lock-defontify to
11974 change-major-mode-hook.
11976 * comint.el (comint-mode): Add font-lock-defontify to
11977 change-major-mode-hook.
11979 * info.el (Info-mode): Add font-lock-defontify to
11980 change-major-mode-hook.
11982 * replace.el (occur-mode): Add font-lock-defontify to
11983 change-major-mode-hook.
11985 * font-core.el (font-lock-defontify): New function.
11987 2002-09-10 Richard M. Stallman <rms@gnu.org>
11989 * ps-print.el (ps-printer-name-option): Doc fix.
11991 2002-09-10 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11993 * ps-print.el: Adjust ps-postscript-code-directory setting.
11994 XEmacs version check was adjusted.
11995 (ps-print-version): New version number (6.5.6).
11996 (ps-print-color-p, ps-page-dimensions-database): Autoload var.
11997 (ps-print-code, ps-print-preprint-region): Adjust code.
11999 2002-09-10 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12001 * files.el (auto-mode-alist): ~/.gnus, ~/.viper are in
12002 emacs-lisp-mode, like ~/.emacs.
12004 2002-09-10 Stefan Monnier <monnier@cs.yale.edu>
12006 * newcomment.el (uncomment-region): Be more careful with `='.
12008 2002-09-10 Deepak Goel <deego@glue.umd.edu>
12010 * play/doctor.el (doc//): Rename from `//'. Update callers.
12011 (doc$): Rename from `$'. Update callers.
12013 2002-09-10 Miles Bader <miles@gnu.org>
12015 * simple.el (do-auto-fill): `fill-indent-according-to-mode' is a
12016 variable, not a function.
12018 * kmacro.el (kmacro-call-macro): Deal with a non-numeric prefix arg.
12020 2002-09-10 Kim F. Storm <storm@cua.dk>
12022 * macros.el (apply-macro-to-region-lines): Let-bind mark-active to
12023 nil while executing macro to avoid triggering delete-selection-mode.
12025 * simple.el (keyboard-quit): Set defining-kbd-macro to nil to
12026 cancel defining keyboard macro when applicable.
12028 2002-09-09 Markus Rost <rost@math.ohio-state.edu>
12030 * simple.el (transient-mark-mode, line-number-mode)
12031 (column-number-mode): Undo previous change because of bootstrapping.
12033 2002-09-09 Stefan Monnier <monnier@cs.yale.edu>
12035 * derived.el (define-derived-mode): Add keyword arguments.
12036 (derived-mode-make-docstring): Take abbrev and syntax table names.
12038 * font-core.el (font-lock-change-mode): Just turn off font-lock-mode.
12039 (font-lock-default-function): Change arg name.
12041 * cus-start.el (transient-mark-mode): Delete. Done in simple.el.
12043 * paren.el (show-paren-function): Use syntax-after.
12045 * emacs-lisp/syntax.el (syntax-after): Delete. Moved to subr.el.
12047 * subr.el (symbol-file): Also work for autoloaded funcs.
12048 (syntax-after): New fun moved from syntax.el.
12050 * find-file.el (ff-pre-find-hook, ff-pre-load-hook, ff-post-load-hook)
12051 (ff-not-found-hook, ff-file-created-hook): Rename from *-hooks.
12052 Update callers (but still run the old hooks as well).
12054 * emacs-lisp/find-func.el (find-library-suffixes, find-library-name)
12055 (find-library): New funs.
12056 (find-function-search-for-symbol): Use it.
12058 * emacs-lisp/bytecomp.el (byte-compile-file): Don't switch buffer.
12060 * isearch.el (isearch-cmds): Add docstring.
12061 (isearch-mouse-2): Lookup binding in the proper buffer.
12062 Use call-interactively and remove the now useless `arg'.
12063 (isearch-search-fun-function): New var.
12064 (isearch-search-fun): New fun.
12065 (isearch-search, isearch-lazy-highlight-search): Use it.
12067 2002-09-09 Stefan Monnier <monnier@cs.yale.edu>
12069 * simple.el (what-line): Don't hard-code 1.
12070 (transient-mark-mode, line-number-mode, column-number-mode):
12071 Use define-minor-mode.
12072 (do-auto-fill): Only ignore prefix if it's really empty.
12074 2002-09-09 Markus Rost <rost@math.ohio-state.edu>
12076 * files.el (save-some-buffers-action-alist): Use lower case for
12077 help string of diff-buffer-with-file.
12079 2002-09-09 Richard M. Stallman <rms@gnu.org>
12081 * calendar/calendar.el (mouse-scroll-calendar-left)
12082 (mouse-scroll-calendar-right, mouse-calendar-other-month):
12084 (calendar-mode-line-format): Use them.
12086 * emacs-lisp/bytecomp.el (byte-recompile-directory):
12087 Set and then bind default-directory.
12089 * startup.el (fancy-splash-head, normal-splash-screen):
12090 Change the messages that explain about GNU or GNU/Linux.
12092 * info.el (Info-search): Add (point-min) to subfile positions
12093 to get them right. Skip the current subfile using forward-line.
12095 * files.el (make-backup-file-name-1): When make-directory fails,
12096 ignore backup-directory-alist.
12097 (make-directory): Expand DIR before looking for handler.
12099 2002-09-09 Jari Aalto <jari.aalto@poboxes.com>
12101 * progmodes/cperl-mode.el (cperl-noscan-files-regexp):
12102 In addition to RCS, exclude CVS directories.
12104 * ls-lisp.el (ls-lisp-format-time-list): New variable.
12105 (ls-lisp-format-time): Use it.
12107 * files.el (auto-mode-alist): Use sh-mode for .bash files.
12109 2002-09-09 Dave Love <d.love@dl.ac.uk>
12111 * ps-print.el: Many doc fixes.
12113 2002-09-09 John Paul Wallington <jpw@shootybangbang.com>
12115 * play/doctor.el (doctor-cadr, doctor-caddr, doctor-cddr): Remove.
12118 2002-09-08 Markus Rost <rost@math.ohio-state.edu>
12120 * diff.el (diff): Doc fix.
12122 2002-09-08 Richard M. Stallman <rms@gnu.org>
12124 * emacs-lisp/bytecomp.el (byte-compile-delete-errors): Default to nil.
12126 * simple.el (undo-elt-in-region): Fix one-off error at END.
12127 (forward-visible-line): Handle invisibility by ignoring
12128 invisible newlines. Also include entire invisible lines beyond
12129 the stopping point.
12131 * cus-edit.el (custom-save-variables, custom-save-faces):
12132 Clarify the comments written into .emacs.
12134 2002-09-08 Markus Triska <triska@gmx.at>
12136 * play/doctor.el (doctor-doc): Recognize question words
12137 and use qlist. Use doctor-shorten's return value.
12138 (doctor-shorten): Compute a return value, don't alter `sent'.
12139 (doctor-hates1): Add a question mark.
12140 (doctor-strangelove): Unused function deleted.
12142 2002-09-08 Kim F. Storm <storm@cua.dk>
12144 * kmacro.el (kmacro-end-and-call-macro): New command to end and
12145 call keyboard macro in one step. Bind it to C-x e by default.
12146 (kmacro-call-macro): Use format-kbd-macro.
12147 (kmacro-step-edit-macro): New command to interactively step edit
12148 and execute last keyboard macro.
12149 (kmacro-keymap): Bind SPC [C-x C-k SPC] to kmacro-step-edit-macro.
12150 (kmacro-step-edit-mini-window-height): New custom var.
12151 (kmacro-step-edit-map): New keymap (parent is query-replace-map).
12152 (kmacro-step-edit-prefix-commands): New var.
12153 (kmacro-step-edit-prompt, kmacro-step-edit-query)
12154 (kmacro-step-edit-insert, kmacro-step-edit-pre-command)
12155 (kmacro-step-edit-minibuf-setup, kmacro-step-edit-post-command):
12156 New aux functions for step editing keyboard macros.
12158 * subr.el (read-quoted-char): Apply listify-key-sequence to vector
12159 returned by this-single-command-raw-keys before appending it to
12160 unread-command-event.
12162 2002-09-07 Colin Walters <walters@debian.org>
12164 * progmodes/compile.el (compile-internal): Add optional argument
12167 * diff.el (diff): Add optional argument no-async, and use the
12170 * files.el (diff-buffer-with-file): Call diff synchronously, so we
12171 don't delete the temporary file before diff has a chance to read
12174 * ibuf-ext.el (ibuffer-diff-with-file): Just call
12175 `diff-buffer-with-file'.
12177 2002-09-07 John Paul Wallington <jpw@shootybangbang.com>
12179 * emacs-lisp/cl-indent.el (extended-loop-p): Doc fix.
12181 * emacs-lisp/find-func.el (find-function-recenter-line):
12182 Add custom type. Doc fix.
12184 2002-09-06 Stefan Monnier <monnier@cs.yale.edu>
12186 * menu-bar.el (menu-bar-make-mm-toggle): New macro.
12187 (showhide-menu-bar, showhide-toolbar, menu-bar-toggle-auto-compression)
12188 (toggle-highlight-paren-mode, toggle-global-lazy-font-lock-mode):
12189 Remove. Use the minor mode function directly instead.
12190 (menu-bar-mode): Add message and customize-mark-as-set and return
12191 the new value as do other minor modes.
12193 * edmacro.el (edmacro-subseq): Don't use cl-push/cl-pop.
12195 2002-09-06 Simon Marshall <simon@gnu.org>
12197 * progmodes/etags.el (find-tag-tag, complete-tag):
12198 Bind completion-ignore-case based on tags-case-fold-search, so that
12199 case-sensitivity of tag completion matches that of tag search.
12201 2002-09-06 Juanma Barranquero <lektu@terra.es>
12203 * calendar/solar.el (calendar-time-display-form): Fix spacing.
12205 * double.el (double-prefix-only): Likewise.
12207 * emacs-lisp/easymenu.el (easy-menu-define): Likewise.
12209 * emacs-lisp/find-func.el (find-function-search-for-symbol): Likewise.
12211 * emacs-lisp/float.el (string-to-float): Likewise.
12213 * emacs-lisp/rx.el (rx): Likewise.
12215 * faces.el (copy-face): Likewise.
12217 * hilit-chg.el (highlight-changes-colours)
12218 (highlight-changes-active-string)
12219 (highlight-changes-passive-string)
12220 (highlight-changes-rotate-faces, global-highlight-changes): Likewise.
12222 * international/mule.el (decode-char): Likewise.
12224 * progmodes/idlwave.el (idlwave-support-inheritance)
12225 (idlwave-routine-entry-compare): Likewise.
12227 * progmodes/idlw-shell.el (idlwave-shell-use-breakpoint-glyph):
12230 * progmodes/pascal.el (pascal-start-keywords): Likewise.
12232 * progmodes/sh-script.el (sh-indent-for-fi, sh-indent-for-done):
12235 * progmodes/vhdl-mode.el (vhdl-progress-interval)
12236 (vhdl-corresponding-begin): Likewise.
12238 * simple.el (choose-completion-string-functions): Likewise.
12240 * textmodes/reftex.el (reftex-TeX-master-file): Likewise.
12242 * textmodes/fill.el (fill-nonuniform-paragraphs)
12243 (fill-individual-paragraphs): Likewise.
12245 * vcursor.el (vcursor-toggle-vcursor-map): Likewise.
12247 * warnings.el (warning-level-aliases): Likewise.
12249 * speedbar.el (speedbar-mode): Fix spacing and typos.
12251 * textmodes/reftex-vars.el (reftex-label-menu-flags): Fix typo.
12253 2002-09-05 Markus Rost <rost@math.ohio-state.edu>
12255 * textmodes/table.el (table-command-prefix): Fix type.
12257 2002-09-05 Andre Spiegel <spiegel@gnu.org>
12259 * vc-hooks.el: Don't require vc.el at compile-time; it causes
12260 recursive requirements during bootstrap.
12262 2002-09-05 Kenichi Handa <handa@etl.go.jp>
12264 * international/mule.el (decode-char): Cancel the previous change.
12266 2002-09-04 Mats Lidell <matsl@contactor.se> (tiny change)
12268 * language/european.el ("Swedish"): New set-language-info-alist call.
12270 2002-09-04 Richard M. Stallman <rms@gnu.org>
12272 * help-fns.el (help-with-tutorial): Properly set up
12273 completion-reference-buffer in the *Completion* buffer.
12275 2002-09-04 John Paul Wallington <jpw@shootybangbang.com>
12277 * startup.el (use-fancy-splash-screens-p): If `fancy-splash-frame'
12278 returns nil, return nil.
12280 2002-09-04 Andre Spiegel <spiegel@gnu.org>
12282 * vc-hooks.el: Require vc.el at compile-time.
12283 (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
12284 Moved here from vc.el.
12286 * vc.el (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
12287 Moved to vc-hooks.el.
12289 * vc-rcs.el (vc-rcs-state): Don't require vc.el.
12291 2002-09-04 Kenichi Handa <handa@etl.go.jp>
12293 * international/mule.el (decode-char): Translate a character by
12294 utf-8-translation-table-for-decode only when
12295 utf-8-fragment-on-decoding is non-nil.
12297 2002-09-02 Stefan Monnier <monnier@cs.yale.edu>
12299 * textmodes/text-mode.el (paragraph-indent-text-mode-abbrev-table)
12300 (paragraph-indent-text-mode-syntax-table, paragraph-indent-text-mode):
12301 Use text-mode's syntax-table and abbrev-table.
12302 (text-mode): Set require-final-newline to t.
12304 * newcomment.el (comment-make-extra-lines): Only use the
12305 dummy `=' char when there's really nothing else.
12306 Don't remove spaces if it leads to an incorrect comment.
12308 * pcvs.el (cvs-run-process): Use a pty rather than a pipe to work
12309 around the cvs/ssh/libc bug.
12310 (cvs-update-header): Understand `cvs admin -m<rev>:<msg>' syntax.
12311 (defun-cvs-mode): Use the new `declare' thingy.
12312 (cvs-edit-log-text-at-point, cvs-mode-edit-log, cvs-do-edit-log)
12313 (cvs-edit-log-minor-wrap, cvs-edit-log-filelist): New funs.
12314 (cvs-mode-undo): Use `cvs add' for (CONFLICT. REMOVED).
12316 * pcvs-parse.el (cvs-parse-table): Create a `need-update'
12317 node rather than a message for new directories.
12318 (cvs-parse-status): Add support for `Entry Invalid'.
12320 * smerge-mode.el (smerge-diff-buffer-name): Default to *vc-diff*.
12321 (smerge-combine-with-next): New function.
12322 (smerge-diff): Don't output `wrote /tmp/foo' messages.
12323 Insert message if no diffs were found.
12325 * mail/sendmail.el (mail-mode): Don't set local-abbrev-table.
12326 (mail-mode-abbrev-table): Set to text-mode-abbrev-table.
12328 2002-09-02 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12330 * net/tramp.el: Version 2.0.15 released.
12331 (require 'base64): Most modern Emacsen have the base64
12332 encode/decode functions built in, so test to see if they are bound
12333 before we go blindly requiring base64.el.
12334 From Steve Youngs <youngs@xemacs.org>.
12335 (tramp-feature-write-region-fix): XEmacs doesn't have a
12336 'find-operation-coding-system' and this variable doesn't seem to
12337 be used anywhere so wrap it in (unless (featurep 'xemacs)).
12338 From Steve Youngs <youngs@xemacs.org>.
12339 (tramp-methods): Remove duplicate definition of ssh1-old and ssh2-old.
12340 (tramp-open-connection-su): Use user name "root" if no user name
12343 From Michael Albinus <Michael.Albinus@alcatel.de>:
12344 * net/tramp.el (tramp-invoke-ange-ftp):
12345 (tramp-ange-ftp-file-name-p): Check for Xemacs.
12346 (tramp-do-copy-or-rename-file): Don't pass KEEP-DATE to
12347 tramp-invoke-ange-ftp 'rename.
12348 (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
12349 tramp-invoke-ange-ftp 'write-region.
12350 (tramp-handle-set-file-modes): Change order of FILENAME and MODE
12351 passing to tramp-invoke-ange-ftp 'set-file-modes.
12352 (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp' must be called
12353 again after activating `ange-ftp'.
12355 2002-09-02 Kim F. Storm <storm@cua.dk>
12357 * ido.el (ido-ignore-item-temp-list): New variable.
12358 (ido-read-internal): Don't set ido-default-item if the default is
12359 member of ido-ignore-item-temp-list.
12360 Don't return first match for C-j if no text is entered.
12361 (ido-buffer-internal): Check for empty string return.
12362 (ido-make-buffer-list1): Use member instead of memq.
12363 (ido-window-buffer-p): Likewise.
12364 (ido-get-bufname): Ignore buffers on ido-ignore-item-temp-list.
12365 (ido-ignore-item-p): Ignore items on ido-ignore-item-temp-list.
12367 * replace.el (multi-occur): Made "ido-aware":
12368 Changed prompt to use C-j instead of RET to end.
12369 Set ido-ignore-item-temp-list to the selected buffers so far, so
12370 they are automatically excluded from the list of choices.
12371 Use add-to-list instead of push.
12373 2002-09-01 Richard M. Stallman <rms@gnu.org>
12375 * term/x-win.el (function-key-map): Define S-iso-lefttab.
12377 2002-09-01 Kim F. Storm <storm@cua.dk>
12379 * edmacro.el (edit-kbd-macro): Recognize new default binding for
12380 C-x e in addition to old binding.
12382 2002-09-01 Mario Lang <mlang@debian.org>
12384 * files.el (save-some-buffers-action-alist): New variable.
12385 (save-some-buffers): Use that.
12386 (diff-buffer-with-file): New function.
12388 2002-09-01 Richard M. Stallman <rms@gnu.org>
12390 * ruler-mode.el (defgroup ruler-mode): Use `convenience' as parent.
12392 * dired.el (defgroup dired): Use `files' as parent.
12393 (dired-get-filename): Ignore handler if it has safe-magic prop.
12395 * jka-compr.el (jka-compr-handler): Add safe-magic property.
12397 2002-08-31 Richard M. Stallman <rms@gnu.org>
12399 * simple.el (kill-line): Use end-of-visible-line to determine
12400 if rest of line is blank.
12401 (end-of-visible-line): Cope if end-of-line moved back over
12402 invisible intangible chars at end of line.
12404 * simple.el (completion-setup-function): Don't use directory-sep-char.
12406 2002-09-01 Glenn Morris <gmorris@ast.cam.ac.uk>
12408 * progmodes/f90.el (f90-menu): Remove ":active" keyword where not
12410 (f90-menu, f90-add-imenu-menu): Use lookup-key.
12411 Remove (eval-when-compile) for free variables.
12413 2002-08-31 Andreas Schwab <schwab@suse.de>
12415 * font-core.el (font-lock-change-mode): Avoid changing buffer
12418 2002-08-30 Stefan Monnier <monnier@cs.yale.edu>
12420 * emacs-lisp/easymenu.el (easy-menu-filter-return):
12421 Handle the case where the filter returns a single menu entry.
12422 (easy-menu-add): Improve docstring.
12423 (easy-menu-current-active-maps): Remove.
12424 (easy-menu-get-map): Use current-active-maps.
12426 * cus-edit.el (custom-unlispify-menu-entry): Don't remove
12427 the -p prefix from variables since they shouldn't have it anyway.
12428 (custom-group-menu-create, customize-menu-create):
12429 Only cdr if applicable, since custom-menu-create might return
12430 a vector (i.e. a single menu entry).
12432 2002-08-30 Edward M. Reingold <reingold@emr.cs.iit.edu>
12434 * calendar/diary-lib.el (diary-mail-entries): Don't overwrite
12435 user's value of diary-list-include-blanks, but generate message
12436 instead if there are no entries.
12438 2002-08-30 ARISAWA Akihiro <ari@mbf.sphere.ne.jp> (tiny change)
12440 * ps-print.el (ps-lp-system): Fixed typo in `usg-unix-v'.
12442 2002-08-30 Markus Rost <rost@math.ohio-state.edu>
12444 * menu-bar.el (menu-bar-read-mail): Doc fix.
12446 2002-08-30 John Paul Wallington <jpw@shootybangbang.com>
12448 * ibuffer.el (ibuffer-update): Revert expansion of `caddr'.
12449 (ibuffer-fontification-alist): Check hidden buffer case isn't
12450 visiting a file and change its face to italic.
12452 2002-08-30 Juanma Barranquero <lektu@terra.es>
12454 * replace.el (occur-mode): Add interactive declaration.
12456 * bs.el (bs-message-without-log): Fix typo.
12458 * font-core.el (font-lock-defaults): Likewise.
12460 * font-lock.el (font-lock-add-keywords): Likewise.
12462 * mouse-copy.el (mouse-copy-work-around-drag-bug): Likewise.
12464 * textmodes/bibtex.el (bibtex-mode): Likewise.
12466 * emulation/viper-ex.el (ex-compile-command): Likewise.
12468 * progmodes/idlwave.el (idlwave-max-extra-continuation-indent):
12471 * progmodes/dcl-mode.el (dcl-calc-cont-indent-relative): Likewise.
12473 * allout.el (my-mark-marker): Likewise.
12475 2002-08-30 Simon Josefsson <jas@extundo.com>
12477 * mail/smtpmail.el (smtpmail-via-smtp): Delete process buffer
12478 unless s-debug-info is enabled.
12480 2002-08-29 John Paul Wallington <jpw@shootybangbang.com>
12482 * ibuffer.el (ibuffer-update): Use `minibufferp'. Expand `caddr'.
12484 * mwheel.el (mouse-wheel-up-button): Doc fix.
12486 2002-08-29 Juanma Barranquero <lektu@terra.es>
12488 * replace.el (occur-mode-hook): New hook.
12489 (occur-mode): Use it.
12490 (occur-hook): Set default to nil.
12492 2002-08-29 Stefan Monnier <monnier@cs.yale.edu>
12494 * net/ange-ftp.el: Use match-string and drop useless `function's.
12495 (ange-ftp-get-process): Bind `ange-ftp-this-user' and
12496 `ange-ftp-this-host' before running ange-ftp-process-startup-hook.
12497 (ange-ftp-ls-parser): Use `switches' arg instead of dynamic binding.
12498 (ange-ftp-parse-dired-listing): Update the calls.
12499 (dired-local-variables-file): Declare to shut quieten the compiler.
12500 (ange-ftp-file-entry-active-p): Remove.
12501 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
12502 Don't exclude dangling symlinks.
12503 (ange-ftp-file-name-completion-1): Make predicate optional.
12504 (ange-ftp-parse-list-func-alist): Use add-to-list to update.
12505 (ange-ftp-fix-name-for-bs2000): Use subst-char-in-string.
12506 (ange-ftp-bs2000-posix-hook-installed): Remove.
12507 (ange-ftp-add-bs2000-posix-host): Don't use it anymore.
12508 (ange-ftp-bs2000-cd-to-posix): Use `ange-ftp-this-user' and
12509 `ange-ftp-this-host' instead of `user' and `host'.
12511 2002-08-29 Richard M. Stallman <rms@gnu.org>
12513 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
12514 Decide here whether to print which form we're compiling.
12515 If we do that, still print file and line. Make file name
12516 relative to default-directory. Print fewer newlines.
12517 (byte-compile-log-file): Print something even if no file.
12518 Print messages for entering and leaving directories,
12519 and set default-directory.
12520 (displaying-byte-compile-warnings): Only sometimes bind warning-series.
12521 (byte-compile-warning-series): New function.
12522 (byte-compile-file): Set byte-compile-last-logged-file, don't bind it.
12523 (byte-compile-display-log-head-p): Function deleted.
12525 * warnings.el (warning-series): Now can be a marker, not an integer.
12526 (display-warning): Handle new value for warning-series.
12528 * emacs-lisp/bytecomp.el (byte-compile-log-file): Use \f.
12529 (byte-compile-cl-warn): Add cl-macroexpand-all, cl-compiling-file
12530 to don't-warn list.
12532 2002-08-29 Kim F. Storm <storm@cua.dk>
12534 * kmacro.el: Change default bindings from F7/F8 to F3/F4.
12535 Change default binding of C-x e to kmacro-end-or-call-macro.
12536 (kmacro-call-repeat-key, kmacro-call-repeat-with-arg): New custom
12538 (kmacro-get-prefix-arg): New function.
12539 (kmacro-repeat-on-last-key): Rename from kmacro-repeat-loop and
12540 improve. Callers changed.
12541 (kmacro-call-macro): Repeat macro by repeating last key or
12542 key defined in kmacro-call-repeat-key. New third arg non-nil
12543 means to end current macro.
12544 (kmacro-end-or-call-macro): Call kmacro-call-macro appropriately
12545 to get repeat last key functionality.
12546 (kmacro-start-macro-or-insert-counter): Improve doc string.
12548 2002-08-28 Luc Teirlinck <teirllm@mail.auburn.edu>
12550 * files.el (find-buffer-visiting): Compare file attributes
12551 using buffer-file-truename.
12553 2002-08-28 Richard M. Stallman <rms@gnu.org>
12555 * files.el (make-auto-save-file-name, make-backup-file-name-1):
12556 Don't use directory-sep-char.
12558 2002-08-28 Juanma Barranquero <lektu@terra.es>
12560 * replace.el (occur-hook): Renamed from `occur-mode-hook'.
12561 (occur-mode): Remove call to `occur-mode-hook'.
12562 (occur-rename-buffer): Fix reference to `occur-mode-hook' in docstring.
12563 (occur-1): Add call to `occur-hook'.
12565 * subr.el (make-variable-frame-localizable): Alias for
12566 `make-variable-frame-local'.
12568 2002-08-28 Miles Bader <miles@gnu.org>
12570 * rfn-eshadow.el (read-file-name-electric-shadow-properties)
12571 (read-file-name-electric-shadow-tty-properties)
12572 (read-file-name-electric-shadow-mode): Remove compatibility defs.
12574 * comint.el (comint-carriage-motion): Start at START.
12576 2002-08-27 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
12578 * net/ange-ftp.el (ange-ftp-skip-msgs): Skip the 530 response
12579 given by vsFTPd when accessed with a kerberised FTP client.
12581 2002-08-27 Richard M. Stallman <rms@gnu.org>
12583 * files.el (find-alternate-file):
12584 Bind kill-buffer-query-functions locally, don't set it.
12586 2002-08-27 Andreas Schwab <schwab@suse.de>
12588 * kmacro.el (kmacro-start-macro): Doc fix.
12590 2002-08-27 Carsten Dominik <dominik@sand.science.uva.nl>
12592 * textfile/reftex-ref.el (reftex-goto-label): New command.
12594 * textfile/reftex-vars.el (reftex-part-resets-chapter): New option.
12596 * textfile/reftex-parse.el (reftex-roman-number): New function.
12597 (reftex-section-number): Better handling of parts: No chapter
12600 * textfile/reftex.el (reftex-highlight-overlays): Added a third
12602 (reftex-mode-menu): Added entry for `reftex-toc-recenter.
12603 Also moved `reftex-reset-mode' to top level.
12605 * textfile/reftex-toc.el (reftex-toc-recenter): New command.
12606 (reftex-toc-pre-command-hook): Don't remove highlight overlay.
12607 (reftex-toc-post-command-hook): Use overlay no 2 for highlighting.
12609 * textfile/reftex-sel.el (reftex-get-offset): Get offset of
12610 document pointer *before* position, not after.
12611 (reftex-insert-docstruct): Get offset of document pointer *before*
12612 position, not after.
12614 * textfiles/reftex-parse.el (reftex-where-am-I): Prefer marker
12615 match over section title match.
12617 * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
12618 which determines on a per-file-basis if BibTeX is being used
12619 locally for citations.
12620 (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
12621 cooperation with chapterbib.
12622 (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
12623 better cooperation with chapterbib.
12625 * textfiles/reftex-dcr.el (reftex-view-cr-cite):
12626 Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
12628 2002-08-26 Kim F. Storm <storm@cua.dk>
12630 * subr.el (suppress-keymap): Use command remapping instead of
12631 substitute-key-definition to undefine self-inserting keys.
12633 2002-08-26 Juanma Barranquero <lektu@terra.es>
12635 * makefile.w32-in (WINS): Add calc and obsolete.
12637 2002-08-26 Stefan Monnier <monnier@cs.yale.edu>
12639 * emacs-lisp/easy-mmode.el (define-minor-mode):
12640 Use customize-mark-as-set for global minor modes.
12642 2002-08-25 Miles Bader <miles@gnu.org>
12644 * rfn-eshadow.el (file-name-shadow-properties-custom-type):
12645 Renamed from `read-file-name-electric-shadow-properties-custom-type'.
12646 Change name of face.
12647 (file-name-shadow-properties): Renamed from
12648 `read-file-name-electric-shadow-properties'.
12649 (file-name-shadow-tty-properties): Renamed from
12650 `read-file-name-electric-shadow-tty-properties'.
12651 (file-name-shadow): Renamed from `read-file-name-electric-shadow'.
12652 (rfn-eshadow-setup-minibuffer): Update references to renamed variables.
12653 (file-name-shadow-mode): Renamed from
12654 `read-file-name-electric-shadow-mode'. Update references to
12657 2002-08-24 Sam Steingold <sds@gnu.org>
12659 * subr.el (eval-after-load): Do not call
12660 load-symbol-file-load-history (deleted yesterday).
12662 2002-08-24 John Paul Wallington <jpw@shootybangbang.com>
12664 * startup.el (normal-splash-screen): Ensure splash buffer is
12665 killed. Use tabs in output. Fix test whether previous buffer was
12668 * progmodes/simula.el (simula-abbrev-keyword-default)
12669 (simula-abbrev-keyword, simula-abbrev-stdproc-default)
12670 (simula-abbrev-stdproc): Doc fix - escape open parens in column 0.
12672 * apropos.el (command-apropos): Use `defalias' instead of `fset'.
12674 * mail/rmail.el (rmail-speedbar-match-folder-regexp): Doc fix.
12676 2002-08-24 Glenn Morris <gmorris@ast.cam.ac.uk>
12678 * progmodes/f90.el (f90-xemacs-flag, f90-xemacs-menu)
12679 (f90-menu-bar-menu, f90-change-case-menu, f90-font-lock-on)
12680 (f90-font-lock-off, f90-font-lock-menu): Delete.
12681 Use easy-menu-define instead.
12682 (f90-mode): Use easy-menu-add.
12683 No longer (require 'imenu) when compiling.
12684 (f90-mark-subprogram, f90-indent-region, f90-fill-region)
12685 (f90-abbrev-start): Use fboundp.
12686 (f90-imenu-flag): Delete - use imenu--index-alist instead.
12688 2002-08-23 Richard M. Stallman <rms@gnu.org>
12690 * loadhist.el (unload-feature): Distinguish functions from
12691 variables in load-history.
12692 (feature-symbols): Doc fix.
12694 * files.el (ange-ftp-completion-hook-function): Add safe-magic prop.
12696 * subr.el (symbol-file-load-history-loaded)
12697 (load-symbol-file-load-history): Deleted.
12698 (symbol-file): Don't call load-symbol-file-load-history.
12700 2002-08-23 Andre Spiegel <spiegel@gnu.org>
12702 * vc-hooks.el (vc-kill-buffer-hook): Add it to kill-buffer-hook again.
12704 2002-08-22 Katsumi Yamaoka <yamaoka@jpl.org> (tiny change)
12706 * frame.el (select-frame-by-name, select-frame-set-input-focus):
12707 Always call x-focus-frame, if using x.
12708 Use set-mouse-position on all systems, if focus-follows-mouse.
12710 2002-08-22 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12712 * net/tramp.el: Version 2.0.14 released.
12713 (tramp-shell-prompt-pattern): New variable.
12714 (tramp-actions-before-shell, tramp-multi-actions)
12715 (tramp-find-shell, tramp-open-connection-multi)
12716 (tramp-open-connection-setup-interactive-shell): Use it.
12717 (tramp-open-connection-telnet, tramp-open-connection-rsh)
12718 (tramp-open-connection-su): Mention `tramp-shell-prompt-pattern'
12720 (tramp-bug): Report `tramp-shell-prompt-pattern'.
12721 (tramp-process-one-multi-action, tramp-process-one-action):
12722 Make message clearer so people don't confuse it with Emacs asking
12723 them a question if the regexp happens to end with "?".
12724 (tramp-verbose): Change default value from 10 to 9. Also change
12725 some logging levels so that 10 is reserved for stuff which is
12726 needed for debugging only, but 9 catches everything that people
12727 might like to see in order to see that Tramp is actually working.
12729 2002-08-22 Kim F. Storm <storm@cua.dk>
12731 * emacs-lisp/authors.el (authors-aliases, authors-fixed-entries):
12732 Corrected spelling mistakes (for Joseph Arceneaux).
12734 2002-08-21 Glenn Morris <gmorris@ast.cam.ac.uk>
12736 * progmodes/f90.el: eval-when-compile a few defvars.
12737 (f90-xemacs-flag): Wrap in eval-and-compile.
12738 (f90-font-lock-keywords): Doc fix.
12739 (f90-mode-abbrev-table): Work with or without 6th arg of define-abbrev.
12740 (f90-mark-subprogram-overlay): Variable deleted.
12741 (f90-mark-subprogram): Remove overlay bit. Don't be silent about
12743 (f90-abbrev-start): unread-command-event is obsolete in XEmacs.
12745 2002-08-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12747 * net/tramp.el: Version 2.0.13 released.
12748 (tramp-handle-write-region): Don't check to see if remote end is
12749 awake after sending data to remote host: we want to send "EOF" not
12750 "echo are you awake"...
12751 (tramp-maybe-open-connection): Swap args for tramp-time-diff.
12752 (tramp-yn-prompt-regexp): New variable.
12753 (tramp-action-yn): New function, using it.
12754 (tramp-feature-write-region-fix): New internal variable. Not yet
12755 used. Should be used in `tramp-handle-write-region'.
12757 2002-08-21 Kim F. Storm <storm@cua.dk>
12759 * bindings.el (mode-line-format): Moved global-mode-string last.
12760 (mode-line-position): Moved %p first. Added padding to %l/%c to
12761 eliminate jumpyness in modeline. Use (%l,%c) format if both
12762 line-number-mode and column-number-mode are enabled.
12764 2002-08-20 Martin Stjernholm <bug-cc-mode@gnu.org>
12766 * progmodes/cc-engine.el (c-forward-syntactic-ws): Fixed a bug
12767 that could cause an infinite loop if something that looks like
12768 a macro begins in the middle of a line.
12770 * progmodes/cc-engine.el (c-parse-state): Fixed a bug that
12771 could cause `c-state-cache' to contain two conses in sequence
12772 when there's an unbalanced open paren in a macro.
12774 2002-08-20 Glenn Morris <gmorris@ast.cam.ac.uk>
12776 * progmodes/fortran.el (fortran-current-defun): Use save-excursion.
12778 * imenu.el (imenu--generic-function): Use mapc.
12779 (imenu-syntax-alist): Doc fix.
12781 2002-08-20 Richard M. Stallman <rms@gnu.org>
12783 * font-core.el (font-lock-change-mode): New function.
12784 (font-lock-mode): Use font-lock-change-mode instead of
12785 font-lock-unfontify-buffer.
12786 (font-lock-maximum-size, font-lock-verbose): Add defvars.
12788 2002-08-20 Carsten Dominik <dominik@astro.uva.nl>
12790 * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
12791 which determines on a per-file-basis if BibTeX is being used
12792 locally for citations.
12793 (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
12794 cooperation with chapterbib.
12795 (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
12796 better cooperation with chapterbib.
12798 * textfiles/reftex-dcr.el (reftex-view-cr-cite):
12799 Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
12801 2002-08-20 Kim F. Storm <storm@cua.dk>
12803 * kmacro.el: Major rework based on discussions with RMS.
12804 Most important change is that C-x C-k is now bound to a keymap
12805 with keyboard macro related commands. The original binding on
12806 C-x C-k is moved to C-x C-k e.
12808 * binding.el: Remove macro related bindings (now in kmacro.el).
12810 * edmacro.el: Remove C-x C-k binding (now in kmacro.el).
12812 2002-08-19 Stefan Monnier <monnier@cs.yale.edu>
12814 * help-fns.el (help-split-fundoc): Replace the function name
12815 from the docstring with the one that should be displayed.
12816 (help-make-usage): Understand CL style arglists.
12817 (describe-function-1): Adapt to the new behavior of help-split-fundoc.
12818 (describe-variable): Use delete-region.
12820 2002-08-19 Kenichi Handa <handa@etl.go.jp>
12822 * international/mule.el (sgml-xml-auto-coding-function):
12823 Call re-search-forward with NOERROR t.
12825 2002-08-19 Miles Bader <miles@gnu.org>
12827 [original idea from Luc Teirlinck <teirllm@mail.auburn.edu>]
12828 * comint.el (comint-inhibit-carriage-motion): New variable.
12829 (comint-carriage-motion): Argument STRING removed. New arguments
12830 START and END; interpret characters between START and END rather
12831 than using special comint state.
12832 (comint-output-filter): Call `comint-carriage-motion'.
12833 (comint-output-filter-functions): Don't add `comint-carriage-motion'.
12834 * ielm.el (inferior-emacs-lisp-mode):
12835 Give `comint-inhibit-carriage-motion' a local value of t.
12837 2002-08-18 Richard M. Stallman <rms@gnu.org>
12839 * textmodes/table.el: New file.
12841 * font-core.el (font-lock-mode): Set change-major-mode-hook locally.
12843 2002-08-18 Andreas Schwab <schwab@suse.de>
12845 * ibuf-ext.el (ibuffer-list-buffer-modes): Doc fix.
12847 2002-08-17 Carsten Dominik <dominik@astro.uva.nl>
12849 * textmodes/reftex.el (reftex-mode): Create special syntax tables.
12850 (reftex-syntax-table): Set a default in case this is being used
12851 outside a LaTeX file.
12852 (reftex-syntax-table-for-bib): Set a default in case this is being
12853 used outside a LaTeX file.
12855 2002-08-17 Richard M. Stallman <rms@gnu.org>
12857 * tar-mode.el (tar-subfile-mode): Use add-hook and remove-hook,
12858 and use write-file-functions instead of local-write-file-hooks.
12859 (tar-untar-buffer): Don't try to extract directories.
12861 * menu-bar.el (fringe-mode): Set to nil.
12863 * mail/rmail.el (rmail-search-mime-header-function): Doc fix.
12865 2002-08-15 Richard M. Stallman <rms@gnu.org>
12867 * calendar/appt.el (appt-delete): Use substring-no-properties.
12868 (appt-make-list): Don't use prin1-to-string; use the string unchanged.
12870 2002-08-15 Jan Nieuwenhuizen <janneke@gnu.org> (tiny change)
12872 * server.el (server-process-filter): Simplify code.
12873 (server-goto-line-column): New function.
12874 (server-visit-files): Use server-goto-line-column.
12875 Offer to revert only if file has changed.
12877 2002-08-15 Richard M. Stallman <rms@gnu.org>
12879 * files.el (recover-this-file): New function.
12880 (after-find-file): Recommend recover-this-file.
12882 * font-core.el (font-lock-mode): Add font-lock-unfontify-buffer
12883 to change-major-mode-hook when font lock is enabled.
12885 * simple.el (toggle-truncate-lines): Force redisplay.
12886 Display status message.
12888 2002-08-15 Carsten Dominik <dominik@sand.science.uva.nl>
12890 * textmodes/reftex.el (reftex-mode): Moved the creation of special
12891 syntax tables to top-level.
12893 2002-08-15 David Kastrup <David.Kastrup@t-online.de>
12895 * net/ange-ftp.el (ange-ftp-wipe-file-entries): Fix type mismatch;
12896 use `hash-table-size' instead of `length'.
12898 2002-08-14 Stefan Monnier <monnier@cs.yale.edu>
12900 * help-fns.el (locate-library): Use locate-file(-completion).
12901 (help-split-fundoc): Tighten the regexp and recognize a usage-info
12902 where the function name is `fn'.
12903 (help-function-arglist): Follow aliases and macros.
12904 (describe-function-1): Use keymapp.
12905 If the docstring contains a usage info, use it even if the function is
12906 not a subroutine. Find usage info in aliases' docstring if necessary.
12907 (describe-variable): Get the value before setting up the *Help* buffer.
12909 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
12910 Use find-file-hook instead of find-file-hooks.
12911 (define-minor-mode): Get rid of this silly `togglep'.
12912 Add an explicit `toggle' argument (used for interactive calls).
12913 Emit a warning when a nil argument turns the mode off.
12915 * language/ethio-util.el (setup-ethiopic-environment-internal)
12916 (exit-ethiopic-environment): Use find-file-hook and
12917 write-file-functions instead of find-file-hooks and write-file-hooks.
12919 * window.el (handle-select-window): Don't do anything if the window
12920 has disappeared since the event was generated.
12921 (split-window-save-restore-data): Use push and with-current-buffer.
12925 * obsolete/hilit19.el:
12926 * completion.el (dynamic-completion-mode):
12927 * emacs-lisp/find-func.el (find-function-search-for-symbol):
12928 Use find-file-hook instead of find-file-hooks.
12930 * imenu.el (imenu-always-use-completion-buffer-p): Make obsolete.
12931 (imenu-use-popup-menu, imenu-eager-completion-buffer): New vars.
12932 (imenu-space-replacement): Allow nil value.
12933 (imenu--completion-buffer): Use new vars and simplify.
12934 Fix handling of minibuffer-setup-hook.
12935 Use minibuffer-completion-help instead of rolling our own.
12936 (imenu-choose-buffer-index): Use the new var.
12938 * startup.el (command-line): Load custom-file if not done yet.
12940 2002-08-14 Kenichi Handa <handa@etl.go.jp>
12942 * select.el (xselect-convert-to-string): If TYPE is non-nil, encode
12943 the selection data string. Always return cons of type and string.
12944 (selection-converter-alist): Add (UTF8_STRING .
12945 xselect-convert-to-string).
12947 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
12949 * newcomment.el (comment-region): Force `lines' when `block' is set.
12951 2002-08-12 Richard M. Stallman <rms@gnu.org>
12953 * menu-bar.el (menu-bar-next-tag-other-window, menu-bar-next-tag)
12954 (menu-bar-right-scroll-bar, menu-bar-left-scroll-bar)
12955 (menu-bar-no-scroll-bar, menu-bar-toggle-auto-compression)
12956 (menu-bar-toggle-cua-mode, menu-bar-read-mail)
12957 (menu-bar-help-extra-packages, help-with-tutorial-spec-language)
12958 (menu-bar-text-mode-auto-fill): New commands, used
12959 in menu bar menus instead of lambda expressions.
12961 (menu-bar-showhide-fringe-menu-customize-left)
12962 (menu-bar-showhide-fringe-menu-customize-right)
12963 (menu-bar-showhide-fringe-menu-customize-disable)
12964 (menu-bar-showhide-fringe-menu-customize-reset): Doc fixes.
12966 (menu-bar-options-menu): Use toggle-truncate-lines.
12967 (showhide-date-time): Call customize-mark-as-set.
12969 * emacs-lisp/find-func.el (find-function-search-for-symbol):
12970 Obey `definition-name' properties.
12972 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
12973 Put `definition-name' properties on the functions whose
12974 names are constructed.
12976 * textmodes/page-ext.el (pages-target-buffer): Add defvar.
12977 Renamed from target-buffer.
12978 (pages-directory, pages-copy-header-and-position): Uses changed.
12980 * calendar/appt.el (appt-make-list): Correct the parsing of
12981 each appointment from time-string.
12983 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
12985 * scroll-all.el (scroll-all-mode): Use define-minor-mode.
12986 (scroll-all-mode) <defcustom>: Delete.
12987 (running-xemacs): Delete.
12988 (minor-mode-alist): Don't manipulate it directly.
12990 2002-08-10 Kenichi Handa <handa@etl.go.jp>
12992 * international/mule-cmds.el (search-unencodable-char): New function.
12993 (select-safe-coding-system): Show unencodable characters.
12994 (unencodable-char-position): Deleted, and implemented in C in coding.c.
12996 2002-04-09 John Wiegley <johnw@gnu.org>
12998 * esh-util.el: Removed eshell-under-cygwin-p, and all uses of it.
12999 * em-cmpl.el (eshell-cmpl-ignore-case): Ditto.
13000 * em-dirs.el (eshell/cd): Ditto.
13001 * em-glob.el (eshell-glob-case-insensitive): Ditto.
13002 * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
13003 * esh-ext.el (eshell-binary-suffixes): Ditto.
13005 2002-08-09 Richard M. Stallman <rms@gnu.org>
13007 * textmodes/page-ext.el (pages-directory-mode): Undo previous change.
13009 * simple.el (set-variable): Give locality status in prompt.
13011 2002-08-09 Benjamin Rutt <rutt@cis.ohio-state.edu>
13013 * simple.el (set-variable): If given a prefix argument, set
13014 variable buffer-locally.
13016 2002-08-09 John Paul Wallington <jpw@shootybangbang.com>
13018 * font-core.el (font-lock-function): Make it buffer-local.
13020 2002-08-08 Richard M. Stallman <rms@gnu.org>
13022 * emacs-lisp/checkdoc.el (checkdoc, checkdoc-interactive)
13023 (checkdoc-message-interactive, checkdoc-interactive-loop)
13024 (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments)
13026 Update checkdoc-spellcheck-documentation-flag correctly.
13027 (checkdoc-ispell-docstring-engine): Don't test for
13028 checkdoc-autofix-flag = nil.
13030 2002-08-07 John Paul Wallington <jpw@shootybangbang.com>
13032 * xt-mouse.el (xterm-mouse-mode): Make it a global mode.
13034 * wid-browse.el (widget-minor-mode): Fix doc typo.
13036 2002-08-07 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13038 * net/tramp.el: Version 2.0.12 released.
13039 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13040 Comment out possibly obsolete "echo hello" commands.
13041 (tramp-run-real-handler): If operation is
13042 `ange-ftp-hook-function', use first arg as the real operation.
13043 (tramp-check-ls-commands): Use / instead of \ as directory
13044 separator. (Relevant for XEmacs on Windows.)
13045 (tramp-maybe-open-connection): Use tramp-wait-for-output when
13046 waiting for the "are you awake" command. Use a different string
13047 for the "are you awake" command.
13048 (tramp-send-command): New optional arg NEVEROPEN means to never
13049 invoke tramp-maybe-open-connection.
13050 (tramp-maybe-open-connection): Use it
13052 2002-08-07 Richard M. Stallman <rms@gnu.org>
13054 * warnings.el (warning-prefix-function, warning-series)
13055 (warning-fill-prefix, warning-group-format): Add autoload cookies.
13057 2002-08-07 Kenichi Handa <handa@etl.go.jp>
13059 * international/mule-cmds.el (select-safe-coding-system):
13060 Call pop-to-buffer inside save-window-excursion and save-excursion.
13062 2002-08-06 John Paul Wallington <jpw@shootybangbang.com>
13064 * help-fns.el (describe-function-1): Skip arglist note if
13065 function's definition is a keymap.
13067 2002-08-06 Sam Steingold <sds@gnu.org>
13069 * calendar/diary-lib.el (diary-mail-entries): Use `compose-mail'
13070 and `mail-user-agent' instead of straight sendmail.
13071 (diary-modified, diary-entries-list, displayed-year)
13072 (displayed-month, entry, date, number, date-string, d-file)
13073 (original-date): Defvar without binding to avoid compiler warnings.
13075 2002-08-05 Alan Shutko <ats@acm.org>
13077 * ibuffer.el (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
13078 (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
13079 (ibuffer-mode): Added ibuffer-filter-by-used-mode to doc string.
13081 * ibuf-ext.el (ibuffer-list-buffer-modes): New.
13082 (ibuffer-filter-by-used-mode): New.
13084 2002-08-05 John Paul Wallington <jpw@shootybangbang.com>
13086 * ediff-util.el (ediff-copy-list): Use `defalias' instead of
13087 `fset' and `symbol-function'.
13089 2002-08-05 John Wiegley <johnw@gnu.org>
13091 * pcomplete.el (pcomplete-entries): Don't set `above-cutoff' to a
13092 value unless pcomplete-cycle-cutoff-length is non-nil.
13094 2002-04-09 John Paul Wallington <jpw@shootybangbang.com>
13096 * esh-util.el (eshell-under-cygwin-p): New function.
13097 * em-cmpl.el (eshell-cmpl-ignore-case): Use it.
13098 * em-dirs.el (eshell/cd): Ditto.
13099 * em-glob.el (eshell-glob-case-insensitive): Ditto.
13100 * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
13101 * esh-ext.el (eshell-binary-suffixes): Ditto.
13103 2002-08-05 Richard M. Stallman <rms@gnu.org>
13105 * international/mule-cmds.el (select-safe-coding-system): Check for
13106 non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS.
13108 * net/ange-ftp.el (ange-ftp-smart-gateway): Doc fix.
13110 2002-08-05 Gerd Moellmann <gerd@gnu.org>
13112 * image.el (image-jpeg-p): Accept "Exif" marker.
13114 2002-08-05 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13116 * net/tramp.el: Version 2.0.11 released.
13117 (tramp-perl-file-attributes): Print uid and gid as signed integers.
13118 (tramp-invoke-ange-ftp): Correct check for Ange-FTP being loaded.
13119 Invoke Ange-FTP with tramp-run-real-handler to avoid Ange-FTP
13120 calling Tramp again.
13121 (tramp-find-file-exists-command): Check for `ls -d' last, after
13122 all the variants on `test -e'.
13123 (tramp-post-connection): Erase buffer before finding a command to
13124 check if file exists.
13126 2002-08-05 David Kastrup <David.Kastrup@t-online.de>
13128 * calc/calc.el (math-format-stack-value): Revert a broken
13129 if->when replacement and reformat so that this does not happen
13130 again. Fixes a pretty lethal line formatting/yanking bug.
13132 2002-08-04 John Paul Wallington <jpw@shootybangbang.com>
13134 * startup.el (fancy-splash-frame): Check selected frame last.
13136 2002-08-04 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13138 * net/tramp.el: Version 2.0.10 released.
13139 (tramp-uudecode): New shell function `tramp_uudecode' to decode to
13140 standard output even if `uudecode -p' and `uudecode -o -' don't work.
13141 (tramp-post-connection): After finding the right shell, wait a
13142 bit. This is a kludge to avoid a race condition, even though I
13143 don't understand why there is a race condition in the first place.
13144 (tramp-post-connection): Install the `tramp_uudecode' shell
13145 function on the remote host.
13146 (tramp-coding-commands): Add an alternative for `tramp_uudecode'.
13147 (tramp-bug): Include more variables in the report.
13149 2002-08-04 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13151 * net/tramp.el: Version 2.0.9 released.
13152 (tramp-bug): Add wording about additional info to include in bug
13154 (tramp-find-shell): Set $PS1 for invocation of second shell (for
13156 (tramp-find-shell): Shell prompt must match at end of buffer.
13157 Do this also for fallback shell prompt.
13158 (tramp-find-shell): More debugging output.
13159 (tramp-find-inline-encoding): When checking the decoding command,
13160 some commands fail when reading from /dev/null. So we pass a
13161 known string through the encoding command and pass that through
13162 the decoding command. So we know whether the decoding command can
13163 deal with some real input.
13165 2002-08-04 Andreas Schwab <schwab@suse.de>
13167 * net/tramp.el (tramp-perl-encode, tramp-perl-decode): Doc fix.
13169 2002-08-03 Andrew Choi <akochoi@shaw.ca>
13171 * term/mac-win.el: Set keys to enable mouse wheel support.
13173 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13175 * net/tramp.el: Version 2.0.8.
13176 (tramp-perl-encode, tramp-perl-encode): Double the backslashes.
13178 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13180 * net/tramp.el: Version 2.0.7.
13181 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
13182 (tramp-perl-encode, tramp-perl-decode): Escape `%' characters
13183 because of `format' and say so in the docstring.
13185 2002-08-03 Glenn Morris <gmorris@ast.cam.ac.uk>
13187 * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of
13189 (f90-font-lock-keywords-2): Fix `implicit type(foo)' case.
13190 (f90-type-def-re): Fix value.
13192 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13194 * net/tramp.el: Version 2.0.6.
13195 (tramp-default-method): Change to "ssh" from "sm".
13196 (tramp-wrong-passwd-regexp): Restructure. Add additional alternative.
13197 (tramp-su-program): New internal variable for method parameter.
13198 (tramp-perl-encode-with-module, tramp-perl-decode-with-module):
13199 New variables. Very short Perl one-liner, but requires Perl
13200 module MIME::Base64 to be installed on the remote site.
13201 (tramp-perl-encode, tramp-perl-decode): New base64
13202 encoder/decoder. From Juanma Barranquero <lektu@terra.es>.
13203 (tramp-handle-file-truename): Invoke Ange-FTP properly (even
13204 though Ange-FTP doesn't do anything for this operation).
13205 (tramp-handle-set-visited-file-modtime): Comment change.
13206 (tramp-handle-make-directory): Save-excursion.
13207 (tramp-handle-expand-many-files): Don't try to invoke Ange-FTP
13208 twice, once is enough.
13209 (tramp-action-permission-denied): Show *tramp/foo* buffer so the
13210 user knows what's wrong.
13211 (tramp-post-connection): Support the two Perl encoders and decoders.
13212 (tramp-coding-commands): Ditto. Add some todo items.
13214 2002-08-02 Richard M. Stallman <rms@gnu.org>
13216 * international/mule.el (merge-coding-systems): New function.
13217 (set-buffer-file-coding-system): Use merge-coding-systems.
13218 Change prompt for args.
13219 (revert-buffer-with-coding-system): New command.
13221 * international/mule-cmds.el (mule-keymap, set-coding-system-map):
13222 Add bindings for revert-buffer-with-coding-system.
13223 (set-coding-system-map): Clarify menu item info for
13224 set-buffer-file-coding-system.
13225 (set-coding-system-map): Reorder and add separators.
13227 * emacs-lisp/edebug.el (edebug-eval-top-level-form):
13228 Use eval-expression.
13230 * subr.el (atomic-change-group): Doc fix.
13232 2002-07-31 Colin Walters <walters@debian.org>
13234 * ibuffer.el (ibuffer-hooks): Rename to `ibuffer-hook'; Add
13235 defvaralias for compatibility.
13236 (ibuffer-mode-hooks): Rename to `ibuffer-mode-hook'; Add
13237 defvaralias for compatibility.
13239 2002-07-31 John Paul Wallington <jpw@shootybangbang.com>
13241 * ibuffer.el (ibuffer-fontification-alist):
13242 Use `font-lock-constant-face' instead of `font-lock-reference-face'.
13244 2002-07-31 John Wiegley <johnw@gnu.org>
13246 * pcomplete.el (pcomplete-comint-setup): Use `add-to-list', to
13247 prevent adding the symbol `pcomplete' to
13248 shell-dynamic-complete-functions to many times.
13250 2002-07-31 Markus Rost <rost@math.ohio-state.edu>
13252 * help-fns.el (describe-function-1): Test function for
13253 obsolescence only if it is a symbol.
13255 * ediff.el (ediff-backup): New autoloaded command.
13257 2002-07-31 Richard M. Stallman <rms@gnu.org>
13259 * makefile.w32-in (compile-after-backup): Renamed from `compile'.
13260 Use `compile-always'.
13261 (bootstrap): Use `compile', not `compile-files'. Use `update-subdirs'.
13262 (compile): Renamed from `compile-files'.
13263 (compile-CMD, compile-SH): Renamed from `compile-files-*'.
13265 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
13266 Check that (car elt) is a string.
13268 * pcomplete.el (pcomplete-entries): Doc fix.
13270 * international/mule.el (non-standard-icccm-encodings-alist): Doc fix.
13272 2002-07-31 Andreas Schwab <schwab@suse.de>
13274 * dired.el: Hide disabling of dired-find-alternate-file behind
13277 2002-07-31 Tak Ota <Takaaki.Ota@am.sony.com> (tiny change)
13279 * makefile.w32-in: Revert some changes from 2002-07-23 because they
13280 don't work on MSVC/nmake builds.
13281 (update-subdirs-CMD): Generate the right list of subdirectories.
13283 2002-07-30 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13285 * net/tramp.el: New version 2.0.5.
13286 (tramp-methods): Remove inline encoding method parameters.
13287 The encoding is now autodetected. Also shorten the list of
13288 methods (u/m distinction gone) and rename the remaining methods to
13289 have longer, but more mnemonic, names.
13290 (tramp-login-prompt-regexp, tramp-password-prompt-regexp)
13291 (tramp-wrong-passwd-regexp): Trailing `$' not needed, regexp is
13292 matched at end of buffer anyway.
13293 (tramp-yesno-prompt-regexp): New variable, for questions where the
13294 user should say "yes" or "no".
13295 (tramp-file-name-structure-unified)
13296 (tramp-file-name-structure-separate): Allow dash in method names.
13297 (tramp-actions-before-shell): New variable, contains list of
13298 pattern/action pairs. Output sent by remote end is scanned for
13299 the patterns, then the actions are executed.
13300 (tramp-multi-actions): Like `tramp-actions-before-shell', but
13301 executed for each hop in a multi-hop connection.
13302 (tramp-last-cmd-time): New variable. If nothing has been sent to
13303 remote end for 60 seconds, look to see if the remote end is still
13305 (tramp-perl-mime-encode, tramp-perl-mime-decode): Remove.
13307 (tramp-perl-encode, tramp-perl-decode): New variables, these
13308 require the MIME::Base64 module on the remote end.
13309 (tramp-handle-file-attributes): Restructure logic.
13310 (tramp-handle-file-attributes-with-ls)
13311 (tramp-handle-file-attributes-with-perl): More debugging.
13312 (tramp-handle-directory-files): Grok fifth arg `files-only' for XEmacs.
13313 (tramp-handle-make-directory, tramp-handle-delete-directory)
13314 (tramp-handle-delete-file, tramp-handle-insert-directory):
13316 (tramp-handle-shell-command): Use `when', not `if'.
13317 (tramp-handle-file-local-copy, tramp-handle-write-region):
13318 Adapt to autodetection of inline encoding.
13319 (tramp-invoke-ange-ftp): Require ange-ftp to make sure that
13320 variable ange-ftp-name-format is defined before binding it.
13321 (tramp-action-login, tramp-action-password, tramp-action-succeed)
13322 (tramp-action-permission-denied, tramp-action-yesno):
13323 Functions called from `tramp-actions-before-shell'.
13324 (tramp-multi-action-login, tramp-multi-action-password)
13325 (tramp-multi-action-succeed, tramp-multi-action-permission-denied):
13326 Functions called from `tramp-multi-actions'.
13327 (tramp-process-one-action, tramp-process-actions):
13328 Pattern matching and action invocation code for
13329 `tramp-actions-before-shell'.
13330 (tramp-process-one-multi-action, tramp-process-multi-actions):
13331 Same for `tramp-multi-actions'.
13332 (tramp-open-connection-telnet, tramp-open-connection-rsh)
13333 (tramp-open-connection-su): Process actions instead of hardwired logic.
13334 (tramp-multi-connect-telnet, tramp-multi-connect-rlogin)
13335 (tramp-multi-connect-su): Ditto.
13336 (tramp-post-connection): New method for tramp_encode and
13337 tramp_decode scripts.
13338 (tramp-post-connection): Invoke inline autodetection code.
13339 (tramp-coding-commands): List of inline codings.
13340 (tramp-find-inline-encoding): This is the inline autodetection code.
13341 (tramp-maybe-open-connection): If nothing was sent to connection
13342 for 60 seconds, look if it connection is still alive.
13343 (tramp-send-command): Remember that something was sent to the
13345 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
13346 Use backticks for constructing alist.
13347 (tramp-get-encoding-command, tramp-set-encoding-command)
13348 (tramp-get-decoding-command, tramp-set-decoding-command)
13349 (tramp-get-encoding-function, tramp-set-encoding-function)
13350 (tramp-get-decoding-function, tramp-set-decoding-function):
13351 Use for results of inline autodetection.
13352 (tramp-get-encoding-command, tramp-get-decoding-command)
13353 (tramp-get-encoding-function, tramp-get-decoding-function):
13354 Remove these old functions.
13356 2002-07-30 Kenichi Handa <handa@etl.go.jp>
13358 * language/indian.el (in-is13194): Give correct `safe-chars' property.
13359 (devanagari): Define it as an alias of in-is13194.
13361 * international/mule.el (safe-chars):
13362 Put `char-table-extra-slots' property with value 0.
13364 * files.el (revert-buffer): Fix previous change.
13366 2002-07-29 Richard M. Stallman <rms@gnu.org>
13368 * bindings.el (help-echo): If global-mode-string is non-nil,
13369 display some spaces after it.
13371 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
13372 Don't call string-match on non-string.
13374 * textmodes/ispell.el (check-ispell-version): Bind default-directory
13375 to avoid errors. Kill the old temp buffer at the beginning.
13377 2002-07-29 Glenn Morris <gmorris@ast.cam.ac.uk>
13379 * scroll-all.el (scroll-all-mode): Make argument optional. Doc fix.
13381 2002-07-29 John Paul Wallington <jpw@shootybangbang.com>
13383 * scroll-all.el (scroll-all-mode): Handle numeric arg. Use `if'
13386 2002-07-29 Kenichi Handa <handa@etl.go.jp>
13388 * international/mule.el (ctext-post-read-conversion): Add support
13389 for embedded utf-8 encoding (ESC % G ... ESC % @).
13391 2002-07-28 Kenichi Handa <handa@etl.go.jp>
13393 * files.el (revert-buffer): Before calling insert-file-contents,
13394 kill the local variable buffer-file-coding-system.
13396 2002-07-28 Richard M. Stallman <rms@gnu.org>
13398 * bindings.el (mode-line-format): Handle vc-mode specially.
13399 Move mode-line-position to after global-mode-string.
13400 (mode-line-modes): Move the starting 3 spaces out of here.
13401 (mode-line-position): Separate with a space, not dashes.
13403 * vc-hooks.el: Don't add to minor-mode-alist.
13405 * emacs-lisp/edebug.el (edebug-debugger):
13406 If inside redisplay, just return.
13408 * emacs-lisp/debug.el (debug): If inside redisplay, just return.
13410 * info.el (Info-find-index-name): Improve last change.
13412 2002-07-27 Richard M. Stallman <rms@gnu.org>
13414 * files.el (file-name-sans-extension): Avoid expanding DIRECTORY.
13416 * calendar/cal-hebrew.el (diary-rosh-hodesh): Cons mark on
13419 2002-07-27 Markus Rost <rost@math.ohio-state.edu>
13421 * ps-print.el: Update copyright year.
13422 (ps-begin-cut-regexp, ps-end-cut-regexp): Fix type.
13424 2002-07-26 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13426 * eshell/eshell.el (eshell): Numeric prefix arg means to switch
13427 to the session with that number. Old behavior still available
13428 with nonumeric prefix args.
13430 2002-07-08 Simon Josefsson <jas@extundo.com>
13432 * mail/mail-extr.el (mail-extr-all-top-level-domains): Update names.
13434 2002-07-26 Juanma Barranquero <lektu@terra.es>
13436 * warnings.el (lwarn, warn, warning-levels): Doc fix.
13437 (warning-suppress-log-types): Fix typo.
13438 (display-warning): Fix typo. Remove useless assignment to free variable
13441 2002-07-25 Markus Rost <rost@math.ohio-state.edu>
13443 * ediff-wind.el (ediff-window-setup-function): Extend type declaration.
13445 2002-07-25 Sam Steingold <sds@gnu.org>
13447 * replace.el (occur-rename-buffer): New command.
13448 (occur-mode-map): Bind "r" to it. Added keybindings for
13449 `kill-this-buffer', `clone-buffer' and `quit-window'.
13451 2002-07-25 Kevin Ryde <user42@zip.com.au>
13453 * info.el (Info-find-index-name): Search for a function definition
13454 with a return type.
13456 2002-07-25 David Ponce <david@dponce.com>
13458 * emacs-lisp/bytecomp.el (byte-compile-set-symbol-position):
13459 Don't recompute `entry' on each iteration.
13460 (byte-compile-delete-first): Make it defsubst.
13462 2002-07-25 Sam Steingold <sds@gnu.org>
13464 * progmodes/cc-engine.el (c-search-uplist-for-classkey):
13465 When `search-end' is a cons, use its car.
13467 2002-07-25 Dave Love <fx@gnu.org>
13469 * obsolete/c-mode.el: Deleted.
13471 2002-07-25 Carsten Dominik <dominik@astro.uva.nl>
13473 * textmodes/reftex.el (reftex-compile-variables):
13474 Simplified regular expression.
13476 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13477 Simplified the regexp.
13479 * textmodes/reftex-cite.el (reftex-get-bibkey-default): New function.
13480 (reftex-extract-bib-entries-from-thebibliography):
13481 Use `reftex-get-bibkey-default' to get a default regex.
13482 (reftex-extract-bib-entries): Use `reftex-get-bibkey-default' to
13483 get a default regex.
13485 * textmodes/reftex-toc.el (reftex-toc-mode): Use `make-local-hook' for
13486 XEmacs compatibility (got OK from RMS).
13488 * textmodes/reftex-index.el (reftex-index-mode): Likewise.
13490 * textmodes/reftex-sel.el (reftex-select-label-mode): Likewise.
13491 (reftex-select-bib-mode): Likewise.
13493 2002-07-25 Colin Walters <walters@debian.org>
13495 * ibuffer.el (ibuffer-mouse-popup-menu): Allow point to be moved
13498 2002-07-24 Dave Love <fx@gnu.org>
13500 * international/mule.el (set-auto-coding): Doc fix.
13502 * international/utf-16.el: New file.
13504 * language/european.el ("German", "French", "Spanish", "Turkish"):
13505 Add alternative coding systems.
13506 ("Dutch"): Likewise. Add input method.
13507 ("Welsh", "Latin-7"): Add nonascii-translation.
13509 * language/georgian.el ("Georgian"): Add nonascii-translation.
13511 * international/titdic-cnv.el: Doc fixes.
13512 (tit-process-header): Add coding cookie.
13513 (titdic-convert): Force writing as iso-2022-7bit.
13515 * international/ja-dic-cnv.el (skkdic-convert): Add coding cookie.
13517 * international/mule-cmds.el: Doc fixes.
13518 (unencodable-char-position): New.
13519 (select-safe-coding-system): Use it to indicate problematic
13520 characters and add extra explanation. Avoid checking auto-coding
13521 for compressed files.
13522 (leim-list-header): Add coding cookie.
13523 (input-method-verbose-flag): Modify :type.
13524 (locale-language-names): Add bs, wa. Modify cy.
13526 2002-07-24 Richard M. Stallman <rms@gnu.org>
13528 * emacs-lisp/bytecomp.el (byte-compile-log-warning):
13529 Bind warning-group-format.
13531 * emacs-lisp/bytecomp.el (byte-compile-cl-functions): New variable.
13532 (byte-compile-cl-warn): Use that variable.
13533 (byte-compile-find-cl-functions): New function.
13534 (displaying-byte-compile-warnings):
13535 Call byte-compile-find-cl-functions.
13537 * warnings.el (warning-levels): Add %s to the strings.
13538 (warning-group-format): New variable.
13539 (warning-suppress-log-types): Renamed from warning-suppress-log.
13540 (warning-suppress-types): Renamed from warning-suppress.
13541 (display-warning): Implement those changes.
13543 2002-07-23 Richard M. Stallman <rms@gnu.org>
13545 * warnings.el: Add `provide' call.
13547 * files.el (basic-save-buffer-2): If there's an error writing the file,
13548 unrename the backup file if it was just made.
13549 (backup-buffer, basic-save-buffer-2, basic-save-buffer-1)
13550 (basic-save-buffer): Value now has form (MODES . BACKUPNAME)
13551 when a backup was just made by renaming. Otherwise it's nil.
13553 * wid-edit.el (widget-convert): Handle an argument that's a keyword.
13554 Recognize explicit :args specification.
13556 * international/mule-cmds.el (select-safe-coding-system):
13557 Don't ask for confirmation of mismatch if find-file-literally was used.
13559 2002-07-23 Markus Rost <rost@math.ohio-state.edu>
13561 * add-log.el (add-log-current-defun): Fix typo in documentation.
13563 2002-07-22 Markus Rost <rost@math.ohio-state.edu>
13565 * add-log.el (add-log-mailing-address): Fix type. Can be a string.
13567 * ido.el (ido-separator): Fix type.
13569 2002-07-23 Andrew Innes <andrewi@gnu.org>
13571 * makefile.w32-in (DONTCOMPILE): Remove cus-start.el.
13572 (DONTCOMPILE): Add various language files.
13573 (DONTCOMPILE): Remove term/xterm.el.
13574 (finder-inf.el): Remove.
13575 (update-authors): New target.
13576 (TAGS-LISP): Remove $(lispsource).
13577 (compile-always): Renamed from `compile-files'.
13578 (compile): New target, adapted from `compile-files'.
13579 (compile-calc): New target.
13580 (recompile): Change `.' to $(lisp).
13581 (bootstrap): Add update-subdirs and finder-data
13582 to dependencies; change compile-files to compile.
13584 2002-07-22 Andre Spiegel <spiegel@gnu.org>
13586 * vc.el (vc-next-action-on-file): Preserve find-file-literally.
13588 2002-07-22 Dan Nicolaescu <dann@ics.uci.edu>
13590 * simple.el (undo, undo-more): Adjust messages when undoing in a
13593 2002-07-22 John Paul Wallington <jpw@shootybangbang.com>
13595 * net/browse-url.el (browse-url-lynx-input-attempts): Use defcustom.
13596 (browse-url-lynx-input-delay): Add custom type and group.
13598 * cus-start.el (double-click-fuzz): Added.
13600 2002-07-22 Alan Shutko <ats@acm.org>
13602 * calendar/solar.el (diary-sabbath-candles): Add optional MARK
13603 parameter, specifying what face or character to use in the
13604 calendar display. These will now return (MARK . ENTRY).
13606 * calendar/lunar.el (diary-phases-of-moon): Add optional MARK
13607 parameter, specifying what face or character to use in the
13608 calendar display. These will now return (MARK . ENTRY).
13610 * calendar/cal-hebrew.el (diary-omer, diary-yahrzeit)
13611 (diary-rosh-hodesh, diary-parasha, diary-parasha): Add optional
13612 MARK parameter, specifying what face or character to use in the
13613 calendar display. These will now return (MARK . ENTRY).
13615 * calendar/diary-lib.el (mark-sexp-diary-entries): Retrieve mark
13616 from diary-sexp-entry and pass it to mark-visible-calendar-date.
13617 (list-sexp-diary-entries): Update doc string for new docs for ....
13618 If diary-sexp-entry returns a cons, only add the text to the diary
13620 (diary-sexp-entry): Allow sexps to return a cons of the form (MARK
13621 . STRING) to specify what face or character mark should be used in
13622 the calendar display.
13623 (diary-date, diary-block, diary-float, diary-anniversary)
13624 (diary-cyclic): Add optional MARK parameter, specifying what face
13625 or character to use in the calendar display. These will now
13626 return (MARK . ENTRY).
13628 * calendar/diary-lib.el (check-calendar-holidays, diary-iso-date)
13629 (calendar-holiday-list, diary-french-date, diary-mayan-date)
13630 (diary-julian-date, diary-astro-day-number, diary-chinese-date)
13631 (diary-islamic-date, list-islamic-diary-entries)
13632 (mark-islamic-diary-entries, mark-islamic-calendar-date-pattern)
13633 (diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha)
13634 (diary-rosh-hodesh, list-hebrew-diary-entries)
13635 (mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
13636 (diary-coptic-date, diary-persian-date, diary-phases-of-moon)
13637 (diary-sunrise-sunset, diary-sabbath-candles):
13638 Remove interactive flag from autoloads.
13640 2002-07-22 Carsten Dominik <dominik@astro.uva.nl>
13642 * textmodes/reftex-vars.el (reftex-index-verify-function): New option.
13643 (reftex-bibliography-commands): New option.
13644 (reftex-toc-split-windows-horizontally): New option
13645 (reftex-toc-split-windows-horizontally-fraction): New option
13646 (reftex-include-file-commands): New option.
13647 (reftex-cite-format-builtin): Added ?n for nocite.
13649 * textmodes/reftex-index.el (reftex-query-index-phrase):
13650 Use `reftex-index-verify-function'.
13652 * textmodes/reftex-toc.el (reftex-re-enlarge):
13653 Handle horizontal splitting.
13654 (reftex-toc): Handle horizontal splitting
13655 (reftex-last-window-width): New variable.
13657 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13658 Use `reftex-bibliography-commands'.
13659 (reftex-locate-bibliography-files): Regexp relaxed to allow for
13660 cases where \bibliography is not the first thing on the line.
13662 * textmodes/reftex.el (reftex-compile-variables):
13663 Use `reftex-include-file-commands'.
13664 (reftex-type-query-prompt): Changed defconst to defvar.
13665 (reftex-type-query-help, reftex-typekey-to-format-alist)
13666 (reftex-typekey-to-prefix-alist, reftex-env-or-mac-alist)
13667 (reftex-special-env-parsers, reftex-label-mac-list)
13668 (reftex-label-env-list, reftex-typekey-list)
13669 (reftex-words-to-typekey-alist, reftex-key-to-index-macro-alist)
13670 (reftex-query-index-macro-prompt, reftex-query-index-macro-help)
13671 (reftex-no-follow-message, reftex-no-info-message): Likewise.
13672 (reftex-mode): Define systax table for bibtex parsing.
13673 (reftex-syntax-table-for-bib): Syntax table for bibtex parsing.
13675 * textmodes/reftex-cite.el (reftex-format-names): %a as name
13676 format lists all names.
13677 (reftex-parse-bibtex-entry): Use `reftex-syntax-table-for-bib'.
13678 (reftex-with-special-syntax-for-bib): New macro.
13680 2002-07-21 Richard M. Stallman <rms@gnu.org>
13682 * international/ucs-tables.el (ucs-quail-activate):
13683 Cope if buffer-file-coding-system is nil.
13685 * bindings.el (last-buffer): Use buffer-list with frame arg.
13686 Create *scratch* if no other choice exists. Fix bugs.
13688 2002-07-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13690 * net/tramp.el: Bump version to 2.0.2.
13691 (tramp-methods): Rename methods invoking "ssh1" or "ssh2" to
13692 longer names. Use old names "sm1", "sm2" and so on for methods
13693 invoking "ssh -1" or "ssh -2".
13694 (tramp-multi-file-name-structure-separate): Typo, its name was set
13695 to "tramp-file-name-structure-separate". Trivial patch.
13696 From Steve Youngs <youngs@xemacs.org>.
13697 (tramp-multi-sh-program): New variable.
13698 (tramp-open-connection-multi): Use it. Now you can use multi
13699 methods from Windows (at least in principle).
13700 (tramp-do-copy-or-rename-via-buffer): New function.
13701 (tramp-do-copy-or-rename-file): Use it. Change and simplify
13702 logic. Omit special case of invoking rcp directly to copy the files.
13703 (tramp-open-connection-su, tramp-multi-connect-telnet)
13704 (tramp-multi-connect-rlogin, tramp-multi-connect-su)
13705 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
13706 Use backticks in format-spec for brevity and to avoid
13707 character/number confusion in XEmacs.
13709 2002-07-20 Richard M. Stallman <rms@gnu.org>
13711 * wid-edit.el (widget-documentation-string-value-create):
13712 Say "Hide Rest", not just "Hide".
13714 * cus-edit.el (custom-variable-value-create):
13715 Say "Show Value", not just "Show". Also "Hide Value".
13716 Output a newline before the doc string.
13717 (custom-face-value-create): Say "Show Face" and "Hide Face".
13719 * files.el (toggle-read-only): Clean up the hint message.
13721 * emacs-lisp/bytecomp.el: Use warnings.el.
13722 (byte-compile-warning-prefix): New function.
13723 (byte-compile-log-file): Return page start position.
13724 (byte-compile-log-warning): New function.
13725 (byte-compile-warn): Use byte-compile-log-warning.
13726 (byte-compile-report-error): Likewise. Also use error-message-string.
13727 (displaying-byte-compile-warnings): Bind warning-series.
13728 Don't bind or use byte-compile-warnings-point-max.
13729 Don't display the log buffer at the end.
13730 (byte-compile-warnings-point-max): Variable deleted.
13731 (byte-compile-log-1): Rewrite for trace info, not used for warnings.
13732 (byte-compile-last-warned-form, byte-compile-last-logged-file):
13735 * warnings.el: New file.
13737 2002-07-19 Richard M. Stallman <rms@gnu.org>
13739 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Delete `values'
13740 and `values-list' from list of CL functions.
13742 2002-07-19 John Paul Wallington <jpw@shootybangbang.com>
13744 * emacs-lisp/bytecomp.el (compile-defun):
13745 Bind `read-with-symbol-positions' to current buffer.
13747 2002-07-19 Andre Spiegel <spiegel@gnu.org>
13749 * vc-hooks.el (vc-insert-file): When called with a LIMIT regexp,
13750 delete anything that comes after LIMIT from the buffer.
13752 * vc-rcs.el (vc-rcs-fetch-master-state): Be more careful to check
13753 if this is really an RCS master file.
13755 * vc.el: Improve comment of vc-BACKEND-workfile-unchanged-p.
13757 2002-07-19 Juanma Barranquero <lektu@terra.es>
13759 * emacs-lisp/bytecomp.el (dot, dot-max, dot-min, dot-marker)
13760 (buffer-flush-undo, baud-rate, compiled-function-p, define-function)
13761 (unread-command-char, executing-macro, post-command-idle-hook)
13762 (post-command-idle-delay): Move obsolescence declarations to subr.el.
13764 * subr.el (dot, dot-max, dot-min, dot-marker, buffer-flush-undo)
13765 (baud-rate, compiled-function-p, define-function, unread-command-char)
13766 (executing-macro, post-command-idle-hook, post-command-idle-delay):
13767 Move obsolescence declarations from emacs-lisp/bytecomp.el.
13768 (directory-sep-char, mode-line-inverse-video):
13769 Add obsolescence declaration.
13771 2002-07-18 J.D. Smith <jdsmith@as.arizona.edu>
13773 * progmodes/idlwave.el: Updated to IDLWAVE version 4.14. Too many
13774 changes to list them here.
13776 * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.14.
13777 Too many changes to list them here.
13779 * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.14.
13780 Too many changes to list them here.
13782 * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.14 with
13783 only minor documentation changes.
13785 2002-07-18 Dave Love <fx@gnu.org>
13787 * info-look.el: Support current auto{conf,make} manuals.
13789 2002-07-18 Juanma Barranquero <lektu@terra.es>
13791 * bindings.el (last-buffer): Add missing frame argument.
13793 2002-07-18 Richard M. Stallman <rms@gnu.org>
13795 * timer.el (timer-inc-time): Doc fix.
13797 * replace.el (keep-lines, flush-lines): Interactively report
13798 read-only error before reading regexp argument.
13800 * dabbrev.el (dabbrev--search): Use inhibit-point-motion-hooks.
13802 * bindings.el (last-buffer): Handle buffer-list and buffer-predicate
13803 frame parameters like bury-buffer.
13805 * simple.el (choose-completion-delete-max-match):
13806 Handle minibuffer prompts explicitly.
13808 2002-07-18 Juanma Barranquero <lektu@terra.es>
13810 * international/mule-util.el (string-to-sequence, truncate-string):
13811 Add autoload cookie to obsolescence declaration.
13813 * rect.el (move-to-column-force): Likewise.
13815 * composite.el (decompose-composite-char): Likewise; also remove
13818 2002-07-18 Kim F. Storm <storm@cua.dk>
13820 * loadup.el: Load international/utf-8 before international/characters.
13822 2002-07-17 Dave Love <fx@gnu.org>
13824 * international/ucs-tables.el: Optimize tables. Deal with some
13826 (ucs-mule-to-mule-unicode): New.
13827 (ucs-unify-8859): Use utf-8-fragment-on-decoding, set up Quail
13829 (ucs-fragment-8859): Modified consistent with ucs-unify-8859.
13830 (unify-8859-on-encoding-mode): Doc mod. Fix custom version.
13831 (unify-8859-on-decoding-mode): Doc mod. Change code. Fix custom
13832 version. Add custom dependencies.
13833 (ucs-insert): Check for null from decode-char.
13834 (translation-table-for-input, ucs-quail-activate)
13835 (ucs-minibuffer-setup, ccl-encode-unicode-font)
13836 (ucs-tables-unload-hook): New.
13838 * international/mule.el (define-translation-hash-table): New.
13839 (decode-char): Use utf-8-translation-table-for-decode.
13840 (encode-char): Use ucs-mule-to-mule-unicode.
13842 * international/characters.el: Fix settings of U+2000-U+2027.
13843 Remove
\e$(C'Y
\e(B.
13845 * international/mule-cmds.el (locale-language-names): Fix be, add
13846 sr_YU@cyrillic, modify tg.
13847 (locale-charset-language-names): Put @euro last.
13849 * language/cyrillic.el (cyrillic-koi8-r-decode-table)
13850 (cyrillic-alternativnyj-decode-table): Fill out with mule-unicode.
13851 (cyrillic-koi8-r-decode-table): Make unbound after use.
13852 (ccl-decode-koi8, ccl-decode-alternativnyj): Change expansion
13853 factor. Use utf-8-translation-table-for-decode.
13854 (ccl-encode-koi8, ccl-encode-koi8): Don't check r0.
13855 (cyrillic-unify-encoding): New function.
13856 (cyrillic-koi8): Modify safe-chars, valid-codes.
13857 Remove charset-origin-alist.
13858 (Cp878, cp866): New alias.
13859 (ccl-encode-8859-5-font): New.
13860 (font-ccl-encoder-alist): Add ccl-encode-8859-5-font.
13861 (ccl-encode-koi8-font, ccl-encode-alternativnyj-font):
13862 Remove redundant parens.
13863 ("Cyrillic-KOI8"): Add cyrillic-iso-8bit to coding-priority.
13864 (cyrillic-koi8-u-decode-table, ccl-decode-koi8-u)
13865 (ccl-encode-koi8-u, koi8-u, ccl-encode-koi8-u-font, "Ukrainian"): New.
13866 (cyrillic-alternativnyj): Modify safe-chars, add mime-charset.
13867 ("Cyrillic-ALT"): Change input method.
13868 ("Windows-1251", "Tajik", "Bulgarian", "Belarusian"): New.
13870 * international/utf-8.el (utf-8-subst-table)
13871 (utf-8-subst-rev-table, utf-8-translation-table-for-decode)
13872 (utf-8-fragment-on-decoding, ccl-untranslated-to-ucs)
13873 (utf-8-ccl-regs, utf-8-translate-cjk): New.
13874 (ccl-encode-mule-utf-8): Use utf-8-subst-rev-table.
13875 (ccl-decode-mule-utf-8, ccl-untranslated-to-ucs)
13876 (utf-8-untranslated-to-ucs, utf-8-compose): Rewritten.
13877 (mule-utf-8): Remove pre-write-conversion.
13878 (utf-8-post-read-conversion): Comment out.
13880 * international/ccl.el (ccl-command-table): Add lookup-integer,
13882 (ccl-extended-code-table): Add lookup-int-const-tbl,
13883 lookup-char-const-tbl.
13884 (ccl-compile-lookup-integer, ccl-compile-lookup-character)
13885 (ccl-dump-lookup-int-const-tbl, ccl-dump-lookup-char-const-tbl):
13887 (define-ccl-program): Doc update.
13889 * international/utf-8-subst.el: Populate utf-8-subst-rev-table.
13890 (utf-8-subst-table): Don't set.
13892 2002-07-17 Kenichi Handa <handa@etl.go.jp>
13894 * international/mule.el (define-coding-system-alias):
13895 Don't append ALIAS in the property `alias-coding-systems' if ALIAS's
13896 eol-type is not auto-detection.
13898 * international/mule-diag.el (print-coding-system-briefly):
13899 Fix the handling of an alias of which eol-type is not auto-detection.
13901 * international/mule-conf.el (us-ascii): Define it as an alias of
13904 2002-07-17 Juanma Barranquero <lektu@terra.es>
13906 * help-fns.el (describe-function-1): Put empty line before "Not
13909 * timer.el (timer-set-time-with-usecs): Mark obsolete.
13911 2002-07-16 Stefan Monnier <monnier@cs.yale.edu>
13913 * toolbar/tool-bar.el (tool-bar-add-item-from-menu):
13914 Make sure to change the global tool-bar-map.
13916 * vc.el (vc-default-comment-history): Hard code *vc*.
13917 This is because print-log always prints there now.
13918 (vc-annotate-font-lock-keywords): New var.
13919 (vc-annotate-mode): Use it. Set truncate-lines as well.
13920 (vc-annotate-display-select): Unify the two error reports.
13921 (vc-annotate-offset): New var.
13922 (vc-annotate-lines): New fun extracted from vc-annotate-display.
13923 (vc-annotate-display): Use it, via font-lock.
13925 * help-fns.el (help-split-fundoc, help-function-arglist)
13926 (help-make-usage): New funs, extracted from describe-function-1.
13927 (describe-function-1): Use them.
13929 * help.el (help-key-description): Show the untranslated keys
13930 when they start with ESC and the ESC was not translated.
13932 * help-mode.el (view): Always require.
13933 (help-xref-mule-regexp): Don't use defconst for variables.
13934 (help-setup-xref): Keep the last 10 elements of the stack.
13935 (help-xref-override-view-map): New var.
13936 (help-make-xrefs): Use it instead of building a new map each time.
13937 (help-function-def): Allow help-fun to take a buffer as arg.
13939 * diff-mode.el (diff-reverse-direction): Simplify.
13940 (diff-after-change-function): Fix typo.
13941 (diff-post-command-hook): Take care of edge cases.
13942 (diff-current-defun): Do `goto-char' after setting the mode.
13944 * mouse-sel.el (mouse-sel-mode): Use define-minor-mode.
13945 Fold mouse-sel-bindings into it.
13946 (mouse-sel-bound-events): Turn it into an alist.
13947 (mouse-insert-selection): Delegate to mouse-yank-at-click if
13948 mouse-sel-default-bindings asks for it.
13950 2002-07-16 Andre Spiegel <spiegel@gnu.org>
13952 * files.el: Bind toggle-read-only to C-x C-q.
13953 (toggle-read-only): Display a warning message if the file is under
13956 * vc-hooks.el: Don't bind vc-toggle-read-only to C-x C-q.
13957 (vc-toggle-read-only): Explain in the doc string that users can bind
13959 (vc-checkout-model): Change doc string to refer to vc-next-action,
13960 not vc-toggle-read-only.
13962 * vc.el (vc-next-action-on-file): Ignore buffer-read-only while
13963 comparing to file on disk. Fix the case when claiming the lock
13964 on a file that has unlocked changes.
13965 (vc-log-mode): Don't mention vc-toggle-read-only in the doc string.
13967 2002-07-16 Richard M. Stallman <rms@gnu.org>
13969 * simple.el (choose-completion-string): Doc fix.
13971 * cus-edit.el: New operation :custom-standard-value.
13972 (Custom-reset-standard): Use it.
13973 (custom-variable, custom-face): Define it.
13974 (custom-variable-standard-value, custom-face-standard-value): New fns.
13975 (custom-face-save): Don't save a face whose value is standard.
13976 (custom-save-faces): Use SYMBOL, not 'default, to set NOW and COMMENT.
13978 * cus-edit.el (custom-face-edit-fix-value):
13979 If VALUE is not a list, pass it thru.
13981 * compare-w.el (compare-windows-whitespace): Always allow newline
13982 even if it does not have whitespace syntax.
13984 2002-07-16 Juanma Barranquero <lektu@terra.es>
13986 * timer.el (timer-set-time, timer-set-time-with-usecs): Fix docstring.
13988 2002-07-15 Juanma Barranquero <lektu@terra.es>
13990 * help-fns.el (describe-variable): Show documentation for aliased
13991 variable if alias does not have its own.
13993 2002-07-15 Mike Williams <mdub@bigfoot.com>
13995 * mouse-sel.el (mouse-sel-bindings): Save/restore interprogram
13996 cut/paste functions.
13998 2002-07-14 Richard M. Stallman <rms@gnu.org>
14000 * files.el (find-alternate-file): Offer to save a modified buffer.
14001 Handle kill-buffer-query-functions better.
14003 * startup.el (normal-splash-screen, fancy-splash-text):
14004 Update name of help menu item for ordering printed manuals.
14006 * emacs-lisp/checkdoc.el: Fix doc typos.
14008 2002-07-14 Stefan Monnier <monnier@cs.yale.edu>
14010 * textmodes/tex-mode.el: Set encoding to utf-8.
14011 (tex-start-options): Make it into always-a-string.
14012 Remove silly custom options that are covered by the other var.
14013 (tex-start-commands): Fix docstring.
14014 (tex-open-quote, tex-close-quote): Add options.
14015 (tex-command): Provide default.
14016 (tex-font-lock-keywords-1): Highlight $$...$$.
14017 (tex-font-lock-keywords-2): Fix latin-1 chars.
14018 (tex-mode-map): Remove redundant \t binding.
14019 (tex-mode): Add `subsection' and `newcommand' to known latex cmds.
14020 (latex-mode): Use add-hook for fill-nobreak-predicate.
14021 (tex-common-initialization): Set indent-tabs-mode to nil.
14022 (tex-insert-quote): Undo magic if invoked twice in a row.
14023 (latex-fill-nobreak-predicate): Don't use narrowing.
14024 (tex-latex-block): Don't cons uselessly.
14025 (tex-last-unended-begin): Signal user-friendlier error.
14026 (tex-goto-last-unclosed-latex-block): Don't catch signal.
14027 (tex-start-tex): Switch order of tex-start-options and
14028 tex-start-commands to make it obey docstrings.
14030 2002-07-14 Mike Williams <mdub@bigfoot.com>
14032 * mouse-sel.el (mouse-sel-bound-events): New constant.
14033 (mouse-sel-bindings): Save/restore original mouse-bindings.
14035 2002-07-13 Stefan Monnier <monnier@cs.yale.edu>
14037 * emacs-lisp/cl.el (cl-set-substring): Fix thinko.
14038 (cl-hack-byte-compiler): Avoid infinite require loop.
14040 * net/ange-ftp.el: Use hash-tables.
14041 (ange-ftp-make-hashtable, ange-ftp-map-hashtable)
14042 (ange-ftp-make-hash-key, ange-ftp-get-hash-entry)
14043 (ange-ftp-put-hash-entry, ange-ftp-del-hash-entry): Remove.
14044 Replace with make-hash-table, maphash, gethash, puthash and remhash.
14045 (ange-ftp-hash-entry-exists-p): Rewrite.
14046 (ange-ftp-vms-delete-file-entry, ange-ftp-vms-add-file-entry):
14047 Change mapatom -> maphash.
14048 (ange-ftp-file-entry-active-p, ange-ftp-file-entry-not-ignored-p):
14049 Update to new calling mode.
14051 * progmodes/ebrowse.el (ebrowse-symbol-regexp): Avoid cl-set-substring.
14052 (ebrowse-hash-table-to-alist): Delete.
14053 (ebrowse-tags-read-name, ebrowse-tags-list-members-in-file)
14054 (ebrowse-tags-complete-symbol): Use the hashtable for completion.
14056 * textmodes/sgml-mode.el (sgml-quote): Use narrowing.
14057 Improve the regexp used when unquoting.
14058 (sgml-pretty-print): New function.
14059 (sgml-get-context): Better handling of improperly nested tags.
14060 (sgml-show-context): Don't use the FULL arg of sgml-get-context.
14062 2002-07-13 Andreas Schwab <schwab@suse.de>
14064 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Check the
14065 inherited table entry.
14067 2002-07-13 Glenn Morris <gmorris@ast.cam.ac.uk>
14069 * calendar/timeclock.el (timeclock-in): Handle the case where no
14070 log file exists (ie the very first call).
14072 2002-07-13 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14074 * net/ange-ftp.el: Do not hook into file-name-handler-alist, this
14077 * net/tramp.el (tramp-multi-file-name-structure-unified):
14078 Add missing slash and move colon from start to end of each hop.
14079 (tramp-multi-file-name-hop-structure-unified): Move colon from
14080 start to end of each hop.
14082 2002-07-13 Kim F. Storm <storm@cua.dk>
14084 * progmodes/compile.el (grep-tree): Fixed autoload.
14085 Corrected use of undefined variable `match-files-aliases'.
14087 2002-07-12 Glenn Morris <gmorris@ast.cam.ac.uk>
14089 * calendar/timeclock.el (timeclock-get-workday-function):
14090 `timeclock-workday' is not a valid option, rather a possible
14093 2002-07-12 Richard M. Stallman <rms@gnu.org>
14095 * net/ange-ftp.el (ange-ftp-write-region):
14096 Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg
14097 to ange-ftp-real-write-region.
14099 * replace.el (flush-lines, keep-lines): Convert REND to a marker.
14101 * help-fns.el (help-with-tutorial): Display completion list right away.
14103 * ediff-ptch.el (ediff-test-patch-utility): Catch error and return nil.
14105 * startup.el (command-line): Set memory-signal-data.
14106 (fancy-splash-text, normal-splash-screen):
14107 Mention "Read the Emacs Manual" or C-h r.
14108 Rearrange the initial help to put the help cmds on left
14109 and the actions (exit, undo) on the right. Other small
14110 text clarifications.
14111 (fancy-splash-text, actions page): Add blank line to balance help page.
14113 * help.el (help-map): Add binding for info-emacs-manual.
14114 (print-help-return-message): Doc fix.
14116 * strokes.el (strokes-help): Call print-help-return-message
14117 while inside with-output-to-temp-buffer.
14119 * info.el (info-emacs-manual): New function.
14120 (Info-use-header-line): Doc fix.
14122 * emacs-lisp/cl.el (multiple-value-call): Add alias.
14124 * progmodes/compile.el (compilation-normalize-filename):
14125 New subroutine, taken out of compilation-parse-errors.
14126 (compilation-parse-errors): Use that, and for directories too.
14127 Don't check whether a directory really exists.
14129 2002-07-12 Juanma Barranquero <lektu@terra.es>
14131 * help-fns.el (describe-variable): Remove useless "Documentation:"
14134 * timer.el (timer-set-time-with-usecs): Fix documentation.
14135 Simplify extraction of time data.
14137 2002-07-12 John Paul Wallington <jpw@shootybangbang.com>
14139 * help-fns.el (describe-variable): Mention if the variable is an
14140 alias. Put `defvaralias' info before the documentation.
14142 2002-07-12 Kenichi Handa <handa@etl.go.jp>
14144 * international/mule-cmds.el (locale-language-names): Change "mk"
14145 (Macedoninan), "ru" (Russian), and "sp" (Serbian with Cyrillic
14146 alphabet) to "Cyrillic-ISO".
14148 2002-07-11 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14150 * net/tramp.el (tramp-default-method): New default method "sm"
14151 which I guess to be good for most people.
14152 (tramp-default-method-alist): Use "ftp" method (ie, forwarding to
14153 Ange-FTP) for some user/host combinations.
14154 (tramp-file-name-structure, tramp-file-name-regexp)
14155 (tramp-make-tramp-file-format, tramp-make-tramp-file-user-nil-format)
14156 (tramp-multi-file-name-structure, tramp-multi-file-name-hop-structure)
14157 (tramp-make-multi-tramp-file-format): New default value which
14158 unifies the filename syntax between Tramp and Ange-FTP. The new
14159 syntax is "/method:user@host:path". Note the colon after the method.
14160 (tramp-handle-file-name-directory): Don't return "/" when
14161 completing a remote root directory (where the filename looks like
14162 "/method:user@host:/").
14163 (tramp-handle-ange-ftp): Deleted.
14164 (tramp-disable-ange-ftp): New function, called at toplevel,
14165 deletes Ange-FTP from file-name-handler-alist.
14166 (tramp-handle-make-symbolic-link): Implement.
14168 2002-07-10 Juanma Barranquero <lektu@terra.es>
14170 * ido.el (ido-enter-single-matching-directory): Delete leftover comment.
14172 * speedbar.el (speedbar-tag-hierarchy-method): Fix typos.
14173 (speedbar-vc-do-check): Likewise.
14174 (speedbar-obj-do-check): Likewise.
14175 (speedbar-mouse-hscroll): Likewise.
14176 (speedbar-file-lists): Likewise.
14178 * emacs-lisp/authors.el (authors-obsolete-file-p): Fix typo.
14180 2002-07-09 Ole Aamot <ole@gnu.org>
14182 * compile.el (compilation-error-regexp-alist):
14183 Recognize Valgrind messages.
14185 2002-07-09 Juanma Barranquero <lektu@terra.es>
14187 * faces.el (face-id): Fix typo.
14189 * hexl.el (hexl-mode): Likewise.
14191 * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
14193 * progmodes/ebnf-yac.el (ebnf-yac-error): Likewise.
14195 * speedbar.el (speedbar-make-specialized-keymap): Fix docstring.
14196 (speedbar-desired-buffer): Likewise.
14197 (speedbar-line-file): Likewise.
14198 (speedbar-special-mode-key-map): Fix typo.
14199 (speedbar-dynamic-tags-function-list): Likewise.
14200 (speedbar-use-images): Likewise.
14201 (speedbar-up-directory): Likewise.
14202 (speedbar-item-info): Likewise.
14203 (speedbar-set-timer): Likewise.
14204 (speedbar-insert-button): Likewise.
14205 (speedbar-make-button): Likewise.
14206 (speedbar-make-tag-line): Likewise.
14207 (speedbar-insert-files-at-point): Likewise.
14208 (speedbar-update-special-contents): Likewise.
14209 (speedbar-find-selected-file): Likewise.
14210 (speedbar-add-indicator): Likewise.
14211 (speedbar-do-function-pointer): Likewise.
14212 (speedbar-goto-this-file): Likewise.
14213 (speedbar-line-path): Likewise.
14214 (speedbar-mouse-event-p): Likewise.
14215 (speedbar-dir-follow): Likewise.
14216 (speedbar-tag-find): Likewise.
14217 (speedbar-fetch-etags-command): Likewise.
14218 (speedbar-fetch-etags-arguments): Likewise.
14219 (speedbar-toggle-etags): Likewise.
14220 (speedbar-extract-one-symbol): Likewise.
14221 (speedbar-parse-c-or-c++tag): Likewise.
14222 (speedbar-unhighlight-one-tag-line): Likewise.
14223 (speedbar-directory-face): Likewise.
14224 (defimage-speedbar): Likewise.
14225 (speedbar-convert-emacs21-imagespec-to-xemacs): Likewise.
14227 2002-07-09 Miles Bader <miles@gnu.org>
14229 * hexl.el (hexl-find-file): Bind `completion-ignored-extensions'
14230 to nil when prompting for a filename.
14232 2002-07-09 Kenichi Handa <handa@etl.go.jp>
14234 * files.el (insert-directory): Be sure to bind
14235 coding-system-for-write to the just decided coding-system-for-read.
14237 2002-07-09 Kim F. Storm <storm@cua.dk>
14239 * ido.el (ido-make-merged-file-list): Move fully matching item to
14241 (ido-find-common-substring): Return substring instead of t.
14243 2002-07-08 Juanma Barranquero <lektu@terra.es>
14245 * info.el (Info-directory-list): Fix docstring.
14247 2002-07-08 Miles Bader <miles@gnu.org>
14249 * comint.el (comint-dynamic-list-completions): Sort COMPLETIONS
14252 2002-07-08 Kim F. Storm <storm@cua.dk>
14254 * files.el (after-find-file): Don't check for read-only status
14255 of files just created (and not yet saved on disk).
14257 * ido.el (ido-completion-help): Changed xemacs specific code to
14258 avoid byte compiler warning in GNU emacs.
14259 (ido-set-matches1): Use regexp-quote instead of identity.
14260 (ido-complete-space): New function.
14261 (ido-define-mode-map): Bind it to SPACE.
14263 2002-07-07 Stefan Monnier <monnier@cs.yale.edu>
14265 * font-lock.el (font-lock-default-unfontify-region):
14266 Use remove-list-of-text-properties.
14267 (font-lock-extra-managed-props): Doc fix.
14269 * facemenu.el: Move `provide' to the end.
14270 (facemenu-read-color): Don't cons unnecessarily.
14272 * language/ind-util.el (indian-make-hash):
14273 * language/devan-util.el (dev-char-glyph-hash, dev-glyph-glyph-hash)
14274 (dev-glyph-glyph-2-hash): Switch makehash -> make-hash-table.
14276 * subr.el (insert-string): Update the obsolete info.
14277 (makehash): Move from C and mark obsolete.
14279 * emacs-lisp/debug.el (debug-on-entry): Fix the wrapper used for
14280 aliases to also work for interactive functions.
14281 Use the same wrapper for subroutines.
14282 (cancel-debug-on-entry): Get rid of the now-useless wrapper.
14283 (debug-on-entry-1): Correctly skip docstrings and interactive forms.
14285 * textmodes/texinfo.el (texinfo-font-lock-keywords): Disable the
14286 automatic environment name update.
14287 (texinfo-clone-environment): Fix it not to incorrectly match prefixes.
14289 2002-07-07 Richard M. Stallman <rms@gnu.org>
14291 * emacs-lisp/easymenu.el (easy-menu-popup-menu): Function deleted.
14293 * emacs-lisp/advice.el (ad-compile-function):
14294 Disable cl-function warnings if cl is loaded.
14296 * files.el (safe-local-eval-forms): New user option.
14297 (hack-one-local-variable-eval-safep): Support it.
14298 Also allow `safe-local-eval-function' property to be a function
14299 or a list of functions.
14300 (c-add-style): Delete `safe-local-eval-function' property.
14302 * files.el (after-find-file): Make buffer read-only if file is
14303 marked that way, even for root.
14305 * files.el (save-some-buffers): Doc fix.
14307 * bindings.el (completion-ignored-extensions): Add .gmo and .mo.
14309 2002-07-06 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
14311 * dos-w32.el (file-name-buffer-file-type-alist): Add knowledge of
14312 .sx[dmicw] file suffixes for Open office data files.
14314 * files.el (auto-mode-alist): Likewise.
14316 * international/mule.el (auto-coding-alist): Likewise.
14318 2002-07-05 Kim F. Storm <storm@cua.dk>
14320 * emulation/cua-rect.el (cua--rectangle-operation): Don't call
14321 FCT if current column is outside rectangle.
14322 (cua--delete-rectangle): Do nothing if zero width or out of bounds.
14324 2002-07-04 Stefan Monnier <monnier@cs.yale.edu>
14326 * net/ange-ftp.el: Use add-hook and find-file-hook.
14327 (ange-ftp-parse-netrc): Use run-hooks and find-file-hook.
14328 (ange-ftp-ls-parser): Make it into a function.
14329 Ignore trailing @ in symlink targets.
14330 (ange-ftp-file-entry-p): Ignore FTP errors.
14331 (ange-ftp-insert-directory): Use ange-ftp-expand-symlink
14332 to correctly expand "/flint:/bla -> ./etc" to /flint:/etc.
14334 2002-07-04 Per Abrahamsen <abraham@dina.kvl.dk>
14336 * simple.el (toggle-truncate-lines): New command.
14338 2002-07-04 Miles Bader <miles@gnu.org>
14340 * comint.el (comint-displayed-dynamic-completions): New variable.
14341 (comint-dynamic-list-completions): Be more careful about choosing
14342 when to scroll an existing completions window.
14344 2002-07-03 Andreas Schwab <schwab@suse.de>
14346 * net/tramp.el (tramp-handle-ange-ftp): Move interactive spec
14349 2002-07-03 Juanma Barranquero <lektu@terra.es>
14351 * net/tramp.el (tramp-send-eof): Fix typo.
14352 (tramp-kill-process): Likewise.
14354 * play/dunnet.el (dun-physobj-desc): Likewise.
14356 * textmodes/reftex-vars.el (reftex-label-alist): Likewise.
14358 * calendar/timeclock.el (timeclock-workday-remaining): Likewise.
14359 (timeclock-workday-elapsed): Likewise.
14361 * allout.el (outline-goto-prefix): Likewise.
14363 * emulation/tpu-edt.el (tpu-delete-to-eol): Likewise.
14364 (tpu-delete-to-bol): Likewise.
14366 * subr.el (chars-in-region): Add obsolescence declaration for
14369 2002-07-03 Miles Bader <miles@gnu.org>
14371 * faces.el (header-line): Don't use a `common' clause for
14372 inheriting from the mode-line face, since we can't override it,
14373 and we don't want it for ttys.
14375 2002-07-02 Richard M. Stallman <rms@gnu.org>
14377 * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop.
14379 * files.el (hack-one-local-variable-constantp): New function.
14380 (hack-one-local-variable-eval-safep): New function.
14381 Check for `eval:' calling fn with `safe-local-eval-function' property.
14382 (hack-one-local-variable): Use hack-one-local-variable-eval-safep.
14383 (c-add-style, c-set-style): Add safe-local-eval-function property.
14385 * files.el (insert-directory): Handle --dired option to ls.
14387 * files.el (file-remote-p): New function.
14389 * emacs-lisp/easymenu.el (easy-menu-popup-menu): New function.
14391 * startup.el (fancy-splash-screens): Switch to a chosen frame.
14392 (fancy-splash-frame): Choose the right frame to use.
14393 (use-fancy-splash-screens-p): Check dimensions of the right frame
14394 in order to decide.
14396 * emacs-lisp/bytecomp.el (byte-compile-warning-types):
14397 Rename cl-func to cl-functions. Enable it by default.
14398 (byte-compile-file-form-eval-boundary): Turn off cl-functions warnings
14399 if the file loads cl.
14400 (byte-compile-initial-macro-environment): For eval-and-compile,
14401 use byte-compile-eval-before-compile to eval.
14402 (byte-compile-eval-before-compile): New function to turn off
14403 cl-functions when appropriate, for eval-and-compile.
14404 (byte-compile-warnings): Doc fix.
14406 2002-07-02 Dave Love <fx@gnu.org>
14408 * emacs-lisp/bytecomp.el (byte-compile-warnings): Add cl-func option.
14409 (byte-compile-cl-warn): New function.
14410 (byte-compile-form): Use it, to warn about calling cl functions.
14411 (byte-compile-warning-types): Doc fix.
14413 2002-07-02 Juanma Barranquero <lektu@terra.es>
14415 * mail/rmailsum.el (rmail-user-mail-address-regexp): Fix typo.
14417 * textmodes/reftex-cite.el (reftex-citation): Fix typo.
14419 * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent):
14422 2002-07-02 Kim F. Storm <storm@cua.dk>
14424 * emacs-lisp/bindat.el: New file.
14426 2002-07-01 Sam Steingold <sds@gnu.org>
14428 * textmodes/tex-mode.el (tex-file): Call `save-some-buffers'
14429 before `tex-main-file' because if the current buffer is new, its
14430 file might not exist yet, and then `tex-main-file' will
14431 incorrectly return "foo.tex.tex".
14433 2002-07-01 Juanma Barranquero <lektu@terra.es>
14435 * ido.el (ido-minibuffer-setup-hook): Doc fix.
14437 2002-07-01 Dave Love <fx@gnu.org>
14439 Make strokes a proper minor mode, and don't try to overload
14440 mouse-2, which doesn't work satisfactorily.
14442 * strokes.el: Doc fixes.
14443 (strokes-mode): Defcustom deleted; replaced by minor mode def with
14444 re-written function.
14445 (strokes-while-inhibiting-garbage-collector): Comment out.
14446 (define-stroke, strokes-fix-button2-command, strokes-insinuated)
14447 (strokes-insinuate, global-set-stroke, describe-stroke)
14448 (load-user-strokes, save-strokes, strokes-bug-address)
14449 (strokes-click-command): Deleted.
14450 (strokes-execute-stroke): Remove strokes-click-p case.
14451 (strokes-describe-stroke): Remove strokes-click-p stuff.
14452 (strokes-help): Fix.
14453 (strokes-report-bug): Alias to report-emacs-bug.
14454 (strokes-prompt-user-save-strokes): Modify format of the file.
14455 (strokes-mode-map, strokes-unload-hook): New.
14456 (strokes-buffer-name): Don't customize.
14458 2002-07-01 Richard M. Stallman <rms@gnu.org>
14460 * info.el (Info-index): Get immediate error if used in `dir'.
14462 * textmodes/picture.el (picture-forward-column)
14463 (picture-move-down): Never deactivate the mark.
14465 2002-06-30 Simon Josefsson <jas@extundo.com>
14467 * menu-bar.el (menu-bar-options-menu): Move elisp mode names from
14468 menu entry into balloon help.
14470 2002-06-30 Andreas Schwab <schwab@suse.de>
14472 * files.el (directory-free-space-args): Don't use `-P' on Darwin.
14473 * term/mac-win.el: Don't set it here.
14475 2002-06-29 Stefan Monnier <monnier@cs.yale.edu>
14477 * pcvs-defs.el (cvs-mode-map): Bind ! to `force'.
14479 2002-06-29 Andreas Schwab <schwab@suse.de>
14481 * term/mac-win.el: Use directory-free-space-program instead of
14482 obsolete variable dired-free-space-program. On Darwin, don't set
14483 directory-free-space-program, shell-file-name and
14484 process-connection-type; set directory-free-space-args to not
14485 include `-P' and use utf-8 for file name coding system.
14487 * simple.el (shell-command-on-region): Handle errors and signals
14488 from shell command execution.
14489 (display-message-or-buffer): Fix last change.
14490 (shell-command-default-error-buffer): Doc fix.
14492 * dired.el (dired-view-file): Quote file name for
14493 dired-run-shell-command.
14495 2002-06-29 Kim F. Storm <storm@cua.dk>
14497 * kmacro.el: New file.
14499 2002-06-28 John Wiegley <johnw@gnu.org>
14501 * pcmpl-cvs.el: Added my name as the maintainer of this file.
14503 2002-06-28 Andreas Schwab <schwab@suse.de>
14505 * shell.el (explicit-bash-args): New user option.
14507 2002-06-28 Kim F. Storm <storm@cua.dk>
14509 * ido.el: New file.
14511 2002-06-28 Stefan Monnier <monnier@cs.yale.edu>
14513 * derived.el (define-derived-mode): Preserve the `mode-class' rather
14514 than the `special' symbol property.
14515 (derived-mode-class): Make it obsolete.
14517 2002-06-27 Andreas Schwab <schwab@suse.de>
14519 * net/tramp.el (tramp-handle-ange-ftp): Fix typo.
14521 2002-06-27 Juanma Barranquero <lektu@terra.es>
14523 * emacs-lisp/bytecomp.el (baud-rate): Fix obsolescence declaration.
14524 (meta-flag): Likewise.
14526 * international/mule-util.el (string-to-sequence): Likewise.
14528 * subr.el (char-bytes): Likewise.
14529 (make-local-hook): Likewise.
14530 (baud-rate): Remove redundant info from docstring.
14532 * faces.el (frame-update-faces): Fix obsolescence declaration.
14533 (internal-get-face): Remove redundant info from docstring and
14534 fix obsolescence declaration.
14536 * rect.el (move-to-column-force): Likewise.
14538 * help-fns.el (describe-function-1): Use semicolon instead of dot.
14539 (describe-variable): Likewise.
14541 2002-06-27 Stefan Monnier <monnier@cs.yale.edu>
14543 * mwheel.el (mouse-wheel-change-button): Deactivate before changing.
14544 (mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
14545 (mouse-wheel-up-event, mouse-wheel-down-event): New vars.
14546 (mouse-wheel-follow-mouse): Change default to t.
14547 (mwheel-event-button): Return the basic event symbol.
14548 (mwheel-scroll): Work with non-mouse events.
14549 (mouse-wheel-mode): Use the new vars.
14550 (mwheel-install): Obey `uninstall'.
14552 * term/xterm.el (function-key-map): Add some bindings.
14554 * uniquify.el (uniquify-delay-rationalize-file-buffer-names):
14555 Rename from delay-uniquify-rationalize-file-buffer-names.
14556 Only rationalize if the buffer is under uniquify control.
14557 (uniquify-delayed-rationalize-file-buffer-names):
14558 Rename from delayed-uniquify-rationalize-file-buffer-names.
14560 2002-06-27 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14562 * net/tramp.el (tramp-file-name-structure)
14563 (tramp-multi-file-name-hop-structure): Split for easier readability.
14564 (tramp-handle-make-symbolic-link): Use user/host/method/... from
14565 LINKNAME, not FILENAME.
14566 (tramp-handle-verify-visited-file-modtime):
14567 Call tramp-ange-ftp-file-name-p with right parameters.
14568 (tramp-handle-verify-visited-file-modtime): `insert' does not
14569 work for integers, convert them to strings first.
14570 (tramp-handle-ange-ftp): New function to perform setup for
14571 replacing Ange-FTP with Tramp.
14572 (tramp-repair-jka-compr): New function to factor out some
14573 previously top-level code. Call the function at top-level.
14575 2002-06-27 Juanma Barranquero <lektu@terra.es>
14577 * composite.el (decompose-composite-char): Fix docstring.
14579 * faces.el (describe-face): Capitalize "not documented" message.
14581 * help-fns.el (describe-variable): Likewise.
14582 (describe-function-1): Likewise. Also, document the obsolescence
14583 of the function, if applicable.
14585 2002-06-26 Juanma Barranquero <lektu@terra.es>
14587 * info.el (info-menu-5): Fix documentation.
14588 (Info-fontify-maximum-menu-size): Remove reference to `Info-fontify'.
14590 2002-06-26 Richard M. Stallman <rms@gnu.org>
14592 * emacs-lisp/cl.el (values): Simplify definition.
14594 * simple.el (shell-command): Match & only at end of whole command.
14595 (display-message-or-buffer): Don't use the echo area
14596 if output buffer is visible.
14598 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Doc fixes.
14600 * progmodes/cperl-mode.el: Many trivial doc fixes.
14601 (cperl-non-problems): Definition deleted.
14602 (cperl-menu): Don't refer to cperl-non-problems.
14603 (cperl-word-at-point): Add doc string.
14604 (cperl-beautify-regexp-piece): Fix error message.
14605 (cperl-invert-if-unless): Fix error message.
14607 * dired.el (dired-find-alternate-file): Mark as disabled.
14609 2002-06-25 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14611 * net/tramp.el (tramp-ftp-method): New user option.
14612 (tramp-invoke-ange-ftp): New function to forward calls to Ange-FTP.
14613 (with-parsed-tramp-file-name): New macro for the usual big `let'
14614 statement to dissect a file-name.
14615 (tramp-handle-make-symbolic-link, tramp-handle-load)
14616 (tramp-handle-file-name-directory)
14617 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
14618 (tramp-handle-file-truename, tramp-handle-file-directory-p)
14619 (tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
14620 (tramp-handle-file-writable-p, tramp-handle-file-writable-p):
14621 Use the new macro and forward call to Ange-FTP if applicable.
14622 (tramp-make-ange-ftp-file-name): New helper function to convert a
14623 file name into an Ange-FTP file name, used by `tramp-invoke-ange-ftp'.
14624 (tramp-default-method-alist): New user option.
14625 (tramp-find-default-method): Use it.
14626 (tramp-sh-extra-args): New variable.
14627 (tramp-find-shell): Use it.
14628 (tramp-open-connection-rsh): Support a kludgy feature for the
14629 "-p" option to ssh. If host name is given as "host#42", uses the
14632 2002-06-25 Andreas Schwab <schwab@suse.de>
14634 * replace.el (occur-1): Avoid invalid message format string.
14636 2002-06-24 Stefan Monnier <monnier@cs.yale.edu>
14638 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn):
14639 Check for `noruntime' even if the function has a known sig.
14640 (byte-compile-file, byte-compile-output-docform):
14641 Don't hard code point-min = 1.
14643 * pcvs.el (cvs-parse-process): Don't save/restore point.
14644 Fix last change not to introduce spurious dir FIs.
14645 (cvs-move-to-goal-column): New function extracted from
14646 cvs-mode-previous-line.
14647 (cvs-mode-previous-line, cvs-mode-next-line): Use it.
14648 (cvs-addto-collection): Use it to preserve point.
14649 (cvs-vc-command-advice): Ad-hoc workaround for `cvs -q add'.
14651 * mwheel.el (mouse-wheel-scroll-amount,mwheel-scroll,mouse-wheel-mode):
14652 Don't require the first element to be modifier-free.
14654 * pcvs-parse.el (cvs-parse-table):
14655 Handle `nothing known about' with more care.
14657 * pcvs.el (cvs-fileinfo-kill): Remove.
14658 (cvs-parse-process): Add `old-fis' argument.
14659 (cvs-mode-run): Use it instead of cvs-fileinfo-kill.
14661 * descr-text.el (describe-property-list): Make sure there's
14662 a space between the property name and its value.
14663 (describe-text-properties): Don't kill a pre-existing buffer.
14665 * mwheel.el: Undo last patch from Stephen Gildea for now.
14667 2002-06-24 Kim F. Storm <storm@cua.dk>
14669 * emulation/keypad.el: Added :require 'keypad to defcustoms.
14671 2002-06-23 Stefan Monnier <monnier@cs.yale.edu>
14673 * subr.el (event-start, event-end, event-click-count):
14674 Accept non-mouse events as well.
14675 (read-key): New function.
14676 (read-quoted-char): Use it. Use this-single-command-raw-keys as well.
14678 * files.el: Rename (and mark as obsolete)
14679 find-file-hooks to find-file-hook,
14680 find-file-not-found-hooks to find-file-not-found-functions,
14681 write-file-hooks to write-file-functions,
14682 write-contents-hooks to write-contents-functions.
14683 Mark local-write-file-hooks as obsolete.
14684 (locate-file-completion): Don't cons uselessly. Use test-completion.
14685 (basic-save-buffer): Use (point-min) rather than 1.
14686 (basic-save-buffer-2): Obey the `setmodes' returned by backup-buffer.
14688 * help-fns.el (describe-variable): Only use `buffer' is still live.
14689 Use `delete-region' instead of save-excursion + delete-char.
14690 Document the obsolescence of the variable, if applicable.
14692 2002-06-23 Glenn Morris <gmorris@ast.cam.ac.uk>
14694 * progmodes/f90.el (f90-do-auto-fill): Respect the value of
14695 comment-auto-fill-only-comments.
14697 2002-06-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14699 * net/ange-ftp.el (backup-buffer): Delete `ange-ftp' property.
14700 This is not a handled operation.
14702 2002-06-21 Kim F. Storm <storm@cua.dk>
14704 * emulation/cua-base.el (cua--prefix-arg): Make register prefixes
14705 work again. Corrected error in check for C-u initiated prefix.
14707 * emulation/keypad.el (keypad-setup): Handle kp-begin like kp-space.
14709 2002-06-21 Richard M. Stallman <rms@gnu.org>
14711 * net/browse-url.el (browse-url-at-mouse): Don't pass an arg
14712 to browse-url-at-point.
14714 * play/zone.el (zone-idle): Var deleted.
14716 * international/iso-acc.el (iso-languages) <french>:
14717 `~ ' now generates `~', `~,' definition deleted.
14719 * format.el (format-annotate-function): Copy multibyte flag
14720 and selective-display into the new temp buffer.
14722 * edmacro.el (edmacro-fix-menu-commands):
14723 Discard `help-echo' events. Handle (menu-bar) events.
14724 Simplify by converting key sequence to a list and then back to vector.
14726 2002-06-21 Stephen Gildea <gildea@stop.mail-abuse.org>
14728 * mwheel.el: Allow arbitrary keys for scrolling, add a third
14729 scrolling speed, fix an unwind-protect.
14730 (mouse-wheel-scroll-amount): Now a three-element list.
14731 (mouse-wheel-scroll-down-slow, mouse-wheel-scroll-up-slow)
14732 (mouse-wheel-scroll-down-normal, mouse-wheel-scroll-up-normal)
14733 (mouse-wheel-scroll-down-fast, mouse-wheel-scroll-up-fast):
14736 2002-06-21 Andreas Schwab <schwab@suse.de>
14738 * files.el (find-file-read-args): Add new argument `mustmatch' and
14739 pass it down to read-file-name.
14740 (find-file, find-file-other-window, find-file-other-frame)
14741 (find-file-read-only, find-file-read-only-other-window)
14742 (find-file-read-only-other-frame): Use it and fix prompts.
14744 2002-06-21 Stefan Monnier <monnier@cs.yale.edu>
14746 * pcvs-defs.el (cvs-version): Use cvs-program rather than "cvs".
14748 2002-06-20 Emmanuel Briot <briot@act-europe.fr>
14750 * progmodes/ada-mode.el: Update copyright notice.
14751 Synchronize with GNAT release 3.15a1.
14752 Do not attempt to load ada-support, which is only for compatibility
14753 with older Emacs versions, and is not needed for Emacs 21.
14754 Fix various calls to count-lines, that didn't work correctly when the
14755 buffer was narrowed.
14756 (ada-continuation-indent): New variable.
14757 (ada-contextual-menu): New entry "List local references", faster than
14759 (ada-mode): New alignment rules provided by S. Leake.
14760 Add support for which-function-mode.
14761 (ada-get-current-indent): Fix indentation of named parameter lists and
14762 nested boolean expressions.
14763 (ada-indent-on-previous-lines): Fix indentation of labels.
14764 (ada-search-prev-end-stmt): Fix searching of the previous
14765 end-statement, specially with regards to nested subprograms.
14766 (comment-region advice): Initially disabled, for better compatibility
14768 (ada-fill-comment-paragraph): Fixed (no longer worked with Emacs 21).
14770 * progmodes/ada-xref.el: Update copyright notice.
14771 (ada-xref-create-ali): The default is now not to create automatically
14772 the ALI files by compiling the unit, since this isn't always reliable
14773 and requires an up-to-date project file.
14774 (ada-prj-default-comp-cmd): No longer use gcc directly to compile
14775 a file, but use gnatmake instead, since this gives access to the GNAT
14777 (ada-xref-search-with-egrep): New variable, suggested by P. Waroquiers.
14778 (ada-load-project-hook): New variable, for support of GNAT
14780 (ada-update-project-menu): Fix the detection of the project file name.
14781 (ada-add-keymap): Change key binding for ada-find-file, that conflicted
14782 with another binding in ada-mode.el.
14783 (ada-add-menu): New menu "List Local References", to list the reference
14784 to the entity only in the current file, instead of looking in the whole
14785 project. Much faster.
14786 (ada-find-references): New parameters arg and local-only.
14787 (ada-find-any-references): New parameters local-only and append.
14788 (ada-goto-declaration): Fix handling of predefined entities in xref.
14789 (ada-get-all-references): Updated to the new xref format in GNAT 3.15,
14790 still compatible with GNAT 3.14 of course. Fix various calls to
14791 count-lines, that didn't work correctly when the buffer was narrowed.
14793 * progmodes/ada-prj.el: Update copyright.
14794 (ada-prj-load-directory): Make sure we do not use one of the new Emacs
14795 21 dialogs to select the file, since we want a directory name only.
14796 (ada-customize): Add support for the new GNAT project files.
14798 2002-06-20 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
14800 * progmodes/etags.el (tag-implicit-name-match-p): New function.
14801 (etags-recognize-tags-table): Use it for implicit tag names.
14803 2002-06-20 Miles Bader <miles@gnu.org>
14805 * comint.el (comint-get-old-input-default): Strip text properties
14808 * comint.el (comint-output-filter): Run output-filter functions
14809 before setting up the prompt.
14811 * international/characters.el: Re-enable code giving word syntax
14812 to certain japanese-jisx0208 characters.
14814 2002-06-19 Glenn Morris <gmorris@ast.cam.ac.uk>
14816 * progmodes/f90.el (f90-type-def-re): Fix value.
14817 (f90-looking-at-type-like): Adapt for new `f90-type-def-re' value.
14819 2002-06-18 Stefan Monnier <monnier@cs.yale.edu>
14821 * international/quail.el (quail-help): Don't assume the buffer
14822 is displayed in the same frame.
14824 * emacs-lisp/debug.el (cancel-debug-on-entry):
14825 * emacs-lisp/regexp-opt.el (regexp-opt-group): Don't cons uselessly.
14827 * pcvs.el (cvs-vc-command-advice): Handle the case where args
14828 are passed to `cvs' before the command name.
14829 (cvs-fileinfo-kill): Mark old FIs as up-to-date rather than dead.
14831 * pcvs-info.el (cvs-add-face): Minor rewrite.
14832 (cvs-fileinfo-pp): Use `cvs-goal-column' with directory entries.
14834 * newcomment.el (comment-normalize-vars): Refresh the comment-foo-skip
14835 regexp when they don't match comment-foo any more.
14837 2002-06-18 Juanma Barranquero <lektu@terra.es>
14839 * filesets.el (filesets-update-pre010505): Fix typo.
14841 * eshell/em-pred.el (eshell-modifier-help-string): Fix typos.
14843 * emulation/edt.el (edt-substitute): Fix typo.
14845 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Fix typo.
14847 * comint.el (comint-next-prompt, comint-previous-prompt): Fix typos.
14849 * progmodes/sh-script.el (sh-electric-rparen-needed): Remove.
14851 2002-06-17 Richard M. Stallman <rms@gnu.org>
14853 * facemenu.el (facemenu-map): Rename to Describe Text
14854 to Describe Properties and use describe-text-properties.
14856 * simple.el (what-cursor-position): Use describe-char.
14858 * descr-text.el (describe-char): Moved from mule-diag.el, renamed
14859 from describe-char-after. Now calls describe-text-properties.
14860 (describe-property-list): Renamed from describe-text-properties.
14861 (describe-text-properties): Renamed from describe-text-at.
14862 New arg OUTPUT-BUFFER.
14863 (describe-text-properties-1):
14864 New subroutine, broken out from describe-text-properties.
14865 Output a newline before each section of the output.
14867 * international/mule-diag.el (describe-char-after):
14868 Moved to descr-text.el.
14870 2002-06-17 Eli Zaretskii <eliz@is.elta.co.il>
14872 * international/mule.el (ctext-pre-write-conversion): Fix the values
14873 of FROM and TO if we create a new buffer.
14875 2002-06-17 John Paul Wallington <jpw@shootybangbang.com>
14877 * comint.el (comint-insert-clicked-input): Insert clicked-on
14878 previous input without properties.
14880 2002-06-16 Andrew Choi <akochoi@shaw.ca>
14882 * term/mac-win.el (scalable-fonts-allowed): Set to t.
14884 2002-06-15 Colin Walters <walters@debian.org>
14886 * pcvs-info.el (global-font-lock-mode, font-lock-auto-fontify):
14888 (cvs-highlight): Delete.
14889 (cvs-add-face): Use `font-lock-face'. Always add properties.
14891 * ibuffer.el (ibuffer-movement-cycle): New variable.
14892 (ibuffer-backward-line, ibuffer-forward-line): Use it.
14894 2002-06-15 Richard M. Stallman <rms@gnu.org>
14896 * emacs-lisp/bytecomp.el (byte-recompile-directory): Doc fix.
14897 (batch-byte-recompile-directory): Undo previous change.
14899 * comint.el (comint-skip-input): New function.
14900 (comint-interrupt-subjob, comint-kill-subjob, comint-quit-subjob)
14901 (comint-stop-subjob): Use comint-skip-input.
14903 * ielm.el (ielm-eval-input): Use error-message-string.
14904 (ielm-format-error, ielm-format-errors): Functions deleted.
14906 2002-06-14 Kim F. Storm <storm@cua.dk>
14908 * progmodes/compile.el (grep-tree): Doc fixes.
14909 Added SUBDIRS arg for non-interactive use.
14911 2002-06-14 Juanma Barranquero <lektu@terra.es>
14913 * comint.el (comint-snapshot-last-prompt):
14914 Bind `inhibit-read-only' to t to support read-only prompts.
14915 (comint-output-filter): Likewise.
14917 2002-06-14 Miles Bader <miles@gnu.org>
14919 * subr.el (copy-tree): Use `nconc' and `nreverse' instead of `nreconc'.
14920 (pop): Move the call to `car' outside the prog1, as the compiler
14921 then generates better code.
14923 2002-06-13 Richard M. Stallman <rms@gnu.org>
14925 * play/zone.el (zone-timer): New variable holds the idle timer.
14926 (zone): Don't fiddle with the idle timer at all.
14927 (zone-when-idle): Put the idle timer in zone-timer.
14928 If one is already set up, cancel it and make a new one.
14929 (zone-leave-me-alone): Likewise.
14931 2002-06-13 Jason Rumney <jasonr@gnu.org>
14933 * w32-fns.el (w32-charset-info-alist): Reorder.
14935 2002-06-13 Andreas Schwab <schwab@suse.de>
14937 * files.el (auto-mode-alist): Move entry for ".in" to the end.
14939 2002-06-13 Miles Bader <miles@gnu.org>
14941 * comint.el (comint-mode): Don't set `font-lock-defaults'.
14942 (comint-mode-hook): Turn on font-lock by default.
14944 2002-06-12 Karl Fogel <kfogel@red-bean.com>
14946 * bookmark.el (bookmark-file-or-variation-thereof):
14947 Restore vc-backend check, thanks to Robert Thorpe for noticing.
14949 2002-06-12 Eli Zaretskii <eliz@is.elta.co.il>
14951 * textmodes/bibtex.el: Change the maintainer to "none".
14953 2002-06-12 Juanma Barranquero <lektu@terra>
14955 * term/w32-win.el (x-handle-switch): Fix handling of
14956 x-invocation-args for switches with arguments.
14958 2002-06-12 Stefan Monnier <monnier@cs.yale.edu>
14960 * menu-bar.el (menu-bar-showhide-fringe-menu): Don't use `fringe-mode'
14961 without first making sure it's bound.
14963 2002-06-12 Richard M. Stallman <rms@gnu.org>
14965 * info.el (Info-fontify-node): Compute header line specially
14966 if node has no next, previous or up links.
14967 Hide the part of the first line that is used in the header.
14968 Use Info-next-link-keymap, etc.
14969 (Info-next-link-keymap, Info-prev-link-keymap)
14970 (Info-up-link-keymap): New variables.
14972 * international/mule-diag.el (describe-char-after): Doc fix.
14974 * view.el (view-mode-enter): Clarify echo area message.
14976 * info.el (Info-select-node): Turn header line on or off here.
14977 (Info-setup-header-line): Function deleted.
14978 (Info-mode): Make Info-header-line local.
14979 (Info-fontify-node): Ignore Info-use-header-line.
14980 Unconditionally compute what the header line should be, and
14981 store it on the `header-line' property of the node's first char.
14982 Bind [header-line down-mouse-1].
14983 Use `keymap' property, not `local-map'.
14984 Bind [mouse-2] for mouse clicks on the node line in the text.
14986 * font-lock.el (font-lock-beginning-of-syntax-function): Doc fix.
14988 2002-06-12 Miles Bader <miles@gnu.org>
14990 * comint.el (comint-send-input): Properly handle empty and
14991 no-newline input regions.
14993 2002-06-12 Colin Walters <walters@gnu.org>
14995 * calc/calc.el: Use `when', `unless'.
14996 (calc-trail-mode): Use an italic `font-lock-face'.
14997 (calc-refresh): Ditto.
14999 2002-06-12 Colin Walters <walters@debian.org>
15001 * font-core.el (font-lock-core-only): Variable deleted.
15003 (font-lock-set-defaults): Variable alist settings moved back into
15004 font-lock-set-defaults-1.
15005 (turn-on-font-lock-if-enabled): Always turn on font-lock unless it
15006 is specifically excluded by the user.
15008 * font-lock.el (font-lock-set-defaults-1): Set variable alist here.
15010 * help-mode.el (help-mode): Don't set `font-lock-defaults'.
15012 * ibuffer.el (ibuffer-mode): Don't set `font-lock-defaults'.
15014 * info.el (Info-mode): Don't set `font-lock-defaults'.
15016 * replace.el (occur-mode): Don't set `font-lock-defaults'.
15018 * help-mode.el (help-highlight-p, help-highlight-face):
15019 Variable was unused; delete.
15020 (help-make-xrefs): Doc fix.
15022 2002-06-11 Richard M. Stallman <rms@gnu.org>
15024 * format.el (format-alist): Document new element PRESERVE.
15025 (format-write-file): Implement PRESERVE elt for a format.
15027 * files.el (make-auto-save-file-name): Rename local `filename' to
15030 2002-06-10 Richard M. Stallman <rms@gnu.org>
15032 * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Use copy-sequence.
15033 (ebrowse-copy-list): Function deleted.
15035 * eshell/em-unix.el (eshell/diff): Use copy-sequence.
15037 * eshell/esh-mode.el (eshell-mode, eshell-mode): Use copy-sequence.
15039 * eshell/esh-util.el (eshell-copy-list): Function deleted.
15040 (eshell-sublist): Use copy-sequence.
15041 (eshell-copy-tree): Make it an alias for copy-tree.
15043 * emacs-lisp/cl.el (copy-list): Moved back from subr.el.
15045 * subr.el (copy-list): Moved to cl.el.
15046 (copy-tree): Don't use copy-list or cl-pop.
15048 2002-06-10 Miles Bader <miles@gnu.org>
15050 Make comint use text properties for highlighting instead of overlays:
15051 * comint.el (comint-last-output-overlay): Variable removed.
15052 (comint-send-input, comint-output-filter): Use text properties
15053 instead of overlays.
15054 (comint-insert-clicked-input): Rewrite to work with text
15055 properties as well as overlays
15056 (comint-snapshot-last-prompt): Snapshot using text properties.
15057 (comint-get-old-input-default, comint-extract-string): Don't copy
15060 * simple.el (line-move-finish): Inhibit field motion when
15061 computing `line-end'.
15063 * files.el (revert-buffer): Correct typo: variable name is
15064 `buffer-file-format', not `buffer-file-formats'.
15066 * comint.el (comint-send-input, comint-output-filter): Use the
15067 `font-lock-face' property instead of `face'. Don't check the
15068 highlight-enabling variables anymore.
15069 (comint-highlight-input, comint-highlight-prompt): Variables removed.
15071 * faces.el (display-supports-face-attributes-p): New function.
15072 (face-spec-set-match-display): Support `supports' predicate.
15073 (italic): Try underlining for displays that don't support real italics.
15074 * cus-edit.el (custom-display): Add support for `supports' predicate.
15075 * term/tty-colors.el (color-name-rgb-alist): Use 16-bit RGB values
15076 instead of 8-bit, for consistency with the rest of emacs.
15077 (tty-color-canonicalize): Only copy COLOR if we need to change it.
15078 (tty-color-approximate): Scale values from `color-name-rgb-alist'
15079 appropriately. Return the whole color description, rather than
15080 just the RGB values.
15081 (tty-color-standard-values): New function. Code mostly taken from
15082 `tty-color-translate'.
15083 (tty-color-translate, tty-color-values): Use `tty-color-desc' to
15085 (tty-color-desc): Do color lookup here instead of calling
15086 `tty-color-translate' and `tty-color-by-index'; this is now the
15087 main place to do it.
15089 2002-06-09 Martin Stjernholm <bug-cc-mode@gnu.org>
15091 * progmodes/cc-style.el (c-set-style, c-set-style-1):
15092 Add another state for the `dont-override' flag where it only keeps
15093 globally set variables.
15095 2002-06-08 Colin Walters <walters@gnu.org>
15097 * descr-text.el (describe-text-properties): Sort the output by the
15098 size of the values. Put `font-lock-face' property on property names.
15099 (toplevel): Provide `descr-text'.
15101 * international/mule-diag.el (describe-char-after): When there are
15102 text properties, require `descr-text', and just call
15103 `describe-text-properties'.
15105 * international/mule.el (sgml-html-meta-auto-coding-function):
15107 (auto-coding-from-file-contents): Delete; merge functionality into
15109 (set-auto-coding): Move tests from `auto-coding-functions' so that
15110 they have a lower priority than coding: tags.
15111 Put `auto-coding-regexp-alist' tests before coding: tag tests.
15112 (sgml-xml-auto-coding-function): Simply `intern' the match, and
15113 test if it's a valid coding system.
15114 (auto-coding-functions): Add `sgml-html-meta-auto-coding-function'.
15116 2002-06-08 Colin Walters <walters@verbum.org>
15118 * subr.el (copy-list): Moved here from cl.el.
15119 (copy-tree): Renamed here from `cl-copy-tree' in cl-extra.el.
15121 * emacs-lisp/cl-extra.el (cl-copy-tree): Moved to `copy-tree' in
15122 subr.el. Add a defalias with the old name.
15124 * emacs-lisp/cl.el (copy-list): Moved to subr.el.
15126 * replace.el (occur-mode): Don't set up categories. Do set
15127 `font-lock-defaults', and be sure to set `font-lock-core-only'.
15128 (occur-1): Pass `list-matching-lines-face' and
15129 `list-matching-lines-buffer-name-face'.
15130 (occur-engine): Use `font-lock-face' instead of categories.
15132 * info.el (Info-mode): Don't set up categories. Do set
15133 `font-lock-defaults', and be sure to set `font-lock-core-only'.
15134 (Info-fontify-menu-headers): Use `font-lock-face' instead of
15136 (Info-fontify-node): Ditto.
15138 * ibuffer.el (ibuffer-category-alist): Delete.
15139 (ibuffer-get-category): Delete.
15140 (ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
15142 (ibuffer-compile-format): Don't treat `name' category specially.
15143 (ibuffer-column name): Use `font-lock-face'.
15144 (filename-and-process): Ditto.
15145 (ibuffer-buffer-name-category): Renamed to
15146 `ibuffer-buffer-name-face'. Don't use categories.
15147 (ibuffer-update-title-and-summary): Use `font-lock-face'.
15148 (ibuffer-insert-filter-group): Ditto.
15149 (ibuffer-mode): Don't set up categories. Do set
15150 `font-lock-defaults', and be sure to set `font-lock-core-only'.
15151 (ibuffer-compile-format): Don't pass third argument
15152 to column functions.
15153 (filename-and-process): Ditto.
15155 * ibuf-macs.el (define-ibuffer-column): Don't create a third
15156 argument for the generated function.
15158 * font-core.el (font-lock-category-alist): Delete.
15159 (turn-on-font-lock-if-enabled): Don't use it.
15160 (font-lock-symbol-category-alist): Delete.
15161 (font-lock-default-function): Use new `char-property-alias-alist'
15162 to make `font-lock-face' an alias for `face' when font-lock mode
15164 (font-lock-core-only): New variable.
15165 (font-lock-set-defaults): Use it.
15167 2002-06-08 Richard M. Stallman <rms@gnu.org>
15169 * files.el (find-file-noselect-1): Undo previous change.
15171 * bookmark.el (bookmark-file-or-variation-thereof): Doc fix.
15173 2002-06-07 Karl Fogel <kfogel@red-bean.com>
15175 * bookmark.el (bookmark-file-or-variation-thereof): Just use
15176 Info-suffix-list, as suggested by Stefan Monnier.
15178 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il>
15180 * select.el (xselect-convert-to-string): If VALUE is a string,
15181 return a cons of TYPE and the string.
15183 2002-06-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
15185 * language/cyrillic.el (cyrillic-alternativnyj-decode-table):
15186 Fix the table to contain correct characters.
15188 2002-06-04 Richard M. Stallman <rms@gnu.org>
15190 * simple.el: Don't require cl.
15192 2002-06-03 Richard M. Stallman <rms@gnu.org>
15194 * dired.el (dired-do-shell-command): Doc fix in autoload.
15196 * info.el (Info-extract-pointer): Ignore Info-header-line.
15198 * progmodes/cc-mode.el (c-postprocess-file-styles):
15199 Do nothing except in CC modes.
15201 * international/mule-cmds.el (select-safe-coding-system):
15202 When computing auto-cs, narrow to FROM...TO.
15203 Put save-excursion outside save-restriction.
15204 New arg FILE; use that for set-auto-coding.
15206 2002-06-01 Richard M. Stallman <rms@gnu.org>
15208 * simple.el (choose-completion-string-functions): Doc fix.
15209 (choose-completion-string): Add doc string.
15211 2002-06-01 Kim F. Storm <storm@cua.dk>
15213 * simple.el: Reworked previous change.
15214 (choose-completion-string1): Merged back into choose-completion-string.
15215 (choose-completion-string): Run choose-completion-string-functions
15216 after checking for proper minibuffer window. Added mini-p arg to
15217 the hook functions. Insert choice if all hook functions return nil.
15218 (choose-completion-string-functions): Doc update.
15220 2002-06-01 Sam Steingold <sds@gnu.org>
15222 * files.el (auto-mode-alist): Strip trailing ".in" from the file
15223 name when deciding the mode (for config.h.in, Makefile.in etc).
15225 2002-06-01 Thien-Thi Nguyen <ttn@gnu.org>
15227 * progmodes/prolog.el (prolog-mode-syntax-table): Add flags to
15228 ?/ and ?* entries to support /* */ style comments.
15229 (prolog-font-lock-keywords): New var.
15230 (prolog-mode): Enable font-locking; set `font-lock-defaults'.
15232 2002-06-01 Kim F. Storm <storm@cua.dk>
15234 * simple.el (choose-completion-string-functions): New special hook.
15235 (choose-completion-string1): Renamed from choose-completion-string.
15236 (choose-completion-string): Run choose-completion-string-functions
15237 until success, and only call choose-completion-string1 if it fails.
15239 2002-05-31 Stefan Monnier <monnier@cs.yale.edu>
15241 * textmodes/ispell.el (autoloaded toplevel): Don't use
15242 ispell-library-directory without checking that it's bound.
15244 2002-05-31 Kim F. Storm <storm@cua.dk>
15246 * emulation/cua-base.el (cua--last-deleted-region-pos)
15247 (cua--last-deleted-region-text): New aux variables.
15248 (cua-delete-region): Set them.
15249 (cua-repeat-replace-region): Use them to find the replacement text.
15251 2002-05-31 Juanma Barranquero <lektu@terra.es>
15253 * emulation/viper-cmd.el (viper-smart-suffix-list, viper-ask-level):
15256 2002-05-31 Kim F. Storm <storm@cua.dk>
15258 * progmodes/compile.el (grep-tree-command, grep-tree-files-aliases)
15259 (grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
15260 New custom variables.
15261 (grep-compute-defaults): Compute grep-tree-command's default value.
15262 (grep-expand-command-macros): New aux function.
15263 (grep-tree-last-regexp, grep-tree-last-files): New aux variables.
15264 (grep-tree): New command like grep-find but extended prompting.
15266 2002-05-30 Richard M. Stallman <rms@gnu.org>
15268 * files.el (find-file-default): Add defvar for var already used.
15270 * menu-bar.el (menu-bar-showhide-fringe-menu): Use defvar.
15272 * subr.el (open-network-stream, open-network-stream-nowait)
15273 (open-network-stream-server, process-kill-without-query):
15274 Moved from simple.el.
15276 * simple.el (open-network-stream, open-network-stream-nowait)
15277 (open-network-stream-server, process-kill-without-query):
15280 * simple.el (byte-compiling-files-p): Function deleted.
15282 * textmodes/ispell.el (ispell-library-directory): Renamed from
15283 ispell-library-path. If Ispell is not installed, init to nil.
15284 (check-ispell-version): Doc fix.
15285 (ispell-menu-map): Get rid of byte-compiling-files-p hackery;
15286 initialize this unconditionally when ispell-menu-map-needed is t.
15287 Local `path' renamed to `dir'.
15289 2002-05-30 Miles Bader <miles@gnu.org>
15291 * calc/calc.el (calc-show-banner): New variable.
15292 (calc-refresh): Only show banner if `calc-show-banner' is non-nil.
15293 (calc-mode-var-list): Add `calc-show-banner'.
15294 * calc/calc-ext.el (calc-init-extensions): Add binding for `d@'.
15295 (calc-toggle-banner): New function.
15296 * calc/calc-help.el (calc-d-prefix-help): Add `@'.
15298 2002-05-29 Richard M. Stallman <rms@gnu.org>
15300 * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
15301 When recognizing a def... construct, make that indentation
15302 tentative, so that it can be overridden if the list in question
15303 is not actually an expression.
15304 (common-lisp-indent-call-method): New subroutine.
15306 * emacs-lisp/bytecomp.el (batch-byte-compile-file):
15307 Delete the output file if we get a file-error.
15309 * tooltip.el (tooltip-mouse-motions-active): New variable.
15310 (tooltip-activate-mouse-motions): Don't kill track-mouse local
15311 if it was not made by us.
15313 * mouse.el (mouse-set-font): Avoid misleading error message
15314 if user makes no selection.
15316 * info.el (Info-setup-header-line): Don't hide the links line.
15318 * files.el (find-file-noselect-1): Return the buffer we created
15319 even if it has been killed within `after-find-file'.
15321 * files.el (auto-mode-alist): Use ada-mode for .ad[bs].dg files.
15323 2002-05-29 Kim F. Storm <storm@cua.dk>
15325 * simple.el (open-network-stream-server): Pass on optional args
15326 sentinel and filter to make-network-process (from Luke Gorrie).
15328 2002-05-28 Colin Walters <walters@gnu.org>
15330 * textmodes/sgml-mode.el (xml-mode): New alias for `sgml-mode'.
15332 * emacs-lisp/bytecomp.el (byte-compile-last-line): Deleted.
15333 (byte-compile-delete-first): New function.
15334 (byte-compile-read-position): New variable.
15335 (byte-compile-last-position): New variable.
15336 (byte-compile-current-buffer): New variable.
15337 (byte-compile-log-1): Use it.
15338 (byte-compile-set-symbol-position): New function.
15339 (byte-compile-obsolete, byte-compile-callargs-warn)
15340 (byte-compile-arglist-warn, byte-compile-arglist-warn)
15341 (byte-compile-print-syms, byte-compile-file-form-defmumble)
15342 (byte-compile-check-lambda-list, byte-compile-lambda)
15343 (byte-compile-form, byte-compile-variable-ref)
15344 (byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
15345 (byte-compile-condition-case, byte-compile-defun)
15346 (byte-compile-defvar, byte-compile-autoload)
15347 (byte-compile-lambda-form): Use it.
15348 (byte-compile-from-buffer): Set it, and bind
15349 `read-with-symbol-positions' and `read-symbol-positions-list'.
15351 * emacs-lisp/bytecomp.el (byte-compile-debug): New variable.
15353 2002-05-28 Kim F. Storm <storm@cua.dk>
15355 * files.el (read-directory-name): New function.
15356 (cd): Use it instead of read-file-name.
15358 2002-05-27 Kim F. Storm <storm@cua.dk>
15360 * simple.el (push-mark-command): Added optional NOMSG arg.
15362 * emulation/cua-base.el (cua-set-mark): Align pop to mark
15363 behaviour with standard set-mark-command.
15364 (cua--pre-command-handler): Use push-mark-command.
15365 (cua-repeat-replace-region): Improve functionality when
15366 repeated after moving point or changing buffer.
15368 2002-05-26 Colin Walters <walters@verbum.org>
15370 * startup.el (command-line): Use `when', `unless'.
15371 (command-line-1): New argument "--nosplash". Handle it.
15373 * startup.el (inhibit-splash-screen): New variable alias for
15374 `inhibit-startup-message'.
15376 * replace.el (perform-replace): Document return value. Use `pop'.
15378 2002-05-26 Glenn Morris <gmorris@ast.cam.ac.uk>
15380 * progmodes/f90.el (f90-previous-block, f90-next-block): New names,
15381 and slightly changed behaviour, for `f90-previous-block-start' and
15382 `f90-next-block-end'.
15383 (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
15385 2002-05-26 Simon Josefsson <jas@extundo.com>
15387 * fringe.el (set-fringe-mode): Work when updating
15388 `default-frame-alist'.
15390 2002-05-26 Kim F. Storm <storm@cua.dk>
15392 * emulation/cua-base.el (cua--repeat-replace-text): New variable.
15393 (cua-repeat-replace-region): New command.
15394 (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
15395 Misc improvements to the commentary.
15397 2002-05-26 Simon Josefsson <jas@extundo.com>
15399 * fringe.el (fringe-query-style): New fringe style "minimal".
15401 2002-05-24 Simon Josefsson <jas@extundo.com>
15403 * rot13.el (rot13-translate-table): New variable.
15404 (rot13, rot13-string, rot13-region): New functions.
15406 2002-05-25 Martin Stjernholm <bug-cc-mode@gnu.org>
15408 * progmodes/cc-engine.el (c-add-stmt-syntax): Fixed some cases
15409 of wrong anchoring, e.g. for else-if compounds.
15411 2002-05-25 Miles Bader <miles@gnu.org>
15413 * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
15414 (menu-bar-showhide-fringe-menu-customize-right)
15415 (menu-bar-showhide-fringe-menu-customize-disable):
15416 Use proper calling convention for `customize-set-value'.
15417 Require `fringe' before setting variable.
15419 2002-05-25 Kim F. Storm <storm@cua.dk>
15421 * emulation/cua-base.el (cua--self-insert-char-p): New function.
15423 * emulation/cua-gmrk.el (cua--init-global-mark): Install default
15424 binding in cua--global-mark-keymap using cua--self-insert-char-p
15425 to handle all global self inserting characters in gmark mode.
15427 * emulation/cua-rect.el (cua--init-rectangles): Install default
15428 binding in cua--rectangle-keymap using cua--self-insert-char-p
15429 to handle all global self inserting characters in rectangle mode.
15431 2002-05-24 Stefan Monnier <monnier@cs.yale.edu>
15433 * net/ange-ftp.el (read-file-name-internal): Remove the
15434 `ange-ftp' property.
15435 (ange-ftp-real-read-file-name-internal): Remove.
15437 2002-05-24 Glenn Morris <gmorris@ast.cam.ac.uk>
15439 * progmodes/f90.el: (f90-end-of-subprogram): Remove the final
15441 (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
15442 (f90-previous-block-start): New navigation commands.
15444 2002-05-20 Simon Josefsson <jas@extundo.com>
15446 * fringe.el: New file.
15448 * menu-bar.el (menu-bar-options-save): Add fringe-mode.
15449 (menu-bar-showhide-fringe-menu): New menu.
15450 (menu-bar-showhide-menu): Add Fringe sub-menu.
15452 2002-05-23 Colin Walters <walters@verbum.org>
15454 * replace.el (occur-engine): Include all text properties except
15455 mouse-face on the newline at the end of occurences.
15457 2002-05-23 Kim F. Storm <storm@cua.dk>
15459 * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
15460 (apropos-false-hit-str, apropos-true-hit-doc): New functions.
15461 (apropos-command, apropos-value, apropos-documentation-internal)
15462 (apropos-documentation-check-doc-file)
15463 (apropos-documentation-check-elc-file): Use them to filter out
15464 false matches where only one keyword matches, but more than once.
15466 * apropos.el (apropos-show-scores, apropos-orig-regexp)
15467 (apropos-all-regexp, apropos-synonyms, apropos-words)
15468 (apropos-all-words): New variables.
15469 (aprpos-words-to-regexp, apropos-rewrite-regexp)
15470 (apropos-calc-scores, apropos-score-str, apropos-score-doc)
15471 (apropos-score-symbol): New functions.
15472 (apropos-command, apropos, apropos-value, apropos-documentation):
15473 Allow keywords in addition to regexp. Added scoring.
15474 (apropos-documentation-check-doc-file)
15475 (apropos-documentation-check-elc-file): Added scoring.
15476 (apropos-print): Sort according to score.
15478 2002-05-22 Colin Walters <walters@cis.ohio-state.edu>
15480 * info.el (Info-mode-hook): Change `font-lock-mode' to
15481 `turn-on-font-lock'.
15483 * font-core.el (font-lock-function): New variable.
15484 (font-lock-default-function): New function, created from
15486 (font-lock-mode): Just funcall `font-lock-function'.
15487 (font-lock-symbol-category-alist): New variable.
15489 2002-05-22 Markus Rost <rost@math.ohio-state.edu>
15491 * files.el (file-newest-backup): Use file-name-sans-versions.
15493 * diff.el (diff-latest-backup-file): Replace the main code by
15494 a call of file-newest-backup.
15496 2002-05-22 Mike Williams <mdub@bigfoot.com>
15498 * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
15501 2002-05-21 Stefan Monnier <monnier@cs.yale.edu>
15503 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
15504 the last patch works around the wu-ftpd misfeature that prompted
15505 the disabling of this optimization.
15507 2002-05-21 Colin Walters <walters@gnu.org>
15509 * international/mule.el (make-coding-system): Doc fixes.
15511 * international/mule.el (auto-coding-functions): New variable.
15512 (auto-coding-from-file-contents): Use it.
15513 (set-auto-coding): Update docs.
15514 (sgml-xml-auto-coding-function): New function.
15516 * international/mule-util.el (truncate-string-to-width):
15517 New optional argument `ellipsis'. Add commented-out test suite, and
15518 change coding to iso-2022-7bit.
15520 2002-05-21 Colin Walters <walters@verbum.org>
15522 * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
15523 (font-lock-multiline, font-lock-fontified, font-lock-mode)
15524 (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
15525 (font-lock-global-modes): Moved to font-core.el.
15526 (font-lock-set-defaults-1): Partially moved to font-core.el.
15528 * font-core.el: New file, with functions taken from font-lock.el.
15529 (font-lock-category-alist): New variable.
15530 (font-lock-mode): Use it.
15531 (font-lock-set-defaults): Partially taken from font-lock.el.
15532 Only load font-lock.el when necessary.
15534 * loadup.el: Add font-core.el.
15536 * replace.el (occur-mode-hook): New variable.
15537 (occur-fontify-region-function): Deleted.
15538 (occur-mode): Don't use it. Set up `font-lock-category-alist'
15540 (occur-fontify-on-property): Deleted.
15541 (occur-engine): Use categories from `font-lock-category-alist'.
15543 * info.el (Info-fontify): Deleted.
15544 (Info-select-node): Don't use it.
15545 (Info-mode-hook): New variable.
15546 (Info-mode): Set up categories.
15547 (Info-fontify-menu-headers, Info-fontify-node): Use categories.
15549 * ibuffer.el (ibuffer-formats): Update docs.
15550 (ibuffer-category-alist): New variable.
15551 (ibuffer-get-category): New function.
15552 (ibuffer-compile-make-eliding-form): Use category property instead
15554 (ibuffer-compile-format): Pass current ibuffer buffer to column
15556 (ibuffer-buffer-name-category): New function.
15557 (ibuffer-compile-format): If the current column is a `name'
15558 column, figure out the appropriate category to put on it.
15559 (filename-and-process): Use category property.
15560 (ibuffer-fontify-region-function): Deleted.
15561 (ibuffer-unfontify-region-function): Deleted.
15562 (ibuffer-update-title-and-summary): Use category properties.
15563 (ibuffer-insert-filter-group): Ditto.
15564 (ibuffer-mode): Set up category properties.
15566 2002-05-21 Colin Walters <walters@debian.org>
15568 * replace.el (occur-engine): Increment globalcount all at once
15569 after searching a buffer.
15570 (occur-mode-map): Don't escape plain "o".
15572 * ibuf-macs.el (define-ibuffer-column): Add third argument
15575 * ibuffer.el (toplevel): Require font-lock, to get the face
15577 (ibuffer-use-fontification): Deleted.
15578 (column filename-and-process): New column.
15579 (ibuffer-formats): Use it by default.
15580 (ibuffer-name-map, ibuffer-mode-name-map)
15581 (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
15582 (ibuffer-do-save, ibuffer-do-toggle-modified)
15583 (ibuffer-do-toggle-read-only, ibuffer-do-delete)
15584 (ibuffer-do-kill-on-deletion-marks): Include name in definition.
15585 (ibuffer): New optional argument `formats'.
15587 2002-05-21 Eli Zaretskii <eliz@is.elta.co.il>
15589 * indent.el (indent-rigidly): Mention how to remove all indentation.
15591 2002-05-21 Colin Walters <walters@gnu.org>
15593 * international/mule-diag.el (describe-char-after): Order display
15594 of text properties by the size of their value, for clarity.
15596 2002-05-20 Stefan Monnier <monnier@cs.yale.edu>
15598 * net/ange-ftp.el (ange-ftp-generate-root-prefixes)
15599 (ange-ftp-file-name-completion): Don't cons unnecessarily.
15600 (ange-ftp-send-cmd): Always `cd' before doing `ls'.
15602 * wid-edit.el (widget-color-complete):
15603 * progmodes/etags.el (tags-complete-tags-table-file):
15604 * progmodes/cpp.el (cpp-choose-symbol): Don't cons unnecessarily.
15606 * textmodes/outline.el (outline-reveal-toggle-invisible):
15607 Reverse the meaning of the second arg.
15609 * reveal.el (reveal-post-command): Reverse the semantics of
15610 reveal-toggle-invisible and support isearch-open-invisible-temporary.
15612 2002-05-20 Markus Rost <rost@math.ohio-state.edu>
15614 * mail/sendmail.el (mail-recover-1): Remove (debug).
15615 (mail-signature): Fix :type.
15616 (mail-default-directory): New user option.
15617 (mail, mail-recover): Use that option.
15619 2002-05-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
15621 * international/mule.el (auto-coding-alist): Use emacs-mule
15622 for auto-save files.
15624 2002-05-20 Miles Bader <miles@gnu.org>
15626 * files.el (find-file-read-args): Don't trash existing value of
15627 `minibuffer-setup-hook', just add our hook to it.
15629 2002-05-19 Markus Rost <rost@math.ohio-state.edu>
15631 * international/ucs-tables.el (unify-8859-on-encoding-mode)
15632 (unify-8859-on-decoding-mode): Change :version attributes to strings.
15634 * simple.el (yank-excluded-properties): Change :version attribute
15637 * dired.el (dired-view-command-alist): Change :version attribute
15640 * xscheme.el (xscheme-start-hook): Change :version attribute to a
15643 * find-dired.el (find-dired): Implement revert-buffer-function.
15645 * mail/emacsbug.el (report-emacs-bug-hook): Do another save-excursion.
15647 2002-05-19 Glenn Morris <gmorris@ast.cam.ac.uk>
15649 * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
15650 (f90-get-present-comment-type): Fix earlier change.
15651 (f90-comment-indent): Doc fix.
15652 (f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
15653 (f90-looking-at-if-then): Remove lets.
15654 (f90-looking-at-where-or-forall): Handle if split over lines.
15655 (f90-change-keywords): Doc fix.
15657 2002-05-19 Richard M. Stallman <rms@gnu.org>
15659 * indent.el (indent-region): Make COLUMN arg optional.
15661 * files.el (find-file-read-args): New function.
15662 (find-file, find-file-other-window, find-file-other-frame)
15663 (find-file-read-only, find-file-read-only-other-window)
15664 (find-file-read-only-other-frame): Use it.
15666 * custom.el (custom-load-symbol): Verify that LOADED is a string.
15668 * arc-mode.el (archive-zip-use-pkzip): Variable deleted.
15669 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
15670 (archive-zip-update-case): Use locate-file to decide whether
15672 (archive-zip-extract): Test for pkzip in value of archive-zip-extract.
15674 * files.el (locate-file): Doc fix.
15676 2002-05-19 John Paul Wallington <jpw@shootybangbang.com>
15678 * mail/rmail.el (rmail-show-message-hook): Offer `goto-address'
15681 2002-05-18 Stefan Monnier <monnier@cs.yale.edu>
15683 * uniquify.el (uniquify-rationalize-file-buffer-names):
15684 Always strip the trailing / even if the file is not a directory.
15686 2002-05-18 Glenn Morris <gmorris@ast.cam.ac.uk>
15688 * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
15689 initialization in the defvar.
15690 (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
15691 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
15692 (f90-font-lock-4): Move the doc strings.
15693 (f90-menu-bar-menu): New internal variable to hold the top-level menu.
15694 (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
15695 (f90-mode-abbrev-table): Initialize in the defvar, with
15696 define-abbrev-table.
15698 2002-05-18 Eli Zaretskii <eliz@is.elta.co.il>
15700 * tar-mode.el (tar-octal-time): Fix last change.
15702 2002-05-18 Markus Rost <rost@math.ohio-state.edu>
15704 * mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
15705 (report-emacs-bug): Store the prompt in
15706 `report-emacs-bug-text-prompt'. Move Configuration/Important
15707 settings information after the user's report.
15708 (report-emacs-bug-hook): Unclutter by deleting the content of
15709 `report-emacs-bug-text-prompt'.
15711 2002-05-17 Thomas Morgan <tlm@pocketmail.com>
15713 * forms.el (forms-jump-record, forms-insert-record)
15714 (forms-delete-record): Calculate lines from the beginning of the
15715 accessible portion rather than from the beginning of the buffer.
15717 2002-05-16 Eli Zaretskii <eliz@is.elta.co.il>
15719 * ps-mule.el (eval-and-compile): Add a trivial replacement for a
15720 possibly missing encode-char.
15721 (ps-mule-font-info-database-bdf): Add associations for Unicode
15723 (ps-mule-font-info-database-ps-bdf): Doc fix.
15724 (ps-mule-encode-ucs2): New function for encoding Unicode characters.
15726 * tar-mode.el (tar-octal-time): Fix the last argument of logior.
15728 2002-05-16 Stefan Monnier <monnier@cs.yale.edu>
15730 * emacs-lisp/find-func.el (find-function-search-for-symbol):
15731 Find funs defined with defun-cvs-mode.
15732 (find-function-space-re): New const. Skips comments as well.
15733 (find-function-regexp, find-variable-regexp): Use it.
15735 * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
15736 (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
15737 (cvs-mode-set-flags): Don't cons unnecessarily.
15739 2002-05-16 Colin Walters <walters@debian.org>
15741 * menu-bar.el (menu-bar-tools-menu) <calculator>: Renamed to
15742 "Simple Calculator".
15743 (menu-bar-tools-menu) <calc>: New.
15745 2002-05-16 Juanma Barranquero <lektu@terra.es>
15747 * progmodes/hideshow.el (hs-adjust-block-beginning): Fix typo.
15749 * filesets.el (filesets-ormap): Fix typo.
15751 * faces.el (describe-face): Fix typo.
15753 2002-05-15 Stefan Monnier <monnier@cs.yale.edu>
15755 * emacs-lisp/easymenu.el (easy-menu-make-symbol):
15756 Don't treat (lambda () ...) as an expression.
15758 2002-05-15 John Paul Wallington <jpw@shootybangbang.com>
15760 * replace.el (occur-read-primary-args): Handle a bare 'C-u' correctly.
15762 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il>
15764 * emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
15766 2002-05-14 Glenn Morris <gmorris@ast.cam.ac.uk>
15768 * progmodes/fortran.el (fortran-directive-re): New name for
15769 fortran-preprocessor-re. All usage updated.
15770 (fortran-calculate-indent): Give directives zero indentation.
15772 2002-05-14 Jason Rumney <jasonr@gnu.org>
15774 * emacs-lisp/easymenu.el (easy-menu-name-match): Match both
15775 displayed text and internal name as string.
15777 2002-05-14 Kim F. Storm <storm@cua.dk>
15779 * emulation/cua-rect.el (cua--rectangle-operation):
15780 Don't highlight empty lines in rectangles.
15782 * emulation/keypad.el: Improved commentary.
15783 (keypad-setup, keypad-shifted-setup): Added choice to setup
15784 Numeric keypad with decimal key; value is selected character.
15785 (keypad-decimal-key, keypad-shifted-decimal-key): Removed options.
15786 (keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
15787 (keypad-setup): Arg list changed to support the new options.
15789 2002-05-14 Richard M. Stallman <rms@gnu.org>
15791 * dabbrev.el (dabbrev-case-distinction): New option.
15792 (dabbrev--try-find): Handle dabbrev-case-distinction.
15793 (dabbrev--search): Clean up the code.
15794 (dabbrev-upcase-means-case-search): Doc fix.
15795 (dabbrev-case-replace): Fix custom tags and docs.
15797 2002-05-14 Jochen K
\e,A|
\e(Bpper <jochen@jochen-kuepper.de>
15799 * calc/calc-units.el (math-standard-units): Update from CODATA.
15801 2002-05-14 Stefan Monnier <monnier@cs.yale.edu>
15803 * skeleton.el (skeleton-transformation): Default to `identity'.
15804 (skeleton-insert): Use `move-after' markers and `insert' rather
15805 than rely on insert-before-markers.
15806 (skeleton-internal-1): Handle `> \n' specially so that the newline
15807 is inserted before the first line is indented.
15809 2002-05-14 Mike Williams <mdub@bigfoot.com>
15811 * textmodes/sgml-mode.el (sgml-tag):
15812 Default skeleton-transformation to `identity'.
15814 2002-05-14 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
15816 * shell.el (shell-mode): Make second part of initialisation
15817 depend on whether comint-input-ring is empty, rather than depend
15820 2002-05-14 Richard M. Stallman <rms@gnu.org>
15822 * files.el (make-auto-save-file-name):
15823 Delete the auto-save file after make-temp-file creates it.
15825 2002-05-13 Kim F. Storm <storm@cua.dk>
15827 * emulation/cua-base.el (cua-enable-cursor-indications): Default off.
15828 (cua-mode): Print Enabled/Disabled messages if interactive.
15829 Disable delete-selection-mode and pc-selection-mode when cua-mode
15830 is enabled; reenable if cua-mode is turned off.
15831 Remember setting of transient-mark-mode when cua-mode is enabled;
15832 restore if cua-mode is disabled.
15834 2002-05-13 Richard M. Stallman <rms@gnu.org>
15836 * mail/emacsbug.el (report-emacs-bug): Change the "English please" msg.
15838 2002-05-13 Colin Walters <walters@gnu.org>
15840 * ibuf-ext.el (ibuffer-format-filter-group-data): New function.
15842 * ibuffer.el (ibuffer-insert-filter-group): New argument filter-string.
15843 (ibuffer-redisplay-engine): Handle it.
15845 * add-log.el (add-log-mailing-address): Can be a list, too.
15846 (add-change-log-entry): If `add-log-mailing-address' is a list,
15849 2002-05-12 Colin Walters <walters@debian.org>
15851 * replace.el (occur-1): New optional argument `buf-name'.
15852 (occur-revert-function): Use it.
15854 (occur-1): Handle plurals.
15856 (occur-engine): If there are no more matches, then finish
15857 searching the current buffer.
15859 2002-05-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
15861 * net/ange-ftp.el (ange-ftp-try-passive-mode)
15862 (ange-ftp-passive-host-alist): Change :version attributes to be
15865 2002-05-12 Markus Rost <rost@math.ohio-state.edu>
15867 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Define it with
15870 * emacs-lisp/find-func.el (find-function-search-for-symbol):
15871 Handle more whitespace/newline combinations in symbol definitions.
15873 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il>
15875 * w32-vars.el (w32)
15876 * vc-cvs.el (vc-cvs-global-switches)
15877 (vc-cvs-sticky-date-format-string, vc-cvs-sticky-tag-display)
15878 * textmodes/sgml-mode.el (sgml-xml-mode)
15879 * ruler-mode.el (ruler-mode)
15880 * replace.el (query-replace-skip-read-only)
15881 * progmodes/fortran.el (fortran-preprocessor-re)
15882 * net/ange-ftp.el (ange-ftp-passive-host-alist)
15883 * mail/sendmail.el (mail-use-dsn)
15884 * faces.el (mode-line-inactive, minibuffer-prompt)
15885 * add-log.el (add-log-always-start-new-record): Change all
15886 post-21.1 :version attributes to 21.4.
15888 2002-05-12 Richard M. Stallman <rms@gnu.org>
15890 * mail/smtpmail.el (smtpmail-mail-address): New variable.
15891 (smtpmail-send-it): Bind and use that instead of `mail-address'.
15892 (smtpmail-via-smtp): Likewise.
15894 * ansi-color.el (ansi-color-get-face): Avoid add-to-list on local var.
15895 (ansi-color-apply-sequence): Avoid duplicates in combined face list.
15897 * dired-aux.el (dired-show-file-type): Use -- to say FILE's not option.
15899 * subr.el (functionp): Catch errors in indirect-function.
15901 2002-05-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
15903 * net/ldap.el (ldap-search-internal): Unfold folded lines before
15906 * cus-edit.el (customize-set-value): Rename `var' to `variable'
15907 and `val' to `value'.
15908 (customize-save-variable): Rename `var' to `'variable.
15910 2002-05-12 Glenn Morris <gmorris@ast.cam.ac.uk>
15912 * progmodes/fortran.el (fortran-preprocessor-re): New variable.
15913 Use it for font-locking and indentation.
15914 (fortran-previous-statement, fortran-next-statement): Make them
15915 skip over preprocessor lines.
15916 (fortran-calculate-indent): Use fortran-preprocessor-re.
15918 2002-05-10 Kim F. Storm <storm@cua.dk>
15920 * emulation/cua-base.el (cua-enable-cua-keys)
15921 (cua-enable-register-prefix): Added value for `other' choice.
15923 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il>
15925 * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
15926 (menu-bar-showhide-menu): Use display-graphic-p, not window-system.
15927 (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
15928 Run a named function.
15929 (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
15930 (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
15933 2002-05-10 Kim F. Storm <storm@cua.dk>
15935 * emulation/cua-base.el (cua-mode): Misc. changes to use
15936 emulation-mode-map-alists instead of minor-mode-map-alist.
15938 2002-05-09 Richard M. Stallman <rms@gnu.org>
15940 * mail/rmail.el (rmail-show-message):
15941 Catch error in check-coding-system.
15943 * progmodes/compile.el (compilation-error-regexp-alist):
15944 New element to recognize Python error messages.
15946 * shell.el (shell-replace-by-expanded-directory):
15947 If there's already a / at the end, don't add one.
15949 2002-05-09 Colin Walters <walters@verbum.org>
15951 * ibuffer.el (ibuffer-mode-map): Add :enable guards for
15952 `ibuffer-filter-disable', `ibuffer-pop-filter',
15953 `ibuffer-or-filter', `ibuffer-negate-filter',
15954 `ibuffer-decompose-filter', `ibuffer-save-filters',
15955 `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
15956 `ibuffer-save-filter-groups',
15957 `ibuffer-switch-to-saved-filter-groups',
15958 `ibuffer-delete-saved-filter-groups'.
15960 * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
15962 2002-05-09 Markus Rost <rost@math.ohio-state.edu>
15964 * woman.el (woman-menu): Move symbol before the comment so that
15965 find-function-search-for-symbol finds it.
15967 2002-05-10 Miles Bader <miles@gnu.org>
15969 * facemenu.el (list-colors-display): Don't use
15970 `display-color-cells' unless the display class is one for which
15971 that info is relevant.
15973 2002-05-09 Simon Josefsson <jas@extundo.com>
15975 * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
15977 (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
15980 2002-05-09 Kim F. Storm <storm@cua.dk>
15982 * wid-edit.el (checkbox): New check-mark image.
15984 2002-05-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
15986 * filesets.el (filesets-running-xemacs): Fix last change.
15988 2002-05-08 Markus Rost <rost@math.ohio-state.edu>
15990 * help-fns.el (describe-function-1): If the source is
15991 `loaddefs.el', look for the real source. This is necessary only
15994 * emacs-lisp/find-func.el (find-function-search-for-symbol):
15995 Add autoload cookie.
15996 (find-function-regexp): Include
15997 "\(quote " to match the defaliases in loaddefs.el.
15999 * filesets.el (filesets-conditional-sort): Use copy-sequence,
16001 (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
16002 Defvar them to nil if running in Emacs.
16004 2002-05-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
16006 * textmodes/flyspell.el (make-flyspell-overlay): Add help text
16007 to flyspell overlays.
16009 * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
16011 2002-05-08 Richard M. Stallman <rms@gnu.org>
16013 * diff.el (diff-regexp-alist): Doc fix.
16015 * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
16017 2002-05-08 Simon Marshall <simon@gnu.org>
16019 * msb.el (msb-menu-bar-update-buffers): Fixed frame menu to use
16020 the frame name as the car of a menu entry, rather than the frame.
16022 2002-05-08 Juanma Barranquero <lektu@terra.es>
16024 * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
16027 2002-05-07 Colin Walters <walters@verbum.org>
16029 * replace.el (occur-unfontify-region-function): Delete.
16030 (occur-mode): Don't use it.
16031 (occur-engine): Respect `keep-props'.
16032 (occur-accumulate-lines): If we're moving forward, decrement;
16033 don't increment, and vice versa.
16035 2002-05-08 Toru Tomabechi <Toru.Tomabechi@orient.unil.ch>
16037 * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
16038 (tibetan-canonicalize-for-unicode-regexp): New variables.
16039 (tibetan-canonicalize-for-unicode-region): New function.
16040 (tibetan-strict-unicode): New variable.
16041 (tibetan-pre-write-canonicalize-for-unicode): New function.
16043 2002-05-07 Markus Rost <rost@math.ohio-state.edu>
16045 * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
16046 the autoload-cookie. Remove comment.
16048 * ffap.el (ffap): Don't hide it behind the autoload-cookie.
16050 * rect.el (close-rectangle): Don't hide it behind the
16053 2002-05-07 Juanma Barranquero <lektu@terra.es>
16055 * windmove.el (windmove-default-keybindings): Add optional
16056 parameter to allow using a modifier other than 'shift.
16058 2002-05-07 Thomas Link <t.link@gmx.at>
16061 (filesets-external-viewers): Fix customization problem.
16062 (filesets-some): Replaces cl's `some'. Calls changed.
16063 (filesets-member): Replaces cl's `member*'. Calls changed.
16064 (filesets-ormap): New function.
16066 2002-05-07 John Paul Wallington <jpw@shootybangbang.com>
16068 * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
16071 2002-05-07 Colin Walters <walters@gnu.org>
16073 * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
16074 (ibuffer-clear-filter-groups): Likewise.
16075 (ibuffer-kill-filter-group): Likewise.
16076 (ibuffer-kill-line): Likewise.
16077 (ibuffer-read-filter-group-name): New function.
16078 (ibuffer-jump-to-filter-group): Use it.
16079 (ibuffer-kill-filter-group): Likewise.
16080 (ibuffer-yank-filter-group): Likewise.
16081 (ibuffer-decompose-filter-group): New function.
16083 * ibuffer.el (ibuffer-mode-map): Bind it. Add :enable guard
16084 around `ibuffer-filters-to-filter-group' menu item. Fix :enable
16085 guards for `ibuffer-pop-filter-group' and
16086 `ibuffer-clear-filter-groups'.
16088 2002-05-06 Markus Rost <rost@math.ohio-state.edu>
16090 * emacs-lisp/find-func.el (find-function-search-for-symbol):
16091 Use with-syntax-table.
16093 2002-05-06 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
16095 * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
16097 2002-05-05 Markus Rost <rost@math.ohio-state.edu>
16099 * time-stamp.el (time-stamp-format): Doc fix: escape open
16100 parenthesis in column 0.
16102 2002-05-04 Richard M. Stallman <rms@gnu.org>
16104 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
16105 Handle both cases: when the menu item has cached info
16106 and when it doesn't.
16108 * filesets.el (filesets-browse-dir-function): Renamed from ...-fn.
16109 (filesets-open-file-function, filesets-save-buffer-function): Likewise.
16110 (filesets-tree-max-level): Doc fix.
16111 (filesets-commands, filesets-external-viewers)
16112 (filesets-ingroup-patterns): Mark as risky.
16113 (filesets-cache-hostname-flag): Doc fix.
16114 (filesets-menu-cache-file): Doc fix. Mark as risky.
16115 (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
16116 Don't defcustom them if running in Emacs.
16118 2002-05-04 Thomas Link <t.link@gmx.at>
16120 * filesets.el (filesets-ingroup-collect-files):
16121 Fix problem with inclusion groups' :scan-depth property.
16123 2002-05-04 Colin Walters <walters@verbum.org>
16125 * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
16126 "Default" group earlier. Push killed group on
16127 `ibuffer-filter-group-kill-ring'.
16128 (ibuffer-kill-line): Document. Don't push killed group ourselves.
16129 (ibuffer-yank-filter-group): Renamed from `ibuffer-yank'.
16130 (ibuffer-insert-filter-group-before): New function, broken out
16131 from `ibuffer-yank'.
16132 (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
16134 * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
16135 (ibuffer-mode-view-menu): Unused variables; deleted.
16136 (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
16138 2002-05-04 John Paul Wallington <jpw@shootybangbang.com>
16140 * ibuffer.el (ibuffer-mode-groups-popup): New variable.
16141 (toplevel): Bind filter group menu entries in it. Add :enable
16142 forms for some menu items.
16143 (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
16144 to `ibuffer-mouse-popup-menu'.
16145 (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
16146 group name, and if so, pop up a filter group menu.
16148 2002-05-04 Jason Rumney <jasonr@gnu.org>
16150 * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
16151 (mwheel-scroll): Recognize nil scroll amount as documented.
16153 * term/w32-win.el (mouse-wheel-scroll-line)
16154 (mouse-wheel-scroll-screen): Remove.
16155 ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
16157 * w32-vars.el: (mouse-wheel-scroll-amount): Removed.
16159 2002-05-04 Markus Rost <rost@math.ohio-state.edu>
16161 * emacs-lisp/find-func.el (find-function-search-for-symbol):
16162 Bind case-fold-search when searching.
16164 2002-05-04 Eli Zaretskii <eliz@is.elta.co.il>
16166 * apropos.el (apropos-print): Fix the reference to mouse-2.
16168 2002-05-04 Daniel Pfeiffer <occitan@esperanto.org>
16170 * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
16172 2002-05-04 Kim F. Storm <storm@cua.dk>
16174 * cus-edit.el (custom-buffer-verbose-help): New variable.
16175 (custom-buffer-create-internal): Remove verbose introduction
16176 in customization buffer when it is nil.
16178 2002-05-03 Dave Love <fx@gnu.org>
16180 * international/mule-cmds.el (select-safe-coding-system):
16181 Don't offer coding systems that use locking shift.
16182 Ask for confirmation if chosen coding system disagrees with
16183 a `coding:' spec in the file.
16185 2002-05-03 John Wiegley <johnw@gnu.org>
16187 * eshell/esh-var.el (eshell-modify-global-environment): Added this
16188 customization variable, which will cause any "export" commands
16189 within any eshell buffer to modify the global Emacs environment.
16190 It defaults to nil, which means that such commands will only
16191 modify that Eshell buffer's environment.
16192 (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
16194 * eshell/em-cmpl.el (eshell-command-completions-alist):
16195 Improve default completion targets for objdump, nm and readelf.
16197 2002-05-03 Colin Walters <walters@verbum.org>
16199 * play/gamegrid.el (gamegrid-user-score-file-directory): New variable.
16200 (gamegrid-add-score-with-update-game-score):
16201 Use `shared-game-score-directory'. Correctly handle non-setuid case.
16203 2002-05-02 Colin Walters <walters@verbum.org>
16205 * replace.el (occur-mode-map): Bind "q" to `delete-window'.
16206 (occur-1): If one of the buffers we're searching is the *Occur*
16207 buffer itself, handle it by creating a temporary buffer. If any
16208 of the buffers being searched are killed, note that in the search
16209 result message. Also, set local variables before we possibly kill
16212 2002-05-02 Kim F. Storm <storm@cua.dk>
16214 * menu-bar.el (menu-bar-make-toggle): Added optional PROPS arg.
16215 (menu-bar-options-save): Added cua-mode.
16216 (menu-bar-options-menu): Added toggle for cua-mode.
16217 Disable toggle for transient-mark-mode if cua-mode is enabled.
16219 * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local
16222 2002-05-01 Richard M. Stallman <rms@gnu.org>
16224 * help.el (view-todo): New function.
16225 (help-map): Bind C-h C-t to view-todo.
16226 (help-for-help): Change the text.
16228 2002-05-01 Glenn Morris <gmorris@ast.cam.ac.uk>
16230 * progmodes/f90.el: Yet more doc string, commment and whitespace
16232 (f90-imenu-flag): New name for internal variable f90-imenu.
16233 (f90-blocks-re, f90-program-block-re, f90-end-if-re)
16234 (f90-no-break-re): Use regexp-opt.
16235 (f90-end-type-re): Add closing "\\>".
16236 (f90-indent-region): Correctly indent comments embedded in
16238 (f90-indent-new-line): Make it indent the current line, as it should.
16239 (f90-line-continued, f90-get-present-comment-type)
16240 (f90-looking-at-if-then, f90-indent-line, f90-indent-new-line)
16241 (f90-indent-region, f90-indent-subprogram, f90-do-auto-fill)
16242 (f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end)
16243 (f90-change-keywords): Minor code tidying.
16245 * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
16246 typo `fortran-strip-sqeuence-nos'.
16248 2002-05-01 Eli Zaretskii <eliz@is.elta.co.il>
16250 * simple.el (clone-indirect-buffer-other-window): Fix a typo in
16253 2002-05-01 Kim F. Storm <storm@cua.dk>
16255 * emulation/cua-base.el (cua--pre-command-handler):
16256 Only interpret delete-selection property if mark-active.
16257 (cua-mode): Fixed require in defcustom.
16259 2002-05-01 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
16261 * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
16264 2002-05-01 Colin Walters <walters@verbum.org>
16266 * textmodes/tex-mode.el (tex-validate-buffer):
16267 Use `occur-revert-arguments' instead of setting `occur-nlines' and
16268 `occur-buffer'. Don't test for `input-pending-p' in loop.
16269 Set text property `occur-target' instead of `occur'.
16271 2002-04-30 John Wiegley <johnw@gnu.org>
16273 * align.el (align-region): Fixed the fix to align-region, because
16274 the "name" argument was appearing twice.
16276 2002-05-01 Martin Stjernholm <bug-cc-mode@gnu.org>
16278 * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
16279 to handle protection labels, one which doesn't get confused by
16282 * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
16283 functions that have "class" or "struct" in the return type as
16284 classes or structs.
16286 2002-04-30 Kim F. Storm <storm@cua.dk>
16288 * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
16289 Options" to "New Options..."; rephrase tooltip.
16290 Rephrase tooltip for "Specific Option...".
16291 Added "Saved Options" item. [from Simon Marshall]
16293 2002-04-30 Richard M. Stallman <rms@gnu.org>
16295 * time.el (display-time-mail-directory)
16296 (display-time-mail-function): Doc fixes.
16298 * ediff-hook.el: Remove autoload cookies.
16300 * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
16302 * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
16304 * align.el (align-region): Fix call to `message'.
16305 Check that (car rule) is a symbol.
16307 * autoinsert.el (auto-insert-directory): Doc fix.
16309 * facemenu.el (describe-text-at and stuff): Moved to descr-text.el.
16311 * descr-text.el: New file, broken out of facemenu.el.
16313 * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
16315 2002-04-29 Markus Rost <rost@math.ohio-state.edu>
16317 * mail/emacsbug.el (report-emacs-bug-hook):
16318 Use replace-match only if search was successful.
16320 2002-04-29 Richard M. Stallman <rms@gnu.org>
16322 * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
16324 * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
16325 if the user edits the Emacs version number in the text.
16327 * filesets.el (filesets-running-xemacs): Make defvar unconditional.
16328 (filesets-ingroup-files): Renamed from filesets-ingroup-paths.
16329 (filesets-error): Simplify definition and make conditional
16330 on filesets-running-xemacs.
16331 (filesets-find-file-using): Renamed from fsfind-file-using.
16333 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
16335 * info.el (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
16336 (Info-read-node-name-1): Complete file names.
16337 (Info-complete-menu-item): Don't cons unnecessarily.
16339 * files.el (locate-file): New fun.
16340 (locate-file-completion): Rename from load-completion and generalize.
16341 (load-library): Use it.
16342 (make-auto-save-file-name): Expand caddr.
16344 * newcomment.el (comment-fill-column): New var.
16345 (comment-indent): Use it.
16346 (comment-or-uncomment-region): New fun.
16347 (comment-dwim): Use it.
16349 2002-04-29 Colin Walters <walters@verbum.org>
16351 * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
16352 (ibuffer-kill-line): Copy the filter group data structure when killing.
16353 (ibuffer-yank): Handle case where we're yanking on the default
16355 (ibuffer-delete-saved-filter-groups): Doc fix.
16357 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16358 Test whether or not update-game-score is setuid, and do the right
16361 2002-04-29 Kim F. Storm <storm@cua.dk>
16363 * subr.el (remove-yank-excluded-properties): New helper function.
16364 (insert-for-yank, insert-buffer-substring-as-yank): Use it.
16366 * simple.el (yank-excluded-properties): Added help-echo to list.
16368 2002-04-29 Glenn Morris <gmorris@ast.cam.ac.uk>
16370 * autoinsert.el (auto-insert-directory): Doc fix.
16372 * progmodes/f90.el: Add/change doc strings for many inline
16373 functions. Whitespace changes.
16374 (f90-indent-line-no, f90-update-line): Minor code changes.
16376 2002-04-29 Kim F. Storm <storm@cua.dk>
16378 * emulation/cua-base.el: New file.
16380 * emulation/cua-rect.el: New file.
16382 * emulation/cua-gmrk.el: New file.
16384 * emulation/keypad.el: New file.
16386 2002-04-29 Triet Hoai Lai <thlai@ee.usyd.edu.au>
16388 * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
16389 (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn):
16390 New Vietnamese coding system.
16392 * language/viet-util.el: Update Commentary section.
16394 2002-04-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
16396 * filesets.el (filesets-data): Doc fix.
16397 (filesets-running-xemacs): Define even when compiling.
16399 * recentf.el (recentf-cancel-dialog): Remove dot at the end of
16402 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
16404 * textmodes/fill.el (fill-context-prefix): Fix last change with
16405 yet-another-approach.
16407 2002-04-28 Markus Rost <rost@math.ohio-state.edu>
16409 * net/ange-ftp.el (ange-ftp-passive-host-alist)
16410 (ange-ftp-bs2000-additional-pubsets): Fix custom type.
16412 * files.el (small-temporary-file-directory): Fix custom type.
16414 2002-04-28 Glenn Morris <gmorris@ast.cam.ac.uk>
16416 * progmodes/f90.el (f90-xemacs-flag): New variable.
16417 (f90-mark-subprogram-overlay): New variable.
16418 (f90-mark-subprogram): Now it highlights the subprogram.
16419 (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
16420 Fix highlighting of various "type" forms.
16422 2002-04-28 Colin Walters <walters@verbum.org>
16424 * ibuffer.el (ibuffer-mode): Additional documentation on filter
16427 2002-04-28 John Paul Wallington <jpw@shootybangbang.com>
16429 * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
16430 ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
16432 2002-04-28 Richard M. Stallman <rms@gnu.org>
16434 * mail/sendmail.el (mail-recover-1): Decrease non-random-len
16435 by 1 for the newly-readded #.
16437 * files.el (make-auto-save-file-name): Specify # as suffix
16438 in the non-file-visiting case.
16440 * subr.el (make-temp-file): New arg SUFFIX.
16442 * filesets.el: New file.
16444 * replace.el (occur-accumulate-lines): Avoid incf and decf.
16445 (occur-engine-add-prefix): New function.
16446 (occur-engine): Avoid using macrolet, incf and decf.
16447 Use occur-engine-add-prefix instead.
16448 Rename `l' to `lines' and `c' to `matches'.
16450 * replace.el (occur-engine, occur-mode-mouse-goto)
16451 (occur-mode-find-occurrence, occur-mode-goto-occurrence)
16452 (occur-mode-goto-occurrence-other-window)
16453 (occur-mode-display-occurrence): A position is just a marker,
16456 * replace.el (occur-revert-arguments):
16457 Renamed from occur-revert-properties. All uses changed.
16459 2002-04-28 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
16461 * recentf.el (recentf-menu-before): Use string to specify path in
16464 * international/mule-cmds.el (read-language-name): Take care of
16467 2002-04-27 Richard M. Stallman <rms@gnu.org>
16469 * custom.el (custom-load-symbol): Moved from cus-edit.el.
16470 (custom-load-recursion): Likewise.
16472 * cus-edit.el (custom-load-symbol): Moved to custom.el.
16473 (custom-load-recursion): Likewise.
16475 * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
16476 generated by easymenu are now lowercase.
16478 2002-04-27 Richard M. Stallman <rms@gnu.org>
16480 * menu-bar.el (menu-bar-update-buffers): Add menu items
16481 Next Buffer and Previous Buffer.
16483 * simple.el (next-buffer, prev-buffer): New commands.
16484 Bind C-x left and C-x right to them.
16486 * info.el (Info-header-line): Mark it as risky-local-variable.
16488 * subr.el (insert-for-yank): Replace `category' property
16489 with whatever properties it stands for.
16491 * subr.el (member-ignore-case): Ignore non-strings in LIST.
16493 2002-04-27 Miles Bader <miles@gnu.org>
16495 * faces.el (read-face-name): Format the prompt correctly when
16496 there's no default.
16498 2002-04-26 Andrew Choi <akochoi@shaw.ca>
16500 * term/mac-win.el: Don't call ediff-toggle-multiframe.
16501 Set default directory. Set process-connection-type to nil.
16503 2002-04-26 Richard M. Stallman <rms@gnu.org>
16505 * loadup.el: Explicitly load cus-face and timer.
16507 * isearch.el: Don't require timer.
16509 * faces.el: Don't require cus-face.
16511 * cus-edit.el (customize-face): Use read-face-name
16512 and handle multiple faces.
16513 (customize-face-other-window): Make it work similarly.
16515 * faces.el (read-face-name): New defaulting features.
16516 New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
16517 (list-faces-display): Use the face, not its name string,
16518 as arg when running customize-face.
16519 Put a `read-face-name' prop on the entire line.
16520 (describe-face): Handle multiple faces via read-face-name.
16522 * textmodes/tex-mode.el (tex-start-options): New variable.
16523 (tex-start-commands): New variable.
16524 (tex-start-options-string): Variable deleted.
16525 (tex-start-tex): Use tex-start-options and tex-start-commands,
16526 not tex-start-options-string.
16527 (tex-command): Doc fix.
16529 2002-04-26 Sam Steingold <sds@gnu.org>
16531 * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
16532 not in the authinfo/netrc, keep `cred' at nil.
16534 2002-04-26 Gerd Moellmann <gerd@gnu.org>
16536 * find-file.el: Remove Ada-specific example code.
16538 2002-04-25 Michael Kifer <kifer@cs.stonybrook.edu>
16540 * ediff-hooks.el: Put back the autoloads.
16542 2002-04-25 Colin Walters <walters@verbum.org>
16544 * ibuffer.el (define column process): Use `ibuffer-aif'.
16546 * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
16548 (ibuffer-yank): Be sure to `setq' after we use `nconc'.
16549 (ibuffer-save-filter-groups): Correctly structure filter groups.
16550 (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
16553 2002-04-25 Simon Josefsson <jas@extundo.com>
16555 * mail/sendmail.el (mail-use-dsn): New variable to request
16556 delivery status notification from MTA.
16557 (sendmail-send-it): Use it.
16559 * mail/smtpmail.el (smtpmail-queue-counter): New variable.
16560 (smtpmail-send-it): Use it to construct new queue filenames
16561 (needed if you send more than one message per second, which is
16562 possible if you use Gnus Agent).
16564 * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
16566 (smtpmail-try-auth-methods): Support netrc data.
16567 (netrc-parse): Autoload netrc.
16569 2002-04-25 Colin Walters <walters@verbum.org>
16571 * replace.el (multi-occur-by-filename-regexp): Doc fix.
16572 (occur-engine): Go to `point-min'. Make nlines argument actually
16573 mean number of context lines. Handle it. Pad digits to the right.
16575 * ibuf-ext.el (ibuffer-filtering-groups): Renamed to
16576 `ibuffer-filter-groups'. All users updated.
16577 (ibuffer-show-empty-filter-groups): New variable.
16578 (ibuffer-saved-filter-groups): New variable.
16579 (ibuffer-maybe-save-stuff): Renamed from
16580 `ibuffer-maybe-save-saved-filters'. Callers updated.
16581 Handle `ibuffer-saved-filter-groups'.
16582 (ibuffer-hidden-filtering-groups): Renamed to
16583 `ibuffer-hidden-filter-groups'.
16584 (ibuffer-filter-group-kill-ring): New variable.
16585 (ibuffer-save-with-custom): Doc fix.
16586 (ibuffer-set-filter-groups-by-mode): New function.
16587 (ibuffer-clear-filter-groups): New function.
16588 (ibuffer-current-filter-groups-with-position): Renamed from
16589 `ibuffer-current-filter-groups'. Callers updated.
16590 (ibuffer-kill-filter-group): New function.
16591 (ibuffer-kill-line): New function.
16592 (ibuffer-yank): New function.
16593 (ibuffer-save-filter-groups): New function.
16594 (ibuffer-delete-saved-filter-groups): New function.
16595 (ibuffer-switch-to-saved-filter-groups): New function.
16596 (ibuffer-mark-on-buffer): Add optional arguments for adding a
16597 specific mark, and marking on a specific group.
16599 * ibuffer.el (ibuffer-formats): Doc fix.
16600 (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
16601 Bind new functions from ibuf-ext.el. Add menu entries for them.
16602 Remove superfluous tooltips.
16603 (ibuffer-toggle-marks): If on a group name, then toggle marks just
16605 (ibuffer-mark-interactive): Handle filter groups.
16606 (ibuffer-mark-forward, ibuffer-unmark-forward)
16607 (ibuffer-mark-for-delete, ibuffer-unmark-backward)
16608 (ibuffer-mark-for-delete-backwards): Update docs.
16609 (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
16610 to `ibuffer-current-filter-groups-with-position'.
16611 (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
16612 (ibuffer-mode): Add some documentation about filter groups.
16614 2002-04-25 Andreas Schwab <schwab@suse.de>
16616 * find-dired.el (find-name-dired): Don't quote pattern twice.
16618 2002-04-26 Miles Bader <miles@gnu.org>
16620 * cus-edit.el (customize-face, customize-face-other-window):
16621 Use default instead of initial-input for suggested face.
16623 2002-04-25 Gerd Moellmann <gerd@gnu.org>
16625 * cus-edit.el (customize-face-other-window, customize-face):
16626 Interactively, when point is on text with a face, suggest to
16627 customize that face.
16629 2002-04-25 Glenn Morris <gmorris@ast.cam.ac.uk>
16631 * progmodes/f90.el: General tidy-up of commentary and some doc
16634 2002-04-24 Glenn Morris <gmorris@ast.cam.ac.uk>
16636 * scroll-all.el (scroll-all-function-all) New function to do the
16638 (scroll-all-scroll-down-all, scroll-all-scroll-up-all,
16639 scroll-all-page-down-all, scroll-all-page-up-all,
16640 scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
16641 Make them use scroll-all-function-all.
16643 * progmodes/f90.el (f90-get-beg-of-line): Removed and replaced
16644 with line-beginning-position.
16645 (f90-get-end-of-line): Removed and replaced with line-end-position.
16646 (f90-match-piece): Removed and replaced with match-string.
16647 (f90-current-indentation): Remove `current-column'.
16648 (f90-get-present-comment-type): Use match-string rather than
16650 (f90-match-end): Use line-beginning-position, line-end-position
16651 rather than beginning-of-line, end-of-line.
16652 (f90-startup-message): Variable removed.
16654 2002-04-24 Colin Walters <walters@verbum.org>
16656 * replace.el (occur-accumulate-lines): Add optional argument
16657 `no-props'. Handle it.
16658 (occur-engine): Use it.
16660 * ibuf-ext.el (toplevel): Remove byte-compile-dynamic. Try to set
16661 up autoloads manually.
16662 (ibuffer-split-list): New function.
16663 (ibuffer-filtering-groups): New variable.
16664 (ibuffer-hidden-filtering-groups): New variable.
16665 (ibuffer-mouse-toggle-filter-group): New function.
16666 (ibuffer-toggle-filter-group): New function.
16667 (ibuffer-toggle-filter-group-1): New function.
16668 (ibuffer-forward-filter-group): New function.
16669 (ibuffer-backward-filter-group): New funtion.
16670 (ibuffer-generate-filter-groups): New function.
16671 (ibuffer-filters-to-filter-group): New function.
16672 (ibuffer-pop-filter-group): New function.
16673 (ibuffer-jump-to-filter-group): New function.
16674 (ibuffer-do-occur): Just use `occur-read-primary-args'
16676 * ibuffer.el (ibuffer-filter-group-name-face): New.
16677 (ibuffer-mode-map): Bind and add menu entries for most new
16678 functions; also, bind the arrow keys to the movement functions.
16679 (ibuffer-mode-filter-group-map): New.
16680 (ibuffer-mouse-toggle-mark): Handle group names.
16681 (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
16682 (ibuffer-skip-properties): New function.
16683 (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
16684 group names. Also, handle new properties.
16685 (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
16686 Move error handling to `ibuffer-current-buffer'.
16687 (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
16688 (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
16689 (ibuffer-toggle-marks): Add optional group argument.
16690 (ibuffer-mark-interactive): Skip group names.
16691 (ibuffer-current-buffer): Clean up error handling.
16692 (ibuffer-fontify-region-function): Fontify group names.
16693 (ibuffer-map-lines): Add extra group argument. Handle it.
16694 (ibuffer-current-filter-groups): New function.
16695 (ibuffer-redisplay): Handle hidden filtering groups.
16696 (ibuffer-sort-bufferlist): New function, taken from
16697 `ibuffer-insert-buffers-and-marks'.
16698 (ibuffer-insert-filter-group): New function.
16699 (ibuffer-redisplay-engine): Renamed from
16700 `ibuffer-insert-buffers-and-marks'. Handle new filtering groups.
16701 (ibuffer): Add filter-groups argument. Handle it.
16702 Use `save-selected-window'.
16703 (ibuffer-mode): Make `ibuffer-filtering-groups' and
16704 `ibuffer-hidden-filtering-groups' buffer-local.
16706 * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
16708 2002-04-24 Richard M. Stallman <rms@gnu.org>
16710 * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
16711 (easy-menu-define-key-intern): Function deleted; callers intern
16712 and then call easy-menu-define-key.
16713 (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
16714 (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
16715 (easy-menu-name-match): New function.
16716 (add-submenu): New function.
16717 (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
16719 2002-04-24 Eli Zaretskii <eliz@is.elta.co.il>
16721 * menu-bar.el (menu-bar-adv-search-menu)
16722 (menu-bar-adv-search-menu): Improve the help text.
16724 2002-04-24 Simon Josefsson <jas@extundo.com>
16726 * net/netrc.el: New file.
16728 2002-04-24 Thomas DeWeese <tdeweese@rochester.rr.com>
16730 * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
16731 Check if any of the available selection sources has new content
16732 and if so it will return that content.
16734 2002-04-24 Miles Bader <miles@gnu.org>
16736 * menu-bar.el (buffers-menu-show-directories)
16737 (buffers-menu-show-status): New variables.
16738 (menu-bar-update-buffers-1): Use them.
16740 2002-04-24 Martin Stjernholm <bug-cc-mode@gnu.org>
16742 * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
16743 from `c-do-auto-fill' and point is at or near the limit of the
16744 comment. Fixed bug when the prefix from `c-guess-fill-prefix'
16745 is longer than the text on the first line of the comment when
16748 2002-04-24 Miles Bader <miles@gnu.org>
16750 * menu-bar.el (menu-bar-update-buffers-1): Make sure
16751 `uniquify-buffer-name-style' is bound.
16753 2002-04-23 Colin Walters <walters@verbum.org>
16755 * replace.el (toplevel): Require `cl' while compiling.
16756 (occur-buffer, occur-nlines): Delete.
16757 (occur-revert-properties): Rename to `occur-revert-properties'.
16758 (occur-mode): Handle it. Set up font lock.
16759 (occur-revert-function): Simply apply `occur-1'.
16760 (occur-mode-find-occurence, occur-mode-mouse-goto)
16761 (occur-mode-goto-occurrence-other-window)
16762 (occur-mode-display-occurrence): Handle buffer property.
16763 (list-matching-lines-face): Use defcustom.
16764 (list-matching-lines-buffer-name-face): New variable.
16765 (occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
16767 (occur-read-primary-args): Move out of `occur'.
16768 (occur): Delete. Now simply call `occur-1'.
16769 (multi-occur, multi-occur-by-filename-regexp): New functions.
16770 (occur-1): New function.
16771 (occur-engine): Renamed from `ibuffer-occur-engine' to replace the
16772 previous implementation of `occur'; taken from ibuf-ext.el.
16773 (occur-fontify-on-property): New function.
16774 (occur-fontify-region-function, occur-unfontify-region-function):
16777 * ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
16779 * ibuf-ext.el (ibuffer-depropertize-string): Delete.
16780 (ibuffer-occur-match-face): Delete.
16781 (ibuffer-occur-props, ibuffer-occur-mode): Delete.
16782 (ibuffer-occur-mouse-display-occurence): Delete.
16783 (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
16784 (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
16785 (ibuffer-occur-engine): Moved to replace.el.
16786 (ibuffer-do-occur): Simply call `occur-1'.
16788 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16789 Handle the case where we're already viewing the score file.
16791 2002-04-23 Andreas Schwab <schwab@suse.de>
16793 * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
16796 2002-04-23 Miles Bader <miles@gnu.org>
16798 * menu-bar.el (menu-bar-update-buffers-1): Don't display a
16799 directory separator if there's no directory. Don't display
16800 directories at all if uniquify is active. Some code cleanup.
16801 (uniquify-buffer-name-style): Declare (but don't initialize).
16803 * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
16804 for command menu entries, since the low-level menu code modifies
16805 them. Cache the resulting list.
16806 (menu-bar-buffers-menu-command-entries): New variable.
16808 * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
16809 Add separator line before commands
16810 Remove old crufty code that tried to line things up by adding
16811 spaces to entries (it doesn't work).
16812 Move `Frames' submenu after the normal buffers, and add a
16813 separator line before it.
16814 (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
16816 2002-04-22 Richard M. Stallman <rms@gnu.org>
16818 * files.el (after-find-file): Use %s to output MSG.
16820 * dired.el (dired-mouse-find-file-other-window):
16821 Handle events that move out of the window.
16823 2002-04-23 Martin Stjernholm <bug-cc-mode@gnu.org>
16825 * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
16826 was moved to the following line when it was at the first line
16827 of a block comment where comment-start-skip matched to eol.
16829 2002-04-22 Richard M. Stallman <rms@gnu.org>
16831 * simple.el (line-move-finish): Find beg and end of line
16832 before calling line-move-to-column. Do consider intangible
16833 when finding the end. Take more care in analyzing the results
16834 of intangibility after line-move-to-column.
16836 2002-04-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
16838 * international/mule-diag.el (list-input-methods-1): Doc fix
16839 (LEIM is now part of the standard distribution).
16841 * tmm.el (tmm-completion-prompt): Doc fix.
16843 * hilit-chg.el (global-highlight-changes): Capitalize status texts.
16845 2002-04-22 Edward M. Reingold <reingold@emr.cs.iit.edu>
16847 * diary-lib.el (include-other-diary-files): Allow modifying
16848 included buffer, to turn off selective display.
16850 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16852 * progmodes/cc-mode.el: (c-define-abbrev-table): New function to
16853 pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
16854 emacsen that doesn't support it.
16856 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16858 * progmodes/cc-align.el, progmodes/cc-engine.el,
16859 progmodes/cc-styles.el, progmodes/cc-vars.el
16860 (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
16861 Find correct anchor for statement-cont in top level constructs.
16862 Analyze variable initializations in top level constructs as
16863 topmost-intro-cont instead of statement-cont. That is an
16864 incompatible change but it gives better consistency. The new
16865 lineup function c-lineup-topmost-intro-cont' compensates for
16866 it and is now put on topmost-intro-cont by default.
16868 * progmodes/cc-align.el, progmodes/cc-engine.el,
16869 progmodes/cc-langs.el (c-lineup-argcont): Lineup function
16870 contributed by Kevin Ryde.
16872 (c-in-gcc-asm-p): Function to recognize asm statements.
16873 Contributed by Kevin Ryde.
16875 (c-opt-asm-stmt-key): New language variable to recognize the
16876 beginning of asm statements.
16878 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16880 * progmodes/cc-engine.el (c-guess-basic-syntax):
16881 Detect variable declarations after class and struct declarations
16882 correctly. Fixed limit error when finding the anchor for
16883 template-args-cont and topmost-intro-cont.
16885 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16887 * progmodes/cc-cmds.el (c-beginning-of-defun)
16888 (c-declaration-limits): Find the "line oriented" declaration
16889 start too, just like the "line oriented" end is found.
16891 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16893 * progmodes/cc-vars.el (c-offsets-alist): A more sane default
16894 for `inexpr-statement'. This is not compatible, though.
16895 I think the benefit of a good default style outweights that in
16896 this case. Besides, `inexpr-statement' is not very common.
16898 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16900 * progmodes/cc-cmds.el (c-electric-delete-forward):
16901 Fix silly bug that caused it to delete backwards in hungry delete
16902 mode. (It's amazing that this bug hasn't been reported.)
16904 * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
16905 Extracted the code to get the declaration limits from
16906 `c-mark-function' to a new `c-declaration-limits'.
16908 (c-indent-defun): Use the same method to get the limits of the
16909 declaration or macro as `c-mark-function'.
16911 * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
16912 list initializers correctly (but costly; it ought to be
16913 integrated into `c-beginning-of-statement-1').
16915 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16917 * progmodes/cc-cmds.el, progmodes/cc-engine.el
16918 (c-beginning-of-defun, c-end-of-defun, c-mark-function):
16919 Rewritten to detect the declaration limits better.
16920 Now handles K&R argdecls, class definitions followed by variables etc.
16922 (c-in-knr-argdecl): Broke out the K&R argdecl test in
16923 `c-beginning-of-decl-1' to this new function.
16925 (c-end-of-statement-1, c-end-of-decl-1):
16926 Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
16927 handles declarations that continue after the block.
16929 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
16930 Added an option to restrict matching to the top level of the
16931 current paren sexp.
16933 * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
16934 New regexp to recognize declarations that continue after the block.
16936 (c-syntactic-eol): New regexp to match a "syntactic" eol.
16938 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16940 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
16941 that often caused the backward limit to be lost at the top
16942 level. This improves performance a bit.
16944 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
16945 New function that works like `re-search-forward' but only returns
16946 matches in syntactically significant text.
16948 * progmodes/cc-engine.el: Fixed a faster and more accurate way
16949 to recognize K&R argdecls.
16951 (c-beginning-of-decl-1): New function that put point at the
16952 beginning of the declaration. It handles K&R argdecl blocks.
16954 (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
16955 code with one that doesn't depend on the current indentation.
16956 The anchor position for `knr-argdecl' has also changed, but in
16957 a way that is unlikely to cause compatibility problems.
16959 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16961 * progmodes/cc-defs.el, progmodes/cc-engine.el
16962 (c-forward-comment): `forward-comment' in XEmacs skips over
16963 line continuations in the backward direction. Correct for
16964 that. Also made this a defun since it has grown too large now
16967 * progmodes/cc-langs.el: More convenient and decentralized
16968 setup of the language specific variables. The regexp-opt
16969 mangling is also done at compile time now.
16971 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16973 * progmodes/cc-cmds.el (c-indent-line-or-region):
16974 Call `c-indent-line' directly instead of through
16975 `indent-according-to-mode' so that this function always
16976 indents syntactically.
16978 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
16979 where a class beginning with a nested class could cause an
16980 infinite loop (the state outside the narrowed out class is
16983 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16985 * progmodes/cc-align.el, progmodes/cc-cmds.el,
16986 progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
16987 the context sensitive analysis inside macros is restricted to
16988 the bodies of #define's; other things, like #if expressions,
16989 never have anything in common with their surroundings.
16990 The old `cpp-macro-cont' syntax is now used in situations where
16991 the syntactic analysis isn't applicable, and a new syntactic
16992 element `cpp-define-intro' is used to add indentation in
16995 (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
16996 better reflect its use.
16998 * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
16999 continuation backslashes in the detection of `arglist-cont-nonempty'.
17001 * progmodes/cc-align.el: Use the vector form in the return
17002 value in all cases where lineup functions return absolute columns.
17004 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17006 * progmodes/cc-engine.el (c-add-stmt-syntax)
17007 (c-guess-basic-syntax): Anchor `brace-list-intro' and
17008 `bracec-list-close' better for brace lists nested inside expressions.
17010 * progmodes/cc-engine.el, progmodes/cc-langs.el,
17011 progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
17012 various language specific variables and their initialization.
17013 The keyword regexps are now lists that are combined with
17014 regexp-opt. Some variables have changed names to fit better
17015 with the naming convention.
17017 * progmodes/cc-defs.el, progmodes/cc-vars.el
17018 (c-buffer-is-cc-mode): The value is the mode symbol of the
17019 original CC Mode mode.
17021 (c-major-mode-is): Compare against the buffer local variable
17022 `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
17024 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17026 * progmodes/cc-engine.el (c-forward-syntactic-ws)
17027 (c-backward-syntactic-ws, c-forward-token-1)
17028 (c-backward-token-1, c-in-literal, c-literal-limits)
17029 (c-collect-line-comments, c-literal-type, c-on-identifier)
17030 (c-guess-basic-syntax): These functions are now considered part
17031 of the "CC Mode API" and may be used by other code.
17032 That's signified by making their documentation into docstrings.
17034 (c-whack-state, c-hack-state, c-skip-case-statement-forward):
17035 Removed these internal functions since they aren't used.
17037 (c-forward-to-cpp-expression): Classified this function as internal.
17039 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17041 * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
17042 Simplified these regexps; the class keywords they contain
17043 ought to be enough to avoid false matches, so checking for
17044 following identifiers etc is just unnecessary (and might also
17045 fail for oddly formatted code).
17047 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17049 * progmodes/cc-engine.el, progmodes/cc-cmds.el
17050 (c-forward-comment-lc): New function that behaves like
17051 `c-forward-comment', with the exception that line
17052 continuations are treated as whitespace.
17054 (c-beginning-of-statement): Use `c-forward-comment-lc', to
17055 work correctly in macros and other places where line
17056 continuations should be treated as whitespace.
17058 * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
17059 normal label in a switch block as a case label, to get
17060 consistent lineup with the case labels.
17062 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
17063 in skipping over a macro that ends with an empty line.
17065 * progmodes/cc-styles.el: Require cc-align since styles added
17066 with `c-add-style' often contains references to functions
17067 defined there, and so the `c-valid-offset' check might
17068 otherwise complain on them.
17070 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17072 * progmodes/cc-align.el, progmodes/cc-mode.texi,
17073 progmodes/cc-vars.el: Added two new lineup functions:
17075 (c-lineup-knr-region-comment): A new lineup function to get
17076 (what most people think is) better indentation of comments in
17077 the "K&R region" between the function header and its body.
17079 (c-lineup-gcc-asm-reg): New lineup function for better
17080 indentation inside gcc asm blocks. Contributed by Kevin Ryde.
17082 (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
17083 `c-lineup-knr-region-comment' in the default offset
17084 configuration, since these two functions have little impact
17085 outside their intended use, and they generally do the right
17086 thing when they kick in.
17088 * progmodes/cc-engine.el (c-guess-continued-construct)
17089 (c-guess-basic-syntax): Handle nested functions in all
17090 languages, not just Pike. In C and C++ there's a gcc
17091 extension for this, and it also gives better treatment of
17092 macros that are followed by blocks.
17094 * progmodes/cc-langs.el (c-symbol-key): Made this variable
17095 mode specific, to handle Pike special symbols like `== better.
17097 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17099 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
17100 progmodes/cc-vars.el (c-report-syntactic-errors): A new
17101 variable to control the syntactic error messages. It defaults
17102 to off; since CC Mode ignores most syntactic errors it might
17103 as well ignore them all for the sake of consistency.
17105 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17107 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
17108 Optimization. Can give a noticeable speedup if there's a
17109 large preceding function or class body.
17111 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17113 * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
17114 efficient and correct insertion functions in many places.
17115 Always inherit text properties correctly if the text is
17116 permanent. Also do it for speed in temporary insertions,
17117 since I figure it's less work to continue the surrounding text
17118 properties than to break them.
17120 * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
17121 completion to make it easier to enter lists.
17123 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17125 * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
17126 c-state-cache was clobbered.
17128 * progmodes/cc-cmds.el, progmodes/cc-engine.el
17129 (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
17132 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17134 * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
17135 open parens in macros (if point isn't in the same one).
17137 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17139 * progmodes/cc-cmds.el (c-context-open-line): New function
17140 that is the `open-line' equivalent to `c-context-line-break'.
17142 * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
17143 for Emacs 21 since `indent-new-comment-line' has been changed
17144 to `comment-indent-new-line' there.
17146 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17148 * progmodes/cc-engine.el, progmodes/cc-langs.el
17149 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
17150 New variables containing the character sets used to recognize
17151 statement/declaration boundaries. These variables might help
17152 to support languages like javascript and awk, where newlines
17153 sometimes delimits statements.
17155 (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
17156 the set of statement delimiting characters, to allow it to be
17157 changed dynamically and per-mode.
17159 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17161 * progmodes/cc-engine.el (c-looking-at-bos)
17162 (c-looking-at-inexpr-block, c-add-stmt-syntax)
17163 (c-guess-basic-syntax): Treat blocks directly inside function
17164 calls like "bare" statements inside function calls, and not
17165 like in-expression statements. This to make indentation of
17166 such blocks consistent with other statements inside macro calls.
17168 * progmodes/cc-engine.el (c-guess-basic-syntax):
17169 Made arglist-cont anchor correctly in arglists that contain statements.
17171 * progmodes/cc-engine.el (c-guess-basic-syntax):
17172 Fixed consistent anchoring of defun-block-intro in defuns in code
17173 blocks (can only occur in Pike).
17175 * progmodes/cc-engine.el (c-looking-at-inexpr-block)
17176 (c-looking-at-inexpr-block-backward): Changed the arguments to
17177 require containing sexps and paren state, for better efficiency.
17179 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17181 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
17182 progmodes/cc-vars.el: Improved anchoring of statement and
17183 handling of labels in front of substatements.
17185 (c-guess-continued-construct, c-guess-basic-syntax):
17186 Improved and unified anchoring at statements. Statements beginning
17187 with comments or labels are now avoided, by going out of
17188 blocks and containing statements if necessary. This nesting
17189 handling also fixes the case when there's a statement after a
17190 block open brace. Added the syntactic symbol `substatement-label'.
17192 (c-electric-colon): Map the new `substatement-label' to
17193 `label' when consulting `c-hanging-colons-alist'.
17195 (c-offsets-alist): Added substatement-label. Updated the
17196 comments for the new anchoring positions at statements.
17198 * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
17199 anchor points for knr-argdecl-intro and access-label.
17200 They used to refer to some point on the same line, a bug which was
17201 neutralized by a kludge in `c-get-syntactic-indentation' which
17202 ignored such anchor points.
17204 (c-get-syntactic-indentation): Removed the kludge that was
17205 necessary due to buggy anchor points.
17207 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
17208 the absence of a comma before arglist-close (case 7A) in any
17209 language, since there's nothing better to do that case anyway.
17210 Added special case to make in-expression statements be
17211 recognized as normal arglist-cont if we're directly in a macro
17212 arglist, for consistency with other "bare" statements.
17214 * progmodes/cc-engine.el (c-looking-at-bos): Added optional
17215 limit arg for backward searches.
17217 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
17218 Anchor gcc in-expression statements at the surrounding open
17219 parenthesis. Treat a class body as an in-expression class if
17220 it's used in an object clone expression in Pike.
17222 * progmodes/cc-engine.el (c-get-offset)
17223 (c-get-syntactic-indentation): Allow several anchor positions
17224 in the list of syntactic symbols. Only the first is used as
17225 the base for the offset calculation.
17227 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17229 * progmodes/cc-cmds.el (c-indent-defun): Indent the current
17230 macro if inside one at the top level. Do not throw an error
17231 if used at the top level outside a macro.
17233 * progmodes/cc-cmds.el (c-backslash-region): Do tab width
17234 alignment only if the backslashes can't be aligned with
17235 surrounding backslashes.
17237 * progmodes/cc-engine.el (c-end-of-macro): New function.
17239 * progmodes/cc-engine.el (c-least-enclosing-brace):
17240 Rewritten to not be destructive.
17242 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17244 * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
17245 line break when point is inside the content of it; if it's in
17246 the cpp keyword a normal line break is done.
17248 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
17249 cpp-macro-cont inside the argument list to a #define.
17251 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17253 * progmodes/cc-defs.el (c-forward-comment): Implemented a
17254 kludge to avoid the problem most forward-comment incarnations
17255 have with `\' together with comment parsing.
17257 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17259 * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
17260 which could cause the state returned by `c-parse-state' to
17261 lack a closed paren element. That in turn could result in
17262 very long searches, since it's common that they start from the
17263 last preceding close brace.
17265 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17267 * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
17268 treat else-if as a single continuation, since that'd make it
17269 hard to get the right anchor point when there's a line break
17270 between the two keywords. This change causes else-clause to
17271 be anchored on the closest preceding else-if and not always on
17272 the starting if, but that doesn't affect the indentation for
17273 any reasonably sane style. Also introduced a noerror flag.
17275 (c-beginning-of-closest-statement): Removed;
17276 c-beginning-of-statement-1 now avoids the problem this one solved.
17278 * progmodes/cc-engine.el (c-guess-continued-construct)
17279 (c-guess-basic-syntax): Better and more uniform anchor points
17280 for 'statement-cont and 'substatement. The effect is
17281 noticeable mostly when there's a label on the same line as the
17282 beginning of the statement, or when there are more stuff
17283 before the start of the statement.
17285 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
17286 Added flag to disable looking at the type of the surrounding paren
17287 since that confuses c-beginning-of-statement-1 and a couple of
17290 * progmodes/cc-engine.el (c-guess-basic-syntax):
17291 Avoid stepping to the previous statement in case 18.
17292 Improvements in recognition of statement blocks on the top level.
17294 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17296 * progmodes/cc-engine.el (c-beginning-of-statement-1)
17297 (c-crosses-statement-barrier-p): Rewritten to get a well
17298 defined and documented behavior. This fixes some tricky cases
17299 in recognition of do-while constructs.
17301 (c-backward-to-start-of-do, c-backward-to-start-of-if):
17302 Removed; use c-beginning-of-statement-1 instead.
17304 (c-guess-continued-construct, c-guess-basic-syntax):
17305 Various fixes to not depend on the bugs previously in
17306 c-beginning-of-statement-1. Cleanups in cases 18 and 17 to
17307 use the new behavior of c-beginning-of-statement-1 better.
17308 Fixed recognition of catch blocks inside macros.
17310 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
17311 in skipping over a macro.
17313 * progmodes/cc-langs.el (c-label-kwds): New variable to
17314 contain the appropriate c-*-label-kwds value.
17316 * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
17317 evaluation bug that caused the widget for
17318 c-block-comment-prefix to bug out.
17320 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17322 * progmodes/cc-engine.el (c-guess-basic-syntax):
17323 Improved recognition of statements: They are now recognized in
17324 contexts where they normally can't occur, e.g. on the top level or
17325 in function call arguments. This is mainly useful to recognize
17326 statements in macros at the top level, and in arguments to
17327 macros. The cases has been moved around quite a bit, and case
17328 10 has been copied to case 18. (The cases has not been
17329 renumbered because of this.)
17331 (c-guess-continued-construct): New function which has the
17332 rules which are common between cases 10 and 18.
17334 * progmodes/cc-engine.el (c-beginning-of-statement-1)
17335 (c-backward-to-start-of-do, c-backward-to-start-of-if):
17336 Fixes so that they really obey the passed limits.
17338 (c-safe-position): Return nil if the state doesn't contain a
17341 (c-guess-basic-syntax): Fixes some too short limits in calls
17342 to c-beginning-of-statement-1. Some fixes for top level
17343 analysis in ObjC mode.
17345 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17346 Fixed bug in do-while statements where the body is not a block.
17348 * progmodes/cc-styles.el (c-set-style):
17349 Reset c-special-indent-hook to its global value if in override mode.
17350 Fixes problem where functions on that hook remained after
17353 * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
17354 Use c-benign-error to report the c-strict-syntax-p error.
17356 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17358 * progmodes/cc-align.el, progmodes/cc-defs.el,
17359 progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
17360 Several fixes to treat macros as code and not literals and to
17361 handle line continuations transparently.
17363 (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
17364 through whitespace and line continuations, but not comments
17367 (c-in-literal): No longer recognizes macros as literals by
17368 default. An extra flag argument is required to do that.
17370 (c-macro-start, c-query-macro-start)
17371 (c-query-and-set-macro-start): Added a cache for the macro
17374 (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
17375 more speed when limits are given. Workaround for bad behavior
17376 in forward-comment in some emacsen when it hits a buffer limit
17377 with a large repeat count.
17379 (c-lineup-macro-cont): Improved behavior when
17380 c-syntactic-indentation-in-macros is nil.
17382 (c-syntactic-indentation-in-macros, c-backslash-max-column)
17383 (c-auto-align-backslashes): New customization variables to
17384 control macro handling.
17386 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
17387 Fixes to handle line continuations.
17389 * progmodes/cc-defs.el, progmodes/cc-styles.el
17390 (c-get-style-variables, c-set-offset): Report style errors
17391 with message and ding instead of error signal. This to avoid
17392 interrupted mode init if there's some style problem.
17394 (c-benign-error): New macro to report errors that doesn't need
17395 to interrupt the operation.
17397 * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
17399 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17401 * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
17402 Removed most of the c-state-cache fiddling, since the global
17403 state cache now handles this.
17405 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
17406 when there's an open paren at the very first char of the
17407 visible buffer region.
17409 * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
17410 Cache the state globally and invalidate it below every buffer
17411 change with the new after change function
17412 `c-check-state-cache'. This gives a considerable performance
17413 boost when editing large functions or classes.
17415 * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
17417 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17419 * progmodes/cc-engine.el, progmodes/cc-langs.el,
17420 progmodes/cc-align.el: Improvements to syntactic analysis
17423 (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
17424 by `c-guess-basic-syntax'.
17426 (c-parse-state): Fixed bug with braces inside macros when
17427 using cached state info.
17429 (c-forward-to-cpp-expression): New function to aid in
17430 syntactic analysis inside macros.
17432 (c-beginning-of-statement-1, c-backward-syntactic-ws):
17433 Fixes to work better inside macros.
17435 (c-forward-syntactic-ws): Whitespace between the # and the
17436 command should be allowed in preprocessor directives.
17438 (c-lineup-macro-cont): New lineup function to get context
17439 sensitive indentation inside macros.
17441 (c-offsets-alist): Made `c-lineup-macro-cont' the default for
17444 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17446 * progmodes/cc-engine.el (c-beginning-of-statement-1)
17447 (c-forward-syntactic-ws): Fixes to handle continued lines.
17449 (c-backward-to-start-of-if, c-guess-basic-syntax):
17450 Do syntactic analysis inside macros.
17452 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17454 * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
17455 possible by the more flexible state cache.
17457 * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
17458 (c-whack-state-after, c-hack-state)
17459 (c-narrow-out-enclosing-class, c-guess-basic-syntax):
17460 Improved the state cache system. It now can use partial info from
17461 an old cached state to calculate a new one at a different
17462 position. Removed some kludges to avoid the state cache.
17463 The new functions `c-whack-state-before' and `c-whack-state-after'
17464 replace the now obsolete `c-whack-state'.
17466 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17467 Optimized backing through a macro. This can speed things up
17468 quite a bit when there are long macros before point.
17470 (c-beginning-of-macro): Do not ignore the limit.
17472 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17474 * progmodes/cc-cmds.el (c-electric-continued-statement):
17475 Fixed a bug where the keyword wasn't reindented correctly if
17476 followed by another keyword or identifier.
17478 * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
17479 pairs that are in macros. Fixes some cases where e.g. the
17480 second of two "do { } while (0)" macros after each other
17481 indented differently.
17483 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17485 * progmodes/cc-engine.el (c-beginning-of-macro)
17486 (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
17487 directive when it begins a line, to allow for script
17488 interpreter lines like "#!/usr/bin/pike" at the beginning of
17491 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17493 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
17494 Recognize brace blocks inside a parenthesis expression as
17495 inexpr-statement. Useful when writing statements as macro arguments.
17497 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17499 * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
17500 (c-mask-comment): Broke out the comment masking code from
17501 `c-fill-paragraph' to a new function `c-mask-comment', to be
17502 able to do the same thing in `c-do-auto-fill'. This should
17503 make auto-fill-mode behave better.
17505 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17507 * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
17508 Check `executing-macro' to avoid blinking parens when macros
17511 * progmodes/cc-mode.el, progmodes/cc-styles.el
17512 (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
17513 consistency with `c-setup-paragraph-variables' (which was
17514 placed there due to the dependency from `c-set-style').
17516 * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
17517 incomplete initialization from the style variable fallbacks if
17518 there already is a style called "user" defined when CC Mode
17519 starts up for the first time.
17521 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17523 * progmodes/cc-cmds.el, progmodes/cc-vars.el
17524 (c-comment-indent, c-indent-comment-alist): Added new variable
17525 `c-indent-comment-alist' to allow better control over
17526 `c-comment-indent'.
17528 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17530 * progmodes/cc-align.el (c-lineup-C-comments): Try to match
17531 both `comment-start-skip' and the comment prefix on the
17532 current line with the comment starter, so that we line up
17533 comments which matches `c-comment-prefix-regexp' on the first
17534 line (after the `/') without the need to make
17535 `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
17537 * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
17538 (c-set-style-1, c-setup-paragraph-variables): Moved the
17539 variable initialization based on `c-comment-prefix-regexp' to
17540 a new function `c-setup-paragraph-variables', which is now
17541 used both at mode init and when a style that sets
17542 `c-comment-prefix-regexp' is activated.
17544 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17546 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
17547 Better handling of C++ template args to avoid confusion with
17548 `<' and `>' used as operators in member init expressions.
17550 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17552 * progmodes/cc-engine.el (c-most-enclosing-brace)
17553 (c-least-enclosing-brace): Added optional second arg to limit
17554 the search to before a certain point.
17556 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
17557 which could cause incorrect analysis if a cached state is used
17558 (usually only happens when an electric key reindents a line).
17560 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17562 * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
17563 insulation. This time for XEmacs 21.
17565 * progmodes/cc-engine.el, progmodes/cc-langs.el:
17566 Improved handling of inheritance lists:
17568 (c-beginning-of-inheritance-list): Rewritten to use a more
17569 syntactically correct method that doesn't get confused by
17570 badly placed linebreaks and comments.
17572 (c-guess-basic-syntax): Several fixes to the handling of
17573 inheritance lists in combination with templates. 'inher-intro
17574 is now anchored on the start of the class declaration and not
17575 the indentation of the current line. Switched places on cases
17576 5D.3 and 5D.4 and made them use more syntactically correct methods.
17578 (c-inher-key): Removed since the code in
17579 `c-guess-basic-syntax' now uses token-based search.
17581 * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
17582 Added a submenu to access some toggles.
17584 (c-toggle-syntactic-indentation): New function to toggle the
17585 variable `c-syntactic-indentation'.
17587 * progmodes/cc-styles.el (c-set-style): Improved the error
17588 message for incorrect offsets a bit.
17590 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17592 * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
17593 sexp follows point immediately, instead find the closest
17594 following open paren that ends on another line.
17596 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17598 * progmodes/cc-align.el (c-lineup-cascaded-calls):
17599 New indentation function.
17601 * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
17602 directives with whitespace between the '#' and the name.
17604 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17606 * progmodes/cc-engine.el (c-forward-syntactic-ws)
17607 (c-backward-syntactic-ws): Handle line continuations as
17608 whitespace. Don't move past a macro if that'd take us past
17611 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17613 * progmodes/cc-engine.el (c-beginning-of-macro)
17614 (c-forward-syntactic-ws): Multiline strings begin with `#"' in
17615 Pike, and that shouldn't be confused with a preprocessor directive.
17617 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17619 * progmodes/cc-cmds.el: Extended the kludge to interoperate
17620 with the delsel and pending-del packages wrt to the new
17621 function `c-electric-delete-forward'.
17623 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17625 * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
17626 the block itself, i.e. only indent the contents in it.
17628 * progmodes/cc-styles.el (c-set-style): Use the default
17629 argument to completing-read instead of initial-contents, if
17630 the function is recent enough to support it.
17632 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17634 * progmodes/cc-mode.el (c-mode-help-address):
17635 Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
17636 I've almost never seen a bug reported this way that should go
17637 to that list, but it's rather common that the reports concern
17638 the combination CC Mode and XEmacs instead.
17640 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17642 * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
17643 brace-elseif-brace and brace-catch-brace are active and
17644 there's a "else if"-block before the catch block.
17646 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
17647 Detect function headers that span lines.
17649 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17651 * progmodes/cc-cmds.el (c-electric-brace)
17652 (c-electric-semi&comma, c-electric-colon, c-electric-paren):
17653 Check for last on line only for doing the auto-newline-mode
17654 stuff, not for the reindentation.
17656 * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
17657 handling of c-syntactic-indentation: When it's nil, indent the
17658 new lines but don't reindent the current one. Reindent the
17659 line only when the inserted brace comes first on it, instead
17662 * progmodes/cc-cmds.el (c-electric-brace)
17663 (c-electric-semi&comma): Fixed two places where
17664 c-syntactic-indentation wasn't heeded.
17666 * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
17669 * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
17670 little harder to find a fallback position when an orphan else
17671 is found. Fixed case where an else following a do-while
17672 statement could be associated with an if inside the do-while.
17674 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17676 * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
17677 for the fallback to add a single space after the comment prefix.
17679 * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
17680 behavior in some special cases, especially for single-line comments.
17681 Avoid breaking up a comment starter or ender.
17683 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17685 * progmodes/cc-cmds.el (c-outline-level): Applied patch from
17686 the Emacs sources to make this work in invisible text.
17688 * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
17689 not be confused by a later ':' on the same line as the label.
17691 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17693 * progmodes/cc-cmds.el, progmodes/cc-mode.el
17694 (c-electric-delete, c-electric-delete-forward):
17695 Split `c-electric-delete' into two functions where
17696 `c-electric-delete-forward' always deletes forward and
17697 `c-electric-delete' only contains the code necessary for
17698 XEmacs to choose between backward and forward deletion.
17699 `c-electric-delete-forward' is now bound to C-d to get the
17700 electric behavior on that key too.
17702 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17704 * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
17705 use of c-comment-prefix-regexp, which caused an error when
17708 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17710 * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
17711 (c-default-style): Removed the hardcoded switch to "java" style
17712 in Java mode. It's instead taken care of by the default value
17713 for c-default-style.
17715 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17717 * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
17718 was triggered by equal signs in string literals.
17720 2002-04-21 Kim F. Storm <storm@cua.dk>
17722 * subr.el (insert-buffer-substring-no-properties): New function.
17723 (insert-buffer-substring-as-yank): New function.
17725 2002-04-21 Glenn Morris <gmorris@ast.cam.ac.uk>
17727 * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
17728 (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
17729 prefix from scroll commands. Ignore end-of-buffer errors from
17731 (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
17733 (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
17736 * files.el: (auto-mode-alist): .f95 files in f90-mode.
17738 * progmodes/fortran.el: (fortran-beginning-do): Make regexp match
17739 a DO statement irrespective of numeric label.
17741 2002-04-20 Glenn Morris <gmorris@ast.cam.ac.uk>
17743 * files.el (auto-save-file-name-transforms): Doc fix.
17744 Add third element to "uniquify" filenames.
17745 (make-auto-save-file-name): Use new element of
17746 auto-save-file-name-transforms.
17747 * startup.el (command-line): Add third element to
17748 auto-save-file-name-transforms.
17750 2002-04-19 Stefan Monnier <monnier@cs.yale.edu>
17752 * files.el (file-name-non-special): Don't mangle the 0'th arg and the
17753 return value of file-name-completion and file-name-all-completions.
17755 2002-04-19 Glenn Morris <gmorris@ast.cam.ac.uk>
17757 * progmodes/f90.el: Update maintainer.
17758 (f90-line-continued): Recognize blank/comment lines embedded in
17759 continuation lines.
17760 (f90-looking-at-program-block-start): No extra indentation after
17761 function or subroutine keyword appears in single quotes.
17763 2002-04-19 Miles Bader <miles@gnu.org>
17765 * custom.el (customize-mark-to-save, customize-mark-as-set)
17766 (custom-quote): Moved here from `cus-edit.el'.
17767 * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
17768 (custom-quote): Moved to `custom.el'.
17770 2002-04-18 Richard M. Stallman <rms@gnu.org>
17772 * facemenu.el (list-text-properties-at): Command deleted.
17774 * rect.el (insert-rectangle): Use insert-for-yank.
17776 * register.el (insert-register): Use insert-for-yank.
17777 (describe-register-1): Discard text props in yank-excluded-properties.
17779 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
17780 Fix parts in construction of `menu-item' item at end.
17782 * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
17784 * subr.el (insert-for-yank): New function.
17786 * simple.el (yank-excluded-properties): New user option.
17787 (yank-pop, yank): Use insert-for-yank.
17789 2002-04-19 Kim F. Storm <storm@cua.dk>
17791 * simple.el (pop-to-mark-command): Do not set this-command.
17792 (set-mark-command): Always jump to mark when called with arg.
17794 2002-04-18 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
17796 * comint.el (comint-watch-for-password-prompt): Remove whitespace
17797 at the beginning of password prompts.
17799 2002-04-18 Andrew Innes <andrewi@gnu.org>
17801 * facemenu.el: Remove require of wid-edit.
17803 2002-04-17 Colin Walters <walters@verbum.org>
17805 * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
17807 (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
17808 (ibuffer-current-state-list): Reinstate optional argument; now
17809 just call `point' inside the mapping function.
17811 2002-04-17 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
17813 * dired-aux.el (dired-star-subst-regexp)
17814 (dired-quark-subst-regexp): New constants.
17815 (dired-do-shell-command, dired-shell-stuff-it): Use them.
17816 (dired-do-shell-command): Raise an error if both `*' and `?'
17817 substitution marks are used in the same command.
17818 (dired-shell-stuff-it): Substitute all instances of `*' and `?'
17819 in a command given via dired-do-shell-command.
17821 * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
17823 2002-04-16 Jason Rumney <jasonr@gnu.org>
17825 * international/mule-cmds.el (locale-preferred-coding-systems):
17828 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
17830 * term.el (term-emulate-terminal): Fix last change.
17832 2002-04-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
17834 * bindings.el (mode-line-mode-menu): Update names to reflect
17837 2002-04-16 Mike Williams <mdub@bigfoot.com>
17839 * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
17842 2002-04-16 Michael Kifer <kifer@cs.stonybrook.edu>
17844 * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
17845 (viper-ex-print-buf-name): New variable.
17846 (viper-ex-print-buf): New variable.
17847 (ex-token-alist): Invoke ex-print on ":print" Ex commands.
17848 (ex-g-marks): New variable.
17849 (ex-print): New function.
17850 (ex-print-display-lines): New function.
17852 * viper.el (viper-set-hooks): Add window-setup-hook, which sets
17855 * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
17856 when the window is not in its own frame.
17857 (ediff-clone-buffer-for-region-comparison): More robust window
17858 arrangement while prompting for regions to compare.
17859 (ediff-make-cloned-buffer): Use generate-new-buffer-name.
17860 (ediff-inferior-compare-regions): Deleted unused vars
17861 ctl-buf and quit-now.
17863 2002-04-15 Richard M. Stallman <rms@gnu.org>
17865 * facemenu.el (facemenu-add-new-face): Use this only for faces.
17867 (facemenu-add-new-color): New function.
17868 (facemenu-set-foreground, facemenu-set-background):
17869 Use facemenu-add-new-color.
17871 2002-04-15 Eli Zaretskii <eliz@is.elta.co.il>
17873 * ediff-init.el (ediff-current-diff-face-A)
17874 (ediff-current-diff-face-B, ediff-current-diff-face-C)
17875 (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
17876 (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
17877 (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
17878 (ediff-even-diff-face-B, ediff-even-diff-face-C)
17879 (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
17880 (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
17881 (ediff-odd-diff-face-Ancestor): Add special color definitions for
17882 tty and MS-DOS displays.
17884 2002-04-15 Andrew Innes <andrewi@gnu.org>
17886 * facemenu.el: Require wid-edit.
17888 2002-04-15 Miles Bader <miles@gnu.org>
17890 * faces.el (highlight): Force foreground to be black on a tty, so
17891 this face is readable on a dark-background tty.
17892 * wid-edit.el (widget-field-face, widget-single-line-field-face):
17895 2002-04-14 Kim F. Storm <storm@cua.dk>
17897 * simple.el (pop-to-mark-command, push-mark-command): New commands.
17898 (set-mark-command): Use them.
17899 Enhanced functionality when command is repeated:
17900 - If first command set the mark (no prefix arg), repeat temporarily
17901 enables transient-mark-mode.
17902 - If first command jumped to mark off ring (with argument),
17903 repeat (with or without arg) jump to next mark off ring.
17904 - Use C-u C-u prefix to set mark after jump.
17905 (exchange-point-and-mark): Temporarily enable transient-mark-mode
17908 2002-04-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
17910 * speedbar.el (speedbar-tag-hierarchy-method)
17911 (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
17913 2002-04-14 Mike Williams <mdub@bigfoot.com>
17915 * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
17916 beginning of buffer.
17918 2002-04-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
17920 * speedbar.el (speedbar-generic-item-info)
17921 (speedbar-sort-tags): Doc fix.
17922 (speedbar-add-supported-extension): Fix typo in interactive spec.
17924 2002-04-13 Colin Walters <walters@verbum.org>
17926 * ibuffer.el (ibuffer-forward-line): Just skip header if we're
17927 only moving one line forward.
17928 (ibuffer-map-lines): Preserve point position even if we delete
17929 lines. Only call mapping functions with buffer and mark
17930 arguments; the other two were unused.
17931 (ibuffer-redisplay, ibuffer-update): Always skip special areas.
17933 * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
17935 * calc/calc-bin.el (math-format-radix-float): Use `when'.
17937 * calc/calc.el (math-format-number): Load `calc-ext' before we
17938 call `math-group-float'.
17940 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17941 Renamed from `gamegrid-add-score'.
17942 (gamegrid-add-score-insecure): Restored from the old
17943 `gamegrid-add-score'.
17944 (gamegrid-add-score): Just dispatch on `system-type' to one of the
17945 previous two functions.
17947 2002-04-13 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
17949 * iswitchb.el: Update commentary to include new function
17950 iswitchb-exclude-nonmatching.
17952 2002-04-12 John Wiegley <johnw@gnu.org>
17954 * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
17955 operating systems to the regexp used to detect a script's interpreter.
17957 2002-04-12 Eli Zaretskii <eliz@is.elta.co.il>
17959 * frame.el (frames-on-display-list): Use `equal' to compare the
17960 `display' frame parameter to the argument DISPLAY.
17962 2002-04-12 Dave Love <fx@gnu.org>
17964 * help.el (string-key-binding): Deal with margin events.
17966 2002-04-12 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
17968 * comint.el (comint-password-prompt-regexp): Match " SMB password".
17970 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
17972 * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
17974 * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
17976 * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
17977 (buffer-syntactic-context-depth): New funs.
17979 * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
17982 * emacs-lisp/debug.el (debug-on-entry): Use push.
17983 (debugger-make-xrefs): Don't assume point-min == 1.
17985 * progmodes/cc-engine.el (c-backward-to-start-of-if):
17986 Don't assume point-min == 1.
17988 * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
17989 (etags-list-tags, etags-tags-apropos, select-tags-table):
17990 Don't assume point-min == 1.
17992 2002-04-12 Mike Williams <mdub@bigfoot.com>
17994 * textmodes/sgml-mode.el (sgml-guess-indent): New function.
17996 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
17998 * textmodes/fill.el (fill-context-prefix): Fix up last change.
18000 * simple.el (line-move): Use memq rather than or.
18001 (transpose-sexps): Don't presume as much of forward-sexp's behavior.
18002 (do-auto-fill): Use fill-move-to-break-point.
18003 (syntax-code-table): Remove.
18005 * textmodes/fill.el (canonically-space-region): Obey sentence-end.
18006 Don't add spaces at end of sentences at end of line.
18007 (fill-move-to-break-point): Make sure the result is always greater
18008 than linebeg, so we ensure forward progress.
18009 (fill-region-as-paragraph): Compare to `to' rather than eobp.
18010 (fill-paragraph): Don't rebind fill-paragraph-function.
18012 2002-04-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18014 * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
18016 2002-04-11 Andreas Schwab <schwab@suse.de>
18018 * files.el (file-name-non-special): Handle return value of t from
18019 `file-name-completion'.
18021 2002-04-10 Stefan Monnier <monnier@cs.yale.edu>
18023 * textmodes/fill.el (fill-context-prefix): Match the two prefixes
18024 differently to avoid pathological exponential-time case.
18025 (adaptive-fill-regexp): Add ! and %.
18026 (fill-delete-prefix): Remove indentation while removing prefix.
18027 (fill-delete-newlines): Obey sentence-end.
18028 (fill-move-to-break-point, fill-newline): New functions extracted
18029 from fill-region-as-paragraph.
18030 (fill-region-as-paragraph): Use them.
18031 Don't fiddle with fill-indent-according-to-mode.
18033 2002-04-10 Colin Walters <walters@verbum.org>
18035 * play/snake.el (snake-score-file): Default to just "snake-scores".
18037 * play/tetris.el (tetris-score-file): Likewise.
18039 * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
18040 use `update-game-score'.
18042 * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
18043 (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
18044 ourselves; take it as an argument. Caller updated.
18045 (ibuffer-mode): Make mode-class special.
18047 2002-04-10 Richard M. Stallman <rms@gnu.org>
18049 * dired.el (dired-view-command-alist): New variable.
18050 (dired-view-file): Use external viewers for some files names.
18052 * mouse.el (mouse-drag-region-1): Display region highlight
18053 only in the selected window.
18055 * subr.el (remove-hook): When there are no more local hooks,
18056 kill the buffer-local value.
18058 * isearch.el (isearch-mode): Don't call make-frame-visible
18059 if frame is already visible.
18061 * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
18063 2002-04-09 Emmanuel Briot <briot@act-europe.fr>
18065 * progmodes/ada-prj.el: Add support for the new project file
18066 fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd.
18067 Fix widget handling for Emacs 21. ada-mode now only supports a single
18068 active project file, instead of one per buffer. This is far less
18071 * progmodes/ada-stmt.el: Menu changed from Statements to Templates.
18072 (ada-func-or-proc-name): Get real subprogram name, after change in
18075 * progmodes/ada-xref.el: Ada-mode no longer supports a different
18076 project file per buffer. This was too complex. Instead, there is
18077 now a single active project file at any given time, and the user
18078 can switch the active one through the Ada menu. This revision
18079 also provides better handling of the Windows command line, and the
18080 various available shells on that platform. ada-mode is now fully
18081 integrated with the GNU visual debugger gvd, see
18082 http://libre.act-europe.fr.
18083 (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.
18084 This is only available with GNAT 3.14.
18085 (ada-prj-gnatfind-switches, ada-cd-command): New variable.
18086 (ada-quote-cmd): New function.
18087 (ada-initialize-runtime-library): Get the location of the actual
18088 runtime the compiler will be using, including support for
18089 cross-platform environments.
18090 (ada-treat-cmd-string): Add support for the new variable
18091 ${full_current} add support for debug-pre-cmd and debug-post-cmd,
18092 two commands to run just prior to running the debugger, and just
18093 after starting it. This provide better support for cross-platform
18094 and remote debugging.
18095 (ada-get-absolute-dir): Remove, replace with expand-file-name.
18096 (ada-gdb-application): New parameter executable-name.
18097 (ada-get-ali-file-name): Better handling of separate packages.
18098 Checkin on behalf of the ada-mode maintainer.
18100 * progmodes/ada-mode.el (ada-case-exception-file)
18101 (ada-indent-handle-comment-special): New variables.
18102 (ada-case-exception-substring): New variable. Casing exceptions
18103 can now also be defined for substrings, in addition to full
18104 identifier names. This provides more flexibility.
18105 (ada-align-list): New fun, provide support for align.el in ada-mode.
18106 (ada-procedure-start-regexp): Add support for operators and
18107 generic formal subprograms and packages.
18108 (ada-imenu-comment-re): New variable.
18109 (ada-imenu-generic-expression): Add support for protected types.
18110 (ada-mode): Set comment-start only after running ada-mode-hook, so
18111 that the user can change ada-comment-start in the hook.
18112 Add support for ispell in comments. Add support for align.el.
18113 (ada-save-exception-file, ada-create-case-exception-substring)
18114 (ada-adjust-case-substring): New functions.
18115 (ada-get-current-indent): Properly handles keywords with uppercases.
18116 (ada-goto-matching-end): Rewritten, fixes problems in the handling
18118 (ada-untab-hard): Do not touch the contents of comments and strings.
18120 2002-04-09 Mike Williams <mdub@bigfoot.com>
18122 * textmodes/sgml-mode.el (sgml-lexical-context):
18123 Use sgml-parse-tag-backward to find start point.
18124 (sgml-looking-back-at): Doc fix.
18126 2002-04-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18128 * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
18131 2002-04-08 Stefan Monnier <monnier@cs.yale.edu>
18133 * autorevert.el (auto-revert-mode, global-auto-revert-mode):
18134 Use define-minor-mode.
18135 (auto-revert-buffers): Use with-current-buffer.
18136 Avoid changing the minor modes.
18138 * international/iso-acc.el (iso-accents-accent-key): Use `vector'
18139 rather than char-to-string since last-input-char can be any event.
18141 * international/titdic-cnv.el (tit-dictionary):
18142 Use defvar for non-constants.
18144 * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
18145 (global-cwarn-mode): Use easy-mmode-define-global-mode.
18146 (cwarn-font-lock-keywords): New function.
18147 Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
18148 (cwarn-font-lock-match): New macro.
18149 (cwarn-font-lock-match-assignment-in-expression)
18150 (cwarn-font-lock-match-dangerous-semicolon)
18151 (cwarn-font-lock-match-reference): Use it.
18153 * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
18154 Use defvar rather than defconst since it's meant to be settable.
18155 (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
18156 (cperl-fix-line-spacing): Add missing \ in [ t].
18158 * loadup.el: Call ucs-unify-8859 directly rather than
18159 unify-8859-on-encoding-mode.
18160 (fns-*.el): Don't use it anymore. Keep the load-history in purespace.
18162 * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
18163 (sgml-mode): Use it for comment-line-break-function.
18165 2002-04-08 Jason Rumney <jasonr@gnu.org>
18167 * international/mule-cmds.el (reset-language-environment):
18168 Handle coding-systems not being defined yet.
18170 2002-04-08 Sam Steingold <sds@gnu.org>
18172 * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
18173 (vc-cvs-checkin): Use it.
18175 2002-04-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18177 * files.el (display-time-string): Fix last change.
18179 2002-04-07 Sam Steingold <sds@gnu.org>
18181 * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
18183 2002-04-07 Jason Rumney <jasonr@gnu.org>
18185 * international/mule-cmds.el (set-default-coding-systems)
18186 (reset-language-environment): Preserve eols on
18187 default-process-coding-system.
18188 (coding-system-change-text-conversion): Fix case where CODING is nil.
18190 2002-04-07 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18192 * subr.el (play-sound): Move here from simple.el.
18194 * simple.el (play-sound): Move to subr.el.
18196 2002-04-06 Richard M. Stallman <rms@gnu.org>
18198 * files.el (display-time-string-forms): Mark as risky.
18200 * enriched.el (enriched-decode-foreground, enriched-decode-background):
18201 Use proper format for desired elts of `face' property.
18202 Don't test display-color-p; make the properties unconditionally.
18204 * progmodes/compile.el (compilation-error-regexp-alist):
18205 New alternatives for FILE:LINE.COL and for ranges of columns and lines.
18207 2002-04-06 Per Abrahamsen <abraham@dina.kvl.dk>
18209 * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
18210 for customization type.
18211 Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
18213 2002-04-06 Mike Williams <mdub@bigfoot.com>
18215 * textmodes/xml-lite.el: Remove.
18217 2002-04-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18219 * simple.el (play-sound): New function (uses play-sound-internal).
18221 2002-04-04 Richard M. Stallman <rms@gnu.org>
18223 * files.el (mode-line-format, mode-line-modified)
18224 (mode-line-mule-info, mode-line-buffer-identification)
18225 (mode-line-modes, mode-line-position): Explicitly mark as risky.
18226 (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
18228 * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
18230 * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
18231 Use (syntax-table), not old-syntax-table.
18233 * enriched.el (enriched-decode-foreground)
18234 (enriched-decode-background): Don't call facemenu-get-face.
18236 2002-04-04 Mike Williams <mdub@bigfoot.com>
18238 * textmodes/sgml-mode.el: Add missing require.
18239 (sgml-lexical-context): Fix up CDATA detection for boundary cases.
18241 2002-04-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
18243 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
18244 spot indicated by text property `cvs-goal-column', if present.
18246 * pcvs-info.el (cvs-fileinfo-pp): Use text property
18247 `cvs-goal-column' to indicate position of file name (if present).
18249 2002-04-03 Richard M. Stallman <rms@gnu.org>
18251 * mail/mailabbrev.el (mail-abbrev-complete-alias):
18252 Call mail-abbrev-make-syntax-table.
18254 * format.el (format-deannotate-region): Doc fix.
18256 * enriched.el (enriched-face-ans): Delete special treatment
18257 for fg:... and bg:... faces.
18258 (enriched-decode-foreground): Return a list that specifies
18259 the foreground color, rather than creating a face.
18260 (enriched-decode-background): Likewise.
18262 * shell.el (shell-mode): Don't reinit comint-input-ring
18263 if that was already done.
18265 2002-04-03 Edward M. Reingold <reingold@emr.cs.iit.edu>
18267 * solar.el (solar-spring-or-summer-season): Delete.
18268 (solar-northern-spring-or-summer-season): New variable.
18269 (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
18272 * solar.el (diary-sabbath-candles-minutes): New variable.
18273 (diary-sabbath-candles): Use it instead of fixed 18 minutes.
18275 * calendar.el (update-calendar-mode-line): Force mode-line update.
18276 Make date under the cursor available as `date' in
18277 calendar-mode-line-format.
18278 Eval items in calendar-mode-line-format list.
18280 * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
18281 (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
18283 * cal-tex.el (cal-tex-latexify-list): Fix doc string.
18285 * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
18286 (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
18287 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18288 (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
18290 * cal-tex.el: Change all instances (interactive "P") to
18292 (cal-tex-cursor-month): Add hfill and newline at end of month that
18294 (cal-tex-preamble): Change to LaTeX2e.
18295 (cal-tex-cursor-filofax-year): Don't use default month names in
18296 LaTeX macros in case user changes them.
18297 (cal-tex-month-name): New function. Used throughout in case user
18298 has done something funny with month names.
18300 * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
18301 (diary-rosh-hodesh): Spelling correction.
18303 2002-04-03 Mike Williams <mdub@bigfoot.com>
18305 * textmodes/sgml-mode.el (sgml-lexical-context)
18306 (sgml-parse-tag-backward): Extend support for CDATA to include
18307 conditional sections.
18309 2002-04-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18311 * cus-start.el: Rename `autoselect-window' to
18312 `mouse-autoselect-window'.
18314 2002-04-02 Richard M. Stallman <rms@gnu.org>
18316 * files.el (hack-one-local-variable):
18317 Clear text props from string value.
18319 2002-04-02 Stefan Monnier <monnier@cs.yale.edu>
18321 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18322 (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
18324 (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
18326 (f90-procedures-re): Add `null' and `cpu_time' from F95.
18327 (f90-font-lock-keywords-1): Minor reorganization so we don't need
18328 `override' any more.
18329 (f90-font-lock-keywords-3): Use `keep' rather than `override'.
18330 (f90-indent-subprogram): Use indent-region.
18331 (f90-break-line): Use indent-according-to-mode.
18333 2002-04-02 Mike Williams <mdub@bigfoot.com>
18335 * textmodes/sgml-mode.el (sgml-close-tag): Rename from
18336 sgml-insert-end-tag. Simplify by using sgml-lexical-context.
18337 (sgml-get-context): Remove use of sgml-inside-tag-p.
18338 (sgml-inside-tag-p): Remove.
18339 (sgml-looking-back-at): Short-circuit at beg of buffer.
18340 (sgml-lexical-context, sgml-calculate-indent): Add support for
18343 2002-04-01 Stefan Monnier <monnier@cs.yale.edu>
18345 * help.el (help-key-description): New fun.
18346 (describe-key-briefly, describe-key): Use it and
18347 this-single-command-raw-keys plus new arg `untranslated'.
18349 * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
18350 (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
18351 (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
18352 (sgml-insert-end-tag): New funs taken from xml-lite.el.
18353 (sgml-calculate-indent): Use them.
18354 (sgml-slash-matching): Rename from sgml-slash.
18355 (sgml-slash): Copied from xml-lite and changed to use
18356 sgml-slash-matching and sgml-quick-keys.
18358 * international/mule-cmds.el (standard-keyboard-coding-systems):
18359 Add koi8-u and koi8-r.
18361 * eshell/.cvsignore: New file.
18363 * eshell/esh-groups.el: Remove.
18365 * progmodes/tcl.el: Change maintainer.
18366 (tcl-electric-hash-style): Change default to nil.
18367 (tcl-imenu-generic-expression): Use tcl-proc-regexp.
18368 (tcl-do-auto-fill): Remove.
18369 (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
18371 2002-04-01 Mike Williams <mdub@bigfoot.com>
18373 * textmodes/sgml-mode.el: Doc fixes.
18374 (sgml-mode): Set indent-line-function to sgml-indent-line.
18375 (sgml-calculate-indent): Add an explicit check for 'text syntax,
18376 to protect against future enhancements to sgml-lexical-context.
18377 (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
18379 * textmodes/xml-lite.el: Removed much redundant stuff.
18380 (xml-lite-parse-tag-backward): Simplify parsing by assuming we
18381 always start within text. Make use of sgml-unclosed-tag-p.
18383 2002-04-01 Ville Skytt
\e,Ad
\e(B <ville.skytta@xemacs.org>
18385 * tcl.el (tcl-imenu-generic-expression): New value.
18386 (tcl-imenu-create-index-function): Function deleted.
18387 (tcl-mode): Check for filladapt-mode.
18388 Use tcl-imenu-generic-expression instead of
18389 tcl-imenu-create-index-function.
18390 (inferior-tcl-mode): Doc fix.
18391 Change not legally significant.
18393 2002-04-01 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18395 * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
18397 * window.el (handle-select-window): New function.
18400 2002-04-01 Richard M. Stallman <rms@gnu.org>
18402 * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
18404 * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
18405 tool-bar-add-item, and new arg MAP.
18406 (tool-bar-add-item): Now calls tool-bar-local-item.
18407 (tool-bar-local-item-from-menu): Renamed from
18408 tool-bar-add-item-from-menu, and new arg IN-MAP.
18409 (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
18411 * help-fns.el (help-with-tutorial): Allow various ways
18412 to specify the text in the [...] line, in handling the <...> line.
18414 * progmodes/idlw-rinfo.el (idlwave-system-routines):
18415 WOLRDTITLE => WORLDTITLE. SUPRESS_VALUE => SUPPRESS_VALUE.
18417 * subr.el (redraw-modeline): Define alias.
18419 2002-03-31 Richard M. Stallman <rms@gnu.org>
18421 * files.el (file-expand-wildcards): Use save-match-data.
18423 * files.el (format-alist): Mark as risky.
18425 * simple.el (kill-new): Doc fix.
18427 * emacs-lisp/byte-opt.el (side-effect-free-fns)
18428 (side-effect-and-error-free-fns): Add many functions, remove some.
18430 2002-03-30 Richard M. Stallman <rms@gnu.org>
18432 * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
18434 2002-03-30 Eli Zaretskii <eliz@gnu.org>
18436 * font-lock.el (save-buffer-state): Fix last change.
18438 * files.el (auto-save-file-name-transforms): Fix last change.
18440 * startup.el (command-line): Fix last change.
18442 2002-03-29 Richard M. Stallman <rms@gnu.org>
18444 * subr.el (play-sound-file): Moved to simple.el.
18446 * simple.el (play-sound-file): Moved from subr.el, made unconditional.
18448 2002-03-29 Colin Walters <walters@verbum.org>
18450 * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
18451 instead of `forward-line'.
18452 (ibuffer-forward-line): Be sure to skip over special properties
18453 before moving, too.
18455 * calc/calc.el (calc-was-split): Var deleted.
18456 (calc): Remove reference to it.
18458 (calc-quit): Ditto.
18459 (calc-init-base): Ditto.
18461 * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
18463 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
18465 * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
18466 instead of nil when point is outside of any tag.
18467 (sgml-beginning-of-tag): Adjust to the change.
18468 (sgml-calculate-indent): Use the new info returned by
18469 sgml-lexical-context. Try to handle unclosed tags.
18471 * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
18472 at unclosed tags unless it is at indentation.
18473 Kill nested unclosed tags.
18474 (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
18475 (xml-lite-mode): Use sgml-indent-line instead.
18477 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
18479 * files.el (auto-save-file-name-transforms): Don't run "\\2" via
18482 * startup.el (command-line): Recompute auto-save-file-name-transforms
18483 using the updated value of temporary-file-directory.
18485 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
18487 * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
18488 even with an empty context. Don't save excursion any more.
18489 Don't complain about unmatched start-tags in sgml-unclosed-tags.
18490 Ignore end-tags in sgml-empty-tags.
18491 (xml-lite-get-context, xml-lite-calculate-indent)
18492 (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
18493 (xml-lite-indent-line): Use back-to-indentation.
18495 * textmodes/sgml-mode.el (sgml-basic-offset): New var.
18496 (sgml-name-re, sgml-attrs-re): New consts.
18497 (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
18498 (sgml-mode): Use them.
18499 (sgml-lexical-context): Default to (point-min) if nothing else works.
18500 (sgml-calculate-indent): Indent slightly differently.
18501 (sgml-indent-line): Use back-to-indentation.
18502 (sgml-parse-dtd): New function.
18503 (sgml-unclosed-tags): New var.
18504 (html-mode): Set it.
18506 2002-03-29 Simon Marshall <simon.marshall@misys.com>
18508 * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
18510 2002-03-29 Richard M. Stallman <rms@gnu.org>
18512 * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
18513 Use FILTER arg in dired-get-marked-files to exclude directories.
18514 (dired-nondirectory-p): New function.
18516 * dired.el (dired-get-marked-files): New arg FILTER
18517 allows selection of some files.
18519 * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
18521 2002-03-29 Eric M. Ludlam <eric@siege-engine.com>
18523 * speedbar.el (speedbar-default-directory-list): Made robust
18524 against deleted directories.
18526 2002-03-28 Richard M. Stallman <rms@gnu.org>
18528 * dired.el (dired-toggle-marks): Renamed from dired-do-toggle.
18531 * progmodes/compile.el (compilation-handle-exit):
18532 If compilation-window-height is 0, display status in echo area.
18534 * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
18536 * rect.el (replace-rectangle): Add autoload.
18538 * files.el: Mark many more variables as risky.
18539 (hack-one-local-variable): Recognize several additional
18542 * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
18544 2002-03-28 Stefan Monnier <monnier@cs.yale.edu>
18546 * textmodes/xml-lite.el (xml-lite-in-string-p):
18547 Use sgml-lexical-context.
18548 (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
18549 (xml-lite-get-context): Check that open/close tags match.
18550 Don't stop scanning while we're ignoring matching tags.
18552 * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
18553 (sgml-mode-syntax-table): Use it.
18554 (sgml-tag-syntax-table, sgml-tag-name-re): New const.
18555 (sgml-tags-invisible): Use it.
18556 (sgml-lexical-context): New fun.
18557 (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
18558 (sgml-quote): Accept \n as entity reference terminator.
18559 (sgml-calculate-indent, sgml-indent-line): New funs.
18561 2002-03-28 Andre Spiegel <spiegel@gnu.org>
18563 * vc-cvs.el (vc-cvs-global-switches): New user option.
18564 (vc-cvs-command): New function. Update all callers of
18565 `vc-do-command' in vc-cvs.el to use this instead.
18567 2002-03-27 Andrew Innes <andrewi@gnu.org>
18569 * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
18570 relying on shell globbing.
18572 2002-03-27 Colin Walters <walters@debian.org>
18574 * ibuffer.el (ibuffer-help-buffer-modes): New variable.
18575 (ibuffer-fontification-alist): Use it.
18576 (ibuffer-backward-line): Handle `ibuffer-summary' area.
18577 (ibuffer-forward-line): Ditto.
18579 * ibuf-ext.el (sorter mode-name): Doc fix.
18580 (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
18581 (operation query-replace): Use new `noerror' arg for
18582 `query-replace-read-args'.
18583 (operation query-replace-regexp): Ditto.
18585 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
18587 * textmodes/xml-lite.el: Fix copyright notice.
18588 (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
18589 (xml-lite-indent-comment-offset): Remove.
18590 (xml-lite-calculate-indent): Use new name. Use natural alignment
18592 (xml-lite-in-string-p): Simplify.
18594 2002-03-27 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18596 * allout.el (outline-layout): Doc fix.
18598 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
18600 * textmodes/xml-lite.el: Don't require `custom'.
18601 (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
18602 (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
18603 (xml-lite-get-context): Drop nested tags not just for comments.
18604 (xml-lite-indent-line): Be more careful about moving point.
18605 (xml-lite-insert-end-tag, xml-lite-slash):
18606 Use indent-according-to-mode instead of xml-lite-indent-line.
18607 (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
18608 Set sgml-xml-mode. Don't call force-mode-line-update.
18609 (xml-lite-mode-map): Don't bind TAB.
18611 2002-03-27 Zoltan Kemenczy <zoltan@ieee.org>
18613 * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
18615 (gud-jdb-build-source-files-list): Comment clarification.
18616 (gud-jdb-massage-args): Reworked into loop-based argument list
18617 processing in order to support -classpath and -sourcepath argument
18619 (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
18620 to gud-jdb-classpath to obtain search list.
18621 (gud-jdb-parse-classpath-string): Remove any trailing slashes from
18622 directory names in classpath/sourcepath lists, update comment.
18623 (jdb): Add setting of gud-jdb-sourcepath, update comment.
18624 (gud-find-class): Add gud-jdb-sourcepath use, and correct
18625 behaviour for the case when classpath is not used--backward
18628 2002-03-27 Eli Zaretskii <eliz@is.elta.co.il>
18630 * Makefile.in (compile, compile-always): Don't try to compile
18631 non-existent files or files in empty directories.
18633 2002-03-26 Michael Ernst <mernst@alum.mit.edu>
18635 * compare-w.el (compare-windows-whitespace): Match all whitespace.
18637 * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
18638 copy of standard Lisp directories.
18640 * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
18641 Support "next has longname" link type.
18643 2002-03-26 Stefan Monnier <monnier@cs.yale.edu>
18645 * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
18646 (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
18648 (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
18649 (end-of-xml-tag): Remove.
18650 (xml-lite-get-context): Better handling of comments.
18651 (xml-lite-calculate-indent): Use xml-lite-in-string-p.
18652 (xml-lite-parse-tag-backward): Rewrite.
18654 2002-03-26 Juanma Barranquero <lektu@terra.es>
18656 * makefile.w32-in (WINS): Add the toolbar directory.
18658 2002-03-26 Richard M. Stallman <rms@gnu.org>
18660 * subr.el (substring-no-properties): Function deleted (now in C).
18662 2002-03-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18664 * mwheel.el (mouse-wheel-mode): Use global-set-key and
18667 2002-03-24 Richard M. Stallman <rms@gnu.org>
18669 * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
18671 * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
18672 to query-replace-read-args.
18674 * progmodes/compile.el (compilation-forget-errors):
18675 Don't adjust compilation-parsing-end if it's nil.
18677 * replace.el (query-replace-read-args): New optional arg NOERROR.
18678 (perform-replace): Use save-window-excursion around recursive edit.
18680 2002-03-24 Colin Walters <walters@verbum.org>
18682 * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
18683 non-nil, then always use another window.
18685 2002-03-24 Gerd Moellmann <gerd@gnu.org>
18687 * subr.el (macro-declaration-function): New function. Set the
18688 variable macro-declaration-function to it.
18690 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18691 Handle declarations in macro definitions.
18693 2002-03-24 Eli Zaretskii <eliz@is.elta.co.il>
18695 * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
18697 * enriched.el (enriched-face-ans): Support FACE of the form
18698 (:foreground COLOR) and (:background COLOR).
18699 (enriched-decode-foreground, enriched-decode-background): Set the
18700 fore- and background colors of the faces we create, since facemenu
18703 2002-03-24 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18705 * mwheel.el (mouse-wheel-mode): Use the result of
18706 current-global-map instead of the variable `global-map'.
18708 2002-03-23 Richard M. Stallman <rms@gnu.org>
18710 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
18711 broken out of sendmail-pre-abbrev-expand-hook.
18712 (sendmail-pre-abbrev-expand-hook): Use it.
18714 2002-03-22 Stefan Monnier <monnier@cs.yale.edu>
18716 * Makefile.in (finder-inf.el): Remove.
18717 (finder-data): Don't depend on finder-inf.el any more.
18718 (compile, compile-always): Handle the case where some files
18719 from DONTCOMPILE are missing (it tried to compile them).
18720 (bootstrap-clean): Use src/emacs only if executable.
18721 (bootstrap): Update subdirs.el and finder-inf.el.
18723 * finder.el: Don't load finder-inf.el during byte-compilation.
18725 * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
18726 Don't consider cvs-removed files as under VC control.
18727 VC wouldn't handle them properly anyway and it confuses
18728 vc-file-not-found-hook.
18730 * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
18731 Add autoload cookie.
18733 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il>
18735 * calendar/calendar.el (calendar): Doc fix.
18737 2002-03-22 Juanma Barranquero <lektu@terra.es>
18739 * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
18740 (gomoku-font-lock-X-face): Likewise.
18741 (gomoku-font-lock-keywords): Use faces instead of variables.
18743 2002-03-21 Stefan Monnier <monnier@cs.yale.edu>
18745 * Makefile.in (bootstrap): Make sure subdirs.el is ready.
18747 2002-03-21 Kim F. Storm <storm@cua.dk>
18749 * simple.el (open-network-stream, open-network-stream-nowait)
18750 (open-network-stream-server): Use featurep to test for
18751 supported networking features.
18753 2002-03-21 Thien-Thi Nguyen <ttn@gnu.org>
18755 * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
18756 directions as the last action.
18758 2002-03-21 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18760 * startup.el (fancy-splash-tail, normal-splash-screen):
18763 * novice.el (disabled-command-hook): Clarify output text to match
18766 2002-03-20 Jason Rumney <jasonr@gnu.org>
18768 * frame.el (display-images-p): Do not explicitly check display type.
18770 2002-03-20 pmr-sav <pmr-sav@hamm.pajato.com>
18773 Eliminate compilation warnings due to `rfc822-addresses'.
18774 (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
18775 warning free compile.
18777 2002-03-20 Michael Kifer <kifer@cs.stonybrook.edu>
18779 * ediff-diff.el (ediff-install-fine-diff-if-necessary):
18780 Take the current highlighting style into account.
18781 (ediff-forward-word-function,ediff-whitespace,ediff-word-1)
18782 (ediff-word-2,ediff-word-3,ediff-word-4): Make them buffer local.
18784 * ediff-init.el (ediff-patch-job): New macro.
18786 * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
18787 (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
18789 * ediff-ptch.el (ediff-map-patch-buffer):
18790 Use ediff-make-new-meta-list-header.
18791 (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
18793 * ediff-util.el (ediff-toggle-hilit): Fix toggling of highliting.
18794 (ediff-select-difference): Take highlighting style into account.
18795 (ediff-clone-buffer-for-region-comparison): New function.
18796 (ediff-inferior-compare-regions): Added comparison of current diff
18799 * ediff.el (ediff-clone-buffer-for-region-comparison)
18800 (ediff-clone-buffer-for-window-comparison): Moved to ediff-util.el.
18802 2002-03-19 pmr-sav <pmr-sav@hamm.pajato.com>
18804 * mail-utils.el (rmail-dont-reply-to):
18805 Overhaul to correctly apply the regular
18806 expressions in the variable `rmail-dont-reply-to-names' to the list of
18807 destination addresses. Contributed by lorentey@elte.hu.
18809 * rmail.el (rmail-dont-reply-to-names):
18810 Modify the documentation to make it email
18811 address centric rather than login name centric. Contributed by
18814 2002-03-18 Colin Walters <walters@verbum.org>
18816 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
18817 we don't require `cl' at runtime.
18818 (sorting mode mode-name): Don't take the symbol-name of a string.
18820 * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
18821 line after setting the mark.
18822 (ibuffer-insert-buffers-and-marks): Invert the test for
18823 `ibuffer-sorting-reversep'.
18825 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
18827 * international/ucs-tables.el (unify-8859-on-decoding-mode)
18828 (unify-8859-on-encoding-mode): Remove autoload cookie.
18830 2002-03-18 Andre Spiegel <spiegel@gnu.org>
18832 * vc-rcs.el (vc-rcs-register): Fix handling of
18833 vc-[rcs-]register-switches.
18834 (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
18835 Variables removed, since they weren't used yet.
18837 * vc-cvs.el (vc-cvs-register): Fix handling of
18838 vc-[cvs-]register-switches.
18840 * vc-sccs.el (vc-sccs-register): Fix handling of
18841 vc-[sccs-]register-switches.
18843 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
18845 * loadup.el ("emacs-lisp/backquote"): Load earlier.
18846 ("international/ucs-tables"): Load and turn on
18847 unify-8859-on-encoding-mode unconditionally.
18848 (emacs-version): Use `defconst' rather than `setq'.
18850 * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
18852 2002-03-18 Richard M. Stallman <rms@gnu.org>
18854 * menu-bar.el (menu-bar-options-menu): Cope if
18855 text-mode-hook is not a list.
18857 2002-03-17 Richard M. Stallman <rms@gnu.org>
18859 * emulation/pc-select.el (pc-selection-mode):
18860 Alter the existing global map, don't replace it.
18862 * files.el (list-directory): Set default-directory at the end.
18864 * dabbrev.el (dabbrev--goto-start-of-abbrev):
18865 Put a limit on field-beginning search.
18867 2002-03-17 Simon Josefsson <jas@extundo.com>
18869 * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
18870 (browse-url-mosaic): Use it.
18872 * net/browse-url.el (browse-url-filename-alist): Don't begin
18873 docstring with *, you don't want to set this one with M-x set-variable.
18875 * net/browse-url.el: Put * in user option doc strings.
18877 2002-03-17 Stefan Monnier <monnier@cs.yale.edu>
18879 * textmodes/sgml-mode.el (sgml-xml-mode): Renamed from sgml-xml.
18880 (sgml-xml-guess): Simplify.
18881 (sgml-mode-common): Remove (move into sgml-mode).
18882 (sgml-mode): Add code from sgml-mode-common.
18883 Remove redundant setting of indent-line-function.
18884 Don't set skeleton-transformation when in XML mode.
18886 * international/mule-diag.el (describe-char-after):
18887 Use `internal-describe-syntax-value' again (got lost somewhere).
18889 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
18890 Use unify-8859-on-decoding-mode.
18891 (unify-8859-on-decoding-mode): Also set translation-table-for-input.
18892 (ucs-insert): Give an error if the unicode char can't be created.
18894 * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
18895 (cvs-parse-status): Handle the "used to have a conflict" marker.
18897 2002-03-17 Kim F. Storm <storm@cua.dk>
18899 The following changes are related to the enhanced network process
18902 * simple.el: Update copyright.
18903 (clone-process): Use make-network-process to clone network
18904 processes. Get command list via (process-contact ... t).
18905 Use set-process-query-on-exit-flag and process-query-on-exit-flag
18906 instead of process-kill-without-query.
18907 (open-network-stream): Replaces C-version from process.c.
18908 (open-network-stream-nowait, open-network-stream-server): New funs.
18909 (process-kill-without-query): Replaces C-version from process.c.
18911 * files.el: Update copyright.
18912 (save-buffers-kill-emacs): Also check for active server
18913 processes. Use process-query-on-exit-flag. Only list processes
18914 which has the query-on-exit flag set in connection with user query.
18916 * shadowfile.el: Update copyright.
18917 (shadow-save-buffers-kill-emacs): Also check for active server
18918 processes. Use process-query-on-exit-flag.
18920 2002-03-16 Simon Marshall <simon.marshall@misys.com>
18922 * imenu.el (imenu-menubar-modified-tick): Renamed from
18923 imenu-update-menubar-modified-tick.
18924 (imenu-update-menubar): Update imenu-menubar-modified-tick
18925 whenever outer condition succeeds.
18927 * lazy-lock.el (save-buffer-state):
18928 Bind inhibit-modification-hooks and buffer-file-truename
18929 instead of before-change-functions and after-change-functions.
18931 2002-03-16 Eli Zaretskii <eliz@is.elta.co.il>
18933 * international/codepage.el (codepage-setup): Don't define a
18934 codepage if it is already defined.
18936 * textmodes/po.el (po-content-type-charset-alist): Convert the
18937 car of each association to a string.
18938 (po-find-file-coding-system-guts): If the charset matches a name
18939 of a codepage, set up that codepage and return it as a coding
18940 system to decode the file.
18941 (po-find-charset): Search for the Charset= header even if we've
18942 read less than 4KB.
18943 <top-level>: Remove the setup for all known codepages: it seems
18944 to cause crashes in the CCL driver.
18946 2002-03-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18948 * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
18949 (bibtex-entry-field-alist): Doc fix.
18951 2002-03-16 Richard M. Stallman <rms@gnu.org>
18953 * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
18954 Move definition above cperl-outline-regexp.
18956 * bindings.el (mode-line-mule-info): In computing help-echo prop,
18957 avoid using save-window-excursion. And compile the function.
18959 2002-03-15 Stefan Monnier <monnier@cs.yale.edu>
18961 * files.el (load-completion): New function.
18962 (load-library): Use it.
18964 2002-03-15 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18966 * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
18967 to match the actual code.
18969 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
18971 * textmodes/po.el (po-find-file-coding-system-guts):
18972 Use with-temp-buffer instead of po-with-temp-buffer.
18974 * international/mule-conf.el (file-coding-system-alist): Add an
18975 association for PO files.
18977 * textmodes/po.el: New file.
18979 2002-03-15 Gerd Moellmann <gerd@gnu.org>
18981 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18982 Fix simple loop indentation.
18984 2002-03-14 Miles Bader <miles@gnu.org>
18986 * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
18988 2002-03-14 Richard M. Stallman <rms@gnu.org>
18990 * textmodes/picture.el (picture-insert)
18991 (picture-clear-column, picture-draw-rectangle):
18992 Use move-to-column, not move-to-column-force.
18994 * dired.el (dired-readin): Clear out undo list.
18995 (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
18996 (dired-delete-entry): New function.
18997 (dired-internal-do-deletions): Use dired-fun-in-all-buffers
18998 and dired-delete-entry, to update this buffer (and others).
19000 * dired-aux.el (dired-fun-in-all-buffers): Moved to dired.el.
19002 * facemenu.el (facemenu-add-new-face):
19003 Pass region args to facemenu-set-face, when there is a region.
19004 (facemenu-set-foreground, facemenu-set-background)
19005 (facemenu-add-face): Doc fixes.
19007 * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
19009 2002-03-14 Miles Bader <miles@gnu.org>
19011 * emacs-lisp/debug.el: Require `button'.
19012 (debugger-mode-map): Set the parent keymap to `button-buffer-map',
19013 to get TAB and <backtab> bindings.
19015 * net/rlogin.el (rlogin-carriage-filter): Function removed.
19016 (rlogin): Don't install the `rlogin-carriage-filter' filter, as
19017 comint removes carriage returns itself now.
19019 * rfn-eshadow.el (rfn-eshadow-update-overlay):
19020 Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
19021 getting hosed by our own intangible property.
19023 2002-03-13 Stefan Monnier <monnier@cs.yale.edu>
19025 * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
19026 Add fortran-comment-line-start-skip to comment-start-skip.
19027 (fortran-comment-indent): Keep whole-line comments in column 0.
19028 (fortran-find-comment-start-skip): New arg `all'.
19029 If ALL is nil, make sure we only match comment-start-skip if we
19030 can't match fortran-comment-line-start-skip.
19031 Fix bug that made it return t but without moving point when
19032 matching '!'! (a false-comment followed by a real comment).
19033 (fortran-indent-comment): Use new `all' argument above.
19034 Be careful not to add an incorrect comment-starter like "C"
19036 (fortran-split-line): When splitting a comment, reuse the comment
19037 starter from the current line rather than fortran-comment-line-start.
19038 (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
19039 cleaner behavior of fortran-find-comment-start-skip.
19040 (fortran-fill): Don't be confused by ! inside a comment.
19041 (fortran-break-line): Minor cleanup and simplification.
19043 2002-03-13 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
19045 * progmodes/etags.el (tag-exact-file-name-match-p)
19046 (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
19049 2002-03-12 Colin Walters <walters@debian.org>
19051 * ibuffer.el (ibuffer-redisplay-current): Don't move point when
19052 redisplaying a line.
19054 2002-03-12 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
19056 * term/x-win.el (emacs-session-restore): Take previous id as
19058 (emacs-session-save): Add comment that return t means cancel shutdown
19060 * startup.el (command-line): Must check that x-session-previous-id
19061 is bound also, for non-X platforms.
19063 2002-03-12 Gerd Moellmann <gerd@gnu.org>
19065 * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
19066 (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
19068 (extended-loop-p, common-lisp-loop-part-indentation): New functions.
19069 (common-lisp-indent-function-1): Renamed from
19070 common-lisp-indent-function.
19071 (common-lisp-indent-function): Handle loop forms specially.
19072 (lisp-indent-defmethod): Use car/cdr instead of first/rest.
19073 (lisp-backquote-indentation): New user option.
19075 2002-03-12 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
19077 * progmodes/etags.el (tag-exact-file-name-match-p)
19078 (tag-file-name-match-p, tag-partial-file-name-match-p):
19079 Assume that the header of a tags section has either a number
19080 or nothing after the last comma.
19082 2002-03-11 Richard M. Stallman <rms@gnu.org>
19084 * imenu.el (imenu-update-menubar-modified-tick): New variable.
19085 (imenu-update-menubar): Don't call imenu--make-index-alist
19086 if buffer has not changed since last time.
19088 * desktop.el (desktop-buffer-handlers): Doc fix.
19089 (desktop-buffer-file): Explicitly return BUF.
19091 * paren.el (show-paren-function): Move back in other direction
19092 to verify the match is correct.
19094 * mail/supercite.el (sc-select-attribution): Accept whatever value
19095 we get in CHOICE; there is no value meaning "try again".
19097 2002-03-11 Colin Walters <walters@verbum.org>
19099 * shell.el (toplevel): Revert previous change to use pcomplete.
19100 (shell-mode): Ditto.
19101 (shell-pcomplete-setup-done): Remove.
19102 (shell-pcomplete): Ditto.
19103 (shell-pcomplete-reverse): Ditto.
19105 * comint.el: Remove documentation on setting up pcomplete.
19107 2002-03-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
19109 * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
19112 * image.el (image-type-from-file-header): Make temporary buffer
19115 * subr.el (add-to-list): Doc fix.
19117 2002-03-11 Miles Bader <miles@gnu.org>
19119 * pcomplete.el (pcomplete-entries): Expand environment variables
19122 2002-03-10 Daniel Pfeiffer <occitan@esperanto.org>
19124 * play/mpuz.el: Use defface instead of facemenu-get-face.
19126 2002-03-10 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
19128 * startup.el (command-line): Add call to emacs-session-restore if
19129 both x-session-id and x-session-previous-id are strings.
19131 * term/x-win.el (x-handle-smid): New function.
19132 (emacs-session-filename): New function.
19133 (emacs-session-save): New function.
19134 (emacs-save-session-functions): New variable.
19135 (emacs-session-restore): New function.
19137 2002-03-09 Eli Zaretskii <eliz@is.elta.co.il>
19139 * simple.el (shell-command-on-region): Call push-mark with
19140 non-nil second arg, to suppress the "Mark set" message.
19142 2002-03-08 Richard M. Stallman <rms@gnu.org>
19144 * textmodes/picture.el (picture-forward-column): New arg `interactive'
19145 is non-nil for an interactive call. Use instead of interactive-p.
19146 (picture-backward-column): Likewise.
19148 * tar-mode.el (tar-untar-buffer): New function.
19150 * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
19151 Put the mouse-face on the entire xref, like the local keymap.
19153 * find-dired.el (find-name-dired): Use shell-quote-argument.
19155 2002-03-08 Daniel Pfeiffer <occitan@esperanto.org>
19157 * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
19158 (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
19159 (mpuz-allow-double-multiplicator): New options for nicer look and
19161 (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
19162 (mpuz-check-all-solved, mpuz-random-puzzle)
19163 (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
19164 (mpuz-show-solution): Functions streamlined and removed french
19165 style space before punctuation, added face support and optional
19166 solving of trivial results.
19168 2002-03-07 Colin Walters <walters@verbum.org>
19170 * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
19172 * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
19173 instead of "recency" for clarity.
19174 (ibuffer-compile-format): Document more. Handle new "summarizer"
19176 (ibuffer-fontify-region-function): Ditto.
19177 (ibuffer-insert-buffer-line): Ditto.
19178 (ibuffer-map-lines): Ditto.
19179 (ibuffer-insert-buffers-and-marks): Ditto.
19180 (ibuffer-update-title-and-summary): Renamed from
19181 `ibuffer-update-title'. Handle "summarizer" columns.
19182 (ibuffer-clear-summary-columns): New function.
19184 * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
19186 2002-03-07 Gerd Moellmann <gerd@gnu.org>
19188 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
19189 Use the other-window instead of the other-frame functions when
19190 the window is dedicated.
19192 2002-03-06 ShengHuo ZHU <zsh@cs.rochester.edu>
19194 * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
19195 with SILENT so that a new field can be added.
19197 2002-03-06 Eli Zaretskii <eliz@is.elta.co.il>
19199 * files.el (make-auto-save-file-name): Make sure the produced file
19200 name does not contain characters that are invalid for DOS/Windows
19203 * dos-fns.el, w32-fns.el (make-auto-save-file-name):
19204 Remove replacement functions.
19206 2002-03-06 Gerd Moellmann <gerd@gnu.org>
19208 * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
19211 * vc.el (vc-branch-part): Add autoload cookie. This function can
19212 be called from vc-rcs-find-most-recent-rev when visiting a file
19213 checked into RCS in a CVS sandbox.
19215 2002-03-06 Andreas Schwab <schwab@suse.de>
19217 * progmodes/hideif.el: Augment expression parser to handle
19218 conditional expressions.
19219 (hif-token-regexp): Also match `?' and `:'.
19220 (hif-tokenize): Handle `?' and ':' as tokens.
19221 (hif-expr): Parse conditional expressions.
19222 (hif-or-expr): Parse `||' expressions.
19223 (hif-and-expr): Renamed from hif-term.
19224 (hif-conditional): New function to evaluate a conditional
19227 2002-03-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
19229 * language/czech.el ("Czech"): Fix the documentation.
19231 * language/slovak.el ("Slovak"): Likewise.
19233 2002-03-05 ShengHuo ZHU <zsh@cs.rochester.edu>
19235 * xml.el (xml-parse-attlist): Accept empty strings.
19237 2002-03-05 Eli Zaretskii <eliz@is.elta.co.il>
19239 * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
19240 all terminals now support highlighting of some kind.
19242 * language/european.el (mac-roman): Fix the safe-chars property.
19244 2002-03-05 Andre Spiegel <spiegel@gnu.org>
19246 * vc.el (vc-transfer-file): Use `make-temp-file'.
19247 (vc-default-update-changelog): Remove conditional use of
19250 * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
19252 2002-03-05 Michael Kifer <kifer@cs.stonybrook.edu>
19254 * ediff-init.el: Comments.
19256 * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
19259 * ediff-mult.el (ediff-intersect-directories)
19260 (ediff-prepare-meta-buffer,ediff-get-directory-files-under-revision):
19262 (ediff-draw-dir-diffs): Now supports the "C" command in directory
19264 (ediff-dir-diff-copy-file): New function that implements copying
19265 of files from one Ediff dir to another
19266 (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
19267 (ediff-append-custom-diff): Better error msgs.
19269 * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
19270 (ediff-inferior-compare-regions): Use
19271 ediff-clone-buffer-for-region-comparison. Better and simpler interface.
19273 * ediff.el (ediff-directories-internal): Cleanup.
19274 (ediff-clone-buffer-for-region-comparison): Better interface.
19276 2002-03-04 Richard M. Stallman <rms@gnu.org>
19278 * emacs-lisp/easy-mmode.el (define-minor-mode):
19279 Use "P" in interactive spec of minor mode commands.
19281 2002-03-04 Stefan Monnier <monnier@cs.yale.edu>
19283 * faces.el (face-spec-choose): Allow `t' to appear before the end.
19284 (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
19285 (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
19286 (variable-pitch, trailing-whitespace): Don't use the old-style entries.
19287 (mode-line-inactive, header-line): Move the `t' section to the
19288 beginning so the `:inherit' setting can be shared.
19290 2002-03-04 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
19292 * net/snmp-mode.el: Require tempo when compiling to prevent
19293 warnings. Update copyright notice.
19295 * help.el (describe-key-briefly, describe-key): Interpret `undefined'
19296 like not defined at all.
19298 2002-03-03 Stefan Monnier <monnier@cs.yale.edu>
19300 * textmodes/sgml-mode.el: Change maintainer to FSF.
19301 (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
19302 (sgml-tags-invisible, sgml-beginning-of-tag):
19303 Allow _ : and non-ASCII in tag names, as required for XML.
19304 (sgml-name-char): Don't assume anything about charsets handled by
19307 * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
19308 where one of the buffers is narrowed.
19310 * hexl.el (hexlify-command, dehexlify-command): Remove.
19311 (hexlify-buffer, dehexlify-buffer): Use call-process-region
19312 rather than shell-command-on-region.
19314 * newcomment.el (comment-forward): Use forward-comment to skip
19315 over whitespace (or comments) even when comment-use-syntax is nil.
19317 * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
19319 * textmodes/xml-lite.el: New file.
19321 2002-03-03 Richard M. Stallman <rms@gnu.org>
19323 * textmodes/artist.el (artist-system): Use make-temp-file.
19325 * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
19327 * mail/sendmail.el (mail-recover-1): Increase non-random-len
19328 by 1 since we changed make-auto-save-file-name to add one
19329 fewer character to the buffer name.
19330 (mail-recover): Really show point at the right place
19331 in the *Directory* buffer.
19333 * files.el (make-auto-save-file-name): Use make-temp-file.
19335 * terminal.el (te-create-terminfo): Use make-temp-file
19336 to create the source file in a safe way.
19338 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il>
19340 * cus-start.el: Rename automatic-hscroll-step and
19341 automatic-hscroll-margin into hscroll-step and hscroll-margin.
19343 * frame.el (auto-hscroll-mode): Renamed from automatic-hscrolling.
19344 (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
19346 * mouse.el (mouse-region-delete-keys): Add deletechar.
19348 2002-03-03 Sam Steingold <sds@gnu.org>
19350 * play/snake.el (snake-score-file): Fixed parens (broken by the
19352 * play/tetris.el (tetris-score-file): Ditto.
19354 2002-03-03 Richard M. Stallman <rms@gnu.org>
19356 * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
19358 * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
19360 * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
19361 (gamegrid-make-mono-tty-face): Fix usage of condition-case.
19363 2002-03-03 Thien-Thi Nguyen <ttn@gnu.org>
19365 * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
19366 instead of `buffer-substring-no-properties' to support enriched mode.
19368 2002-03-02 Richard M. Stallman <rms@gnu.org>
19370 * find-dired.el (find-grep-dired): Call shell-quote-argument.
19371 Specify the -e option.
19372 Rename arg to `regexp'.
19374 2002-03-02 Milan Zamazal <pdm@zamazal.org>
19376 * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
19378 2002-03-02 Miles Bader <miles@gnu.org>
19380 * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
19381 event-modifiers before looking up in `mouse-wheel-scroll-amount'.
19382 If there's no applicable modifiers entry in the alist in
19383 `mouse-wheel-scroll-amount', fall back to the default, not to
19384 nil (which causes full screen scrolls).
19386 2002-03-01 Andreas Schwab <schwab@suse.de>
19388 * textmodes/texnfo-upd.el (texinfo-start-menu-description):
19389 Remove extra paren in regexp.
19391 2002-03-01 Eli Zaretskii <eliz@is.elta.co.il>
19393 * mouse.el (mouse-show-mark): Use display-mouse-p, not
19394 display-graphic-p, to decide whether to move point or use the
19397 2002-02-28 Colin Walters <walters@verbum.org>
19399 * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
19401 * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
19402 `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
19403 (calc-temp-file-name): Use `make-temp-file'.
19405 2002-02-28 Richard M. Stallman <rms@gnu.org>
19407 * font-lock.el (java-font-lock-extra-types):
19408 Match java.net.URL, etc.
19410 2002-02-28 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
19412 * hexl.el (hexl-options): Doc fix.
19413 Update Commentary section.
19415 * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
19418 2002-02-28 Andre Spiegel <spiegel@gnu.org>
19420 * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
19421 the user to do that first.
19422 (vc-update): New function.
19424 * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
19425 which calls vc-update. Use the term "Base Version" instead of
19426 "Last Version" for the entries "Revert" and "Compare".
19428 2002-02-28 Kim F. Storm <storm@cua.dk>
19430 * simple.el (shell-command-on-region): Report non-zero exit
19431 status in mode line instead of buffer.
19433 2002-02-27 Richard M. Stallman <rms@gnu.org>
19435 * comint.el (comint-preoutput-filter-functions): Doc fix.
19436 (comint-output-filter-functions, comint-input-filter-functions)
19437 (comint-redirect-filter-functions): Likewise.
19439 (comint-redirect-preoutput-filter): Do the local-hook
19440 handling of t when running comint-redirect-filter-functions.
19441 (comint-output-filter): Likewise for comint-preoutput-filter-functions.
19443 2002-02-26 Richard M. Stallman <rms@gnu.org>
19445 * paths.el (remote-shell-program): Add doc string.
19447 2002-02-26 Colin Walters <walters@debian.org>
19449 * ibuf-ext.el (sorter mode-name): New.
19450 (ibuffer-do-occur): Don't quote ibuffer-marked-char.
19452 * calc/calc-ext.el (calc-scroll-left): Call scroll-left
19453 interactively, so they do something.
19454 (calc-scroll-right): Ditto.
19456 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
19458 * international/mule.el (ctext-pre-write-conversion): Handle the
19459 case when FROM is a string, and when we are called from
19460 build_annotations_2.
19462 2002-02-26 Richard M. Stallman <rms@gnu.org>
19464 * rect.el (clear-rectangle-line): Reindent to the same column
19465 that move-to-column reached when it tried to go to endcol.
19467 * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
19469 2002-02-26 Ivar Rummelhoff <ivarru@math.uio.no>
19471 * winner.el (winner-boring-buffers, winner-set): A window which
19472 displays a buffer whose name is in the list
19473 `winner-boring-buffers', will no longer be restored by `winner-undo'.
19474 (winner-sorted-window-list): Used to improve comparison between
19475 window configurations.
19476 (winner-win-data): Simplified and moved.
19477 (winner-conf): Simplified (now uses `winner-win-data').
19478 (winner-change-fun, winner-save-old-configurations)
19479 (winner-save-(un)conditionally, winner-redo): Changes made while in
19480 the minibuffer will be ignored. (Such changes are undone upon
19481 exit for the minibuffer, anyway.)
19482 (winner-set-conf): Preserve selected window whenever possible.
19483 (winner-make-point-alist): Simplified.
19484 (winner-mode, winner-save-unconditionally): Save current window
19485 configuration on entering minibuffer.
19486 (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
19487 since it does not change the overall behavior of Emacs.
19489 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
19491 * international/mule-conf.el (compound-text): Renamed back from
19492 compound-text-no-extensions.
19493 (ctext-no-compositions): Remove the mime-charset property.
19494 (compound-text-with-extensions): Renamed from compound-text.
19495 (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
19497 2002-02-26 Juanma Barranquero <lektu@terra.es>
19499 * faces.el (list-faces-display): Fix typo.
19501 2002-02-25 Richard M. Stallman <rms@gnu.org>
19503 * frame.el (focus-follows-mouse): Doc fix.
19505 2002-02-26 Miles Bader <miles@gnu.org>
19507 * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
19508 to `define-key', since it no longer accepts the latter.
19510 2002-02-25 Jason Rumney <jasonr@gnu.org>
19512 * term/w32-win.el (mouse-wheel-scroll-line): Use car of
19513 mouse-wheel-scroll-amount.
19515 * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
19518 * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
19520 2002-02-25 Andre Spiegel <spiegel@gnu.org>
19522 * vc.el (vc-diff-switches-list): Fix prev change, making the macro
19523 consistent with the others that take a backend name as a symbol.
19525 * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
19527 2002-02-25 Kim F. Storm <no-spam@cua.dk>
19529 * comint.el (comint-replace-by-expanded-filename): Do nothing if
19530 comint-match-partial-filename returns nil.
19532 * shell.el (shell-pcomplete-setup-done): New variable.
19533 (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
19534 (shell-pcomplete-reverse): Ditto.
19536 2002-02-25 Per Abrahamsen <abraham@dina.kvl.dk>
19538 * ps-print.el (ps-print-printer): Added `lpr' customize group member.
19540 2002-02-25 Juanma Barranquero <lektu@terra.es>
19542 * subr.el (save-match-data): Doc fix.
19544 * ielm.el (ielm-prompt): Allow customization; make it read-only.
19546 2002-02-25 Kim F. Storm <storm@cua.dk>
19548 * shell.el (shell-mode-map): Add "Complete" header so completion
19549 menu is shown on the menu bar in shell mode.
19551 2002-02-25 Stefan Monnier <monnier@cs.yale.edu>
19553 * ielm.el (ielm-match-data): New var.
19554 (inferior-emacs-lisp-mode): Make it buffer-local.
19555 (ielm-eval-input): Use it to preserve match-data between inputs.
19557 2002-02-24 Juanma Barranquero <lektu@terra.es>
19559 * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
19561 2002-02-24 Per Abrahamsen <abraham@dina.kvl.dk>
19563 * cus-edit.el (custom-unlispify-remove-prefixes): Add to
19564 `custom-buffer' customize group.
19566 2002-02-23 Kim F. Storm <storm@cua.dk>
19568 * help.el (where-is): Use remap-command.
19570 * help-fns.el (describe-function-1): Use remap-command.
19572 * subr.el (global-set-key, local-set-key): Undo 2002-02-06
19573 change (no longer accept a symbol for the KEY argument).
19575 2002-02-23 Colin Walters <walters@debian.org>
19577 * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
19578 * calc/calcalg2.el (math-solve-get-sign): Ditto.
19580 * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
19581 in generated function.
19583 * ibuf-ext.el (ibuffer-old-time): Change to hours.
19584 (ibuffer-mark-old-buffers): Handle it.
19586 * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
19587 (toplevel): Bind them.
19588 (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
19589 not necessary now that we use pcomplete.
19591 * comint.el: Document how use new pcomplete completion facility.
19593 2002-02-23 Richard M. Stallman <rms@gnu.org>
19595 * mail/rmailsum.el (rmail-summary-output): Properly advance
19596 to next message, by calling rmail-summary-goto-msg.
19598 * net/browse-url.el (browse-url-galeon): Specify --existing
19599 for an existing window. Use --noraise rather than --no-raise.
19602 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
19604 * progmodes/etags.el (find-tag-noselect, find-tag)
19605 (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
19606 Fix a typo in doc strings.
19608 2002-02-20 Deepak Goel <deego@glue.umd.edu>
19610 * play/snake.el (snake-velocity-queue, snake-update-velocity)
19611 (snake-final-x-velocity, snake-final-y-velocity):
19612 New variable and functions. Store user's keypresses
19613 into a queue and pop from the queue each subsequent turn.
19614 (snake-update-game, snake-move-left)
19615 (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
19616 (snake-start-game): Use that queue.
19617 (snake-use-glyphs-flag): Renamed from snake-use-glyphs.
19618 (snake-use-color-flag): Likewise.
19619 (snake-mode): Rename uses of those variables.
19621 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
19623 Support for ICCCM Extended Segments in X selections:
19625 * international/mule-conf.el (ctext-no-compositions): New coding
19627 (compount-text-no-extensions): Renamed from compound-text.
19628 (x-ctext-no-extensions, ctext-no-extensions): Aliases for
19629 compound-text-no-extensions.
19630 (compound-text): Redefined using post-read and pre-write conversions.
19632 * international/mule.el (non-standard-icccm-encodings-alist)
19633 (non-standard-designations-alist): New variables.
19634 (ctext-post-read-conversion, ctext-pre-write-conversion):
19637 2002-02-21 Jonathan Kamens <jik@kamens.brookline.ma.us>
19639 * vc.el (vc-default-init-version): Update documentation to
19640 indicate that the backend can override the default init version.
19641 (vc-register): Use the backend init-version function, if it
19642 exists, to determine the initial version of a file.
19643 (vc-diff-switches-list): Don't symbol-quote backend, since it's
19644 already a symbol. Don't fail if vc-BACKEND-diff-switches isn't bound.
19646 * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
19647 not version-controlled. This is necessary, e.g., if the file has
19648 just been reverted, and thus was previously under version control
19649 but isn't any longer.
19650 (vc-find-file-hook): Likewise.
19652 2002-02-21 Martin Lorentzson <Martin.Lorentzson@telia.com>
19654 * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
19655 (vc-cvs-sticky-tag-display): New variable.
19656 (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
19657 (vc-cvs-checkin): If the input revision is a valid symbolic tag
19658 name, we create it as a branch, commit and switch to it.
19659 (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
19660 (vc-cvs-valid-symbolic-tag-name-p): New function.
19661 (vc-cvs-parse-sticky-tag): New function.
19662 (vc-cvs-parse-entry): Add parsing of sticky tags.
19664 2002-02-21 Per Abrahamsen <abraham@dina.kvl.dk>
19666 * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
19667 nil, and then explicitly set the standard-value to t.
19669 2002-02-20 Sam Steingold <sds@gnu.org>
19671 * textmodes/flyspell.el (flyspell-mode): Autoload the variable
19672 since it is used in the menu bar.
19674 2002-02-20 Richard M. Stallman <rms@gnu.org>
19676 * simple.el (shell-command-on-region): Display the exit status
19677 when a command fails.
19679 * subr.el (add-hook): Doc fix.
19681 * frame.el (other-frame): Doc fix.
19683 * simple.el (yank): Clear `field' property.
19685 2002-02-20 Tom Tromey <tromey@cachet>
19687 * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
19688 natural paragraph boundaries. Don't fail at beginning of buffer.
19690 2002-02-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
19692 * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
19693 call the argument "arg" to match plain next-line and
19694 previous-line. From Kevin Ryde <user42@zip.com.au>.
19696 2002-02-19 Sam Steingold <sds@gnu.org>
19698 * mwheel.el (mouse-wheel-scroll-amount): Can specify different
19699 scroll amounts for different modifiers now.
19700 (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
19702 (mouse-wheel-mode): Ditto.
19704 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il>
19706 * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
19707 around function body.
19709 * net/browse-url.el (browse-url-maybe-new-window): Reverse the
19710 sense of the comparison, to match the doc strings of functions
19711 that use this macro.
19713 2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
19715 * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
19717 * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
19718 * menu-bar.el (menu-bar-mode): Ditto.
19720 2002-02-18 Andreas Schwab <schwab@suse.de>
19722 * replace.el (query-replace-regexp-eval): Doc fix.
19724 2002-02-18 Colin Walters <walters@verbum.org>
19726 * calc/calcalg2.el (math-solve-get-int): Convert return value from
19727 `math-get-from-counter' to a string before calling `concat' on it.
19729 * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
19730 (calc-public-autoloads): Obsolete; remove.
19731 (calc-private-autoloads): Ditto.
19732 (calc-add-autoloads): Ditto.
19734 * calc/calc-macs.el (calc-with-default-simplification): Use &rest
19737 2002-02-17 Jason Rumney <jasonr@gnu.org>
19739 * w32-win.el (x-option-alist, x-long-option-alist)
19740 (x-switch-definitions): Remove, use command-line-x-option-alist
19741 instead to be consistent with X.
19742 (x-handle-initial-switch): New function.
19744 2002-02-17 Eli Zaretskii <eliz@is.elta.co.il>
19746 * faces.el (mode-line-inactive, header-line): Add the :inherit
19747 attribute for the tty case.
19749 2002-02-17 stanislav shalunov <shalunov@internet2.edu>
19751 * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
19752 invoked from Rmail with full headers displayed.
19754 2002-02-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
19756 * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
19758 * textmodes/paragraphs.el (mark-paragraph): Ditto.
19760 2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
19762 * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
19763 (menu-bar-tools-menu): Removed speedbar.
19765 * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
19766 and `flyspell-mode' entries.
19768 * textmodes/flyspell.el (flyspell): Add to ispell group.
19770 2002-02-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
19772 * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
19774 (mark-defun): Mark more if repeated.
19776 2002-02-17 Colin Walters <walters@verbum.org>
19778 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
19780 * ibuffer.el (ibuffer-truncate-lines): New option.
19781 (ibuffer-mode): Use it.
19783 2002-02-17 Kim F. Storm <storm@cua.dk>
19785 * cus-start.el: Add mouse-highlight.
19787 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
19789 * Makefile.in (DONTCOMPILE): Remove cus-start.el.
19791 * cus-start.el: Add automatic-hscroll-margin and
19792 automatic-hscroll-step.
19794 2002-02-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
19796 * cus-start.el (x-autoselect-window): Allow customization.
19798 * eshell/em-alias.el (eshell-alias-initialize): Do not use
19801 * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
19803 * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
19805 * eshell/em-glob.el (eshell-glob-initialize): Likewise.
19807 * eshell/em-hist.el (eshell-hist-initialize): Likewise.
19809 * eshell/em-pred.el (eshell-pred-initialize): Likewise.
19811 * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
19813 * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
19815 * eshell/em-smart.el (eshell-smart-initialize): Likewise.
19817 * eshell/em-unix.el (eshell-unix-initialize): Likewise.
19819 * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
19821 * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
19823 * eshell/esh-io.el (eshell-io-initialize): Likewise.
19825 * eshell/esh-mode.el (eshell-mode): Likewise.
19827 * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
19829 * eshell/esh-var.el (eshell-var-initialize): Likewise.
19831 * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
19833 * progmodes/idlwave.el (idlwave-mode): Likewise.
19835 * textmodes/reftex-sel.el (reftex-select-label-mode)
19836 (reftex-select-bib-mode): Likewise.
19838 2002-02-16 John Wiegley <johnw@gnu.org>
19840 * eshell/em-hist.el (eshell-hist-initialize): When in the
19841 minibuffer, use the global value of `eshell-history-ring', and
19842 never save it to disk, or ask to save it to disk. This allows
19843 users of session.el to control whether its global state should be
19845 (eshell-add-command-to-history): Don't write Eshell's history out
19846 to disk, let the governing mode control that upon exit.
19848 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
19850 * eshell/eshell.el (eshell-command): Before reading from the
19851 minibuffer, add eshell-add-command-to-history to
19852 minibuffer-exit-hook, and remove it after read-from-minibuffer
19855 * eshell/em-hist.el (eshell-add-input-to-history): New function,
19856 with most of the code from eshell-add-to-history.
19857 (eshell-add-command-to-history): New function, to record in
19858 eshell-history the commands run via eshell-command.
19859 (eshell-add-to-history): Call eshell-add-command-to-history to do
19862 2002-02-16 John Wiegley <johnw@gnu.org>
19864 * eshell/esh-ext.el (eshell-external-command): Added a fix for
19865 XEmacs' new dired.el, which adds a global entry in the
19866 `file-name-handler-alist'.
19868 2002-02-16 John Wiegley <johnw@gnu.org>
19870 * align.el (align-region): Added a missing name argument.
19872 2002-02-16 John Wiegley <johnw@gnu.org>
19874 * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
19875 after the #! of a shell interpretor specification.
19877 2002-02-15 Richard M. Stallman <rms@gnu.org>
19879 * help.el (describe-key-briefly): Make output in INSERT case
19880 look just like what is displayed in the normal case.
19882 2002-02-15 Andreas Schwab <schwab@suse.de>
19884 * textmodes/tex-mode.el (tex-font-lock-keywords-2):
19885 Require non-letter after specials.
19887 2002-02-15 Eli Zaretskii <eliz@is.elta.co.il>
19889 * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
19891 2002-02-15 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
19893 * simple.el (mark-word): Mark more if repeated.
19894 * textmodes/paragraphs.el (mark-paragraph): Ditto.
19895 (mark-end-of-sentence): Ditto.
19897 2002-02-15 Per Abrahamsen <abraham@dina.kvl.dk>
19899 * wid-edit.el (widgetp): Made it more robust.
19901 2002-02-14 Per Abrahamsen <abraham@dina.kvl.dk>
19903 * facemenu.el (describe-text-done): New function.
19904 (describe-text-mode-map): New variable.
19905 (describe-text-mode-hook): New option.
19906 (describe-text-mode): New function.
19907 (describe-text-widget): New function.
19908 (describe-text-sexp): New function.
19909 (describe-text-properties): New function.
19910 (describe-text-category): New command.
19911 (describe-text-at): New command.
19912 (facemenu-menu): Replace `list-text-properties-at' with
19913 `describe-text-at' in the menu.
19915 * wid-edit.el (widgetp): New function.
19916 * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
19918 * emacs-lisp/pp.el (pp-to-string): Autoloaded.
19920 * wid-browse.el: Removed version and x-url keywords.
19922 2002-02-13 Kim F. Storm <storm@cua.dk>
19924 * cus-start.el (mode-line-in-non-selected-windows):
19925 Allow customization.
19927 2002-02-13 Richard M. Stallman <rms@gnu.org>
19929 * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
19930 Tell bibtex-parse-keys to output no progress messages.
19932 2002-02-12 Eli Zaretskii <eliz@is.elta.co.il>
19934 * progmodes/pascal.el (pascal-imenu-generic-expression):
19935 Add menu-title and fix parentheses.
19937 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
19939 * menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
19940 (menu-bar-options-menu): Don't set default value for `truncate-lines'.
19942 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
19944 * menu-bar.el (menu-bar-options-save): Only save
19945 `current-language-environment' and `default-input-method' when
19946 marked as customized.
19948 * international/mule-cmds.el
19949 (setup-specified-language-environment):
19950 Mark `current-language-environment' as customized.
19951 (set-input-method): Mark `default-input-method' as customized when
19952 called interactively.
19953 (toggle-input-method): Ditto.
19955 2002-02-11 Colin Walters <walters@verbum.org>
19957 * ibuffer.el (ibuffer-switch-format): Supply required argument for
19958 `ibuffer-current-formats'.
19960 2002-02-11 Miles Bader <miles@gnu.org>
19962 * faces.el (mode-line-inactive): Add dark-background variant.
19964 2002-02-11 Per Abrahamsen <abraham@dina.kvl.dk>
19966 * toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
19967 * menu-bar.el (menu-bar-mode): Ditto.
19968 * cus-edit.el (customize-mark-to-save): Always save variables
19969 without a standard value.
19971 * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
19972 (menu-bar-options-save): Ditto.
19973 (menu-bar-showhide-menu): Ditto.
19974 (menu-bar-options-menu): Ditto.
19975 (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
19976 (menu-bar-scroll-bar-none): Remove.
19977 (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
19978 expressions instead.
19980 * cus-edit.el (customize-set-value): Return value.
19981 (customize-set-variable): Ditto.
19982 (customize-save-variable): Ditto.
19983 (customize-set-variable): Load dependencies before setting value.
19984 (custom-load-symbol): Autoload it.
19985 (customize-mark-as-set): New function.
19987 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il>
19989 * cus-start.el: Don't warn about "x-*" symbols when building a
19992 2002-02-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
19994 * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
19996 (strokes-help): Do not use doubled with-output-to-temp-buffer.
19997 Fix the help string.
19998 (strokes-prompt-user-save-strokes): Fix typo.
19999 (strokes-list-strokes): Use proper exit-action argument for
20000 view-buffer. Update copyright notice.
20002 * international/mule-diag.el: Various doc and message fixes.
20003 (non-iso-charset-alist): Add mac-roman. Don't add entries for
20004 codepages already present.
20005 (list-block-of-chars): Display space for null entries in
20006 translation table. Display tab specially.
20007 (list-non-iso-charset-chars): Check for null charsets. Use pop
20008 for clarity. Don't break 8-bit sets into sections between ranges.
20009 (list-charset-chars): Avoid indent-tabs-mode.
20010 (describe-char-after): Maybe use the text property for syntax
20011 table information. Maybe report char-code-property-table info.
20012 Maybe report character's unicode. Tweak printing of list info.
20013 (list-input-methods): Add xref buttons.
20014 (dump-charsets, dump-codings): Deleted (obsolete).
20015 From Dave Love <fx@gnu.org>.
20017 2002-02-10 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20019 * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
20021 2002-02-10 Michael Kifer <kifer@cs.stonybrook.edu>
20023 * viper-util.el (viper-read-key-sequence): Fix so it'll read
20024 fast key sequences in emacs native mode
20025 (viper-events-to-keys): Delete.
20027 * viper.el (describe-key, describe-key-briefly): Get rid of
20028 viper-events-to-keys.
20030 * ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch.
20032 * ediff-wind.el (ediff-setup-control-frame):
20033 Use ediff-has-gutter-support.
20035 * ediff-util.el (ediff-dispose-of-variant-according-to-user):
20036 check if buff is alive.
20038 * ediff.el: Typo in comment.
20040 2002-02-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20042 * menu-bar.el (menu-bar-options-save): Take care of
20043 line-number-mode and column-number-mode variables.
20044 (menu-bar-showhide-menu): New menu-items "Show Line Number" and
20045 "Show Column Number" in "Show/Hide" menu.
20047 2002-02-09 Richard M. Stallman <rms@gnu.org>
20049 * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
20051 2002-02-09 Kim F. Storm <storm@cua.dk>
20053 * faces.el (mode-line-inactive): New face for mode-line for
20054 non-selected windows.
20055 (mode-line): Doc fix: Only used for selected window.
20057 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
20059 * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
20060 name to "Insert Diary Entry".
20062 2002-02-08 Stefan Monnier <monnier@cs.yale.edu>
20064 * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
20065 (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
20067 2002-02-08 Richard M. Stallman <rms@gnu.org>
20069 * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
20071 2002-02-08 Andreas Schwab <schwab@suse.de>
20073 * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
20076 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
20078 * net/ange-ftp.el (ange-ftp-process-handle-line)
20079 (ange-ftp-set-xfer-size): If the file's size is a float, divide
20080 by 1024 instead of using ash.
20082 * international/mule-cmds.el (select-safe-coding-system):
20083 State the buffer's name in the message popped in the *Warning* buffer,
20084 and make sure the offending buffer is displayed.
20086 2002-02-07 Markus Rost <rost@math.ohio-state.edu>
20088 * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
20090 2002-02-07 Richard M. Stallman <rms@gnu.org>
20092 * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
20094 * register.el (list-registers): New command.
20095 (describe-register-1): New subroutine, taken out of view-register.
20097 * emacs-lisp/copyright.el (copyright-regexp):
20098 Delete the unibyte copyright symbol; it's redundant.
20099 Fix a spazz in the multibyte encoding here.
20101 2002-02-07 Dave Love <fx@gnu.org>
20103 * language/cyril-util.el (cyrillic-encode-koi8-r-char)
20104 (cyrillic-encode-alternativnyj-char): Get translation tables from
20105 symbol properties, not as variables.
20106 (standard-display-cyrillic-translit): Include unicodes.
20108 2002-02-06 Kim F. Storm <storm@cua.dk>
20110 * help.el (where-is): Report remapped commands.
20112 * help-fns.el (describe-function-1): Ditto.
20114 * subr.el (global-set-key, local-set-key): Accept a symbol for the
20115 KEY argument (like define-key).
20117 2002-02-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20119 * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
20121 2002-02-06 Richard M. Stallman <rms@gnu.org>
20123 * mail/mailabbrev.el: Require sendmail only at compile time.
20124 (mail-mode-header-syntax-table): Var deleted.
20125 (mail-abbrev-syntax-table): Init to nil, will compute when needed.
20126 (sendmail-pre-abbrev-expand-hook): Only temporarily change
20127 local-abbrev-table and the syntax table.
20128 Compute mail-abbrev-syntax-table if that has not been done.
20130 * progmodes/compile.el (grep-compute-defaults): Definition moved up.
20132 * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
20133 (debugger-frame-number): Figure out the offset directly.
20134 (debugger-setup-buffer): Don't use debugger-frame-offset.
20135 (debugger-frame, debugger-frame-clear): Likewise.
20136 (debugger-jump): Don't alter debugger-frame-offset.
20138 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
20139 Replace foo-p as var name with foo-flag, not foo-p-flag.
20141 * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
20142 (highlight-changes-passive-string): Default to -Chg.
20143 (highlight-changes-global-modes): Doc fix.
20145 * dired.el (dired-get-filename): Add /: when appropriate
20146 to avoid taking a local name as remote.
20148 * files.el (file-name-non-special): Add special handling for
20149 file-name-sans-versions, file-name-completion, and
20150 file-name-all-completions.
20152 * isearch.el (isearch-update): Don't update display in kbd macro.
20153 (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
20155 * subr.el (force-mode-line-update): Doc fix.
20157 * subr.el (atomic-change-group, prepare-change-group)
20158 (activate-change-group, accept-change-group, cancel-change-group):
20161 * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
20162 (transpose-subr-1): Use atomic-change-group.
20164 * subr.el (add-minor-mode): Include the mode's lighter string
20165 in the minor mode menu item name.
20167 * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
20168 rmail-count-screen-lines starting from (point-min).
20170 * startup.el (use-fancy-splash-screens-p): Need 19 lines,
20171 beyond the image height, to use the fancy splash screen.
20173 * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
20174 (text-mode): Set text-mode-variant here.
20176 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il>
20178 * play/pong.el (pong-height): Don't use height that exceeds the
20180 (pong-border-options): Make the border colors slightly more bright.
20182 * play/gamegrid.el (gamegrid-display-type): Treat any
20183 color-capable display as color-x, if display-color-p is fboundp.
20184 (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
20185 (gamegrid-make-color-tty-face): Use the value of color, not the
20186 symbol itself. Don't call gamegrid-color.
20188 2002-02-05 Eli Zaretskii <eliz@is.elta.co.il>
20190 * gud.el (gud-refresh): Call recenter only after we are sure we
20191 are in the right window.
20193 2002-02-05 Per Abrahamsen <abraham@dina.kvl.dk>
20195 * cus-edit.el (customize-mark-to-save): New function.
20196 * menu-bar.el (menu-bar-options-save): Rewrote.
20198 2002-02-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20200 * cus-start.el (x-use-underline-position-properties):
20201 Allow customization.
20203 2002-02-04 Simon Josefsson <jas@extundo.com>
20205 * dired.el (dired-load-hook, dired-mode-hook)
20206 (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
20208 2002-02-03 Colin Walters <walters@verbum.org>
20210 * ibuf-ext.el (ibuffer-filter-format-alist)
20211 (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
20213 * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
20214 is now the Emacs CVS tree.
20215 (ibuffer-formats): Doc fix.
20216 (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
20217 (ibuffer-current-format): Use them.
20218 (ibuffer-recompile-formats, ibuffer-check-formats)
20219 (ibuffer-switch-format, ibuffer-update-title):
20220 Add support for ibuffer-filter-format-alist.
20221 (define-ibuffer-column process): Remove unncessary consing.
20223 * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
20224 for a summary column.
20226 2002-02-03 Andreas Schwab <schwab@suse.de>
20228 * window.el (save-selected-window): Move macro before first use.
20229 (balance-windows): Fix misplaced parenthesis.
20231 2002-02-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20233 * calculator.el (calculator-displayers): Doc fixes.
20235 2002-02-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20237 * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
20238 (menu-bar-options-save): Save also the value of `display-time-mode'.
20239 (showhide-date-time): New function.
20240 (menu-bar-showhide-menu): New menu-item "Date and time".
20242 2002-02-03 Eli Zaretskii <eliz@is.elta.co.il>
20244 * mail/rmail.el (rmail): Use find-buffer-visiting instead of
20245 get-file-buffer to check for rmail buffer existence.
20247 * term.el (term-emulate-terminal): Extract proper command string
20248 which is supplied to term-command-hook.
20250 2002-02-03 Richard M. Stallman <rms@gnu.org>
20252 * international/quail.el (quail-help): Don't call help-setup-xref.
20254 * international/mule-cmds.el (describe-input-method):
20255 Call help-setup-xref here.
20256 (describe-current-input-method): Doc fix.
20258 * novice.el (disabled-command-hook): Clarify output text.
20259 Indent the paragraph from the command's doc string.
20261 * dabbrev.el (dabbrev--goto-start-of-abbrev):
20262 Exit loop on beginning of field rather than bobp.
20264 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
20266 * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
20267 the message text into the *mail* buffer, and restore the pruned
20270 * mail/rmail.el (rmail-redecode-body): Prune the headers before
20271 looking for X-Coding-System header, and restore the pruned state
20274 2002-02-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20276 * cus-edit.el (customize-save-variable): Fix typo in prompt.
20278 These changes integrate new version of flyspell.el from its
20279 maintainer, Manuel Serrano:
20281 * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
20282 (flyspell-mode-on, flyspell-notify-misspell)
20283 (flyspell-small-region, flyspell-external-point-words)
20284 (flyspell-large-region): Use it
20285 (flyspell-before-incorrect-word-string)
20286 (flyspell-after-incorrect-word-string): New user options.
20287 (make-flyspell-overlay): Use them.
20288 (flyspell-version): New function.
20289 (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
20290 definitions to use :weight.
20291 (flyspell-insert-function): New user option.
20292 (flyspell-auto-correct-word, flyspell-correct-word)
20293 (flyspell-xemacs-correct): Use it.
20294 (flyspell-define-abbrev): New function.
20295 (flyspell-auto-correct-word, flyspell-correct-word)
20296 (flyspell-xemacs-correct): Use it.
20297 (make-flyspell-overlay): Use `evaporate' property.
20298 (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
20299 (flyspell-emacs-popup): Use `session' instead of `accept'.
20300 (flyspell-auto-correct-previous-pos): New variable.
20301 (flyspell-auto-correct-previous-hook)
20302 (flyspell-auto-correct-previous-word): New functions.
20304 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
20306 * novice.el (enable-command): If Emacs was invoked as "emacs -q",
20307 don't alter the user's ~/.emacs.
20308 (disable-command): If user-init-file is nil or does not exist,
20309 default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
20310 But don't alter the init file if Emacs was invoked as "emacs -q"
20312 2002-02-01 Stefan Monnier <monnier@cs.yale.edu>
20314 * mail/sendmail.el (mail-mode): Undo half of last change.
20316 * indent.el (indent-for-tab-command): Remove spurious code.
20318 * hi-lock.el (hi-lock-find-patterns): Save restriction.
20320 2002-02-01 Eli Zaretskii <eliz@is.elta.co.il>
20322 * calendar/time-date.el: Moved from lisp/gnus.
20324 * calendar/parse-time.el: Ditto.
20326 2002-01-31 Richard M. Stallman <rms@gnu.org>
20328 * international/iso-acc.el (iso-languages): Fix ", " in French.
20330 * cus-start.el (history-length): Specify customization for it.
20332 * emacs-lisp/debug.el (debugger-setup-buffer):
20333 When an eval-buffer frame was reading from a buffer,
20334 insert indication of the buffer position.
20335 (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
20336 (debugger-frame-clear, debugger-frame): Error on non-frame line.
20338 * simple.el (shell-command-on-region): Err if no mark
20339 before reading the command string.
20341 * hl-line.el (hl-line-highlight, hl-line-unhighlight):
20342 Definitions moved down after hl-line-mode var's definition.
20344 * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
20345 (hilit-chg-set-face-on-change): Rename arg.
20346 (hilit-chg-make-ov): Detect error earlier.
20348 * ediff-hook.el: Delete autoload cookies.
20350 * comint.el (comint-scroll-show-maximum-output): Default is t.
20352 * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
20353 (batch-byte-compile-if-not-done): New function.
20355 * Makefile.in (compile): New target.
20356 (compile-always): Renamed from compile-files.
20357 (compile-after-backup): Renamed from compile.
20358 (bootstrap): Depend on compile-always, not compile-files.
20360 * emulation/pc-select.el (pc-select-save-and-set-mode):
20361 Properly use MODE-VAR.
20363 2002-01-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20365 * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
20366 Version" to "About Emacs".
20367 (menu-bar-options-save): Add `default-frame-alist'
20368 to saved variables.
20369 (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
20370 of the variable `scroll-bar-mode'.
20372 * startup.el (normal-splash-screen, display-splash-screen):
20373 New functions (separated from command-line-1).
20374 (command-line-1): Use them.
20376 2002-01-28 Eli Zaretskii <eliz@is.elta.co.il>
20378 * calendar/calendar.el (generate-calendar-month): Doc fix.
20380 2002-01-27 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20382 * time.el (display-time-mail-directory): New option.
20383 (display-time-mail-function): Update doc-string.
20384 (display-time-mail-icon): Use XPM image when available.
20385 (display-time-string-forms): Use more descriptive text as
20386 help-echo property.
20387 (display-time-mail-check-directory): New function.
20388 (display-time-update): Use it.
20390 * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
20391 Quote `window-system'.
20393 * tmm.el (tmm-get-keymap): Honour :visible in `menu-item'.
20394 Add Keywords header. Update Commentary section.
20395 Update copyright notice.
20397 * menu-bar.el (menu-bar-scroll-bar-right)
20398 (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
20399 (showhide-menu-bar): New functions.
20400 (menu-bar-showhide-menu): New submenu "Show/Hide".
20401 (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
20403 Update copyright notice.
20405 2002-01-27 Eli Zaretskii <eliz@is.elta.co.il>
20407 * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
20409 2002-01-26 Evgeny Roubinchtein <evgenyr@cs.washington.edu>
20411 * pc-select.el (pc-selection-mode-hook)
20412 (pc-select-saved-settings-alist, pc-select-map)
20413 (pc-select-saved-global-map, pc-select-key-bindings-alist)
20414 (pc-select-default-key-bindings, pc-select-extra-key-bindings)
20415 (pc-select-meta-moves-sexps-key-bindings)
20416 (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
20418 (pc-select-define-keys, pc-select-restore-keys): New functions.
20419 (pc-select-add-to-alist, pc-select-save-and-set-var)
20420 (pc-select-save-and-set-mode, pc-select-restore-var)
20421 (pc-select-restore-mode): New macros.
20422 (pc-selection-mode): Completely rewrote the body of the function;
20423 the main goal was to make pc-selection-mode "turn-off"-able, like
20424 other minor modes. Use define-minore-mode instead of just a
20425 defun. Store the key bindings into four alists:
20426 pc-select-default-key-bindings, pc-select-extra-key-bindings,
20427 pc-select-meta-moves-sexps-key-bindings, and
20428 pc-select-tty-key-bindings; then have the pc-select-define-keys
20429 function walk those alists instead of calling define-key
20430 repeatedly. When the mode is turned on, set the
20431 keybindings in global-map and remember the old keybindings; when
20432 the mode is turned off, restore the previously-saved keybindings.
20433 (pc-selection-mode defcustom): Reflect the fact that the mode is
20434 now "turn-off"-able.
20436 2002-01-26 Eli Zaretskii <eliz@is.elta.co.il>
20438 * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
20439 returns t, don't treat that as an error.
20441 2002-01-25 Jason Rumney <jasonr@gnu.org>
20443 * faces.el (face-font-registry-alternatives) [windows-nt]:
20444 Add ms-oemlatin as an alternative for iso8859-1.
20446 2002-01-25 Stefan Monnier <monnier@cs.yale.edu>
20448 * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
20449 args and the absence of an entry. Don't add -f each time.
20451 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il>
20453 * emacs-lisp/cl-seq.el (mismatch): Doc fix.
20455 Support for more than 8 colors on character terminals:
20457 * term/rxvt.el: New file.
20459 * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
20461 * term/xterm.el (xterm-standard-colors): New variable.
20462 (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
20463 (xterm-rxvt-set-background-mode): New functions.
20464 (toplevel): Call xterm-register-default-colors,
20465 xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
20466 Add support for more keys from xterm's terminfo entry.
20468 * facemenu.el (list-colors-display): If the argument is nil, don't
20469 show more colors that the number returned by display-color-cells.
20471 * term/pc-win.el (msdos-color-values): Reverse the order of the
20472 colors, since tty-color-define now preserves the registration order.
20474 * w32-fns.el (w32-tty-standard-colors): Reverse the order.
20476 * term/tty-colors.el (tty-standard-colors): Reverse the order.
20477 (tty-register-default-colors): New function; code moved from
20478 startup.el's command-line.
20479 (tty-modify-color-alist): Use nconc instead of cons, to preserve
20480 the order the colors where registered.
20482 * frame.el (display-color-cells): Use tty-display-color-cells.
20484 * startup.el (command-line): Call tty-register-default-colors.
20486 2002-01-25 Richard M. Stallman <rms@gnu.org>
20488 * subr.el (remove): Doc fix.
20490 2002-01-24 Richard M. Stallman <rms@gnu.org>
20492 * progmodes/compile.el (compilation-handle-exit):
20493 Add a compilation-handle-exit property to the "finished" message.
20494 (compilation-parse-errors): Stop parsing when that property is seen.
20496 * subr.el (substring-no-properties): New function.
20497 (copy-without-properties): Function deleted.
20499 * term/x-win.el (x-handle-geometry): Put sizes on both
20500 initial-frame-alist and default-frame-alist.
20502 * cus-edit.el (custom-save-all): Bind file-precious-flag to t
20505 * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
20507 * calendar/calendar.el (generate-calendar-month): Doc fix.
20509 2002-01-23 Richard M. Stallman <rms@gnu.org>
20511 * play/tetris.el (tetris): New defgroup.
20512 (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
20513 (tetris-default-tick-period): Convert to defcustom.
20514 Added * in docstring to indicate user variable.
20515 (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
20516 (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
20517 (tetris-buffer-height, tetris-width, tetris-height)
20518 (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
20520 2002-01-22 Stefan Monnier <monnier@cs.yale.edu>
20522 * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
20523 and is already matched by adaptive-fill-regexp.
20525 2002-01-22 Richard M. Stallman <rms@gnu.org>
20527 * bindings.el (mode-line-copied-mode-name): New variable.
20528 (mode-line-mode-name): Don't modify mode-name itself!
20529 Instead, make a copy and reuse it.
20531 * subr.el (copy-without-properties): New function.
20533 * progmodes/sh-script.el (sh-set-shell): Doc fix.
20535 * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
20536 slash if DIR is just slash.
20538 * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
20540 2002-01-21 Richard M. Stallman <rms@gnu.org>
20542 * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
20544 * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
20547 * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
20549 * ibuffer.el: Don't require ibuf-ext at load time.
20550 (ibuffer): Require ibuf-ext here.
20552 2002-01-21 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
20554 * generic-x.el (apache-conf-generic-mode): Highlight the first
20555 word in a line even if preceded by blanks.
20557 2002-01-21 Richard M. Stallman <rms@gnu.org>
20559 * window.el (window-body-height): Handle minibuffer window specially.
20560 Otherwise, don't return less than 1.
20562 2002-01-20 Thomas Dorner <Thomas.Dorner@start.de>
20564 * ange-ftp.el: Added support for BS2000, and for raw ftp
20565 login commands (needed in some circumstances).
20566 (ange-ftp-raw-login): New custom var.
20567 (ange-ftp-normal-login): Perform login with raw ftp commands, if
20568 ange-ftp-raw-login is set and account password is needed.
20569 (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
20570 (ange-ftp-bs2000-filename-pubset-regexp)
20571 (ange-ftp-bs2000-filename-username-regexp)
20572 (ange-ftp-bs2000-filename-prefix-regexp)
20573 (ange-ftp-bs2000-name-template): New consts.
20574 (ange-ftp-bs2000-short-filename-regexp)
20575 (ange-ftp-bs2000-fix-name-regexp-reverse)
20576 (ange-ftp-bs2000-fix-name-regexp): New consts.
20577 (ange-ftp-bs2000-special-prefix): New custom var.
20578 (ange-ftp-fix-name-for-bs2000)
20579 (ange-ftp-fix-dir-name-for-bs2000): New funs.
20580 (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
20581 (ange-ftp-bs2000-posix-hook-installed): New vars.
20582 (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
20583 (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
20584 (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
20585 (ange-ftp-bs2000-filename-regexp): New const.
20586 (ange-ftp-bs2000-additional-pubsets): New custom var.
20587 (ange-ftp-bs2000-cd-to-posix): New fun.
20589 2002-01-20 Colin Walters <walters@verbum.org>
20591 * ibuffer.el: (toplevel) Require `ibuf-ext', which is now compiled
20592 with `byte-compile-dynamic'.
20593 (ibuffer-default-directory, toplevel): Doc files.
20595 2002-01-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20597 * tempo.el (tempo-define-template): Doc fix.
20599 * scroll-bar.el (scroll-bar-mode): Make argument optional.
20601 2002-01-20 Jason Rumney <jasonr@gnu.org>
20603 * w32-vars.el: New file.
20605 * loadup.el [windows-nt]: Load it.
20607 * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
20608 and make them defcustoms.
20610 * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
20612 2002-01-19 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20614 * language/tibet-util.el (tibetan-decompose-region)
20615 (tibetan-decompose-string): Fix typo in docstring.
20617 * ruler-mode.el (ruler-mode): New keyword. Fix :version.
20619 2002-01-18 Richard M. Stallman <rms@gnu.org>
20621 * comint.el (comint-redirect-send-command-to-process):
20622 Restore previous current buffer.
20624 * window.el (window-body-height): New function.
20626 2002-01-18 Zoltan Kemenczy <kemenczy@rogers.com>
20628 * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
20629 "Finish Function" menu map entries for jdb mode.
20630 (gud-jdb-use-classpath): New customization variable.
20631 (gud-jdb-command-name): Add customization.
20632 (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
20633 (gud-jdb-classpath-string): New variable.
20634 (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
20635 (gud-jdb-build-source-files-list): Likewise.
20636 (gud-jdb-massage-args): Record any command argument classpath
20637 string in `gud-jdb-classpath-string'.
20638 (gud-jdb-lowest-stack-level): New function, finds bottom of current
20639 java call stack in jdb output.
20640 (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
20641 (gud-jdb-parse-classpath-string): New functions.
20642 (gud-jdb-marker-filter): Search/detect classpath information in
20643 jdb's output. marker regexp updated to match oldjdb and jdb output
20644 formats. Expand search for source files to include new/old methods
20645 using new functions above. Do not allow `gud-marker-acc' to grow
20647 (jdb): Set classpath information (if available) as jdb is started.
20648 Change `gud-break' and `gud-remove'
20649 to use new %c ("class") escape in format strings.
20650 Add `gud-finish', `gud-up', `gud-down' command string functions, and
20651 add them to the local menu map. Update `comint-prompt-regexp' for
20652 jdb and oldjdb. If attaching to an already running java VM and
20653 configured to use classpath, send command to query for classpath,
20654 else use previous method for finding and parsing java
20655 sources. Set `gud-jdb-find-source' function accordingly.
20656 (gud-mode): Doc fix.
20657 (gud-format-command): Add support for new %c ("class") escape.
20658 (gud-find-class): New function in support of %c escape.
20660 2002-01-17 Richard M. Stallman <rms@gnu.org>
20662 * ibuf-ext.el: Enable byte-compile-dynamic.
20664 2002-01-17 Jason Rumney <jasonr@gnu.org>
20666 * term/w32-win.el: Restore conditional require of fontset.
20668 2002-01-16 Richard M. Stallman <rms@gnu.org>
20670 * mouse.el (mouse-drag-region-1): Renamed from mouse-drag-region,
20672 (mouse-drag-region): New function. For a click in the echo area,
20675 * ibuf-ext.el: Delete the autoloads for functions defined with
20676 ibuffer-specific commands.
20678 * help.el (describe-distribution): Really call view-file.
20680 * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
20681 (ange-ftp-get-process): Pass that arg.
20683 * comint.el (comint-simple-send): Fix previous change.
20685 * net/telnet.el (telnet-simple-send): Fix previous change.
20687 * progmodes/sql.el (sql-escape-newlines-and-send)
20688 (sql-query-placeholders-and-send): Fix previous change.
20690 2002-01-16 Colin Walters <walters@verbum.org>
20692 * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
20693 URL, Compatibility headers. Update copyright notice.
20694 * ibuf-macs.el (toplevel): Require `cl' when compiling.
20696 2002-01-16 Andrew Choi <akochoi@cse.cuhk.edu.hk>
20698 * startup.el (command-line): Set EOL mnemonics for the Mac.
20700 2002-01-16 Andreas Schwab <schwab@suse.de>
20702 * mail/feedmail.el (feedmail): Fix :link spec.
20704 2002-01-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20706 * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
20709 * net/eudc.el: New maintainer. Change author's address.
20710 (eudc-pre-select-window-configuration, eudc-insertion-marker):
20712 (eudc-insert-selected): Function removed.
20713 (eudc-select): Reimplemented.
20714 (eudc-expand-inline): Delete the strings only after its expansion
20715 is chosen not before.
20717 * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
20718 Minor coding style fixes.
20720 * net/eudcb-ldap.el: New maintainer. Change author's address.
20721 (eudc-attribute-display-method-alist): Display mail with
20724 * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
20725 * net/eudc-vars.el: New maintainer. Change author's address.
20727 * net/eudc-bob.el: New maintainer. Change author's address.
20728 (eudc-bob-mail-keymap): New keymap for e-mail addresses.
20729 (eudc-display-mail): New function.
20730 (eudc-bob-play-sound-at-point): Remove XEmacs case.
20732 2002-01-15 Richard M. Stallman <rms@gnu.org>
20734 * emacs-lisp/autoload.el (make-autoload):
20735 Don't handle define-ibuffer-column, define-ibuffer-filter,
20736 define-ibuffer-sorter, and define-ibuffer-op.
20738 2002-01-14 Richard M. Stallman <rms@gnu.org>
20740 * calendar/calendar.el (diary-date-forms): Doc fix.
20742 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
20744 * startup.el (command-line): Register the default tty colors even
20745 if the terminal doesn't seem to support colors.
20746 <tty-long-option-alist>: New option --color.
20747 (tty-handle-args): Parse the --color arg.
20749 * term/tty-colors.el (tty-color-mode-alist): New variable.
20751 2002-01-14 Stefan Monnier <monnier@cs.yale.edu>
20753 * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
20754 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
20756 (ange-ftp-hook-function): Preserve match-data.
20757 (ange-ftp-insert-directory): Typo.
20758 (ange-ftp-shell-command): Check if regexp matched.
20760 2002-01-13 Richard M. Stallman <rms@gnu.org>
20762 * international/mule-cmds.el: help-map bindings moved to help.el.
20764 * help.el (view-echo-area-messages): New function.
20765 (help-map): Add `e' binding. Delete obsolete `d' binding.
20766 Change old Info bindings C-f, C-k and C-i to F, K, S.
20767 Move view-emacs-FAQ from F to C-f.
20768 Move view-emacs-problems from P to C-e.
20769 Bindings moved here from mule-cmds.el.
20770 C-l binding for describe-language-environment deleted
20771 (help-for-help): Update for all these changes.
20773 * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
20775 2002-01-13 Dave Love <fx@gnu.org>
20777 * emacs-lisp/copyright.el: Doc fixes.
20778 (copyright-regexp): Add Latin-9 copyright sign.
20779 Match comment delimiters in year lists.
20780 (copyright-current-year): Initialize to load-time year.
20782 2002-01-13 Andreas Schwab <schwab@suse.de>
20784 * dired-aux.el (dired-do-shell-command): Doc fix.
20786 2002-01-13 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
20788 * startup.el (command-line-x-option-alist): New options "-fs",
20789 "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
20791 * term/x-win.el (x-handle-initial-switch): New function.
20793 2002-01-13 Colin Walters <walters@debian.org>
20795 * emacs-lisp/autoload.el (make-autoload): Handle define-ibuffer-column,
20796 define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
20798 * emacs-lisp/lisp-mode.el (toplevel): Ditto.
20800 * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
20802 2002-01-12 Richard M. Stallman <rms@gnu.org>
20804 * net/browse-url.el (browse-url-grail):
20805 Use browse-url-maybe-new-window.
20807 * net/telnet.el (telnet-simple-send):
20808 Handle comint-input-sender-no-newline like comint-simple-send.
20810 * progmodes/sql.el (sql-query-placeholders-and-send):
20811 Handle comint-input-sender-no-newline like comint-simple-send.
20812 (sql-escape-newlines-and-send): Likewise.
20814 * comint.el (comint-input-sender): Doc fix.
20815 (comint-input-sender-no-newline): New variable.
20816 (comint-simple-send): If comint-input-sender-no-newline,
20817 don't output newline, but maybe send eof.
20818 (comint-send-input): New arg NO-NEWLINE.
20819 (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
20821 2002-01-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20823 * textmodes/flyspell.el (flyspell-check-pre-word-p):
20824 Prevent delaying when executing keyboard macros.
20826 2002-01-12 Richard M. Stallman <rms@gnu.org>
20828 * simple.el (line-move): If we can't move enough lines,
20829 go to beginning or end of line.
20831 * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
20834 * help.el (describe-mode): Call help-setup-xref in the help buffer.
20835 Switch buffers only after calling `help-buffer'.
20837 * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
20838 only when they are surrounded by whitespace.
20839 Use dired-mark-separator when adding one file name to a command.
20840 (dired-do-shell-command): Verify that * is surrounded by whitespace.
20841 Ask for confirmation if * or ? is not surrounded by whitespace.
20842 (dired-bunch-files): Re-reverse the partial file list when it is used.
20844 2002-01-12 Richard M. Stallman <rms@gnu.org>
20846 * comint.el (comint-dynamic-list-completions): Repeating the command
20847 after displaying a completion list scrolls the list.
20849 2002-01-12 Eli Zaretskii <eliz@is.elta.co.il>
20851 * files.el (find-file-noselect): Don't consider a buffer as
20852 visiting a file literally if it is in hexl-mode.
20854 * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
20856 2002-01-11 Richard M. Stallman <rms@gnu.org>
20858 * startup.el (initial-scratch-message): Fix custom type, add group.
20860 * mail/rmail.el (rmail-decode-babyl-format): Disable undo
20861 around the decode-coding-region call.
20863 * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
20864 after displaying a completion list scrolls the list.
20866 2002-01-11 Eli Zaretskii <eliz@is.elta.co.il>
20868 * version.el (emacs-version): Bump to 21.2.50.
20870 2002-01-10 Thien-Thi Nguyen <ttn@giblet.glug.org>
20872 * play/zone.el (zone-timeout): New var.
20873 (zone-hiding-modeline): New macro.
20874 (zone-call): New func.
20876 (zone): Init `modeline-hidden-level' symbol property.
20877 Use `zone-call' instead of `funcall'.
20879 (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 2001-10-26T20:11:25Z!monnier@iro.umontreal.ca).
20881 (zone-pgm-stress): Use `zone-hiding-modeline'.
20883 (zone-pgm-stress-destress): New zone program.
20885 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
20887 * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
20889 2002-01-09 Richard M. Stallman <rms@gnu.org>
20891 * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
20893 2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu>
20895 * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
20896 flyspell-mouse-map.
20898 2002-01-08 Richard M. Stallman <rms@gnu.org>
20900 * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
20902 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
20904 * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
20906 2002-01-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20908 * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
20909 Do not use make-local-hook.
20911 2002-01-08 Eli Zaretskii <eliz@is.elta.co.il>
20913 * international/quail.el (quail-start-translation)
20914 (quail-start-conversion): Bind last-command-event, last-command,
20915 and this-command in the first let. This fixes the change from
20918 2002-01-08 Michael Kifer <kifer@cs.stonybrook.edu>
20920 * ediff-hook.el: Add an autoload cookie.
20922 2002-01-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20924 * net/eudcb-ph.el, net/ldap.el: New maintainer. New e-mail
20925 address of the author.
20927 2002-01-08 Richard M. Stallman <rms@gnu.org>
20929 * replace.el (occur-mode-goto-occurrence-other-window): New command.
20930 (occur-mode-map): Bind `o' to that.
20932 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
20934 * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
20935 new macro that replaces viper-emacs-p and viper-xemacs-p in many
20936 cases. Used to reduce the number of warnings.
20938 * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
20939 (viper-standard-value): Move here from viper.el.
20940 (viper-set-unread-command-events): Move to viper-util.el
20941 (viper-check-minibuffer-overlay): Make sure
20942 viper-minibuffer-overlay is moved to cover the entire input field.
20944 * viper-util.el: Use viper-cond-compile-for-xemacs-or-emacs.
20945 (viper-read-key-sequence, viper-set-unread-command-events)
20946 (viper-char-symbol-sequence-p, viper-char-array-p): Moved here.
20948 * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
20950 * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
20952 * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
20954 * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
20955 (viper-event-vector-p): Move to viper-util.el
20957 * viper.el (viper-standard-value): Move to viper-cmd.el.
20958 Use viper-cond-compile-for-xemacs-or-emacs.
20960 * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20962 * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20964 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
20965 New macro designed to be used in many places where ediff-emacs-p or
20966 ediff-xemacs-p was previously used. Reduces the number of warnings.
20967 Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
20969 (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
20970 (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
20971 (ediff-whitespace-diff-region-p, ediff-get-region-contents):
20972 Move to ediff-util.el.
20973 (ediff-event-key): Moved here.
20975 * ediff-merge.el: Got rid of unreferenced variables.
20977 * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20979 * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20980 (ediff-cleanup-mess): Improve the way windows are set up after
20982 (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
20983 (ediff-dispose-of-variant-according-to-user): New function
20984 designed to be smarter and also understands indirect buffers.
20985 (ediff-highlight-diff-in-one-buffer)
20986 (ediff-unhighlight-diff-in-one-buffer)
20987 (ediff-unhighlight-diffs-totally-in-one-buffer)
20988 (ediff-highlight-diff, ediff-highlight-diff)
20989 (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
20990 (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
20991 (ediff-get-region-contents, ediff-make-current-diff-overlay):
20993 (ediff-format-bindings-of): New function by Hannu Koivisto
20995 (ediff-setup): Make sure the merge buffer is always widened and
20997 (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
20998 result of a merge into a file visited by another buffer.
20999 (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
21000 is visited by another buffer and ask to save/delete that buffer.
21001 (ediff-verify-file-merge-buffer): New function to do the above.
21003 * ediff-vers.el: Load ediff-init.el at compile time.
21005 * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
21007 * ediff.el (ediff-windows, ediff-regions-wordwise)
21008 (ediff-regions-linewise): Use indirect buffers to improve
21009 robustness and make it possible to compare regions of the same
21010 buffer (even overlapping regions).
21011 (ediff-clone-buffer-for-region-comparison)
21012 (ediff-clone-buffer-for-window-comparison): New functions.
21013 (ediff-files-internal): Refuse to compare identical files.
21014 (ediff-regions-internal): Get rid of the warning about comparing
21015 regions of the same buffer.
21017 * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Moved here.
21018 Plus the following fixes courtesy of Dave Love: Doc fixes.
21019 (ediff-word-1): Use word class and move - to the
21020 front per regexp documentation.
21021 (ediff-wordify): Bind forward-word-function outside loop.
21022 (ediff-copy-to-buffer): Use insert-buffer-substring rather than
21023 consing buffer contents.
21024 (ediff-goto-word): Move syntax table setting outside loop.
21026 2002-01-07 Richard M. Stallman <rms@gnu.org>
21028 * dired.el (dired-copy-filename-as-kill): Call kill-append
21029 if following a kill command.
21031 * help-fns.el (describe-variable, describe-function):
21034 2002-01-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21036 * net/ldap.el (ldap-search-internal): Skip error message from
21037 ldapsearch. Allow listing attribute names only. Do not open
21038 non-existent files.
21040 * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
21041 call non-existent function.
21043 * net/eudc.el (top-level): Revert previous change.
21045 * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
21046 variables to prevent warning from byte-compiler.
21048 * net/eudc.el (top-level): Use eudc-xemacs-p instead of
21049 string-match on emacs-version again.
21051 * enriched.el (enriched-make-annotation): Fix the change from
21053 (enriched-handle-display-prop): Return proper values.
21055 * net/eudcb-ldap.el (eudc-attribute-display-method-alist):
21056 Use proper attribute name labeledUri instead of deprecated labeledUrl.
21058 2002-01-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21060 * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
21061 editing an empty hotlist.
21063 * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
21064 Use buffer-string instead of buffer-substring for the whole buffer.
21066 * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
21069 * net/eudc-bob.el (eudc-bob-can-display-inline-images)
21070 (eudc-bob-display-jpeg): Use fboundp instead of boundp.
21071 (eudc-bob-save-object): Make the buffer unibyte.
21072 (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
21073 object to external program.
21075 2002-01-05 Andre Spiegel <spiegel@gnu.org>
21077 * vc.el (vc-branch-part): Return nil if there's no `.'
21078 (vc-default-previous-version): Renamed from vc-previous-version.
21079 New args BACKEND and FILE. Return nil for revision numbers
21081 (vc-version-diff): Call vc-BACKEND-previous-version.
21082 (vc-steal-lock): Steal lock before composing mail, so that no mail
21083 is sent when the stealing goes wrong. And we'll actually see the
21084 error in that case now.
21085 (vc-finish-steal): Removed.
21087 * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
21088 the lock, so that we see expanded headers.
21089 (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p)
21090 (vc-rcs-minor-part, vc-rcs-previous-version): Removed. These are
21091 available from vc.el. Updated all callers.
21093 2002-01-05 Richard M. Stallman <rms@gnu.org>
21095 * enriched.el (enriched-make-annotation): Doc fix.
21097 * format.el (format-replace-strings, format-subtract-regions)
21098 (format-annotate-region, format-annotate-location)
21099 (format-annotate-atomic-property-change)
21100 (format-annotate-single-property-change): Doc fixes.
21102 2002-01-05 Jason Rumney <jasonr@gnu.org>
21104 * term/w32-win.el: Require fontset unconditionally.
21105 (w32-handle-scroll-bar-event): Remove.
21107 2002-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21109 * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
21110 copyrights to be updated.
21112 2002-01-04 Eli Zaretskii <eliz@is.elta.co.il>
21114 * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
21117 * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
21119 2002-01-04 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21121 * net/ldap.el (ldap-host-parameters-alist): Remove duplicated entry.
21122 (ldap-ignore-attribute-codings): Change the default value to allow
21123 encoding/decoding of attributes.
21124 (ldap-coding-system): Use UTF-8 as the coding-system. Doc fix.
21126 2002-01-03 Richard M. Stallman <rms@gnu.org>
21128 * files.el (basic-save-buffer): Undo previous change.
21130 * calendar/diary-lib.el (diary-block): Doc fix.
21132 * custom.el (defcustom): Fix syntax of previous change.
21134 2002-01-03 Per Abrahamsen <abraham@dina.kvl.dk>
21136 * custom.el (defcustom): Documented :tag, :link and :load.
21138 2002-01-03 Eli Zaretskii <eliz@is.elta.co.il>
21140 * mail/sendmail.el (mail-recover-1): New function.
21141 (mail-recover): Switch to the *mail* buffer right away.
21142 Use buffer-auto-save-file-name instead of calling
21143 make-auto-save-file-name. Call dired-noselect instead of invoking
21144 `ls' directly. Bind coding-system-for-read to emacs-mule-unix
21145 before reading the auto-save file. If the buffer's auto-save file
21146 does not exist, call mail-recover-1 to allow recovery from past
21149 2002-01-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21151 * time.el (display-time-load-average-threshold): Fix defcustom
21152 (add type and group).
21154 * net/ange-ftp.el (ange-ftp-shell-command): Remove port
21155 specification from the hostname.
21157 2002-01-02 Richard M. Stallman <rms@gnu.org>
21159 * facemenu.el (facemenu-active-faces):
21160 Use face-attributes-as-vector, not face-attributes-vector.
21162 2002-01-02 Chris Hanson <cph@aarau.ai.mit.edu>
21164 * xscheme.el: Eleven years of updates on a private copy.
21166 Extensive changes to support multiple xscheme buffers:
21167 (run-scheme): Break up into new functions to facilitate starting
21168 processes in other buffers.
21169 (xscheme-start, xscheme-read-command-line): New functions.
21170 (start-scheme, select-scheme)
21171 (default-xscheme-runlight)
21172 (global-set-scheme-interaction-buffer)
21173 (local-set-scheme-interaction-buffer)
21174 (local-clear-scheme-interaction-buffer)
21175 (exit-scheme-interaction-mode)
21176 (verify-xscheme-buffer): New functions.
21177 (xscheme-process-name, xscheme-buffer-name)
21178 (xscheme-runlight): New internal vars.
21179 (default-xscheme-runlight): New const.
21180 (xscheme-start-process): Add args for the process/buffer names.
21181 (reset-scheme): Pass process/buffer names.
21182 (scheme-interaction-mode): Initialize new local vars.
21183 (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
21184 (xscheme-select-process-buffer, xscheme-process-buffer)
21185 (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
21186 (xscheme-goto-output-point, xscheme-write-message-1): Use new
21187 var xscheme-process-name.
21188 (xscheme-start-process): Initialize xscheme-process-name and
21189 xscheme-buffer-name in the process buffer. Pass buffer name to
21190 xscheme-modeline-initialize.
21191 (xscheme-modeline-initialize): Add argument to specify buffer name
21192 for mode-line vars.
21193 (xscheme-process-sentinel): Make sure sentinel is run in the
21194 process buffer so it sees its local vars.
21195 (xscheme-process-filter-initialize, xscheme-set-runlight):
21196 More elaborate logic to handle multiple-buffer mode lines.
21198 (xscheme-enter-input-wait): Re-enable control-G handler upon
21199 entering input wait.
21201 (scheme-interaction-mode): Add arg to preserve local vars.
21202 (xscheme-enter-interaction-mode)
21203 (xscheme-enter-debugger-mode): Preserve local vars.
21204 (xscheme-start-process): Clobber local vars.
21206 (scheme-interaction-mode-commands): Allow end user to add commands
21207 to scheme-interaction-mode keymap.
21208 (scheme-interaction-mode-commands-alist): New variable.
21210 (xscheme-send-string): Don't use insert-before-markers.
21212 Implement a per-buffer kill ring:
21213 (xscheme-insert-expression)
21214 (xscheme-rotate-yank-pointer, xscheme-yank)
21215 (xscheme-yank-pop, xscheme-yank-push): New functions.
21216 (xscheme-expressions-ring)
21217 (xscheme-expressions-ring-yank-pointer)
21218 (xscheme-expressions-ring-max): New variables.
21219 (xscheme-send-string-1): Call xscheme-insert-expression to save
21220 expression in ring.
21221 (xscheme-yank-previous-send): Now an alias for xscheme-yank.
21222 (xscheme-previous-send): Deleted variable.
21224 (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed)
21225 (xscheme-send-control-g-interrupt): Use process-send-string rather
21228 (xscheme-send-region): Insert a newline after an expression that
21229 is submitted in the interaction buffer, for consistency with
21230 recent changes to Edwin.
21232 (xscheme-delete-output): New function mimics comint-delete-output.
21233 (xscheme-last-input-end): New internal variable.
21234 (xscheme-process-filter-output): Update xscheme-last-input-end.
21236 (xscheme-send-control-g-interrupt): Make sure that
21237 xscheme-control-g-disabled-p is looked up in the right buffer.
21239 (xscheme-enable-control-g): Clear C-g message if visible.
21240 (xscheme-control-g-message-string): New internal var.
21241 (xscheme-send-control-g-interrupt): Use new var.
21243 (xscheme-send-control-g-interrupt, xscheme-send-interrupt):
21244 Delay after sending interrupt in order to work around race condition.
21246 (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
21247 (xscheme-send-char): Use xscheme-send-char rather than send-string
21248 to send single char.
21250 (xscheme-process-filter, xscheme-process-filter-alist):
21251 Add support for evaluating expressions outside of the call-excursion.
21252 (xscheme-process-filter:string-action-noexcursion): New func.
21254 (xscheme-write-value): Change output string to match that used by
21257 (xscheme-coerce-prompt): Don't write a space after a command
21258 prompt. The PROMPT-FOR-COMMAND- procedures will take care of this
21261 (reset-scheme): Delete process after killing it.
21263 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
21265 * bindings.el (function-key-map): Don't bind shifted keypad
21268 2002-01-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21270 * enriched.el (enriched-handle-display-prop): Remove unused variables.
21271 (enriched-mode): Doc fix.
21273 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
21275 * international/ucs-tables.el (ucs-8859-8-alist): Comment away
21278 2002-01-01 Richard M. Stallman <rms@gnu.org>
21280 * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
21282 2001-12-31 Richard M. Stallman <rms@gnu.org>
21284 * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
21285 * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
21286 * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
21287 * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
21288 * progmodes/cperl-mode.el, progmodes/idlwave.el:
21289 * progmodes/sh-script.el, progmodes/vhdl-mode.el:
21290 Adapt face definitions to use :weight and :slant.
21292 * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
21294 * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
21296 * font-lock.el (initializing from font-lock-face-attributes):
21297 Use :weight and :slant, not :bold and :italic.
21299 2001-12-31 Per Abrahamsen <abraham@dina.kvl.dk>
21301 * cus-edit.el (custom-face-edit-fix-value): New function.
21302 (custom-face-edit): Use it, to convert :italic and :bold to new forms.
21304 2001-12-30 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21306 * progmodes/octave-mod.el (octave-abbrev-table):
21307 * progmodes/idlwave.el (idlwave-mode-abbrev-table):
21308 * progmodes/fortran.el (fortran-mode-abbrev-table):
21309 * progmodes/f90.el (f90-mode-abbrev-table):
21310 * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
21311 * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
21312 predefined abbrevs as "system" abbrevs.
21314 2001-12-30 Richard M. Stallman <rms@gnu.org>
21316 * info.el (Info-fontify-node): For a **** underline line, put the
21317 invisible and intangible props on the following newline, but not
21318 on the previous newline or the last char of the previous line.
21320 * faces.el (face-set-after-frame-default): Don't change `default' face.
21322 * faces.el (minibuffer-prompt): Adopt some default colors.
21324 * replace.el (query-replace-read-args): Immediate error if read-only.
21326 * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
21327 Display the output buffer in a more intelligent way.
21329 2001-12-30 Eli Zaretskii <eliz@is.elta.co.il>
21331 * ls-lisp.el (insert-directory): Modify the "total" line wording,
21332 in accordance with files.el's insert-directory.
21334 2001-12-29 Richard M. Stallman <rms@gnu.org>
21336 * files.el (basic-save-buffer): If a before-write hook displays
21337 an echo area message, pause before calling basic-save-buffer-1.
21339 2001-12-29 Markus Rost <rost@math.ohio-state.edu>
21341 * textmodes/reftex-global.el (reftex-query-replace-document)
21342 (reftex-change-label): Doc fix.
21344 * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
21346 * progmodes/etags.el (tags-query-replace): Doc fix.
21348 2001-12-29 Richard M. Stallman <rms@gnu.org>
21350 * progmodes/compile.el (compile-internal): Fix previous change.
21352 2001-12-28 Richard M. Stallman <rms@gnu.org>
21354 * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
21355 shrink the windows above as necessary to get space.
21356 (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
21358 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
21359 This fixes a bug that treated all files as directories.
21360 (ange-ftp-insert-directory): Explicitly follow symlinks.
21362 * international/iso-transl.el (iso-transl-char-map) Eliminate the
21363 alias symbols--put the translated sequences here directly.
21365 * progmodes/cc-mode.el (c-mode-abbrev-table)
21366 (c++-mode-abbrev-table, objc-mode-abbrev-table)
21367 (java-mode-abbrev-table, pike-mode-abbrev-table):
21368 Mark all the predefined abbrevs as "system" abbrevs.
21370 * mail/sendmail.el (mail-envelope-from): Fix custom type.
21371 (sendmail-send-it): Check mail-specify-envelope-from
21372 and mail-envelope-from in the mail buffer at start.
21374 2001-12-28 Simon Josefsson <jas@extundo.com>
21376 * mail/sendmail.el (mail-envelope-from): Fix :type.
21377 (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
21379 2001-12-28 Richard M. Stallman <rms@gnu.org>
21381 * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
21383 * simple.el (line-move-invisible): New subroutine.
21384 (line-move-to-column): New subroutine--smarter about advancing over
21385 invisible parts of a line, or lines, but only as long as hpos grows.
21386 (line-move-finish): New subroutine: repeatedly processes desired
21387 column, intangibility, and fields.
21388 (line-move): Use those subroutines.
21389 When moving lines downward, skip invisible text first rather than last.
21391 2001-12-27 Richard M. Stallman <rms@gnu.org>
21393 * international/mule-diag.el (describe-char-after):
21394 Describe the text properties of the char after point.
21396 * help.el (describe-key): Doc fix.
21398 2001-12-26 Markus Rost <rost@math.ohio-state.edu>
21400 * find-dired.el (find-dired-sentinel): Precede exit message by
21401 two spaces, to match the regexp in dired-between-files.
21403 2001-12-28 Miles Bader <miles@gnu.org>
21405 * wid-edit.el (widget-toggle-value-create): Don't eval actual
21406 images (which are lists too).
21408 2001-12-27 Eli Zaretskii <eliz@is.elta.co.il>
21410 * language/european.el: Fix the doc string of "Latin-5" language
21413 2001-12-26 Richard M. Stallman <rms@gnu.org>
21415 * textmodes/flyspell.el (flyspell-mode-map): New keymap,
21416 defined as before 2001-11-09.
21417 (add-minor-mode call): Specify the keymap.
21419 * progmodes/compile.el (compile-internal):
21420 Set TERM variable in process-environment.
21422 2001-12-25 Richard M. Stallman <rms@gnu.org>
21424 * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
21427 * startup.el (command-line): Convert command line args
21428 to Emacs internal representation using locale-coding-system.
21430 2001-12-25 Eli Zaretskii <eliz@is.elta.co.il>
21432 * international/fontset.el: Don't require ind-util when compiling.
21434 2001-12-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21436 * emulation/tpu-edt.el (tpu-reset-screen-size):
21437 Use set-frame-height and set-frame-width instead of set-screen-height
21438 and set-screen-width.
21440 * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
21441 of obsolete set-screen-width.
21443 * locate.el (locate): Remove dot at the end of error argument.
21445 * emerge.el (emerge-show-file-name): Use frame-height instead of
21446 obsolete screen-height.
21448 * mail/mh-utils.el (mh-show-msg): Likewise.
21449 (mh-handle-process-error): Use frame-width instead of obsolete
21452 2001-12-25 Richard M. Stallman <rms@gnu.org>
21454 * window.el (balance-windows): Use new PRESERVE-BEFORE arg
21455 to enlarge-window. Use save-selected-window. Don't try
21456 to resize windows that end at the bottom "level".
21457 Retry changing the sizes until the windows get the desired sizes.
21458 Discount the minibuffer when computing total height available.
21460 * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
21461 (debugger-make-xrefs): Only make a button for the first symbol
21464 2001-12-24 Eli Zaretskii <eliz@is.elta.co.il>
21466 * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
21467 Call IT-setup-unicode-display here instead of adding it to
21468 dos-codepage-setup-hook, so that Unicode display tables are set
21469 before dos-codepage-setup-hook runs.
21471 2001-12-24 Richard M. Stallman <rms@gnu.org>
21473 * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
21474 (nslookup-mode-abbrev-table): Don't define it.
21475 (smbclient-mode-abbrev-table): Don't define it.
21476 (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
21477 (nslookup-mode, smbclient-mode): Likewise.
21478 (network-connection-service-abbrev-alist): Variable deleted.
21479 (network-connection-mode-setup): Don't set up abbrev table.
21481 * faces.el (minibuffer-prompt): New face.
21482 (minibuffer-prompt-properties): Add `face' property.
21484 * replace.el (occur-mode-display-occurrence): New function.
21485 (occur-mode-map): Bind C-o to it.
21487 2001-12-24 Michael Kifer <kifer@cs.sunysb.edu>
21489 * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
21490 (viper-special-read-and-insert-char): Make C-m work right in the r
21492 (viper-buffer-search-enable): Fixed format string.
21494 * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
21495 instead of viper-info-on-file.
21496 (ex-set-visited-file-name): New function.
21498 * viper.el (viper-emacs-state-mode-list): Added mail-mode.
21500 * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
21503 * ediff-init.el: Fixed some doc strings.
21505 * ediff-util.el (ediff-after-quit-hook-internal): New variable.
21506 Got rid of make-local-hook.
21508 * ediff-wind.el (ediff-setup-control-frame): Got rid of
21511 2001-12-23 Richard M. Stallman <rms@gnu.org>
21513 * term/x-win.el (x-handle-geometry): Put height and width
21514 on default-frame-alist, left and top on initial-frame-alist.
21515 * term/w32-win.el (x-handle-geometry): Likewise.
21517 * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
21519 * play/yow.el (yow): Use an arg to distinguish interactive calls,
21522 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21524 * emacs-lisp/elint.el (elint-unknown-builtin-args):
21525 Remove mocklisp entries.
21527 * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
21530 * emulation/mlconvert.el: File removed.
21532 * emulation/mlsupport.el: Moved to obsolete.
21534 * obsolete/mlsupport.el: Moved there from lisp/emulation.
21536 * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
21538 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
21539 Remove mocklisp case.
21541 * help-fns.el (describe-function-1): Remove mocklisp function case.
21543 2001-12-22 Miles Bader <miles@gnu.org>
21545 * textmodes/refill.el (refill-mode): Don't barf when redundantly
21546 turning refill-mode off.
21548 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21550 * time.el (display-time-load-average-threshold): New variable.
21551 (display-time-update): Use it.
21553 These changes allow cycling through past 1, 5 and 15 minutes
21554 load-average displayed in the mode-line.
21556 * time.el (display-time-default-load-average): New customizable option.
21557 (display-time-load-average): New variable.
21558 (display-time-cycle-load-average): New function.
21559 (display-time-update): Use them.
21561 2001-12-21 Richard M. Stallman <rms@gnu.org>
21563 * apropos.el (apropos-print): SPACING is now nil or a separator string.
21564 (apropos-documentation, apropos-value): Pass a suitable string.
21566 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
21568 * dired.el (dired-free-space-program, dired-free-space-args):
21569 Aliases for back-compatibility.
21571 * info.el (Info-select-node): If Info-use-header-line is nil, set
21572 header-line-format to nil.
21573 (Info-fontify-node): Don't put a keymap text property on the
21574 heading if we are not going to display the header line. Remove
21575 any such text properties left over from past visits to this node.
21577 * ls-lisp.el (insert-directory): Insert the amount of free disk
21578 space, like files.el's insert-directory does.
21580 * files.el (directory-free-space-program):
21581 Mention file-system-info in the doc string.
21582 (get-free-disk-space): New function; code moved from insert-directory.
21583 (insert-directory): Call get-free-disk-space to get the amount of
21586 2001-12-21 Richard M. Stallman <rms@gnu.org>
21588 * help.el (view-order-manuals, view-emacs-news, describe-copying)
21589 (describe-distribution, describe-project): Use view-file.
21591 * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
21593 * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
21595 * emacs-lisp/easy-mmode.el (define-minor-mode):
21596 Make no arg by default in an interactive call,
21597 so that repeating the command toggles again.
21599 * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
21601 2001-12-21 Christoph Wedler <Christoph.Wedler@sap.com>
21603 * antlr-mode.el: More sophisticated indentation of cpp directive.
21604 (antlr-indent-at-bol-alist): New user option.
21605 (antlr-indent-line): Use it.
21606 (antlr-indent-style): New user option.
21607 (antlr-mode): Use it.
21608 (antlr-indent-item-regexp): Customize.
21610 * antlr-mode.el: Syntax highlighting changes.
21611 (antlr-font-lock-literal-regexp): New user option.
21612 (antlr-font-lock-syntax-face): New face used for :, |, ....
21613 (antlr-font-lock-default-face): New face.
21614 (antlr-font-lock-additional-keywords): Use them.
21616 * antlr-mode.el: New command to insert options -- variables.
21617 (antlr-mode-map): New binding [C-c C-o].
21618 (antlr-mode-menu): New submenus.
21619 (antlr-options-use-submenus): New user option.
21620 (antlr-tool-version): New user option.
21621 (antlr-options-auto-colon): New user option.
21622 (antlr-options-style): New user option.
21623 (antlr-options-push-mark): New user option.
21624 (antlr-options-assign-string): New user option.
21625 (antlr-options-headings): New variable.
21627 * antlr-mode.el: New command to insert options -- specific.
21628 (antlr-options-alists): New variable.
21629 (antlr-read-value): New function.
21630 (antlr-read-boolean): New function.
21631 (antlr-language-option-extra): New function.
21632 (antlr-language-limit-n-regexp): Change default to higher LIMIT.
21633 (antlr-c++-mode-extra): New function.
21634 (antlr-grammar-tokens): New function.
21635 (antlr-imenu-create-index-function): New optional argument.
21637 * antlr-mode.el: New command to insert options -- functions.
21638 (antlr-insert-option): New command.
21639 (antlr-insert-option-interactive): New function.
21640 (antlr-options-menu-filter): New function.
21641 (antlr-option-kind): New function.
21642 (antlr-scan-lists): New alias.
21643 (antlr-scan-lists-internal): New function.
21644 (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
21645 (antlr-option-level): New function.
21646 (antlr-syntactic-grammar-depth): New function.
21647 (antlr-option-location): New function.
21648 (antlr-insert-option-do): New function.
21649 (antlr-option-spec): New function.
21650 (antlr-version-string): New function.
21651 (antlr-insert-option-existing): New function.
21652 (antlr-insert-option-space): New function.
21653 (antlr-insert-option-area): New function.
21655 * antlr-mode.el: New electric keys ":;|&(){}", TAB works better
21656 with narrowing. Menu change. Miscellaneous.
21657 (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
21658 (antlr-mode-map): New bindings for characters in ":;|&(){}".
21659 (antlr-electric-character): New command.
21660 (antlr-class-header-regexp): New variable.
21661 (antlr-font-lock-additional-keywords): Use it.
21662 (antlr-imenu-create-index-function): Use it.
21663 (antlr-file-dependencies): Use it.
21664 (antlr-indent-line): Also works with restrictions.
21665 (antlr-indent-command): Interactive spec - changes the buffer.
21666 (antlr-language-for-option): Deletia.
21667 (antlr-language-option): New function, defined instead.
21668 (antlr-mode): Use it.
21670 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
21672 * jka-compr.el (jka-compr-partial-uncompress): Use null-device
21673 instead of a literal /dev/null.
21675 * Makefile.in (distclean): Remove Makefile in the build
21676 directory, not in the source directory.
21678 2001-12-21 Simon Josefsson <jas@extundo.com>.
21680 * mail/smtpmail.el (smtpmail-send-queued-mail):
21681 Use with-temp-buffer instead of find-file-noselect, and bind
21682 coding-system-for-read to no-conversion when reading the queued
21683 messages. (Simon's code modified slightly by Eli Zaretskii.)
21685 2001-12-20 Werner Lemberg <wl@gnu.org>
21687 * international/mule-diag.el (describe-coding-system)
21688 (print-coding-system-briefly): Make printed output have a similar
21689 format as describe-character-set.
21691 2001-12-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21693 * play/blackbox.el (bb-member): Remove, use member instead.
21694 (bb-delete): Remove, use delete instead.
21695 Update copyright notice. Defvar for bb-board, bb-x, bb-y,
21696 bb-score, bb-detour-count and bb-balls-placed.
21697 Propertize results of rays.
21699 2001-12-19 Karl Fogel <kfogel@red-bean.com>
21701 * isearch.el (isearch-forward, isearch-edit-string): Make doc
21702 strings mention keybinding for `isearch-yank-word-or-char',
21703 rather than `isearch-yank-word', since the former is bound now
21704 and the latter is not.
21705 (isearch-yank-word-or-char): Fix formatting.
21707 2001-12-19 Werner Lemberg <wl@gnu.org>
21709 * language/czech.el, language/european.el, language/slovak.el:
21710 More fixes for language info doc strings.
21712 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il>
21714 * loadup.el: Add "language" to the load-path.
21716 2001-12-19 Richard M. Stallman <rms@gnu.org>
21718 * international/mule-cmds.el (describe-language-environment):
21719 Fix calls to help-xref-button.
21721 2001-12-19 Miles Bader <miles@gnu.org>
21723 * international/fontset.el: Require `ind-util' when compiling.
21725 2001-12-18 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21727 * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
21728 instead of decompose-composite-char.
21730 2001-12-18 Richard M. Stallman <rms@gnu.org>
21732 * simple.el (eval-expression-print-level)
21733 (eval-expression-print-length): Doc fixes.
21735 * international/mule-diag.el (describe-character-set):
21736 Fix the arg to help-xref-button.
21738 * files.el (directory-free-space-program): New variable.
21739 (directory-free-space-args): New variable.
21740 (insert-directory): Use those two variables for getting free space.
21741 Use file-system-info instead, if that is defined.
21743 * dired.el (dired-free-space-program): Variable deleted.
21744 (dired-free-space-args): Variable deleted.
21745 (dired-insert-directory): Don't try to determine free space.
21747 * files.el (font-lock-defaults): Add risky-local-variables prop.
21748 (hack-one-local-variable): Treat various font-lock variables as risky.
21750 2001-12-18 Werner Lemberg <wl@gnu.org>
21752 * language/chinese.el, language/cyrillic.el:
21753 * language/czech.el, language/european.el, language/greek.el:
21754 * language/hebrew.el, language/indian.el, language/japanese.el:
21755 * language/korean.el, language/lao.el, language/slovak.el:
21756 * language/thai.el, language/tibetan.el, language/vietnamese.el:
21757 Improve documentation strings of coding systems and language infos.
21759 2001-12-18 Werner LEMBERG <wl@gnu.org>
21761 Add support for EUC-TW decoding/encoding.
21763 * language/china-util.el (big5-to-flat-code, flat-code-to-big5)
21764 (euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
21765 New auxiliary functions to build `big5-to-cns'.
21766 (big5-to-cns): New translation alist.
21768 * language/chinese.el: Added new coding system `euc-tw' and its
21769 alias `euc-taiwan'.
21770 Updated language `Chinese-CNS' to include euc-tw encoding also.
21771 (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
21774 2001-12-18 Dave Love <fx@gnu.org>
21776 * loadup.el: Add language/utf-8-lang, language/georgian.
21778 * image-file.el (image-file-name-extensions): Add pnm. Doc fix.
21779 (image-file-name-regexps): Doc fix.
21781 * server.el (server-unload-hook): New function.
21783 * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
21784 (lm-crack-copyright): Cope with multi-line copyright `lines'.
21786 * simple.el (newline): Doc fix.
21787 (eval-expression-print-level, eval-expression-print-length): Doc
21789 (next-line, previous-line): Make arg optional.
21790 (newline): Doc fix.
21792 * Makefile.in (DONTCOMPILE): Add various language files.
21794 * international/quail.el (quail-input-string-to-events): Don't use
21797 * progmodes/f90.el (f90-break-line): Avoid infinite recursion
21800 2001-12-17 Richard M. Stallman <rms@gnu.org>
21802 * comint.el (comint-dynamic-list-input-ring-select): New function.
21803 Switches back to the old window configuration.
21804 (comint-dynamic-list-input-ring): Bind RET to that function.
21805 (comint-dynamic-list-input-ring-window-conf): New variable.
21807 2001-12-17 Werner Lemberg <wl@gnu.org>
21809 * international/mule-conf.el: Improve documentation strings of
21812 2001-12-16 Richard M. Stallman <rms@gnu.org>
21814 * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
21815 (dired-mode-map): Bind w to dired-copy-filename-as-kill.
21817 * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
21819 * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
21820 Add a DESCRIPTION for the makefile item.
21822 * find-file.el (ff-other-file-name): New function.
21824 2001-12-16 Eli Zaretskii <eliz@is.elta.co.il>
21826 * international/quail.el (quail-input-string-to-events): Fix last
21829 2001-12-16 Richard M. Stallman <rms@gnu.org>
21831 * isearch.el (isearch-edit-string): When we set isearch-string
21832 to the default, also set isearch-message.
21834 * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
21836 * startup.el (command-line-1): Display startup screen
21837 even if there are command line args.
21838 Add a note about how to go to editing your files.
21839 (fancy-splash-head): Add a note about how to go to your files.
21840 (fancy-splash-outer-buffer): New variable.
21841 (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
21843 * subr.el (with-temp-message): At the end, always discard
21844 the temp message, even by clearing the echo area.
21846 * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
21848 2001-12-16 Stefan Monnier <monnier@cs.yale.edu>
21850 * log-view.el (log-view-message-re, log-view-current-tag):
21851 Recognize Subversion's log output format.
21853 * international/fontset.el: Build the list L at compile time.
21855 * language/ind-util.el (mapthread): Make a closure.
21857 2001-12-15 Richard M. Stallman <rms@gnu.org>
21859 * isearch.el (isearch-start-hscroll): New variable.
21860 (isearch-mode): Set isearch-start-hscroll.
21861 (isearch-update): Restore original hscrolling if possible.
21863 * isearch.el (isearch-edit-string):
21864 Treat isearch-yank-word-or-char specially, like isearch-yank-word.
21866 * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
21867 (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
21868 rather than regexp search and (2) copying text properties
21869 already set up on text unchanged from the previous backtrace.
21871 * case-table.el (set-case-syntax-pair):
21872 Detect invalid calls and signal an error.
21874 2001-12-15 Richard M. Stallman <rms@gnu.org>
21876 * language/ind-util.el (range): Function deleted.
21877 (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
21880 * language/devan-util.el (devanagari-range): Renamed from `range'.
21882 (devanagari-regexp-of-hashtbl-keys):
21883 Renamed from `regexp-of-hashtbl-keys'. All calls changed.
21885 2001-12-15 Dave Love <fx@gnu.org>
21887 * language/ind-util.el: Don't require cl.
21888 (indian-glyph-char, indian-glyph-max-char)
21889 (indian-char-glyph): Moved from indian.el
21890 (indian--puthash-char, mapthread): Don't quote lambda.
21891 (indian--map): New function.
21892 (indian--puthash-v, indian--puthash-c, indian--puthash-m)
21893 (indian--puthash-cv): Use it.
21895 * language/indian.el (indian-glyph-char, indian-glyph-max-char)
21896 (indian-char-glyph): Moved to ind-util.el
21898 * language/devan-util.el (devanagari-post-read-conversion):
21901 * language/georgian.el: New file.
21903 * international/mule-cmds.el (locale-language-names): Add various
21904 entries. Remove utf-8 special case.
21905 (locale-charset-language-names, locale-preferred-coding-systems):
21907 (set-language-environment): Process required-features earlier.
21909 * international/quail.el (quail-keyboard-layout-alist):
21911 (quail-keyboard-layout-type): Fix :type.
21912 (quail-choose-completion-string): Simplify.
21913 (quail-update-leim-list-file): Don't get fooled by commented-out code.
21914 (quail-input-string-to-events): Run events through
21915 translation-table-for-input.
21917 * international/mule-conf.el (translation-table-for-input):
21919 (latin-iso8859-14): Amend description.
21920 (file-coding-system-alist): Add entry for utf-8.
21922 * language/utf-8-lang.el: New file.
21924 * international/code-pages.el: New file.
21926 * language/hebrew.el ("Windows-1255"): New language.
21928 * language/european.el ("Welsh", "Latin-7", "Lithuanian")
21929 ("Latvian"): New languages.
21931 2001-12-14 Stefan Monnier <monnier@cs.yale.edu>
21933 * xml.el: Use setq rather than (set 'foo bar).
21934 Use push+nreverse rather than append.
21935 (xml-node-name, xml-node-attributes, xml-node-children):
21936 Use defsubst rather than macros.
21937 (xml-parse-region): Handle a nil return value from xml-parse-tag.
21938 (xml-parse-tag): Don't skip white space. Return nil for a comment.
21939 Concat the two strings surrounding a comment into a single string.
21941 * newcomment.el (comment-indent): Jump to the middle of empty comments.
21943 2001-12-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21945 * select.el (xselect-convert-to-class, xselect-convert-to-name):
21948 2001-12-14 Andre Spiegel <spiegel@gnu.org>
21950 * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
21951 Return nil if FILE is not registered.
21952 (vc-check-master-templates, vc-default-make-version-backups-p):
21955 2001-12-13 David Ponce <david@dponce.com>
21957 * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
21958 (ruler-mode-left-fringe-cols): New macro.
21959 (ruler-mode-right-fringe-cols): New macro.
21960 (ruler-mode-left-scroll-bar-cols): New macro.
21961 (ruler-mode-right-scroll-bar-cols): New macro.
21962 (ruler-mode-ruler): Use above new macros.
21964 2001-12-13 Richard M. Stallman <rms@gnu.org>
21966 * files.el (set-auto-mode): Fix previous change.
21968 2001-12-13 Stefan Monnier <monnier@cs.yale.edu>
21970 * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
21971 (easy-menu-do-define, easy-menu-convert-item-1)
21972 (easy-menu-define-key-intern, easy-menu-get-map): Use it.
21973 (easy-menu-return-item): Only return nil if there is no binding.
21975 2001-12-13 Rajesh Vaidheeswarran <rv@gnu.org>
21977 * whitespace.el (whitespace-version): 3.2
21978 * whitespace.el (whitespace-force-mode-line-update): Replace with
21979 `whitespace-mode-line-update', which is an alias to the correct
21980 function in various emacsen.
21981 * whitespace.el (whitespace-{un,}highlight-the-space):
21982 Add colorized highlighting of the bogus whitespaces in a buffer/file,
21983 using the `whitespace-highlight-face' if
21984 `whitespace-display-spaces-in-color' is set.
21986 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
21988 * international/mule.el (set-auto-coding): Don't search for
21989 "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
21991 2001-12-13 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21993 * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
21995 * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
21997 * mail/rmailsum.el (rmail-summary-mode): Likewise.
21999 2001-12-13 Richard M. Stallman <rms@gnu.org>
22001 * simple.el (undo): Always set this-command to `undo',
22002 so that the next undo after an error will not begin redoing.
22004 * simple.el (shell-command): Doc fix.
22005 (shell-command-on-region): If there is output an an error,
22006 add "...Shell command failed" to the output.
22008 2001-12-13 David Ponce <david@dponce.com>
22010 * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
22011 (ruler-mode-left-fringe-cols): Function replaced by more efficient
22012 implementation `ruler-mode-extra-left-cols'.
22013 (ruler-mode-ruler): Use above new function. Take into account
22014 that the fringe areas can now be resized.
22016 2001-12-12 Richard M. Stallman <rms@gnu.org>
22018 * international/characters.el (Unicode): Comment out
22019 the specifications for kelvin and angstrom signs.
22021 * international/mule.el (make-translation-table-from-vector):
22022 Allow null elements in VEC.
22024 * international/ucs-tables.el (unify-8859-on-encoding-mode)
22025 (unify-8859-on-decoding-mode): Swap the code in their bodies.
22028 2001-12-11 Richard M. Stallman <rms@gnu.org>
22030 * derived.el (derived-mode-p): Function moved to subr.el.
22032 * subr.el (derived-mode-p): Moved here from derived.el.
22034 * international/mule.el (set-auto-coding): Use set-auto-mode-1.
22036 * files.el (set-auto-mode-1): New subroutine, broken out of
22038 (set-auto-mode, hack-local-variables-prop-line): Use that.
22040 2001-12-11 Dave Love <fx@gnu.org>
22042 * language/thai-util.el, language/thai.el: Add Unicode equivalents.
22044 * language/european.el: Remove autoload cookies. Fix registration
22045 of diacritic composition function.
22047 2001-12-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22049 * calendar/todo-mode.el: Require time-stamp.
22051 * net/zone-mode.el (zone-mode): Don't use make-local-hook.
22053 2001-12-11 Richard M. Stallman <rms@gnu.org>
22055 * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
22057 * textmodes/ispell.el (ispell-buffer-local-parsing):
22058 Match xml like sgml.
22060 * emacs-lisp/advice.el (ad-compile-function):
22061 Byte compile the function under another (uninterned) name.
22063 * gud.el (gdb): Define and bind gud-jump.
22065 * font-lock.el (font-lock-mode):
22066 Put our function at the end of after-change-functions.
22068 * ediff-diff.el (ediff-cmp-options): Doc fix.
22070 * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
22072 2001-12-10 Richard M. Stallman <rms@gnu.org>
22074 * isearch.el (isearch-yank-word-or-char): New function.
22075 (isearch-mode-map): Bind C-w to that.
22077 * menu-bar.el (menu-bar-mode): Make arg optional.
22079 * simple.el (line-move): Cope if next-single-property-change
22080 or previous-single-property-change returns nil.
22082 * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
22083 Don't use interactive-p; instead, pass the proper args
22084 in (interactive...). Clean up most of the trouble-report strings.
22086 2001-12-10 Eli Zaretskii <eliz@is.elta.co.il>
22088 * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
22089 enqueued messages literally.
22091 2001-12-10 Noah Friedman <friedman@splode.com>
22093 * battery.el (battery-insert-file-contents): Obsolete function
22095 (battery-read-function): Obsolete function removed.
22096 (battery-linux-proc-apm): Use insert-file-contents.
22098 2001-12-07 Stephen Eglen <stephen@gnu.org>
22100 * iswitchb.el (iswitchb-visit-buffer):
22101 Use `select-frame-set-input-focus'--needed when window manager
22102 uses "click to focus" policy.
22104 2001-12-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22106 * COPYING: Moved back.
22108 2001-12-07 Eli Zaretskii <eliz@is.elta.co.il>
22110 * term/internal.el (IT-character-translations): Add entries for
22113 * international/characters.el: Resurrect the Hebrew category
22114 settings for all Hebrew characters removed by the last change.
22115 Add code for setting the Hebrew category of the Unicode Hebrew
22116 characters. Set syntax entries for Hebrew punctuation characters.
22118 * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
22119 points and directional formatting control characters.
22121 2001-12-07 Dave Love <fx@gnu.org>
22123 * language/lao-util.el: Add Unicode equivalents for rules.
22124 (lao-post-read-conversion): New function.
22126 * language/lao.el: Add Unicode equivalents.
22127 (lao): Add post-read conversion.
22129 * international/latin1-disp.el: Fix some 8-bit-graphic characters.
22130 Use iso2022 encoding.
22131 (latin1-char-displayable-p): Doc fix.
22132 (latin1-display-ucs-per-lynx): New option.
22133 (latin1-display-ucs-per-lynx): New command.
22134 (latin1-display-reset): Special-case arabic.
22135 (ucs-tables): Require.
22136 (latin1-display-sets, latin1-display-setup): Add arabic.
22137 (latin1-display) <variable>: Use function latin1-display.
22138 (latin1-display) <function>: Add mule-unicode stuff.
22139 (latin1-display-check-font): Don't lose if `info' is nil.
22141 * international/iso-transl.el: Insert Latin-1 characters, not
22144 * language/european.el (diacritic-composition-pattern): New constant.
22145 (diacritic-compose-region, diacritic-compose-string)
22146 (diacritic-compose-buffer, diacritic-post-read-conversion)
22147 (diacritic-composition-function): New functions.
22149 * international/utf-8.el (ucs-mule-to-mule-unicode):
22150 New translation table.
22151 (ccl-encode-mule-utf-8): Use it.
22152 (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
22153 (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
22154 (utf-8-subst-table): New variable.
22155 (utf-8-compose-scripts): New option.
22156 (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
22158 * international/ucs-tables.el, international/utf-8-subst.el:
22161 * international/characters.el: Don't set word syntax (the default)
22162 explicitly. Add a diacritic category. Add info for Unicode
22163 equivalents of characters in various Mule charsets and for extra
22164 Unicode characters. Don't define specific categories for
22165 Indian/Devanagari, since they aren't used.
22167 2001-12-06 Richard M. Stallman <rms@gnu.org>
22169 * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
22170 (set-justification-left, set-justification-right): Doc fix.
22172 * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
22173 (bug-f90-mode): Variable deleted.
22175 2001-12-06 Stefan Monnier <monnier@cs.yale.edu>
22177 * indent.el (indent-line-function): Default is indent-relative again.
22179 2001-12-07 Miles Bader <miles@gnu.org>
22181 * progmodes/compile.el (compilation-error-regexp-alist):
22182 Added regexps for RXP.
22184 2001-12-05 Eli Zaretskii <eliz@is.elta.co.il>
22186 * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
22187 Add shift-assignment operators to those highlighted, and highlight
22188 the whole operator rather than just the "=".
22190 2001-12-04 Juanma Barranquero <lektu@terra.es>
22192 * files.el (save-abbrevs, save-some-buffers): Don't ask the user
22193 before saving abbrevs if `save-abbrevs' has the value `silently'.
22195 2001-12-04 Andreas Schwab <schwab@suse.de>
22197 * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
22199 2001-12-04 Colin Walters <walters@debian.org>
22201 * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
22202 for `defmacro*' forms.
22204 * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
22207 2001-12-03 Stefan Monnier <monnier@cs.yale.edu>
22209 * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
22211 2001-12-02 Richard M. Stallman <rms@gnu.org>
22213 * files.el (insert-directory): If the df output does not look right,
22214 don't try to use it. Other cleanups in overall code structure.
22216 2001-12-02 Stefan Monnier <monnier@cs.yale.edu>
22218 * textmodes/outline.el (outline-mode-prefix-map):
22219 Add bindings for outline-promote and outline-demote.
22220 (outline-minor-mode-menu-bar-map): New var.
22221 (outline-minor-mode): Use it.
22222 (outline-heading-alist): New var (renamed from outline-level-heading).
22223 (outline-level): Use it.
22224 (outline-insert-heading, outline-promote, outline-demote):
22225 Update to use outline-heading-alist.
22227 * disp-table.el (standard-display-european):
22228 Simplify since the function is not interactive any more.
22229 Don't set the existing buffers to unibyte.
22231 * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
22233 * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
22235 * reveal.el (reveal-mode): Fix reveal-mode's lighter.
22237 * shell.el (shell): Use shell-file-name.
22238 Pop to buffer before calling comint to set COLUMNS properly.
22240 * emacs-lisp/cl.el (svref): New alias.
22242 * progmodes/antlr-mode.el (antlr-c-common-init):
22243 Don't inhibit adaptive-fill-mode any more.
22245 * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
22247 * progmodes/etags.el (tags-with-face): Use make-symbol.
22248 (tags-search, tags-query-replace): Use backquotes.
22250 * textmodes/picture.el (picture-mode-map): Don't use defconst
22253 2001-12-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22255 * textmodes/reftex-index.el (reftex-index-mode):
22256 Remove make-local-hook.
22258 * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
22260 2001-12-02 Kim F. Storm <storm@cua.dk>
22262 * isearch.el (isearch-resume-enabled): New variable.
22263 (isearch-done): Use that variable.
22265 2001-12-01 Richard M. Stallman <rms@gnu.org>
22267 * wid-edit.el (widget-button-click): Don't move point permanently:
22268 Avoid mouse-set-point--instead select the window,
22269 then do save-excursion, then move point.
22270 Specify the buffer for get-char-property.
22271 Don't use `@' in interactive.
22273 * indent.el (indent-line-function):
22274 Default is indent-to-left-margin again.
22276 * replace.el (query-replace-read-args): Display message
22277 if FROM contains `\n' or `\t'.
22279 2001-12-01 Stefan Monnier <monnier@cs.yale.edu>
22281 * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
22283 * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
22285 * emacs-lisp/regexp-opt.el (regexp-opt):
22286 Bind completion-regexp-list to nil.
22288 * progmodes/hideif.el (hif-nexttoken): Move to before first def.
22290 2001-12-01 Eli Zaretskii <eliz@is.elta.co.il>
22292 * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
22293 * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
22296 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
22298 * mail/smtpmail.el: Use with-current-buffer.
22299 (message-make-date, message-make-message-id): Autoload when needed.
22300 (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
22301 headers when missing.
22303 * international/encoded-kb.el (encoded-kbd-mode):
22304 Use define-minor-mode.
22306 * enriched.el (enriched-mode): Use define-minor-mode.
22307 Use dolist and pop and push.
22309 * info.el (Info-find-node-2): Don't call info-insert-file-contents
22310 with the `visit' argument.
22311 (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
22313 * progmodes/hideif.el (hide-ifdef-mode): Only modify
22314 `change-major-mode-hook' locally. Reset invisibility spec.
22316 * man.el (Man-build-section-alist): Remove last Man-match-substring.
22318 2001-11-30 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
22320 * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
22321 Clarify error message.
22323 2001-11-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
22325 * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
22327 2001-11-30 Andre Spiegel <spiegel@gnu.org>
22329 * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
22330 don't just return it.
22332 2001-11-30 Eli Zaretskii <eliz@is.elta.co.il>
22334 * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
22335 (menu-bar-read-emacs-man, search-emacs-glossary)
22336 (emacs-index-search, elisp-index-search): New functions.
22337 (apropso-documentation, apropos, apropos-value, apropos-variable)
22338 (apropos-commands): Modify menu item names and help text.
22339 (elisp-index-search, emacs-index-search, emacs-glossary):
22341 (menu-bar-manuals-menu): Move the Ordering Manuals item to a
22343 (info-elisp, info-elintro): New menu items.
22344 (apropos): Modify the menu item name.
22346 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
22348 * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
22350 * textmodes/outline.el (outline-promote, outline-demote): Typo.
22352 * man.el (man-follow-mouse): New function.
22353 (Man-mode-map): Bind mouse-2 to it.
22354 (Man-match-substring): Remove. Replace with `match-string'.
22355 (man): Use the `default-value' argument to `read-string'.
22356 (Man-fontify-manpage): Add mouse-face to cross references.
22358 * emacs-lisp/cl-macs.el (shiftf): Fix more. Simplify.
22360 2001-11-29 Stefan Monnier <monnier@cs.yale.edu>
22362 * emacs-lisp/crm.el (completing-read-multiple): Better preserve
22363 the value of require-match in minibuffer-completion-confirm.
22364 Use crm-local-completion-map.
22366 * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
22367 (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
22368 (cl-make-type-test): Use char-valid-p for `character'.
22370 * info.el (Info-complete-next-re, Info-complete-cache): New vars.
22371 (Info-complete-menu-item): Rewrite. Add the ability to search
22372 several sequential nodes. Add a simple caching mechanism.
22373 (Info-goto-index): New function extracted from Info-index.
22374 (Info-index): Use it. Add completion to the interactive spec.
22375 (Info-menu-update): Simplify call to `Info-complete-menu-item'.
22377 2001-11-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22379 * COPYING: Removed.
22381 2001-11-29 Dave Love <fx@gnu.org>
22383 * progmodes/fortran.el: Fontify rewind, backspace. Doc fixes.
22384 (fortran-window-create, fortran-window-create-momentarily):
22385 Rewrite, moving error condition.
22386 (fortran-beginning-do, fortran-beginning-if): Fix regexps.
22387 (fortran-mode-syntax-table): Revert last change.
22389 * international/mule.el: Doc fixes.
22390 (map-charset-chars): New function.
22391 (register-char-codings): Use it to cope with generic chars in
22394 2001-11-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22396 * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
22398 * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
22400 * play/studly.el (studlify-word, studlify-region)
22401 (studlify-buffer): Fix doc-string.
22402 (studlify-buffer): Add autoload cookie.
22404 2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
22406 * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
22407 (outline-up-heading-all): Remove.
22408 (hide-sublevels): Move to end-of-heading before calling flag-region.
22409 (outline-copy-overlay, outline-discard-overlays): Remove.
22410 (outline-flag-region): Use `remove-overlays'.
22411 Don't move to end-of-heading.
22412 (outline-next-visible-heading, outline-back-to-heading)
22413 (outline-on-heading-p): Use outline-invisible-p.
22414 (outline-font-lock-level): Use outline-up-heading's new arg.
22415 (outline-minor-mode): Simplify.
22416 (outline-map-tree, outline-reveal-toggle-invisible): New funs.
22417 (outline): Put a `reveal-toggle-invisible' property.
22418 (outline-level-heading): New var.
22419 (outline-insert-heading, outline-promote, outline-demote)
22420 (outline-toggle-children): New commands.
22422 * progmodes/hideif.el (hif-end-of-line): New function.
22423 (hide-ifdef-mode): Set line-move-ignore-invisible.
22424 (hide-ifdef-region-internal): New function.
22425 (hide-ifdef-region): Use it.
22426 (hif-defined): Return an integer.
22427 (hif-infix-to-prefix): Remove.
22428 (hif-tokenize): Parse from the buffer rather than from a string.
22429 Correctly tokenize integers. Use forward-comment.
22430 (hif-expr): Use hif-or.
22431 (hif-term): Use hif-and.
22432 (hif-factor): Use hif-not. Handle numbers properly.
22433 Don't require parenthesis around `defined's argument.
22434 (hif-and, hif-or, hif-not): New funs.
22435 (hif-canonicalize): Pass a region to hif-tokenize. Use hif-not.
22436 (hif-hide-line): Don't hide the \n before the line.
22437 (hif-possibly-hide): Correctly handle numeric evaluation results.
22439 * progmodes/make-mode.el: Use line-(end|beginning)-position.
22440 (makefile-mode): Set indent-line-function.
22441 (makefile-browser-insert-continuation): Use with-current-buffer.
22442 (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
22444 2001-11-28 Karl Fogel <kfogel@red-bean.com>
22446 * isearch.el (isearch-yank-internal): New helper function.
22447 (isearch-yank-char): New function.
22448 (isearch-yank-word, isearch-yank-line): Rewrite to use
22449 isearch-yank-internal.
22451 2001-11-28 Eli Zaretskii <eliz@is.elta.co.il>
22453 * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
22454 aren't supported. Print a message to that effect if invoked.
22456 2001-11-27 Stephen Eglen <stephen@gnu.org>
22458 * locate.el (locate): Put point at first matching file rather
22459 than top of buffer.
22461 2001-11-27 Stefan Monnier <monnier@cs.yale.edu>
22463 * reveal.el: New file.
22465 * progmodes/hideif.el: Misc cleanup.
22466 (hide-ifdef-mode-submap): Put the def in the defvar.
22467 Use substitute-key-definition.
22468 (hide-ifdef-mode): Use define-minor-mode.
22469 (hif-outline-flag-region): Remove.
22470 (hif-show-all): Define in terms of hif-show-ifdef-region.
22471 (hif-after-revert-function): Rename from hif-before-revert-function.
22472 (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
22473 (hif-tokenize): Use with-syntax-table.
22474 (hif-make-range): Use `else' also for `else-p'.
22475 (hif-range-else-p): Remove.
22476 (hif-find-range): Simplify.
22477 (hif-hide-line): Don't bother preserving buffer-modified-p.
22478 (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
22479 Don't use selective-display and inhibit-read-only.
22481 * subr.el (copy-overlay, remove-overlays): New funs.
22483 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
22485 2001-11-27 Sam Steingold <sds@gnu.org>
22487 * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
22488 * lazy-lock.el, mouse-sel.el, mail/feedmail.el
22489 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
22490 * obsolete/c-mode.el, obsolete/cplus-md.el
22491 * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
22492 * term/sun-mouse.el, textmodes/artist.el:
22493 Converted backquote to the new style.
22494 * mouse.el, reposition.el: Likewise (in comments).
22495 * expand.el: Likewise (in a string).
22497 2001-11-27 Richard M. Stallman <rms@gnu.org>
22499 * cus-edit.el (custom-load-symbol): Don't always load locate-library.
22501 2001-11-26 Richard M. Stallman <rms@gnu.org>
22503 * wid-edit.el (widget-toggle-value-create): On graphic terminal,
22504 if :on-glyph or :off-glyph is a list, eval it and store it back.
22505 (checkbox): Quote the values for :on-glyph and :off-glyph.
22507 * cus-start.el (recursive-load-depth-limit): Delete item.
22509 2001-11-26 Stefan Monnier <monnier@cs.yale.edu>
22511 * help-fns.el (describe-categories, help-describe-category-set): New.
22512 describe-categories moved here from src/category.c.
22514 2001-11-26 Sam Steingold <sds@gnu.org>
22516 * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
22517 arguments to `insert' are strings.
22519 2001-11-26 Richard M. Stallman <rms@gnu.org>
22521 * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
22523 2001-11-26 Eli Zaretskii <eliz@is.elta.co.il>
22525 * international/mule-diag.el: Require help-fns instead of
22528 * help-fns.el: Renamed from help-funs.el.
22530 * startup.el (command-line-1): Don't try to call process-list if
22533 2001-11-26 Sam Steingold <sds@gnu.org>
22535 * frame.el (show-trailing-whitespace): Remove :set argument (the
22536 value was essentially identical to the defalt).
22538 2001-11-26 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22540 * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
22542 * icomplete.el (icomplete-minibuffer-setup): Likewise.
22544 * hilit-chg.el (hilit-chg-set): Likewise.
22546 * speedbar.el (speedbar-mode): Likewise.
22548 * calendar/calendar.el (calendar-mode): Likewise.
22550 * play/yow.el (psychoanalyze-pinhead): Use insert instead of
22553 * play/gamegrid.el (gamegrid-init-buffer): Likewise.
22555 * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
22557 * term/sun-mouse.el (sun-yank-selection): Likewise.
22559 * textmodes/bib-mode.el (return-key-bib): Likewise.
22561 * calendar/appt.el (appt-disp-window): Likewise.
22563 * calendar/diary-lib.el (list-diary-entries): Likewise.
22565 * array.el (array-reconfigure-rows): Likewise.
22567 * filecache.el (file-cache-minibuffer-complete): Likewise.
22569 * obsolete/cplus-md.el (fill-c++-comment): Likewise.
22571 * strokes.el (strokes-prompt-user-save-strokes): Likewise.
22573 * allout.el (outline-version, outline-open-topic)
22574 (outline-rebullet-heading, outline-insert-listified)
22575 (outline-latex-verbatim-quote-curr-line)
22576 (outline-latexify-one-item, outlineify-sticky): Likewise.
22578 * vc.el (vc-next-action-on-file): Likewise.
22579 (vc-dired-mode): Remove make-local-hook.
22581 2001-11-26 Andre Spiegel <spiegel@gnu.org>
22583 * vc.el (vc-find-version): New function.
22584 (vc-version-other-window): Redefined in terms of the above.
22586 * log-view.el (log-view-find-version): New function.
22587 (log-view-mode-map): Bind it to `f'.
22589 2001-11-26 Gerd Moellmann <gerd@gnu.org>
22591 * language/devan-util.el (dev-char-glyph): Escape `"' in
22593 (dev-glyph-glyph, dev-glyph-glyph-2)
22594 (devanagari-compose-syllable-region): Likewise.
22596 2001-11-26 Richard M. Stallman <rms@gnu.org>
22598 * window.el (save-selected-window): No error if saved window is dead.
22600 * help-funs.el (describe-syntax): Put (interactive) after doc string.
22602 2001-11-26 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22604 * international/quail.el (quail-help): Require help-mode in
22607 * iswitchb.el (iswitchb-exhibit): Use insert instead of
22610 * icomplete.el (icomplete-exhibit): Likewise.
22612 2001-11-25 Stefan Monnier <monnier@cs.yale.edu>
22614 * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
22615 (diff-hunk-kill): Simplify.
22616 (diff-post-command-hook): Only apply to a single hunk.
22617 (diff-hunk-text): Make `char-offset' non-optional.
22618 (diff-find-text): Return a cons cell.
22619 (diff-find-approx-text): New fun.
22620 (diff-find-source-location): Use it.
22621 (diff-apply-hunk, diff-test-hunk, diff-goto-source):
22622 Adapt to new retval of diff-find-text.
22624 * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
22625 rather than integer- representation of dates.
22627 * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
22629 * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
22630 (syntax-after): New fun.
22632 * help-funs.el (describe-syntax): New fun.
22634 * font-lock.el (font-lock-cache-state, font-lock-cache-position)
22635 (font-lock-ppss-stats, font-lock-ppss): Remove.
22636 (font-lock-fontify-syntactically-region): Remove tuning code.
22637 (font-lock-compile-keywords): Fix off-by-one bug.
22638 (font-lock-set-defaults): Don't set removed vars.
22639 (c-keywords): Add `inline'.
22640 (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
22642 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22643 Set syntax-begin-function.
22644 (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
22645 (lisp-interaction-mode): Don't set local-abbrev-table any more.
22646 (lisp-mode-auto-fill): Use syntax-ppss and obey
22647 comment-auto-fill-only-comments.
22648 (lisp-fill-paragraph): Use syntax-ppss.
22650 2001-11-25 ShengHuo ZHU <zsh@cs.rochester.edu>
22652 * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
22653 version of rmail-enable-mime.
22654 (rmail-forward): Use it.
22656 2001-11-25 Richard M. Stallman <rms@gnu.org>
22658 * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
22660 * international/quail.el (quail-keyboard-layout-button):
22661 Define button type.
22662 (quail-keyboard-customize-button): Likewise.
22663 (quail-help): Use those button types. Require `help-mode'.
22664 Avoid altering the argument `package'.
22666 * help-mode.el (help-function, help-variable, help-face)
22667 (help-coding-system, help-input-method, help-character-set):
22668 Define each button type with its own explicit define-button-type.
22670 * language/devan-util.el: Comment out parts of the file
22671 which apparently are garbled.
22673 2001-11-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22675 * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
22678 2001-11-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22680 * play/snake.el (snake-mode): Remove make-local-hook.
22682 * play/tetris.el (tetris-mode): Likewise.
22684 * play/decipher.el (decipher-mode): Likewise.
22686 * tmm.el (tmm-add-prompt): Likewise.
22688 2001-11-25 Sam Steingold <sds@gnu.org>
22690 * menu-bar.el (menu-bar-apropos-menu): New variable.
22691 Moved all `apropos' bindings to this menu.
22692 (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
22694 2001-11-24 KAWABATA, Taichi <batta@beige.ocn.ne.jp>
22696 The following changes are for new indian languages support based
22697 on Unicode charset and CDAC fonts.
22699 * international/mule-conf.el: Change indian-1-column charset to
22700 indian-glyph charset.
22702 * international/characters.el: Adjusted for the change of
22703 indian-1-column -> indian-glyph.
22705 * international/fontset.el: Delete the setting for indian-1-column
22706 and add the setting for indian-glyph in the default fontset.
22708 * language/indian.el: Completely re-written.
22710 * language/devanagari.el: Completely re-written.
22712 * language/devan-util.el: Completely re-written.
22714 * language/ind-util.el: New file.
22716 2001-11-24 Richard M. Stallman <rms@gnu.org>
22718 * startup.el (command-line-1): Don't do startup screen
22719 if a subprocess is running. Call the startup screen buffer
22720 "GNU Emacs". Make a special mode-line-format for it.
22722 * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
22723 (browse-url-galeon): Use that variable.
22725 * mail/supercite.el (sc-toggle-var): Don't use set-variable or
22726 eval-expression. Eval and set the variable simply.
22728 * files.el (temporary-file-directory): Use defcustom.
22729 (small-temporary-file-directory): Likewise.
22730 (normal-backup-enable-predicate): Move down in file
22731 after definition of temporary-file-directory.
22733 * bindings.el (last-buffer, unbury-buffer): Doc fixes.
22735 2001-11-24 Colin Walters <walters@debian.org>
22737 * calc/calc-ext.el (calc-init-extensions): Update the rest of the
22738 autoload names to match files renamed on initial calc import.
22740 * calc/calc.el (Commentary): Cleanup, and add logistic curve
22741 fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
22743 2001-11-23 Colin Walters <walters@debian.org>
22745 * Makefile.in (finder_setwins, setwins): Include Calc again.
22747 * calc/calc-rules.el: Add header comment.
22749 2001-11-23 Andre Spiegel <spiegel@gnu.org>
22751 * vc.el (with-vc-properties): Don't bind `filename' locally.
22752 (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
22753 to avoid name clashes. Fix `lisp-indent-function' property for
22756 2001-11-23 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
22758 * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
22760 2001-11-22 Colin Walters <walters@debian.org>
22762 * calc/calc-misc.el (report-calc-bug):
22763 Use `reporter-prompt-for-summary-p'.
22765 * calc/INSTALL, calc/Makefile: Remove.
22767 2001-11-22 Miles Bader <miles@gnu.org>
22769 * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
22770 (reb-match-2, reb-match-3): Add dark-background variants.
22772 2001-11-22 Colin Walters <walters@debian.org>
22774 * calc/calc-misc.el (calc-info): Don't perform voodoo, just
22776 (report-calc-bug): Use reporter.el.
22778 * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
22780 2001-11-21 Richard M. Stallman <rms@gnu.org>
22782 * which-func.el (which-function): Call imenu--make-index-alist
22783 if necessary to get a list of functions.
22784 (which-function-imenu-failed): New variable.
22785 (which-func-update): Handle all visible windows.
22786 (which-func-update-1): New subroutine broken out of which-func-update.
22788 * files.el (temporary-file-directory, null-device)
22789 (small-temporary-file-directory): Definitions moved up.
22791 * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
22792 (cperl-non-problems, cperl-praise): Doc fixes.
22794 * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
22795 (sh-mode-syntax-table): Function restored.
22796 Variable set up for use by function sh-mode-syntax-table.
22797 (sh-set-shell): Set the syntax table.
22799 * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
22801 * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
22803 * international/encoded-kb.el: Don't alter minor-map-alist.
22805 2001-11-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
22807 * files.el (auto-save-file-name-transforms): Put remote files in
22808 temporary-file-directory rather than /tmp.
22810 2001-11-21 Colin Walters <walters@debian.org>
22812 * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
22813 of (function ...) wrapper.
22815 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
22817 * derived.el (define-derived-mode): Create the abbrev-table
22818 from inside the `defvar'.
22820 * jit-lock.el (jit-lock-defer-time): New var.
22821 (jit-lock-defer-timer, jit-lock-buffers): New vars.
22822 (jit-lock-mode): Initialize them. Cancel the timers more carefully.
22823 (jit-lock-function): Defer fontification if requested.
22824 (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
22825 (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
22827 (jit-lock-deferred-fontify): New fun.
22829 2001-11-20 Richard M. Stallman <rms@gnu.org>
22831 * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
22832 Set local-abbrev-table to lisp-mode-abbrev-table.
22834 * emacs-lisp/re-builder.el (reb-mode):
22835 Don't use define-derived-mode. Call kill-all-local-variables.
22837 * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
22838 Don't use define-derived-mode.
22840 * help-mode.el (help-mode): Undo 2001-10-07 change.
22842 * replace.el (occur-mode): Undo 2001-5-20 change.
22844 2001-11-20 Jason Rumney <jasonr@gnu.org>
22846 * w32-fns.el (w32-system-coding-system): Change to an alias for
22847 locale-coding-system.
22848 (set-w32-system-coding-system): Document the above change.
22849 Set locale-coding-system instead.
22851 2001-11-20 Richard M. Stallman <rms@gnu.org>
22853 * ruler-mode.el: Add pagination.
22854 (ruler-mode-toggle-show-tab-stops): No need to
22855 test `ruler-mode' variable.
22857 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
22859 * play/landmark.el: Mark lm-mode as special.
22861 * play/gomoku.el: Mark gomoku-mode as special.
22863 2001-11-20 Juanma Barranquero <lektu@terra.es>
22865 * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
22866 (top-level): Bind it to C-c C-b.
22867 (re-builder): Don't re-enter RE Builder Mode.
22869 * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
22871 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
22873 * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
22876 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
22877 to a line without a comment.
22879 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
22881 * dired.el (dired-listing-switches): Mention in the doc string
22882 that some switches are not supported by ls-lisp.el
22884 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
22886 * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
22887 (imenu--create-keymap-2): Remove.
22888 (imenu--create-keymap-1): Simplify, remove third argument.
22889 (imenu--generic-function): Use dolist.
22890 (imenu-find-default): New function.
22891 (imenu--completion-buffer): Use it.
22892 (imenu--mouse-menu): Use popup-menu.
22893 (imenu--menubar-select): Return t rather than calling imenu.
22895 * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
22896 New functions, extracted from fill-region-as-paragraph.
22897 (fill-region-as-paragraph): Use them.
22898 Use an end marker instead of eob.
22899 Ignore whitespace-only fill-prefixes when indenting according to mode.
22900 Simplify the loop that searches for spaces backwards.
22902 * textmodes/picture.el (picture-vertical-step)
22903 (picture-horizontal-step): Don't use defconst for variables.
22905 * mail/mail-extr.el: Use backquote/dolist/mapc/when. Docstring fixes.
22906 (mail-extract-address-components): Downcase domain names.
22907 (mail-extr-delete-char): Remove. Use delete-char instead.
22909 * emulation/pc-select.el: Doc string fixes.
22910 (pc-selection-mode): Don't treat macos as a tty.
22912 * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
22914 * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
22916 * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
22917 (mouse-wheel-progessive-speed): New var.
22918 (mwheel-scroll): Use it and handle float values.
22920 * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
22922 * iswitchb.el (iswitchb-mode): Use define-minor-mode.
22923 (iswitchb): Fix the case where the result was selected with the mouse.
22924 (iswitchb-completion-help): Use the normal *Completions* now that
22925 mouse selection works.
22926 (iswitchb-minibuffer-setup): Simplify.
22928 * newcomment.el (comment-column, comment-style, comment-multi-line)
22929 (comment-auto-fill-only-comments): Remove :group arg.
22930 (comment-padding): Add :type.
22931 (comment-indent-new-line): Ignore comment-auto-fill-only-comments
22932 if called interactively.
22934 2001-11-19 Colin Walters <walters@verbum.org>
22936 * calc/calc.el (toplevel): Add comment and version header.
22937 (calc-init-base): Bump version to 2.02f, update date.
22939 2001-11-19 Richard M. Stallman <rms@gnu.org>
22941 * net/browse-url.el: Support Mozilla and Galeon.
22942 By default, find the installed browser whichever it is.
22943 (browse-url-mozilla): New function.
22944 (browse-url-mozilla-sentinel): New function.
22945 (browse-url-galeon, browse-url-galeon-sentinel): New functions.
22946 (browse-url-default-browser): New function.
22947 (browse-url-process-environment): Use browse-url-browser-display.
22948 (browse-url-browser-display): Renamed from browse-url-netscape-display.
22949 (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
22950 (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
22951 (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
22952 (browse-url-browser-function): New default, new options.
22954 2001-11-19 Sam Steingold <sds@gnu.org>
22956 * bindings.el (last-buffer, unbury-buffer): New function.
22957 (mode-line-unbury-buffer): Use `unbury-buffer'.
22959 2001-11-18 Stephen Eglen <stephen@gnu.org>
22961 * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
22962 control behaviour when no further completion is possible.
22964 2001-11-19 Colin Walters <walters@verbum.org>
22966 * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
22967 (math-showing-full-precision, math-with-extra-prec, math-working)
22968 (calc-with-default-simplification)
22969 (calc-with-trail-buffer): Use backtick.
22970 (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
22971 (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
22972 (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
22973 (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
22974 (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
22975 (Math-num-integerp, Math-bignum-test, Math-equal-int)
22976 (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
22977 (calc-record-compilation-date-macro): Deleted. Callers updated.
22978 (math-format-radix-digit): Move to calc-bin.el.
22980 * calc/calc.el (calc-record-compilation-date): Remove.
22981 (calc-bug-address): Update.
22982 (calc-settings-file): Use `user-init-file'.
22984 * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
22985 Handle null `calc-settings-file'.
22987 * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
22988 * calc/calc-keypd.el (calc-keypad-mode): New.
22989 (calc-do-keypad): Use it.
22990 (calc-keypad-map): Move into `calc-keypad-mode'.
22992 * calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
22993 to defalias argument.
22995 * calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
22996 (calcFunc-floor): Ditto.
22998 * calc-units.el (calcFunc-usimplify): Ditto.
23000 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
23001 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
23002 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
23003 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
23004 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
23005 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
23006 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
23007 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
23008 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
23009 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
23010 * calcsel2.el: Change all toplevel `setq' forms to `defvar' forms,
23011 and move them before their first use. Use `when', `unless'.
23012 Remove trailing periods from error forms. Add description and
23013 headers suggested by Emacs Lisp coding conventions.
23015 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
23017 * newcomment.el (comment-indent):
23018 Fix misindentation for comment-only lines.
23019 (comment-indent-new-line): Only obey comment-multi-line if the
23020 comment-ender is not the end-of-line.
23022 2001-11-19 Richard M. Stallman <rms@gnu.org>
23024 * net/net-utils.el (network-connection-service-abbrev-alist):
23027 * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
23028 Advance to start of 3rd sexp by moving fwd and backing over it.
23029 At first three elements, act like defun.
23031 * delsel.el (delete-selection-pre-hook): Handle and resignal
23032 file-supersession errors to interact properly with userlock.el.
23034 2001-11-18 Richard M. Stallman <rms@gnu.org>
23036 * progmodes/fortran.el (fortran-mode-syntax-table):
23037 Specify punctuation syntax for backslash.
23039 * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
23042 * international/mule-util.el (string-to-sequence): Make it obsolete.
23043 (string-to-list, string-to-vector): Implement them directly
23044 using append and vconcat, not with string-to-sequence.
23046 * startup.el (command-line): Set abbrevs-changed to nil after
23047 reading the init file and the abbrevs file.
23049 * isearch.el (isearch): Use magenta2 as bg for (background light)
23051 2001-11-17 Richard M. Stallman <rms@gnu.org>
23053 * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
23055 * simple.el (minibuffer-history-sexp-flag): Doc fix.
23057 2001-11-17 Stefan Monnier <monnier@cs.yale.edu>
23059 * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
23060 If set and if applicable, add a regexp to highlight defun-like
23061 text inside comments and strings.
23062 (font-lock-fontify-keywords-region): Pass that new arg.
23063 (font-lock-set-defaults): Move the code to set `font-lock-keywords'
23064 to the end and pass that new arg.
23065 (c-font-lock-keywords-2): Fix regex for labels.
23066 (font-lock-match-c++-style-declaration-item-and-skip-to-next):
23067 Make it work when LIMIT is several lines further.
23068 (c-font-lock-keywords-3, c++-font-lock-keywords-3)
23069 (objc-font-lock-keywords-3, java-font-lock-keywords-3):
23070 Use backquote and make the regexes for `int a, b, c;' work on
23073 * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
23074 (font-lock-defaults-alist): Don't change it any more.
23075 (reb-subexp-mode-map): Cleanup.
23077 * custom.el (custom-current-group-alist): New var.
23078 (custom-declare-group): Set it.
23079 (custom-current-group): New fun.
23080 (custom-declare-variable, custom-handle-all-keywords):
23081 Use it as a default if no :group argument is specified.
23083 * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
23084 (standard-keyboard-coding-systems): New var.
23085 (set-locale-environment): Use it to decide whether or not to call
23086 set-keyboard-coding-system.
23087 (locale-language-names): Use \"French\" for "fr".
23089 2001-11-17 Richard M. Stallman <rms@gnu.org>
23091 * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
23092 (add-to-list): Delete compatibility code.
23093 (checkdoc-next-message-error): Doc fix.
23095 2001-11-17 Stephen Eglen <stephen@gnu.org>
23097 * locate.el (locate): Show default locate pattern within the
23098 prompt, but don't insert it into the minibuffer contents.
23099 Catch the case when pattern is the empty string.
23101 2001-11-17 Eli Zaretskii <eliz@is.elta.co.il>
23103 * language/european.el ("French"): New language environment.
23105 2001-11-16 Richard M. Stallman <rms@gnu.org>
23107 * calendar/todo-mode.el (todo-save): Fix previous change.
23109 * subr.el (functionp): Do use cdr-safe on object.
23111 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
23113 * bindings.el (mode-line-mode-name): Only put the help-echo property
23114 if the local-map property was put as well.
23115 (global-map): Bind switch-frame, delete-frame, iconify-frame
23116 and make-frame-visible events.
23118 * emacs-lisp/elp.el (elp-not-profilable): New var.
23119 (elp-not-profilable-p): New function.
23120 (elp-instrument-function): Use it. Use backquotes and push.
23122 * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
23123 (byte-stack+-info, byte-compile-last-warned-form)
23124 (byte-compile-last-logged-file): Don't defconst a variable.
23125 (no-byte-compile): Declare.
23126 (byte-compile-file): Don't boundp-check no-byte-compile any more.
23127 (byte-compile-defvar): Leave defconst as is.
23129 * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
23130 (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
23131 (edebug-current-offset, edebug-old-def-name, edebug-error-point)
23132 (edebug-best-error): Don't defconst a variable.
23133 (edebug-read-syntax-table): Use a char-table.
23134 (edebug-lemacs-specific): Remove.
23135 Toplevel: Eliminate check for Lucid Emacs.
23137 * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
23139 * rect.el (move-to-column-force): Mark obsolete.
23140 (operate-on-rectangle, delete-extract-rectangle-line)
23141 (insert-rectangle, delete-whitespace-rectangle-line)
23142 (open-rectangle-line, clear-rectangle-line): Use move-to-column.
23143 (string-rectangle-history): New var.
23144 (string-rectangle, string-insert-rectangle): Use it.
23145 (delete-rectangle-line): Fix pos/column mixup and simplify.
23147 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
23148 (normal-top-level, command-line, command-line-1): Simplify.
23150 * tar-mode.el (tar-mode): Use define-derived-mode.
23152 * view.el (view-mode-enable): Don't use make-local-hook.
23154 * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
23156 2001-11-16 Richard M. Stallman <rms@gnu.org>
23158 * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
23159 if it doesn't make sense as anything else.
23160 Don't recognize a "telephone number" at the beginning of the name.
23161 (mail-extr-leading-garbage): Match non-word characters only.
23163 2001-11-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
23165 * startup.el (command-line-processed): Doc fix.
23167 * apropos.el (apropos-next-label-button): Doc fix.
23169 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
23171 * comint.el (comint-mode): Simplify.
23172 (make-comint-in-buffer): Run `comint-mode' only if necessary.
23174 * subr.el (eval-after-load): Make it work with features as well.
23176 * log-view.el (log-view-mode): Don't mark the buffer unmodified.
23178 * international/mule-cmds.el (describe-input-method): Setup xref.
23179 (set-language-environment): Use functionp.
23180 (locale-language-names, locale-charset-language-names)
23181 (locale-preferred-coding-systems): Defconst and purecopy.
23183 * language/european.el (mac-roman): Add mime-charset property.
23185 2001-11-15 Richard M. Stallman <rms@gnu.org>
23187 * emacs-lisp/cl.el (values, values-list, multiple-value-list)
23188 (multiple-value-apply, nth-value): Use defsubst rather than defalias
23189 to get better doc strings.
23191 2001-11-15 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
23193 * derived.el: Fix autoload cookie.
23195 2001-11-15 Richard M. Stallman <rms@gnu.org>
23197 * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
23199 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
23201 * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
23203 2001-11-15 Richard M. Stallman <rms@gnu.org>
23205 * dired.el (dired-undo): Display a message to explain
23206 that this does not undo file system changes.
23208 2001-11-15 David Kastrup <David.Kastrup@t-online.de>
23210 * mouse-drag.el (mouse-drag-throw): Push back non-drag events
23211 into `unread-command-events' instead of trying keymap
23212 lookups ourselves. This makes mouse-clicks do the right
23213 thing even when keymaps of overlays are involved.
23214 (mouse-drag-drag): Likewise.
23216 2001-11-15 Andreas Schwab <schwab@suse.de>
23218 * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
23219 characters and append anchor to pattern added to auto-mode-alist.
23221 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
23223 * server.el (server-process-filter): Run pre/post-comment-hook
23224 before/after visiting the file.
23226 * info-look.el (makefile-mode): Add info for automake.
23227 (autoconf-mode): Fix the name of the index for automake.
23229 * international/latin-9.el: Give pilcrow punctuation syntax.
23231 2001-11-15 Andre Spiegel <spiegel@gnu.org>
23233 * vc.el: Documentation fixes.
23235 2001-11-14 Stefan Monnier <monnier@cs.yale.edu>
23237 * smerge-mode.el (smerge-match-conflict): Fix typo.
23238 (smerge-diff): Be careful to read match-data early enough.
23240 2001-11-14 Colin Walters <walters@verbum.org>
23242 * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
23243 (calcFunc-subst): Use `defalias' instead of `fset' and
23246 * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
23247 (calcFunc-ceil, calcFunc-round): Ditto.
23249 * calc/calc-bin.el (calcFunc-clip): Ditto.
23251 * calc/calc-ext.el (calcFunc-evalv): Ditto.
23253 * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
23255 * calc/calc-misc.el (math-fixnump, math-fixnatnump)
23256 (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
23258 * calc/calc-units.el (calcFunc-unsimplify): Ditto.
23260 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
23261 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
23262 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
23263 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
23264 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
23265 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
23266 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
23267 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
23268 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
23269 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
23270 * calcsel2.el: Style cleanup; don't put closing parens on their
23271 own line, add "foo.el ends here" to each file, and update
23274 * README: Update maintainer.
23276 2001-11-13 Richard M. Stallman <rms@gnu.org>
23278 * progmodes/compile.el (recompile): Use compilation-arguments if
23279 set, so as to be able to M-x recompile the exact command which
23280 created a compilation-mode buffer.
23282 * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
23284 2001-11-13 Gerd Moellmann <gerd@gnu.org>
23286 * mouse.el (mouse-drag-region): Don't run the up-event
23287 handler if window start changed due to the down-mouse event.
23289 2001-11-13 Richard M. Stallman <rms@gnu.org>
23291 * mouse.el (mouse-show-mark): Either move point to the mark
23292 or use highlighting, never both.
23293 (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
23295 2001-11-13 Simon Josefsson <jas@extundo.com>
23297 * mail/smtpmail.el (top-level): Change maintainer to Simon
23298 Josefsson, cleanup the smtpmail.el header.
23300 * mail/smtpmail.el (top-level): Don't require cl or base64.
23301 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
23302 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
23303 Defsubst instead of defmacro.
23304 (smtpmail-intersection): Return value in reverse order.
23305 (smtpmail-open-stream): Use stringp instead of string-to-list.
23306 (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
23307 separated from smtpmail-via-smtp.
23309 * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
23310 rfc2104. Require base64 and cl.
23311 (smtpmail-smtp-service): Doc fix. :type fix.
23312 (smtpmail-debug-info): Doc fix.
23313 (smtpmail-debug-verb, smtpmail-auth-credentials)
23314 (smtpmail-starttls-credentials, smtpmail-auth-supported):
23316 (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
23317 mail-utils (it is autoloaded).
23318 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
23319 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
23320 (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
23321 (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
23322 (smtpmail-via-smtp): Support AUTH.
23323 (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
23325 2001-11-13 Richard M. Stallman <rms@gnu.org>
23327 * ebuff-menu.el (electric-buffer-update-highlight): New function.
23328 (electric-buffer-overlay): New variable.
23329 (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
23330 (electric-buffer-list): Likewise.
23332 * isearch.el (isearch-whitespace-chars): Doc fix.
23333 (isearch-mode): Handle negative search-slow-window-lines correctly.
23335 2001-11-13 Stefan Monnier <monnier@cs.yale.edu>
23337 * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
23339 * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
23340 From Emmanuel Briot <briot@act-europe.fr>.
23342 2001-11-13 Colin Walters <walters@debian.org>
23344 * calc/calc.el (calc-unread-command): Use `unread-command-events'.
23346 * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
23347 "~/.emacs"; use `read-file-name'.
23349 * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
23350 * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
23351 * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
23352 * calc/calc.el: Use `frame-width' instead of `screen-width',
23353 `frame-height' instead of `screen-height', and,
23354 `executing-kbd-macro' instead of `executing-macro'.
23356 * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
23357 correct number of arguments.
23359 * calc/calc-aent.el (calc-do-alg-entry):
23360 Use `blink-paren-function' instead of `blink-paren-hook'.
23362 2001-11-12 Richard M. Stallman <rms@gnu.org>
23364 * calendar/todo-mode.el (todo-save): Add save-excursion
23365 and save-restriction.
23367 * server.el (server-edit, server-done): Doc fix.
23369 * simple.el (clone-indirect-buffer): Error if major mode symbol
23370 has a no-clone-indirect property.
23371 (clone-buffer): Check for obvious errors before reading clone name.
23373 * info.el (Info-mode): Add a no-clone-indirect property.
23375 2001-11-12 Sam Steingold <sds@gnu.org>
23377 * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
23378 set-buffer-modified-p to nil after `vc-exec-after'.
23379 * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
23380 (log-view-mode): Make read-only.
23381 (log-view-current-file): Do final `expand-file-name' in the
23382 current `default-directory'.
23383 (log-view-current-tag): Take an optional `where' arg.
23384 (log-view-diff): New user command.
23386 2001-11-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
23388 * progmodes/cpp.el (cpp-choose-face): Fix typo.
23390 2001-11-12 Sam Steingold <sds@gnu.org>
23392 * emacs-lisp/cl-indent.el (toplevel): Indent properly
23393 `generic-flet', `generic-labels', `with-accessors',
23394 `with-condition-restarts'.
23396 2001-11-12 Richard M. Stallman <rms@gnu.org>
23398 * dired.el: Many trivial doc fixes.
23399 (dired-get-file-for-visit): New function.
23400 (dired-find-alternate-file, dired-mouse-find-file-other-window)
23401 (dired-view-file, dired-find-file-other-window, dired-display-file)
23402 (dired-find-file): Use dired-get-file-for-visit.
23404 2001-11-12 Alex Schroeder <kensanata@yahoo.com>
23406 * sql.el (sql-mode): Doc change.
23408 * sql.el (sql-mode-syntax-table): The backslash is no longer an
23411 2001-11-12 Colin Walters <walters@debian.org>
23413 * calc/calc-keypd.el (toplevel): Bind mouse buttons.
23414 (calc-do-keypad): Don't attempt to use nonexistent global
23415 mouse-map, use calc-keypad-map.
23416 (calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
23417 (calc-keypad-left-click): Don't use mouse-map; update to new event
23419 (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
23420 (calc-keypad-press): Use `unread-command-events' instead of
23421 `unread-command-char'.
23423 * calc/calc-ext.el (calc-init-extensions): Update autoload names
23424 to match files renamed on initial calc import.
23426 2001-11-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
23428 * textmodes/flyspell.el (flyspell-default-dictionary):
23429 Fix previous change.
23431 2001-11-12 Richard M. Stallman <rms@gnu.org>
23433 * textmodes/flyspell.el (flyspell-default-dictionary):
23436 2001-11-11 Richard M. Stallman <rms@gnu.org>
23438 * calendar/solar.el (solar-sunrise-and-sunset):
23439 Exchange the two extreme values of day-length.
23441 * progmodes/sh-script.el (sh-must-be-shell-mode):
23442 Allow modes derived from sh-mode.
23444 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
23445 Turn off error in some re-search-forward calls.
23447 * replace.el (query-replace-skip-read-only): New variable.
23448 (perform-replace): If that variable is non-nil, ignore matches
23449 that have a read-only property.
23451 * derived.el (define-derived-mode): Doc fix.
23453 * server.el (server-buffer-done): Test of server-existing-buffer
23455 (server-existing-buffer): Doc fix.
23457 * textmodes/flyspell.el (flyspell-default-dictionary):
23458 Allow nil as value, and make nil the default.
23460 2001-11-11 Eli Zaretskii <eliz@is.elta.co.il>
23462 * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
23464 (clipboard-yank): Ditto.
23466 2001-11-11 Colin Walters <walters@verbum.org>
23468 The following changes are based on patches from
23469 Eli Zaretskii <eliz@is.elta.co.il>, Kai Gro
\e,A_
\e(Bjohann
23470 <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
23472 * calc/calc.el (toplevel): Require calc-macs.
23473 (calc-minibuffer-size): New.
23474 (calcDigit-nondigit): Use it instead of `buffer-size'.
23475 (calcDigit-backspace): Likewise.
23476 (calcDigit-nondigit): Use `minibuffer-contents' instead of
23478 (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
23480 (calcDigit-key): Use `calc-minibuffer-contains' instead of a
23483 * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
23484 simple `setq' form.
23486 * calc/calc-ext.el: (toplevel): Require calc.
23487 (calc-fancy-prefix-map): New.
23488 (calc-fancy-prefix): Use it.
23489 (calc-fancy-prefix-other-key): New.
23491 * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
23492 (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
23493 (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
23494 (calcAlg-enter): Likewise.
23495 (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
23497 2001-11-10 Richard M. Stallman <rms@gnu.org>
23499 * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
23500 (quietly-read-abbrev-file): Doc fix.
23502 * startup.el (command-line): Read standard abbrev
23503 file (abbrev-file-name), if it exists.
23505 * files.el (save-abbrevs): Default value is t.
23507 * progmodes/compile.el (compile-goto-error): Fix previous change
23508 in the case where subsequent errors have not been parsed yet
23509 because they are in a different source file.
23511 2001-11-10 Peter Kleiweg <kleiweg@let.rug.nl>
23513 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
23514 Merge two regular expressions into one.
23515 (ps-mode): Make local bindings for `comment-start' and
23516 `comment-start-skip'.
23517 (ps-mode-looking-at-nested): Simplify an if-else construct;
23518 use `set-match-data' to set the result.
23520 2001-11-10 Richard M. Stallman <rms@gnu.org>
23522 * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
23524 (flyspell-correct-word): Old definition deleted.
23525 (flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
23526 All references renamed too.
23528 2001-11-10 Gerd Moellmann <gerd@gnu.org>
23530 * Makefile.in (finder_setwins, setwins): Exclude Calc.
23532 2001-11-09 Per Abrahamsen <abraham@dina.kvl.dk>
23534 * wid-edit.el (checklist): Removed `:menu-tag'.
23535 (radio-button-choice): Ditto.
23536 (editable-list): Ditto.
23538 2001-11-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
23540 * play/gomoku.el: Move definitions of constants to the beginning
23541 of file, before their use.
23543 2001-11-09 Richard M. Stallman <rms@gnu.org>
23545 * textmodes/flyspell.el: Use the keymap property
23546 instead of local-map, and don't use a minor-mode map.
23547 (flyspell-mode-map): Variable deleted.
23548 Don't mess with minor-mode-map-alist.
23549 (calling add-minor-mode): Specify nil for keymap.
23550 And always use add-minor-mode, now that it exists.
23551 (flyspell-overlay-keymap-property-name): Set it to `keymap'.
23552 (flyspell-mode-on): Don't locally bind flyspell-mouse-map
23553 or flyspell-local-mouse-map.
23554 (make-flyspell-overlay): Use flyspell-mouse-map directly.
23555 (flyspell-mode): Doc fix.
23556 (flyspell-mode-on): Don't call make-local-hook.
23558 2001-11-09 Sam Steingold <sds@gnu.org>
23560 * emacs-lisp/debug.el (debugger-make-xrefs):
23561 Add buttons to all symbols.
23563 2001-11-09 Andre Spiegel <spiegel@gnu.org>
23565 * vc.el: Add John David Smith to credits.
23567 Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
23569 * vc-hooks.el (vc-error-occured): Backquotified.
23570 (vc-file-prop-obarray): Use prime length for better efficiency.
23572 * vc.el (vc-clear-context): Fill obarray with 0, not nil.
23574 2001-11-09 Eli Zaretskii <eliz@is.elta.co.il>
23576 * info.el (Info-file-list-for-emacs): Add entries for Calc.
23578 2001-11-09 Miles Bader <miles@gnu.org>
23580 * subr.el (functionp): Don't consider macros as functions.
23582 2001-11-08 Miles Bader <miles@gnu.org>
23584 * subr.el (functionp): Make work correctly for macros and unbound
23587 * comint.el (comint-send-input): Fix description of
23588 `comint-process-echoes' in the doc-string.
23590 2001-11-08 Eli Zaretskii <eliz@is.elta.co.il>
23592 * international/mule.el (make-translation-table): Doc fix.
23593 Suggested by Alex Schroeder <alex@gnu.org>.
23595 2001-11-07 Richard M. Stallman <rms@gnu.org>
23597 * info.el (Info-fontify-node): Highlight every third menu item.
23599 2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk>
23601 * cus-edit.el (custom-face-value-create): Don't ignore the
23602 `customized-face' attribute when finding the current face spec.
23604 2001-11-07 Stefan Monnier <monnier@cs.yale.edu>
23606 * subr.el (with-local-quit): New macro.
23607 (make-syntax-table): Always inherit.
23608 (functionp): Be more careful when `object' is a symbol.
23610 * dabbrev.el (dabbrev-completion): Use "*Completions*".
23612 2001-11-07 Paul Eggert <eggert@twinsun.com>
23614 * dired.el (dired-move-to-filename-regexp):
23615 Do not distinguish between ASCII letters and non-ASCII characters.
23616 Don't allow comma except in the form "month day, year".
23617 Don't allow space between month name and comma.
23618 Clean up the code that checks for trailing period, comma, and space.
23619 Remove now-obsolete comments, and add more commentary about
23621 Always gobble up trailing spaces, instead of doing it only sometimes.
23623 2001-11-07 Miles Bader <miles@gnu.org>
23625 * paren.el (show-paren-match-face): Add dark-background variant.
23627 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
23629 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
23630 (lisp-mode-variables): Don't set paragraph-{start,separate}.
23631 Don't disable adaptive-fill-mode.
23632 (lisp-fill-paragraph): Use tab-width rather than 8.
23633 Prevent filling the first line of docstrings.
23635 2001-11-06 Richard M. Stallman <rms@gnu.org>
23637 * play/gomoku.el (gomoku): Doc fix.
23639 * jka-compr.el (jka-compr-partial-uncompress):
23640 Support an alternative of not using dd.
23641 (jka-compr-dd-program): Use defcustom to define this.
23642 (jka-compr-load-suffixes): Use defcustom.
23643 (jka-compr-mode-alist-additions): Use defcustom.
23645 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
23647 * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
23648 Also work when LIMIT is further than the end of line.
23650 2001-11-06 Eli Zaretskii <eliz@is.elta.co.il>
23652 * international/quail.el (quail-update-leim-list-file): Print the
23653 offending file name if some of its quail-define-package forms is broken.
23655 2001-11-05 Richard M. Stallman <rms@gnu.org>
23657 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
23658 of the evaluated form.
23660 2001-11-05 Paul Eggert <eggert@twinsun.com>
23662 * ls-lisp.el (ls-lisp-time-to-seconds): New function.
23663 (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
23664 stamps always line up by default. Also, it uses a slightly
23665 different window to determine whether files are "recent".
23667 2001-11-05 Andrew Innes <andrewi@gnu.org>
23669 * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
23670 Don't attempt to remake autoloads before nuking .elc files.
23672 2001-11-04 Richard M. Stallman <rms@gnu.org>
23674 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
23675 previous-single-property-change or next-single-char-property-change
23678 * international/mule-cmds.el (set-locale-environment):
23679 Make it interactive; make arg optional.
23681 * international/mule-diag.el (help-funs): Require help-funs.
23683 2001-11-04 Eli Zaretskii <eliz@is.elta.co.il>
23685 * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
23687 2001-11-04 Miles Bader <miles@gnu.org>
23689 * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
23690 shadow of the splash image grey on a dark background instead of black.
23692 2001-11-03 Stefan Monnier <monnier@cs.yale.edu>
23694 * term.el (all faces): Don't (copy-face 'default <foo>).
23696 * term/xterm.el (function-key-map):
23697 Add entry for `ESC [ 3 ~' -> <delete>
23698 Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
23699 Use inheritance so that .emacs and terminfo take precedence.
23701 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
23703 * tooltip.el (tooltip-delay): Decrease to 0.7.
23704 (tooltip-hide-delay): Enlarge to 10.
23706 2001-11-03 Richard M. Stallman <rms@gnu.org>
23708 * startup.el (fancy-splash-tail): Explain how to recover
23709 from a crash, if there was a crash.
23710 (command-line-1): Reorganize display of startup screen,
23711 to simplify the logic. Use a temp buffer for it.
23713 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
23715 * frame.el (set-background-color, set-foreground-color):
23716 Call face-set-after-frame-default, to propagate the new colors to
23717 the frame's parameters alist.
23719 * calendar/timeclock.el (timeclock-out): Signal an error if
23720 timeclock-last-event is nil.
23722 2001-11-02 Stefan Monnier <monnier@cs.yale.edu>
23724 * textmodes/fill.el (fill-context-prefix): Fix braino.
23726 * international/quail.el (quail-help):
23727 Use `help-buffer' and move `help-setup-xref' to beginning.
23729 * international/mule-cmds.el (describe-language-environment):
23730 Use `help-buffer' and move `help-setup-xref' to beginning.
23732 * international/mule-diag.el (list-character-sets)
23733 (sort-listed-character-sets, describe-character-set)
23734 (describe-coding-system, describe-fontset, list-fontsets):
23735 Use `help-buffer' and move `help-setup-xref' to beginning.
23736 (describe-char-after): Use `internal-describe-syntax-value'.
23738 2001-11-02 Richard M. Stallman <rms@gnu.org>
23740 * mouse.el (popup-menu): If the user refuses to select
23741 from a menu, don't try to invoke the menu.
23743 2001-11-02 Miles Bader <miles@gnu.org>
23745 * help-mode.el (help-xref): New button type.
23746 (help-function, help-variable, help-face, help-coding-system)
23747 (help-input-method, help-character-set, help-type, help-symbol)
23748 (help-back, help-info, help-customize-variable, help-customize-face)
23749 (help-function-def, help-variable-def): Use it as a supertype.
23750 Remove `action' property.
23752 * international/mule-diag.el (describe-character-set)
23753 (describe-coding-system): Pass correct args to `help-xref-button'.
23754 (sort-listed-character-sets): New button type.
23755 (list-character-sets): Use it.
23756 (list-charset-chars): New button type.
23757 (list-character-sets-1): Use it.
23759 2001-11-01 Stefan Monnier <monnier@rum.cs.yale.edu>
23761 * indent.el (tab-always-indent, indent-for-tab-command):
23762 Remove redundant `never' setting.
23764 * fill.el (fill-region-as-paragraph): Don't forget to skip
23765 over current whitespace before looking for a preceding space.
23767 2001-11-01 Richard M. Stallman <rms@gnu.org>
23769 * files.el (file-newest-backup): Don't pass backup file name
23770 thru file-name-sans-versions, because it never has version numbers.
23772 * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
23773 to avoid ambiguous nested loops.
23775 * files.el (find-file-noselect): Offer to change buffer-read-only
23776 only when the file's read-only status has changed from before
23777 as well as disagreeing with the buffer's current status.
23778 (buffer-file-read-only): New var, local in all buffers.
23780 * buff-menu.el (buffer-menu): Doc fix.
23781 (buffer-menu-other-window): Doc fix.
23782 (list-buffers, list-buffers-noselect): Doc fix.
23784 2001-11-01 Gerd Moellmann <gerd@gnu.org>
23786 * startup.el (command-line): If the terminal Emacs is running on
23787 has erase char set to ^H, use the Backspace key for deleting
23788 backward, and the Delete key for deleting forward.
23790 2001-11-01 Miles Bader <miles@gnu.org>
23792 * button.el (define-button-type): Make sure every user-defined
23793 button type has a supertype.
23795 2001-10-31 Jason Rumney <jasonr@gnu.org>
23797 * international/mule-cmds.el (locale-language-names): Add chs and
23798 cht as aliases for Chinese-GB and Chinese-BIG5.
23800 2001-10-31 Richard M. Stallman <rms@gnu.org>
23802 * bindings.el (mode-line-frame-identification): Add doc string.
23803 (mode-line-position, mode-line-modes): New variables.
23804 (mode-line-format): Use mode-line-position for the part
23805 that displays the position-in-buffer info.
23806 Use mode-line-modes for the part that displays major and minor modes.
23808 2001-10-31 Sam Steingold <sds@gnu.org>
23810 * emacs-lisp/debug.el (debugger-make-xrefs): New function.
23811 (debugger-setup-buffer): Call it.
23812 (debugger-mode-map): Bind RET and mouse-2.
23814 2001-10-31 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
23816 * startup.el: Document command line option --no-window-system
23817 instead of --no-windows.
23819 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
23821 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
23823 * font-lock.el (java-font-lock-syntactic-face-function): New fun.
23824 (font-lock-defaults-alist): Use it.
23825 From David Ponce <david.ponce@wanadoo.fr>
23827 * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
23828 output of `char-after'.
23830 * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
23832 * simple.el (reindent-then-newline-and-indent): Insert the newline
23833 before indenting the first line.
23834 (undo-get-state, undo-revert-to-state): New funs.
23835 (shell-command): Don't kill the buffer even if empty.
23836 (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
23837 (transpose-subr-end2): Remove.
23838 (transpose-subr): Add `special' arg and simplify.
23839 (transpose-subr-1): Rewrite.
23840 (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
23841 (rfc822-goto-eoh): Simplify.
23843 2001-10-30 Richard M. Stallman <rms@gnu.org>
23845 * enriched.el (enriched-face-ans): Fix previous change.
23847 2001-10-30 Gerd Moellmann <gerd@gnu.org>
23849 * international/iso-acc.el (iso-accents-compose): Remove a
23852 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il>
23854 * buff-menu.el (list-buffers-noselect): If the buffer's name
23855 starts with a blank, but it visits a file, do show it (for files
23856 whose names start with a blank).
23858 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
23860 * textmodes/fill.el (sentence-end-double-space)
23861 (sentence-end-without-period): Move to paragraphs.el.
23862 (fill-indent-according-to-mode): Change default to t.
23863 (fill-context-prefix): Simplify control-flow and use a more
23864 sophisticated merge that unifies both previous checks.
23865 (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
23866 (fill-nobreak-predicate): Make it into a defcustom'd hook.
23867 (fill-nobreak-p): New fun.
23868 (fill-region-as-paragraph): Use it.
23869 Handle `fill-indent-according-to-mode' slightly differently.
23870 (fill-individual-paragraphs-prefix): Simplify the control-flow.
23871 (fill-individual-paragraphs-citation): Fix.
23873 * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
23874 (paragraph-start): Change default to the `text-mode' value.
23875 (sentence-end-double-space, sentence-end-without-period):
23877 (forward-paragraph): Use `parstart' and `parsep' for temp variables
23878 rather than rebinding `paragraph-start' and `paragraph-separate'.
23880 * indent.el (indent-line-function): Change default to indent-relative.
23881 (tab-always-indent): Add an `never' setting.
23882 (indent-according-to-mode): Handle `indent-relative' and
23883 `indent-relative-maybe' specially.
23884 (indent-for-tab-command): Rename `prefix-arg' to `arg'.
23885 Handle the `never' case for `tab-always-indent'.
23886 Don't call indent-according-to-mode for indent-relative' and
23887 `indent-relative-maybe'.
23888 (insert-tab): Rename `prefix-arg' to `arg'.
23889 (indent-region): Indent the first line as well.
23890 (indent-relative): Don't mark the buffer modified if the indentation
23893 * textmodes/text-mode.el (paragraph-indent-minor-mode):
23894 Don't set paragraph-separate. Set paragraph-start more carefully.
23895 Set indent-line-function.
23896 (paragraph-indent-text-mode): Use it and define-derived-mode.
23897 (text-mode-map): Remove the \t binding.
23898 (text-mode): Simplify now that the default is more favorable.
23900 2001-10-29 Stefan Monnier <monnier@cs.yale.edu>
23902 * emacs-lisp/find-func.el (find-function-search-for-symbol):
23903 If the regexp doesn't match, use a looser one.
23904 (find-variable-noselect): Add `file' argument.
23906 * pcvs.el (cvs-mode-commit-hook): New hook.
23907 (cvs-mode-commit): Run it.
23909 * log-edit.el (log-edit): Run hook after `log-edit-files'.
23911 * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
23912 (edebug-instrument-function): Use `find-function-noselect'.
23914 2001-10-29 Richard M. Stallman <rms@gnu.org>
23916 * term.el (term-if-emacs19): Macro deleted.
23917 Callers changed to use progn instead.
23919 * frame.el (blink-cursor-mode): Doc fix.
23921 * files.el (find-backup-file-name): Use make-backup-file-name.
23923 * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
23925 (edebug-set-conditional-breakpoint): Unconditionally use
23926 the former Emacs >=19 definition.
23927 (edebug-mark): Define unconditionally.
23928 (edebug-eval-expression): Always call read-from-minibuffer
23929 and specify history list.
23930 (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
23931 edebug-set-conditional-breakpoint.
23932 (edebug-emacs-version-specific): Function deleted;
23933 do the job at top level.
23934 (edebug-emacs-19-specific): Function deleted, this is the default.
23936 2001-10-29 Sam Steingold <sds@gnu.org>
23938 * w32-fns.el (convert-standard-filename): Handle cygwin-specific
23939 "/cygdrive/LETTER/" pathnames.
23941 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il>
23943 * faces.el (invert-face): Check for 'unspecified, not for nil,
23944 when testing whether face colors are not specified.
23945 From David.Kastrup@t-online.de (David Kastrup).
23946 (read-face-name): Doc fix.
23947 (make-face-bold, make-face-unbold, make-face-italic)
23948 (make-face-unitalic, make-face-bold-italic, invert-face):
23949 Remove trailing blank from the prompt passed to read-face-name.
23951 2001-10-29 Sam Steingold <sds@gnu.org>
23953 * emacs-lisp/bytecomp.el (byte-recompile-directory):
23954 Report numbers of files skipped and failed too.
23955 (byte-compile-file): Return 'no-byte-compile for skipped files.
23957 2001-10-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
23959 * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
23962 2001-10-29 Gerd Moellmann <gerd@gnu.org>
23964 * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
23965 as is on unread-command-events instead of `(SECOND-CHAR)'.
23967 2001-10-29 Andre Spiegel <spiegel@gnu.org>
23969 * vc.el: Mention vc-*-switches in backend API documentation.
23970 (vc-annotate): Adapt doc string to recent change.
23972 2001-10-29 Gerd Moellmann <gerd@gnu.org>
23974 * enriched.el (enriched-face-ans): Handle face attributes
23975 of the form `(FACE1 FACE2 ...)'.
23977 * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
23979 2001-10-29 Alex Schroeder <kensanata@yahoo.com>
23981 * progmodes/sql.el (sql-mysql): Doc change by RMS.
23983 * progmodes/sql.el (sql-db2): Doc change.
23984 (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
23985 (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
23987 2001-10-29 Gerd Moellmann <gerd@gnu.org>
23989 * env.el (substitute-env-vars): Don't quote argument to `rx';
23992 2001-10-28 Per Abrahamsen <abraham@dina.kvl.dk>
23994 * cus-start.el (recursive-load-depth-limit): Added.
23996 2001-10-28 Richard M. Stallman <rms@gnu.org>
23998 * textmodes/ispell.el (version18p, version20p): Vars deleted.
23999 All uses removed--assume Emacs version is >= 20.
24001 * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
24002 by really checking that it is not version 18.
24004 * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
24006 2001-10-28 Miles Bader <miles@gnu.org>
24008 * faces.el (face-attribute): Add INHERIT argument, consider face
24009 inheritance if it's non-nil.
24010 (face-attribute-merged-with): New function.
24011 (face-attribute-specified-or): New macro.
24012 (face-foreground, face-background, face-stipple): Add INHERIT
24013 argument. Use `face-attribute-specified-or'.
24015 2001-10-28 Stefan Monnier <monnier@cs.yale.edu>
24017 * font-lock.el: Require `syntax'.
24018 (font-lock-defaults-alist): Don't define keywords for lisp languages.
24019 Use `c-font-lock-syntactic-face-function' for c languages.
24020 (font-lock-mode): Don't unset vars when turning the mode off.
24021 (font-lock-default-fontify-buffer): Don't unset vars at the end.
24022 (font-lock-extra-managed-props): New var.
24023 (font-lock-default-unfontify-region): Use it.
24024 (font-lock-apply-syntactic-highlight): Flush the syntax cache.
24025 Don't eval the value when there's no match.
24026 (font-lock-ppss-stats): New var.
24027 (font-lock-ppss): New fun.
24028 (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
24029 (font-lock-apply-highlight): Allow `highlight' to set several props.
24030 (font-lock-set-defaults): Use dolist.
24031 (font-lock-unset-defaults): Remove.
24032 (font-lock-match-c-style-declaration-item-and-skip-to-next):
24033 Try to recognize prototypes using `foo P_ ((args))'.
24034 ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
24035 (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
24036 (c-font-lock-syntactic-face-function): New function.
24037 (font-lock-match-c++-style-declaration-item-and-skip-to-next)
24038 (c++-keywords): Use a more sophisticated regexp to handle
24039 shallowly nested templates.
24041 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
24043 * textmodes/sgml-mode.el (sgml-empty-tags): New var.
24044 (sgml-tag): Use it. Cleanup with `cond'.
24045 (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
24046 Mark the overlays and only delete those that are marked.
24047 (sgml-skip-close-p): Remove.
24048 (sgml-value): Replace sgml-skip-close-p with its definition.
24049 (html-tag-alist): Use sgml-xml a bit more.
24050 (html-mode): Set sgml-empty-tags.
24052 * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
24053 (texinfo-update-node, texinfo-sequential-node-update):
24054 Don't bind the obsolete `auto-fill-hook'.
24055 (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
24056 Use `set-buffer' rather than `switch-to-buffer'.
24057 (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
24058 Use `set-buffer' rather than `switch-to-buffer'.
24060 * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
24061 text-mode-syntax-table.
24062 (mail-mode): Use define-derived-mode.
24063 Fix ordering of alternatives in adaptive-fill-regexp.
24064 (mail-mode-map): Don't rely on keymap's internal representation.
24066 2001-10-27 Sam Steingold <sds@gnu.org>
24068 * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
24069 (sgml-xml-guess): Extracted from `html-mode' and generalized.
24070 (sgml-mode-common): Call it.
24071 (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
24072 (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
24073 (html-horizontal-rule, html-image, html-ordered-list):
24074 (html-unordered-list, html-list-item, html-paragraph):
24075 (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
24078 2001-10-26 Masayuki Ataka <ataka@milk.freemail.ne.jp>
24080 * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
24081 (ifnothtml): New alias.
24083 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
24085 * textmodes/text-mode.el (text-mode): Use define-derived-mode.
24086 (toggle-text-mode-auto-fill): Use derived-mode-p.
24088 2001-10-27 Gerd Moellmann <gerd.moellmann@t-online.de>
24090 * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
24091 `mdtm'. From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
24093 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
24095 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
24096 Add make-obsolete cookies, to follow faces.el.
24098 These changes avoid warnings from the byte compiler in faces.el:
24100 * faces.el (internal-get-face): Use facep instead of the obsolete
24101 internal-find-face.
24102 (internal-frob-font-weight, internal-frob-font-slant):
24103 New defaliases for obsolete functions.
24104 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
24105 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
24106 (x-make-font-bold-italic): Use internal-frob-font-weight and
24107 internal-frob-font-slant aliases instead of the obsolete
24108 x-frob-... functions.
24110 2001-10-26 Sam Steingold <sds@gnu.org>
24112 * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
24113 DOCTYPE; set `mode-name' based on it.
24114 (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
24115 (sgml-tag): Close empty tags in XHTML.
24117 2001-10-26 Jason Rumney <jasonr@gnu.org>
24119 * w32-fns.el: (w32-charset-info-alist): Use ANSI for iso10646-1
24120 when UNICODE is not defined.
24122 2001-10-26 Sam Steingold <sds@gnu.org>
24124 * font-lock.el (c-font-lock-keywords-2): Do not require labels to
24125 be alone on the line.
24127 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
24129 * button.el (button): Special face definition for MS-DOS terminals.
24131 2001-10-26 Sam Steingold <sds@gnu.org>
24133 * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
24134 Protect the /= test by checking that the args are non-nil.
24135 (sh-font-lock-close-heredoc): Check eof for being non-nil.
24137 2001-10-26 Tomas Abrahamsson <tab@lysator.liu.se>
24139 * textmodes/artist.el (artist-version): 1.2.4.
24140 (artist-butlast-fn): New variable.
24141 (artist-butlast): New function.
24142 (artist-ellipse-mirror-quadrant): Use it.
24143 (artist-mouse-draw-poly): Use nil for `point-list'.
24144 (artist-mouse-draw-poly): Check for point-list being nil.
24146 2001-10-26 Peter Kleiweg <kleiweg@let.rug.nl>
24148 * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
24150 (ps-mode-menu-main): Submenu with options on/off was replaced with
24152 (ps-mode, ps-run-mode): Define with `define-derived-mode'
24153 (ps-mode): Autoload cookie added on same line as comment
24154 (ps-mode-tabkey, ps-mode-backward-delete-char):
24155 (ps-mode-r-balance): Replace `delete-horizontal-space' and
24156 `indent-to' with `indent-line-to'
24157 (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
24159 (ps-mode-print-region): Use `with-temp-buffer'.
24160 (ps-run-start): Use of `mapconcat'. Use `apply' instead of `eval'.
24161 (numerous places): Add back-tick and tick around names in
24162 docstrings, fix punctuation in docstrings, remove trailing spaces.
24164 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
24166 * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
24167 (sgml-font-lock-keywords-2): Use `eval'. Moved from sgml-mode-common.
24168 (sgml-font-lock-syntactic-keywords): New var.
24169 (sgml-mode-common): Drop the two args.
24170 Don't make buffer-local variables that aren't used.
24171 Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
24172 Don't set `before-string' props from sgml-display-text.
24173 (sgml-mode): Use define-derived-mode.
24174 (sgml-tags-invisible): Use sgml-display-text.
24175 (sgml-quote): New command.
24176 (html-tag-alist): Add args for `span'.
24177 (html-mode): Use define-derived-mode.
24178 Set sgml-display-text and sgml-tag-face-alist.
24180 2001-10-25 Sam Steingold <sds@gnu.org>
24182 * add-log.el (add-log-always-start-new-record): New user option.
24183 (add-change-log-entry): Use it.
24185 2001-10-25 Richard M. Stallman <rms@gnu.org>
24187 * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
24188 bind case-fold-search if FROM is not all lower case.
24190 2001-10-25 Gerd Moellmann <gerd@gnu.org>
24192 * startup.el (normal-top-level): Check for frame-initial-frame
24193 only if it's really used.
24195 * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
24197 * progmodes/compile.el (compilation-parse-errors-filename-function):
24199 (compilation-parse-errors): Use it.
24201 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
24203 * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
24204 interactively so that C-u M-C-x still does edebug.
24205 (checkdoc-sentencespace-region-engine): Don't force a double-space
24206 after `.' if it doesn't look like an end-of-sentence.
24207 (debug-ignored-errors): Add `disambiguate ...'.
24209 2001-10-24 Stefan Monnier <monnier@cs.yale.edu>
24211 * textmodes/texinfo.el (texinfo-environments)
24212 (texinfo-environment-regexp): Hoist.
24213 (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
24214 Only highlight the menu name in menu items.
24215 Setup `@foo ... @end foo' as text clones.
24216 (texinfo-clone-environment): New function.
24217 (texinfo-mode): Simplify auto-fill-inhibit-regexp.
24218 (texinfo-insert-block): Simplify.
24219 (texinfo-insert-quote): Insert a plain " if preceded by \ or if
24220 the command is repeated.
24221 (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
24222 (texinfo-insert-@end): Simplify.
24224 * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
24225 (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
24226 (texinfo-subsubsection-level-regexp)
24227 (texinfo-update-menu-same-level-regexps)
24228 (texinfo-update-menu-higher-regexps)
24229 (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
24231 * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
24232 (derived-mode-p): Autoload.
24234 * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
24235 New vars and functions.
24236 (text-clone-maintain, text-clone-create): New functions.
24238 2001-10-25 Miles Bader <miles@gnu.org>
24240 * facemenu.el (facemenu-add-new-face): Fix variable names.
24242 2001-10-24 Richard M. Stallman <rms@gnu.org>
24244 * facemenu.el (facemenu-unlisted-faces): Improve doc strings
24245 of t and nil values.
24246 (facemenu-set-face): Handle START and END interactively.
24247 (facemenu-set-foreground): Don't use a face; specify color directly.
24248 (facemenu-set-background): Likewise.
24249 (facemenu-set-face-from-menu): Doc fix.
24250 (facemenu-active-faces): Use face-attribute-vector
24251 to handle bare attributes not in faces.
24252 (facemenu-get-face): Don't handle face names fg:... and bg:...
24254 (facemenu-add-new-face): New argument MENU.
24255 New way to handle adding colors to the color menus.
24257 * env.el (substitute-env-vars): Quote the arg to rx.
24259 2001-10-24 Sam Steingold <sds@gnu.org>
24261 * mouse.el (mouse-buffer-menu-mode-groups): Added "Version
24262 Control" and "SGML" groups.
24264 2001-10-24 Martin Stjernholm <bug-cc-mode@gnu.org>
24266 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
24267 Better handling of C++ template args to avoid confusion with `<'
24268 and `>' used as operators in member init expressions.
24270 2001-10-24 Gerd Moellmann <gerd@gnu.org>
24272 * replace.el (perform-replace): Move START and END parameters
24273 to the end of the argument list and make them optional.
24275 * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
24278 * international/fontset.el (x-must-resolve-font-name): New function.
24279 (x-complement-fontset-spec): Use it.
24281 2001-10-23 Stefan Monnier <monnier@cs.yale.edu>
24283 * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
24285 * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
24286 Turn caadr into caar of cdr.
24288 2001-10-23 Gerd Moellmann <gerd@gnu.org>
24290 * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
24291 of mouse-{1,2} since dragging is on the down event.
24293 * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
24295 * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
24298 * desktop.el (desktop-last-buffer): New variable.
24299 (desktop-create-buffer): Set it.
24300 (desktop-read): Bind it and switch to that buffer.
24302 2001-10-22 Gerd Moellmann <gerd@gnu.org>
24304 * progmodes/compile.el (compilation-set-window-height):
24305 Select old window only if it's still live.
24307 2001-10-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
24309 * help-mode.el (help-buffer): Remove debugging code.
24310 From Stefan Monnier <monnier@cs.yale.edu>.
24312 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
24314 * files.el (file-name-sans-extension, file-name-extension):
24315 Don't count the leading dots in file names as signaling an extension.
24317 2001-10-22 Andre Spiegel <spiegel@gnu.org>
24319 * vc.el (vc-diff-switches): Doc rewritten.
24321 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
24323 * tooltip.el (tooltip-set-param): Doc fix.
24325 * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
24326 127 to sgml-maybe-name-self.
24327 (sgml-name-8bit-mode): Doc fix.
24328 (sgml-char-names-table): New variable.
24329 (sgml-name-char): Support non-ASCII and mule-unicode-*
24330 characters. Doc fix.
24331 (sgml-maybe-name-self): Convert unibyte characters to multibyte.
24333 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
24334 doc string the effect of `left' and `top' parameters in
24335 tooltip-frame-parameters, the default values, and the units.
24336 (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
24337 (tooltip-show): Mention in the doc string the `top' and `left'
24338 parameters in tooltip-frame-parameters, and x-max-tooltip-size.
24340 2001-10-22 Andre Spiegel <spiegel@gnu.org>
24342 Add autoscaling support for vc-annotate.
24343 From J.D. Smith <jdsmith@alum.mit.edu>.
24345 * vc.el (vc-annotate-display-default): Accept colormap scaling
24346 ratio (now deprecated).
24347 (vc-annotate-display-autoscale): Added.
24348 (vc-annotate-add-menu): New autoscaling menu options "Span to
24349 Oldest" and "Span Oldest->Newest". Easymenu support added for
24350 toggle menus driven by customize variable `vc-annotate-display-mode'.
24351 (vc-annotate-display-select): Added.
24352 (vc-annotate): Changed temp-buffer-show-function to
24353 `vc-annotate-display-select'.
24354 (vc-annotate-display): Removed arguments BUFFER and BACKEND.
24355 Added argument OFFSET. Instead of backend function, calls now
24356 generic `vc-annotate-difference'.
24357 (vc-annotate-difference): Added as generic function instead of
24358 backend-specific function. No longer takes argument POINT, but
24359 instead accepts a time OFFSET.
24360 (vc-default-annotate-current-time): Added.
24362 * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
24363 version in vc.el, with
24364 (vc-cvs-annotate-current-time): Added, as override of default.
24365 (vc-cvs-annotate-time): Added. Taken mostly from the (now removed)
24366 `vc-cvs-annotate-difference'.
24368 2001-10-22 Gerd Moellmann <gerd@gnu.org>
24370 * saveplace.el (save-place): Require `saveplace'.
24372 * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
24373 Use `sexp' for :value-type instead of `face'.
24375 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
24377 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
24378 regexps due to 5-digit message IDs.
24380 2001-10-21 Jason Rumney <jasonr@gnu.org>
24382 * term/w32-win.el (redisplay-dont-pause): Don't set.
24384 2001-10-21 Miles Bader <miles@gnu.org>
24386 * help-funs.el (help-manyarg-func-alist): Variable removed.
24388 2001-10-21 Miles Bader <miles@gnu.org>
24390 * help-funs.el (help-manyarg-func-alist): Remove entries for
24391 `insert', `insert-and-inherit', `insert-before-markers',
24392 `insert-before-markers-and-inherit', `message', `message-box',
24393 `message-or-box', `propertize', `format', `encode-time', `append',
24394 `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
24395 `insert-string', `ml-if', `ml-provide-prefix-argument', and
24396 `ml-prefix-argument-loop'.
24398 2001-10-21 Andre Spiegel <spiegel@gnu.org>
24400 * vc.el (vc-diff-internal, vc-coding-system-for-diff)
24401 (vc-default-diff-tree): New functions.
24402 (vc-version-diff): Use them. As a result, coding systems are now
24403 set up properly for all sorts of diffs, and tree diffs can now
24404 also be done locally.
24405 (vc-diff): With a prefix argument, don't require that it's called
24406 from a buffer under version control.
24407 (diff-switches): Remove duplicate definition.
24409 * vc-cvs.el (vc-cvs-diff-tree): New function.
24411 2001-10-21 Miles Bader <miles@gnu.org>
24413 * help-funs.el (help-manyarg-func-alist): Remove entries for
24414 `list', `vector', `make-byte-code', `call-process',
24415 `call-process-region', `string', `+', `-', `*', `/', `max', `min',
24416 `logand', `logior', and `logxor'.
24418 * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
24419 image bits to compensate. Use `make-string' instead of
24420 `make-bool-vector' (XBM apparently wants byte-aligned rows).
24422 2001-10-20 Kim F. Storm <storm@cua.dk>
24424 * simple.el (kill-ring-save): Don't show extent of copied region
24425 if using transient-mark-mode and region is fully visible.
24427 See ChangeLog.9 for earlier changes.
24429 ;; Local Variables:
24430 ;; coding: iso-2022-7bit
24433 Copyright (C) 2001, 2002 Free Software Foundation, Inc.
24434 Copying and distribution of this file, with or without modification,
24435 are permitted provided the copyright notice and this notice are preserved.