1 2003-09-01 Kenichi Handa <handa@m17n.org>
3 * international/fontset.el (setup-default-fontset): For Thai
4 font, specify "*" family.
6 2003-09-01 Kevin Rodgers <ihs_4664@yahoo.com> (tiny change)
8 * progmodes/compile.el (previous-error): Accept a prefix
9 argument, similarly to next-error.
11 2003-08-31 Masatake YAMATO <jet@gyve.org>
13 * pcvs.el (cvs-do-removal): Use = instead of eq to check
14 the numbre of files. Bind the numbre of files to a a local
15 variable. Suggestd by Kevin Rodgers <ihs_4664@yahoo.com>.
17 2003-08-30 Eli Zaretskii <eliz@elta.co.il>
19 * vc-hooks.el (vc-make-version-backup): Fix the change made on
20 2003-07-26: msdos-long-file-names is a function, not a variable.
22 2003-08-29 Richard M. Stallman <rms@gnu.org>
24 * mail/sendmail.el (sendmail-sync-aliases, mail-setup):
25 Do nothing with mail-personal-alias-file if it is nil.
27 * mail/mailabbrev.el (mail-abbrevs-sync-aliases):
28 Do nothing if mail-personal-alias-file is nil.
30 * term.el (term-exec-1): Bind coding-system-for-read.
32 * dired.el (dired-mouse-find-file-other-window):
33 Use dired-view-command-alist here, as in dired-view-file.
34 (dired-view-command-alist): Use %s to substitute file name.
35 Handle .ps_pages, .eps, .jpg, .gif, .png.
37 2003-08-29 Paul Pogonyshev <pogonyshev@gmx.net>
39 * info.el (Info-mode-map): Bind S-tab and <backtab> to
40 `Info-prev-reference', instead of M-tab.
42 2003-08-29 Martin Stjernholm <mast@lysator.liu.se>
44 * simple.el (blink-matching-open): Work correctly on chars that
45 are designated as parens through the syntax-table text property.
47 2003-08-29 Thierry Emery <thierry.emery@club-internet.fr> (tiny change)
49 * kinsoku.el (kinsoku-longer, kinsoku-shorter): Do not choose a
50 line break position in the middle of a non-kinsoku (e.g. latin)
51 word, making it skip until either a space or a character with
53 (kinsoku-longer): Test for end of buffer.
55 2003-08-28 Eli Zaretskii <eliz@elta.co.il>
57 * mail/rmail.el (rmail-convert-to-babyl-format): Detect
58 quoted-printable- and base64-encoded messages and decode them
59 automatically. Set the message's encoding from the charset=
60 header, if any. Decode base64-encoded messages in Mail format as
63 2003-08-26 Glenn Morris <gmorris@ast.cam.ac.uk>
65 * mail/smtpmail.el Fix previous change:
66 (smtpmail-send-queued-mail): Set smtpmail-mail-address before
67 calling smtpmail-via-smtp.
68 (smtpmail-via-smtp): Add fall-back values for envelope-from.
70 2003-08-26 John Paul Wallington <jpw@gnu.org>
72 * image.el (image-jpeg-p): Don't search beyond length of data.
74 2003-08-26 Martin Stjernholm <bug-cc-mode@gnu.org>
76 * progmodes/cc-cmds.el (c-electric-brace): Work around for a
77 misfeature in `expand-abbrev' which caused electric keywords like
78 "else" to disappear if an open brace was typed directly
81 2003-08-26 Martin Stjernholm <bug-cc-mode@gnu.org>
83 * progmodes/cc-vars.el (c-extra-types-widget): The doc string is
84 mandatory in `define-widget'.
86 * progmodes/cc-align.el, progmodes/cc-langs.el (c-lineup-math):
87 Don't align the operators "!=", "<=" and ">=" as assignment
90 (c-assignment-operators): New language constant that only contains
91 the assignment operators.
93 (c-assignment-op-regexp): New language variable used by
96 2003-08-26 Martin Stjernholm <bug-cc-mode@gnu.org>
98 * progmodes/cc-engine.el (c-just-after-func-arglist-p): Safeguard
99 against unbalanced sexps.
101 2003-08-26 Terje Rosten <terjeros@phys.ntnu.no>
103 * version.el (emacs-version): Check for gtk. Include gtk version
106 2003-08-25 John Paul Wallington <jpw@gnu.org>
108 * man.el (Man-default-man-entry): Don't whizz past the section
109 number before looking for it.
111 2003-08-24 Nick Roberts <nick@nick.uklinux.net>
113 * progmodes/gud.el (gud-display-line): Don't set window-point if
114 source buffer is not visible. (Only happens with M-x gdba).
116 * gdb-ui.el (gdba): Remove gdb-quit (previously removed) from
118 (gdb-source, gdb-source-info): Update to assembler unnecessary
119 as its done after each GDB command anyway.
120 (gdb-pre-prompt): Use with-current-buffer.
121 (gdb-insert-field): Add help-echo text.
122 (gdb-invalidate-assembler): Re-display of assembler now done in
123 gdb-info-breakpoints-custom.
124 (gdb-info-breakpoints-custom): Force re-display of assembler to
125 happen *after* update of breakpoints buffer.
126 (gdb-display-source-buffer): Don't choke if gdb-source-window
128 (gdb-put-string, gdb-put-arrow): Remove free variables.
130 2003-08-24 John Paul Wallington <jpw@gnu.org>
132 * ibuffer.el (ibuffer-formats): Make name and size columns wider.
134 * man.el (Man-default-man-entry): Strip text properties when
135 snarfing parts of entry because `format' preserves properties.
137 2003-08-24 Glenn Morris <gmorris@ast.cam.ac.uk>
139 * files.el (file-newest-backup): Use `expand-file-name'.
141 * calendar/diary-lib.el (simple-diary-display, make-diary-entry):
142 Allow the diary to pop up a new frame, if needed.
144 * mail/sendmail.el (mail-specify-envelope-from): Doc change.
145 * mail/smtpmail.el (smtpmail-mail-address): Doc change.
146 (smtpmail-send-it): Make treatment of envelope-from consistent with
149 * progmodes/sh-script.el (sh-builtins): Add some bash builtins.
150 (sh-leading-keywords): Add the bash `time' reserved word.
151 (sh-variables): Add some bash variables.
152 (sh-add-completer): Fix nil branch of case statement.
154 2003-08-24 Masatake YAMATO <jet@gyve.org>
156 * progmodes/ld-script.el: New file.
158 2003-08-23 Markus Rost <rost@math.ohio-state.edu>
160 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates): Doc fix.
162 2003-08-23 Andre Spiegel <spiegel@gnu.org>
164 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates): Better
165 explain obsolescence, and what to use instead.
167 2003-08-23 Masatake YAMATO <jet@gyve.org>
169 * pcvs.el (cvs-do-removal): Show the deleted file name
172 2003-08-20 Dave Love <fx@gnu.org>
174 * international/mule.el (make-coding-system)
175 (set-buffer-file-coding-system): Doc fix.
177 * emacs-lisp/lisp-mode.el (common-lisp-mode): New.
179 * emacs-lisp/lisp.el (beginning-of-defun-function): Doc fix.
181 * international/utf-8.el (ucs-unicode-to-mule-cjk): Use smaller
184 * international/utf-16.el: Add mime-text-unsuitable coding system
187 * international/latin1-disp.el (latin1-display): Add ?
\e$,1s"
\e(B.
189 * cus-edit.el: Add some :links.
192 * textmodes/bib-mode.el (bib): Add :group external.
194 2003-08-18 Luc Teirlinck <teirllm@mail.auburn.edu>
196 * wid-edit.el (widget-echo-help): Make it handle expressions that
199 2003-08-18 Michael Mauger <mmaug@yahoo.com>
201 Version 1.8.0 of sql-mode. (Patch submitted 2003-06-21)
203 Simplify selection of SQL products to define highlighting and
204 interactive mode. Includes detailed instructions on adding
205 support for new products.
207 * progmodes/sql.el (sql-product): New variable. Identifies SQL
208 product for use in highlighting and interactive mode.
209 (sql-interactive-product): New variable. SQL product for
210 sql-interactive-mode.
211 (sql-product-support): New variable. Specifies product-specific
212 parameters to drive highlighting and interactive mode.
213 (sql-imenu-generic-expression): Add more object types.
214 (sql-sqlite-options): Correct comment.
215 (sql-ms-program): Use "osql" rather than "isql".
216 (sql-prompt-regexp, sql-prompt-length): Update comment.
217 (sql-mode-menu): Add "Start SQLi session" entry. Replace
218 Highlighting submenu with Product menu. Fix Send Region entry.
219 (sql-mode-abbrev-table): Add abbreviations. Support of
220 SYSTEM-FLAG on define-abbrev. Support was removed with last
221 check-in; it now handles older Emacsen without the SYSTEM-FLAG.
222 (sql-mode-font-lock-object-name): Add font-lock pattern for object
224 (sql-mode-ansi-font-lock-keywords): Set as default value.
225 (sql-mode-oracle-font-lock-keywords): Set as default value.
226 Support Oracle 9i keywords.
227 (sql-mode-postgres-font-lock-keywords): Set as default value.
228 (sql-mode-linter-font-lock-keywords): Set as default value.
229 (sql-mode-ms-font-lock-keywords): New variable. Support Microsoft
231 (sql-mode-sybase-font-lock-keywords)
232 (sql-mode-interbase-font-lock-keywords)
233 (sql-mode-sqlite-font-lock-keywords)
234 (sql-mode-strong-font-lock-keywords)
235 (sql-mode-mysql-font-lock-keywords)
236 (sql-mode-db2-font-lock-keywords): New variables. Default to ANSI
238 (sql-mode-font-lock-defaults): Update comment.
239 (sql-product-feature): New function. Returns feature associated
240 with a product from `sql-product-support' alist.
241 (sql-product-font-lock): New function. Set font-lock support
242 based on `sql-product'.
243 (sql-add-product-keywords): New function. Add font-lock rules to
244 product-specific keyword variables.
245 (sql-set-product): New function. Set `sql-product' and apply
246 appropriate font-lock highlighting.
247 (sql-highlight-product): New function. Set font-lock support
248 based on a product. Also set mode name to include product name.
249 (sql-highlight-ansi-keywords, sql-highlight-oracle-keywords)
250 (sql-highlight-postgres-keywords, sql-highlight-linter-keywords):
251 Use `sql-set-product'.
252 (sql-highlight-ms-keywords)
253 (sql-highlight-sybase-keywords)
254 (sql-highlight-interbase-keywords)
255 (sql-highlight-strong-keywords)
256 (sql-highlight-mysql-keywords)
257 (sql-highlight-sqlite-keywords)
258 (sql-highlight-db2-keywords): New functions. Use
260 (sql-get-login): Prompt in the same order as the tokens.
261 (sql-mode): Uses `sql-product-highlight' and
262 `sql-product-font-lock'.
263 (sql-product-interactive): New function. Common portions of
264 product-specific interactive mode wrappers.
265 (sql-interactive-mode): Rewritten to use product features.
266 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
267 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
268 (sql-db2, sql-linter): Use `sql-product-interactive'.
269 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
270 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
271 (sql-connect-ingres, sql-connect-postgres)
272 (sql-connect-interbase, sql-connect-db2, sql-connect-linter): New
273 functions. Format command line parameters and invoke comint on
274 the appropriate interpreter. Code was in the corresponding
275 `sql-xyz' function before.
276 (sql-connect-ms): New function. Support -E argument to use
277 operating system credentials for authentication.
279 2003-08-18 Kenichi Handa <handa@m17n.org>
281 * international/mule.el (encode-char): Fix for the ASCII case.
283 2003-08-15 Kenichi Handa <handa@m17n.org>
285 * international/fontset.el (setup-default-fontset): Change "*" to
286 nil in the specifications of font family.
288 2003-08-18 Kim F. Storm <storm@cua.dk>
290 * kmacro.el (kmacro-keymap): Group related bindings in
291 initialization for clarity. Bind C-s to start macro.
293 (kmacro-initial-counter-value): New defvar to hold initial counter
294 value in case we set the value before defining a macro.
295 (kmacro-insert-counter): Clear kmacro-initial-counter-value..
296 (kmacro-set-counter): Set kmacro-initial-counter-value if we are
297 not defining or executing macro. Doc fix.
298 (kmacro-add-counter): Clear kmacro-initial-counter-value.
299 (kmacro-view-last-item, kmacro-view-item-no): New defvars used to
300 temporarily view older elements on the macro ring without cycling
302 (kmacro-display): Doc fix.
303 (kmacro-exec-ring-item): New helper function.
304 (kmacro-call-ring-2nd): Use it.
305 (kmacro-call-ring-2nd-repeat): Doc fix.
306 (kmacro-start-macro): Use (and clear) kmacro-initial-counter-value.
307 (kmacro-end-or-call-macro): Execute last viewed macro (using
308 kmacro-exec-ring-item) from ring if this follows
309 kmacro-view-macro. This allows us to find a macro on the ring
310 with C-x C-k C-v C-v ... and execute it (with C-k) without cycling
311 the ring to bring it to the head of the ring.
312 (kmacro-bind-to-key): Doc fix (describe reserved bindings).
313 Allow binding to reserved keys without specifying C-x C-k prefix.
314 Ask for confirmation if entered key sequence is already bound to
316 (kmacro-view-macro): Repeating command will show older elements
317 on the macro ring; C-k will execute the last viewed macro.
318 (kmacro-view-macro-repeat): Doc fix. Change its kmacro-repeat
319 property from 'ring to 'head.
321 2003-08-17 Alan Shutko <ats@acm.org>
323 * calendar/calendar.el (calendar-make-alist): Correct off-by-one
324 keeping December out of the alist.
326 2003-08-17 Edward M. Reingold <reingold@emr.cs.iit.edu>
328 * calendar/cal-move.el (calendar-goto-day-of-year): New function.
329 * calendar/calendar.el (calendar-mode-map): Bind it to key.
330 * calendar/cal-menu.el (calendar-mode-map): Add it to menu.
331 (calendar-flatten): New function.
332 (calendar-mouse-view-other-diary-entries)
333 (calendar-mouse-view-diary-entries): Rewritten to put any holidays
334 in the menu title and to show multi-line diary entries correctly
337 2003-08-17 Luc Teirlinck <teirllm@mail.auburn.edu>
339 * info.el (Info-scroll-prefer-subnodes): Add :version keyword to
340 defcustom, because the default was recently changed.
342 2003-08-16 Richard M. Stallman <rms@gnu.org>
344 * net/ange-ftp.el (ange-ftp-error): Add save-excursion.
346 * emacs-lisp/lisp-mode.el (eval-last-sexp-print-value):
347 New subroutine, broken out of eval-last-sexp-1.
348 (eval-last-sexp-1): Use eval-last-sexp-print-value.
350 * custom.el (custom-load-symbol): Load cus-load and cus-start first.
352 * dabbrev.el (dabbrev--safe-replace-match): Use with-no-warnings.
354 * simple.el (eval-expression): Use eval-last-sexp-print-value.
356 2003-08-14 Jari Aalto <jari.aalto@poboxes.com>
358 * progmodes/compile.el (compilation-error-regexp-alist):
359 Added Java ANt error detection as described in document
360 http://ant.apache.org/faq.html
362 2003-08-12 Juri Linkov <juri@jurta.org> (tiny change)
364 * simple.el (backward-word, forward-to-indentation)
365 (backward-to-indentation): Argument changed to optional.
366 (next-line, previous-line): Use `or' instead of `unless'.
368 2003-08-12 Vinicius Jose Latorre <viniciusjl@ig.com.br>
370 * progmodes/ebnf-iso.el (ebnf-no-meta-identifier): Becomes a var
371 instead of a constant.
373 2003-08-12 Markus Rost <rost@math.ohio-state.edu>
375 * shell.el (shell): With prefix-arg, suggest a new buffer name.
377 2003-08-12 Andre Spiegel <spiegel@gnu.org>
379 * vc-sccs.el (vc-sccs-state-heuristic): Fix parentheses.
380 (vc-sccs-workfile-version): Search the entire delta table, rather
381 than just the first entry, because that might be a deleted version.
383 2003-08-11 Karl Fogel <kfogel@red-bean.com>
385 * menu-bar.el (menu-bar-options-menu): Supply a body for the
386 [save-place] binding in the Options menu. Have it require
387 'saveplace' and then toggle the variable manually, to avoid an an
388 unbound variable error. Thanks to <Sebastien.Kirche@sage.com>
391 2003-08-11 Nick Roberts <nick@nick.uklinux.net>
393 * gdb-ui.el (gdb-insert-field, gdb-array-format1)
394 (gdb-info-breakpoints-custom, gdb-info-frames-custom)
395 (gdb-info-threads-custom): Add help-echo text.
396 (gdb-display-back): Don't use purecopy.
397 (gdb-info-breakpoints-custom, gdb-reset)
398 (gdb-assembler-custom): Use display-images-p to test if breakpoint
399 icons can be displayed.
401 2003-08-11 Markus Rost <rost@math.ohio-state.edu>
403 * textmodes/reftex-vars.el (reftex-auto-recenter-toc): Fix typo.
405 2003-08-11 Stefan Monnier <monnier@cs.yale.edu>
407 * bookmark.el (bookmark-completing-read):
408 Return a string, instead of a list of one string.
409 Use a popup menu if activated from the mouse.
410 (bookmark-edit-annotation): Remove unused vars.
411 (bookmark-jump, bookmark-relocate, bookmark-insert-location)
412 (bookmark-rename, bookmark-insert, bookmark-delete): Adjust calls
413 to bookmark-completing-read.
414 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
415 (bookmark-bmenu-mark, bookmark-bmenu-select, bookmark-bmenu-unmark)
416 (bookmark-bmenu-delete, bookmark-bmenu-list): Use inhibit-read-only
418 (bookmark-menu-delete, bookmark-menu-rename, bookmark-menu-locate)
419 (bookmark-menu-jump, bookmark-menu-insert)
420 (bookmark-popup-menu-and-apply-function)
421 (bookmark-menu-popup-paned-bookmark-menu): Remove.
422 (bookmark-menu-build-paned-menu): Remove by folding it into
423 bookmark-menu-popup-paned-menu.
424 (menu-bar-bookmark-map): Move the define-key statements here.
425 Use the "non-menu" commands since they now pop up a menu if needed.
426 (bookmark-exit-hook-internal): Simplify.
428 2003-08-11 Carsten Dominik <dominik@sand.science.uva.nl>
430 * textmodes/reftex.el: Updated to version 4.21
431 * reftex-auc.el: likewise.
432 * reftex-cite.el: likewise.
433 * reftex-dcr.el: likewise.
434 * reftex-global.el: likewise.
435 * reftex-index.el: likewise.
436 * reftex-parse.el: likewise.
437 * reftex-ref.el: likewise.
438 * reftex-sel.el: likewise.
439 * reftex-toc.el: likewise.
440 * reftex-vars.el: likewise.
442 2003-08-08 Vinicius Jose Latorre <viniciusjl@ig.com.br>
444 * progmodes/ebnf2ps.el (ebnf-total, ebnf-nprod): Move defvar before
447 2003-08-07 Vinicius Jose Latorre <viniciusjl@ig.com.br>
449 * progmodes/ebnf2ps.el (ebnf-begin-job): Code fix.
451 2003-08-06 Glenn Morris <gmorris@ast.cam.ac.uk>
453 * calendar/calendar.el (list-diary-entries-hook)
454 (diary-display-hook, nongregorian-diary-listing-hook)
455 (mark-diary-entries-hook, nongregorian-diary-marking-hook):
456 Add some customize options for these hooks.
457 (calendar-abbrev-construct): Don't try to take a substring longer
458 than the original string.
460 2003-08-05 Richard M. Stallman <rms@gnu.org>
462 * emacs-lisp/testcover.el (noreturn): Report error if does return.
463 (testcover-reinstrument-clauses): Doc fix.
465 * emacs-lisp/warnings.el: Doc fixes, args renamed.
466 (warning-type-format): Rename from warning-group-format.
468 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-var): New var.
469 (byte-compile-variable-ref): Handle byte-compile-not-obsolete-var.
470 (byte-compile-defvar): Bind byte-compile-not-obsolete-var
471 to prevent warnings about defvar for an obsolete variable.
473 * emacs-lisp/bytecomp.el (byte-compile-log-warning):
474 warning-group-format renamed to warning-type-format.
476 * subr.el (read-passwd): Use clear-string instead of fillarray.
478 * edmacro.el (edmacro-format-keys): Use edmacro-sanitize-for-string.
479 Use vconcat instead of concat.
480 (edmacro-sanitize-for-string): New function.
482 2003-08-05 Dave Love <fx@gnu.org>
484 * cus-start.el: Add open-paren-in-column-0-is-defun-start,
485 line-number-display-limit-width.
487 * textmodes/tex-mode.el (tex-dvi-view-command): Fix quoted quotes.
489 2003-08-05 Kenichi Handa <handa@m17n.org>
491 * international/code-pages.el: Don't require mule-diag.
493 * international/mule-diag.el (non-iso-charset-alist):
496 * language/devan-util.el (dev-glyph-order): Add an entry for the
499 2003-08-03 Glenn Morris <gmorris@ast.cam.ac.uk>
501 * calendar/calendar.el (diary-file, diary-file-name-prefix)
502 (european-calendar-style, diary-date-forms)
503 (calendar-day-name-array, calendar-month-name-array): Doc change.
504 (generate-calendar-month): Adapt for new behaviour of
505 `calendar-day-name' function.
506 (calendar-abbrev-length, calendar-day-abbrev-array)
507 (calendar-month-abbrev-array): New variables.
508 (calendar-abbrev-construct): New function.
509 (calendar-day-name, calendar-month-name): Use new abbrev arrays,
510 rather than fixing abbrevs at some width. Calling syntax change.
511 (calendar-make-alist): Use abbrev arrays. Calling syntax change.
512 (calendar-date-string): Adapt for new behaviours of
513 `calendar-day-name' and `calendar-month-name' functions.
515 * calendar/diary-lib.el (list-diary-entries): Adapt for new
516 behaviour of `calendar-day-name' and `calendar-month-name' functions.
517 (diary-name-pattern): Use abbrev arrays, rather than fixing
518 abbrevs at three chars. Calling syntax change.
519 (mark-diary-entries): Adapt for new behaviours of
520 `diary-name-pattern' and `calendar-make-alist' functions.
521 (fancy-diary-font-lock-keywords): Adapt for new behaviour of
522 `diary-name-pattern' function.
523 (font-lock-diary-date-forms): Use abbrev arrays, rather than
524 fixing abbrevs at three chars. Calling syntax change.
525 (cal-hebrew, cal-islam): Require when compiling.
526 (diary-font-lock-keywords): Adapt for new behaviour of
527 `font-lock-diary-date-forms' function.
529 * calendar/cal-hebrew.el: Reposition some code so defined before used.
530 (calendar-hebrew-month-name-array-common-year)
531 (calendar-hebrew-month-name-array-leap-year): Add doc strings.
532 (list-hebrew-diary-entries): Adapt for new behaviours of
533 `calendar-day-name' and `add-to-diary-list' functions.
534 (mark-hebrew-diary-entries): Adapt for new behaviours of
535 `diary-name-pattern' and `calendar-make-alist' functions.
537 * calendar/cal-islam.el (calendar-islamic-month-name-array):
539 (list-islamic-diary-entries): Adapt for new behaviours of
540 `calendar-day-name' and `add-to-diary-list' functions.
541 (mark-islamic-diary-entries): Adapt for new behaviours of
542 `diary-name-pattern' and `calendar-make-alist' functions.
544 * calendar/cal-menu.el (cal-menu-update): Adapt for new behaviour of
545 `calendar-month-name' function.
547 * calendar/cal-coptic.el (coptic-name): defvar rather than defconst.
549 * calendar/solar.el (solar-seasons-data): Move definition before use.
551 * calendar/cal-tex.el (cal-tex-day-name-format): Doc fix.
552 (cal-tex-LaTeX-hourbox): Move definition before use.
554 * calendar/cal-china.el, cal-hebrew.el, cal-islam.el,
555 cal-julian.el, cal-menu.el, cal-move.el, holidays.el,
557 (displayed-month, displayed-year): Define for compiler.
559 2003-08-03 Martin Stjernholm <bug-cc-mode@gnu.org>
561 * progmodes/cc-mode.el (c-init-language-vars-for): Add argument
562 MODE. Renamed from c-init-c-language-vars'.
563 (c-initialize-cc-mode): Change accordingly.
564 (c-common-init): Ditto.
566 (c++-mode): Use function.
573 2003-08-03 Martin Stjernholm <bug-cc-mode@gnu.org>
575 * progmodes/cc-engine.el (c-end-of-current-token): Return whether
576 or not the point moved.
578 (c-search-decl-header-end): Don't trip up on operator identifiers
579 in C++ and operators like == in all languages.
581 * progmodes/cc-engine.el (c-backward-to-decl-anchor):
582 Detect leading labels correctly.
584 2003-08-02 Andreas Schwab <schwab@suse.de>
586 * textmodes/ispell.el: Don't redo key bindings on loading, put
587 them only in loaddefs.el.
588 * bookmark.el: Likewise.
589 * dabbrev.el: Likewise.
590 * emerge.el: Likewise.
592 * apropos.el (apropos-words-to-regexp): Only add `wild' if `words'
593 has more than one member.
595 * progmodes/sh-script.el (sh-mode): Don't set mode-class property.
597 2003-08-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
599 * lpr.el (printify-region): It was ending conversion before the
600 expected position. Reported by Keiichi Suzuki <keiichi@nanap.org>.
602 2003-07-31 John Paul Wallington <jpw@gnu.org>
604 * net/browse-url.el (browse-url-epiphany): Doc fix.
606 2003-07-30 Kenichi Handa <handa@m17n.org>
608 * international/fontset.el (setup-default-fontset):
609 Change registry names of Akurti fonts.
611 2003-07-29 Jesper Harder <harder@ifa.au.dk> (tiny change)
613 * comint.el (comint-read-noecho): Use `clear-string' instead of
616 2003-07-29 Thomas W Murphy <twm@andrew.cmu.edu> (tiny change)
618 * outline.el (outline-mode-hook): Add defvar.
620 2003-07-28 Nick Roberts <nick@nick.uklinux.net>
622 * gdb-ui.el (gdb-setup-windows, gdb-restore-windows):
623 Restore assembler in source window if that is what has been selected.
624 (menu): Add gdb-restore-windows to menu. Make gdba
625 specific menus only visible from gdba.
627 2003-07-28 Tak Ota <Takaaki.Ota@am.sony.com> (tiny change)
629 * progmodes/compile.el (compilation-environment): New user variable.
630 (compile-internal): Respect it.
632 2003-07-23 Masatake YAMATO <jet@gyve.org>
634 * progmodes/gud.el (gdb-script-font-lock-keywords):
635 Put `font-lock-function-name-face' on a symbol which includes
636 `-' like `hook-run'. Put font-lock-variable-name-face
637 on a symbol starting with $.
639 2003-07-27 Markus Rost <rost@math.ohio-state.edu>
641 * files.el (set-visited-file-name): Use truename for buffer-file-name.
643 2003-07-26 Markus Rost <rost@math.ohio-state.edu>
645 * vc-hooks.el (vc-file-not-found-hook): Doc fix.
647 2003-07-26 Andre Spiegel <spiegel@gnu.org>
649 * vc-hooks.el (vc-default-registered, vc-make-version-backup):
650 Use with-no-warnings.
651 (vc-file-not-found-hook): Add this to find-file-not-found-functions,
652 rather than to find-file-not-found-hook, which doesn't exist.
654 2003-07-26 Markus Rost <rost@math.ohio-state.edu>
656 * international/quail.el (quail-translate-key): Fix previous change.
658 2003-07-25 John Paul Wallington <jpw@gnu.org>
660 * server.el (server-start): Check `server-process' is non-nil
661 before killing it to avoid killing current buffer's process.
663 * simple.el (choose-completion-string): Use `minibufferp';
664 test `completion-reference-buffer' if `buffer' arg is nil.
665 (push-mark): Use `when' and `unless'.
666 (pop-mark): Use `when'.
668 * mouse-sel.el (mouse-sel-get-selection-function):
669 Check `x-last-selected-text-primary'. Don't barf if it or
670 `x-last-selected-text' aren't bound.
672 2003-07-25 Kevin Rodgers <ihs_4664@yahoo.com> (tiny change)
674 * menu-bar.el (menu-bar-tools-menu): Minor change in strings.
676 2003-07-23 Stefan Monnier <monnier@cs.yale.edu>
678 * vc-svn.el (vc-svn-diff-switches): Don't default to vc-diff-switches.
680 2003-07-23 John Paul Wallington <jpw@gnu.org>
682 * tooltip.el (defface tooltip): Inherit from variable-pitch.
684 2003-07-23 Glenn Morris <gmorris@ast.cam.ac.uk>
686 * emacs-lisp/derived.el (define-derived-mode): Mention hook in doc
687 string. Defvar the derived hook.
689 * macros.el (insert-kbd-macro): Escape double quote character.
690 From Thomas W Murphy <twm@andrew.cmu.edu>.
692 2003-07-22 Stefan Monnier <monnier@cs.yale.edu>
694 * textmodes/fill.el (fill-comment-paragraph): Construct a regexp
695 to match the specific mark rather than reusing comment-start-skip.
697 2003-07-22 Thien-Thi Nguyen <ttn@gnu.org>
699 * progmodes/hideshow.el (hs-special-modes-alist):
700 Clarify MDATA-SELECTOR doc; nfc.
702 2003-07-21 Markus Rost <rost@math.ohio-state.edu>
704 * progmodes/idlwave.el (idlwave-comment-indent-char): Fix default
707 2003-07-21 John Paul Wallington <jpw@gnu.org>
709 * subr.el (with-selected-window): Add closing paren.
711 2003-07-21 Richard M. Stallman <rms@gnu.org>
713 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use run-mode-hooks.
714 (lisp-mode): Likewise.
716 * subr.el (with-selected-window): Copy code form save-selected-window
717 so as to call select-window with norecord arg.
718 (dynamic-completion-table): Doc fix.
719 (lazy-completion-table): Doc fix.
721 * international/mule-cmds.el (set-locale-environment):
722 langinfo renamed to locale-info.
724 * international/mule.el (auto-coding-functions): Doc fix.
726 2003-07-21 Kenichi Handa <handa@m17n.org>
728 * international/quail.el (quail-translate-key):
729 Update quail-current-str correctly.
731 2003-07-21 Andreas Schwab <schwab@suse.de>
733 * progmodes/sh-script.el (sh-mode-syntax-table): Change syntax of
736 2003-07-20 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
737 Version 2.0.36 of Tramp released.
739 * net/tramp.el (tramp-default-password-end-of-line): Rename from
740 tramp-password-end-of-line.
741 (tramp-password-end-of-line): New method parameter.
742 (tramp-get-password-end-of-line): Function to access method
743 parameter `tramp-password-end-of-line', or variable
744 `tramp-default-password-end-of-line' (default value).
745 (tramp-methods): Add entries for new parameter
746 tramp-password-end-of-line.
747 (tramp-enter-password): Use new function
748 `tramp-get-password-end-of-line'.
749 (tramp-handle-insert-file-contents): Do not
750 unconditionally inhibit the file operation file-local-copy, only
751 do that when the inhibit-file-name-operation is currently
752 insert-file-contents. This fixes finding remote CVS-controlled
753 files. (It would barf on inserting the CVS/Entries file
754 literally, because the file-local-copy handler wasn't called.)
755 (tramp-handle-shell-command): Support optional third arg ERROR-BUFFER.
756 (tramp-sh-extra-args): Adapt defcustom type to XEmacs.
757 (tramp-initial-commands): New variable.
758 (tramp-process-initial-commands): New function, using the variable.
759 (tramp-open-connection-setup-interactive-shell): Call the new function.
760 (tramp-buffer-name, tramp-debug-buffer-name): Always put the
761 method into the buffer name, never use nil. Reported by Hanak
762 David <dhanak@inf.bme.hu>.
763 (tramp-open-connection-setup-interactive-shell): Erase buffer
764 before sending "stty -onlcr".
766 * net/tramp-vc.el (vc-workfile-unchanged-p): Add comment.
768 2003-07-19 Markus Rost <rost@math.ohio-state.edu>
770 * textmodes/artist.el (artist-erase-char): Fix default value using ?\s.
772 2003-07-19 John Paul Wallington <jpw@gnu.org>
774 * textmodes/artist.el (artist-butlast-fn, artist-draw-sline)
775 (artist-draw-rect, artist-draw-square): Doc fixes.
777 * textmodes/enriched.el (enriched-decode-display-prop): Doc fix.
779 * textmodes/two-column.el (2C-mode-line-format): Doc fix.
781 2003-07-19 Kenichi Handa <handa@m17n.org>
783 * international/kkc.el (kkc-show-conversion-list-update):
784 Highlight the correct candidate in the message.
786 2003-07-18 John Paul Wallington <jpw@gnu.org>
788 * simple.el (current-word): Don't include punctuation char when
789 `really-word' arg is non-nil.
791 2003-07-17 Martin Stjernholm <bug-cc-mode@gnu.org>
793 * progmodes/awk-mode.el: Obsoleted by the AWK support in CC Mode -
794 moved to the directory obsolete.
796 2003-07-16 Stefan Monnier <monnier@cs.yale.edu>
798 * info.el (Info-menu-entry-name-re): Allow newlines in
801 * emacs-lisp/syntax.el (syntax-ppss-flush-cache): Rename from
802 syntax-ppss-after-change-function.
803 (syntax-ppss-after-change-function): New alias. Update uses.
804 (syntax-ppss): Catch the case where the buffer is narrowed.
806 2003-07-16 Martin Stjernholm <bug-cc-mode@gnu.org>
808 * progmodes/cc-defs.el (c-langelem-sym, c-langelem-pos)
809 (c-langelem-2nd-pos): Add accessor functions for syntactic elements.
811 2003-07-16 Martin Stjernholm <bug-cc-mode@gnu.org>
813 * progmodes/cc-engine.el (c-literal-faces): Declare as a variable
814 since it might be modified.
816 * progmodes/cc-langs.el (c++-make-template-syntax-table)
817 (c-syntactic-ws-start, c-syntactic-ws-end): Give more consistent
818 names to these language constants.
820 2003-07-15 Kim F. Storm <storm@cua.dk>
822 * apropos.el (apropos-sort-by-scores): Rename from apropos-show-scores.
825 2003-07-14 Mark A. Hershberger <mah@everybody.org>
827 * xml.el (xml-parse-tag, xml-parse-file, xml-parse-region):
830 2003-07-13 Juanma Barranquero <lektu@terra.es>
832 * frame.el (modify-all-frames-parameters): Reinstall (copyright
835 2003-07-13 Karl Eichwalder <ke@suse.de>
837 * textmodes/po.el (po-find-charset): White space at the start of the
838 Content-Type field body is non-mandatory.
840 2003-07-13 Masayuki Ataka <ataka@milk.freemail.ne.jp> (tiny change)
842 * textmodes/texinfo.el (texinfo-section-list):
843 Append appendixsection; a synonym for appendixsec.
845 2003-07-13 Jari Aalto <jari.aalto@poboxes.com>
847 * man.el (Man-translate-cleanup): New.
848 (Man-translate-references): Call `Man-translate-cleanup' to clean
849 leading, trailing and middle spaces.
851 2003-07-13 Lars Hansen <larsh@math.ku.dk>
853 * desktop.el (desktop-buffer-dired-misc-data, desktop-buffer-dired):
854 Handle `dired-directory' being a list.
856 2003-07-13 Jesper Harder <harder@ifa.au.dk> (tiny change)
858 * mail/smtpmail.el (smtpmail-send-it): Create smtpmail-queue-dir if
861 2003-07-12 Richard M. Stallman <rms@gnu.org>
863 * progmodes/cc-engine.el (c-declare-lang-variables): Don't use mapcan.
865 * progmodes/cc-defs.el (c-make-keywords-re):
866 Don't use delete-duplicates.
867 (c-lang-const): Don't use mapcan.
869 * apropos.el (apropos-show-scores): Make it customizable.
870 Document new meaning.
871 (apropos): Compute scores from symbols.
872 (apropos-print): Don't sort by scores if apropos-show-scores is nil.
874 2003-07-11 Vinicius Jose Latorre <viniciusjl@ig.com.br>
876 * ps-bdf.el: Fix copyright line.
877 (bdf-directory-list): Fix initialization code.
879 2003-07-11 John Paul Wallington <jpw@gnu.org>
881 * emacs-lisp/ring.el (ring-empty-p): Use `zerop'.
882 (ring-p, ring-plus1, ring-minus1, ring-length, ring-index)
883 (ring-empty-p, ring-size, ring-copy, ring-ref): Doc fixes.
885 2003-07-11 NAKAJIMA Mikio <minakaji@namazu.org> (tiny change)
887 * emacs-lisp/ring.el (ring-elements): Doc fix.
889 2003-07-11 Glenn Morris <gmorris@ast.cam.ac.uk>
891 * calendar/timeclock.el (timeclock-relative)
892 (timeclock-ask-before-exiting, timeclock-use-display-time):
894 (timeclock-modeline-display): Give a message if
895 `timeclock-use-display-time' is non-nil but `display-time-mode'
898 2003-07-11 Kenichi Handa <handa@m17n.org>
900 * international/mule-cmds.el (set-language-environment):
901 Set current-language-environment to the correct string.
903 2003-07-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
905 * ps-print.el: Print line number correctly in a region. Reported by
906 Tim Allen <timallen@ls83.fsnet.co.uk>
907 (ps-print-version): New version number (6.6.2).
908 (ps-printing-region): Code fix.
910 2003-07-10 John Paul Wallington <jpw@gnu.org>
912 * progmodes/etags.el (visit-tags-table-buffer): Add autoload cookie;
913 this function can be called from `add-completions-from-tags-table'.
915 2003-07-10 Glenn Morris <gmorris@ast.cam.ac.uk>
917 * calendar/timeclock.el (timeclock-use-display-time)
918 (timeclock-day-over-hook, timeclock-workday-remaining)
919 (timeclock-status-string, timeclock-when-to-leave)
920 (timeclock-when-to-leave-string, timeclock-log-data)
921 (timeclock-find-discrep, timeclock-day-base)
922 (timeclock-generate-report, timeclock-visit-timelog): Doc fix.
923 (timeclock-modeline-display): Set the variable
924 `timeclock-modeline-display'.
925 (timeclock-update-modeline): Doc fix. Respect value of
926 `timeclock-relative'.
928 2003-07-09 Richard M. Stallman <rms@gnu.org>
930 * textmodes/reftex-parse.el (reftex-all-document-files):
933 * textmodes/reftex.el (reftex-all-document-files): Delete autoload.
934 (reftex-scanning-info-available-p): Add autoload cookie.
936 * international/mule-cmds.el (set-display-table-and-terminal-coding-system):
937 Delete duplicate aset on standard-display-table.
939 * view.el (view-file): If existing buffer's major mode is special,
940 don't go into view mode.
942 * dired.el (dired-move-to-filename-regexp): Allow quote in months.
944 2003-07-08 Martin Stjernholm <bug-cc-mode@gnu.org>
946 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not do hidden
947 buffer changes; there's third party code that calls this function
950 2003-07-08 Martin Stjernholm <bug-cc-mode@gnu.org>
952 * progmodes/cc-fonts.el (javadoc-font-lock-keywords)
953 (autodoc-font-lock-keywords): Don't byte compile on font lock
954 initialization when running from byte compiled files.
956 2003-07-08 Alan Mackenzie <bug-cc-mode@gnu.org>
958 * progmodes/cc-engine.el: Fix AWK mode indentation when previous
959 statement ends with auto-increment "++".
961 2003-07-08 Martin Stjernholm <bug-cc-mode@gnu.org>
963 * progmodes/cc-langs.el, progmodes/cc-styles.el (c-style-alist)
964 (c-lang-variable-inits, c-lang-variable-inits-tail): The values of
965 these are changed, so declare them as variables and not constants.
967 2003-07-08 Markus Rost <rost@math.ohio-state.edu>
969 * subr.el (dolist, dotimes): Doc fix.
971 2003-07-08 Kim F. Storm <storm@cua.dk>
973 * international/mule-cmds.el (set-display-table-and-terminal-coding-system):
974 Don't break bootstrap if standard-display-table isn't setup yet.
976 2003-07-07 Richard M. Stallman <rms@gnu.org>
978 * ehelp.el (ehelp-command): Use defalias to define ehelp-command.
979 Give it a doc string, and autoload it.
981 * desktop.el (desktop-buffer-info, desktop-buffer-mh):
982 Use with-no-warnings.
984 * info.el (Info-search): If find invisible text, search again.
986 * isearch.el (search-whitespace-regexp): Add a shy group around it.
988 * man.el (Man-name-regexp): Match + as part of name.
990 * simple.el (visible-mode): Rename from vis-mode.
991 (vis-mode-saved-buffer-invisibility-spec): Doc fix.
993 * simple.el (current-word): New arg REALLY-WORD specifies
994 don't include punctuation chars.
996 * emacs-lisp/debug.el (debug, debugger-env-macro):
997 Use with-no-warnings while accessing and binding unread-command-char.
999 * international/mule-cmds.el (set-display-table-and-terminal-coding-system):
1000 Use explicit loop instead of calling standard-display-default.
1002 * net/ange-ftp.el (ange-ftp-file-symlink-p):
1003 Use condition-case to catch error in ange-ftp-get-files.
1005 * net/browse-url.el (browse-url-browser-function):
1006 Add alternative for Epiphany.
1007 (browse-url-epiphany-program, browse-url-epiphany-arguments)
1008 (browse-url-epiphany-startup-arguments)
1009 (browse-url-epiphany-new-window-is-tab): New variables.
1010 (browse-url-epiphany, browse-url-epiphany-sentinel): New functions.
1012 * progmodes/compile.el (compile-auto-highlight): Default now t.
1014 (compilation-next-error): Fix previous change.
1016 * textmodes/tex-mode.el (tex-main-file): Use with-no-warnings.
1018 * textmodes/sgml-mode.el (xml-mode): Add autoload cookie.
1020 2003-07-07 Nick Roberts <nick@nick.uklinux.net>
1022 * gdb-ui.el (gdb-source-info): Display current frame when
1023 attaching to an existing process.
1024 (gdb-setup-windows, gdb-source-info): Start with gud-comint-buffer
1025 while laying out windows when attaching to an existing process.
1027 2003-07-07 Stefan Monnier <monnier@cs.yale.edu>
1029 * info.el (Info-menu): Use Info-menu-entry-name-re.
1031 2003-07-06 Stefan Monnier <monnier@cs.yale.edu>
1033 * vc-hooks.el (vc-stay-local, vc-stay-local-p): Move from vc.el.
1034 * vc.el (vc-stay-local, vc-stay-local-p): Move to vc-hooks.el.
1036 * info.el (Info-menu-entry-name-re): Be careful to avoid multiple ways
1037 to match the same text.
1039 2003-07-06 John Paul Wallington <jpw@gnu.org>
1041 * vc.el (vc-annotate-offset): Move defvar up.
1043 2003-07-06 Kim F. Storm <storm@cua.dk>
1045 * info.el (Info-menu-entry-name-re): Add `:' to second [] part.
1046 This should fix the infinite loop when extracting menu names.
1048 2003-07-05 Martin Stjernholm <bug-cc-mode@gnu.org>
1050 * files.el (auto-mode-alist, interpreter-mode-alist):
1051 Remove entries to CC Mode modes to avoid duplicates; they are now added
1052 with autoload directives in cc-mode.el.
1054 2003-07-05 Martin Stjernholm <bug-cc-mode@gnu.org>
1056 * progmodes/cc-langs.el, progmodes/cc-styles.el (c-style-alist)
1057 (c-lang-variable-inits, c-lang-variable-inits-tail): The values of
1058 these are changed, so declare them as variables and not constants.
1060 * progmodes/cc-mode.el: Fix some autoload problems: Try to
1061 ensure that the entry for ".c" extension comes before the one for
1062 ".C" on `auto-mode-alist', to behave better on case insensitive OS:es.
1063 Fix incorrect entries that were added to `interpreter-mode-alist'.
1064 Move the autoload directives for AWK to the top level since they
1065 aren't recognized anywhere else. Do not use the new AWK mode doc
1066 in the autoload form for the old AWK mode.
1068 2003-06-30 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
1070 * textmodes/bibtex.el (bibtex-sort-entry-class): New entry catch-all.
1071 (bibtex-sort-ignore-string-entries): Default value t.
1072 (bibtex-entry-kill-ring-max): Reintroduce as it was removed
1073 erroneously in previous version.
1074 (bibtex-string-files): Docstring reflects new parsing scheme.
1075 (bibtex-autokey-transcriptions): Merge some rewrite entries, fix
1076 docstring, add # as one of the chars to crush
1077 (bibtex-autokey-prefix-string, bibtex-autokey-names)
1078 (bibtex-autokey-names-stretch, bibtex-autokey-additional-names)
1079 (bibtex-autokey-name-change-strings)
1080 (bibtex-autokey-name-case-convert, bibtex-autokey-name-length)
1081 (bibtex-autokey-name-separator, bibtex-autokey-year-length)
1082 (bibtex-autokey-use-crossref, bibtex-autokey-titlewords)
1083 (bibtex-autokey-title-terminators)
1084 (bibtex-autokey-titlewords-stretch)
1085 (bibtex-autokey-titleword-ignore)
1086 (bibtex-autokey-titleword-case-convert)
1087 (bibtex-autokey-titleword-abbrevs)
1088 (bibtex-autokey-titleword-abbrevs)
1089 (bibtex-autokey-titleword-change-strings)
1090 (bibtex-autokey-titleword-length)
1091 (bibtex-autokey-titleword-separator)
1092 (bibtex-autokey-name-year-separator)
1093 (bibtex-autokey-year-title-separator)
1094 (bibtex-autokey-before-presentation-function)
1095 (bibtex-entry-type-history, bibtex-entry-maybe-empty-head):
1097 (bibtex-strings, bibtex-reference-keys):
1098 Use lazy-completion-table and make-variable-buffer-local.
1099 (bibtex-sort-entry-class-alist): Use downcase, account for catch-all.
1100 (bibtex-braced-string-syntax-table)
1101 (bibtex-quoted-string-syntax-table): New variables.
1102 (bibtex-parse-nested-braces): Remove.
1103 (bibtex-parse-field-string): Use syntax table and forward-sexp.
1104 (bibtex-parse-association): Simplify.
1105 (bibtex-parse-field-name): Obey bibtex-autoadd-commas.
1106 (bibtex-parse-field-text): Simplify.
1107 (bibtex-search-forward-field, bibtex-search-backward-field):
1108 argument BOUND can take value t.
1109 (bibtex-start-of-field, bibtex-start-of-name-in-field)
1110 (bibtex-end-of-name-in-field, bibtex-end-of-field)
1111 (bibtex-start-of-text-in-field, bibtex-end-of-text-in-field)
1112 (bibtex-start-of-text-in-string, bibtex-end-of-text-in-string)
1113 (bibtex-end-of-string, bibtex-type-in-head): Use defsubst.
1114 (bibtex-skip-to-valid-entry): Return buffer position of beginning
1115 and ending of entry. Update for changes of bibtex-search-entry.
1117 (bibtex-map-entries): FUN is called with three arguments.
1118 (bibtex-search-entry): Return a cons pair with buffer positions of
1119 beginning and end of entry.
1120 (bibtex-enclosing-field): Simplify.
1121 (bibtex-format-entry): Use booktitle to set a missing title.
1122 (bibtex-autokey-get-names): Fiddle with regexps.
1123 (bibtex-generate-autokey): Use identity.
1124 (bibtex-parse-keys): Use simplified parsing algorithm if
1125 bibtex-parse-keys-fast is non-nil. Simplify. Change order of
1126 arguments. Return alist of keys.
1127 (bibtex-parse-strings): Simplify. Return alist of strings.
1128 (bibtex-complete-string-cleanup): Fix docstring.
1129 (bibtex-read-key): New function.
1130 (bibtex-mode): Fix docstring. Do not parse for keys and
1131 strings when the mode is entered. Set fill-paragraph-function to
1132 bibtex-fill-field. Setup font-lock-mark-block-function the way
1134 (bibtex-entry): Use bibtex-read-key. Obey bibtex-autofill-types.
1135 (bibtex-parse-entry, bibtex-autofill-entry): New functions.
1136 (bibtex-print-help-message, bibtex-remove-OPT-or-ALT)
1137 (bibtex-Preamble): Avoid hard coded constants.
1138 (bibtex-make-field): Fix docstring. Simplify.
1139 (bibtex-beginning-of-entry): Always return new position of point.
1140 (bibtex-end-of-entry): Rearrange cond clauses.
1141 (bibtex-count-entries, bibtex-validate, bibtex-reformat):
1142 Update for changes of bibtex-map-entries.
1143 (bibtex-ispell-abstract): Do not move point.
1144 (bibtex-entry-index): Use downcase. Simplify.
1145 (bibtex-lessp): Handle catch-all.
1146 (bibtex-find-crossref): Turn into a command.
1147 (bibtex-find-entry): Simplify. Use bibtex-read-key. Fix regexp.
1148 (bibtex-clean-entry): Use bibtex-read-key. Handle string and
1150 (bibtex-fill-field-bounds): New function.
1151 (bibtex-fill-field): New command. Bound to fill-paragraph-function.
1152 (bibtex-fill-entry): Use bibtex-fill-field-bounds
1153 (bibtex-String): Use bibtex-strings. Always obey
1154 bibtex-sort-ignore-string-entries.
1156 2003-07-05 John Paul Wallington <jpw@gnu.org>
1158 * cus-theme.el (customize-create-theme):
1159 Call `customize-create-theme' in Reset widget's notify function.
1161 * ibuffer.el (ibuffer-backward-line, ibuffer-forward-line)
1162 (ibuffer-mark-interactive): Use `or' instead of `unless'.
1163 (define-ibuffer-column name): Add summarizer.
1164 (define-ibuffer-column size): Likewise.
1165 (define-ibuffer-column filename): Likewise.
1166 (define-ibuffer-column process): Likewise. Change BODY's output too.
1167 (define-ibuffer-column filename-and-process): Likewise, likewise.
1168 (ibuffer): Remove local vars `already-in' and `need-update'.
1170 * ibuf-ext.el: Don't require `derived' at compile-time.
1172 2003-07-05 Kim F. Storm <storm@cua.dk>
1174 * info.el: Disable paragraph refilling.
1175 (Info-refill-paragraphs): New defcustom.
1176 (Info-fontify-node): Use it.
1178 2003-07-04 Stefan Monnier <monnier@cs.yale.edu>
1180 * emacs-lisp/cl-macs.el (cl-transform-lambda): Strip &cl-defs
1181 thingies from constructors created by defstruct.
1183 * emacs-lisp/bytecomp.el (byte-compile-defvar): Check and set
1184 the default value of the variable.
1185 (byte-code-meter): Move declaration to top level.
1187 * pcvs-parse.el (cvs-parse-status): Ignore extra fields from CVSNT.
1189 * info.el (Info-following-node-name-re): New fun.
1190 (Info-following-node-name): Remove.
1191 (Info-insert-dir): Use the new fun.
1192 (Info-extract-pointer): Don't save restriction; use new fun.
1193 (Info-menu-entry-name-re): New const.
1194 (Info-menu-entry-name-re): Use it along with new fun.
1195 (Info-node-spec-re): Use new fun.
1196 (Info-complete-menu-item, Info-fontify-node): Use new const.
1197 (Info-goto-node, Info-follow-reference, Info-menu-update):
1199 (Info-follow-reference): Use assoc-string.
1200 Use a list of strings for the completion table.
1201 (Info-fontify-node): Use match-string, line-end-position.
1202 Limit the search for `node:' to the first line.
1204 * newcomment.el (uncomment-region): Remove padding coming from
1205 comment-start rather than just from comment-padding.
1207 * vc-cvs.el (vc-cvs-repository-hostname): New operation.
1208 (vc-cvs-stay-local-p): Use vc-stay-local-p.
1209 (vc-cvs-rename-file): Remove (use the default).
1210 (vc-cvs-register): Register parent dir if needed.
1211 (vc-cvs-could-register): Return non-nil if parent can be registered.
1212 (vc-cvs-state, vc-cvs-dir-state, vc-cvs-print-log, vc-cvs-diff)
1213 (vc-cvs-diff-tree, vc-cvs-make-version-backups-p): Use vc-stay-local-p.
1215 * vc-svn.el (vc-svn-use-edit): Make it into a const.
1216 (vc-svn-update): Fix the arguments to `svn'.
1217 (vc-svn-diff-tree): Just use `vc-svn-diff'.
1218 (vc-svn-create-snapshot, vc-svn-retrieve-snapshot):
1219 Simple implementations, assuming `name' is a URL.
1221 * progmodes/sh-script.el (sh-font-lock-paren): Add [ and ] to the
1222 set of chars allowed unquoted in a case pattern.
1224 * font-core.el (font-lock-defaults-alist): Remove obsolete entries.
1226 * font-lock.el (font-lock-extra-types-widget)
1227 (c-font-lock-extra-types, c++-font-lock-extra-types)
1228 (objc-font-lock-extra-types, java-font-lock-extra-types)
1229 (c-font-lock-keywords-1, c-font-lock-keywords-2, c-font-lock-keywords)
1230 (c-font-lock-keywords-3, c-font-lock-syntactic-face-function)
1231 (font-lock-match-c++-style-declaration-item-and-skip-to-next)
1232 (font-lock-match-c++-structor-declaration)
1233 (c++-font-lock-keywords-1, c++-font-lock-keywords-2)
1234 (c++-font-lock-keywords-3, c++-font-lock-keywords)
1235 (objc-font-lock-keywords-1, objc-font-lock-keywords-2)
1236 (objc-font-lock-keywords-3, objc-font-lock-keywords)
1237 (java-font-lock-keywords-1, java-font-lock-keywords-2)
1238 (java-font-lock-keywords-3, java-font-lock-keywords)
1239 (java-font-lock-syntactic-face-function): Remove obsolete code
1240 and constants. It's all in cc-fonts.el now.
1242 2003-07-04 Glenn Morris <gmorris@ast.cam.ac.uk>
1244 * mail/sendmail.el (mail-specify-envelope-from)
1245 (mail-envelope-from): Doc fix.
1247 2003-07-04 Martin Stjernholm <mast@lysator.liu.se>
1249 * generic-x.el: Do away with the dependency on `c-emacs-features'
1250 when populating `rul-generic-mode-syntax-table'; we already know
1253 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1255 * progmodes/cc-menus.el (cc-imenu-init): Do not set
1256 `imenu-create-index-function' if the second argument is left
1257 out. This bug broke the imenu support in C, C++ and Java modes.
1259 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1261 * progmodes/cc-engine.el, progmodes/cc-align.el
1262 (c-add-stmt-syntax, c-lineup-arglist)
1263 (c-lineup-arglist-close-under-paren): Fixes to cope with
1264 special brace lists in Pike.
1266 2003-07-03 Alan Mackenzie <bug-cc-mode@gnu.org>
1268 * progmodes/cc-mode.el: awk-mode: Call c-awk-after-change to
1269 ensure syntax-table props at loading.
1271 * progmodes/cc-fonts.el: Put (cc-require-when-compile 'cc-awk)
1272 to eliminate compile-time errors.
1274 2003-07-03 Alan Mackenzie <bug-cc-mode@gnu.org>
1276 * progmodes/cc-awk.el, progmodes/cc-engine.el: Add code to
1277 analyze AWK top-level forms properly (c-guess-basic-syntax
1278 CASE 5P), c-awk-backward-syntactic-ws.
1280 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1282 * progmodes/cc-fix.el: cc-mode-19.el has been renamed to
1283 progmodes/cc-fix.el since it now contains compatibility stuff
1284 for later versions than (X)Emacs 19.
1286 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1288 * progmodes/cc-langs.el (c-paren-nontype-kwds): New language constant.
1290 (c-other-decl-kwds, c-postfix-decl-spec-kwds): Add compiler
1291 specific declspec keywords: __attribute__ for gcc and
1292 __declspec for msvc.
1294 * progmodes/cc-fonts.el (c-font-lock-declarations)
1295 (c-complex-decl-matchers): Support specifiers in a couple more
1296 contexts to cope with msvc '__declspec'.
1298 * progmodes/cc-engine.el (c-forward-keyword-clause):
1299 Support `c-paren-nontype-kwds'.
1301 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1303 * progmodes/cc-langs.el (c-primary-expr-regexp): Don't match a
1304 bare period as a float.
1306 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1308 * progmodes/cc-bytecomp.el (cc-bytecomp-setup-environment):
1309 Do not cover functions that have been bound.
1311 (cc-external-require): New macro to use for requiring external
1312 packages, to handle the environment correctly.
1314 * progmodes/cc-defs.el, progmodes/cc-fix.el,
1315 progmodes/cc-fonts.el, progmodes/cc-mode.el: Replaced external
1316 require's with `cc-external-require'.
1318 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1320 * progmodes/cc-engine.el (c-beginning-of-member-init-list)
1321 (c-guess-basic-syntax): Fixes in handling of bitfields.
1323 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1325 * progmodes/cc-langs.el (comment-end): Put a space in front of
1326 the comment ender in C, as it was before the move from cc-mode.el.
1328 2003-07-03 Alan Mackenzie <bug-cc-mode@gnu.org>
1330 * progmodes/cc-fonts.el: Do not load progmodes/cc-awk.elc or
1331 awk-font-lock-keywords unless there is an AWK Mode buffer.
1333 2003-07-03 Alan Mackenzie <bug-cc-mode@gnu.org>
1335 * progmodes/cc-awk.el: New file that implements AWK support,
1336 superseding the old separate derived mode in awk-mode.el.
1338 * progmodes/cc-vars.el, cc-mode-19.el, progmodes/cc-langs.el,
1339 progmodes/cc-mode.el, progmodes/cc-defs.el,
1340 progmodes/cc-engine.el, progmodes/cc-fonts.el: Changes for the
1343 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1345 * progmodes/cc-engine.el, progmodes/cc-langs.el
1346 (c-decl-block-key, c-search-uplist-for-classkey): Check that
1347 the modifier is followed by "{" in Pike before considering it
1348 to start a class-like block.
1350 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1352 * progmodes/cc-mode.el (c-initialize-cc-mode): Add some
1353 compatibility to make this function behave somewhat more as
1354 documented for derived modes. It's still not enough to make
1355 the old AWK mode behave reasonably, but it's been like this a
1356 long time now so fixing it more might cause trouble
1359 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1361 * progmodes/cc-fonts.el (c-remove-font-lock-face): New macro
1362 to remove a font lock face properly (especially in XEmacs).
1364 * progmodes/cc-bytecomp.el (cc-bytecomp-obsolete-fun):
1365 Add the same kludge as in `cc-bytecomp-obsolete-var' to avoid a
1366 confused compiler warning.
1368 * progmodes/cc-engine.el (c-forward-type): Fix a bug in the
1369 handling of concatenated types when the component types are known.
1371 * progmodes/cc-fonts.el (c-constant-face-name): Add face name variable
1372 to avoid the use of `font-lock-constant-face' for constants in
1373 emacsen that doesn't have it.
1375 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1377 * progmodes/cc-styles.el, progmodes/cc-vars.el,
1378 progmodes/cc-cmds.el: Fixes for the syntactic symbols for
1379 module and composition blocks.
1381 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1383 * progmodes/cc-mode.el (c-basic-common-init):
1384 Use `open-paren-in-column-0-is-defun-start' if it exists and works.
1386 * progmodes/cc-vars.el (c-emacs-features): Add `col-0-paren'
1387 to detect when `open-paren-in-column-0-is-defun-start' exists
1390 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1392 * progmodes/cc-align.el (c-lineup-argcont, c-lineup-gcc-asm-reg):
1393 Don't quote nil in docstrings.
1395 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1397 * progmodes/cc-vars.el, progmodes/cc-langs.el
1398 (c-primitive-type-kwds, c-font-lock-extra-types): "complex"
1399 and "imaginary" aren't keywords in C99, only macros that
1400 expand to the keywords "_Complex" and "_Imaginary", so make
1401 the former a bit less hardcoded by putting it on
1402 `c-font-lock-extra-types' instead. There are also "bool" and
1403 "_Bool" that work the same way.
1404 (c-constant-kwds): "false" and "true" are standard constant
1407 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1409 * progmodes/cc-menus.el, progmodes/cc-langs.el,
1410 progmodes/cc-engine.el, progmodes/cc-fonts.el,
1411 progmodes/cc-cmds.el: Fixed various regexps to use POSIX char
1412 classes when that is supported.
1414 * progmodes/cc-defs.el (c-alpha, c-alnum, c-digit, c-upper, c-lower):
1415 New constants to make it easier to create regexps
1416 that use POSIX char classes in emacsen that support them.
1418 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1420 * progmodes/cc-vars.el (c-emacs-features): Detect in the
1421 regexp engine understands POSIX char classes.
1423 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1425 * progmodes/cc-mode.el (c-after-change): Add kludge for bug
1426 where this function sometimes gets positions outside the
1429 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1431 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
1432 Better handling of paretheses in unexpected places.
1434 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Fix a
1435 regexp match order problem that could cause empty template
1436 args on the form "<>" to be missed.
1438 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1440 * progmodes/cc-engine.el (c-parse-state): Add kludge to
1441 avoid an infinite loop when Emacs' open-paren-in-column-zero
1442 rule kicks in and causes the sexp functions to misbehave.
1444 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1446 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
1447 Fix bug when C++-like code is encountered in non-C++ mode.
1449 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1451 * progmodes/cc-defs.el (c-make-keywords-re): Add option to
1452 specify the language to look up `c-nonsymbol-key' in.
1454 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1456 * progmodes/cc-cmds.el, progmodes/cc-engine.el
1457 (c-auto-newline-analysis): New dynamically bound variable to
1458 turn off the topmost-intro-cont/statement-cont kludge for
1459 brace lists during the analysis for the auto newline feature.
1460 This fixes some cases where the setting for `brace-list-open'
1461 on `c-hanging-braces-alist' didn't have any effect.
1463 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1465 * progmodes/cc-langs.el (c-literal-start-regexp): Yet another
1468 * progmodes/cc-fonts.el (c-font-lock-doc-comments)
1469 (c-find-invalid-doc-markup, javadoc-font-lock-keywords):
1470 Fix fontification of the markup in Javadoc comments.
1472 * progmodes/cc-engine.el: Fixes in face handling to cope with
1475 (c-find-decl-spots): More failsafe skipping of comments and
1476 strings that only have been partially fontified.
1478 * progmodes/cc-defs.el (c-got-face-at): New subst to test
1479 faces at positions easier.
1481 * progmodes/cc-defs.el (c-safe-scan-lists): New wrapper macro
1482 to avoid the warnings with too many args to `scan-lists' in Emacs.
1484 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1486 * progmodes/cc-engine.el (c-syntactic-skip-backward):
1487 New function to make syntactic searches in the backward direction
1490 (c-beginning-of-statement-1): Optimize skipping over large paren
1493 (c-safe-position): Remove the odd macro handling which was
1494 centered around the point instead of the passed position.
1496 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1498 * progmodes/cc-engine.el (c-in-knr-argdecl): Do not trip up on
1499 initialization expressions.
1501 * progmodes/cc-align.el (c-lineup-arglist)
1502 (c-lineup-close-paren, c-lineup-arglist-close-under-paren):
1503 Tune the "macro block" heuristics to work better in nested
1506 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1508 * progmodes/cc-styles.el (c-set-offset): Don't find a default
1509 syntactic element through syntactic analysis if called outside
1512 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1514 * progmodes/cc-mode.el (c-basic-common-init):
1515 Install `c-fill-paragraph' on `fill-paragraph-function'.
1516 Although it's not the normal way to call it in a CC Mode buffer it
1517 makes a direct call to `fill-paragraph' work better.
1519 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1521 * progmodes/cc-vars.el, progmodes/cc-mode.el
1522 (c-require-final-newline): Make this variable an alist to
1523 specify a value for each language. The default value causes
1524 `require-final-newline' to be set to t only in languages where
1525 the standard requires a final newline.
1527 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1529 * progmodes/cc-mode.el, progmodes/cc-vars.el
1530 (c-require-final-newline): Add a variable to make the
1531 initialization of `require-final-newline' more configurable.
1533 * progmodes/cc-vars.el (c-mode-common-hook): Do not change the
1534 format string to "CC Mode Common Hook" since that causes
1535 confusion (although it is a more accurate name).
1537 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1539 * progmodes/cc-fonts.el (javadoc-font-lock-keywords)
1540 (autodoc-font-lock-keywords): Support for Javadoc and Pike
1541 Autodoc doc comments.
1543 * progmodes/cc-vars.el (c-doc-comment-style): New variable to
1544 control the fontification of documentation comments on top of
1545 the normal mode font lock.
1547 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1549 * progmodes/cc-langs.el, progmodes/cc-fonts.el
1550 (c-primary-expr-regexp, c-font-lock-declarations): Avoid false
1551 recognition of parens as casts when they are followed by an
1552 operator that is both prefix and infix.
1554 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1556 * progmodes/cc-cmds.el (c-guess-fill-prefix): Tune the
1557 heuristics of when to use `c-block-comment-prefix' for an
1558 unclosed block comment.
1560 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1562 * progmodes/cc-engine.el, progmodes/cc-langs.el
1563 (c-nonsymbol-sexp-kwds, c-forward-keyword-clause):
1564 Handle keywords like "extern" that can be followed by e.g. a string
1567 * progmodes/cc-defs.el (c-make-keywords-re): Make a regexp
1568 correctly with one submatch when adorn is set and the list is empty.
1570 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1572 * progmodes/cc-fonts.el (c-font-lock-declarations): Fix a
1573 search that could go far past the relevant region and cause
1574 slowness. Do not limit the declaration detection to the
1575 fontified region since that can cause misfontification in
1576 multiline declarations.
1578 * progmodes/cc-engine.el (c-find-decl-spots): Add limit
1579 argument to handle declarations spanning the fontification
1582 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1584 * progmodes/cc-engine.el (c-in-literal, c-literal-limits)
1585 (c-literal-limits-fast, c-beginning-of-inheritance-list):
1586 Use the paren cache instead of the impaired ad hoc in
1587 `beginning-of-defun', so that these functions doesn't trip up
1588 on "{" in the first column inside strings or comments.
1590 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1592 * progmodes/cc-vars.el (c-hanging-braces-alist):
1593 Add `statement-cont' and made it auto newline free by default.
1595 * progmodes/cc-cmds.el (c-electric-brace):
1596 Add `statement-cont' to the list of syntactic symbols to consider
1597 for auto newlines since it can be used for in-statement brace lists.
1599 * progmodes/cc-vars.el (c-emacs-features): There's no need to
1600 have this constant autoloaded.
1602 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1604 * progmodes/cc-fonts.el (c-font-lock-declarations):
1605 Use `c-recognize-typeless-decls' to avoid fontifying some macro
1606 constructs as declarations in languages where a preceding type
1609 * progmodes/cc-langs.el (c-recognize-typeless-decls):
1610 New language variable.
1612 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1614 * progmodes/cc-align.el (c-lineup-close-paren):
1615 Use `c-syntactic-eol' when checking if the open paren ends its line.
1617 * progmodes/cc-langs.el (c-syntactic-eol): Handle a line
1618 continuation backslash.
1620 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1622 * progmodes/cc-align.el (c-snug-do-while): Compatibility fix
1623 for changed structure in `c-syntactic-context'.
1625 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1627 * progmodes/cc-engine.el (c-parse-state): Filter angle bracket
1628 arglist parens in a better way than disabling the syntax table
1629 properties completely.
1631 * progmodes/cc-fonts.el (c-cpp-matchers): Handle line
1632 continuations in cpp expressions. Do not fontify symbols after
1633 #ifdef etc as variables since that isn't consistent with how
1634 the face is used elsewhere (i.e. only for the definition of
1637 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1639 * progmodes/cc-mode.el: Add autoload directives for the
1640 interface functions in cc-langs.
1642 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1644 * progmodes/cc-fonts.el (c-font-lock-declarations): Add a
1645 property to handle refontication in multiline declaration
1647 (c-font-lock-<>-arglists): Fix to handle recursive template
1648 arglists better. (As a side effect this will make
1649 fontification work better in older emacsen too.)
1651 * progmodes/cc-engine.el (c-forward-<>-arglist)
1652 (c-remove-<>-arglist-properties): Use a common text property
1653 `c-type' for all sorts of CC Mode char classification, to
1654 avoid cases when then same char is given conflicting types.
1655 (c-forward-<>-arglist): New reparse argument to control that
1657 (c-forward-name, c-forward-type): Changes in the handling of
1658 recursive template arglists. Fixes to cope with the new 'known
1659 type classification.
1661 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1663 * progmodes/cc-mode.el (c-basic-common-init): Add the new
1664 char property `c-type' to `text-property-default-nonsticky'.
1666 * progmodes/cc-defs.el (c-put-char-property)
1667 (c-get-char-property, c-clear-char-property)
1668 (c-clear-char-properties): Generalize `c-put-char-syntax' and
1669 `c-get-char-syntax' to handle any property.
1671 * progmodes/cc-bytecomp.el (cc-bytecomp-defun): Fix bug that
1672 caused existing function definitions to be overridden by
1673 phonies when the bytecomp environment is restored.
1675 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1677 * progmodes/cc-cmds.el (c-mask-paragraph): Masking is
1678 necessary in normal code too to avoid getting a fill prefix
1679 from a nearby comment. Change the name from `c-mask-comment'
1680 to a more accurate one.
1682 * progmodes/cc-defs.el, progmodes/cc-mode.el: Change the
1683 auto-load-alist strategy to not add entries on package load,
1684 to be defensive in the case that autoloads are updated in
1685 older emacsen. The bug that would occur in that case would
1686 probably be rather nasty for the average user.
1688 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1690 * progmodes/cc-fonts.el (c-font-lock-declarations):
1691 Fine tuning of the decision tree that tells declarations from
1692 expressions to produce better results in some ambiguous cases.
1694 * progmodes/cc-fonts.el (c-font-lock-syntactic-face-function):
1695 Remove since it doesn't give the control we want.
1696 (c-font-lock-invalid-string): Replacement for
1697 `c-font-lock-syntactic-face-function' that puts the error face
1698 on the string opener only, to avoid the annoying excessive use
1699 of the error face while a string literal is being written.
1700 (c-basic-matchers-before): Use `c-font-lock-invalid-string'.
1702 * progmodes/cc-engine.el (c-string-syntax)
1703 (c-string-limit-regexp): Add constants to use when handling
1704 string limits, since not all old emacsen react well to the "|"
1707 (c-literal-limits, c-literal-limits-fast, c-literal-type):
1708 Use `c-string-syntax' and `c-string-limit-regexp'. Replace some
1709 hardcoded comment start regexps with `c-comment-start-regexp'.
1711 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1713 * progmodes/cc-mode.el: Added an association for pike-mode on
1714 `intepreter-mode-alist'.
1716 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1718 * progmodes/cc-mode.el: Add the `auto-mode-alist' entries to
1719 the end instead of the start of the list, to avoid overriding
1720 user additions that are made before this file is loaded when
1721 the entries don't correspond to any already on `auto-mode-alist'.
1722 This is done through the third append argument to
1723 `add-to-alist'. That doesn't exist in older (X)Emacsen, so
1724 the function is advised in cc-defs. However, that advice
1725 doesn't help if the autoloads are updated in an old (X)Emacs
1726 with this version of CC Mode, but I believe it's unlikely that
1727 anyone does that when CC Mode isn't distributed with with it.
1729 * progmodes/cc-defs.el (add-to-list): Add advice to get the
1730 optional third append argument in older (X)Emacsen.
1732 * progmodes/cc-langs.el (c-keywords-obarray): Kludge for
1733 strange bug in Emacs that gives so odd errors that I frankly
1734 don't even muster to begin trying to narrow it down.
1735 If someone is so inclined, restore the commented code, byte
1736 compile, and try to open a C++ file or something in font lock mode.
1738 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1740 * progmodes/cc-langs.el: Update the IDL support from the
1741 specs. This also adds the keywords for the variants PSDL and
1742 CIDL. (This is mostly done from reading the grammars only;
1743 very lightly tested.)
1745 * progmodes/cc-langs.el (c-type-list-kwds): Add "new" in Java.
1747 * progmodes/cc-fonts.el: Make sure that
1748 `parse-sexp-lookup-properties' is properly insulated from
1749 clobbering by the font-lock package at all relevant entry points.
1751 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1753 * progmodes/cc-langs.el (c-opt-after-id-concat-key):
1754 New language constant to make the recognition of identifier
1755 qualifiers more flexible. Recognize the identifier before
1756 ".*" as a qualifier in Java.
1757 (c-identifier-key): Recognize "::*" inside identifiers in C++.
1758 Recognize identifiers ending with ".*" in Java for the sake of
1760 (c-type-list-kwds, c-ref-list-kwds): Recognize "import" and
1761 "package" declarations in Java.
1763 * progmodes/cc-vars.el (c-doc-face, c-doc-marker-face)
1764 (c-doc-markup-face): Remove since they aren't used (and
1767 * progmodes/cc-langs.el (c-ref-list-kwds): New language
1768 constant to specify keywords followed by references.
1769 (c-last-identifier-range): New variable to avoid going back to
1770 search for the identifier to font lock after a call to
1772 (c-type-prefix-kwds, c-type-list-kwds): Fix classification of
1773 "@interface" etc in Objective-C.
1775 * progmodes/cc-engine.el (c-forward-keyword-clause):
1776 Fix handling of keyword prefixes in `c-type-list-kwds' and
1777 `c-colon-type-list-kwds' clauses.
1778 (c-keyword-sym, c-keyword-member): New functions to lookup and
1779 categorize keywords.
1780 (c-forward-keyword-clause): New function to move over a keyword
1781 and its associated clause according to `c-<>-arglist-kwds' etc.
1783 * progmodes/cc-langs.el (c-typeless-decl-kwds)
1784 (c-type-list-kwds, c-colon-type-list-kwds)
1785 (c-colon-type-list-re, c-paren-type-kwds): New language
1786 constants and variables to generalize the recognition of
1787 various language constructs.
1788 (c-keywords): Did away with the list of `*-kwds' constants.
1789 It's now built through macro expansion.
1790 (c-keywords-obarray): New language variable which contains each
1791 keyword as a symbol, to make fast reverse lookup of keywords to
1792 the `*-kwds' lists they come from.
1794 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1796 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
1797 Add macro to be able to do direct evaluation in
1798 `c-lang-defconst' forms.
1800 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
1801 Fix a bug which could cause the point to end up outside the
1802 containing sexp if PAREN-LEVEL was used.
1804 * progmodes/cc-engine.el, progmodes/cc-fonts.el,
1805 progmodes/cc-langs.el: Generalize the C++ template arglist
1806 support to handle angle bracket arglists in any language.
1807 (c-recognize-<>-arglists, c-<>-arglist-kwds)
1808 (c-opt-<>-arglist-start): New language variables to control
1809 angle bracket arglists.
1810 (c-opt-type-suffix-key): Use `c-recognize-<>-arglists' in
1811 Objective-C instead of matching a protocol reference list as a
1814 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1816 * progmodes/cc-align.el (c-gnu-impose-minimum): Fix a missing
1817 `save-excursion' that caused the point to jump around.
1819 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1821 * progmodes/cc-mode.el, progmodes/cc-menus.el (objc-mode)
1822 (cc-imenu-init): Fix initialization bug that has made the
1823 Objective-C support inoperational since 5.26.
1824 (cc-imenu-objc-generic-expression): Update submatch indices
1825 due to changes in `cc-imenu-c++-generic-expression'.
1826 (cc-imenu-objc-function): Don't add an empty "C" menu since
1827 imenu doesn't like that.
1829 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1831 * progmodes/cc-align.el (c-lineup-arglist)
1832 (c-lineup-arglist-close-under-paren, c-lineup-close-paren):
1833 Add DWIM to the functions that line up at or after the
1834 arglist open paren to avoid that if there are brace blocks
1835 inside, e.g. when a macro contains a code block.
1837 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1839 * progmodes/cc-vars.el (objc-font-lock-extra-types):
1840 Change default to treat identifiers starting with capital letters as
1841 types, according to Objective-C naming conventions. The types
1842 previously on the list is part of the language and therefore
1843 on `c-primitive-type-kwds' instead.
1845 * progmodes/cc-fonts.el: Fix font locking in Objective-C.
1846 Be more careful about returning nil from functions used
1847 directly as font-lock matchers.
1849 * progmodes/cc-mode.el (c-font-lock-init): Make the syntax
1850 table modification element of `font-lock-defaults'
1851 parameterized over the languages.
1853 * progmodes/cc-langs.el: Update the Objective-C constants
1854 according to the language spec. The "@" chars that start
1855 directives are now considered part of the keywords to make
1858 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1860 * progmodes/cc-defs.el: (c-(up|down)-list-(forward|backward)):
1861 Make the position optional and added docstrings.
1863 (c-go-(up|down)-list-(forward|backward)): Add variants of the
1864 above that move point and return successfulness instead.
1866 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1868 * progmodes/cc-fonts.el (c-font-lock-<>-arglists):
1869 New function to fontify all occurrences of template arglists in C++.
1871 * progmodes/cc-engine.el (c-disallow-comma-in-<>-arglists):
1872 New variable to be able to avoid false recognition of template
1873 arglists in some cases.
1875 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1877 * progmodes/cc-fonts.el, progmodes/cc-langs.el
1878 (c-decl-prefix-re, c-font-lock-declarations): Match template
1879 open brackets to get a declaration in the first template argument.
1880 (c-complex-decl-matchers): Fontify the second type in a "class
1881 X = Y" expression in C++.
1883 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1885 * progmodes/cc-engine.el (c-forward-<>-arglist): Break out the
1886 recursive part to a new function to improve efficiency when a
1887 nested template arglist search turns out to be futile.
1889 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1891 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
1892 Improve to avoid false matches on e.g. "else if (foo)".
1894 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1896 * progmodes/cc-engine.el (c-forward-token-2)
1897 (c-backward-token-2): New functions that work like the -1
1898 variants but that handle multicharacter operator tokens.
1900 * progmodes/cc-engine.el (c-inside-bracelist-p)
1901 (c-guess-basic-syntax): Do away with the hardcoded regexps to
1902 recognize "typedef" declaration prefixes, "extern" and
1903 "namespace" blocks, "enum"-style brace list declarations and
1904 Java-style array initializers with "new".
1906 * progmodes/cc-langs.el (c-brace-list-decl-kwds)
1907 (c-brace-list-key, c-inexpr-brace-list-kwds)
1908 (c-opt-inexpr-brace-list-key): New language constants and
1909 variables to parameterize some more of the hardcoded regexps
1912 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1914 * progmodes/cc-align.el (c-lineup-cascaded-calls): Do not
1915 allow cascaded call lists containing both "->" and ".".
1917 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1919 * progmodes/cc-align.el, progmodes/cc-cmds.el,
1920 progmodes/cc-defs.el, progmodes/cc-engine.el,
1921 progmodes/cc-fonts.el, progmodes/cc-langs.el,
1922 progmodes/cc-mode.el, progmodes/cc-styles.el: New language
1923 variable system to make it easier to set up optimized language
1924 variables and to extend them in third party derived modes.
1925 cc-langs is no longer required at runtime.
1927 * progmodes/cc-mode.el (c-basic-common-init): No longer
1928 initializes the language variables. It's necessary that the
1929 caller does that directly since the evaluated values for them
1930 now get compiled in directly.
1931 (c-font-lock-init, c-common-init): Separate the font-lock
1932 initialization from `c-common-init'.
1934 * progmodes/cc-mode.el (c-define-abbrev-table): Do not
1935 override an existing abbrev table.
1936 (c-Java-defun-prompt-regexp): Move here from cc-langs since
1937 cc-langs isn't always loaded at runtime.
1939 * progmodes/cc-langs.el (c-make-init-lang-vars-fun)
1940 (c-init-language-vars): Change to allow language variable
1941 initialization from derived modes.
1942 (c-mode-menu): New language variable for the mode menu.
1943 (c-make-mode-syntax-table, c-mode-syntax-table)
1944 (make-c++-template-syntax-table): New language variables for syntax
1945 tables. The code that initializes them has been moved to cc-mode
1946 to make it possible to avoid loading cc-langs at runtime.
1948 * progmodes/cc-engine.el, progmodes/cc-langs.el
1949 (c-hungry-delete-key, c-auto-newline, c-auto-hungry-string):
1950 Move these state variables from cc-langs to cc-engine to make
1951 it possible to avoid loading cc-langs at runtime.
1953 * progmodes/cc-defs.el (c-lang-defconst, c-lang-const):
1954 Move from cc-langs and rewritten to make the language constant
1955 system usable from derived modes.
1957 (c-add-language): New function intended for use from derived modes
1958 that add new C-like languages.
1960 * progmodes/cc-defs.el, progmodes/cc-vars.el
1961 (c-buffer-is-cc-mode): Move from cc-vars to cc-defs to define
1962 it during compilation.
1964 * progmodes/cc-bytecomp.el (cc-require-when-compile):
1965 New support macro for compile time `require's.
1967 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1969 * progmodes/cc-defs.el, progmodes/cc-mode.el (c-version):
1970 Move from cc-mode to cc-defs to make it accessible to the
1973 * progmodes/cc-engine.el (c-forward-token-1, c-backward-token-1):
1974 Compatibility fix for emacsen that doesn't understand generic
1977 * progmodes/cc-vars.el (c-emacs-features): Add detection of
1978 generic string and comment delimiters.
1980 * progmodes/cc-defs.el, progmodes/cc-langs.el
1981 (c-make-keywords-re): Change interface to make it more extensible.
1983 * progmodes/cc-langs.el, progmodes/cc-defs.el (c-regexp-opt)
1984 (c-regexp-opt-depth, c-make-keywords-re): Move from cc-langs
1985 to cc-defs since they are generally useful.
1987 * progmodes/cc-bytecomp.el, progmodes/cc-defs.el
1988 (cc-eval-when-compile): Move from cc-bytecomp to cc-defs to
1989 allow use at runtime.
1991 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1993 * progmodes/cc-bytecomp.el (cc-eval-when-compile):
1994 Workaround for a bug with nested `eval-when-compile' in XEmacs 21.
1996 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
1998 * progmodes/cc-mode.el: Added autoloaded forms to install the
1999 appropriate file suffixes on `auto-mode-alist'. Necessary in
2000 XEmacs 21.5, and it can be useful elsewhere too.
2002 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2004 * progmodes/cc-align.el (c-lineup-cascaded-calls): Handle "."
2005 too, for use in Java.
2007 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2008 Do not handle cpp directives in languages that doesn't have any.
2010 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2012 * progmodes/cc-langs.el (c-operators): Add a high level description
2013 of all operators, along with their precedence and associativity.
2015 * progmodes/cc-align.el (c-lineup-multi-inher): Fix bug
2016 where the position of the point and not the beginning of the
2017 line was used to calculate the indentation.
2019 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2021 * progmodes/cc-defs.el, progmodes/cc-engine.el
2022 (c-backward-single-comment, c-backward-comments): Add kludge
2023 for the bug in `forward-comment' in most (X)Emacs versions
2024 where it moves back over the "*/" of a block comment if
2025 there's no matching "/*". This has become more important now
2026 since it can cause incorrect caching by `c-backward-sws'.
2028 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2030 * progmodes/cc-cmds.el (c-hungry-backspace)
2031 (c-hungry-delete-forward): New functions to do hungry deletion
2032 regardless of hungry-delete mode. Contributed by Kevin Ryde.
2034 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws)
2035 (c-invalidate-sws-region): Use text properties to cache regions
2036 with complex syntactic whitespace. This helps a lot in
2037 improving responsiveness when there are lots of comments and
2038 cpp directives before point.
2040 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2042 * progmodes/cc-guess.el, progmodes/cc-langs.el,
2043 progmodes/cc-menus.el, progmodes/cc-mode.el,
2044 progmodes/cc-styles.el, progmodes/cc-vars.el,
2045 progmodes/cc-engine.el, progmodes/cc-fonts.el,
2046 progmodes/cc-cmds.el, progmodes/cc-defs.el: Introduce a
2047 classification of functions into those that make "hidden
2048 buffer changes" and those who don't. This is prompted by the
2049 increasing use of text properties for various things, to
2050 correctly cover the silly buffer modifications that is caused
2051 by text property changes.
2052 (c-save-buffer-state): New macro that's put around any code that
2053 can manipulate text properties.
2055 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2057 * progmodes/cc-mode.el (c-basic-common-init):
2058 Setup `text-property-default-nonsticky' to avoid messing with the
2059 rear-nonsticky property on each character in Emacs 21.
2061 * progmodes/cc-defs.el (c-clear-char-syntax, c-put-char-syntax):
2062 Macros that sets and removes the
2063 syntax-table property on a single character and makes the
2064 property nonsticky in both directions in a suitable way for
2065 each (X)Emacs flavor.
2067 * progmodes/cc-vars.el, progmodes/cc-defs.el,
2068 progmodes/cc-engine.el, progmodes/cc-mode.el:
2069 Use `lookup-syntax-properties' in XEmacs to control whether the
2070 syntax-table property has any effect or not.
2072 (c-parse-sexp-lookup-properties): New macro that expands to either
2073 `parse-sexp-lookup-properties' or `lookup-syntax-properties'.
2075 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2077 * progmodes/cc-defs.el, progmodes/cc-engine.el,
2078 progmodes/cc-fonts.el: Put the faces into the buffer in the
2079 same way as the font-lock package does. This fixes a
2080 compatibility problem with XEmacs which sets an extra
2083 * progmodes/cc-fonts.el (c-put-font-lock-face): A macro that
2084 finds out the right way to put font lock faces at compile
2085 time. We're definitely not byte code portable between Emacs
2088 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2089 Implement a cache for the last large skipped over syntactic
2090 whitespace. This also has most effect after many macros.
2092 * progmodes/cc-engine.el, progmodes/cc-defs.el
2093 (c-forward-syntactic-ws, c-backward-syntactic-ws): Utilize the
2094 limit better when one is passed. These are now macros to
2095 avoid a little overhead when no limit is given.
2096 (c-forward-sws, c-backward-sws): New functions called by the
2097 macros above to do the unbounded search.
2099 * progmodes/cc-fonts.el (c-font-lock-declarations):
2100 Implement a cache for the first backward search for a
2101 preceding `c-decl-prefix-re' match. This typically speeds up
2102 interactive refontification a lot on the top level of macro
2105 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2107 * progmodes/cc-vars.el (c-emacs-features): Add check for
2108 syntax text properties.
2110 * progmodes/cc-mode.el (c-basic-common-init): Turn on
2111 `parse-sexp-lookup-properties' if it's supported. Define the
2112 variable in any case since it's used at runtime to check on this.
2114 * progmodes/cc-langs.el (c-identifier-key): Support C++
2116 (c-identifier-start, c-op-token-regexp, c-type-modifier-kwds)
2117 (c-opt-type-modifier-key, c-opt-type-component-key)
2118 (c-typedef-specifier-kwds, c-typedef-specifier-key)
2119 (c-paren-stmt-kwds, c-paren-stmt-key, c-syntactic-ws-start):
2120 A bunch of new language constants and variables to support the
2121 improved handling of names and types.
2123 * progmodes/cc-fonts.el (c-font-lock-declarators)
2124 (c-font-lock-declarations): Handle C++ template declarations
2125 and template references. Fontify complex types and names more
2126 accurately by delegating it to `c-forward-type' and
2127 `c-forward-name'. Fontify the identifiers in typedef
2128 declarations as types.
2130 * progmodes/cc-engine.el (c-forward-<>-arglist): New function
2131 to move forward over a C++ template arglist. It also marks
2132 the '<' and '>' chars with paren syntax using the syntax-table
2133 property, to speed up later calls in emacsen that support
2134 syntax text properties (Emacs >= 20 and (undocumented) XEmacs 21).
2135 This also has the very interesting effect that if font locking
2136 is used with decoration level 3 or higher in these emacsen
2137 then template arglists will behave just like paren sexps with
2138 the various sexp movement commands.
2139 (c-forward-name): New function to move over a name. Simple in
2140 most languages except C++ where a name can contain template
2141 arglists and therefore almost arbitrary expressions.
2142 (c-on-identifier): Fix for Pike operator identifiers.
2143 (c-simple-skip-symbol-backward, c-syntactic-content)
2144 (c-remove-<>-paren-properties): New helper functions.
2146 * progmodes/cc-defs.el: (c-clear-char-syntax)
2147 (c-mark-paren-open, c-mark-paren-close): New support functions
2148 to handle syntactic properties on C++ template arglist brackets.
2149 (c-put-type-face, c-put-reference-face): Helpers to put faces on
2150 regions, since there are a bit of that inside `c-forward-name' etc
2151 in progmodes/cc-engine.el.
2153 * progmodes/cc-engine.el, progmodes/cc-fonts.el,
2154 progmodes/cc-langs.el: Fix the names on a number of regexp
2155 language variables to conform to the nomenclature and
2156 shortened some names.
2158 * progmodes/cc-align.el, progmodes/cc-cmds.el,
2159 progmodes/cc-fonts.el, progmodes/cc-engine.el
2160 (c-syntactic-re-search-forward): Remove the COUNT argument
2161 since it's never used. Add an argument to tell which
2162 subexpression whose end should be tested for syntactic
2163 relevance. Using this also removes some optimizations, so
2164 that it's possible to use a look behind subexpression that
2165 matches the end of a literal or a close paren when PAREN-LEVEL
2168 (c-guess-continued-construct): Don't match <<= or >>= for the
2169 stream-op syntactic element.
2171 * progmodes/cc-defs.el (c-paren-re, c-identifier-re):
2172 Remove these helper macros since better and more correct tools are
2173 now available in progmodes/cc-langs.el.
2175 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2177 * progmodes/cc-align.el (c-lineup-string-cont): New lineup
2178 function to line up string literals that will be concatenated.
2180 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2182 * progmodes/cc-langs.el (c-populate-syntax-table):
2183 XEmacs classifies the hard space character as a symbol character
2184 but it's better to let it be in the punctuation class so that it's
2185 always highlighted with the inverted invalid face. It can
2186 perhaps be argued that that character is allowed in
2187 identifiers in some languages (haven't checked), but using it
2188 would still be extremely confusing.
2190 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2192 * progmodes/cc-engine.el (c-beginning-of-statement-1): Fix a
2193 case when a labeled substatement caused incorrect association
2194 of the following continuation clause.
2196 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
2197 Handle the case when the syntactic match position is in the
2198 middle of a comment starter.
2200 (c-guess-continued-construct): Analyze the "K&R region" of a
2201 function nested inside a function as func-decl-cont and not
2202 statement-cont. New case E. Also clean up case C (stream-op
2205 * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
2206 Move the check on `c-state-cache-start' from
2207 `c-check-state-cache' to `c-parse-state' so that the state
2208 cache isn't zapped if `c-check-state-cache' but not
2209 `c-parse-state' is called during a temporary narrowing.
2210 This fixes a performance problem that could occur when
2211 `fill-paragraph' is used in font lock mode on a comment at the
2212 end of a large class or function.
2214 (c-state-cache-start): Fix buffer localness.
2216 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2218 * progmodes/cc-langs.el: Updates from the C99 standard (or
2219 actually from the latest web accessible draft of it).
2221 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2223 * progmodes/cc-langs.el: Update the keywords and operator
2224 tokens from the latest C++ and Java standards. Some other
2225 multichar token corrections.
2227 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2229 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
2230 progmodes/cc-vars.el (c-syntactic-context)
2231 (c-syntactic-element): Do not bind any values to these
2232 variables globally since they should always be dynamically
2233 bound. This makes it much easier to debug cases when they've
2234 gotten global values somehow.
2236 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2238 * progmodes/cc-langs.el (c-regexp-opt): Fix to work around the
2239 non-greedy behavior that the regexp engine sometimes exposes.
2240 This bug only shows in (X)Emacs 19 where there's no regexp-opt package.
2242 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
2243 Add a feature to filter out matches in the middle of tokens.
2244 Changed the comment to a docstring since I consider this
2245 function generally useful.
2247 * progmodes/cc-defs.el (c-mode-symbol): Break out a part of
2250 * progmodes/cc-align.el (c-lineup-cascaded-calls)
2251 (c-lineup-gcc-asm-reg): Cope with that `c-most-enclosing-brace'
2254 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2256 * progmodes/cc-engine.el (c-found-types, c-clear-found-types)
2257 (c-add-type, c-check-type, c-add-complex-type)
2258 (c-list-found-types, c-forward-type): Add a sort of symbol
2259 table for types: If a name is recognized as a type in a
2260 declaration it's added in an obarray to be able to recognize
2261 it in other ambiguous declarations.
2263 (c-remove-ws): New helper function to canonicalize fully
2264 qualified identifiers for `c-found-types'.
2266 * progmodes/cc-defs.el (c-mode-var): New defsubst to access
2267 mode prefixed variables uniformly.
2269 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2271 * progmodes/cc-align.el (c-lineup-arglist-close-under-paren):
2272 Work correctly with nested arglist-cont-nonempty symbols.
2274 (c-lineup-arglist-operators): New lineup function to line up infix
2275 operators under the open paren of the surrounding sexp.
2277 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2279 * progmodes/cc-engine.el (c-forward-syntactic-ws): Fix a bug
2280 that could cause an infinite loop if something that looks like
2281 a macro begins in the middle of a line.
2283 (c-parse-state): Fix a bug that could cause `c-state-cache'
2284 to contain two conses in sequence when there's an unbalanced
2285 open paren in a macro.
2287 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2289 * progmodes/cc-defs.el (c-face-name-p): A defsubst to
2290 recognize the name of a face in a way that works also in XEmacs.
2292 * progmodes/cc-engine.el (c-forward-type): New function to
2293 move past a type spec.
2295 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
2296 Fix behavior when the limit is reached inside a comment,
2299 * progmodes/cc-align.el, progmodes/cc-cmds.el,
2300 progmodes/cc-engine.el (c-forward-single-comment,
2301 c-forward-comments, c-backward-single-comment,
2302 c-backward-comments): New replacements for `c-forward-comment'
2303 that wraps `forward-comment' more efficiently in each of the
2304 four different cases it's actually used. These replacements
2305 also treats line continuations as whitespace.
2307 (c-forward-comment): Remove. The four different cases above
2308 are basically different, so it's better to make them into
2309 separate functions than choose between them at runtime using
2312 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2314 * progmodes/cc-align.el (c-gnu-impose-minimum): Fix bug due
2315 to the new placement of cpp-macro and comment-intro in the
2316 syntactic context, as pointed out by Kevin Ryde. Change the
2317 method that decides whether point is inside a top-level
2318 construct to one that doesn't depend on the set of syntactic
2321 * progmodes/cc-defs.el (c-point): Use the functions
2322 `line-beginning-position' and `line-end-position' in emacsen
2323 that have them (currently Emacs 20 and later).
2325 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2327 * progmodes/cc-cmds.el (c-mask-comment): Fix a bug that
2328 sometimes caused code after a closed block comment to be taken
2329 into account when the fill prefix is calculated.
2331 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2333 * progmodes/cc-align.el (c-lineup-arglist, c-lineup-argcont)
2334 (c-lineup-math, c-lineup-cascaded-calls, c-lineup-gcc-asm-reg):
2335 Fixes to cope correctly with nested arglists for the lineups
2336 that can be used with arglist-cont-nonempty.
2338 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2340 * progmodes/cc-engine.el (c-add-stmt-syntax, c-guess-basic-syntax):
2341 Change the anchor position of
2342 arglist-cont-nonempty and arglist-close so that a relative
2343 indentation like + can be used with consistent results.
2344 Prior to this, the indentation engine more or less assumed that
2345 arglist-cont-nonempty always used `c-lineup-arglist'.
2346 Those two syntax symbols also get the opening paren as an extra
2347 position, to make it possible for `c-lineup-arglist' to
2348 continue to do a proper job.
2350 * progmodes/cc-engine.el (c-get-syntactic-indentation):
2351 A vector with an absolute indentation column now only overrides
2352 the indentation for surrounding structures, i.e. those whose
2353 syntactic elements are earlier in the `c-syntactic-context'
2354 list, but not nested ones. This so that
2355 e.g. `c-lineup-arglist' can reliably line up with the first
2356 argument but still allow relative indentation changes for
2357 nested things, e.g. the arglist-close of a nested argument
2358 list. This change means that the order in
2359 `c-syntactic-context' has become more essential.
2360 (c-guess-basic-syntax): Changes to make the nesting order of the
2361 returned syntax list correct.
2363 Compatibility note: This change means that `c-lineup-dont-change'
2364 now (again) isn't absolutely sure to keep the current indentation.
2365 However, I believe that most people use it for comments, macros
2366 and string literals, and since those are nested innermost it won't
2369 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2371 * progmodes/cc-align.el, progmodes/cc-defs.el,
2372 progmodes/cc-engine.el, progmodes/cc-vars.el
2373 (c-guess-basic-syntax, c-calc-offset)
2374 (c-get-syntactic-indentation, c-syntactic-context):
2375 Extend the representation of the syntactic context: Previously it was
2376 a list containing cons cells of the found syntactic symbols
2377 and their relpos values. Now each element is instead a list
2378 containing the syntactic symbol in the first element and the
2379 relpos (if any) in the second. After that there might be more
2380 elements, depending on the syntactic symbol. The line-up
2381 functions get these additional elements as extra arguments.
2383 This change is slightly incompatible. Although the calling
2384 convention for line-up functions is strictly extended, the format
2385 of the `c-syntactic-context' variable has changed slightly. It's
2386 believed that this incompatibility is minor, though; not a single
2387 line-up function distributed with CC Mode needed to be changed,
2390 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2392 * progmodes/cc-styles.el (c-set-style, c-set-style-1):
2393 Add another state for the `dont-override' flag where it only keeps
2394 globally set variables.
2396 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2398 * progmodes/cc-mode.el (c-postprocess-file-styles): Do nothing
2399 except in CC Mode modes.
2401 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2403 * progmodes/cc-vars.el, progmodes/cc-fonts.el,
2404 progmodes/cc-langs.el, progmodes/cc-mode.el: Add font lock support.
2406 * progmodes/cc-engine.el (c-beginning-of-syntax): New function
2407 to be used for font-lock-beginning-of-syntax-function.
2408 It uses the state cache to quickly find a good position.
2410 * progmodes/cc-defs.el (c-major-mode-is): Allow a list of
2411 modes. Made it a macro ensure that it's optimized to either
2412 eq or memq for constant arguments.
2414 * progmodes/cc-mode.el (c-common-init): Do away with the
2415 hardcoded setting of `comment-column'; it's a user variable
2416 that we have no business meddling with. Since the default
2417 value for it is 32 in all supported (X)Emacs versions, it's
2418 also safe from a compatibility perspective.
2420 * progmodes/cc-mode.el (c-basic-common-init): New function
2421 that contains only the syntax and line breaking/filling
2422 initialization. It's intended for use by other modes that
2425 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2427 * progmodes/cc-engine.el (c-add-stmt-syntax): Fix some cases
2428 of wrong anchoring, e.g. for else-if compounds.
2430 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2432 * progmodes/cc-engine.el (c-guess-basic-syntax): Fix anchor
2433 position for defun-open in K&R style functions.
2435 * progmodes/cc-engine.el (c-in-knr-argdecl): Don't trip up on macros.
2437 (c-search-decl-header-end): Handle C++ template arguments more
2440 (c-beginning-of-decl-1): Fix when the declaration is first in a macro.
2442 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2444 * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
2445 to handle protection labels, one which doesn't get confused by
2448 (c-end-of-decl-1): Don't treat functions that have "class" or
2449 "struct" in the return type as classes or structs.
2451 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2453 * progmodes/cc-langs.el (c-make-keywords-re): Fix the
2454 keyword adornment so that it works when a keyword ends with "_".
2456 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2458 * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
2459 from `c-do-auto-fill' and point is at or near the limit of the
2460 comment. Fix bug when the prefix from `c-guess-fill-prefix'
2461 is longer than the text on the first line of the comment when
2464 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
2466 * progmodes/cc-cmds.el (c-mask-comment): Fix bug where point
2467 was moved to the following line when it was at the first line
2468 of a block comment where comment-start-skip matched to eol.
2470 2003-07-01 Luc Teirlinck <teirllm@mail.auburn.edu>
2472 * info.el (Info-fontify-menu-headers): Only fontify `* Menu:' at
2473 the beginning of a line.
2474 (Info-extract-menu-node-name): Correctly initialize while loop.
2475 (Info-scroll-prefer-subnodes): Change default to nil.
2477 * simple.el (vis-mode): Update documentation string to reflect
2480 2003-06-30 Richard M. Stallman <rms@gnu.org>
2482 * loadup.el (pure-space-overflow): Set it if overflow.
2484 * startup.el (pure-space-overflow): New variable.
2485 (fancy-splash-screens-1): Display warning if overflow.
2486 (normal-splash-screen): Likewise.
2488 * vc.el (vc-default-show-log-entry): Use with-no-warnings.
2490 * subr.el (lazy-completion-table, dynamic-completion-table):
2493 2003-06-28 Richard M. Stallman <rms@gnu.org>
2495 * menu-bar.el (menu-bar-options-menu): Move mouse-set-fonts item here.
2497 * international/mule-cmds.el (mule-menu-keymap):
2498 Delete mouse-set-fonts item here.
2500 2003-06-29 Nick Roberts <nick@nick.uklinux.net>
2502 * gdb-ui.el (gdb-display-number-end): Don't re-initialise local
2503 variables to preserve array slices.
2504 (gdb-array-slice): Rename gdb-mouse-array-slice.
2505 (gdb-array-slice): Interactive function bound to "\r" for text
2507 (gdb-view-source): Rename gdb-view-source-function.
2508 Set uninitialised variables (defvars) to nil.
2510 2003-06-29 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
2512 * international/mule-cmds.el
2513 (set-display-table-and-terminal-coding-system): Remove CVS
2514 conflict markers and some code.
2516 2003-06-27 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
2518 * international/mule-cmds.el (menu-bar-options-menu):
2519 Move `mouse-set-fonts' here from Options/Mule submenu.
2521 2003-06-26 Stephen Eglen <stephen@gnu.org>
2523 * iswitchb.el (iswitchb-read-buffer): Remove redundant variable
2524 iswitchb-prepost-hooks.
2525 (iswitchb-xemacs): Delete variable and use (featurep 'xemacs)
2526 and fboundp instead.
2527 (iswitchb-completions): Remove two redundant arguments and local
2528 variables. (All above from Stefan Monnier).
2530 2003-06-20 Masatake YAMATO <jet@gyve.org>
2532 * progmodes/asm-mode.el (asm-font-lock-keywords):
2533 Support labels starting with "." and directives starting with ".".
2535 2003-06-22 Andreas Schwab <schwab@suse.de>
2537 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2538 Avoid variable as format argument for error.
2539 Don't call symbol-name on string.
2541 * eshell/esh-opt.el (eshell-do-opt): Avoid variable as format
2544 * simple.el (vis-mode): Doc fix.
2546 2003-06-22 Glenn Morris <gmorris@ast.cam.ac.uk>
2548 * calendar/diary-lib.el (diary-check-diary-file): New function.
2549 (diary, view-diary-entries, show-all-diary-entries)
2550 (mark-diary-entries): Use it.
2551 (view-other-diary-entries): Doc fix. Use `prefix-numeric-value'.
2552 (diary-syntax-table, diary-attrtype-convert, diary-mail-days): Doc fix.
2553 (diary-modified, d-file): No need to defvar (for compiler).
2554 (list-diary-entries): No need for `let*' so use `let'.
2555 (simple-diary-display): Use `diary-file' directly rather than
2556 inheriting `d-file' from `list-diary-entries' caller.
2557 (make-fancy-diary-buffer, show-all-diary-entries):
2558 `mode-line-format' already buffer-local.
2559 (diary-mail-addr): Set to the empty string (rather than nil) if
2560 undefined, as per `user-mail-address'.
2561 (diary-mail-entries): Doc fix. Error if `diary-mail-address' unset.
2562 (mark-sexp-diary-entries): Don't regexp-quote sexp-mark twice.
2563 Remove an un-needed `if'.
2564 (list-sexp-diary-entries): Remove local vars mark and s-entry, and
2565 use `let' rather than `let*'.
2566 (diary-date, insert-monthly-diary-entry)
2567 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
2568 (insert-block-diary-entry, insert-cyclic-diary-entry)
2569 (font-lock-diary-date-forms): No need for `let*' so use `let'.
2570 (make-diary-entry): Doc fix. Use `or' rather than `if'.
2571 (diary-font-lock-keywords): Use `when'. `cal-islam' is required
2572 feature, not `cal-islamic'.
2573 `calendar-islamic-month-name-array-leap-year' does not exist - use
2574 `calendar-islamic-month-name-array'.
2576 2003-06-21 Kenichi Handa <handa@m17n.org>
2578 * international/utf-16.el: Many name changes: utf-16-{be,le} ->
2580 (mule-utf-16-le, utf-16-le, mule-utf-16-be, utf-16-be): New coding
2581 system aliases for backward compatibility.
2583 * international/utf-7.el: Adjusted for the name change:
2584 xxx-utf-16-{le,be} -> xxx-utf-16{le,be}.
2586 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
2587 Adjust for the name change: xxx-utf-16-{le,be} ->
2590 * international/mule-conf.el: Adjusted for the name change:
2591 xxx-utf-16-{le,be} -> xxx-utf-16{le,be}.
2593 * international/mule-cmds.el (reset-language-environment):
2594 Adjust for the name change: xxx-utf-16-{le,be} ->
2597 2003-06-20 Luc Teirlinck <teirllm@mail.auburn.edu>
2599 * vc.el (vc-rename-file): Fix typo.
2601 2003-06-19 Andreas Schwab <schwab@suse.de>
2603 * info.el (Info-fontify-node): Improve calculation of other-tag.
2605 2003-06-19 Stefan Monnier <monnier@cs.yale.edu>
2607 * progmodes/cc-mode.el (c-mode): Reverting last change.
2609 2003-06-18 Stefan Monnier <monnier@cs.yale.edu>
2611 * progmodes/gud.el (gud-find-expr-function): Rename from gud-find-expr.
2612 (gud-find-fortran-expr): Move to fortran.el.
2614 * progmodes/fortran.el (fortran-gud-find-expr): Move from gud.el
2615 where it was called gud-find-fortran-expr.
2616 (fortran-mode): Set gud-find-expr-function.
2618 2003-06-18 Nick Roberts <nick@nick.uklinux.net>
2620 * gdb-ui.el (gud-display1): Keep the gdb command, "display", in
2621 the command history.
2622 (gdb-restore-windows): Make restore work when gdb-many-windows
2624 (gdb-source-info, gdba): Display assembler if there is no symbol
2625 table for main, or message if there is no main.
2626 (gdb-assembler-custom): Move point to current line of assembler.
2628 * progmodes/gud.el (gud-menu-map): Add dbx support for "run" and
2630 (dbx): Define gud-nexti and gud-run.
2631 (gud-find-expr, gud-find-fortran-expr): New functions.
2632 (gud-find-expr): New variable.
2633 (gud-find-c-expr): Simplify.
2635 * progmodes/fortran.el (fortran-gud-syntax-table): Syntax table
2636 for parsing Fortran expressions for gud-print. (Stefan Monnier)
2637 (fortran-mode): Add local variable gud-find-expr.
2639 * progmodes/cc-mode.el (c-mode): Add local variable gud-find-expr.
2641 2003-06-18 Stefan Monnier <monnier@cs.yale.edu>
2643 * subr.el (looking-back): Handle the case of non-trivial regexps.
2644 Add an optional `limit' argument.
2645 (push, pop, with-temp-file, with-temp-message, delay-mode-hooks)
2646 (with-syntax-table): Add edebug info.
2648 2003-06-17 Stefan Monnier <monnier@cs.yale.edu>
2650 * simple.el (kill-new): Leave yank-handler property alone if no
2651 explicit yank-handler is specified.
2652 (vis-mode-saved-buffer-invisibility-spec): Rename from
2653 saved-buffer-invisibility-spec.
2654 (vis-mode): Correctly handle the case where the mode is turned on
2655 or off several times in a row.
2657 2003-06-17 Luc Teirlinck <teirllm@mail.auburn.edu>
2659 * info.el (Info-fontify-node): Give only the last whitespace
2660 character after the node name the display property. Give all
2661 other such whitespace the invisibility property.
2663 2003-06-17 Pinku Surana <surana@rcn.com>
2665 * progmodes/sql.el: Add support for SQLite interpreter.
2667 2003-06-17 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
2669 Version 2.0.35 of Tramp released.
2671 * net/tramp.el (tramp-password-end-of-line): Use "xy" with plink.
2672 (tramp-completion-function-alist): Add completion function for
2673 "remcp", "remsh" and "plink1".
2674 Factor out the `regular' file name handling via a remote shell of
2675 some sort into a specific function. Intent is to later put that
2676 part of Tramp into a special file, so that the Tramp `core' is
2677 just a dispatcher that dispatches to various handlers.
2678 (tramp-sh-file-name-handler): New function.
2679 (tramp-foreign-file-name-handler-alist): New default value.
2680 Call tramp-sh-file-name-handler as default case.
2681 (tramp-file-name-handler): Do not invoke the old remote-shell handler.
2682 (tramp-find-foreign-file-name-handler): Return after first match
2683 is found. From Francis Litterio <franl@world.std.com>.
2684 (tramp-handle-file-newer-than-file-p): `tramp-time-diff' returns
2685 integer, not list. Do not apply `car' to the return value of
2686 `tramp-time-diff'. Reported by David D. Smith
2687 <ultrasoul@ultrasoul.com>.
2688 (tramp-time-diff): Convert return value of subtract-time to a
2689 number of seconds in a correct manner, by applying float-time or
2690 time-to-seconds. Also correct compat code accordingly.
2691 The XEmacs branch for itimer-time-difference didn't need correction,
2692 it returned a float already. Reported by David D. Smith
2693 <ultrasoul@ultrasoul.com>.
2694 (tramp-handle-insert-file-contents): When calling
2695 `file-local-copy', let-bind `inhibit-file-name-operation'
2696 accordingly. This makes sure that jka-compr is not called when
2697 `insert-file-contents-literally' is invoked. From Katsumi Yamaoka
2699 (tramp-do-copy-or-rename-via-buffer): Avoid calling jka-compr when
2700 writing the target file.
2701 (tramp-foreign-file-name-handler-alist): Add comment about default
2702 value having to come last.
2703 (tramp-handle-file-local-copy, tramp-handle-write-region): Add the
2705 (tramp-handle-copy-file): Set file modes of target file.
2706 (tramp-handle-file-local-copy)
2707 (tramp-do-copy-or-rename-via-buffer): Use binary coding system,
2708 instead of no-conversion. They are the same on Emacs but
2709 different on XEmacs.
2710 (tramp-shell-prompt-pattern): Allow multiple escape
2711 sequences (each with optional trailing space).
2714 * net/tramp-util.el:
2715 * net/tramp-efs.el: Use iso-2022-7bit encoding with coding cookie
2716 for XEmacs compatibility.
2718 2003-06-17 Kenichi Handa <handa@m17n.org>
2720 * term/x-win.el (x-select-request-type): New variable.
2721 (x-select-utf8-or-ctext): New function.
2722 (x-selection-value): New function.
2723 (x-cut-buffer-or-selection-value): Call x-selection-value to get
2724 a selection data. Set next-selection-coding-system to nil.
2726 * select.el (x-get-selection): If the string returned by
2727 x-get-selection-internal has text property `foreign-selection',
2728 decode it while preserving that property.
2730 2003-06-16 Stefan Monnier <monnier@cs.yale.edu>
2732 * menu-bar.el (ispell-menu-bar): Don't autoload.
2733 (cvs-global-menu): Use the function rather than the variable.
2735 * pcvs-defs.el (cvs-global-menu): Define as a function as well.
2737 * emacs-lisp/debug.el (debug): Fix call to message.
2739 2003-06-16 Michael Mauger <mmaug@yahoo.com> (tiny change)
2741 * emulation/cua-base.el (cua-mode): Use explicit arg to turn off
2744 2003-06-16 Stefan Monnier <monnier@cs.yale.edu>
2746 * emacs-lisp/cl-extra.el (cl-macroexpand-all):
2747 Don't burp if (cadr (caddr found)) encounters a non-list element.
2749 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Use map-keymap.
2750 (defsubst*): Don't put a `cl-whole argument if it's not used.
2752 * emacs-lisp/cl-specs.el (pushnew): Use keywordp.
2754 * emacs-lisp/disass.el (disassemble): Accept plain expressions.
2756 * add-log.el (add-log-edit-prev-comment, add-log-edit-next-comment):
2758 (change-log-mode-map): Bind them.
2759 (smerge-resolve-function): Declare to quieten the byte-compiler.
2760 (change-log-mode): Add the keymap to the docstring.
2762 2003-06-16 Luc Teirlinck <teirllm@mail.auburn.edu>
2764 * simple.el (vis-mode): New function.
2765 (saved-buffer-invisibility-spec): New variable.
2767 2003-06-16 Juanma Barranquero <lektu@terra.es>
2769 * progmodes/sh-script.el (sh-while-getopts, sh-if, sh-case):
2770 Revert part of previous change.
2772 2003-06-16 Pieter E.J. Pareit <pieter.pareit@skynet.be>
2774 * progmodes/mixal-mode.el: New file.
2776 2003-06-16 Markus Rost <rost@math.ohio-state.edu>
2778 * files.el (recover-session-finish): Don't give up when there are
2779 two consecutive empty lines in the auto-save-list file.
2781 2003-06-14 Stefan Monnier <monnier@cs.yale.edu>
2783 * emacs-lisp/copyright.el (copyright-update-year): New function
2784 extracted from copyright-update.
2785 When `arg' is set, replace the year, not the `copyright' text.
2786 Ignore `copyright-update = nil' if called interactively.
2787 Use "," rather than ", " if that's what was used before.
2788 Recognize mixes of 2 and 4 digit years.
2790 (copyright-update): Add interactivep arg.
2791 Use it instead of use last-command.
2792 Use replace-match. Don't assume (point-min) == 1.
2794 * textmodes/tex-mode.el (tex-compile-commands):
2795 Handle tex-start-commands like tex-start-tex does.
2797 * cus-edit.el (custom-get-fresh-buffer): Kill overlays before erasing
2800 2003-06-13 Ilya N. Golubev <gin@mo.msk.ru> (tiny change)
2802 * shell.el (shell-command-separator-regexp): New variable.
2803 (shell-directory-tracker): Make regexp used for skipping to next
2804 command correspond to one used for command itself.
2806 2003-06-13 Katsumi Yamaoka <yamaoka@jpl.org> (tiny change)
2808 * textmodes/texinfmt.el (texinfo-format-scan):
2809 Silence `whitespace-cleanup'.
2811 2003-06-12 Glenn Morris <gmorris@ast.cam.ac.uk>
2813 * calendar/timeclock.el (display-time-hook)
2814 (timeclock-modeline-display): Define for byte-compiler.
2815 (timeclock-time-to-date, timeclock-workday-remaining)
2816 (timeclock-time-to-seconds, timeclock-seconds-to-time):
2817 Move earlier in the file so defined before used.
2818 (timeclock-status-string): No need for `let*' so use `let'.
2819 (timeclock-query-out): Always return a non-nil value.
2821 2003-06-10 Rajesh Vaidheeswarran <rv@gnu.org>
2823 * whitespace.el (whitespace-version): Bump to 3.3
2824 (whitespace-cleanup): Respect user preference for silence
2826 * whitespace.el: Remove :tag in commentary :link. Remove empty
2827 lines in comment, since commentary seems to have a problem with that.
2829 2003-06-09 Stefan Monnier <monnier@cs.yale.edu>
2831 * textmodes/tex-mode.el (tex-search-noncomment): New macro.
2832 (tex-last-unended-begin, tex-next-unmatched-end): Use it
2833 so we don't get confused by \begin and \end in comments.
2834 (tex-compile): Change dir before calling tex-compile-default.
2836 2003-06-09 Luc Teirlinck <teirllm@mail.auburn.edu>
2838 * bindings.el (global-map): Bind `kill-whole-line' to
2839 C-S-<backspace>. Remove M-S-<backspace> binding: too close to
2842 * dired.el (dired-re-dot): Make it handle trailing /.
2843 (dired-get-filename): Update documentation string.
2844 Revert previous change and fix typo in earlier version.
2846 2003-06-10 Kim F. Storm <storm@cua.dk>
2848 * info.el (Info-fontify-node): Make `invisible' property
2849 non-sticky so that whitespace added by filling stays visible.
2850 Make refilling less agressive by starting at beginning of current
2851 line rather than beginning of current paragraph.
2853 2003-06-09 Andreas Schwab <schwab@suse.de>
2855 * dired.el (dired-get-filename): Complain only about "." and "..",
2856 not all directories.
2858 2003-06-08 Nick Roberts <nick@nick.uklinux.net>
2860 * gdb-ui.el (gdb-get-current-frame, gdb-frame-handler): Use Gdb
2861 command `info frame' instead of `frame' to preserve point.
2862 (gdb-invalidate-assembler): Only run disassemble again if frame
2864 (gdb-append-to-inferior-io): Revert change from 2003-05-17.
2866 2003-06-07 Stefan Monnier <monnier@cs.yale.edu>
2868 * textmodes/texinfo.el (texinfo-enable-quote-macros): Fix thinko.
2869 (texinfo-insert-@table): Remove unused arg.
2870 (texinfo-show-structure): Remove unused var `source-buffer'.
2872 * info.el (Info-goto-node, Info-follow-reference, Info-menu-update)
2873 (Info-fontify-node): Don't search past header-end.
2874 Use match-string and line-end-position.
2876 * skeleton.el (skeleton-proxy-new): Consume the mark-active state.
2878 * textmodes/tex-mode.el (tex-mode-syntax-table)
2879 (tex-latex-indent-syntax-table): Don't use easy-mmode-defsyntax.
2881 2003-06-07 Jason Rumney <jasonr@gnu.org>
2883 * mwheel.el (mouse-wheel-up-event, mouse-wheel-down-event):
2884 Use wheel-* events on darwin.
2886 2003-06-06 Era Eriksson <era@iki.fi> (tiny change)
2888 * shell.el (shell-resync-dirs): Tolerate an extra line of output
2889 before the list of directories from `shell-dirstack-query' (it
2890 looks for, and ignores, a literal copy of the value of
2891 shell-dirstack-query).
2893 2003-06-06 Lute Kamstra <Lute.Kamstra@cwi.nl>
2895 * info.el (Info-complete-menu-item): Revert change of 2003-06-03.
2897 2003-06-06 Klaus Zeitler <kzeitler@lucent.com>
2899 * progmodes/sh-script.el: Fix bug in "Options Loop" skeleton for
2900 ksh. Add newlines to a few skeletons, add "select" keyword for bash.
2902 2003-06-06 Andreas Schwab <schwab@suse.de>
2904 * info.el (Info-select-node): Doc fix.
2906 2003-06-06 Miles Bader <miles@gnu.org>
2908 * frame.el (set-frame-font): Default to frame's current default font.
2910 2003-06-06 Kim F. Storm <storm@cua.dk>
2912 * info.el (Info-fontify-node): Don't refill over lines ending in a
2913 period; this should fix problems with lists like one in the
2914 (emacs)Library Keywords section.
2916 2003-06-05 Markus Rost <rost@math.ohio-state.edu>
2918 * dired.el (dired-get-filename): Don't err for . and .. for calls
2919 from dired-add-entry.
2921 2003-06-05 Takaaki Ota <Takaaki.Ota@am.sony.com>
2923 * textmodes/table.el (table-cell-horizontal-chars): Rename from
2924 table-cell-horizontal-char. Now a string value instead of a
2925 character. ?= is allowed for horizontal boundary as well as ?-.
2926 (table-command-remap-alist, table-command-list): Change defconst to
2927 defvar because the value is modified.
2928 (table-insert, table-insert-row, table-insert-column)
2929 (table-recognize, table-recognize-region, table-widen-cell)
2930 (table-span-cell, table-split-cell-vertically): Change due to
2931 table-cell-horizontal-chars.
2932 (table--cell-horizontal-char-p): New function.
2933 (table--generate-source-scan-lines, table-delete-row)
2934 (table-delete-column, table--spacify-frame)
2935 (table--find-row-column, table--probe-cell-left-up)
2936 (table--probe-cell-right-bottom, table--probe-cell): Change due to
2937 table-cell-horizontal-chars. From David Abrahams
2938 <dave@boost-consulting.com>
2940 2003-06-05 Juanma Barranquero <lektu@terra.es>
2942 * gud.el: Moved to progmodes.
2944 2003-06-05 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> (tiny change)
2946 * progmodes/tcl.el (tcl-mode): Set imenu-generic-expression to the
2947 value of tcl-imenu-generic-expression instead of the symbol.
2949 2003-06-05 Luc Teirlinck <teirllm@mail.auburn.edu>
2951 * info.el (Info-mode): Mention `c' and remove duplicate mention
2952 of `q' in documentation string.
2954 2003-06-05 Lute Kamstra <Lute.Kamstra@cwi.nl>
2956 * shell.el (shell-mode): Put `shell-filter-ctrl-a-ctrl-b' on
2957 `comint-output-filter-functions' when bash is used as the inferior
2959 (shell-filter-ctrl-a-ctrl-b): New function.
2961 2003-06-05 Dave Love <fx@gnu.org>
2963 * vc-hooks.el (vc-make-backup-files): Add :group backup.
2965 2003-06-05 Kim F. Storm <storm@cua.dk>
2967 * info.el (Info-fontify-node): Individually refill menus and
2968 paragraphs to preserve menu items and varying indentation.
2969 Only color first 9 menu items differently.
2971 2003-06-05 Juanma Barranquero <lektu@terra.es>
2973 * desktop.el: Add new maintainer.
2975 2003-06-04 Stefan Monnier <monnier@cs.yale.edu>
2977 * textmodes/sgml-mode.el (sgml-parse-tag-backward): Try and detect
2978 when we're starting from within a tag.
2979 (sgml-get-context): When called from inside a tag, do something useful.
2980 Rename the arg now that it's never used for `full' context anymore.
2981 (sgml-calculate-indent): Make `lcon' an argument.
2982 Return nil when we DON'T know what to do.
2983 If the initial lcon turns out to be wrong, try again.
2984 (sgml-indent-line): If sgml-calculate-indent returns nil, don't indent.
2986 2003-06-04 Jason Rumney <jasonr@gnu.org>
2988 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
2989 Default to new wheel-up and wheel-down events on MacOS.
2991 * term/mac-win.el: No need to bind wheel events specially.
2993 2003-06-04 Luc Teirlinck <teirllm@mail.auburn.edu>
2995 * simple.el (yank-excluded-properties): Expand documentation string.
2997 2003-06-04 Richard M. Stallman <rms@gnu.org>
2999 * emacs-lisp/lisp-mnt.el (lm-keywords-finder-p):
3000 Use with-no-warnings.
3002 * gud.el (gud-minor-mode-type): Move defvar up.
3004 * progmodes/compile.el (compilation-next-error): When moving fwd,
3005 compare position of point with the errors.
3007 * dired.el (dired-get-filename): Err for . and .. in usual case.
3008 (dired-get-file-for-visit): Specify no-error to dired-get-filename,
3009 and check for real errors here.
3010 (dired-unmark-all-files): Specify no-error to dired-get-filename.
3012 * buff-menu.el (list-buffers-noselect): Use window-inside-edges
3013 to compute the number of offset spaces.
3014 (list-buffers-noselect): Use Buffer-menu-buffer+size to
3015 indent the dashes properly. Put some in fixed-pitch.
3017 2003-06-04 Lars Hansen <larsh@math.ku.dk>
3019 * desktop.el (desktop-create-buffer): Undo last change.
3020 (desktop-kill, desktop-save, desktop-remove): Use expand-directory
3021 rather than concat to construct desktop filename.
3022 (desktop-kill, desktop-read, desktop-change-dir):
3023 Ensure desktop-dirname is a directory name.
3024 (desktop-change-dir): Fix bug when DIR was relative.
3026 2003-06-04 Alex Coventry <alex_c@mit.edu> (tiny change)
3028 * files.el (after-find-file): Fix arguments of call to `sit-for'.
3030 2003-06-03 Stefan Monnier <monnier@cs.yale.edu>
3032 * info.el (Info-extract-menu-node-name): Remove unused arg errmessage.
3033 (Info-follow-reference): Update corresponding call.
3034 (Info-node-spec-re): New const.
3035 (Info-complete-menu-item): Use it to only allow : when necessary.
3036 (Info-fontify-node): Use it as well. Fixup typo.
3038 * info.el (info-fontify-node): Use better help-echo text.
3039 Use :align-to display prop.
3040 Use `invisible' rather than `display' prop to hide text.
3042 * info.el (Info-mode-hook): Obey obsolete `Info-fontify'.
3043 (Info-find-in-tag-table-1): Remove unused vars.
3044 (Info-display-images-node): Remove unused var paragraph-markers.
3045 (Info-header-line): Remove.
3046 (Info-select-node): Don't set it.
3047 (Info-search): Remove unused var `current'.
3048 (Info-follow-reference): Remove unused var `beg'.
3049 (Info-extract-menu-node-name): Remove unused var `i'.
3050 (Info-complete-menu-item): Use `with-current-buffer'.
3051 (Info-index): Remove unused var `rnode'.
3052 (Info-mode): Set header-line-format to check text-properties directly.
3053 (Info-find-emacs-command-nodes): Remove unused var `found' and `exact'.
3054 (Info-fontify-node): Use `push'.
3055 (Info-speedbar-hierarchy-buttons): Use `dolist'.
3056 (Info-speedbar-goto-node, Info-speedbar-fetch-file-nodes):
3057 Check the return value of `string-match'.
3058 (Info-speedbar-fetch-file-nodes): Factor out common code.
3060 2003-06-03 Lute Kamstra <Lute.Kamstra@cwi.nl>
3062 * cus-edit.el (custom-get-fresh-buffer): Test for nonexistence buffer.
3064 2003-06-03 Richard M. Stallman <rms@gnu.org>
3066 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
3069 * windmove.el (windmove-reference-loc, windmove-frame-edges):
3070 Use window-inside-edges.
3071 (windmove-do-window-select): Fix error messages.
3073 * files.el (after-find-file): Simplify msg if nonexistent directory.
3074 (make-directory): Doc fix.
3076 * dabbrev.el (dabbrev--goto-start-of-abbrev):
3077 Use minibuffer-prompt-end.
3079 * comint.el (comint-move-point-for-output): Renamed from
3080 comint-scroll-to-bottom-on-output. Old name is alias.
3081 All uses changed. Doc fix.
3082 (comint-scroll-show-maximum-output): Doc fix.
3084 * comint.el (comint-exec-1): Don't use directory-sep-char.
3085 (comint-dynamic-complete-as-filename): Likewise.
3087 * bindings.el (global-map): Delete C-M-delete and C-M-backspace.
3089 2003-06-03 Markus Rost <rost@math.ohio-state.edu>
3091 * progmodes/ps-mode.el (ps-mode): Use autoload cookie in the
3094 2003-06-02 Stefan Monnier <monnier@cs.yale.edu>
3096 * textmodes/bibtex.el (bibtex-member-of-regexp)
3097 (bibtex-assoc-of-regexp, bibtex-format-entry, bibtex-find-entry)
3098 (bibtex-autokey-demangle-name, bibtex-string-files-init, bibtex-mode):
3099 Fix up regexp usage and use match-string.
3101 2003-06-02 Roland Winkler <roland.winkler@physik.uni-erlangen.de>
3103 * textmodes/bibtex.el: Long overdue merge.
3104 Don't require `compile' since it seems unnecessary.
3105 For all internal variables and functions the docstring comments have
3106 been converted into proper docstrings
3107 (bibtex-maintainer-address, bibtex-maintainer-salutation)
3108 (bibtex-version): Remove support for bug reporting.
3109 (bibtex-field-delimiters, bibtex-entry-delimiters)
3110 (bibtex-sort-ignore-string-entries, bibtex-maintain-sorted-entries)
3111 Replace make-variable-buffer-local by make-local-variable for
3112 (bibtex-entry-format): New tag `required-fields'.
3113 (bibtex-maintain-sorted-entries): New var.
3114 (bibtex-sort-entry-class, bibtex-sort-entry-class-alist): New vars.
3115 (bibtex-predefined-month-strings, bibtex-predefined-strings):
3116 Make into alists with pairs (abbreviation expansion).
3117 (bibtex-autokey-titleword-change-strings)
3118 (bibtex-autokey-transcriptions): Make into alists.
3119 Add new replacement pairs.
3120 (bibtex-autokey-use-crossref): New var.
3121 Replace bibtex-autokey-year-use-crossref-entry because updated code
3122 for autokey generation handles crossrefs independently of
3124 (bibtex-reference-key, bibtex-mode-syntax-table):
3125 Remove = because it can't be part of a string's key.
3126 (bibtex-complete-key-cleanup): New var.
3127 (bibtex-complete): Merge bibtex-complete-string and bibtex-complete-key
3128 into it (and bind to M-tab).
3129 (bibtex-valid-entry-re, bibtex-any-valid-entry-re)
3130 (bibtex-valid-entry-whitespace-re, bibtex-empty-field-re)
3131 (bibtex-quoted-string-re): New vars.
3132 (bibtex-field-name-for-parsing): Don't make-variable-buffer-local.
3133 (zmacs-regions): Declare to quieten the byte-compiler.
3134 (bibtex-comment-start): Don't include the space.
3135 (bibtex-font-lock-syntactic-keywords): New var.
3136 (bibtex-font-lock-keywords): Remove the entry for @Comment.
3137 (bibtex-parse-field-string): Merge the functionality of
3138 bibtex-parse-field-string-braced, bibtex-parse-quoted-string and
3139 bibtex-parse-field-string-quoted.
3140 (bibtex-search-forward-field-string): Remove.
3141 (bibtex-parse-association): Use when.
3142 (bibtex-parse-field-name): Use when.
3143 (bibtex-parse-field-text): Use when and cond.
3144 (bibtex-parse-field): Use let.
3145 (bibtex-search-forward-field, bibtex-search-backward-field):
3146 Make bound optional, use let, setq, and cddr.
3147 (bibtex-start-of-field, bibtex-start-of-name-in-field)
3148 (bibtex-end-of-name-in-field): Use nth.
3149 (bibtex-name-in-field, bibtex-text-in-field-bounds)
3150 (bibtex-text-in-field, bibtex-type-in-head, bibtex-key-in-head)
3151 (bibtex-text-in-string): New functions.
3152 (bibtex-reference-key-in-string): New fun. Merge of
3153 bibtex-start-of-reference-key-in-string and
3154 bibtex-end-of-reference-key-in-string.
3155 (bibtex-parse-string-prefix): Use let and when.
3156 (bibtex-parse-string-postfix): Use when.
3157 (bibtex-search-forward-string, bibtex-search-backward-string):
3158 Use save-excursion and setq.
3159 (bibtex-member-of-regexp): Use let.
3160 (bibtex-assoc-of-regexp): Use caar und let.
3161 (bibtex-skip-to-valid-entry): Return buffer position.
3162 (bibtex-map-entries): Use save-excursion.
3163 (bibtex-progress-message): Simplify.
3164 (bibtex-search-entry): Use skip-chars-forward, when, save-match-data.
3165 (bibtex-move-outside-of-entry): Handle the case that point is before
3167 (bibtex-enclosing-field): Use save-excursion, when.
3168 (bibtex-format-field-delimiters): Merge into bibtex-format-entry.
3169 (bibtex-enclosing-entry-maybe-empty-head): Simplify.
3170 (bibtex-format-entry): Simplify. Handle new tag required-fields of
3171 bibtex-entry-format.
3172 (bibtex-autokey-abbrev): Accept negative values of len.
3173 (bibtex-autokey-get-field, bibtex-autokey-demangle-title): New funs.
3174 (bibtex-autokey-get-namefield, bibtex-autokey-get-namelist)
3175 (bibtex-autokey-get-yearfield-digits, bibtex-autokey-get-yearfield)
3176 (bibtex-autokey-get-titlestring): Remove.
3177 (bibtex-autokey-get-names): Simplify.
3178 (bibtex-autokey-get-titles): Rename to bibtex-autokey-get-title.
3179 (bibtex-autokey-demangle-name): Simplify, avoid error messages.
3180 (bibtex-generate-autokey): Simplify.
3181 (bibtex-parse-keys): Simplify, use push.
3182 (bibtex-parse-strings): New fun similar to bibtex-parse-keys.
3183 (bibtex-string-files-init): New fun.
3184 (bibtex-parse-buffers-stealthily): Use bibtex-parse-keys,
3185 bibtex-string-files-init and bibtex-parse-strings.
3186 (bibtex-complete): Rename to bibtex-complete-internal, use push,
3187 bibtex-reference-key-in-string, no sorting.
3188 (bibtex-complete-string-cleanup): New fun, displays expansion of
3190 (bibtex-choose-completion-string): New fun. Required for
3191 choose-completion-string-functions.
3192 (bibtex-do-auto-fill): Remove. Set fill-prefix in bibtex-mode.
3193 (bibtex-pop): Simplify.
3194 (bibtex-mode): Move setting of bibtex-string to bibtex-parse-strings.
3195 Set choose-completion-string-functions.
3196 (bibtex-print-help-message,bibtex-make-field, bibtex-end-of-entry)
3197 (bibtex-count-entries): Simplify.
3198 (bibtex-entry-index, bibtex-lessp): New funs for generalized sorting
3199 scheme of indices, see bibtex-maintain-sorted-entries.
3200 (bibtex-sort-buffer): Use bibtex-lessp for sorting.
3201 (bibtex-find-crossref, bibtex-find-entry): New funs.
3202 (bibtex-find-entry-location): Rename to bibtex-prepare-new-entry, use
3203 bibtex-lessp, Simplify.
3204 (bibtex-validate): Simplify. Fixe bug of internal variable
3206 (bibtex-remove-OPT-or-ALT): Use when.
3207 (bibtex-remove-delimiters, bibtex-kill-field, bibtex-kill-entry)
3208 (bibtex-clean-entry, bibtex-fill-entry, bibtex-reformat): Simplify.
3209 (bibtex-convert-alien): Use deactivate-mark rather than the
3210 non-existent bibtex-mark-active variable.
3211 (bibtex-complete-string, bibtex-complete-key): Merge into new
3212 `smart' defun bibtex-complete.
3213 (bibtex-String): Update for new sorting scheme, distinguish empty and
3214 non-empty key strings.
3216 2003-06-02 Stefan Monnier <monnier@cs.yale.edu>
3218 * sort.el (sort-subr): Add `predicate' arg. Remove `sortcar' code.
3220 2003-06-02 Lute Kamstra <Lute.Kamstra@cwi.nl>
3222 * emacs-lisp/lisp-mnt.el (lm-synopsis): Use relative filenames
3223 correctly. Show the synopsis to the user when appropriate.
3224 Do not kill buffers that were created outside `lm-synopsis'.
3226 2003-06-01 Stefan Monnier <monnier@cs.yale.edu>
3228 * cus-edit.el (custom-get-fresh-buffer): Be extra paranoid,
3229 just in case some used a file of the wrong name.
3231 * progmodes/sh-script.el (sh-is-quoted-p): New fun.
3232 (sh-font-lock-paren): Use it to allow \C in case patterns.
3233 (sh-get-indent-info): Check the \n before the line for string-status.
3234 (sh-feature): Remove unused var `function'.
3235 (sh-get-indent-info): Remove unused variables.
3236 (sh-prev-thing): Remove unused vars `going', `n', and `found'.
3237 (sh-set-indent): Remove unused var `new-val' and `val0'.
3238 (sh-learn-buffer-indent): Remove unused vars `last-pos' and `lines'.
3239 (sh-guess-basic-offset): Remove unused var `return' and `j'.
3241 2003-05-27 David Ponce <david@dponce.com>
3247 Take into account changes made to the display margins, fringes and
3248 scroll-bar handling.
3250 (ruler-mode-margins-char): Remove. Not used anymore.
3251 (ruler-mode-pad-face, ruler-mode-fringes-face): New faces.
3252 (ruler-mode-margins-face): New definition. Move.
3253 (ruler-mode-left-fringe-cols)
3254 (ruler-mode-right-fringe-cols)
3255 (ruler-mode-left-scroll-bar-cols)
3256 (ruler-mode-right-scroll-bar-cols): Reimplement. Move.
3257 (ruler-mode-full-window-width)
3258 (ruler-mode-window-col): New functions.
3259 (ruler-mode-mouse-set-left-margin)
3260 (ruler-mode-mouse-set-right-margin)
3261 (ruler-mode-mouse-add-tab-stop)
3262 (ruler-mode-mouse-del-tab-stop): Reimplement.
3263 (ruler-mode-mouse-current-grab-object): Rename to...
3264 (ruler-mode-dragged-symbol): New.
3265 (ruler-mode-mouse-grab-any-column): Use it. Clean up.
3266 (ruler-mode-mouse-drag-any-column): Likewise.
3267 (ruler-mode-mouse-drag-any-column-iteration): Simplify.
3268 (ruler-mode): Restore previous `header-line-format' if
3269 `ruler-mode-header-line-format-old' has a local binding in current
3271 (ruler-mode-left-margin-help-echo)
3272 (ruler-mode-right-margin-help-echo): Remove.
3273 (ruler-mode-margin-help-echo)
3274 (ruler-mode-fringe-help-echo): New constants.
3275 (ruler-mode-ruler): Use them. Reimplement.
3277 2003-06-01 Jason Rumney <jasonr@gnu.org>
3279 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
3280 Default to new wheel-up and wheel-down events on Windows.
3282 * term/w32-win.el: No need to bind wheel events specially.
3284 2003-06-01 Michael Kifer <kifer@cs.stonybrook.edu>
3286 * desktop.el (desktop-create-buffer): Add (desktop-first-buffer) to
3287 the let-statement to avoid the startup error that desktop-first-buffer
3290 2003-06-01 Andreas Schwab <schwab@suse.de>
3292 * man.el (Man-name-regexp): Also match Latin-1 soft hyphen.
3293 (Man-build-references-alist): Handle Latin-1 soft hyphen.
3295 2003-05-31 Stephen Eglen <stephen@gnu.org>
3297 * iswitchb.el (iswitchb-buffer-ignore): Update custom type to
3300 2003-05-31 Stefan Monnier <monnier@cs.yale.edu>
3302 * view.el (view-file, view-file-other-window, view-file-other-frame):
3303 Signal an error when trying to visit an inexistent file.
3305 * vc-hooks.el (vc-call-backend): Give better error message
3306 when a backend function is missing.
3307 (vc-find-file-hook): USe unless. Merge if and cond.
3309 * vc.el (vc-directory-exclusion-list): Add MCVS and .svn.
3310 (vc-checkin-hook): Adjust option to new name.
3312 * log-edit.el (log-edit-maximum-comment-ring-size)
3313 (log-edit-comment-ring, log-edit-comment-ring-index)
3314 (log-edit-last-comment-match): Rename vars from
3315 vc-maximum-comment-ring-size, vc-comment-ring, vc-comment-ring-index,
3316 and vc-last-comment-match.
3317 (log-edit-new-comment-index, log-edit-previous-comment)
3318 (log-edit-next-comment, log-edit-comment-search-backward)
3319 (log-edit-comment-search-forward, log-edit-comment-to-change-log):
3320 Rename funs from vc-new-comment-index, vc-previous-comment,
3321 vc-next-comment, vc-comment-search-reverse, vc-comment-search-forward,
3322 and vc-comment-to-change-log.
3324 * wid-edit.el (widget-specify-insert): Simplify.
3325 (widget-editable-list-entry-create): Don't assume that %d and %i are
3326 in the format string.
3327 (widget-map-buttons): Remove unused var `parent'.
3328 (widget-move): Remove unused shadowed var `new'.
3329 (widget-color-action): Remove unused var `pos'.
3331 * cus-edit.el (custom-get-fresh-buffer): New fun.
3332 (custom-buffer-create, custom-buffer-create-other-window)
3333 (customize-browse): Use it instead of killing buffers.
3334 (custom-bury-buffer): Obey the argument.
3335 (custom-variable-reset-saved, custom-variable-reset-standard):
3336 Remove unused var `comment-widget'.
3337 (custom-face-edit-deactivate): Remove unused var `to'.
3338 (custom-save-variables): Remove unused var `sep'.
3340 2003-05-31 John Paul Wallington <jpw@gnu.org>
3342 * files.el (large-file-warning-threshold): Add type, groups.
3344 * progmodes/delphi.el (delphi-ignore-changes): Defvar; non-constant.
3346 2003-05-31 Kenichi Handa <handa@m17n.org>
3348 * files.el (recover-file): Bind coding-system-for-read to
3351 2003-05-31 Juanma Barranquero <lektu@terra.es>
3353 * misc.el (mark-beginning-of-buffer, mark-end-of-buffer)
3354 (upcase-char, forward-to-word, backward-to-word): Move from unused.el.
3356 * unused.el: Deleted (contents moved to misc.el).
3359 * emacs-lisp/float.el:
3360 * textmodes/scribe.el: Moved to obsolete.
3368 * warnings.el: Moved to emacs-lisp.
3370 * enriched.el: Moved to textmodes.
3372 * textmodes/outline.el: Moved to lisp.
3374 * which-func.el: Moved to progmodes.
3376 * loadup.el: Load byte-run.el, map-ynp.el, timer.el and float-sup.el
3379 2003-05-31 Tom Wurgler <twurgler@goodyear.com> (tiny change)
3381 * subr.el (looking-back): New function to check for regular
3382 expression before point.
3384 2003-05-30 Stefan Monnier <monnier@cs.yale.edu>
3386 * newcomment.el (comment-empty-lines): New var.
3387 (comment-region-internal): Use it.
3389 * textmodes/tex-mode.el (latex-block-args-alist)
3390 (latex-block-body-alist): New vars.
3391 (latex-insert-block): Use them.
3392 (tex-string-prefix-p): New fun.
3393 (tex-guess-main-file): Use it to detect when the main file
3394 is in a parent directory.
3395 (tex-main-file): Try to find a main-file in parent directories.
3396 (tex-compile-default): Don't use `gv' on pdf files just because
3397 `gv' was used recently on a ps file. Remove unused arg `dir'.
3398 Reuse a previous command as-is if it applied to the same file.
3399 (tex-compile): Use the right file name when file is not in dir.
3401 * textmodes/refill.el (refill-adjust-ignorable-overlay):
3402 Don't hardcode pint-min == 1.
3403 (refill-fill-paragraph-at): Use a more robust method to detect
3404 when the paragraph is after point. Remove unused var `fill-pfx'.
3406 * xml.el (xml-parse-tag): Return (foo nil) rather than (foo nil "")
3407 for <foo/>, to make it behave like <foo></foo>.
3409 * emacs-lisp/edebug.el (edebug-storing-offsets): Move indent
3410 and debug to inside the macro.
3411 (edebug-read-storing-offsets): Simplify.
3412 (edebug-read-quote, edebug-read-function): Place the
3413 start-position correctly.
3414 (edebug-read-backquote-new): Remove.
3415 (edebug-read-backquote-level): New var to replace it.
3416 (edebug-read-backquote): Increment it.
3417 Don't store offsets one extra time.
3418 (edebug-read-comma): Decrement it. Read the comma as a plain
3419 symbol if outside of any new-style backquote.
3420 (edebug-read-list): Use edebug-read-backquote-level.
3421 Don't call edebug-read-backquote directly. This way the extra
3422 offsets store is done exactly when it's needed.
3423 (edebug-read-vector): Use push.
3424 (defmacro): Add support for the `declare' thingy.
3426 2003-05-29 Stefan Monnier <monnier@cs.yale.edu>
3428 * forms.el (forms-mode-hook): Rename from forms-mode-hooks.
3429 (forms-mode): Use add-hook rather than make-local-variable+setq.
3430 Use with-current-buffer. Run the new and the old hooks.
3431 (forms--update): Use with-current-buffer and line-end-position.
3432 (forms--goto-record): New fun.
3433 (forms-jump-record, forms-insert-record, forms-delete-record): Use it.
3434 (forms--process-format-list): Remove unused var `this-item'.
3435 (forms--intuit-from-file): Remove unused var `the-result'.
3436 (forms--trans): Remove unused var `x'.
3437 (forms--exit, forms-exit, forms-exit-no-save): Remove unused arg.
3439 * emacs-lisp/edebug.el (edebug-window-list): Use push.
3440 (edebug-macrop): Use functionp.
3441 (edebug-functionp): Remove.
3442 (edebug-get-displayed-buffer-points): Use push.
3443 (edebug-set-buffer-points): Use save-current-buffer and buffer-live-p.
3444 (edebug-list-form): Remove dead code.
3445 (backquote-form): Correctly handle `(a . ,b).
3446 (edebug-mode-map, global-edebug-map): Move init to inside the defvar.
3447 (define-derived-mode, define-minor-mode): Remove outdated spec.
3448 (save-match-data, with-output-to-string, with-current-buffer)
3449 (combine-after-change-calls, with-temp-buffer, dolist, dotimes)
3450 (unless, when): Remove specs that are now in the corresponding macro.
3452 * emacs-lisp/easy-mmode.el (define-minor-mode): Add edebug spec.
3453 Accept a :keymap argument, as you'd expect.
3455 * derived.el (define-derived-mode): Add a proper edebug declaration.
3457 2003-05-29 Luc Teirlinck <teirllm@mail.auburn.edu>
3459 * simple.el (kill-whole-line): Make it interact correctly with
3462 2003-05-29 Kenichi Handa <handa@m17n.org>
3464 * international/mule.el (ctext-non-standard-encodings-alist):
3465 Rename from non-standard-icccm-encodings-alist.
3466 (ctext-non-standard-encodings-regexp): New variable
3467 (ctext-post-read-conversion): Full rewrite.
3468 (ctext-non-standard-designations-alist): Rename from
3469 non-standard-designations-alist.
3470 (ctext-pre-write-conversion): Full rewrite.
3472 2003-05-28 Stefan Monnier <monnier@cs.yale.edu>
3474 * info.el (Info-fontify-node): Hide \n------- rather than -------\n.
3476 * skeleton.el (skeleton-edebug-spec): First cut of an edebug spec.
3477 (define-skeleton): Use it.
3479 2003-05-28 Andreas Schwab <schwab@suse.de>
3481 * descr-text.el (describe-char): Use `char' instead of
3482 `(char-after)'. Fix display of unicode.
3484 2003-05-28 Nick Roberts <nick@nick.uklinux.net>
3486 * gud.el (gud-gdb-goto-stackframe, gud-gdb-get-stackframe):
3487 Add server prefix to the gdb commands used by the speedbar.
3489 2003-05-28 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
3491 * simple.el (kill-region): If nothing was killed, and the
3492 previous command was not a kill, break kill sequence.
3494 2003-05-28 Richard M. Stallman <rms@gnu.org>
3496 * textmodes/refill.el (refill-fill-paragraph-at):
3497 Avoid refilling the following paragraph.
3498 (refill-doit): Doc fix.
3500 * emulation/vip.el (ctl-x-map): Don't bind C-x C-i or C-x 3.
3501 (global-map): Don't bind C-z.
3502 (vip-setup): New function to rebind C-x 7 and C-z.
3504 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
3505 Undo previous change (don't check for eob). Widen at the beginning.
3507 * map-ynp.el (map-y-or-n-p): No special handling for exit-prefix.
3508 In help string, mention C-g but not ESC.
3510 * jka-compr.el (jka-compr-insert-file-contents):
3511 When REPLACE, delete the proper range of text.
3513 * info.el (Info-index): Add autoload cookie.
3515 * forms.el (forms-mode): Use write-file-functions instead
3516 of local-write-file-hooks. Use make-local-variable to make it local.
3518 * descr-text.el (describe-char-unicode-data): New dummy definition.
3519 (unicode-data): Comment out since we can't use UnicodeData.txt as is.
3520 (describe-char-unicodedata-file): Variable renamed and commented out.
3522 * faces.el (set-face-attribute): Set face-modified prop to t
3523 when we change the new-frame defaults.
3524 (face-spec-set): Set face-modified prop to nil
3525 when we change the new-frame defaults.
3527 * cus-edit.el (custom-face-state-set): non-nil `face-modified'
3528 means face was set outside of Custom.
3530 2003-05-28 Richard M. Stallman <rms@gnu.org>
3532 * byte-run.el (with-no-warnings): New function.
3534 * emacs-lisp/bytecomp.el (byte-compile-no-warnings): New function.
3535 (with-no-warnings): Set up compile handler.
3537 * startup.el (command-line-1): Use with-no-warnings.
3539 * type-break.el (type-break-cancel-function-timers):
3540 Use with-no-warnings.
3542 2003-05-28 Luc Teirlinck <teirllm@mail.auburn.edu>
3544 * env.el (substitute-env-vars): Fix typo.
3546 2003-05-28 Walter C. Pelissero <walter@pelissero.de> (tiny change)
3548 * net/browse-url.el (browse-url-mozilla): Correct the conditionals
3549 for using ,new-window.
3551 2003-05-27 Glenn Morris <gmorris@ast.cam.ac.uk>
3553 * progmodes/sh-script.el (sh-here-document-word):
3554 Document new treatment of leading "-".
3555 (sh-maybe-here-document): Strip a leading "-" from closing
3556 heredoc delimiter, if present.
3558 * align.el (align-rules-list): Doc fix.
3560 * calendar/timeclock.el: Update copyright.
3561 (timeclock-ask-before-exiting): Put `timeclock-query-out' on
3562 `kill-emacs-query-functions' rather than `kill-emacs-hook'.
3563 (timeclock-mode-string): Doc fix.
3564 (timeclock-modeline-display): Doc fix. Use `global-mode-string'
3565 rather than `mode-line-format'.
3566 (timeclock-query-out): Doc fix.
3567 (timeclock-update-modeline): No need for `let*', so use `let'.
3568 Add some help-echo text to `timeclock-mode-string'.
3569 (timeclock-mode-string): Give it the risky-local-variable
3570 property, so that help-echo text will display.
3571 (timeclock-find-discrep): Set `accum' to 0 if
3572 `timeclock-discrepancy' is nil.
3574 2003-05-27 Stefan Monnier <monnier@cs.yale.edu>
3576 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function):
3577 Don't infinite loop at bob.
3578 (emacs-lisp-mode): Mark its main custom group to be `lisp'.
3579 (prin1-char): New fun.
3580 (eval-last-sexp-1): Use it. Use with-syntax-table as well.
3581 (eval-defun-1): Don't replace `defvar' with `defconst'.
3583 2003-05-27 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
3585 * bindings.el (global-map): Bind M-S-<backspace to kill-whole-line.
3587 2003-05-26 Stefan Monnier <monnier@cs.yale.edu>
3589 * gud.el (gud-find-class): Remove unused var `pos'.
3590 (gdb-script-mode-syntax-table, gdb-script-font-lock-keywords)
3591 (gdb-script-font-lock-syntactic-keywords)
3592 (gdb-script-font-lock-syntactic-face, gdb-script-basic-indent)
3593 (gdb-script-skip-to-head, gdb-script-calculate-indentation)
3594 (gdb-script-indent-line, gdb-script-mode): New mode to edit
3595 .gdbinit-like scripts.
3597 2003-05-26 John Paul Wallington <jpw@gnu.org>
3599 * faces.el (display-supports-face-attributes-p): Doc fix.
3600 (x-create-frame-with-faces): Call `face-set-after-frame-default'.
3602 2003-05-26 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
3604 * bindings.el (global-map): Don't bind S-<backspace>. Too many
3605 people hit it by mistake.
3607 2003-05-26 Andre Spiegel <spiegel@gnu.org>
3609 * vc.el (vc-delete-file): Fix free variable reference.
3610 (vc-annotate-display): Remove obsolesence declaration; it isn't
3613 2003-05-25 Kevin Ryde <user42@zip.com.au>
3615 * info-look.el (autoconf-mode setups): Recognise AH_ and AU_ entries
3616 in "(autoconf)Autoconf Macro Index". Add "(autoconf)M4 Macro Index"
3617 and "(autoconf)Autotest Macro Index". Remove duplicate copy of
3618 "(automake)Macro and Variable Index". Keep automake after all
3619 autoconf possibilities, so as to prefer those.
3621 2003-05-25 Stefan Monnier <monnier@cs.yale.edu>
3623 * skeleton.el (skeleton-internal-1): Don't loop if interactor of
3625 (skeleton-pair-default-alist): New var.
3626 (skeleton-pair-insert-maybe): Use it. Don't munge multibyte chars.
3628 2003-05-25 Nick Roberts <nick@nick.uklinux.net>
3630 * gdb-ui.el (gdb-info-breakpoints-custom, gdb-assembler-custom):
3631 Put string associated with breakpoint at start of line so that it
3633 (gdb-display-source-buffer): Display assembler during execution,
3635 (gud-menu-map): Add a toggle button to menubar for gdb-many-windows.
3636 (gdb-many-windows): Define explicitly as a function and a variable
3637 (formerly as a minor mode). These need to be global so layout can
3638 be reset from any buffer.
3639 (gdb-assembler-mode): Keep fringe outside margin as the overlay
3640 arrow is not used for assembler.
3642 2003-05-25 Tim Van Holder <tim.vanholder@anubex.com>
3644 * which-func.el (which-func-update-timer): New variable.
3645 (which-function-mode): Use it.
3647 2003-05-25 Richard M. Stallman <rms@gnu.org>
3649 * simple.el (idle-update-delay): New variable.
3651 2003-05-25 Luc Teirlinck <teirllm@mail.auburn.edu>
3653 * simple.el (forward-visible-line): Fix negative arguments.
3655 2003-05-25 Juanma Barranquero <lektu@terra.es>
3657 * skeleton.el (skeleton-pair-insert-maybe): Remove leftover
3658 reference to skeleton-abbrev-cleanup.
3660 2003-05-24 Andreas Schwab <schwab@suse.de>
3662 * files.el (insert-directory): Preserve CR in a file name.
3664 2003-05-24 Stefan Monnier <monnier@cs.yale.edu>
3666 * skeleton.el (skeleton-abbrev-cleanup, skeleton-proxy):
3667 Remove obsolete code.
3669 * term/w32-win.el (iconify-or-deiconify-frame):
3670 * term/mac-win.el (iconify-or-deiconify-frame): Move to frame.el.
3672 * term/x-win.el (iconify-or-deiconify-frame): Move to frame.el.
3673 Turn on mouse-wheel support by default.
3675 * frame.el (iconify-or-deiconify-frame): Move from term/x-win.el.
3677 2003-05-24 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
3679 * net/tramp.el: Version 2.0.34 released.
3680 (tramp-handle-file-symlink-p): If target of symlink is absolute,
3681 return a Tramp filename. (Ie, return "/user@host:/target" instead
3683 (tramp-handle-file-truename): Deal with new return value from
3685 (tramp-handle-expand-file-name): Make default method explicit in
3687 (tramp-unified-filenames): Move to an earlier spot in the file.
3688 (top-level): If tramp-unified-filenames is set and we're running
3689 on XEmacs, load tramp-efs.
3690 (tramp-wait-for-shell-prompt, tramp-barf-if-no-shell-prompt):
3691 New functions, used by tramp-send-command-internal.
3692 (tramp-open-connection-setup-interactive-shell): Simplify using
3693 `tramp-send-command-internal'.
3694 (tramp-send-command-internal): New function.
3695 (tramp-methods): New entries "remsh" and "remcp" are like "rsh"
3696 and "rcp" but invoke "remsh" instead of "rsh". This is useful on
3697 Cray systems, for instance. Unify tramp-rsh-program,
3698 tramp-telnet-program, tramp-su-program into tramp-login-program.
3699 Likewise with tramp-login-args, tramp-copy-program,
3700 tramp-copy-args, tramp-copy-keep-date-arg. Users changed. New
3701 method plink1; like plink but pass "-1" to force protocol version 1.
3702 (tramp-default-method): Use plink as the default on machines where
3703 the plink program is present.
3704 (tramp-completion-file-name-handler): Add safe-magic property.
3705 (tramp-shell-prompt-pattern): Allow ANSI escapes at
3706 end of prompt. (ANSI escapes elsewhere in the prompt are
3707 recognized properly already.)
3709 * net/tramp-efs.el: New file.
3711 2003-05-24 Michael Albinus <Michael.Albinus@alcatel.de>
3713 * net/tramp.el (tramp-handle-file-truename): `sym' shouldn't be
3715 (tramp-methods, tramp-multi-connection-function-alist):
3716 Use argument "-p Password:" for "sudo" method, because password prompt
3717 might be changed by either passprompt option in /etc/sudoers, or
3718 SUDO_PROMPT environment variable. Suggested by Peter Oliver
3719 <peter.oliver@aquila-networks.co.uk>.
3721 2003-05-23 Stefan Monnier <monnier@cs.yale.edu>
3723 * mail/supercite.el: Use `push' and replace `regi-pos' by equivalents.
3724 (sc-emacs-features): Remove. Use better tests instead.
3725 (sc-minor-mode): Use define-minor-mode.
3726 (sc-mode-string, sc-set-mode-string): Remove.
3727 Use a better modeline expression instead.
3728 (sc-completing-read, sc-read-string, sc-submatch, sc-member)
3729 (sc-string-text): Remove those compatibility functions.
3731 * pcvs.el (cvs-temp-buffer): Kill running process in displayed buffers.
3732 (cvs-make-cvs-buffer): Fix up format of the header.
3734 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
3735 Match more cases of /.../ patterns.
3737 2003-05-23 Nick Roberts <nick@nick.uklinux.net>
3739 * gdb-ui.el (gdba): Accommodate Fortran programs.
3740 (gud-gdba-command-name): Use -noasync in all cases (as Fortran
3741 seems to require it also).
3742 (gdb-source-info): Parse correctly when compilation directory
3743 specifies host also (IRIX).
3745 2003-05-23 Andre Spiegel <spiegel@gnu.org>
3747 * vc-cvs.el (vc-cvs-checkout): Don't leave the branch when
3748 REV is t. From Don Provan <dprovan@bivio.net>
3750 2003-05-23 Richard M. Stallman <rms@gnu.org>
3752 * forms.el (forms--mode-commands1): Bind \t, not `tab'.
3753 (forms--mode-commands): Don't bind \t in the maps where
3754 we call forms--mode-commands1.
3756 2003-05-23 Taro Kawagishi <tarok@acm.org>
3758 * arc-mode.el (archive-lzh-summarize): Calculate correct total
3759 header size for LZH level 1 header.
3761 2003-05-23 Richard M. Stallman <rms@gnu.org>
3763 * textmodes/paragraphs.el (repunctuate-sentences): Add doc string.
3765 2003-05-23 Daniel Ortmann <dortmann@lsil.com> (tiny change)
3767 * textmodes/paragraphs.el (repunctuate-sentences): New function.
3769 2003-05-23 Lute Kamstra <Lute.Kamstra@cwi.nl>
3771 * emacs-lisp/lisp-mnt.el: Make the description of the library more
3773 (lm-any-header): New user option.
3774 (lm-section-start): New function; rewrite of `lm-section-mark'.
3775 (lm-section-mark): Make alias of `lm-section-start'.
3776 (lm-section-end): New function.
3777 (lm-code-start): New function; rewrite of `lm-code-mark'.
3778 (lm-code-mark): Make alias of `lm-code-start'.
3779 (lm-commentary-start): New function; rewrite of `lm-commentary-mark'.
3780 (lm-commentary-mark): Make alias of `lm-commentary-start'.
3781 (lm-commentary-end): New function.
3782 (lm-history-start): New function; rewrite of `lm-history-mark'.
3783 (lm-history-mark): Make alias of `lm-history-start'.
3784 (lm-commentary): Use `lm-commentary-end' to find the end of the
3787 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
3788 Use `lm-commentary-end' to find the end of the commentary section.
3790 2003-05-22 Stefan Monnier <monnier@cs.yale.edu>
3792 * skeleton.el (define-skeleton): Use the `no-self-insert' property.
3793 (skeleton-proxy-new): Fix docstring. Remove broken interactive spec.
3794 Rely on use `no-self-insert' rather than `skeleton-abbrev-cleanup'.
3795 (skeleton-internal-1): Add a `recursive' argument.
3796 (skeleton-internal-list): Use it to propagate `recursive'.
3798 2003-05-22 Ken Stevens <kstevens@ichips.intel.com>
3800 * ispell.el: Sync to version 3.6.
3801 Summary: MIME support added for e-mail processing that
3802 skips encoded regions. Allow user to skip saving Fcc messages with
3803 large attachments. Fixed region skipping bug with multi-line
3804 comments - e.g. tex $ regions spanning multiple lines.
3805 Added support for postscript and uuencoded regions.
3806 Redundant dictionary file names purged.
3807 Dictionary definition field name changed from "Character Set"
3808 to "Coding System". Fixed bug in reloading dictionaries.
3809 Modified headers to reflect new version. XEmacs menu now adds
3811 (ispell-check-version): No longer an aliased function.
3812 Returns library path if not called interactively.
3813 Variable `temporary-file-directory' protected if not loaded.
3814 (check-ispell-version): Now the alias for `ispell-check-version'.
3815 (ispell-message-fcc-skip): New variable that determines if and when
3816 to query about saving Fcc copy of message if an attachment is large.
3817 (ispell-skip-html): Declare buffer-local.
3818 (ispell-local-dictionary-alist): Docstring expanded.
3819 Tag name changed from "Character Set" to "Coding System".
3820 (ispell-dictionary-alist-1): Remove redundant command-line option to
3821 load brasileiro, british, and castellano dictionary files.
3822 (ispell-dictionary-alist-2): Remove redundant command-line option to
3823 load czech dictionary file.
3824 (ispell-dictionary-alist-3): Move francais-tex here.
3825 (ispell-dictionary-alist-4): Remove german and german8 dictionaries.
3826 The deutsch ones are the correct definitions. `nederlands'
3827 and `nederlands8' dictionaries moved here.
3828 (ispell-dictionary-alist-5): `polish' and `portugues' dictionaries
3829 moved here. Removed redundant command-line option to `norsk'
3831 (ispell-dictionary-alist-6): Remove redundant command-line option to
3832 load `russian' and `slovak' dictionary files.
3833 (ispell-dictionary-alist): Tag name changed from "Character Set" to
3835 (ispell-version): Update to 3.6.
3836 (ispell-library-directory): Calls non-deprecated function.
3837 (ispell-valid-dictionary-list): New function returning all valid
3838 dictionaries on machine.
3839 (ispell-checking-message): Documentation string improved.
3840 (ispell-skip-region-alist): Add uuencoded and postscript region
3841 skipping. Improve http/e-mail/file regexp to not match `/.\w'.
3842 (ispell-html-skip-alists): New variable for html region support.
3843 (ispell-send-string): Remove redundant xemacs check.
3844 (ispell-word): Fix spelling error in documentation string, add
3845 extent information to support highlighting in ispell-minor-mode.
3846 (ispell-command-loop): Disable horizontal scrollbar in XEmacs
3848 (ispell-show-choices): Directly select `choices-window'.
3849 (ispell-help): Use default buffer size for electric help.
3850 (ispell-adjusted-window-height): Correct for xemacs detection.
3851 (ispell-start-process): Don't double specify dictionary file name.
3852 (ispell-init-process): Set `ispell-library-path' each call.
3853 (ispell-change-dictionary): Now only completes valid dictionaries.
3854 (ispell-region): Add support for MIME region skipping and Fcc
3855 message query for large attachments.
3856 (ispell-begin-skip-region-regexp): Add documentation string.
3857 Add message support and clean up code for generic and html regions.
3858 (ispell-begin-skip-region): Function is now requires alist argument.
3859 (ispell-begin-tex-skip-regexp): Add comments and support
3860 improved html and message regions.
3861 (ispell-skip-region-list): New function for MIME and region skipping.
3862 (ispell-tex-arg-end): Add documentation string.
3863 (ispell-ignore-fcc): New function to query saving Fcc message.
3864 (ispell-skip-region): Calculate alist for key match dynamically,
3865 html skipping pushed to alists.
3866 (ispell-get-line): Add support for multi-line comment regions.
3867 (ispell): Check that variables to continue spelling are bound.
3868 (ispell-message-text-end): Postscript and uuencoded regions now
3869 supported as MIME regions, rather than as end-of-message region.
3870 (ispell-mime-multipartp): New function supporting MIME.
3871 (ispell-mime-skip-part): New function supporting MIME.
3872 (ispell-message): Add MIME support.
3873 (ispell-buffer-local-parsing): Variable `ispell-skip-html' now local.
3874 (ispell-buffer-local-dict): Fix bug for detecting and reloading
3877 2003-05-22 Stephen J. Turnbull <stephen@xemacs.org>
3879 * subr.el (split-string): Implement specification that splitting on
3880 explicit separators retains null fields. Add new argument
3881 OMIT-NULLS. Special-case (split-string "a string").
3883 2003-05-22 Stefan Monnier <monnier@cs.yale.edu>
3885 * international/mule-cmds.el (select-safe-coding-system):
3886 Try default-buffer-file-coding-system too for automatic selection.
3888 2003-05-21 Stefan Monnier <monnier@cs.yale.edu>
3890 * simple.el (ctl-x-map): Remove the C-x U binding added recently.
3892 2003-05-21 Dave Love <fx@gnu.org>
3894 * descr-text.el (unicodedata-file): New.
3895 (unicode-data): New (adapted from unicode branch).
3896 (describe-char): Use it. Print char's unicode differently.
3897 Avoid elements with null cadr when formatting list. Clarify error
3898 message when used in Help buffer.
3899 (button): Require when compiling.
3900 (describe-char-after): Alias for obsolete command.
3902 2003-05-21 Nick Roberts <nick@nick.uklinux.net>
3904 * gdb-ui.el (gud-gdba-command-name): Use -noasync option for Gdb
3906 (gdb-display-end): Only make buffer writeable temporarily.
3907 Move "View" submenu up one level.
3909 2003-05-21 Nick Roberts <nick@nick.uklinux.net>
3911 * gdb-ui.el (gdb-view-source, gdb-selected-view): New variables.
3912 (gdba): Inhibit DOS window in MS Windows.
3913 (gdb-inferior-io-mode): Use hexl instead of cat.
3914 (gdb-info-breakpoints-custom, gdb-assembler-custom, gdb-reset):
3915 Use text in margin for MS Windows as there is no image support.
3916 (gdb-restore-windows, gdb-setup-windows): Restore/start with
3917 assembler view if appropriate.
3918 (gdb-assembler-custom): Assembler code should display at point.
3919 Parse address correctly.
3920 (gdb-frame-handler): Accommodate selection of display of source
3922 Add radio buttons to select display of source or assembler.
3924 2003-05-20 Lars Hansen <larsh@math.ku.dk>
3926 * desktop.el (desktop-save): Ensure parameter is expanded and ends
3927 with a slash before assigning it to desktop-dirname and
3929 (desktop-read): Put buffers existing prior to evaluating the
3930 desktop (and not reused) at the end of the buffer list.
3931 (desktop-create-buffer): Don't update desktop-first-buffer for old
3934 2003-05-19 John Paul Wallington <jpw@gnu.org>
3936 * xml.el (xml-name-regexp): Wrap in `eval-and-compile'.
3938 2003-05-19 Dave Love <fx@gnu.org>
3940 * xml.el: Doc fixes.
3941 (xml-parse-file, xml-parse-region): Autoload.
3942 (xml-syntax-table, xml-name-regexp): New.
3943 (xml-parse-region): Narrow to region, set syntax-table and
3944 case-fold-search. Reject fewer valid documents.
3945 (xml-parse-tag): Remove arg END. Callers changed.
3946 (xml-parse-tag): Use skip-syntax-forward. Use PARSE-DTD arg
3947 properly. Don't use buffer-substring-no-properties. Don't bind
3948 case-fold-search. Fix syntax for empty elements. Hoist consing
3949 of end-of-tag regexp out of loop.
3950 (xml-parse-attlist): Remove arg. Callers changed.
3951 Use skip-syntax-forward, replace-regexp-in-string, forward-sexp.
3952 Allow non-ASCII names.
3953 (xml-skip-dtd): Remove arg. Callers changed. Change matching code.
3954 (xml-parse-dtd): Grok external DTDs. Allow non-ASCII.
3955 Don't use match-string-no-properties.
3956 (xml-ucs-to-string): Delete.
3957 (xml-substitute-entity): New.
3958 (xml-substitute-special): Use it.
3959 (xml-debug-print-internal): Simplify insertions.
3960 (xml-parse-file): Avoid finding file in xml-mode.
3962 2003-05-19 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
3964 * simple.el (kill-whole-line): New function.
3965 * bindings.el (global-map): Bind it.
3967 2003-05-19 Richard M. Stallman <rms@gnu.org>
3969 * net/goto-addr.el (goto-address-fontify-maximum-size):
3970 Value t means no limit.
3971 (goto-address-fontify): Implement that feature.
3973 * emacs-lisp/find-func.el (find-function-on-key):
3974 Move the call to find-function-other-window outside
3977 * find-file.el (ff-special-constructs): Delete the Ada entry.
3979 * faces.el (x-create-frame-with-faces):
3980 Don't call face-set-after-frame-default.
3981 (face-set-after-frame-default): Copy attrs of global `default'
3982 face to FRAME's `default' face.
3984 2003-05-19 Joe Kelsey <joek@flyingcroc.net>
3986 * skeleton.el (skeleton-internal-1): Allow - as alternate
3987 interesting point marker and revert @ to just setting
3990 2003-05-18 Stefan Monnier <monnier@cs.yale.edu>
3992 * emacs-lisp/lisp.el (beginning-of-defun-raw): Use shy-group.
3994 * progmodes/executable.el (executable-set-magic): Remove unused
3995 vars `point' and `buffer-modified-p'.
3997 * mail/sendmail.el (mail-mode): Don't bother setting paragraph-start.
3999 * mail/mail-extr.el: Use explicit coding tag.
4001 * international/mule.el (sgml-xml-auto-coding-function)
4002 (sgml-html-meta-auto-coding-function): Don't assume point-min == 1.
4004 * language/china-util.el (hz-set-msb-table): Build when compiling.
4005 (big5-to-cns): Pre-build the alist when compiling.
4007 * language/ind-util.el (indian-regexp-of-hashtbl-keys): Don't bother
4008 sorting the argument to regexp-opt.
4009 (indian--puthash-char): Use dolist rather than mapc.
4011 2003-05-18 Nick Roberts <nick@nick.uklinux.net>
4013 * gdb-ui.el (put-arrow): Rename gdb-put-arrow and simplify.
4014 (put-string): Rename gdb-put-string and simplify.
4015 (remove-strings): Rename gdb-remove-strings.
4016 (remove-arrow): Rename gdb-remove-arrow.
4017 (gdb-assembler-custom): Try to get line marker (arrow) to display
4018 in window (revisited).
4019 Use with-current-buffer where possible.
4021 2003-05-18 John Paul Wallington <jpw@gnu.org>
4023 * ibuffer.el (ibuffer-display-summary): New customizable variable.
4024 (ibuffer-update-title-and-summary): Respect it.
4026 2003-05-18 Michael Kifer <kifer@cs.stonybrook.edu>
4028 * ediff-mult.el (ediff-default-filtering-regexp): New variable.
4030 * ediff-util.el (ediff-maybe-save-and-delete-merge): Change in a
4033 * ediff.el (ediff-directories,ediff-directory-revisions)
4034 (ediff-directories3,ediff-merge-directories)
4035 (ediff-merge-directories-with-ancestor,ediff-merge-directory-revisions)
4036 (ediff-merge-directory-revisions-with-ancestor): Make use of the new
4037 ediff-default-filtering-regexp variable.
4039 2003-05-18 Richard M. Stallman <rms@gnu.org>
4041 * which-func.el (which-func-current, which-func-format):
4042 Preload the risky-local-variable properties for them.
4044 * subr.el (prepare-change-group): Reinstate BUFFER arg; make it work.
4046 2003-05-18 Nick Roberts <nick@nick.uklinux.net>
4048 * gud.el (gdb): Define gud-nexti.
4049 (gud-menu-map): Add gud-nexti to map.
4050 (gud-tool-bar-map): Add gud-nexti and gud-stepi to toolbar.
4052 * toolbar/gud-stepi.xpm, toolbar/gud-stepi.pbm,
4053 toolbar/gud-nexti.xpm, toolbar/gud-nexti.pbm: New icons for debugger.
4055 2003-05-17 John Paul Wallington <jpw@gnu.org>
4057 * international/ja-dic-cnv.el (skkdic-okuri-nasi-entries)
4058 (skkdic-okuri-nasi-entries-count): Use defvar for non-constants.
4060 * register.el (number-to-register): Use `string-to-number' instead
4063 2003-05-17 Stefan Monnier <monnier@cs.yale.edu>
4065 * log-edit.el: Don't require vc.el anymore.
4066 (log-edit-mode-map): Fold vc-log-mode-map into it.
4067 (vc-log-mode-map): Redefine as an alias.
4068 (vc-previous-comment): Don't widen.
4069 (vc-comment-to-change-log): Don't redundantly set paragraph-separate.
4070 Don't require `add-log' since it's already required at toplevel.
4072 * vc.el (vc-log-mode-map, vc-maximum-comment-ring-size)
4073 (vc-comment-ring, vc-comment-ring-index, vc-last-comment-match):
4074 Move vars to log-edit.el.
4075 (vc-new-comment-index, vc-previous-comment, vc-next-comment)
4076 (vc-comment-search-reverse, vc-comment-search-forward)
4077 (vc-comment-to-change-log): Move funs to log-edit.el.
4078 (vc-clear-context): Don't empty the comment-ring.
4079 (vc-finish-logentry): Don't add the comment onto the comment-ring.
4081 * log-edit.el (vc-log-mode-map, vc-maximum-comment-ring-size)
4082 (vc-comment-ring, vc-comment-ring-index, vc-last-comment-match):
4083 Move vars from vc.el.
4084 (vc-new-comment-index, vc-previous-comment, vc-next-comment)
4085 (vc-comment-search-reverse, vc-comment-search-forward)
4086 (vc-comment-to-change-log): Move funs from vc.el.
4087 (log-edit-show-files): Remove unused var `editbuf'.
4089 * progmodes/tcl.el (tcl-indent-exp): Remove dead code.
4090 (tcl-tab-always-indent): Default to tab-always-indent.
4092 * progmodes/perl-mode.el (perl-end-of-function): Remove unused var.
4093 (perl-tab-always-indent): Default to tab-always-indent.
4095 * which-func.el (which-func-format): Make it risky-local-variable.
4096 (which-func-table): New var.
4097 (which-func-current): Make it into a constant modeline spec.
4098 (which-func-previous): Remove.
4099 (which-func-update): Only update the selected window.
4100 (which-func-update-1): Use the new var to allow the current
4101 function to be different for a buffer shown in two windows.
4103 * subr.el (with-selected-window): New macro.
4104 (dolist, dotimes, with-current-buffer): Use backquotes.
4105 (when, unless, save-match-data, combine-after-change-calls)
4106 (with-output-to-string, with-temp-buffer): Add `declare' info.
4107 (listify-key-sequence): Don't allocate unnecessarily.
4108 (read-quoted-char): Allow up to base 36.
4109 (prepare-change-group): Remove unimplemented argument.
4110 (macro-declaration-function): Avoid `dolist' and `cadr'.
4112 * wid-edit.el (pp-to-string, Info-goto-node): Don't autoload.
4113 (widget-choose, widget-map-buttons): Use with-current-buffer.
4114 (widget-field-add-space): Change to nil (and to defconst).
4115 (widget-info-link-action): Use `info'.
4117 2003-05-17 Nick Roberts <nick@nick.uklinux.net>
4119 * gdb-ui.el (gdb-info-frames-custom): Reverse contrast of face for
4121 (gdb-annotation-rules): Stop using frames-invalid and
4122 breakpoints-invalid annotations. Update after post-prompt instead.
4123 (gdb-post-prompt): Update frames and breakpoints here.
4124 (gdb-invalidate-frame-and-assembler)
4125 (gdb-invalidate-breakpoints-and-assembler): Remove.
4126 (gdb-current-address): Remove.
4127 (gdb-previous-address): New variable.
4128 (gud-until): Extend to work in Assembler buffer
4129 (gdb-append-to-inferior-io): Select IO buffer when there is output.
4130 (gdb-assembler-custom): Try to get line marker (arrow) to display
4131 in window. Correct parsing for OS dependent output syntax of Gdb
4133 (gdb-frame-handler): Correct parsing for OS dependent output
4134 syntax of Gdb command, frame.
4135 (gdb-invalidate-assembler): Update assembler buffer correctly when
4136 frame changes (revisited).
4138 2003-05-16 Stefan Monnier <monnier@cs.yale.edu>
4140 * imenu.el (imenu--split-menu): Remove unused var `count'.
4141 Don't copy the sequence since we're already modifying it elsewhere.
4142 (imenu--create-keymap): Rename from imenu--create-keymap-1.
4143 Add optional `cmd' argument. Remove unused var `counter'.
4144 (imenu-update-menubar): Use the new arg to keep the old behavior.
4145 (imenu--mouse-menu): Don't use the arg, to recover the lost behavior.
4147 2003-05-16 Lute Kamstra <Lute.Kamstra@cwi.nl>
4149 * hl-line.el (hl-line-highlight, global-hl-line-highlight):
4150 Use `line-beginning-position' to determine the beginning of the next
4153 2003-05-16 Kenichi Handa <handa@m17n.org>
4155 * international/mule-cmds.el (mule-menu-keymap): Enable the menu
4156 set-various-coding-system when
4157 default-enable-multibyte-characters is non-nil.
4159 2003-05-15 Stefan Monnier <monnier@cs.yale.edu>
4161 * emacs-lisp/autoload.el (make-autoload): Add arglist for
4162 define-derived-mode.
4164 2003-05-15 Lute Kamstra <Lute.Kamstra@cwi.nl>
4166 * hl-line.el: Rewrite the local minor mode so that it can be
4167 sticky as well and made sticky the default. Reimplement the
4168 global minor mode. Update the commentary section to document
4170 (hl-line-sticky-flag): New user option.
4171 (hl-line-overlay): Make it buffer-local and give it a docstring.
4172 (global-hl-line-overlay): New variable.
4173 (hl-line-mode): Rewrite to use `hl-line-sticky-flag'.
4174 (hl-line-highlight): Rewrite to use `hl-line-sticky-flag'.
4175 (hl-line-unhighlight): Update docstring.
4176 (global-hl-line-mode): Implement directly so that is does not
4177 depend on `hl-line-mode' any more.
4178 (global-hl-line-highlight, global-hl-line-unhighlight): New functions.
4180 2003-05-15 Kenichi Handa <handa@m17n.org>
4182 * international/code-pages.el (cyrillic-koi8-t): Alias of koi8-t.
4184 2003-05-15 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4186 * ps-print.el: Avoid unnecessary calls to funs in header and footer
4187 variables. Reported by Greg Hill <ghill@synergymicro.com>.
4188 (ps-print-version): New version number (6.6.1).
4189 (ps-begin-page): Code fix.
4190 (ps-generate-string-list, ps-header-footer-string): New funs.
4191 (ps-lh-cache, ps-rh-cache, ps-lf-cache, ps-rf-cache): New vars.
4193 * ps-mule.el (ps-mule-header-string-charsets):
4194 Call ps-header-footer-string to avoid unnecessary calls to functions
4195 in header and footer variables.
4197 2003-05-15 John Paul Wallington <jpw@gnu.org>
4199 * mail/rmail.el (rmail-ignored-headers): Ignore Face: header.
4201 2003-05-14 Stefan Monnier <monnier@cs.yale.edu>
4203 * textmodes/tex-mode.el (tex-compile-history, tex-input-files-re)
4204 (tex-use-reftex, tex-compile-commands): New vars.
4205 (tex-summarize-command, tex-uptodate-p, tex-executable-exists-p)
4206 (tex-command-executable, tex-command-active-p, tex-compile-default)
4208 (tex-compile): New command.
4209 (tex-mode-map): Bind it to C-c C-c.
4211 * vc-svn.el (completion-ignored-extensions): Add .svn.
4212 (vc-svn-delete-file): New function.
4214 * pcvs.el (cvs-append-to-ignore): New arg `old-dir'.
4215 (cvs-mode-ignore): Use it.
4217 * pcvs-parse.el (cvs-parse-table): Remove unused var `type'.
4218 Look up `.cvsignore' to see what to do with `new-dir' messages.
4219 (cvs-parse-merge): Remove unused var `handled'.
4221 2003-05-14 Christoph Wedler <christoph.wedler@sap.com>
4223 * format.el (format-annotate-function): Copy coding system into the
4226 2003-05-14 John Paul Wallington <jpw@gnu.org>
4228 * ls-lisp.el (insert-directory): Discard --dired switch when
4229 `ls-lisp-use-insert-directory-program' is nil.
4231 2003-05-13 Stefan Monnier <monnier@cs.yale.edu>
4233 * textmodes/ispell.el (xemacsp): Remove. Use (featurep 'xemacs).
4234 (ispell-graphic-p): Inline and then remove.
4235 (toplevel): Get rid of unnecessary loop.
4236 (ispell-parse-output, ispell-complete-word): Replace (substring s 0 1)
4237 with a call to aref.
4238 (ispell-get-line): Remove unused arg `reg-end'.
4239 (ispell-region): Update corresponding call.
4241 * progmodes/cpp.el (cpp-make-overlay-hidden): Don't make intangible.
4243 * progmodes/compile.el (compile-internal): Use with-current-buffer.
4244 (compilation-set-window-height): Use save-selected-window.
4246 * progmodes/ada-xref.el (ada-xref-update-project-menu): Use easymenu.
4247 (ada-goto-declaration-other-frame): Remove unused arg other-frame.
4248 (ada-gdb-application): Remove unused vars comint-exec, in-post-mode,
4249 and gud-gdb-massage-args.
4251 * progmodes/cc-langs.el (c-lang-defvar-init-form-tail):
4252 This is actually not a constant.
4254 * progmodes/autoconf.el (autoconf-current-defun-function):
4255 Copy the syntax table before modifying it.
4257 * progmodes/ada-mode.el (ada-in-comment-p, ada-in-string-p)
4258 (ada-in-string-or-comment-p): Use line-beginning-position.
4260 * textmodes/reftex.el (reftex-select-with-char): Don't assume
4261 that point-min == 1.
4263 * textmodes/reftex-toc.el (reftex-toc-visit-location):
4264 Don't switch the current window if the new buffer is in another.
4265 (reftex-toc): Don't assume that point-min == 1.
4267 * textmodes/reftex-parse.el (reftex-what-macro): Don't assume
4268 that point-min == 1.
4270 * textmodes/reftex-cite.el (reftex-extract-bib-entries)
4271 (reftex-extract-bib-entries-from-thebibliography): New arg re-list.
4272 (reftex-extract-bib-entries): Use ^ rather than \(\`\|[\n\r]\).
4273 Use member-ignore-case. Don't add unnecessary trailing \n.
4274 (reftex-offer-bib-menu): Consolidate duplicated code from
4275 reftex-extract-bib-entries and
4276 reftex-extract-bib-entries-from-thebibliography.
4278 * simple.el (back-to-indentation): Simplify.
4279 (undo-equiv-table, undo-in-region, undo-no-redo): New vars.
4280 (undo): Use them to implement the no-redo form of undo.
4281 (undo-only): New fun.
4282 (shell-command): Don't require `shell' since shell-mode is autoloaded.
4283 (insert-buffer): Simplify.
4284 (completion-setup-function): Use minibufferp.
4285 (event-apply-alt-modifier, event-apply-super-modifier)
4286 (event-apply-hyper-modifier, event-apply-shift-modifier)
4287 (event-apply-control-modifier, event-apply-meta-modifier):
4288 Fix docstring to show the proper key sequence.
4290 * uniquify.el (uniquify-after-kill-buffer-p): Set default to t.
4291 (uniquify-ignore-buffers-re): Revert to nil now that uniquify
4292 is more careful about preserving buffer names.
4294 * menu-bar.el (menu-bar-options-menu) <cua-mode>:
4295 Use menu-bar-make-mm-toggle.
4297 * files.el (file-relative-name): Remove dead code.
4298 Make sure \n in a filename does not confuse us.
4300 * help-fns.el (describe-variable): Mention permanent local status.
4302 * comint.el (comint-carriage-motion, comint-output-filter):
4303 Bind inhibit-read-only rather than buffer-read-only.
4304 (comint-truncate-buffer): Bind inhibit-read-only.
4306 * pcvs.el (cvs-make-cvs-buffer): Add the tag info.
4307 (cvs-mode): Prevent pilot-error.
4309 * vc-mcvs.el (vc-mcvs-registered, vc-mcvs-root): Check the output
4310 of file-name-directory for nil.
4312 2003-05-13 Simon Josefsson <jas@extundo.com>
4314 * mail/smtpmail.el (smtpmail-open-stream): Don't hard code
4317 2003-05-13 Rajesh Vaidheeswarran <rv@gnu.org>
4319 * whitespace.el (whitespace-global-mode): Add :link entry
4320 to the commentary section in whitespace.el
4322 2003-05-13 Nick Roberts <nick@nick.uklinux.net>
4324 * gdb-ui.el (gdb-invalidate-assembler): Update assembler buffer
4325 correctly when frame changes.
4326 (gdb-info-threads-custom, gdb-threads-buffer-name)
4327 (gdb-display-threads-buffer, gdb-frame-threads-buffer)
4328 (gdb-threads-mode-map, gdb-threads-mode, gdb-get-thread-number)
4329 (gdb-threads-select, gdb-threads-mouse-select): New functions and
4330 variable for a buffer that provides a selectable threads list.
4332 2003-05-12 Stefan Monnier <monnier@cs.yale.edu>
4334 * pcvs-parse.el (cvs-parse-table): `New directory' messages include
4337 * pcvs.el (cvs-minor-current-files): Move before first use.
4338 (defun-cvs-mode): Remove unused var `restdoc'.
4339 (cvs-edit-log-revision, ediff-after-quit-hook-internal): Declare.
4340 (cvs-mode-diff-backup): Remove unused var `filter'.
4341 (cvs-mode-run): Remove unused var `cvs-buf'.
4342 (cvs-mode-do): Remove unused arg `parse'.
4343 (cvs-retrieve-revision): Make sure HEAD gets the head of the branch.
4345 * textmodes/sgml-mode.el (sgml-namespace-re): New const.
4346 (sgml-namespace-face): New face.
4347 (sgml-font-lock-keywords-1): Use them.
4349 2003-05-11 Kevin Ryde <user42@zip.com.au>
4351 * info-look.el (info-lookup-make-completions): Allow colons in index
4352 entries by looking for ": " to terminate, as per latest info.el.
4354 2003-05-11 Stefan Monnier <monnier@cs.yale.edu>
4356 * vc-mcvs.el (vc-mcvs-command): Filter output of `status'.
4357 (vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff):
4358 Change dir so that the filtered output of `mcvs makes sense.
4359 (vc-mcvs-mode-line-string): Handle the case where CVS is desync'd.
4360 (vc-mcvs-diff-tree): Don't bother with the local-diff code.
4361 (vc-mcvs-create-snapshot): Use `branch' and `switch'.
4363 2003-05-10 Stefan Monnier <monnier@cs.yale.edu>
4365 * newcomment.el (comment-indent): Try to align to adjacent comments.
4366 (comment-with-narrowing): Actually use the arguments.
4367 (comment-valid-prefix-p): Rename from comment-valid-prefix
4368 and fix to actually use its argument.
4370 * tex-mode (tex-mode-syntax-table): ~ is not whitespace.
4371 (tex-guess-mode): Add `renewcommand'.
4372 (tex-mode): Move the autoload to get the correct docstring and usage.
4374 * uniquify.el (uniquify-rationalize-file-buffer-names):
4375 Refresh the dirname in the case that rename-buffer was skipped.
4376 (uniquify-buffer-file-name): Return a dirname with no trailing slash.
4378 * mail/smtpmail.el (smtpmail-send-queued-mail): Use point-at-bol
4379 instead of forward-line.
4381 2003-05-10 Oliver Scholz <alkibiades@gmx.de>
4383 * startup.el (fancy-splash-default-action): Fix docstring.
4385 2003-05-09 Sam Steingold <sds@gnu.org>
4387 * pcvs.el (cvs-mode-find-file): Fixed the last patch's logic.
4389 2003-05-09 Stefan Monnier <monnier@cs.yale.edu>
4391 * newcomment.el (comment-indent): Be more careful when inserting
4392 the space, and insert it before setting `begpos'.
4394 * vc.el: New backend functions `delete-file' and `repository-hostname'.
4395 (vc-stay-local): New var. Mostly taken from vc-cvs-stay-local.
4396 (vc-stay-local-p): New fun. Adapted from vc-cvs-stay-local-p.
4397 (vc-diff-switches-list): Revert to the Emacs-21.[123] semantics.
4399 (vc-delete-file): New command.
4400 (vc-default-rename-file): New function.
4401 (vc-rename-file): Use it.
4402 Be careful to disallow renaming if the file is locked or out-of-date.
4403 (vc-ensure-vc-buffer, vc-next-action-on-file, vc-insert-headers)
4404 (vc-cancel-version, vc-annotate): Use buffer-file-name variable.
4406 * vc-mcvs.el (vc-mcvs-stay-local): Remove unused var.
4407 (vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff)
4408 (vc-mcvs-diff-tree, vc-mcvs-annotate-command)
4409 (vc-mcvs-make-version-backups-p): Use vc-stay-local-p.
4410 (vc-mcvs-checkin): Disallow commits to a numbered rev.
4411 (vc-mcvs-repository-hostname): New function.
4412 (vc-mcvs-stay-local-p): Remove.
4414 * vc-cvs.el (vc-cvs-mode-line-string): Use vc-default-mode-line-string.
4415 (vc-cvs-delete-file, vc-cvs-rename-file): New functions.
4417 * vc-svn.el (vc-svn-rename-file): New fun.
4418 (vc-svn-diff): Correctly check svn's return status.
4419 (vc-svn-state, vc-svn-dir-state, vc-svn-print-log, vc-svn-diff)
4420 (vc-svn-diff-tree): Use vc-stay-local-p.
4421 (vc-svn-register-switches, vc-svn-diff-switches, vc-svn-header)
4422 (vc-svn-use-edit): Fix the :version property.
4423 (vc-svn-stay-local): Remove unused var.
4424 (vc-svn-mode-line-string): Remove, use the default instead.
4425 (vc-svn-repository-hostname): New fun taken from vc-svn-stay-local-p.
4426 (vc-svn-stay-local-p): Remove.
4428 * uniquify.el: Use the original buffer-name as `base' in place of the
4429 nondirectory part of the file name.
4430 (uniquify-rationalize-file-buffer-names):
4431 Split the `newbuffile' arg into `base' and `dirname'.
4432 Reuse old uniquify-items to avoid recomputing their base&dirname.
4433 (uniquify-buffer-file-name): Only return the directory part.
4434 (uniquify-rerationalize-w/o-cb): Don't bother reseting proposed names.
4435 (rename-buffer): Use the `newname' arg as base.
4436 (create-file-buffer): Split the file name into base and dirname.
4438 2003-05-09 Jesper Harder <harder@ifa.au.dk> (tiny change)
4440 * mail/smtpmail.el (smtpmail-send-queued-mail): Don't use kill-line.
4442 2003-05-08 Stefan Monnier <monnier@cs.yale.edu>
4444 * uniquify.el (uniquify-after-kill-buffer-p): Fix misleading docstring.
4445 (uniquify-make-item): Make `proposed' optional.
4446 (uniquify-rationalize-file-buffer-names): Don't compute the
4447 initial proposed name.
4448 (uniquify-buffer-file-name): Remove dead code.
4449 (uniquify-strip-common-suffix): New var.
4450 (uniquify-rationalize): Always recompute initial proposed name.
4451 Strip common suffix if requested.
4453 * vc-rcs.el (vc-rcs-register, vc-rcs-checkin, vc-rcs-checkout)
4454 (vc-rcs-find-version, vc-rcs-diff): Use vc-switches.
4456 * vc-sccs.el (vc-sccs-register, vc-sccs-find-version)
4457 (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-diff): Use vc-switches.
4458 (vc-sccs-register): Remove unused var `|'.
4460 * vc-mcvs.el (vc-mcvs-read): Don't require `file' to exist.
4461 (vc-mcvs-diff): Don't return 0 for newly added empty files.
4462 (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-find-version)
4463 (vc-mcvs-checkout, vc-mcvs-diff, vc-mcvs-diff-tree): Use vc-switches.
4465 * vc-cvs.el (vc-cvs-dired-state-info): Use `added' for added files and
4466 don't use `concat' unnecessarily. Remove impossible cases.
4467 (vc-cvs-diff): Don't return 0 for newly added empty files.
4468 (vc-cvs-stay-local-p): Simplify.
4469 (vc-cvs-register, vc-cvs-checkin, vc-cvs-find-version, vc-cvs-diff)
4470 (vc-cvs-diff-tree, vc-cvs-checkout): Use vc-switches.
4472 * vc-svn.el (vc-svn-dired-state-info): Use `added' for added files and
4473 don't use `concat' unnecessarily. Remove impossible cases.
4474 (vc-svn-register, vc-svn-find-version, vc-svn-diff-tree):
4476 (vc-svn-checkin): Use vc-switches. Fix up regexp.
4477 (vc-svn-diff): Use vc-switches.
4478 Don't return 0 for newly added empty files.
4479 Don't use svn's return status.
4480 (vc-svn-parse-status): Recognize copied files as well.
4481 Use the last-modified revision for workfile-version.
4483 * vc-hooks.el (vc-default-workfile-unchanged-p): Pass nil
4484 rather than (vc-workfile-version file) to diff.
4486 * vc.el (with-vc-properties, with-vc-file, edit-vc-file):
4487 Add `declare's for debugging and indentation.
4488 (vc-do-command): Use `remq'.
4489 (vc-buffer-context): Remove unused var `curbuf'.
4490 (vc-next-action-dired): Remove unused var `dired-dir'.
4491 (vc-switches): New fun.
4492 (vc-diff-switches-list): Use it.
4493 (vc-dired-hook): Remove unused var `cvs-dir'.
4494 (vc-dired-purge): Remove unused var `subdir'.
4495 (vc-cancel-version): Remove unused var `config'.
4496 (vc-rename-master): Use dolist iso mapcar.
4497 (vc-rename-file): Remove redundant tests.
4498 Clear the properties of the old file name.
4499 (vc-annotate): Pass the complete filename to `annotate-command'.
4500 (vc-annotate-lines): Remove unused var `overlay'.
4502 2003-05-08 Glenn Morris <gmorris@ast.cam.ac.uk>
4504 * calendar/diary-lib.el (diary-pull-attrs): Make `ret-attr',
4506 (list-diary-entries): Make `temp' local.
4507 (fancy-diary-display): Make `marks', `temp-face', `faceinfo' local.
4508 (diary-mail-entries): There is no fancy-diary-buffer if there are
4509 no diary entries. Use call-interactively.
4510 (mark-diary-entries): Make `temp' local.
4511 (mark-sexp-diary-entries): Make `marks' local, remove `temp'.
4512 (list-sexp-diary-entries): Make `temp' local.
4513 (add-to-diary-list): Make `prefix' local.
4515 2003-05-08 Dave Love <fx@gnu.org>
4517 * international/utf-7.el: New file.
4519 2003-05-07 Francis J. Wright <F.J.Wright@qmul.ac.uk>
4521 * files.el (insert-file-contents-literally): Allow it to be called
4522 within a magic file name handler.
4524 2003-05-07 Stefan Monnier <monnier@cs.yale.edu>
4526 * uniquify.el (uniquify-rationalize-file-buffer-names):
4527 Don't uniquify if there is no filename.
4529 * vc-hooks.el: Use buffer-file-name variable rather than function.
4530 (vc-handled-backends): Add SVN and MCVS.
4531 (vc-mode-line): Call vc-backend only once.
4532 (find-file-hook, find-file-not-found-hook): Use the new
4533 names rather than ...-hooks.
4535 * uniquify.el (uniquify-item, uniquify-get-proposed-name)
4536 (uniquify-rationalize-conflicting-sublist): Rename filename -> dirname.
4537 (uniquify-rationalize): New fun. Set uniquify-managed to the fix-list.
4538 (uniquify-rationalize-file-buffer-names): Use it and make the args
4539 non-optional (i.e. don't support "re-rationalize all" any more).
4540 (uniquify-rerationalize-w/o-cb): New fun.
4541 (uniquify-maybe-rerationalize-w/o-cb): Use it to rerationalize
4542 immediately and only the relevant buffers.
4543 Merged from uniquify-delay-rationalize-file-buffer-names and
4544 uniquify-delayed-rationalize-file-buffer-names.
4545 (kill-buffer-hook, rename-buffer): Use it.
4547 2003-05-06 Jesper Harder <harder@ifa.au.dk>
4549 * progmodes/compile.el (compile-internal): Don't quote nil and t in
4552 * emacs-lisp/eldoc.el (eldoc-echo-area-use-multiline-p): Likewise.
4554 * emacs-lisp/cl-macs.el (case, typecase): Likewise.
4556 * allout.el (allout-auto-activation)
4557 (allout-use-mode-specific-leader, allout-reindent-bodies)
4558 (allout-unprotected): Likewise.
4560 * progmodes/tcl.el (tcl-explain-indentation): Likewise.
4562 * progmodes/idlwave.el (idlwave-complete-special): Likewise.
4564 * progmodes/cpp.el (cpp-edit-list): Likewise.
4566 * progmodes/cperl-mode.el (cperl-lineup): Likewise.
4568 * progmodes/cc-align.el (c-lineup-argcont, c-lineup-gcc-asm-reg):
4571 * play/mpuz.el (mpuz-silent): Likewise.
4573 * play/decipher.el (decipher-ignore-spaces): Likewise.
4575 * net/rlogin.el (rlogin-process-connection-type): Likewise.
4577 * mail/rmail.el (rmail-primary-inbox-list): Likewise.
4579 * mail/mailalias.el (mail-directory-function)
4580 (mail-directory-requery, mail-directory): Likewise.
4582 * emacs-lisp/lucid.el (buffer-syntactic-context): Likewise.
4584 * emacs-lisp/lmenu.el (popup-dialog-box): Likewise.
4586 * type-break.el (type-break-good-rest-interval)
4587 (type-break-query-mode, type-break-query-function)
4588 (type-break-mode-line-message-mode): Likewise.
4590 * skeleton.el (skeleton-autowrap, skeleton-untabify)
4591 (skeleton-newline-indent-rigidly, skeleton-insert)
4592 (skeleton-read): Likewise.
4594 * simple.el (newline): Likewise.
4596 * ps-print.el (ps-zebra-stripe-follow): Likewise.
4598 * mwheel.el (mouse-wheel-scroll-amount): Likewise.
4600 * env.el (setenv): Likewise.
4602 2003-05-06 Stefan Monnier <monnier@cs.yale.edu>
4604 * imenu.el (imenu--generic-function): Use font-lock-defaults
4605 case setting if imenu-case-fold-search is not locally set.
4607 * uniquify.el (uniquify-managed): New var.
4608 (uniquify-rationalize-file-buffer-names, rename-buffer): Use it and set
4609 it to prevent accidental renaming of unrelated buffers.
4610 (uniquify-delay-rationalize-file-buffer-names): Use it to avoid
4611 the cost of uniquify when killing unrelated buffers.
4613 * newcomment.el (comment-set-column, comment-kill)
4614 (comment-or-uncomment-region): Call comment-normalize-vars
4615 since these functions are autoloaded.
4617 * help-fns.el (help-add-fundoc-usage): Use t for "no arglist".
4618 * emacs-lisp/advice.el (ad-make-advised-docstring): Adjust usage.
4620 2003-05-06 Lute Kamstra <Lute.Kamstra@cwi.nl>
4622 * hl-line.el: Removed an erroneous comment.
4623 (hl-line-mode): Use buffer local hooks.
4624 (global-hl-line-mode): Turn local modes on unconditionally.
4625 (hl-line-highlight): Comment fix.
4627 2003-05-06 Richard M. Stallman <rms@gnu.org>
4629 * newcomment.el (comment-search-forward): Delete autoload cookie.
4631 2003-05-06 Kenichi Handa <handa@m17n.org>
4633 * arc-mode.el (archive-set-buffer-as-visiting-file):
4634 Use after-insert-file-set-coding, not
4635 after-insert-file-set-buffer-file-coding-system.
4637 2003-05-05 Stefan Monnier <monnier@cs.yale.edu>
4639 * uniquify.el (uniquify-buffer-name-style)
4640 (uniquify-after-kill-buffer-p, uniquify-ask-about-buffer-names-p)
4641 (uniquify-ignore-buffers-re, uniquify-min-dir-content)
4642 (uniquify-separator, uniquify-trailing-separator-p): Remove redundant
4643 group specification.
4644 (uniquify-file-name-nondirectory): Delete.
4645 (uniquify-rationalize-file-buffer-names): Simplify.
4646 Use directory names as `filename' component of uniquify-item.
4647 (uniquify-get-proposed-name): Adjust now that `filename' does not
4650 * vc-svn.el: New file.
4652 2003-05-05 John Paul Wallington <jpw@gnu.org>
4654 * emacs-lisp/autoload.el (batch-update-autoloads):
4655 Call `update-directory-autoloads'.
4657 2003-05-04 Dan Nicolaescu <dann@ics.uci.edu>
4659 * dired.el (dired-find-file): Bind find-file-run-dired around
4660 the call to find-file.
4662 2003-05-04 Stefan Monnier <monnier@cs.yale.edu>
4664 * uniquify.el: Move provide to end of file.
4665 (uniquify-ref-base, uniquify-ref-filename, uniquify-ref-buffer)
4666 (uniquify-ref-proposed, uniquify-set-proposed): Remove.
4667 (uniquify-item): New struct. Update users of uniquify-ref-*.
4668 (uniquify-get-proposed-name, uniquify-rationalize-a-list):
4669 Make `depth' optional.
4670 (uniquify-non-file-buffer-names): Remove.
4671 (uniquify-rationalize-file-buffer-names): Don't set it up.
4672 Use uniquify-make-item and don't pass the now-optional depth.
4673 (uniquify-rationalize-conflicting-sublist): Check the new buffer
4674 name directly instead of relying on uniquify-non-file-buffer-names.
4675 (uniquify-rename-buffer): Use with-current-buffer and pass
4676 the `unique' arg to rename-buffer.
4678 * vc-mcvs.el (vc-mcvs-mode-line-string): Fix thinko.
4679 (vc-mcvs-rename-file): New function.
4681 2003-05-04 Emmanuel Briot <briot@gnat.com>
4683 * progmodes/ada-mode.el
4684 * progmodes/ada-prj.el
4685 * progmodes/ada-stmt.el
4686 * progmodes/ada-xref.el (ada-xemacs): Variable removed, since it's
4687 better to use (featurep 'xemacs).
4688 Removed warnings generated with Emacs 21.3.x (mostly by adding
4689 needed `require' statements).
4691 2003-05-04 Nick Roberts <nick@nick.uklinux.net>
4693 * toolbar/gud-break.pbm, toolbar/gud-cont.pbm, toolbar/gud-display.pbm,
4694 toolbar/gud-down.pbm, toolbar/gud-finish.pbm, toolbar/gud-until.pbm,
4695 toolbar/gud-next.pbm, toolbar/gud-print.pbm, toolbar/gud-remove.pbm,
4696 toolbar/gud-run.pbm, toolbar/gud-step.pbm, toolbar/gud-up.pbm:
4697 Correct size for cleaner bitmaps.
4699 2003-05-03 Stefan Monnier <monnier@cs.yale.edu>
4701 * emacs-lisp/cl-extra.el (cl-map-keymap): Redefine as alias.
4702 (cl-map-keymap-recursively): Use map-keymap.
4703 (cl-macroexpand-all): Don't quote functions.
4705 * emacs-lisp/lucid.el (cl-map-keymap): Be careful with aliases.
4707 * emacs-lisp/advice.el (ad-get-enabled-advices, ad-special-forms)
4708 (ad-arglist, ad-subr-arglist): Use push and match-string.
4709 (ad-make-advised-docstring): Extract & reinsert the usage info.
4711 * help-fns.el (help-add-fundoc-usage): Allow arglist to be a string.
4713 2003-05-03 Nick Roberts <nick@nick.uklinux.net>
4715 * gdb-ui.el (breakpoint-enabled-icon, breakpoint-disabled-icon):
4716 Include bitmap data for monochrome display.
4717 (breakpoint-enabled-pbm-data, breakpoint-disabled-pbm-data):
4720 2003-05-03 Richard M. Stallman <rms@gnu.org>
4722 * emacs-lisp/autoload.el (update-directory-autoloads): Renamed from
4723 update-autoloads-from-directories.
4725 * progmodes/cperl-mode.el (cperl-nonoverridable-face): Doc fix.
4727 * mail/sendmail.el (mail-dont-send, mail-bury): Make ARG optional.
4729 * view.el (Helper-return-blurb): Add defvar. (Also rearrange defuns.)
4731 * uniquify.el (uniquify-ignore-buffers-re): Change default
4732 to match some Gnus buffers.
4734 * newcomment.el (comment-search-forward): Add autoload cookie.
4736 * isearch.el (isearch-complete): Update isearch-message.
4738 * filesets.el (filesets-data): Add another defvar.
4739 (filesets-verbosity): Doc fix.
4741 2003-05-02 Tak Ota <Takaaki.Ota@am.sony.com> (tiny change)
4743 * recentf.el (recentf-cleanup): Swap tests for exclusion and
4746 2003-05-01 Eduardo Mu
\e,Aq
\e(Boz <emufer@terra.es> (tiny change)
4748 * ls-lisp.el (ls-lisp-format-file-size): New function to implement
4750 (ls-lisp-format): Use it.
4752 2003-05-01 Kenichi Handa <handa@m17n.org>
4754 * international/utf-8.el (utf-translate-cjk-mode): Update the
4755 second extra slot of the translation table
4756 utf-translation-table-for-encode.
4757 (mule-utf-8): Set the property translation-table-for-encode.
4759 2003-04-30 Stefan Monnier <monnier@cs.yale.edu>
4761 * pcvs.el (cvs-vc-command-advice): Don't parse "cvs update -p" output.
4762 (cvs-mode-find-file): Don't complain if bound to a non-mouse event.
4764 * textmodes/fill.el (text-property-default-nonsticky): Add fill-space.
4765 (fill-delete-newlines): Respect the new property.
4766 (fill-newline): Use the property instead of leaving "spurious" spaces.
4768 * emacs-lisp/easymenu.el (easy-menu-get-map): Correctly handle
4769 non-submap bindings.
4771 2003-04-30 Emmanuel Briot <briot@gnat.com>
4773 * progmodes/ada-mode.el (ada-search-directories): Take into account
4774 ADA_INCLUDE_PATH for better compatibility with GNAT.
4775 (ada-contextual-menu): Menu defined through `easy-menu-define'
4776 instead. Various adjustments to the indentation engine (handling of
4777 subtypes, begin blocks, etc.).
4778 (ada-create-menu): Major rewrite of the handling of menus to use
4779 `easy-menu-define' for cleaner code and better compatibility with
4780 XEmacs. All menus that were previously in ada-xref.el and
4781 ada-prj.el are now defined in this package, which makes it easier to
4783 (ada-narrow-to-defun): Add support for `narrow-to-region'.
4784 No longer explicitely load ada-xref.el and ada-prj.el. Use autoload
4787 * progmodes/ada-xref.el (ada-gnatls-args): New variable.
4788 Add support for specifying arguments to gnatls.
4789 (ada-initialize-runtime-library): Properly parse "." in the output
4791 (ada-add-keymap): Remove since this is now done in ada-mode.el itself.
4792 (ada-add-ada-menu): Likewise.
4793 (ada-set-default-project-file): New parameter KEEP-EXISTING.
4794 (ada-prj-find-prj-file): New parameter FILE.
4795 (ada-parse-prj-file): Take into account the ADA_INCLUDE_PATH and
4796 ADA_OBJECTS_PATH environment variables. Minor reorganization of the
4798 (ada-get-all-references): Add support for GNAT 3.16 cross-references.
4800 * progmodes/ada-prj.el (ada-prj-add-keymap): Move to ada-mode.el
4801 directly. Add dependency on ada-xref.el to avoid compilation
4803 (ada-prj-get-prj-dir): Remove, no longer needed.
4805 * progmodes/ada-stmt.el (ada-stmt-add-to-ada-menu):
4806 Move to ada-mode.el.
4807 (ada-template-map): Merge with the keymap handling in ada-mode.el.
4809 2003-04-29 Stefan Monnier <monnier@cs.yale.edu>
4811 * isearch.el (isearch-complete1): Don't allocate unnecessarily.
4812 (isearch-complete-edit): Adjust to Emacs-21's new minibuffer handling.
4813 (isearch-update-ring): Use push.
4815 2003-04-29 Oliver Scholz <epameinondas@gmx.de>
4817 * play/gamegrid.el: Added a comment explaining the various ways to
4818 save a game score on POSIX systems.
4819 (gamegrid-add-score-with-update-game-score): Use `cond' instead of
4820 `if'. Provide for the case that FILE is an absolute filename.
4821 Create the directory "$HOME/.emacs.d/games", if necessary.
4823 2003-04-29 John Paul Wallington <jpw@gnu.org>
4825 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Use `string-match'.
4827 2003-04-28 Dave Love <fx@gnu.org>
4829 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Avoid cl warnings
4832 2003-04-28 Kenichi Handa <handa@m17n.org>
4834 * international/mule-cmds.el (reset-language-environment):
4835 Raise the priority of mule-utf-8, mule-utf-16-be-with-signature and
4836 mule-utf-16-le-with-signature.
4838 * international/mule-conf.el: Set coding-category-utf-16-be to
4839 mule-utf-16-be-with-signature, coding-category-utf-16-le to
4840 mule-utf-16-le-with-signature. Raise the priority of
4841 coding-category-utf-8, coding-category-utf-16-be, and
4842 coding-category-utf-16-le
4844 2003-04-27 Luc Teirlinck <teirllm@mail.auburn.edu>
4846 * scroll-bar.el (scroll-bar-drag-1): Replace beginning-of-line with
4849 2003-04-27 David Ponce <david@dponce.com>
4853 Major rewrite. The code is reordered, cleaner and faster.
4854 Introduce new options to automatically cleanup the recent list,
4855 and to handle filename transformation (for example to use true
4858 (recentf-version): New constant.
4859 (recentf-save-file-header): Move.
4860 (recentf-data-cache): New variable.
4861 (recentf-update-menu-p, recentf-initialized-p): Remove.
4862 (recentf-menu-customization-changed): Move. Doc fix.
4863 (recentf-max-saved-items): Doc fix.
4864 (recentf-save-file): Doc fix. No more expand filename here.
4865 (recentf-exclude, recentf-menu-action)
4866 (recentf-menu-filter): Doc fix.
4867 (recentf-menu-append-commands-flag): Rename from...
4868 (recentf-menu-append-commands-p): Make obsolete.
4869 (recentf-keep-non-readable-files-flag): Rename from...
4870 (recentf-keep-non-readable-files-p): Make obsolete.
4871 (recentf-auto-cleanup, recentf-filename-handler): New options.
4872 (recentf-string-equal, recentf-string-lessp)
4873 (recentf-string-member): New functions.
4874 (recentf-trunc-list): Move.
4875 (recentf-dump-variable): Move. Better code and output format.
4876 (recentf-auto-cleanup-timer): New variable.
4877 (recentf-auto-cleanup): New function.
4878 (recentf-push, recentf-expand-file-name): New functions.
4879 (recentf-add-file): In-line. Use above functions.
4880 (recentf-remove-if-non-readable): In-line. Expand file name.
4881 (recentf-find-file): Use `recentf-remove-if-non-readable'.
4882 (recentf-directory-compare): Move. Use `recentf-string-equal'
4883 and `recentf-string-lessp' to do comparisons.
4884 (recentf-menu-items-for-commands)
4885 (recentf-menu-filter-commands): Move.
4886 (recentf-elements, recentf-make-menu-element)
4887 (recentf-menu-element-item, recentf-menu-element-value)
4888 (recentf-set-menu-element-item, recentf-set-menu-element-value)
4889 (recentf-sub-menu-element-p, recentf-make-default-menu-element)
4890 (recentf-menu-elements): In-line. Some doc fix.
4891 (recentf-apply-menu-filter): Better code.
4892 (recentf-make-menu-items): Doc fix.
4893 Use `recentf-menu-append-commands-flag'.
4894 (recentf-make-menu-item): In-lined. Better code.
4895 (recentf-clear-data): New function.
4896 (recentf-sort-ascending, recentf-sort-descending)
4897 (recentf-sort-basenames-ascending)
4898 (recentf-sort-basenames-descending)
4899 (recentf-sort-directories-ascending)
4900 (recentf-sort-directories-descending)
4901 (recentf-show-basenames-ascending)
4902 (recentf-show-basenames-descending: In-line. Better code. Doc fix.
4903 (recentf-show-basenames)
4904 (recentf-relative-filter): Better code. Doc fix.
4905 (recentf-arrange-by-rule-subfilter): Doc fix. Improve :set code.
4906 (recentf-match-rule-p): Use filename instead of file-path.
4907 (recentf-arrange-by-rule, recentf-build-mode-rules)
4908 (recentf-arrange-by-mode, recentf-build-dir-rules)
4909 (recentf-file-name-nondir)
4910 (recentf-filter-changer-alist): Some doc fix and code cleanup.
4911 (recentf-filter-changer-goto-next): Doc fix.
4912 Call `recentf-clear-data'.
4913 (recentf-filter-changer-get-current)
4914 (recentf-filter-changer-get-next): In-line. Doc fix and better code.
4915 (recentf-filter-changer): Doc fix and better code.
4916 (recentf-cancel-dialog): Doc fix.
4917 (recentf-dialog-mode-map): Initialize in defvar.
4918 (recentf-dialog-mode): Doc fix.
4919 (recentf-track-opened-file): Rename from...
4920 (recentf-add-file-hook): Remove.
4921 (recentf-track-closed-file): Rename from...
4922 (recentf-remove-file-hook): Remove.
4923 (recentf-update-menu-hook): Remove. Replace by...
4924 (recentf-update-menu): New. Better catch unnecessary updates.
4925 Display a message on error.
4926 (recentf-used-hooks): New constant.
4927 (recentf-enabled-p): New function.
4928 (recentf-edit-selected-items)
4929 (recentf-open-files-action)
4930 (recentf-open-files-item-shift): Doc fix.
4931 (recentf-edit-list-action)
4932 (recentf-open-files-item): Doc fix. Code cleanup.
4933 (recentf-edit-list, recentf-open-files)
4934 (recentf-open-more-files): Likewise. Remove autoload cookie.
4935 (recentf-save-list, recentf-cleanup): Likewise. Move.
4936 (recentf-load-list): New command.
4937 (recentf-mode): Better code. Does nothing if enabling the already
4940 2003-04-27 Alan Mackenzie <acm@muc.de>
4942 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Don't count a "//("
4943 which appears inside a character set.
4944 (regexp-opt-not-groupie*-re): New constant.
4946 2003-04-26 John Paul Wallington <jpw@gnu.org>
4948 * ibuffer.el (ibuffer-name-map, ibuffer-mode-name-map)
4949 (ibuffer-mode-filter-group-map): Initialize in `defvar'.
4950 (ibuffer-do-view-1): Use `make-frame' instead of `new-frame'.
4952 2003-04-25 Jan Nieuwenhuizen <janneke@gnu.org>
4954 * info.el (Info-unescape-quotes, Info-split-parameter-string)
4955 (Info-display-images-node): New functions for displaying images.
4956 (Info-select-node): Call Info-display-images-node.
4958 2003-04-25 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
4960 * files.el (file-relative-name): Recognize "c:/foo" as absolute
4961 file name. Tiny change from David PONCE <david.ponce@wanadoo.fr>.
4963 2003-04-24 Sam Steingold <sds@gnu.org>
4965 * calendar/diary-lib.el (fancy-diary-display-mode): Bind "q" to
4966 `quit-window' in the fancy diary buffer.
4968 * emacs-lisp/cl-indent.el: `symbol-macrolet' is similar to `let',
4969 not `multiple-value-bind'.
4971 2003-04-24 Lars Hansen <larsh@math.ku.dk>
4973 * subr.el (assq-delete-all): Ignore non-cons elements.
4975 2003-04-24 John Paul Wallington <jpw@gnu.org>
4977 * help-mode.el (help-make-xrefs): Remove extra paren.
4979 2003-04-23 Stefan Monnier <monnier@cs.yale.edu>
4981 * newcomment.el (comment-normalize-vars): Prompt the user for
4982 the comment-start to use rather than signalling an error. Fix regexp.
4983 (uncomment-region): Don't leave half-removed comment markers.
4985 2003-04-23 Richard M. Stallman <rms@gnu.org>
4987 * mail/sendmail.el (mail-send-and-exit): Make arg optional.
4989 * files.el (view-read-only): Doc fix.
4991 * simple.el (back-to-indentation): Call backward-prefix-chars.
4993 * help-mode.el (help-make-xrefs): Clean up the loop that scans
4994 over a keymap inserted by \\{...}; it now stops at end of buffer.
4996 * filesets.el: Don't call filesets-init.
4998 * emacs-lisp/bytecomp.el (byte-compile-defun): Generate and
4999 compile a defalias form, unless byte-compile-compatibility.
5001 * progmodes/scheme.el (scheme-mode-syntax-table):
5002 Use prefix syntax for ', `, comma, @ and #.
5004 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5005 Give @ prefix syntax.
5007 2003-04-23 Andre Spiegel <spiegel@gnu.org>
5009 * vc-cvs.el (vc-cvs-stay-local): Keep the old default.
5010 Simplify doc string.
5012 2003-04-23 Wolfgang Scherer <wolfgang.scherer@gmx.de>
5014 * vc-cvs.el (vc-cvs-stay-local): Allow lists of host regexps.
5015 (vc-cvs-stay-local-p): Handle them.
5016 (vc-cvs-parse-root): New function, used by the above.
5018 2003-04-22 Stefan Monnier <monnier@cs.yale.edu>
5020 * vc-mcvs.el (vc-mcvs-root): Cache the result.
5021 (vc-mcvs-registered): Simplify. Use file-relative-name.
5022 (vc-mcvs-register): Simplify. Don't burp if MCVS/TYPES doesn't exist.
5023 (vc-mcvs-command): Filter F-NN names in the output for diff and log.
5025 2003-04-21 Stefan Monnier <monnier@cs.yale.edu>
5027 * info.el (Info-default-dirs): New fun extracted from Info-initialize.
5028 (info-initialize): Use it. Obey the "final :" convention for INFOPATH.
5030 * textmodes/fill.el (fill-region-as-paragraph):
5031 Fix "last line goes to fill-column+1" problem.
5033 * emacs-lisp/bytecomp.el (byte-compile-defvar): Improve message.
5035 2003-04-20 Richard M. Stallman <rms@gnu.org>
5037 * simple.el (kill-line): Doc fix.
5039 2003-04-20 Sam Steingold <sds@gnu.org>
5041 * pcvs.el (cvs-examine): Respect `find-file-visit-truename'.
5043 2003-04-20 Glenn Morris <gmorris@ast.cam.ac.uk>
5045 * which-func.el (which-func-modes): Add f90-mode.
5046 (which-function): Handle imenu submenus.
5048 * progmodes/fortran.el (fortran-abbrev-start): Make XEmacs compatible.
5050 * progmodes/f90.el (f90-font-lock-keywords-2): Use override for
5051 font-lock-variable-name-face in declarations.
5052 Highlight continuation characters.
5053 (f90-indent-new-line): Remove direct call to f90-indent-line-no,
5055 (f90-abbrev-start): Fix XEmacs compatibility.
5057 2003-04-19 Stefan Monnier <monnier@cs.yale.edu>
5059 * vc-mcvs.el: New file.
5061 * vc-cvs.el (vc-cvs-dir-state): Use vc-cvs-command.
5062 (vc-cvs-could-register, vc-cvs-make-version-backups-p): Use defalias.
5063 (vc-cvs-merge-news): Simplify.
5064 (vc-cvs-diff): Remove unused var `options'.
5065 (vc-cvs-parse-entry): Use the same algorithm as cvs does.
5067 2003-04-19 Richard M. Stallman <rms@gnu.org>
5069 * desktop.el (desktop-buffer-mh): Don't require mh-e;
5070 it causes trouble in compilation.
5072 * add-log.el (add-log-current-defun-function): Add autoload cookie.
5074 * newcomment.el (comment-use-syntax): Add autoload cookie.
5076 * emacs-lisp/bytecomp.el (byte-compile-log-file)
5077 (byte-recompile-directory): Don't use byte-goto-log-buffer.
5078 Instead, set default-directory and then call compilation-mode.
5079 (byte-compile-from-buffer): Force byte-compile-last-position
5080 to end of buffer before issuing final warnings.
5082 2003-04-18 Stefan Monnier <monnier@cs.yale.edu>
5084 * emulation/cua-base.el (cua-mode): Use define-minor-mode.
5085 (cua-global-mark-face): Fix face format.
5087 * emacs-lisp/easy-mmode.el (define-minor-mode): Only echo a message
5088 if the body didn't do so already.
5089 (easy-mmode-define-keymap): Remove unused var `suppress'.
5091 * view.el (view-read-only): Move to files.el.
5092 * files.el (view-read-only): Move from view.el.
5094 2003-04-17 Stefan Monnier <monnier@cs.yale.edu>
5096 * files.el (view-read-only): Don't declare a second time.
5097 (find-file-read-only, find-file-read-only-other-window)
5098 (find-file-read-only-other-frame): Check that file does exist.
5099 (large-file-warning-threshold): New custom.
5100 (find-file-noselect): Use it.
5101 (report-errors): New macro.
5102 (normal-mode): Use it.
5103 (toggle-read-only): Really toggle, even if view-mode is on.
5104 (parse-colon-path): Remove unused `cd-prefix' var.
5105 (make-backup-file-name-1): Remove unused `failed' var.
5106 (basic-save-buffer): Remove unused `tempsetmodes' var.
5107 (basic-save-buffer-2): Remove unused `temp' var.
5108 (insert-directory): Remove unused `available' var.
5110 2003-04-17 John Paul Wallington <jpw@gnu.org>
5112 * hexl.el (hexl-find-file): Bind `default-major-mode' to
5115 2003-04-16 Stefan Monnier <monnier@cs.yale.edu>
5117 * reveal.el (reveal-post-command): Use overlay-get for overlays.
5119 2003-04-16 Kenichi Handa <handa@m17n.org>
5121 * international/mule-cmds.el (describe-language-environment):
5122 At first, require all necessary features.
5124 2003-04-16 Dave Love <fx@gnu.org>
5126 * progmodes/xscheme.el: Moved from lisp directory.
5128 2003-04-16 Glenn Morris <gmorris@ast.cam.ac.uk>
5130 * progmodes/f90.el (f90-indent-to, f90-indent-line-no)
5131 (f90-no-block-limit, f90-end-of-block, f90-beginning-of-block)
5132 (f90-comment-region, f90-indent-line, f90-indent-region)
5133 (f90-find-breakpoint, f90-block-match): Trivial simplifications.
5134 (f90-looking-at-do, f90-looking-at-select-case)
5135 (f90-looking-at-if-then, f90-looking-at-where-or-forall):
5136 Drop XEmacs 19 support and simplify.
5137 (f90-indent-new-line): No need for case-fold-search. Simplify.
5138 (f90-fill-region): Make marker nil when done. Simplify.
5140 * progmodes/fortran.el (fortran-column-ruler): Minor doc change.
5142 2003-04-16 Richard M. Stallman <rms@gnu.org>
5144 * man.el (Man-follow-manual-reference): Don't require match
5145 when calling completing-read.
5147 2003-04-15 Glenn Morris <gmorris@ast.cam.ac.uk>
5149 * progmodes/fortran.el: Whitespace changes, some re-ordering of
5150 code, trivial commentary change.
5151 (fortran, fortran-indent, fortran-comment)
5152 (fortran-tab-mode-default, fortran-continuation-indent)
5153 (fortran-comment-indent-style, fortran-blink-matching-if)
5154 (fortran-continuation-string, fortran-electric-line-number)
5155 (fortran-break-before-delimiters, fortran-mode-hook)
5156 (fortran-end-prog-re, fortran-imenu-generic-expression):
5158 (fortran-tab-mode-minor-mode-string): New variable.
5159 (fortran-tab-mode-string): Now customization is meaningful.
5160 (fortran-column-ruler-fixed, fortran-column-ruler-tab)
5161 (fortran-analyze-depth): Use defcustom.
5162 (fortran-if-start-re, fortran-end-prog-re1, fortran-fill)
5163 (fortran-break-line, fortran-prepare-abbrev-list-buffer)
5164 (fortran-auto-fill): Add doc string.
5165 (fortran-type-types): New constant (was local to let binding).
5166 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
5167 (fortran-font-lock-syntactic-keywords): Initialize in defvar.
5168 (fortran-font-lock-keywords-3): Initialize in defvar. Use 1+ now
5169 depth of fortran-type-types has changed. Remove extra and.
5170 (fortran-mode-menu): Minor re-organization. Use lookup-key.
5171 (fortran-mode): Doc changes. Some re-organization.
5172 Use fortran-tab-mode-minor-mode-string.
5173 (fortran-comment-indent): Add doc string. Move save-excursion.
5175 (fortran-indent-comment, fortran-fill-statement):
5176 Change interactive spec. Use unless.
5177 (fortran-comment-region): Doc change. Reverse logic of arg
5179 (fortran-abbrev-start, fortran-split-line)
5180 (fortran-electric-line-number, fortran-indent-subprogram)
5181 (fortran-strip-sequence-nos): Change interactive spec.
5182 (fortran-remove-continuation): Add doc string. Use when.
5183 (fortran-numerical-continuation-char): Doc change. Use 1+.
5184 (fortran-previous-statement, fortran-next-statement)
5185 (fortran-beginning-do, fortran-calculate-indent)
5186 (fortran-end-do, fortran-end-if, fortran-beginning-if):
5188 (fortran-blink-match, fortran-check-for-matching-do): Use when.
5189 (fortran-indent-line): Change interactive spec. Remove un-needed
5191 (fortran-indent-to-column): Doc change. Use when, unless.
5192 (fortran-find-comment-start-skip): No longer interactive.
5193 (fortran-analyze-file-format): Minor doc change.
5194 Remove un-needed setq.
5195 (minor-mode-alist): Use add-to-list.
5196 (fortran-fill-paragraph): Change interactive spec, doc string.
5198 * progmodes/f90.el: Whitespace changes, trivial commentary changes.
5199 (f90, f90-indent, f90-program-indent, f90-continuation-indent)
5200 (f90-indented-comment-re, f90-imenu-generic-expression)
5201 (f90-mark-subprogram, f90-join-lines): Minor doc changes.
5202 (f90-menu): Shift definition to initialization of f90-mode-map.
5203 Add customization section.
5204 (f90-mode): Minor doc change. Do not call easy-menu-add.
5205 Set `beginning-of-defun-function' and `end-of-defun-function' to
5206 appropriate F90 functions.
5207 (f90-indent-line, f90-indent-line, f90-indent-subprogram)
5208 (f90-break-line, f90-do-auto-fill, f90-insert-end)
5209 (f90-upcase-keywords, f90-capitalize-keywords)
5210 (f90-downcase-keywords): Change interactive spec.
5212 2003-04-14 Stefan Monnier <monnier@cs.yale.edu>
5214 * font-lock.el (font-lock-multiline, font-lock-fontified)
5215 (font-lock-set-defaults): Move back from font-core.el and merge
5216 it back with font-lock-set-defaults-1.
5217 (font-lock-mode-internal): New function (basically the body of
5218 the old font-lock-mode minor mode).
5220 * font-core.el (font-lock-maximum-size, font-lock-verbose): Remove.
5221 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
5222 Move back to font-lock.el
5223 (font-lock-default-function): Use font-lock-mode-internal.
5225 * files.el (auto-mode-alist): Add entries for *.ins and *.dtx.
5226 (recover-file): Abbreviate file name in messages.
5228 * textmodes/tex-mode.el (latex-mode-map): Bind latex-split-block.
5229 (tex-font-lock-keywords-2): Comment out unused var `type'.
5230 (tex-guess-mode): New name for old `tex-mode'.
5231 (tex-mode): Make it a derived mode of text-mode.
5232 (plain-tex-mode, latex-mode): Change parent from text-mode to tex-mode.
5233 (tex-common-initialization): Don't setup syntax-table any more.
5234 (tex-validate-buffer): Remove unused var `oend'.
5235 Use with-current-buffer and line-beginning-position.
5236 (tex-recenter-output-buffer): Remove unused var `old-buffer'.
5237 (latex-indent): Return `noindent' if no indentation can happen.
5238 (doctex-font-lock-^^A, doctex-font-lock-syntactic-face-function)
5239 (doctex-font-lock-syntactic-keywords, doctex-font-lock-keywords)
5240 (doctex-mode): New funs for DocTeX mode, derived from LaTeX mode.
5242 * font-lock.el (font-lock-preprocessor-face): New var and face.
5244 2003-04-14 Andrew Choi <akochoi@shaw.ca>
5246 * term/mac-win.el: Unconditionally set process-connection-type to nil.
5248 2003-04-14 Richard M. Stallman <rms@gnu.org>
5250 * derived.el (define-derived-mode): Make generated code work in
5251 Emacs versions that do not have run-mode-hooks.
5253 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
5254 At end of buffer, run the global binding of the same key.
5256 * international/mule.el (after-insert-file-set-coding):
5257 Properly treat INSERTED as number of characters, for both
5258 for both the argument and the value.
5260 * desktop.el (desktop-base-file-name):
5261 Renamed from desktop-basefilename. Add defvaralias.
5263 2003-04-14 John Paul Wallington <jpw@gnu.org>
5265 * international/fontset.el (create-fontset-from-ascii-font): Doc fix.
5266 (x-must-resolve-font-name): Fix error message typo.
5268 2003-04-13 Glenn Morris <gmorris@ast.cam.ac.uk>
5270 * progmodes/fortran.el (fortran-previous-statement): Check for
5271 fortran-continuation-string.
5272 (fortran-calculate-indent): Do not add extra whitespace to
5273 strings broken over lines.
5274 (fortran-fill): Handle long strings that must be broken.
5276 2003-04-13 Michael Albinus <Michael.Albinus@alcatel.de> (tiny change)
5278 * net/ange-ftp.el (ange-ftp-expand-symlink): If result of
5279 expansion is a symlink, expand again.
5280 (ange-ftp-file-symlink-p): Return target of symlink literally.
5282 2003-04-13 Masatake YAMATO <jet@gyve.org>
5284 * bindings.el (toplevel): Don't change the face
5285 of major-mode on the mode line. Setting the face on
5286 the mode line code is installed by my mistake in
5289 2003-04-12 Stefan Monnier <monnier@cs.yale.edu>
5291 * add-log.el (change-log-version-number-search): Fix old bug.
5292 (add-change-log-entry): Avoid inserting the same funname again.
5293 (add-log-indent-text): New var.
5294 (add-log-indent): New fun.
5295 (change-log-mode): Use it.
5297 * net/browse-url.el: Don't autoload all these defcustoms.
5298 (browse-url-default-macosx-browser): New fun.
5299 (browse-url-browser-function): Use it for system-type = darwin.
5300 (browse-url-usr1-signal): Remove.
5301 (browse-url-mosaic): Use SIGUSR1 directly instead.
5302 (browse-url-gnome-moz-program): New var.
5303 (browse-url-gnome-moz, browse-url-default-browser): Use it.
5305 * emacs-lisp/bytecomp.el: Use push, with-current-buffer, dolist, ...
5306 (byte-compile-const-variables): New var.
5307 (byte-compile-close-variables): Reset it.
5308 (byte-compile-file-form-defvar, byte-compile-defvar): Update it.
5309 (byte-compile-const-symbol-p): Now arg `value' to check defconsts.
5310 (byte-compile-variable-ref): Use it and improve warning message.
5311 (byte-compile-check-lambda-list): Use byte-compile-const-symbol-p.
5312 (byte-compile-lapcode): Remove unused vars.
5313 (byte-compile-eval): Fix thinko in handling of old-autoloads.
5314 (byte-recompile-directory): Use the expanded form for directory.
5315 (byte-compile-track-mouse): Use modern backquote syntax.
5316 (byte-compile-defvar): Detect and properly handle (defconst a).
5317 (byte-compile-defalias-warn): Remove unused arg `alias'.
5318 (byte-compile-defalias): Update call.
5320 2003-04-13 Masatake YAMATO <jet@gyve.org>
5322 * help.el (describe-minor-mode): New function implementation.
5323 Accept both minor mode string and minor mode indicator.
5324 (describe-minor-mode-completion-table-for-indicator)
5325 (describe-minor-mode-completion-table-for-symbol): New functions.
5326 minor-mode-list is used here.
5327 (describe-minor-mode-from-symbol):
5328 Renamed from (old) describe-minor-mode.
5329 Use describe-minor-mode-completion-table-for-symbol.
5330 Don't use eval. Just use symbol-name.
5331 (describe-minor-mode-from-indicator): Document is updated.
5332 Use `format-mode-line'.
5333 Use describe-minor-mode-from-symbol instead of describe-minor-mode.
5334 Use describe-minor-mode-completion-table-for-indicator.
5335 (expand-minor-mode-indicator-object): Remove.
5336 (lookup-minor-mode-from-indicator): Remove the fist white
5337 space from both indicator and anindicator before comparing them.
5339 * bindings.el (mode-line-major-mode-keymap)
5340 (mode-line-minor-mode-keymap): Define keys for the maps
5343 2003-04-12 Stefan Monnier <monnier@cs.yale.edu>
5345 * server.el (server-socket-name): Use new safe location for socket.
5346 (server-ensure-safe-dir): New fun.
5347 (server-start): Use it and letf.
5348 (server-process-filter): Re-enable the -eval feature.
5350 2003-04-12 Glenn Morris <gmorris@ast.cam.ac.uk>
5352 * play/gomoku.el (gomoku-buffer-name): New constant.
5353 (gomoku-mode): Doc fix. Add call to kill-all-local-variables.
5354 (gomoku): Do not call gomoku-switch-to-window directly.
5355 (gomoku-prompt-for-other-game): Throw an error if no new game.
5356 (gomoku-switch-to-window): Use gomoku-buffer-name.
5358 * progmodes/f90.el (f90-abbrev-start): Only offer help if
5359 abbrev-mode is active.
5360 (f90-join-lines): Make it behave more like standard join-line.
5361 (f90-fill-region, f90-menu): Adapt for new f90-join-lines.
5363 * progmodes/fortran.el (fortran-abbrev-start): Only offer help if
5364 abbrev-mode is active.
5366 2003-04-12 John Paul Wallington <jpw@gnu.org>
5368 * help-fns.el (help-add-fundoc-usage): Pass an empty string to
5369 `format' if no newlines are necessary.
5371 2003-04-11 Stefan Monnier <monnier@cs.yale.edu>
5373 * bindings.el (global-map): Bind [select-window].
5375 2003-04-11 John Paul Wallington <jpw@gnu.org>
5377 * type-break.el (type-break-warning-countdown-string): Doc fix.
5379 2003-04-11 ARISAWA Akihiro <ari@mbf.sphere.ne.jp> (tiny change)
5381 * international/utf-8.el (utf-translate-cjk-mode): Fix incorrect
5382 place of parenthesis.
5384 2003-04-11 Masatake YAMATO <jet@gyve.org>
5386 * progmodes/etags.el (select-tags-table-mode-map):
5387 Don't create new keymap. Instead copy from button-buffer-map.
5388 Bind push-button to `t' instead of binding
5389 select-tags-table-select directly
5390 (tags-select-tags-table): New button.
5391 (select-tags-table): Put a button for each selections.
5393 2003-04-11 Kenichi Handa <handa@m17n.org>
5395 * international/mule.el:
5396 Don't set after-insert-file-adjust-coding-function.
5397 (after-insert-file-set-coding):
5398 Renamed from after-insert-file-set-buffer-file-coding-system.
5400 2003-04-11 Kenichi Handa <handa@m17n.org>
5402 * international/quail.el (quail-guidance-str)
5403 (quail-guidance-frame): New variables.
5404 (quail-guidance-win): Delete this variable.
5405 (quail-setup-overlays): Make overlay not rear-advancing.
5406 (quail-kill-guidance-buf): Delete this function.
5407 (quail-activate): Add/remove quail-show-guidance to/from
5409 (quail-input-method): Don't setup quail-guidance-buf.
5410 Initialize quail-guidance-str to "".
5411 (quail-start-translation): Call quail-show-guidance at first.
5412 (quail-start-conversion): Likewise.
5413 (quail-terminate-translation): Don't erase quail-guidance-buf.
5414 (quail-update-translation): Stretch overlays if their starting and
5415 ending positions are same.
5416 (quail-update-current-translations): Check the width of the
5417 current window, not the width of quail-guidance-win.
5418 (quail-make-guidance-frame): Delete the arg BUF. Fix position
5419 calculation. Don't set the window buffer, just return the new frame.
5420 (quail-minibuffer-message): New function.
5421 (quail-show-guidance): Renamed from quail-show-guidance-buf.
5422 Use message and quail-minibuffer-message to display the guidance.
5423 (quail-hide-guidance): Renamed from quail-hide-guidance-buf.
5424 Only delete quail-guidance-frame.
5425 (quail-update-guidance): Just update quail-guidance-str, not
5427 (quail-get-translations): Renamed from quail-show-translations.
5428 Return a string instead of inserting it in quail-guaidance-buf.
5430 2003-04-11 Kenichi Handa <handa@m17n.org>
5432 * international/mule-cmds.el (sort-coding-systems): Set lower
5433 priority to a utf-16 base coding system. Set higher priority to a
5434 coding system listed in coding-category-list.
5436 2003-04-10 Juanma Barranquero <lektu@terra.es>
5438 * frame.el (modify-all-frames-parameters): Deleted.
5440 2003-04-10 Sebastian Tennant <seb@albert.vcisp.net> (tiny change)
5442 * desktop.el (desktop-buffer-file): Restore major-mode if it is
5443 different from the normal mode.
5445 2003-04-10 Kenichi Handa <handa@m17n.org>
5447 * international/mule.el:
5448 Set after-insert-file-adjust-coding-function to
5449 after-insert-file-set-buffer-file-coding-system instead of adding
5450 it to after-insert-file-functions.
5452 * language/ind-util.el (indian-2-column-to-ucs-region): Fix for
5453 the case of replacing multibyte characters.
5455 2003-04-09 Richard M. Stallman <rms@gnu.org>
5457 * files.el (file-chase-links): Fix previous change.
5459 2003-04-09 Juanma Barranquero <lektu@terra.es>
5461 * frame.el (new-frame): Add obsolescence declaration.
5463 2003-04-09 Ehud Karni <ehud@unix.mvs.co.il>
5465 * frame.el (set-frame-font): Allow keeping frame size after
5467 (modify-all-frames-parameters): New function to change parameters
5468 in all existing and future frames.
5470 2003-04-09 Thien-Thi Nguyen <ttn@gnu.org>
5472 * man.el (Man-heading-regexp): Accept hyphen.
5474 2003-04-09 Kenichi Handa <handa@m17n.org>
5476 * international/fontset.el: Specify rescale ratio 1.3 for CDAC fonts.
5478 * international/mule-conf.el: Register ?\221 and ?\226 in
5479 latin-extra-code-table.
5481 2003-04-08 Richard M. Stallman <rms@gnu.org>
5483 * subr.el (minor-mode-list): New variable.
5484 (add-minor-mode): Add to it.
5486 * files.el (file-chase-links): New arg LIMIT.
5487 After that many iterations, just return what we've got.
5489 * map-ynp.el (map-y-or-n-p): When formatting chars in ACTION-ALIST,
5490 use single-key-description.
5492 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
5493 At end of buffer, just call `newline'.
5495 * mail/rmailsum.el (rmail-make-basic-summary-line): If there's
5496 no From field, still try to use the To field.
5498 2003-04-09 Kenichi Handa <handa@m17n.org>
5500 * international/mule-diag.el (print-coding-system-briefly):
5501 If DOC-STRING is `tightly', print the doc-string tightly.
5502 (list-coding-systems-1): Sort coding systems.
5503 Call print-coding-system-briefly with the arg DOC-STRING `tightly'.
5505 2003-04-08 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
5507 * net/tramp.el: Version 2.0.33 released.
5508 Change coding cookie to `iso-2022-7bit' for XEmacs
5509 compatibility. (From Steve Youngs <youngs@xemacs.org>.)
5511 2003-04-08 Michael Albinus <Michael.Albinus@alcatel.de>
5513 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
5514 Do not disable file name handlers for `file-exists-p' and
5517 2003-04-08 Kenichi Handa <handa@m17n.org>
5519 * international/mule-conf.el: Register ?\225 in latin-extra-code-table.
5521 * international/utf-16.el (utf-16-le-decode-loop)
5522 (utf-16-be-decode-loop): New temporary variables.
5523 (ccl-decode-mule-utf-16-le): Use utf-16-le-decode-loop.
5524 (ccl-decode-mule-utf-16-be): Use utf-16-be-decode-loop
5525 (ccl-decode-mule-utf-16-le-with-signature)
5526 (ccl-decode-mule-utf-16-be-with-signature)
5527 (ccl-decode-mule-utf-16): New CCL programs.
5528 (utf-16-le-encode-loop, utf-16-be-encode-loop): New temporary
5530 (ccl-encode-mule-utf-16-le): Use utf-16-le-encode-loop.
5531 (ccl-encode-mule-utf-16-be): Use utf-16-be-encode-loop
5532 (ccl-encode-mule-utf-16-le-with-signature)
5533 (ccl-encode-mule-utf-16-be-with-signature): New CCL programs.
5534 (mule-utf-16-post-read-conversion): New function.
5535 (mule-utf-16-le-with-signature, mule-utf-16-be-with-signature),
5536 (mule-utf-16): New coding systems.
5537 (utf-16-le-with-signature, utf-16-be-with-signature),
5538 (utf-16): Aliases of the above coding systems.
5540 2003-04-08 Martin Stjernholm <bug-cc-mode@gnu.org>
5542 * progmodes/cc-langs.el (c-symbol-key): Use POSIX char classes
5543 to match symbols. This makes CC Mode cope with the full range
5544 of identifier characters in e.g. Java.
5546 2003-04-07 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
5548 * xt-mouse.el (xterm-mouse-event-read): New function.
5549 (xterm-mouse-event): Use it to get xterm sequences above #x7f.
5550 Suggested by Aman Bhargava <emacs-bug@amanb.net>.
5552 2003-04-07 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
5554 * man.el (Man-getpage-in-background): Set GROFF_NO_SGR env var in
5555 all cases, whether or not start-process is fboundp.
5557 2003-04-06 Richard M. Stallman <rms@gnu.org>
5559 * calendar/cal-menu.el (cal-menu-update): Use easy-menu-create-menu
5560 rather than easy-menu-change.
5562 * dired.el (dired-view-file): Let viewer program run asynchronously.
5564 2003-04-06 Ben North <ben@redfrontdoor.org> (tiny change)
5566 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
5567 Correct the starting point for previous-single-property-change.
5569 2003-04-06 Lars Hansen <larsh@math.ku.dk>
5571 * desktop.el: Handle multiple desktop files in different dirs.
5573 Command line option --no-desktop introduced.
5574 (desktop-read): Record buffers in the desktop file in
5575 the same order as that in the buffer list,
5576 (desktop-save): Put buffers in the order given in desktop file,
5577 regardless of what handlers do.
5578 (desktop-file-version): New variable. Version number of desktop
5580 (desktop-create-buffer-form): Variable deleted.
5581 (desktop-save): New customizable variable.
5582 (desktop-kill): Use `desktop-save'.
5583 (desktop-file-name-format): New option: format in
5584 which desktop file names should be saved.
5585 (desktop-file-name): New function to convert a filename to the
5586 format specified in `desktop-file-name-format'.
5587 (desktop-create-buffer): Parameters renamed to descriptive
5588 systematic names. These parameters are visible to handlers.
5590 ver -> desktop-file-version
5591 mim -> desktop-buffer-minor-modes
5592 pt -> desktop-buffer-point
5593 mk -> desktop-buffer-mark
5594 ro -> desktop-buffer-read-only
5595 locals -> desktop-buffer-locals
5596 (desktop-buffer-major-mode, desktop-buffer-file-name)
5597 (desktop-buffer-name): Delete unused customizable variables.
5598 (desktop-buffer-misc): Delete unused variable.
5599 (desktop-save, desktop-buffer-dired-misc-data):
5600 Use `desktop-file-name'.
5601 (desktop-path): New customizable variable. List of directories in
5602 which to lookup the desktop file. Replaces hardcoded list.
5603 (desktop-globals-to-clear): New variable replaces hardcoded list.
5604 (desktop-clear-preserve-buffers-regexp): New customizable variable.
5605 (desktop-after-read-hook): New hook run after a desktop is read.
5606 (desktop-no-desktop-file-hook): New hook when no desktop file found.
5607 (desktop-change-dir): New function.
5608 (desktop-save-in-load-dir): New function. Save desktop in
5609 directory from which it was loaded.
5610 (desktop-revert): New function. Revert to the last loaded desktop.
5612 2003-04-06 Masatake YAMATO <jet@gyve.org>
5614 * progmodes/etags.el (tag-find-file-of-tag): Renamed from
5615 find-file-of-tag to avoid name space pollution.
5616 (tag-find-file-of-tag-noselect): Likewise.
5617 (etags-list-tags, etags-tags-apropos):
5618 Use tag-find-file-of-tag instead of find-file-of-tag.
5620 2003-04-06 Masatake YAMATO <jet@gyve.org>
5622 * info.el (Info-goto-emacs-command-node): If command
5623 is given as a string, convert it to a symbol.
5625 2003-04-05 Kevin Ryde <user42@zip.com.au>
5627 * info-look.el (emacs-lisp-mode): Add prefix/suffix matching regexps.
5629 2003-04-05 Andre Spiegel <spiegel@gnu.org>
5631 * vc-cvs.el (vc-cvs-get-entries): New function that uses the
5632 right coding system for accessing CVS/Entries.
5633 (vc-cvs-registered, vc-cvs-dir-state-heuristic): Use it.
5635 2003-04-04 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5637 * subr.el (number-sequence): Adjust code.
5639 2003-04-04 Stefan Monnier <monnier@cs.yale.edu>
5641 * textmodes/refill.el (refill-fill-paragraph-at): Undo last fix.
5642 (refill-fill-paragraph-at): Don't skip prefix since markers work right.
5644 * textmodes/fill.el (fill-delete-newlines): Remove trailing whitespace.
5645 (fill-paragraph): Don't skip prefix now that markers work right.
5647 2003-04-04 John Paul Wallington <jpw@gnu.org>
5649 * ibuffer.el (ibuffer-insert-filter-group): `help-echo' text
5650 property dynamically respects `tooltip-mode'.
5651 (define-ibuffer-column name): Likewise.
5653 * ibuf-ext.el (ibuffer-format-filter-group-data): Don't append "\n".
5655 2003-04-04 Masatake YAMATO <jet@gyve.org>
5657 * progmodes/etags.el (find-file-of-tag-noselect, find-file-of-tag):
5658 New helper functions.
5659 (snarf-tag-function): Doc string is changed. Explained about new
5660 optional argument, `use-explicit'.
5661 (etags-snarf-tag): Add one optional argument `use-explicit'.
5662 (file-of-tag-function): Doc string is changed. Explained about new
5663 optional argument, `relative'.
5664 (file-of-tag): Doc string is changed. Explained about new optional
5665 argument, `relative'. Pass `relative' to `file-of-tag-function'.
5666 (etags-file-of-tag): Add new argument `relative`.
5667 (list-tags): Set `buffer-read-only' to t after making the major mode
5669 (etags-list-tags): Use `make-text-button' instead of
5670 `add-text-properties'. Used `snarf-tag-function',
5671 `goto-tag-location-function' and `find-file-of-tag' instead of
5672 `find-tag-other-window' (it's too simple).
5673 (find-tag-in-order): Use `find-file-of-tag-noselect' instead of
5675 (etags-tags-apropos): Use `find-file-of-tag-noselect' instead of
5676 `find-file'. Do not use `etags-goto-tag-location` directly; use
5677 `goto-tag-location-function' instead. Print relative file paths
5678 instead of complete ones in *Tags List* buffer, so lines in the
5679 buffer become shorter.
5680 (etags-tags-apropos-additional): Use `make-text-button' instead of
5681 `add-text-properties'.
5683 2003-04-04 Andreas Schwab <schwab@suse.de>
5685 * net/tramp.el (tramp-send-string): Handle empty string.
5687 2003-04-03 Richard M. Stallman <rms@gnu.org>
5689 * emacs-lisp/easymenu.el (easy-menu-define):
5690 Don't make a defvar for nil.
5691 (easy-menu-convert-item-1): Doc fix.
5692 (easy-menu-change): Call easy-menu-create-menu.
5694 * subr.el (read-quoted-char): Remember the input char
5695 before translation thru function-key-map, and use that for unreading.
5697 * shadowfile.el (shadow-parse-fullname):
5698 Renamed from shadow-parse-fullpath.
5699 (shadow-parse-name): Renamed from shadow-parse-path.
5700 (shadow-make-fullname): Renamed from shadow-make-fullpath.
5701 (shadow-replace-name-component): Was shadow-replace-path-component.
5702 Callers of the above functions changed.
5703 (shadow-expand-cluster-in-file-name): Doc fix.
5704 (shadow-same-site, shadow-file-match): Doc fix.
5705 (shadow-define-literal-group): Doc fix.
5707 * kmacro.el (kmacro-end-and-call-macro): Doc fix.
5709 * hexl.el (hexl-find-file): Ignore user's value of default-major-mode.
5711 * files.el (hack-local-variables-prop-line): New arg MODE-ONLY.
5712 (hack-local-variables): When MODE-ONLY is set, pass it along to
5713 hack-local-variables-prop-line.
5715 * delsel.el (delete-active-region): Don't explicitly deactivate mark.
5717 2003-04-03 Masatake YAMATO <jet@gyve.org>
5719 * progmodes/etags.el: Require button.el.
5720 (etags-tags-apropos): Use `make-text-button' instead of
5721 `add-text-properties'. Use `snarf-tag-function' and
5722 `etags-goto-tag-location' instead of `find-tag-other-window' (it's
5725 * man.el (Man-xref-header-file): Fix previous change.
5727 2003-04-03 Kenichi Handa <handa@m17n.org>
5729 * subr.el (number-sequence): New function.
5731 2003-04-02 Ehud Karni <ehud@unix.mvs.co.il> (tiny change)
5733 * sort.el (sort-reorder-buffer): Fix saving of markers at the end
5734 of the sorted region.
5736 2003-04-02 Masatake YAMATO <jet@gyve.org>
5738 * woman.el (woman-xref): Removed.
5739 (woman-mode): Use `Man-highlight-references' instead of
5740 `WoMan-highlight-references'.
5741 (WoMan-highlight-references): Removed.
5743 * man.el (toplevel): Require button.
5744 (Man-header-file-path): New option.
5745 (Man-synopsis-regexp, Man-files-regexp, Man-include-regexp)
5746 (Man-file-name-regexp, Man-normal-file-prefix-regexp)
5747 (Man-header-regexp, Man-normal-file-regexp): New variables.
5748 (Man-mode-map): Inherit from `button-buffer-map'. Don't define
5749 "\r" and mouse-2 directly. These key are defined in
5750 `button-buffer-map'.
5751 (Man-xref-man-page, Man-xref-header-file, Man-xref-normal-file):
5752 New buttons. `Man-xref-man-page' comes from woman.el.
5753 (man-follow-mouse): Removed.
5754 (Man-fontify-manpage): Use `Man-highlight-references' instead of
5755 calling `add-text-properties' directly.
5756 (Man-highlight-references, Man-highlight-references0): New functions.
5757 (Man-view-header-file): New function.
5759 2003-04-02 Stefan Monnier <monnier@cs.yale.edu>
5761 * textmodes/refill.el (refill-fill-paragraph-at): Don't preserve
5762 the trailing space since fill.el doesn't remove it anymore.
5763 (refill-mode): Reset fill-paragraph-function even if it was nil.
5765 * textmodes/fill.el (fill-region-as-paragraph):
5766 Don't remove space at end of paragraph: it makes refill.el unusable.
5767 Remove obsolete `save-restriction'.
5768 (fill-paragraph, fill-comment-paragraph): Don't add newline at EOP.
5769 (fill-delete-newlines): Don't add a trailing space.
5770 (fill-newline): Don't leave markers before the prefix.
5772 * progmodes/asm-mode.el (asm-calculate-indentation, asm-indent-line):
5774 (asm-mode): Use them in indent-line-function.
5775 Set tab-always-indent to nil to stay closer to previous tab behavior.
5776 Set comment-add. Remove space at end of comment-add.
5777 (asm-newline): Obsolete. Use newline-and-indent instead.
5778 (asm-mode-map): Remove TAB binding.
5779 (asm-code-level-empty-comment-pattern)
5780 (asm-flush-left-empty-comment-pattern)
5781 (asm-inline-empty-comment-pattern): Remove.
5782 (asm-comment): Use newcomment functions instead.
5783 (asm-colon): Don't tab if colon is not after a label.
5784 (asm-line-matches, asm-pop-comment-level): Remove.
5786 2003-04-02 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
5788 * emulation/crisp.el (top-level): Quote second arg to
5791 2003-04-02 Miles Bader <miles@gnu.org>
5793 * scroll-bar.el (scroll-bar-mode): Correctly specify `nil' choice.
5795 2003-04-01 Stefan Monnier <monnier@cs.yale.edu>
5797 * progmodes/asm-mode.el (asm-mode-syntax-table): Setup entries
5798 that do not depend on asm-comment-char.
5799 (asm-mode-map): Declare and init at the same time.
5800 (asm-code-level-empty-comment-pattern)
5801 (asm-flush-left-empty-comment-pattern)
5802 (asm-inline-empty-comment-pattern): Use \s< so they do not depend
5803 on asm-comment-char. Turn them into constants.
5804 (asm-mode): Simplify.
5805 (asm-line-matches): Remove unused arg.
5807 2003-04-01 Dave Love <fx@gnu.org>
5809 * time.el: Doc fixes.
5810 (display-time-mail-face): Change :type and default to nil.
5811 (display-time-mail-icon): Use pbm, not xbm.
5812 (display-time-mail-string): New.
5813 (display-time-string-forms): Use display-time-mail-string.
5814 Add checks in display property.
5816 2003-04-01 Kenichi Handa <handa@m17n.org>
5818 * language/indian.el (indian-font-char-index-table): Fix the
5819 order of CDAC fonts.
5821 2003-04-01 Kim F. Storm <storm@cua.dk>
5823 * simple.el (pop-global-mark-quick-repeat): Remove defcustom.
5824 (set-mark-command): Unconditionally repeat pop-global-mark without
5825 C-x prefix. Fix doc.
5827 * emulation/cua-base.el (cua-set-mark): Unconditionally repeat
5828 pop-global-mark without C-x prefix. Fix doc.
5830 2003-03-31 Stefan Monnier <monnier@cs.yale.edu>
5832 * reveal.el (reveal-post-command): Better error handling.
5834 2003-03-31 Nick Roberts <nick@nick.uklinux.net>
5836 * gdb-ui.el (gdb-inferior-io-mode): Remove Unix pathname for cat
5837 so that it can run on NT also.
5839 2003-03-31 Masatake YAMATO <jet@gyve.org>
5841 * progmodes/asm-mode.el (asm-mode): Support skipping C lang style
5844 * bindings.el (mode-line-major-mode-keymap): New variable.
5845 (mode-line-minor-mode-help): New function, bound to
5846 mode-line-minor-mode-keymap.
5847 (mode-line-modes): Split mode-line-mode definitions to
5848 mode-name, mode-line-process and minor-mode-alist.
5849 For mode-name, mode-line-major-mode-keymap is used.
5851 * help.el (describe-minor-mode, describe-minor-mode-from-indicator)
5852 (lookup-minor-mode-from-indicator): New functions.
5854 2003-03-31 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
5856 * files.el (file-relative-name): Remove superfluous `and'.
5857 Clarify docstring. From Lars Hansen.
5859 2003-03-31 Kenichi Handa <handa@m17n.org>
5861 * international/utf-16.el (ccl-decode-mule-utf-16-le):
5862 Don't assume the signature bytes.
5863 (ccl-decode-mule-utf-16-be): Likewise.
5864 (ccl-encode-mule-utf-16-le): Don't produce the signature bytes.
5865 (ccl-encode-mule-utf-16-be): Likewise.
5867 2003-03-30 Kevin Ryde <user42@zip.com.au>
5869 * info-look.el (sh-mode): Add doc-specs for commands and variables.
5871 2003-03-29 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@gmx.net>
5873 * international/utf-8.el (utf-translate-cjk-mode): Minor mode,
5874 replaces variable utf-translate-cjk which must be set via Custom.
5876 * files.el (file-relative-name): If FILENAME and DIRECTORY are on
5877 different drives (on DOS/Windows) or use different handlers, do
5878 like `expand-file-name' on FILENAME and return an absolute name.
5879 From Lars Hansen <larsh@math.ku.dk>.
5881 * tramp.el: Version 2.0.31 released.
5882 (tramp-handle-expand-file-name): Do not allow ".." to
5883 cross file handler boundaries, so that "/user@host:/../foo"
5884 expands to itself, rather than "/foo". This is intended to work
5885 in conjunction with a change in `file-relative-name' which makes
5886 sure to use absolute file names if FILE and DIRECTORY have
5888 (tramp-handle-insert-directory): Comment out XEmacs
5889 kludge. Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
5891 2003-03-29 Michael Albinus <Michael.Albinus@alcatel.de>
5893 * trampver.el: New file, to support Autoconf in Tramp CVS repository.
5894 * tramp.el (tramp-version, tramp-bug-report-address): Move to
5895 trampver.el, which is required now.
5896 (tramp-chunksize): Type can be nil as well.
5897 Reported by Markus Rost <rost@math.ohio-state.edu>.
5898 * tramp-smb.el (tramp-smb-read-file-entry): Make reading size of a
5899 listing entry more robust. Ranges from 10 chars (Samba 1) to 7-9
5902 2003-03-29 John Paul Wallington <jpw@gnu.org>
5904 * international/mule.el (with-category-table): Use `make-symbol'
5905 to avoid variable capture. Set table within `unwind-protect'.
5906 Ensure table is restored in correct buffer. Add docstring.
5908 2003-03-29 Kenichi Handa <handa@m17n.org>
5910 * language/japan-util.el: If system-type is not for Windows,
5911 prefer japanese-iso-8bit.
5913 2003-03-28 Sudish Joseph <sudish@corp.earthlink.net> (tiny change)
5915 * term/mac-win.el (iconify-or-deiconify-frame): Define for
5916 compatibility with packages that use it.
5918 2003-03-28 Lute Kamstra <Lute.Kamstra@cwi.nl>
5920 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer):
5922 (checkdoc-interactive, checkdoc-message-interactive): Make them
5923 perform spell checking when appropriate.
5924 (checkdoc-interactive-loop): Fix docstring and a few typos.
5925 (checkdoc-interactive-ispell-loop)
5926 (checkdoc-message-interactive-ispell-loop): New functions.
5927 (checkdoc-next-error): Fix docstring.
5928 (checkdoc-this-string-valid-engine): Fix typo.
5929 (checkdoc-ispell-docstring-engine): Do test for
5930 checkdoc-autofix-flag = nil.
5932 2003-03-28 Jonathan Yavner <jyavner@engineer.com>
5934 * emacs-lisp/testcover.el (testcover-mark-all): Handle screwy
5935 top-level macros that put functions as properties.
5936 (testcover-mark): No error for functions that just return a constant.
5938 2003-03-27 Andreas Schwab <schwab@suse.de>
5940 * vc-cvs.el (vc-cvs-parse-entry): Make sure a file with conflicts
5941 is marked as edited.
5943 2003-03-26 Kenichi Handa <handa@m17n.org>
5945 * files.el (recode-file-name): New function.
5947 * international/characters.el: Setup categories for Indian characters.
5949 2003-03-26 Steve Youngs <youngs@xemacs.org>
5951 * em-unix.el (eshell-plain-locate-behavior): Make the default
5952 nil on Emacs, t on XEmacs.
5954 2003-03-25 Stefan Monnier <monnier@cs.yale.edu>
5956 * emacs-lisp/byte-opt.el (byte-optimize-set): New.
5957 Turn `set' into `setq' when applicable.
5959 2003-03-24 Stefan Monnier <monnier@cs.yale.edu>
5961 * emacs-lisp/easy-mmode.el (define-minor-mode): Pass unknown keyword
5962 args blindly to defcustom. Use custom-set-minor-mode.
5964 2003-03-24 Kim F. Storm <storm@cua.dk>
5966 * simple.el: Rework last change so C-x C-SPC C-SPC does not
5967 repeat pop-global-mark by default.
5968 (pop-global-mark-quick-repeat): New user option.
5969 (set-mark-command): Use it.
5971 * emulation/cua-base.el (cua-set-mark):
5972 Check pop-global-mark-quick-repeat.
5974 2003-03-24 John Paul Wallington <jpw@gnu.org>
5976 * emacs-lisp/easymenu.el (easy-menu-add-item): Don't default to
5979 * emerge.el (emerge-show-file-name): Read event irrespective of
5980 whether minibuffer window is resized. Clear minibuffer when done.
5982 * cus-theme.el (customize-create-theme): Rename from
5983 `custom-theme-create'.
5985 2003-03-24 Luc Teirlinck <teirllm@mail.auburn.edu>
5987 * cus-edit.el (custom-mode): Make `custom-local-buffer' local.
5989 2003-03-23 Peter Breton <pbreton@attbi.com>
5991 * net/net-utils.el (dns-lookup-host): New function.
5993 2003-03-23 Martin Stjernholm <bug-cc-mode@gnu.org>
5995 * progmodes/cc-mode.el (c-parse-state): Add kludge to avoid
5996 an infinite loop when Emacs' open-paren-in-column-zero rule
5997 kicks in and causes the sexp functions to misbehave.
5999 2003-03-22 Peter Breton <pbreton@cs.umb.edu>
6001 * filecache.el (file-cache-add-directory-recursively)
6002 (file-cache-complete, file-cache-display): New functions.
6004 * generic-x.el (etc-modules-conf-generic-mode): New generic mode.
6005 (rul-generic-mode): Bugfixes by Rolf.Sandau@marconi.com.
6007 * dirtrack.el (dirtrack-cygwin-directory-function): New function.
6010 2003-03-22 Kim F. Storm <storm@cua.dk>
6012 * ido.el (ido-mode): Remove unused NOBIND arg. Fix doc string
6014 (ido-define-mode-map): Bind C-l for both file and dir modes.
6015 (ido-wide-find-file, ido-wide-find-dir, ido-make-directory):
6016 Let-bind enable-recursive-minibuffers to t around read-string.
6018 2003-03-22 Kenichi Handa <handa@m17n.org>
6020 * international/fontset.el (setup-default-fontset):
6021 Use indian-font-char-range for specifying ranges of indian-glyph
6022 chars. Setup for AKRUTI fonts.
6024 * language/indian.el (indian-font-foundry): New variable.
6025 (indian-script-language-alist): New variable.
6026 (indian-font-char-index-table): New variable.
6027 (indian-font-char): New function.
6028 (indian-font-char-range): New function.
6029 (font-ccl-encoder-alist): Add entry for AKRUTI font.
6031 2003-03-22 Kim F. Storm <storm@cua.dk>
6033 * progmodes/cperl-mode.el (cperl-electric-backspace):
6034 Add delete-selection property.
6036 * simple.el (set-mark-command): Doc fixes.
6037 Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
6038 C-u C-u C-SPC now unconditionally sets the mark.
6040 * emulation/cua-base.el (cua-set-mark): Doc fixes.
6041 Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
6042 C-u C-u C-SPC now unconditionally sets the mark.
6044 2003-03-20 Mark A. Hershberger <mah@everybody.org>
6046 * xml.el (xml-parse-attlist): Fix typo in attribute parsing.
6048 2003-03-20 Kenichi Handa <handa@m17n.org>
6050 * international/utf-8.el (ccl-decode-mule-utf-8): Fix a bug in
6051 handling invalid 5 to 6 bytes sequence.
6053 2003-03-19 Simon Marshall <simon@gnu.org>
6055 * progmodes/make-mode.el (makefile-font-lock-syntactic-keywords):
6057 (makefile-mode): Use it for value of font-lock-syntactic-keywords.
6059 2003-03-19 John Paul Wallington <jpw@gnu.org>
6061 * cus-theme.el (custom-theme-create): Add autoload cookie.
6063 2003-03-19 Kenichi Handa <handa@m17n.org>
6065 * dired.el (dired-get-filename): Pay attention to the case that
6066 `read' returns a unibyte string. Don't encode the file name by
6067 buffer-file-coding-system.
6069 2003-03-18 Kenichi Handa <handa@m17n.org>
6071 * language/european.el ("Latin-6"): Fix input-method.
6072 ("Latin-7"): Fix input-method.
6074 * international/utf-8.el (utf-fragment-on-decoding):
6075 Don't call register-char-codings.
6076 (utf-fragment-on-decoding): Don't update char-coding-system-table.
6077 (utf-translate-cjk): Don't call register-char-codings nor
6078 optimize-char-coding-system-table. Don't update
6079 char-coding-system-table.
6081 * international/ucs-tables.el (ucs-unify-8859): Don't call
6082 register-char-codings.
6083 (ucs-unify-8859): Don't call optimize-char-coding-system-table.
6084 (ucs-fragment-8859): Don't update char-coding-system-table.
6085 Don't call register-char-codings nor optimize-char-coding-system-table.
6087 * international/mule.el (optimize-char-coding-system-table):
6088 Remove this function.
6089 (register-char-codings): Make it obsolete.
6090 (char-coding-system-table): Defconst it here.
6091 (make-coding-system): Don't call register-char-codings, call
6092 define-coding-system-internal.
6094 * international/mule-conf.el (no-conversion):
6095 Call define-coding-system-internal on this coding system instead of
6096 calling register-char-codings.
6098 * international/mule-cmds.el (find-coding-systems-for-charsets):
6099 Use find-coding-systems-string instead of looking up
6100 char-coding-system-table.
6102 * international/code-pages.el (cp-fix-safe-chars): Make it obsolete.
6103 (cp-make-coding-system): Don't call cp-fix-safe-chars.
6105 2003-03-18 Stefan Monnier <monnier@cs.yale.edu>
6107 * startup.el (command-line-1): Use command-execute for any command.
6109 2003-03-17 Stefan Monnier <monnier@cs.yale.edu>
6111 * buff-menu.el (list-buffers-noselect): Use the display property
6112 to properly align header-line text with the buffer's contents.
6114 2003-03-17 Kenichi Handa <handa@m17n.org>
6116 * international/mule.el (ctext-post-read-conversion): Convert the
6117 search pattern to multibyte by string-to-multibyte.
6119 2003-03-16 Deepak Goel <deego@gnufans.org>
6121 * calc/calc-forms.el (math-tzone-names): Introduce UTC as an alias
6122 for GMT. Suggested by bob@rattlesnake.com.
6124 2003-03-15 Stefan Monnier <monnier@cs.yale.edu>
6126 * pcvs.el (cvs-mode!): Remove unused argument.
6128 * emacs-lisp/easymenu.el (easy-menu-name-match): Catch any error
6129 that member-ignore-case might signal.
6130 (easy-menu-add-item): Default to the global map, as documented.
6131 (easy-menu-convert-item-1): Use match-string.
6133 2003-03-15 Mark A. Hershberger <mah@everybody.org>
6135 * xml.el (xml-ucs-to-string): New function to convert Unicode
6136 codepoints to strings. Uses decode-char (mule.el) if available.
6137 (xml-parse-tag, xml-parse-attlist, xml-skip-dtd, xml-parse-dtd)
6138 (xml-parse-elem-type): Use ' \t\n\r' instead of '[:space:]'.
6139 (xml-parse-attlist): Add attribute normalization.
6140 (xml-parse-tag): Replace "\r\n" and "\r" with "\n".
6142 2003-03-14 John Paul Wallington <jpw@gnu.org>
6144 * files.el (recover-session): Error if there are no previous
6145 sessions to recover.
6147 * subr.el (posn-col-row): Simplify.
6149 * arc-mode.el (archive-subtype, archive-file-list-start)
6150 (archive-file-list-end, archive-proper-file-start)
6151 (archive-read-only, archive-local-name, archive-mode-map)
6152 (archive-file-name-indent, archive-remote)
6153 (archive-alternate-display, archive-superior-buffer)
6154 (archive-subfile-mode): Doc fixes.
6156 2003-03-14 Stefan Monnier <monnier@cs.yale.edu>
6158 * indent.el (indent-for-tab-command): If tab-always-indent is non-nil
6159 and the user hits TAB a second time, just insert a tab.
6161 * textmodes/texinfo.el (texinfo-outline-level): Remove.
6162 (texinfo-mode): Set outline-heading-alist instead.
6163 (texinfo-section-list): Reorder for the needs of outline-heading-alist.
6164 (texinfo-insert-block): Don't cons needlessly.
6165 (texinfo-enable-quote-macros, texinfo-enable-quote-envs): New vars.
6166 (texinfo-insert-quote): Use them.
6168 * textmodes/outline.el (outline-level): Demote it to defvar.
6169 (outline-heading-alist): Document extended semantics.
6170 (outline-head-from-level): New fun.
6171 (outline-promote, outline-demote): Use it.
6172 (outline-show-heading): New fun.
6173 (hide-sublevels, show-children):
6174 Use it together with outline-map-region.
6175 (outline-get-next-sibling): Don't call outline-level at eob.
6177 2003-03-14 Simon Josefsson <jas@extundo.com>
6179 * fringe.el (fringe-mode): Autoload so that
6180 Options->Show/Hide->Fringe->Customize works.
6182 2003-03-13 Stefan Monnier <monnier@cs.yale.edu>
6184 * textmodes/outline.el (outline-mode-menu-bar-map): Add entries.
6185 (outline-mode-prefix-map): Match new bindings to those of allout.
6186 (outline-map-region): New fun.
6187 (outline-map-tree): Remove.
6188 (outline-promote, outline-demote): Apply to region if active.
6189 Change the default to apply to the subtree.
6190 (outline-move-subtree-up, outline-move-subtree-down): New funs.
6191 (outline-invisible-p): Add optional `pos' argument.
6192 (outline-next-visible-heading, outline-toggle-children): Use it.
6193 (outline-get-next-sibling): Don't call outline-level at eob.
6195 * custom.el (custom-set-minor-mode): New fun.
6197 2003-03-13 Dave Love <fx@gnu.org>
6199 * international/latin1-disp.el (ucs-tables): Don't require.
6200 (latin1-display-face): New.
6201 (latin1-display-char): Use it.
6203 2003-03-13 Kenichi Handa <handa@m17n.org>
6205 * international/mule-cmds.el (reset-language-environment):
6206 Set default-file-name-coding-system to iso-latin-1.
6208 * language/european.el (iso-latin-1): Definition of this coding
6209 system moved to mule-conf.el.
6211 * international/mule-conf.el (iso-latin-1): Move from
6214 * term/x-win.el (x-select-text): Don't set a text containing
6215 eight-bit-control/graphic into the cut buffer.
6217 2003-03-12 Kenichi Handa <handa@m17n.org>
6219 * files.el (insert-directory): Decode by what specified.
6221 * language/japan-util.el (setup-japanese-environment-internal):
6222 By defalt, use japanese-iso-8bit for file names, and prefer
6223 japanese-shift-jis on DOS and Windows.
6225 * international/quail.el (quail-show-guidance-buf): Make the quail
6226 guidance buffer inherit the current value of quail-current-package.
6228 * international/utf-8.el (ccl-decode-mule-utf-8): Don't lose bytes
6229 on handling an invalid byte sequence.
6231 2003-03-11 Jason Rumney <jasonr@gnu.org>
6233 * files.el (auto-mode-alist): Add .xsl for sgml-mode.
6235 2003-03-11 Mark A. Hershberger <mah@everybody.org>
6237 * xml.el (xml-skip-dtd): Fix parsing of DOCTYPE.
6239 2003-03-11 John Paul Wallington <jpw@gnu.org>
6241 * subr.el (posn-col-row): Heed frame parameter `line-spacing' and
6242 `default-line-spacing', rather than buffer-local `line-spacing'.
6244 2003-03-10 Per Abrahamsen <abraham@dina.kvl.dk>
6246 * cus-edit.el (customize-rogue): New command.
6248 2003-03-10 Andreas Schwab <schwab@suse.de>
6250 * info.el (Info-extract-menu-node-name)
6251 (Info-following-node-name): Revert last change.
6253 2003-03-10 Thien-Thi Nguyen <ttn@gnu.org>
6255 * progmodes/scheme.el (scheme-mode-syntax-table):
6256 Construct w/o using `with-syntax-table'.
6258 2003-03-10 John Paul Wallington <jpw@gnu.org>
6260 * subr.el (posn-col-row): Take into account `line-spacing'.
6262 * ebuff-menu.el (electric-buffer-update-highlight): Do nothing
6263 if major mode isn't `Electric-buffer-menu-mode'.
6265 * term/x-win.el (vendor-specific-keysyms)
6266 (x-last-selected-text-primary): Doc fixes.
6267 (x-win-suspend-error): Use proper noun in error message.
6269 2003-03-09 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
6271 * man.el (Man-getpage-in-background): Always use `setenv' for
6272 environment variables, instead of modifying process-environment
6273 directly. The previous version let-bound process-environment --
6274 the let-binding is skipped for GROFF_NO_SGR because there is
6275 already a let-binding in effect in some outer scope.
6277 * emulation/crisp.el (top-level): Interoperate with cua.
6279 2003-03-08 Kim F. Storm <storm@cua.dk>
6281 * emulation/cua-base.el: Provide `cua' feature.
6283 2003-03-08 Juanma Barranquero <lektu@terra.es>
6285 * emulation/cua-base.el (cua--standard-movement-commands):
6288 2003-03-07 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
6290 * man.el (Man-getpage-in-background): Only change
6291 default-directory if necessary.
6293 2003-03-07 Andreas Schwab <schwab@suse.de>
6295 * info.el (Info-following-node-name): Skip trailing period.
6296 (Info-extract-menu-node-name): Allow period in node name.
6298 2003-03-07 Kevin Rodgers <kevin.rodgers@ihs.com>
6300 * dired-x.el (dired-guess-shell-case-fold-search): New user option.
6301 (dired-guess-default): Use it.
6303 2003-03-07 Thien-Thi Nguyen <ttn@gnu.org>
6305 * progmodes/dcl-mode.el (dcl-font-lock-keywords): New var.
6306 (dcl-font-lock-defaults): New var.
6307 (dcl-mode): Make and init local var `font-lock-defaults'.
6309 2003-03-06 Kevin Rodgers <kevin.rodgers@ihs.com>
6311 * ffap.el (dired-at-point): Check whether the user can create a
6312 directory before asking about creating it.
6314 2003-03-06 John Paul Wallington <jpw@gnu.org>
6316 * ebuff-menu.el (electric-buffer-list):
6317 Respect `Buffer-menu-use-header-line'.
6318 (electric-buffer-menu-looper): Likewise.
6320 * buff-menu.el (Buffer-menu-mode-map): Add docstring.
6321 (Buffer-menu-buffer): Fix indentation.
6322 (list-buffers-noselect): Calculate header-line spacing to take
6323 into account width of left fringe and left scrollbar.
6325 2003-03-05 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6327 * ps-print.el (ps-print-version): New version number (6.6).
6328 (ps-begin-job): If background and foreground color are the same, give
6330 (ps-default-fg, ps-default-bg): Better doc.
6331 (ps-rgb-color): Became a defun, check RGB value list.
6332 (ps-default-background): New internal var.
6333 (ps-begin-file): Code fix.
6335 2003-03-05 Richard M. Stallman <rms@gnu.org>
6337 * replace.el (query-replace-read-args): Use save-excursion.
6338 (map-query-replace-regexp): Use prefix-numeric-value.
6340 2003-03-05 Juanma Barranquero <lektu@terra.es>
6342 * term/w32-win.el (x-handle-geometry): Put sizes on
6343 `initial-frame-alist' too.
6345 * startup.el (command-line-x-option-alist): Make --border-color set
6346 the border-color frame parameter, not border-width.
6348 * faces.el (frame-set-background-mode): Fix reference to attribute
6351 2003-03-05 Reto Zimmermann <reto@gnu.org>
6353 * progmodes/vhdl-mode.el: Version 3.32.12 released.
6354 Modifications for displaying all projects in hierarchy browser and case
6355 insensitive hierarchy browsing. Change Rod's email address.
6356 Include `itimer.el' patch for XEmacs. Backquote fix. Change some
6357 documentation strings. Add "ERROR: " prefix to all error
6358 messages. Enhanced usage of hideshow.
6359 (vhdl-in-literal): Remove unused argument LIM.
6360 (vhdl-compiler-alist): Enhance customization for compilers; add
6361 "Speedwave", "Simili", "Synopsys Design Compiler", "Cadence NC",
6362 "Savant", "ProVHDL" and "VeriBest" compilers.
6363 Add new error message syntax for Modelsim.
6364 Add Synplify, column no in error regexp.
6365 Include library name in library command.
6366 Add unit-to-file name mapping for Savant.
6367 Add library option in Makefile generation command.
6368 Add command to create library directory.
6369 Built-in Makefile generation is always default.
6370 (vhdl-create-mode-menu): Split menues for compilers, projects, models.
6371 Add customization for `global-font-lock-mode'.
6372 Fix `customize-group' entries for XEmacs and
6373 change "Gen." to "Generate". Get *Messages* buffer.
6374 Fix "Auto Load Setup File" menu entry.
6375 Add faces customization to "Options". Add "Options" entry.
6376 Include `speedbar-indentation-width'.
6377 (vhdl-replace-string): Allow casing (use `vhdl-file-name-case').
6378 (vhdl-template-exit, vhdl-template-next, vhdl-template-return):
6379 Fix template abortion.
6380 (vhdl-speedbar-port-copy): Add subprogram copy; copy port of component
6382 (vhdl-fixup-whitespace-region): No whitespace after '(' and before ')'.
6383 Better treat comments and strings. Fix "=> ," alignment.
6384 (vhdl-port-paste-testbench): Print file names created.
6385 Better handling when file exist/open. Additional comments in code.
6386 Replace keywords in testbench entity and architecture file headers.
6387 Adjust case in testbench configuration.
6388 (vhdl-port-paste-instance): Special case: no number in instance name.
6389 (vhdl-speedbar-expand-units): Fix speedbar frame switching oddity.
6390 (vhdl-font-lock-keywords-2): Enhance highlighting of instantiation;
6391 highlight instantiations without map.
6392 Highlight quantity declaration names. Highlight formal parameters.
6393 Fix label highlighting for signal asst.
6394 (vhdl-mode): `comment-padding' for Emacs 21 only.
6395 Remove forced `turn-on-font-lock'.
6396 Remove `hippie-expand-only-buffers' setting.
6397 Update online documentation and web address.
6398 (vhdl-comment-uncomment-region): Remove usage of `commend-dwim' again.
6399 Change ARG for uncommenting.
6400 (vhdl-speedbar-make-*-line): Fix for displaying XEmacs speedbar images.
6401 (vhdl-fontify-buffer): Toggle font-lock-mode for better recovery.
6402 (vhdl-port-list): Add context clause.
6403 (vhdl-port-paste-signals): Include direction comments.
6404 (vhdl-testbench-declarations, vhdl-testbench-statements): New default.
6405 (vhdl-port-*): Include name in status messages.
6406 (vhdl-package-alist): Scan for and display subprogram body.
6407 Change key to lower case, add original case identifier.
6408 Scan for packages used by package body.
6409 (vhdl-speedbar-find-file): Always jump to design unit if buffer open.
6410 (vhdl-speedbar-insert-hierarchy): Mark non-existing entities/packages.
6411 Message "No VHDL design units!".
6412 (vhdl-compile-init): Allow fourth element (column no) in error regexp.
6413 Fix `nconc' bug. Eliminate redundant regexps.
6414 (vhdl-minibuffer-tab): No indentation.
6415 Use `hippie-expand-only-buffers' to take
6416 expansions from VHDL buffers only; don't overwrite non-nil default of
6417 `hippie-expand-only-buffers'; check whether
6418 `hippie-expand-only-buffers' is bound.
6419 (vhdl-ams-types, vhdl-ams-enum-values): Add identifiers from
6420 `nature_pkg' package.
6421 (vhdl-align-alist): Fix "when/else ... =>" case.
6422 Align declaration keywords only at beg. of line.
6423 Align <=, := and == among each other.
6424 (vhdl-port-copy): Extended identifiers for signal names.
6425 Fix on empty generic/port clause.
6426 Fix parsing of comment on first line.
6427 Allow generic clause begin on first line.
6428 Add "inout" and "linkage" to direction modes.
6429 (vhdl-font-lock-function-face): Change DarkCyan to Cyan4.
6430 (vhdl-file-header): Insert VHDL language standard string.
6431 (vhdl-instance-name): Unique numbers in instance names.
6432 (vhdl-compile): Check for existing compile directory.
6433 Print out file name if compiler does not; put it in
6434 quotes if contains spaces. Check compiler name.
6435 (vhdl-compiler): Change empty value from "" to nil.
6436 (vhdl-make): Check for existing compile directory.
6437 Fix missing options if there is a target. Check compiler name.
6438 (vhdl-template-field): Fix case on all VHDL words.
6439 (vhdl-template-others): Re-electrified "others".
6440 (vhdl-speedbar-expand-architecture): Give user control over displayed
6442 (vhdl-project-alist): Insert library name in Makefile name.
6443 Sources exclude regexp. Add file-specific compile exceptions.
6444 Enhance customization of projects.
6445 (vhdl-get-hierarchy): Include configurations in hierarchy list.
6446 Fix bug with configurations.
6447 Consider configurations; also at lower levels.
6448 (vhdl-speedbar-item-info): Enhance displaying.
6449 (vhdl-scan-file-contents): Fix skipping of comments in scanning.
6450 Sources exclude regexp.
6451 Allow comment lines in instantiations.
6452 Fix used packages in package body scanning.
6453 Allow code before first block configuration.
6454 Scan also for "is" keyword of design units.
6455 Scan configuration specification.
6456 Clear directory alists first.
6458 Check for multiply scanned design units.
6459 Scan components/subprograms in package.
6460 Scan library clauses and subconfigurations.
6461 Limit file size for scanning.
6462 (vhdl-entity-alist): Change key to lower case, add original case
6464 (vhdl-electric-tab): Not overwrite non-nil default of
6465 `hippie-expand-only-buffers'.
6466 (vhdl-electric-tab): Check whether `hippie-expand-only-buffers' is
6467 bound; use it to take expansions from VHDL buffers only.
6468 (vhdl-electric-tab): Toggle comment indent.
6469 (vhdl-generate-makefile): Check compiler name.
6470 Add library option in Makefile generation command.
6471 (vhdl-generate-makefile): Add dependencies for components in package.
6472 (vhdl-template-elsif): No expansion in concurrent part (except AMS).
6473 (vhdl-insert-string-or-file): Resolve environment variables.
6474 (vhdl-insert-string-or-file): Fix NTEmacs `file-exists-p' problem.
6475 (vhdl-submit-bug-report): Prompt for summary.
6476 (vhdl-resolve-paths): Rearrange environment variable resolution.
6477 (vhdl-scan-project-contents): Rearrange environment variable
6479 (vhdl-scan-project-contents): Allow absolute paths.
6480 (vhdl-doc-coding-style): Update RMM URL.
6481 (vhdl-end-of-leader): Consider "is" keyword in VHDL'93.
6482 (vhdl-model-insert): Replace header prompts too.
6483 (vhdl-template-header): New argument `is-model'.
6484 (vhdl-template-generate-body): Remove "begin" for VHDL'93.
6485 (vhdl-actual-port-name): Change default value (no "_i" extension).
6486 (vhdl-template-modify): Delete date instead of kill.
6487 (vhdl-get-source-files): Don't match source files beginning with ".".
6488 (vhdl-project-*-alist): Merge with variables `vhdl-*-alist'.
6489 (vhdl-speedbar-*): Many enhancements and fixes in hierarchy browser.
6490 (vhdl-speedbar-expand-*): Display used packages.
6491 (vhdl-sequential-statement-p): Better algorithm.
6492 (vhdl-electric-mode, vhdl-stutter-mode): Change key bindings.
6493 (vhdl-electric-...): No stuttering within literals.
6494 (vhdl-template-footer): Replace keywords in footer as in header.
6495 (vhdl-align-...): Enhance alignment, add progress reporting.
6496 (vhdl-beautify-region): Bug fix.
6497 (vhdl-comment-insert-inline): Remove wrapping to next line if too long.
6498 (vhdl-testbench-configuration-name)
6499 (vhdl-update-sensitivity-list-buffer): Fix starting cursor position.
6500 (vhdl-prepare-search-[12]): Fix search within hidden code.
6501 (vhdl-speedbar-jump-to-unit): Disable cursor re-positioning.
6502 (vhdl-template-for): Fix sequential statement part detection.
6503 (vhdl-electric-space): Fix wrapping for non-word characters.
6504 (vhdl-template-standard-package): Don't insert "std" library.
6505 (vhdl-template-architecture): Code optimization.
6506 (vhdl-template-package): Search for existing package name.
6507 (vhdl-template-component-decl, vhdl-port-paste-declaration):
6508 Insert "is" in VHDL'93.
6509 (match-string-no-properties, vhdl-forward-comment): New aliases.
6510 (vhdl-speedbar-library-face, vhdl-speedbar-subprogram-face): New faces.
6511 (file-expand-wildcards, regexp-opt, subst-char-in-string)
6512 (vhdl-add-modified-file, vhdl-align-buffer, vhdl-align-declarations)
6513 (vhdl-align-list, vhdl-align-region-2, vhdl-align-region-groups)
6514 (vhdl-align-same-indent, vhdl-aput, vhdl-auto-load-project)
6515 (vhdl-backward-same-indent, vhdl-beginning-of-block)
6516 (vhdl-character-to-event, vhdl-compile-directory)
6517 (vhdl-compile-print-file-name, vhdl-compose-components-package)
6518 (vhdl-compose-insert-generic, vhdl-compose-insert-port)
6519 (vhdl-compose-insert-signal, vhdl-compose-new-component)
6520 (vhdl-compose-place-component, vhdl-compose-wire-components)
6521 (vhdl-default-directory, vhdl-delete, vhdl-delete-indentation)
6522 (vhdl-do-group, vhdl-do-list, vhdl-do-same-indent)
6523 (vhdl-duplicate-project, vhdl-end-of-block, vhdl-expand-abbrev)
6524 (vhdl-expand-paren, vhdl-export-project, vhdl-fill-group)
6525 (vhdl-fill-list, vhdl-fill-region, vhdl-fill-same-indent)
6526 (vhdl-fix-case-word, vhdl-fix-clause, vhdl-forward-comment)
6527 (vhdl-forward-same-indent, vhdl-generate-makefile-1)
6528 (vhdl-get-compile-options, vhdl-get-components-package-name)
6529 (vhdl-get-end-of-unit, vhdl-get-make-options, vhdl-get-packages)
6530 (vhdl-get-visible-signals, vhdl-goto-marker)
6531 (vhdl-hs-forward-sexp-func, vhdl-hs-minor-mode, vhdl-import-project)
6532 (vhdl-indent-group, vhdl-insert-file-contents, vhdl-load-cache)
6533 (vhdl-makefile-name, vhdl-match-string-downcase, vhdl-max-marker)
6534 (vhdl-parse-group-comment, vhdl-paste-group-comment)
6535 (vhdl-port-paste-context-clause, vhdl-port-paste-initializations)
6536 (vhdl-port-reverse-direction, vhdl-process-command-line-option)
6537 (vhdl-project-p, vhdl-re-search-backward, vhdl-re-search-forward)
6538 (vhdl-remove-trailing-spaces, vhdl-require-hierarchy-info)
6539 (vhdl-resolve-env-variable, vhdl-run-when-idle, vhdl-save-cache)
6540 (vhdl-save-caches, vhdl-scan-context-clause)
6541 (vhdl-scan-directory-contents, vhdl-set-compiler, vhdl-set-project)
6542 (vhdl-show-messages, vhdl-sort-alist, vhdl-speedbar-check-unit)
6543 (vhdl-speedbar-contract-all, vhdl-speedbar-contract-level)
6544 (vhdl-speedbar-display-directory, vhdl-speedbar-display-projects)
6545 (vhdl-speedbar-expand-all, vhdl-speedbar-expand-config)
6546 (vhdl-speedbar-expand-package, vhdl-speedbar-expand-project)
6547 (vhdl-speedbar-generate-makefile, vhdl-speedbar-insert-projects)
6548 (vhdl-speedbar-insert-subpackages, vhdl-speedbar-line-key)
6549 (vhdl-speedbar-line-project, vhdl-speedbar-line-text)
6550 (vhdl-speedbar-make-design, vhdl-speedbar-make-subpack-line)
6551 (vhdl-speedbar-make-subprogram-line, vhdl-speedbar-place-component)
6552 (vhdl-speedbar-refresh, vhdl-speedbar-set-depth)
6553 (vhdl-speedbar-update-current-project, vhdl-statistics-buffer)
6554 (vhdl-subprog-copy, vhdl-subprog-flatten, vhdl-subprog-paste-body)
6555 (vhdl-subprog-paste-call, vhdl-subprog-paste-declaration)
6556 (vhdl-subprog-paste-specification, vhdl-template-others-hook)
6557 (vhdl-template-replace-header-keywords, vhdl-toggle-project)
6558 (vhdl-uniquify, vhdl-update-file-contents, vhdl-update-hierarchy)
6559 (vhdl-update-progress-info, vhdl-update-sensitivity-list)
6560 (vhdl-update-sensitivity-list-buffer)
6561 (vhdl-update-sensitivity-list-process, vhdl-use-direct-instantiation)
6562 (vhdl-warning, vhdl-warning-when-idle)
6563 (vhdl-widget-directory-validate, vhdl-work-library)
6564 (vhdl-write-file-hooks-init): New functions.
6565 (vhdl-aappend, vhdl-add-warning, vhdl-align-noindent-buffer)
6566 (vhdl-align-noindent-region, vhdl-create-customize-menu)
6567 (vhdl-forward-unit, vhdl-modify-date-init, vhdl-project-switch)
6568 (vhdl-scan-file-contents, vhdl-speedbar-display-hierarchy)
6569 (vhdl-speedbar-toggle-hierarchy): Functions deleted.
6570 (vhdl-in-comment-p, vhdl-in-string-p, vhdl-standard-p): Define as
6571 functions, not defsubsts.
6572 (vhdl-in-comment-or-string-p, vhdl-speedbar-project-p):
6574 (vhdl-compose, vhdl-naming, vhdl-speedbar, vhdl-template)
6575 (vhdl-testbench): New customization groups.
6576 (vhdl-electric): Customization group deleted.
6577 (vhdl-align-alist, vhdl-doc-coding-style, vhdl-doc-keywords)
6578 (vhdl-imenu-generic-expression): Define as constants instead of
6580 (vhdl-ams-packages, vhdl-doc-release-notes, vhdl-emacs-21)
6581 (vhdl-hs-start-regexp, vhdl-time-stamp, vhdl-xemacs): New constants.
6582 (vhdl-font-lock-keywords-0): Constants deleted.
6583 (vhdl-prepare-search-1, vhdl-prepare-search-2, vhdl-visit-file):
6585 (vhdl-ext-syntax-table): Macro deleted.
6586 (vhdl-align-group-separate, vhdl-align-same-indent)
6587 (vhdl-architecture-file-name, vhdl-compile-use-local-error-regexp)
6588 (vhdl-components-package-name, vhdl-compose-architecture-name)
6589 (vhdl-compose-create-files, vhdl-compose-include-header)
6590 (vhdl-copyright-string, vhdl-default-library, vhdl-directive-keywords)
6591 (vhdl-entity-file-name, vhdl-file-name-case)
6592 (vhdl-include-group-comments, vhdl-include-type-comments)
6593 (vhdl-indent-syntax-based, vhdl-makefile-generation-hook)
6594 (vhdl-package-file-name, vhdl-project-auto-load)
6595 (vhdl-project-file-name, vhdl-project-sort, vhdl-speedbar-auto-open)
6596 (vhdl-speedbar-cache-file-name, vhdl-speedbar-display-mode)
6597 (vhdl-speedbar-jump-to-unit, vhdl-speedbar-save-cache)
6598 (vhdl-speedbar-scan-limit, vhdl-speedbar-update-on-saving)
6599 (vhdl-testbench-configuration-name)
6600 (vhdl-testbench-include-configuration, vhdl-testbench-include-header)
6601 (vhdl-testbench-include-library, vhdl-use-components-package)
6602 (vhdl-use-direct-instantiation): New options.
6603 (vhdl-compiler-options, vhdl-speedbar, vhdl-speedbar-hierarchy-indent)
6604 (vhdl-speedbar-show-hierarchy, vhdl-testbench-architecture-header)
6605 (vhdl-testbench-entity-header): Options deleted.
6606 (speedbar-indentation-width, vhdl-compile-file-name)
6607 (vhdl-config-alist, vhdl-directive-keywords-regexp)
6608 (vhdl-directory-alist, vhdl-font-lock-keywords-0, vhdl-menu-max-size)
6609 (vhdl-mode-ext-syntax-table, vhdl-modified-file-list)
6610 (vhdl-port-flattened, vhdl-port-reversed-direction)
6611 (vhdl-speedbar-hierarchy-depth, vhdl-speedbar-last-selected-project)
6612 (vhdl-speedbar-show-projects, vhdl-speedbar-shown-project-list)
6613 (vhdl-speedbar-shown-unit-alist, vhdl-speedbar-update-current-unit)
6614 (vhdl-subprog-flattened, vhdl-subprog-list, vhdl-updated-project-list)
6615 (vhdl-warnings): New variables.
6616 (vhdl-project-ent-inst-list, vhdl-project-entity-alist)
6617 (vhdl-project-package-alist, vhdl-speedbar-last-file-name)
6618 (vhdl-speedbar-shown-units-alist, vhdl-startup-warnings): Delete vars.
6620 2003-03-04 Rob Kaut <rob@siworks.com> (tiny change)
6622 * progmodes/vhdl-mode.el (vhdl-comment-uncomment-region):
6623 Remove two comment characters at start of line instead of one.
6625 2003-03-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6627 * printing.el (pr-get-symbol): Move it to next eval-and-compile.
6629 2003-03-03 John Paul Wallington <jpw@gnu.org>
6631 * ibuf-macs.el (ibuffer-aif): Use `make-symbol' instead of
6632 `gensym' in case user calls macro at runtime.
6633 (ibuffer-save-marks): Likewise.
6635 2003-03-03 Kenichi Handa <handa@m17n.org>
6637 * language/japan-util.el (japanese-symbol-table): Add two entries
6638 to make it complete.
6640 2003-03-03 Andreas Schwab <schwab@suse.de>
6642 * info.el (Info-fontify-node): Don't hide indentation before the
6643 reference name. Don't process a reference twice when a new tag is
6645 (Info-hide-note-references): Fix doc and customize type.
6647 2003-03-02 Matt Swift <swift@alum.mit.edu>
6649 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
6650 New custom variable.
6651 (lisp-fill-paragraph): Use it. Add ?, to `paragraph-separate' so
6652 that first docstring lines ending with a comma are respected.
6653 Add "`(" to same so that function and macro bodies beginning with a
6654 backquote do not get disturbed. Revise the comments.
6656 2003-03-01 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
6658 * startup.el (command-line): Call menu-bar-mode with 1 instead of t.
6660 * menu-bar.el (menu-bar-mode): Change to define-minor-mode
6661 and initialize as for tool-bar-mode.
6663 2003-02-28 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
6665 * net/tramp.el: Version 2.0.30 released.
6666 Replace term "path" with "localname" unless it is used for a
6668 (tramp-handle-expand-file-name): Allow ".." to cross host boundaries.
6669 (tramp-open-connection-setup-interactive-shell): Unset $ENV in
6670 addition to setting $PS1 when starting the Bourne-ish shell.
6671 Some sh implementations (eg, bash when called as sh) read the file
6672 named there on startup, which could clobber $PS1.
6673 (tramp-do-copy-or-rename-file-one-local): New function.
6674 Not implemented. Not used. Should invoke rcp or scp directly to keep
6677 2003-02-28 Michael Albinus <Michael.Albinus@alcatel.de>
6679 * net/tramp-smb.el: Replace term `path' with `localname'
6680 unless it is used for a search path. In GNU, the word `path' is
6681 reserved for search paths.
6683 * net/tramp.el (tramp-send-string, tramp-send-region): Remove.
6684 (tramp-send-string): New function. Takes over the role of the
6685 functions above, in order to have a unique place handling
6686 `tramp-chunksize'. Same implementation as `tramp-send-region'.
6687 (tramp-chunksize): It's now a defcustom. Set to 500 on systems
6688 only known to have a buggy `process-send-string' implementation.
6689 First black-listed constellation is GNU Emacs/ hpux.
6690 (tramp-send-region): Correct debug message.
6691 (tramp-bug): Add `tramp-chunksize'.
6693 2003-02-26 Matt Swift <swift@alum.mit.edu>
6695 * startup.el: Streamline code in several functions for efficiency
6696 and readability. Rephrase booleans to avoid `(not noninteractive)'.
6697 Clarify several booleans expressions using De Morgan's laws.
6699 (command-line): Fix barf when first command-line option handled by
6700 `command-line-1' is in the form --OPT=VAL.
6701 (command-line-1): Restore intended behavior of the --directory/-L
6702 command-line option: "-L a -L b -L c" on the command-line now puts
6703 '(a b c) at the front of `load-path'.
6705 2003-02-26 Oliver Scholz <alkibiades@gmx.de>
6707 * play/gamegrid.el (gamegrid-add-score): Add info to docstring.
6708 (gamegrid-add-score-with-update-game-score-1): New function,
6709 factored out of `gamegrid-add-score-with-update-game-score'.
6710 (gamegrid-add-score-with-update-game-score): Use it. Fall back on
6711 `gamegrid-add-score-insecure' if the requested file does not exist
6712 in $(gamedir), in case the user has installed a game on his own.
6713 (gamegrid-add-score-insecure): Accept optional directory argument.
6715 2003-02-25 Andreas Schwab <schwab@suse.de>
6717 * progmodes/make-mode.el (makefile-font-lock-keywords): Protect shell
6718 variable references by requireing that $ is not preceded by another $.
6720 2003-02-25 Kenichi Handa <handa@m17n.org>
6722 * env.el (setenv): Fix previous change.
6724 2003-02-25 Ramakrishnan M <rama@gnu.org> (tiny change)
6726 * language/mlm-util.el (mlm-char-glyph): Fix more rules.
6728 2003-02-24 Stefan Monnier <monnier@cs.yale.edu>
6730 * progmodes/simula.el: Move abbrev loading to after the fun it uses.
6731 (simula-install-standard-abbrevs): Use dolist.
6732 Use system-flag when calling define-abbrev.
6734 2003-02-24 Dave Love <fx@gnu.org>
6736 * obsolete/cplus-md.el: Delete. (Requires removed c-mode.el.)
6738 * env.el (read-envvar-name): Decode names.
6739 (substitute-env-vars): Use eval-when-compile and char class.
6740 (setenv): Doc fix. Encode the data (after checking that's possible).
6741 (getenv): Encode the name and decode the result.
6743 2003-02-24 Ken Manheimer <klm@zope.com>
6745 * allout.el (allout-pre-command-business): Fix docstring.
6747 2003-02-24 Ramakrishnan M <rama@gnu.org> (tiny change)
6749 * language/mlm-util.el (mlm-char-glyph): Fix several composing rules.
6751 2003-02-24 Kenichi Handa <handa@m17n.org>
6753 * international/characters.el: Fix syntaxes of gb2312 and big5.
6755 * language/japan-util.el (sentence-end-save): Variable deleted.
6756 (setup-japanese-environment-internal): Don't setup sentence-end.
6757 (exit-japanese-environment): Function deleted.
6759 * language/japanese.el ("Japanese"): Delete `exit-function'.
6761 * textmodes/paragraphs.el (sentence-end): Add Chinese and Japanese
6764 2003-02-24 Ramakrishnan M <rama@gnu.org> (tiny change)
6766 * language/mlm-util.el (mlm-char-glyph): Add entries for "halant +
6767 rakar + halant" and "halant + rrakar + halant".
6769 2003-02-23 Richard M. Stallman <rms@gnu.org>
6771 * replace.el (query-replace-read-args): Return just 3 values.
6772 (query-replace, query-replace-regexp)
6773 (query-replace-regexp-eval, map-query-replace-regexp)
6774 (replace-string, replace-regexp): Read the start and end args
6775 separately so that the expressions are recorded in command-history.
6777 * menu-bar.el (Revert Buffer): Condition on buffer-file-number.
6779 * startup.el (inhibit-startup-hooks): New variable.
6780 (normal-top-level): Obey that variable.
6781 (command-line-1): Run emacs-startup-hook before term-setup-hook.
6782 Set inhibit-startup-hooks too.
6784 * files.el (revert-buffer): Different error message
6785 for reverting a nonexistent file.
6787 2003-02-22 Stefan Monnier <monnier@cs.yale.edu>
6789 * progmodes/cperl-mode.el: Merge changes from CPerl-5.0.
6790 (toplevel): Require man.
6791 Don't autoload tmm-prompt (it's in loaddefs.el).
6792 (cperl-electric-backspace-untabify): New var.
6793 (cperl-electric-backspace): Use it.
6794 (cperl-vc-header-alist): Extract numeric version from the Id.
6795 (cperl-build-manpage): New fun.
6796 (cperl-menu): Use it. Add toggle-autohelp.
6797 (cperl-mode) <defun-prompt_regexp>: Understand prototypes.
6798 (cperl-electric-brace): Use `cperl-after-block-p' for detection.
6799 (cperl-electric-keyword): Make $if (etc: "$@%&*") non-electric.
6800 '(' after keyword would insert a doubled paren.
6801 (cperl-calculate-indent): Update syntaxification before checks.
6802 Fix wrong indent of blocks starting with POD.
6803 (cperl-find-pods-heres): If no end of HERE-doc found, mark to the end
6804 of buffer. This enables recognition of end of HERE-doc "as one types".
6805 Require "\n" after trailing tag of HERE-doc.
6806 \( made non-quoting outside of string/comment (gdj-contributed).
6807 Likewise for \$. Remove `here-doc-group' text property at start
6808 (makes this property reliable).
6809 Text property `first-format-line' ==> t.
6810 Do not recognize $opt_s and $opt::s as s///.
6811 (cperl-after-block-p): Optional arg pre-block to check for a pre-block
6812 Recognize `continue' blocks too.
6813 (cperl-after-expr-p): Update syntaxification before checks. Work after
6814 here-docs, formats, and PODs too (affects many electric constructs).
6815 (cperl-fix-line-spacing): Allow "_" in $vars of foreach etc.
6816 (cperl-perldoc): Use case-sensitive search.
6818 * progmodes/cperl-mode.el: Merge changes from CPerl-4.35.
6819 (cperl-xemacs-p): Move.
6820 (cperl-can-font-lock): New var to replace window-system.
6821 (cperl-enable-font-lock): Use it.
6822 (cperl-use-major-mode): New var.
6823 (cperl-mode): Use it.
6824 (cperl-calculate-indent): Remove code whose removal was missed
6825 in some earlier merge.
6826 (cperl-tags-hier-init): Use display-popup-menus-p.
6828 2003-02-22 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
6830 * files.el (abbreviate-file-name): Shorten docstring: variables
6831 are now hyperlinks and `C-h v' need not be mentioned explicitly.
6833 2003-02-21 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
6835 * files.el (abbreviate-file-name): Document removal of
6836 automounter prefixes. Reported by Lars Hansen.
6838 2003-02-21 Kim F. Storm <storm@cua.dk>
6840 * emulation/cua-base.el: Add run-time check to catch users trying
6841 to use older versions of CUA-mode, rather than the version
6842 distributed with Emacs. Use autoload cookies and eval-after-load.
6844 * startup.el (command-line): Clarify and tidy up the message
6845 printed when there are errors in the user-init-file.
6846 Do not encapsulate the error data; it's read by humans here.
6847 Do not split windows when displaying the *Message* buffer.
6849 2003-02-20 Stefan Monnier <monnier@cs.yale.edu>
6851 * subr.el (with-syntax-table): Don't copy the table any more.
6853 2003-02-20 Ehud Karni <ehud@unix.mvs.co.il> (tiny change)
6855 * mail/rmail.el (rmail-insert-inbox-text): Make the pop3 mechanism
6856 work on cygwin systems too.
6858 2003-02-20 Juanma Barranquero <lektu@terra.es>
6860 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
6861 Remove useless check.
6863 2003-02-20 Andreas Schwab <schwab@suse.de>
6865 * info.el (Info-extract-menu-node-name): Stop if colon is
6866 followed by open paren.
6868 2003-02-20 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
6870 * mail/undigest.el (unforward-rmail-message): Allow nested
6871 unforwarding, that is, preserve old Forwarded-From/Date headers.
6873 2003-02-20 Kenichi Handa <handa@m17n.org>
6875 * term/w32-win.el: Call set-fontset-font with NAME nil.
6877 * international/mule-diag.el (print-fontset): If FONTSET is nil,
6878 use the default fontset.
6879 (describe-fontset): If the current frame is not using a fontset,
6880 call print-fontset with nil.
6882 2003-02-19 Andre Spiegel <spiegel@gnu.org>
6884 * vc.el (vc-binary-assoc, vc-binary-suffixes): Remove; these
6885 were accidentally left over during the VC redesign in 2000.
6887 2003-02-18 Juanma Barranquero <lektu@terra.es>
6889 * help-macro.el (make-help-screen): Fix character constant.
6891 * mouse-sel.el (mouse-sel-determine-selection-thing): Likewise.
6893 * calc/calc-graph.el (calc-graph-plot): Likewise.
6895 * calc/calc-prog.el (calc-macro-edit-variable): Likewise.
6897 * emacs-lisp/edebug.el: Likewise.
6899 * emacs-lisp/helper.el (Helper-help-scroller): Likewise.
6901 * language/cyril-util.el (standard-display-cyrillic-translit):
6904 * mail/rfc822.el (rfc822-nuke-whitespace): Likewise.
6906 * progmodes/cperl-mode.el (cperl-electric-keyword)
6907 (cperl-electric-pod, cperl-do-auto-fill): Likewise.
6909 * textmodes/reftex-ref.el (reftex-reference): Likewise.
6911 * textmodes/table.el (table-generate-source): Use ?\\ instead of
6912 space in "work in progress" message.
6914 * emacs-lisp/tq.el (tq-create): Fix quoted lambda expression.
6916 2003-02-17 Dave Love <fx@gnu.org>
6918 * progmodes/ebrowse.el (ebrowse-output): Don't use gensym.
6920 2003-02-17 Markus Rost <rost@math.ohio-state.edu>
6922 * calendar/calendar.el (diary-file-name-prefix-function):
6925 2003-02-17 Andre Spiegel <spiegel@gnu.org>
6927 * vc-cvs.el (vc-cvs-dir-state): Protect against DIR not being
6928 under CVS control. Suggested by Masanobu UMEDA.
6930 2003-02-17 Kenichi Handa <handa@m17n.org>
6932 * files.el (insert-directory): Add workaround for the case that we
6933 can't trust ls's output as to byte positions of filenames.
6935 2003-02-15 Richard M. Stallman <rms@gnu.org>
6937 * ffap.el: Many doc fixes.
6938 (ffap-replace-file-component):
6939 Renamed from ffap-replace-path-component. Callers changed.
6940 (ffap-host-to-filename): Renamed from ffap-host-to-path. Callers chgd.
6942 * international/iso-ascii.el (iso-ascii-display-table): New variable.
6943 (iso-ascii-standard-display-table): New variable.
6944 (iso-ascii-display): Define in iso-ascii-display-table.
6945 (iso-ascii-mode): New command.
6947 * tar-mode.el (tar-header-block-summarize):
6948 Use l for symlink, h for hard link.
6950 2003-02-15 David Kastrup <dak@gnu.org>
6952 * net/ange-ftp.el (ange-ftp-get-file-entry): Allow for graceful
6953 failure returning nil, as documented.
6955 2003-02-14 Dave Love <fx@gnu.org>
6957 * international/code-pages.el: Undo `Trailing whitepace deleted.'
6959 (cp1125, mik): Nullify mime-charset.
6961 * language/cyrillic.el ("Cyrillic-KOI8"): Fix input-method.
6963 ("Bulgarian"): Add tutorial.
6965 * international/mule-cmds.el (locale-language-names): Use Italian,
6966 Russian, Turkish, Chinese-EUC-TW.
6967 (set-locale-environment): Set ps-paper-type.
6969 2003-02-14 ARISAWA Akihiro <ari@mbf.sphere.ne.jp> (tiny change)
6971 * time.el (display-time-string-forms): Add face property to mail
6974 2003-02-14 Juanma Barranquero <lektu@terra.es>
6976 * international/mule-cmds.el (view-hello-file): Use `view-file'
6977 instead of `find-file-read-only'.
6979 * dired-aux.el (dired-query-alist): Fix use of character constant.
6981 * simple.el (backward-delete-char-untabify): Likewise.
6983 * strokes.el (strokes-read-complex-stroke): Likewise.
6985 * wid-edit.el (widget-choose): Likewise.
6987 * xml.el (xml-parse-elem-type): Likewise.
6989 * emacs-lisp/testcover-ses.el (ses-exercise-signals): Likewise.
6991 * progmodes/cperl-mode.el (cperl-next-bad-style): Likewise.
6993 * progmodes/idlwave.el (idlwave-show-begin): Likewise.
6995 2003-02-13 Stefan Monnier <monnier@cs.yale.edu>
6997 * international/mule-cmds.el (sort-coding-systems): Use \'.
6998 (select-safe-coding-system): Remove redundant assq check.
6999 Remove raw-text, emacs-mule and no-conversion from the list of
7000 proposed encodings unless there's nothing else.
7002 2003-02-13 Markus Rost <rost@math.ohio-state.edu>
7004 * files.el (find-alternate-file): Undo last change.
7006 * dired.el (dired-directory): Add autoload cookie.
7008 2003-02-13 Juanma Barranquero <lektu@terra.es>
7010 * international/characters.el: Use new ?\s syntax instead of "? "
7011 followed by a comment.
7013 * ruler-mode.el (ruler-mode-margins-char): Likewise.
7015 2003-02-13 Dave Love <fx@gnu.org>
7017 * newcomment.el (comment-indent): Ensure space before added comment.
7019 2003-02-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7021 * ps-print.el: Change the policy of background/foreground default
7023 (ps-print-version): New version number (6.5.9).
7024 (ps-default-fg, ps-default-bg): Adjust default value.
7025 (ps-begin-file, ps-begin-job): ps-default-fg and ps-default-bg
7026 variables now use `t' to indicate the use of Emacs session
7027 background/foreground color.
7028 (ps-output-string-prim): If index out of range, insert hexadecimal
7029 representation of character.
7031 2003-02-13 Kim F. Storm <storm@cua.dk>
7033 * help.el (where-is): Rename remap-command to command-remapping.
7034 * help-fns.el (describe-function-1): Likewise.
7036 2003-02-12 Glenn Morris <gmorris@ast.cam.ac.uk>
7038 * progmodes/fortran.el (fortran-fill): Fill lines that do not have
7041 2003-02-12 Stefan Monnier <monnier@cs.yale.edu>
7043 * progmodes/fortran.el (fortran-mode): Set comment-use-syntax.
7044 (fortran-fill-paragraph): Use fill-comment-paragraph.
7046 2003-02-12 Juanma Barranquero <lektu@terra.es>
7048 * files.el (file-truename): Revert change from 2002-11-27.
7050 2003-02-12 Luc Teirlinck <teirllm@mail.auburn.edu>
7052 * help-fns.el (describe-function-1): Change output for keyboard macros.
7054 2003-02-12 Andreas Schwab <schwab@suse.de>
7056 * progmodes/sh-script.el (sh-mode-map): Don't remap
7057 beginning-of-defun to the non-existing command
7058 sh-beginning-of-compound-command.
7060 2003-02-12 Karl Chen <quarl@hkn.eecs.berkeley.edu> (tiny change)
7062 * files.el (find-alternate-file): Check whether `dired-directory'
7065 2003-02-12 Simon Marshall <simon@gnu.org>
7067 * progmodes/make-mode.el (makefile-font-lock-keywords):
7068 Fontify single character variable references, but protect shell
7069 variables references.
7070 (makefile-mode): Make `$' be punctuation in font-lock-defaults.
7072 2003-02-12 Ami Fischman <ami@fischman.org>
7074 Face markup of calendar and diary displays: Any entry line that
7075 ends with [foo:value] where foo is a face attribute (except :box
7076 :stipple) or with [face:blah] tags, will have these values applied
7077 to the calendar and fancy diary displays. These attributes "stack"
7078 on calendar displays. File-wide attributes can be defined as
7079 follows: the first line matching "^# [tag:value]" defines the
7080 value for that particular tag. All of the tags' regexps can be
7083 * calendar/calendar.el (diary-face-attrs): New custom.
7084 (diary-file-name-prefix-function): New custom.
7085 (diary-glob-file-regexp-prefix): New custom.
7086 (diary-file-name-prefix): New custom.
7087 (generate-calendar-window): Check that font-lock-mode is bound
7088 before checking value.
7089 (mark-visible-calendar-date): Add the ability to pass face
7090 attribute/value pairs in the mark argument. Handle the mark.
7092 * calendar/diary-lib.el (diary-attrtype-convert): Convert an
7093 attribute value string to the desired type.
7094 (diary-pull-attrs): New function that pulls the attributes off a
7095 diary entry, merges with file-global attributes, and returns
7096 the (possibly modified) entry and a list of attribute/values using
7097 diary-attrtype-convert.
7098 (list-diary-entries, fancy-diary-display, show-all-diary-entries)
7099 (mark-diary-entries, mark-sexp-diary-entries)
7100 (list-sexp-diary-entries): Add handling of file-global attributes;
7101 add handling of entry attributes using diary-pull-attrs.
7102 (mark-calendar-days-named, mark-calendar-days-named)
7103 (mark-calendar-date-pattern, mark-calendar-month)
7104 (add-to-diary-list): Add optional paramater `color' for passing
7105 face attribute info through the callchain. Pass this parameter around.
7107 2003-02-11 Stefan Monnier <monnier@cs.yale.edu>
7109 * progmodes/etags.el (find-tag-tag): Move (default foo) to before
7111 (find-tag): Make sure we move point in the proper window.
7113 * progmodes/meta-mode.el (meta-fill-paragraph): Remove.
7114 (meta-common-initialization): Don't set fill-paragraph-function
7115 now that fill-paragraph takes care of comments.
7117 * progmodes/scheme.el (scheme-mode-syntax-table): Don't switch
7118 the current buffer's syntax-table.
7120 * progmodes/simula.el (simula-font-lock-syntactic-keywords): New var.
7121 (simula-font-lock-keywords-1): Simplify.
7122 (simula-font-lock-keywords-2): Use regexp-opt.
7123 (simula-emacs-features): Remove.
7124 (simula-mode-syntax-table): Setup %...\n as comment style b.
7125 (simula-mode-map): Remove compatibility cruft.
7126 (simula-keep-region-active): Remove.
7127 (simula-popup-menu): Simplify.
7128 (simula-mode): Move abbrev-table setup to top-level.
7129 (simula-match-string-or-comment): Remove.
7131 * progmodes/tcl.el (tcl-omit-ws-regexp): Correctly handle cases
7132 like `proc foo {a {b c} d} {'.
7133 (tcl-mode): Make comment-start-skip more selective.
7135 * info-xref.el (info-xref-check): Use line-beginning-position.
7136 (info-xref-all-info-files): Cons a bit less.
7137 (info-xref-check-buffer): Use push and replace-regexp-in-string.
7138 (info-xref-output): Call insert only once.
7139 (info-xref-whitespace): Remove.
7141 2003-02-11 John Paul Wallington <jpw@gnu.org>
7143 * ibuffer.el (toplevel): Don't require `font-lock';
7144 require `font-core' instead, even though it is dumped.
7146 * ibuf-ext.el (ibuffer-save-with-custom, ibuffer-add-to-tmp-hide)
7147 (ibuffer-add-to-tmp-show): Doc fixes.
7149 * language/tamil.el ("Tamil"): Doc fix.
7151 2003-02-11 Juanma Barranquero <lektu@terra.es>
7153 * language/vietnamese.el ("Vietnamese"): Fix typos.
7155 * info-xref.el (info-xref-check-buffer): Fix typo.
7157 * makefile.w32-in (DONTCOMPILE): Add malayalam.el and tamil.el.
7159 2003-02-11 Kenichi Handa <handa@m17n.org>
7161 * loadup.el: Load "language/malayalam" and "language/tamil".
7163 2003-02-11 KAWABATA, Taichi <kawabata@m17n.org>
7165 * Makefile.in (DONTCOMPILE): Add malayalam.el and tamil.el.
7167 * language/devan-util.el: Maintainer's mail address changed.
7168 (devanagari-composable-pattern): Add DANDA character.
7169 (dev-char-glyph): Add an entry for DANDA.
7171 * language/devanagari.el: Maintainer's mail address changed.
7173 * language/indian.el: Maintainer's mail address changed.
7175 * language/ind-util.el (indian-dev-base-table): Table fixed.
7176 (indian-pnj-base-table): Table contents defined.
7177 (indian-gjr-base-table): Likewise.
7178 (indian-ori-base-table): Likewise.
7179 (indian-bng-base-table): Likewise.
7180 (indian-asm-base-table): Likewise.
7181 (indian-tlg-base-table): Likewise.
7182 (indian-knd-base-table): Likewise.
7183 (indian-mlm-base-table): Likewise.
7184 (indian-tml-base-table): Likewise.
7185 (indian-pnj-itrans-v5-hash, indian-gjr-itrans-v5-hash)
7186 (indian-ori-itrans-v5-hash, indian-bng-itrans-v5-hash)
7187 (indian-asm-itrans-v5-hash, indian-tlg-itrans-v5-hash)
7188 (indian-knd-itrans-v5-hash, indian-mlm-itrans-v5-hash)
7189 (indian-tml-itrans-v5-hash): New variables.
7191 * language/malayalam.el: New file.
7192 * language/mlm-util.el: New file.
7193 * language/tamil.el: New file.
7194 * language/tml-util.el: New file.
7196 2003-02-11 Kevin Ryde <user42@zip.com.au>
7198 * info-xref.el: New file.
7200 2003-02-10 Stefan Monnier <monnier@cs.yale.edu>
7202 * textmodes/page-ext.el (pages-directory-mode-map): New.
7203 (pages-directory-map): Redefine as an varalias.
7204 (pages-directory-mode): Use new map var and run mode hook.
7205 (pages-directory-address-mode): Use define-derived-mode.
7207 * textmodes/texinfmt.el (texinfo-format-iftex, texinfo-format-ifhtml)
7208 (texinfo-format-ifplaintext, texinfo-format-tex, texinfo-format-html)
7209 (texinfo-format-ifnotinfo, texinfo-format-titlepage)
7210 (texinfo-format-titlespec, texinfo-format-ignore, texinfo-if-set)
7211 (texinfo-if-clear): Use re-search-forward's return value.
7212 (texinfo-sort-startkeyfun, texinfo-format-buffer-1)
7213 (texinfo-format-region): Use line-{end,beginning}-position.
7214 (texinfo-append-refill, texinfo-alias): Use match-string-no-properties.
7216 * emacs-lisp/eldoc.el (eldoc-echo-area-multiline-supported-p)
7217 (eldoc-use-idle-timer-p): Remove.
7218 (timer): Never require. It only works in current Emacs anyway.
7219 (eldoc-mode, eldoc-message, eldoc-display-message-p)
7220 (eldoc-docstring-format-sym-doc, eldoc-remove-command): Simplify.
7222 * ffap.el (ffap-complete-as-file-p):
7223 Use minibuffer-completing-file-name.
7225 * international/mule.el (load-with-code-conversion): Use push.
7227 * font-core.el (font-lock-defontify): Use restore-buffer-modified-p.
7229 * gud.el (gud-gdb-run-command-fetch-lines, gud-display-line):
7230 Use with-current-buffer and simplify.
7232 * help-mode.el (help-xref-on-pp): Only add xref if the text
7235 * pcvs-parse.el (cvs-parse-table): "no longer in repo" does not
7236 make the file dead if we used the -n arg.
7238 * emacs-lisp/cl-macs.el (process-get): Add setf method.
7240 * server.el (server-previous-strings): Remove.
7241 (server-process-filter): Use (process-get 'previous-string) instead.
7242 (server-sentinel): Remove code made superfluous.
7244 2003-02-10 Luc Teirlinck <teirllm@mail.auburn.edu>
7246 * info.el (Info-follow-nearest-node): Implement new behavior.
7248 2003-02-10 Juanma Barranquero <lektu@terra.es>
7250 * progmodes/ebnf-otz.el (ebnf-optimize, ebnf-optimize1): Fix typo.
7252 * progmodes/ebnf2ps.el (ebnf2ps): Fix typo.
7253 (ebnf-syntactic): Change group name and tag from "ebnf-syntatic".
7254 (ebnf-syntax, ebnf-lex-comment-char, ebnf-lex-eop-char)
7255 (ebnf-terminal-regexp, ebnf-case-fold-search)
7256 (ebnf-iso-alternative-p, ebnf-iso-normalize-p)
7257 (ebnf-yac-ignore-error-recovery): Add to group "ebnf-syntactic", not
7259 (ebnf-optimize, ebnf-print-buffer, ebnf-print-region)
7260 (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-buffer)
7261 (ebnf-eps-region, ebnf-syntax-buffer, ebnf-syntax-region)
7262 (ebnf-generate-region): Fix typo.
7264 2003-02-10 KAWABATA, Taichi <kawabata@m17n.org>
7266 * language/ind-util.el (indian-itrans-v5-table): Add entries for
7269 2003-02-10 Martin Stjernholm <bug-cc-mode@gnu.org>
7271 * progmodes/cc-styles.el (c-set-offset): Don't find a default
7272 syntactic element through syntactic analysis if called outside
7275 2003-02-09 Martin Stjernholm <bug-cc-mode@gnu.org>
7277 * progmodes/cc-mode.el (c-basic-common-init):
7278 Install `c-fill-paragraph' on `fill-paragraph-function'.
7279 Although it's not the normal way to call it in a CC Mode buffer it
7280 makes a direct call to `fill-paragraph' work better.
7282 2003-02-08 Kim F. Storm <storm@cua.dk>
7284 * printing.el (pr-get-symbol): Define during compile.
7286 2003-02-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7288 * printing.el: New file.
7290 2003-02-07 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
7292 * language/european.el ("French", "Slovenian"): Fix doc strings.
7294 2003-02-06 John Paul Wallington <jpw@gnu.org>
7296 * mail/rmailsum.el (rmail-summary-previous-msg): Add docstring.
7297 (rmail-summary-line-count-flag, rmail-summary-previous-labeled-message)
7298 (rmail-summary-next-labeled-message, rmail-summary-resend)
7299 (rmail-summary-override-mail-send-and-exit): Doc fixes.
7301 2003-02-06 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
7303 * language/european.el ("Italian"): New.
7305 2003-02-06 Matthew Swift <swift@alum.mit.edu>
7307 * dired.el (dired-move-to-filename-regexp): Support "K" suffix on
7310 2003-02-05 Juanma Barranquero <lektu@terra.es>
7312 * font-lock.el (font-lock-reference-face): Add obsolescence
7313 declaration and remove redundant info from docstring.
7315 * log-edit.el (cvs-commit-buffer-require-final-newline)
7316 (cvs-changelog-full-paragraphs): Likewise.
7318 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
7319 (mouse-wheel-click-button): Likewise.
7321 * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name): Likewise.
7323 * vc.el (vc-annotate-display, vc-checkout-carefully): Likewise.
7325 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7326 (vc-header-alist): Likewise.
7328 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Likewise.
7330 * textmodes/outline.el (outline-visible): Likewise.
7332 2003-02-05 Kim F. Storm <storm@cua.dk>
7334 * ido.el (ido-define-mode-map):
7335 Undo last change (duplicates part of 2003-02-04 change).
7336 Remap `viper' delete commands only in file or dir mode.
7338 2003-02-05 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
7340 * ido.el (ido-define-mode-map): Interact with Viper.
7342 2003-02-05 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
7344 * net/tramp.el: Version 2.0.29 released.
7345 (tramp-send-region): Protect against tramp-chunksize being nil.
7346 (tramp-chunksize): Set default to 500 as workaround for some ssh
7348 (tramp-handle-directory-file-name): New implementation. Not sure
7350 (tramp-md5-function): Require md5 before checking function md5.
7351 If using md5-encode, put wrapper around it that converts vector of
7352 bytes to ascii text.
7353 (top-level): Avoid byte-compiler warnings of unused variables if
7354 the byte-compiler supports this. This is for the
7355 with-parsed-tramp-file-name macro which is wont to produce such stuff.
7357 2003-02-05 Michael Albinus <Michael.Albinus@alcatel.de>
7359 * net/tramp.el (tramp-handle-directory-file-name): Handle the case
7361 (tramp-completion-handle-file-name-all-completions):
7362 Define `tramp-current-user' locally. See `tramp-parse-passwd'.
7363 (tramp-parse-passwd): For su-alike methods it would be desirable
7364 to return "root@localhost" as default. Unfortunately, we have no
7365 information whether any user name has been typed already. So we
7366 (mis-)use tramp-current-user as indication, assuming it is set in
7367 `tramp-completion-handle-file-name-all-completions'.
7368 (tramp-send-region): Handle the case `tramp-chunksize' is equal 0.
7369 I did it accidently. Infinite loop ...
7370 (tramp-get-device): `tramp-make-tramp-file-name' must not be
7371 called with NIL path. It fails in case of multi-method.
7372 (tramp-file-name-for-operation): Apply `expand-file-name' for
7373 relative file names only. Otherwise there might be problems if
7374 the default directory is another Tramp directory as the directory
7375 the file is based on.
7376 (tramp-find-foreign-file-name-handler): Check whether FILENAME is
7377 a Tramp file name. It isn't if it comes from an expanded file
7378 name (like "/xx:yy//zz").
7379 (tramp-devices): New variable. Keeps virtual device numbers.
7380 Devices must distinguish physical file systems. The device
7381 numbers provided by "lstat" aren't unique, because we operate on
7382 different hosts. So we use virtual device numbers, generated by
7383 `tramp-get-device'. Both Ange-FTP and EFS use device number -1.
7384 In order to be different, we use device number (-1 x), whereby "x"
7385 is unique for a given (multi-method method user host).
7387 (tramp-perl-file-attributes): Always return device number -1.
7388 There will be a virtual device number set in
7389 `tramp-handle-file-attributes', which replaces this one.
7390 (tramp-handle-file-attributes): Set virtual device number.
7391 (tramp-get-device): New function. Returns the virtual device
7392 number. If it doesn't exist, generate a new one.
7393 (tramp-handle-file-regular-p): Use Emacs file name primitives
7394 instead of calling tramp-handle-* equivalents directly.
7395 Needed for tramp-smb.
7396 (tramp-completion-function-alist-ssh): Add parsing of
7397 "/etc/ssh_config" and "~/.ssh/config". Suggested by Kai.
7398 (tramp-completion-function-alist, tramp-set-completion-function):
7400 (tramp-parse-sconfig, tramp-parse-sconfig-group): New functions.
7401 Provide parsing of "~/.ssh/config" style files.
7402 (tramp-completion-handle-expand-file-name):
7403 Apply `tramp-drop-volume-letter'. Otherwise, there are problems
7405 (tramp-completion-mode): Perform check (integerp last-input-event)
7406 before (event-modifiers last-input-event) -- there might be
7407 problems if `last-input-event' is a mouse event.
7408 (tramp-parse-rhosts, tramp-parse-shosts)
7409 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc):
7410 Use `file-readable-p' instead of `file-exists-p'. Otherwise these
7411 functions might block. Reported by <kin@neoscale.com>.
7413 * net/tramp-ftp.el (top-level): eval-after-load "ange-ftp"
7414 '(tramp-disable-ange-ftp). Suggested by Kai.
7415 (tramp-ftp-file-name-handler): `tramp-disable-ange-ftp' not needed
7417 (top-level): Defaults for `tramp-default-method-alist' must be a list.
7419 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7420 Apply `tramp-handle-directory-file-name'.
7421 (tramp-smb-handle-file-attributes): Apply `tramp-get-device'.
7422 ATIME and CTIME are (0 0) now (= "don't know"), which is more honest.
7423 (tramp-smb-handle-make-directory): Use Emacs file name primitives
7424 instead of calling tramp-smb-handle-* equivalents directly.
7425 (tramp-smb-read-file-entry): Return size as a number, not a string.
7426 (top-level): Defaults for `tramp-default-method-alist' must be a list.
7428 2003-02-05 Stefan Monnier <monnier@cs.yale.edu>
7430 * completion.el (eval-when-compile-load-eval, completion-eval-when)
7431 (cmpl-read-time-eval, minibuffer-window-selected-p): Remove.
7432 (completion-min-length, completion-max-length)
7433 (completion-prefix-min-length): Don't hard-code the default value
7434 when byte-compiling.
7435 (complete): Inline minibuffer-window-selected-p.
7437 2003-02-04 Richard M. Stallman <rms@gnu.org>
7439 * term.el (term-raw-map): Set it up at load time.
7440 (term-char-mode): Don't set up term-raw-map here.
7441 (term-set-escape-char): Don't set up C-x subcommand.
7442 (term-ansi-face-already-done): Renamed from
7443 term-ansi-face-alredy-done.
7444 (term-command-hook): Avoid error if STRING is empty.
7445 (term, term-mode): Doc fixes.
7447 * term.el: Redesign handling of colors and faces.
7448 Delete all the faces that this mode used to make.
7449 (ansi-term-color-vector): New variable.
7450 (ansi-term-fg-faces-vector, ansi-term-bg-faces-vector)
7451 (ansi-term-inv-bg-faces-vector, ansi-term-inv-fg-faces-vector):
7453 (term-default-fg-color, term-default-bg-color): Use defcustom.
7454 (term-handle-colors-array): Use ansi-term-color-vector,
7455 and specify face attributes rather than faces in `face' property.
7457 * term.el (term-ansi-fg-faces-vector, term-ansi-bg-faces-vector)
7458 (term-ansi-inv-fg-faces-vector, term-ansi-inv-bg-faces-vector)
7459 (term-ansi-reverse-faces-vector): Delete unused variables.
7460 (term-ignore-error): Delete macro.
7462 * simple.el (back-to-indentation): Skip all whitespace
7463 except for newlines.
7465 * files.el (find-alternate-file): Handle dired-directory
7466 like buffer-file-name.
7468 * dired.el (dired-find-buffer-nocreate): Avoid error if
7469 dired-directory is nil.
7471 2003-02-04 Juanma Barranquero <lektu@terra.es>
7473 * image.el (image-type-regexps): Fix typo.
7475 * international/characters.el: Restore missing space and put a
7476 comment to protect it from being deleted as trailing whitespace.
7478 * ruler-mode.el (ruler-mode-margins-char): Likewise.
7480 2003-02-04 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
7482 * mail/rmailout.el (rmail-output): If preserving MIME-version,
7483 preserve Content-type too.
7485 2003-02-04 Kim F. Storm <storm@cua.dk>
7487 * ido.el (ido-define-mode-map): Remap viper delete char/word
7488 commands to their ido specific equivalents. Disable ESC in
7489 viper mode (to avoid exiting insert mode), since ido doesn't
7490 work in viper command mode.
7491 (ido-delete-backward-updir, ido-delete-backward-word-updir):
7492 Handle remapped viper commands.
7494 2003-02-03 Juanma Barranquero <lektu@terra.es>
7496 * calculator.el (calculator): Don't use the minibuffer even in
7497 electric mode; use a private buffer and display it in the minibuffer
7498 window using `set-window-buffer'.
7500 2003-02-03 Dave Love <fx@gnu.org>
7502 * emacs-lisp/benchmark.el: New.
7504 2003-02-02 Andreas Schwab <schwab@suse.de>
7506 * progmodes/asm-mode.el (asm-font-lock-keywords): Allow arbitrary
7507 words separated by dots. Match optional parenthesized word at
7511 (font-lock-match-c-style-declaration-item-and-skip-to-next):
7512 Don't require underscore in word before double open-paren.
7514 2003-02-02 John Paul Wallington <jpw@gnu.org>
7516 * hexl.el (hexl-mode-map): Bind C-m to `hexl-self-insert-command'.
7518 2003-02-01 Stephen Gildea <gildea@stop.mail-abuse.org>
7520 * time-stamp.el: Tweak doc strings and preamble commentary.
7521 (time-stamp): Fix parsing of "%%a" in time-stamp-pattern (change
7522 regexp subpattern 5)
7523 (time-stamp-pattern): Initialize to nil to avoid regexp work in
7525 (time-stamp-string): Call set-time-zone-rule instead of setenv
7526 (time-stamp-hhmmss): Remove (not needed after all).
7527 (time-stamp-month-dd-yyyy, time-stamp-dd/mm/yyyy)
7528 (time-stamp-mon-dd-yyyy, time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
7529 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd, time-stamp-yymmdd)
7530 (time-stamp-hh:mm:ss, time-stamp-hhmm): Make obsolete.
7532 2003-01-31 Stefan Monnier <monnier@cs.yale.edu>
7534 * cus-edit.el (custom-unlispify-menu-entry): Use with-current-buffer.
7535 (custom-save-variables): Use dolist, simplify.
7536 Output a message if a `requests' entry looks suspicious.
7537 (custom-save-faces): Use dolist, simplify.
7539 2003-01-31 Christoph Wedler <Christoph.Wedler@sap.com>
7541 * antlr-mode.el: Bug fixes, miscellaneous.
7542 (antlr-mode): Make major mode work with cc-mode-5.29 or higher,
7543 make it more rubust against changes in cc-mode's style variables
7544 by using `boundp' and function `c-init-language-vars' if defined.
7545 (antlr-c++-mode-extra): Only ask if language is not "Cpp".
7546 (antlr-read-value): With completion, ignore case.
7547 (antlr-run-tool-interactive): New function.
7548 (antlr-run-tool): Use it for `interactive' specification.
7550 * antlr-mode.el: Simplify Emacs/XEmacs compatibility.
7551 (cond-emacs-xemacs): New compile-time macro.
7552 (defunx): New compile-time macro.
7553 (ignore-errors-x): New compile-time macro.
7554 (save-buffer-state-x): New compile-time macro.
7556 (antlr-scan-sexps, antlr-simple-scan-sexps): Deletia.
7557 (antlr-scan-lists, antlr-simple-scan-sexps): Deletia.
7558 (antlr-simple-default-directory): Deletia.
7559 (antlr-default-directory): Define directly.
7560 (antlr-simple-read-shell-command): Deletia.
7561 (antlr-read-shell-command): Define directly.
7562 (antlr-simple-with-displaying-help-buffer): Deletia.
7563 (antlr-with-displaying-help-buffer): Define directly.
7564 (antlr-fast-invalidate-context-cache): Deletia.
7565 (antlr-slow-invalidate-context-cache): Deletia.
7566 (antlr-invalidate-context-cache): Define directly.
7567 (antlr-fast-syntactic-context): Deletia.
7568 (antlr-slow-syntactic-context): Deletia.
7569 (antlr-syntactic-context): Define directly.
7571 (antlr-mode-menu): Use new macros.
7572 (antlr-font-lock-additional-keywords): Ditto.
7573 (antlr-skip-sexps): Ditto.
7574 (antlr-end-of-rule): Ditto.
7575 (antlr-beginning-of-rule): Ditto.
7576 (antlr-end-of-body): Ditto.
7577 (antlr-beginning-of-body): Ditto.
7578 (antlr-hide-actions): Ditto.
7579 (antlr-option-kind): Ditto.
7581 * antlr-mode.el: In Emacs, use face attribute :weight, not :bold.
7582 (antlr-font-lock-keyword-face): Use new macros.
7583 (antlr-font-lock-syntax-face): Ditto.
7584 (antlr-font-lock-ruledef-face): Ditto.
7585 (antlr-font-lock-tokendef-face): Ditto.
7586 (antlr-font-lock-literal-face): Ditto.
7588 Changes from 2002-05-24:
7590 * antlr-mode.el: Version 2.2a.
7592 Changes from 2002-05-03:
7594 * antlr-mode.el: Make context parsing faster on Emacs, for faster
7595 syntax highlighting, indentation and imenu support.
7596 Suggested by Aaron Davies <adavies42@users.sourceforge.net>.
7597 (antlr-slow-context-cache): New variable.
7598 (antlr-slow-syntactic-context): Use cache.
7599 (antlr-slow-cache-enabling-symbol): New internal variable.
7600 (antlr-slow-cache-diff-threshold): New variable.
7601 (antlr-fast-invalidate-context-cache): Renamed from
7602 antlr-xemacs-bug-workaround.
7603 (antlr-imenu-create-index-function): Search from beginning.
7605 * antlr-mode.el: More sophisticated indentation, i.e., use the
7606 indentation engine of cc-mode for most actions.
7607 (antlr-c-common-init): Allow nil for `antlr-indent-style'.
7608 (antlr-indent-line): Use indentation engine of cc-mode more often.
7609 (antlr-indent-at-bol-alist): Only used for header actions.
7610 (antlr-disabling-cc-syntactic-symbols): New variable.
7611 (antlr-indent-item-regexp): Delete stuff for actions.
7612 (antlr-indent-at-bol-alist): With language "Java", indent
7613 "package" and "import" at column 0 in header part.
7615 * antlr-mode.el (antlr-simple-default-directory): Define.
7616 (antlr-simple-read-shell-command): Define.
7617 (antlr-simple-with-displaying-help-buffer): Define.
7618 (antlr-simple-scan-sexps, antlr-simple-scan-lists):
7619 Renamed from antlr-scan-{sexps,lists}-internal.
7621 Changes from 2002-02-28:
7623 * antlr-mode: Version 2.2 is released.
7625 * antlr-mode.el (antlr): Moved to SourceForge.net
7627 * antlr-mode.el: Minor bug fixes: insert options and indentation.
7628 (antlr-option-location): Don't use point as position where to
7629 insert options if point is in comment.
7630 (antlr-mode): Don't set style here.
7631 (antlr-c-common-init): Set style here. If boundp, set
7632 `c-current-comment-prefix' to not break indentation in comments.
7633 Hm, I should probably split `c-common-init' from cc-mode into two
7634 parts, one of which I could use for antlr-mode.el.
7636 Changes from 2002-01-31:
7638 * antlr-mode.el (antlr-font-lock-additional-keywords):
7639 Also hightlight `~' with `antlr-font-lock-syntax-face'.
7640 Suggested by Helmut Neukirchen <neukirchen@itm.mu-luebeck.de>.
7642 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
7653 * international/mule.el:
7654 * net/browse-url.el:
7658 * woman.el: Added cygwin to system-type comparisons.
7660 2003-01-31 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
7662 * mail/undigest.el (rmail-forward-separator-regex): New custom
7664 (unforward-rmail-message): Use it.
7666 2003-01-30 Dave Love <fx@gnu.org>
7668 * textmodes/ispell.el (lookup-words): Fix last change.
7670 2003-01-29 John Paul Wallington <jpw@gnu.org>
7672 * font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'.
7674 * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
7675 `deftheme'. Fix docstring offsets for `define-ibuffer-filter' and
7676 `define-ibuffer-sorter'.
7677 (lisp-imenu-generic-expression): Add `deftheme' to types.
7679 * custom.el (customize-mark-to-save, customize-mark-as-set)
7680 (custom-remove-theme): Doc fixes.
7682 2003-01-29 Didier Verna <didier@xemacs.org>
7684 * cus-edit.el (custom-save-variables): Also save non theme'd ones.
7685 * cus-edit.el (custom-save-faces): Ditto.
7687 2003-01-29 Juanma Barranquero <lektu@terra.es>
7689 * composite.el (decompose-composite-char): Fix docstring.
7691 * select.el (x-set-cut-buffer): Fix docstring. Check type with
7692 `stringp' instead of `substring'.
7694 * textmodes/reftex.el (reftex-TeX-master-file): Use really the buffer
7695 file name if no other master file is located.
7697 * progmodes/cperl-mode.el (cperl-beautify-level)
7698 (cperl-beautify-regexp): Fix use of `prefix-numeric-value'.
7699 (cperl-calculate-indent): Fix typo.
7701 2003-01-29 Taro Kawagishi <tarok@transpulse.org>
7703 * arc-mode.el (archive-lzh-summarize): Fix previous change.
7705 2003-01-29 Kim F. Storm <storm@cua.dk>
7707 * emacs-lisp/authors.el: New format of AUTHORS file; list each
7708 author name once followed by contributed and changed files.
7709 Improve selection of entries to include in list, and generate list
7710 of unrecognized entries indicating syntax errors in ChangeLog files.
7711 (authors-coding-system): New variable.
7712 (authors-many-files): Update doc string.
7713 (authors-aliases): Change format. Now one entry with multiple
7715 (authors-valid-file-names, authors-renamed-files-alist)
7716 (authors-renamed-files-regexps): New variables.
7717 (authors-canonical-file-name): New function. Validates that file
7718 exists or occurs in one of the above lists. Record unrecognized
7719 file names in global authors-invalid-file-names list.
7720 (authors-add): Change to record per-change counts.
7721 (authors-canonical-author-name): Handle new format of
7722 authors-aliases list.
7723 (authors-scan-change-log): Rename FILE arg to LOG-FILE.
7724 Change doc string to describe new entry format.
7725 Only add author entries for valid file names.
7726 (authors-print): Replace by authors-add-to-author-list.
7727 (authors-add-to-author-list): New function which reorders
7728 per-file entries and adds them to global authors-author-list.
7729 (authors): Instead of authors-print to insert in *Authors* buffer,
7730 use authors-add-to-author-list to reorder the list and then
7731 insert result in *Authors* buffer with new format.
7732 Generate *Authors Errors* compilation-mode buffer listing
7733 unrecognized ChangeLog entries.
7735 2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
7737 * term/mac-win.el: Add entries in function-key-map for
7738 [tab], [backspace], [escape].
7740 2003-01-28 Kim F. Storm <storm@cua.dk>
7742 * info.el (Info-extract-menu-node-name): Another fix for
7743 2003-01-24 change. Also stop search if : is followed by TAB.
7745 2003-01-28 John Paul Wallington <jpw@gnu.org>
7747 * ibuf-ext.el (ibuffer-yank-filter-group): Move check for empty
7748 `ibuffer-filter-group-kill-ring' out of `interactive' declaration.
7750 2003-01-28 Martin Stjernholm <bug-cc-mode@gnu.org>
7752 * progmodes/cc-vars.el, progmodes/cc-mode.el
7753 (c-require-final-newline): Made this variable an alist to
7754 specify a value for each language. The default value causes
7755 `require-final-newline' to be set to t only in languages where
7756 the standard requires a final newline.
7758 2003-01-27 Kim F. Storm <storm@cua.dk>
7760 * simple.el (kill-new): Improve doc string for yank-handler.
7761 Signal args-out-of-range error if yank-handler is specified for
7764 * subr.el (insert-for-yank): Remove COMMAND element from yank handler.
7766 2003-01-27 Dave Love <fx@gnu.org>
7768 * dired-x.el (dired-filename-at-point): Fix last change and tidy up.
7770 * thingatpt.el (thing-at-point-file-name-chars):
7771 Include non-ASCII again and re-write the filename ops.
7773 2003-01-27 David Ponce <david@dponce.com>
7775 * makefile.w32-in (update-subdirs-SH): Create lisp/subdirs.el.
7777 2003-01-27 Juanma Barranquero <lektu@terra.es>
7779 * filesets.el (filesets-file-open): Fix typo.
7781 * vcursor.el (vcursor-disable): Likewise.
7783 * eshell/esh-cmd.el (eshell-separate-commands): Likewise.
7785 * progmodes/cc-styles.el (c-make-styles-buffer-local): Likewise.
7787 * progmodes/cc-vars.el (c-offsets-alist): Likewise.
7789 * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Likewise.
7791 2003-01-26 Martin Stjernholm <bug-cc-mode@gnu.org>
7793 * progmodes/cc-vars.el, progmodes/cc-mode.el
7794 (c-require-final-newline): Add a variable to make the
7795 initialization of `require-final-newline' more configurable.
7797 2003-01-26 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
7799 * emacs-lisp/authors.el (authors-aliases): Add Jan D.
7800 Set iso-2022-7bit coding: cookie.
7802 2003-01-26 Kim F. Storm <storm@cua.dk>
7804 * info.el (Info-extract-menu-node-name): Fix 2003-01-24 change.
7805 Don't search for next colon if current colon is followed by
7806 one of ".", ",", ";", or ")".
7807 (info-insert-file-contents) [!MSDOS]: Avoid byte-compiler warning.
7808 (Info-find-node) [!MSDOS]: Avoid byte-compiler warning.
7810 2003-01-26 Richard M. Stallman <rms@gnu.org>
7812 * thingatpt.el (thing-at-point-file-name-chars): Undo previous change.
7814 2003-01-25 Bill Wohler <wohler@newt.com>
7816 * mh-e: Created directory. ChangeLog will appear in a week when we
7817 release version 7.2.
7819 * mail/mh-alias.el, mail/mh-comp.el, mail/mh-customize.el, mail/mh-e.el,
7820 mail/mh-funcs.el, mail/mh-identity.el, mail/mh-index.el,
7821 mail/mh-loaddefs.el, mail/mh-mime.el, mail/mh-pick.el,
7822 mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el,
7823 mail/mh-xemacs-compat.el: Moved to mh-e directory.
7824 Note that reply2.pbm and reply2.xpm, which were created by the
7825 MH-E package, were left in mail since they can probably be used by
7826 other mail packages.
7828 * makefile.w32-in (WINS): Add mh-e.
7830 * makefile.nt (WINS): Add mh-e.
7832 2003-01-25 Richard M. Stallman <rms@gnu.org>
7834 * emacs-lisp/bytecomp.el (byte-compile-file-form-custom-declare-variable):
7835 Compile any lambda-expressions among the args.
7837 * view.el (view-mode): Doc fix.
7839 * ido.el: Many doc fixes.
7840 (ido-complete): Fix message.
7842 2003-01-25 Taro Kawagishi <tarok@transpulse.org>
7844 * arc-mode.el (archive-unixdate): Correct the date field string.
7845 (archive-lzh-summarize): Extend it to allow the LZH level 2 header
7846 type (which is most prevalent now), in addition to the already
7847 supported level 0 and 1 header types.
7849 2003-01-25 Markus Rost <rost@math.ohio-state.edu>
7851 * international/mule-cmds.el (set-language-info)
7852 (current-language-environment): Simplify setting the type of
7853 current-language-environment.
7855 2003-01-25 Kim F. Storm <storm@cua.dk>
7857 * emulation/cua-base.el (cua--init-keymaps): Move C-S-x and C-S-c
7858 bindings from cua--cua-keys-keymap to cua--region-keymap, as they are
7859 only needed when the region is active. This also makes the output
7860 from C-h b look normal when cua-mode is enabled (no C-S-x/c bindings).
7862 2003-01-25 Michael Kifer <kifer@cs.stonybrook.edu>
7864 * ediff.el (ediff-revision): Better defaults.
7866 * ediff-vers.el (ediff-vc-latest-version): New function.
7867 (ediff-vc-internal): Use latest version instead of working version.
7869 2003-01-24 Thien-Thi Nguyen <ttn@gnu.org>
7871 * info.el (Info-extract-menu-node-name): When looking for end of menu
7872 item, don't stop at first ":"; instead, continue until trailing
7873 context is either a space or newline.
7874 (Info-complete-menu-item): Var `pattern': allow ":" in menu item.
7875 (Info-menu): Likewise, for regexp used in backwards search.
7876 (Info-try-follow-nearest-node): Remove case added in previous edit.
7877 Change regexp in the following case to allow ":" in menu item.
7878 (Info-fontify-node): Fix bug: Handle `next-property-change' returning
7879 point-max as "hasn't already been done".
7881 2003-01-24 Thien-Thi Nguyen <ttn@gnu.org>
7883 * info.el (Info-try-follow-nearest-node): Add case: Handle menu item
7884 terminated by ": " as an index entry.
7886 2003-01-24 Juanma Barranquero <lektu@terra.es>
7888 * isearch.el (isearch-forward): Fix typo.
7890 2003-01-24 Kenichi Handa <handa@m17n.org>
7892 * international/mule.el (decode-coding-inserted-region):
7893 Rename from decode-coding-region-as-inserted-from-file to make it fit
7894 well in the Lisp manual.
7896 * jka-compr.el (jka-compr-insert-file-contents):
7897 Call docode-coding-inserted-region.
7899 2003-01-24 John Paul Wallington <jpw@gnu.org>
7901 * ibuffer.el (ibuffer-window-list): Remove.
7902 (ibuffer-confirm-operation-on): Use `window-list' instead.
7903 (ibuffer-load-hook): New customizable variable.
7905 (ibuffer-customize): New command.
7906 (ibuffer-mode-map): Bind it.
7907 (ibuffer-mode-map): Add menu seperator in View>Sort menu.
7908 (ibuffer-mode): Tidy.
7909 (ibuffer-fontification-alist, ibuffer-always-show-last-buffer)
7910 (ibuffer-default-directory, ibuffer-default-sorting-mode)
7911 (ibuffer-maybe-show-predicates, ibuffer-hook, ibuffer-mode-hook)
7912 (ibuffer-map-lines): Doc fixes.
7914 * ibuf-ext.el (ibuffer-copy-filename-as-kill): C-u means relative
7915 filenames. Use `kill-new'.
7917 2003-01-23 Dave Love <fx@gnu.org>
7919 * abbrev.el (write-abbrev-file): Simplify, and put a coding cookie
7922 2003-01-23 Masatake YAMATO <jet@gyve.org>
7924 * progmodes/asm-mode.el (asm-mode): Add syntax table entries for
7927 2003-01-23 Kenichi Handa <handa@m17n.org>
7929 * files.el (insert-directory): Read the output of "ls" by
7930 no-conversion, and decode it later while preserving
7931 `dired-filename' property.
7933 2003-01-23 Markus Rost <rost@math.ohio-state.edu>
7935 * descr-text.el (describe-text-mode-hook): Add a group.
7937 2003-01-23 John Paul Wallington <jpw@shootybangbang.com>
7939 * term/mac-win.el (interprogram-paste-function): Handle empty
7942 2003-01-22 Aubrey Jaffer <agj@alum.mit.edu> (tiny change)
7944 * info.el (Info-index): Change pattern so that index entries with
7945 colons can be read properly; also, require at least one space
7946 after the colons, which makeinfo puts in.
7948 2003-01-22 Andreas Schwab <schwab@suse.de>
7950 * jka-compr.el (jka-compr-insert-file-contents): Fix typo in last
7953 2003-01-22 Markus Rost <rost@math.ohio-state.edu>
7955 * Makefile.in (bootstrap-after): New target.
7956 (bootstrap): Move finder-data, custom-deps to bootstrap-after.
7958 2003-01-22 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
7960 * info.el (Info-index-next): Use "(`,' tries to find next)" for
7961 more matches for consistency with standalone info browser.
7963 2003-01-22 Kenichi Handa <handa@m17n.org>
7965 * international/mule.el
7966 (decode-coding-region-as-inserted-from-file): New function.
7968 * jka-compr.el (jka-compr-insert-file-contents): Read a process
7969 output without decoding. Decode the result by
7970 decode-coding-region-as-inserted-from-file.
7972 2003-01-22 Kim F. Storm <storm@cua.dk>
7974 * ido.el (ido-make-file-list, ido-make-dir-list): Don't move
7975 visited directories to end of list; it's the wrong thing to do if
7976 we want to find a file or directory in such directories.
7978 * simple.el: Doc fixes.
7979 * subr.el: Doc fixes.
7981 2003-01-20 Nick Roberts <nick@nick.uklinux.net>
7983 * gud.el (gud-display-line): If the current file is newer than its
7984 buffer, offer to reread the file.
7985 (gud-keep-buffer): New buffer local variable. Ensures offer to
7986 reread file is made just once.
7988 2003-01-20 Stefan Monnier <monnier@cs.yale.edu>
7990 * emacs-lisp/regexp-opt.el (regexp-opt-group): Undo last change.
7991 Fix the docstring instead.
7993 2003-01-20 Glenn Morris <gmorris@ast.cam.ac.uk>
7995 * calendar/calendar.el (calendar-only-one-frame-setup): Autoload it.
7997 2003-01-20 Richard M. Stallman <rms@gnu.org>
7999 * simple.el (completion-setup-function): Set default-directory
8000 in the minibuffer, so it'll be copied into the completion list buffer.
8002 * emacs-lisp/regexp-opt.el (regexp-opt-group): Compute HALF2 properly.
8004 * loadup.el (load-path): Rename `path' local var.
8006 * progmodes/octave-mod.el (octave-mode-map): Change C-c i bindings
8007 to C-c C-i. Duplicate its bindings with last char a ctl char.
8008 Also change C-c f to C-c C-f.
8010 2003-01-20 Markus Rost <rost@math.ohio-state.edu>
8012 * ls-lisp.el (ls-lisp-use-insert-directory-program): Make default
8013 value system dependent.
8014 (ls-lisp-support-shell-wildcards): Add autoload cookie.
8016 2003-01-19 Kim F. Storm <storm@cua.dk>
8018 * msb.el: Use `dir' instead of `path' everywhere.
8020 2003-01-18 Kim F. Storm <storm@cua.dk>
8022 * simple.el (kill-new, kill-append, kill-region):
8023 New optional parameter yank-handler.
8024 (yank-excluded-properties): Add yank-handler to list.
8025 (yank-undo-function): New variable.
8026 (yank): Use it to undo previous yank or yank-pop command.
8027 Allow insert-for-yank to override this-command.
8029 * subr.el (insert-for-yank): Arg list changed; now only accepts one
8030 string rather than any number of strings; no callers needed change.
8031 Use yank-handler text property on the arg string.
8032 Set yank-undo-function variable appropriately for yank-pop.
8034 2003-01-18 Stefan Monnier <monnier@cs.yale.edu>
8036 * textmodes/fill.el (fill-comment-paragraph): Fix simplistic
8037 regexp-concatenation.
8039 * add-log.el (add-change-log-entry): Don't leave space at eol.
8040 (add-log-current-defun): Perl functions names can't have (or {.
8042 * progmodes/sh-script.el (sh-indent-line): Use indent-line-to.
8043 (sh-non-closing-paren): New const.
8044 (sh-case, sh-while-getopts): Use it to make props non-sticky.
8045 (sh-add-completer): Use test-completion.
8047 2003-01-18 Vasily Korytov <deskpot@myrealbox.com> (tiny change)
8049 * progmodes/cperl-mode.el: Don't make faces depend on window-system.
8051 2003-01-18 Markus Rost <rost@math.ohio-state.edu>
8053 * cus-edit.el (customize-changed-options): Undo last doc change.
8055 2003-01-17 Stefan Monnier <monnier@cs.yale.edu>
8057 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
8058 Don't treat \n specially in sub-skeletons.
8060 2003-01-17 Dave Love <fx@gnu.org>
8062 * international/ucs-tables.el: Redo 8859-6 change in the right place.
8064 2003-01-17 Kenichi Handa <handa@m17n.org>
8066 * international/fontset.el: Don't setup the default fontset and
8067 font-encoding-alist at the top level.
8068 (setup-default-fontset): New function.
8069 (create-fontset-from-fontset-spec): Delete autoload cookie.
8071 * term/x-win.el: Require fontset unconditionally again.
8072 Call setup-default-fontset at the top level.
8074 * term/w32-win.el: Call setup-default-fontset.
8076 * term/mac-win.el: Require fontset and call setup-default-fontset.
8078 2003-01-16 Stefan Monnier <monnier@cs.yale.edu>
8080 * textmodes/fill.el (fill-region-as-paragraph): Only erase `hard'
8081 property until end-of-paragraph.
8083 2003-01-16 Kenichi Handa <handa@m17n.org>
8085 * international/ucs-tables.el: Undo the last change.
8087 2003-01-15 Dave Love <fx@gnu.org>
8089 * thingatpt.el (thing-at-point-file-name-chars): Include non-ASCII
8090 and use documented treatment of -.
8092 * dired-x.el (dired-filename-at-point): Fix filename-chars.
8094 * international/ucs-tables.el: Set up tables for 8859-6.
8096 * server.el (server-window): Customize.
8098 (server-unload-hook): Call server-start.
8100 2003-01-15 John Wiegley <johnw@gnu.org>
8102 * eshell/em-hist.el (eshell-save-history-on-exit):
8103 Rename `eshell-ask-to-save-history' to `eshell-save-history-on-exit',
8104 because the former name is somewhat unrelated to the variables'
8107 2003-01-15 Deepak Goel <deego@gnufans.org>
8109 * calc/README: Add new maintainer.
8113 * calc/calc.el (calc-bug-address): Change address to deego@gnufans.org.
8115 2003-01-15 Andrew Innes <andrewi@gnu.org>
8117 * makefile.w32-in (loaddefs.el): Invoke make to build stub file
8118 using appropriate rule for build environment.
8119 (loaddefs.el-SH, loaddefs.el-CMD): New targets. Include small set
8120 of autoloads and defvars, sufficient to dump bootstrap emacs.
8121 (update-subdirs-SH): Use hard-coded list of top-level lisp
8122 subdirs, because find program on Windows is not compatible with
8124 (compile-CMD, compile-SH): Use `batch-byte-compile-if-not-done'.
8125 Explicitly load loaddefs.el so that bootstrap emacs can compile
8127 (bootstrap-clean): Add dependency on loaddefs.el, to ensure
8128 minimal stub sufficient for dumping bootstrap emacs is available.
8130 * loadup.el: Include lisp/textmodes in load-path for bootstrap
8131 emacs, to resolve ispell menu reference.
8133 2003-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> (tiny change)
8135 * international/mule.el (optimize-char-coding-system-table):
8138 * term/mac-win.el: Setup the fontset "fontset-mac" correctly.
8140 2003-01-14 Stefan Monnier <monnier@cs.yale.edu>
8142 * pcvs-info.el (cvs-fileinfo-from-entries): Deal with Solaris'
8143 occasional use of "05" rather than " 5" for day-of-month.
8145 * log-view.el (log-view-message-re): The rev might be locked.
8147 2003-01-14 Nick Roberts <nick@nick.uklinux.net>
8149 * gdb-ui.el: Improve commentary.
8150 (gdb-window-height, gdb-window-width, gdb-display-number-end):
8151 Customize the dimensions of frames for displayed expressions.
8152 (gdb-error-begin): Comment out because it is not used because of
8153 bug/quirk in annotations.
8154 (gdb-reset): Use with-current-buffer.
8156 2003-01-14 Kim F. Storm <storm@cua.dk>
8158 * ido.el (ido-read-internal, ido-file-internal)
8159 (ido-copy-current-file-name, ido-wide-find-dirs-or-files):
8160 Don't use `path' as name of local variables holding a file name.
8162 * arc-mode.el (archive-arc-rename-entry): Fix error message.
8163 (archive-lzh-summarize): Rename local var `path' to `dir'.
8164 (archive-unique-fname) [!MSDOS]: Avoid byte-compiler warning.
8166 * dired.el: Doc fixes.
8167 * dired-aux.el: Rename `whole-path' to `whole-name' throughout.
8168 (dired-mark-read-regexp): Use "Abs." prefix instead of "Path".
8169 * dired-x.el: Doc fixes.
8171 * fast-lock.el (fast-lock-cache-name): Doc fix.
8173 * net/browse-url.el (browse-url-filename-alist): Doc fix.
8175 2003-01-14 John Paul Wallington <jpw@shootybangbang.com>
8177 * apropos.el (apropos): Restore autoload cookie. Fix typo in
8178 "error retrieving function documentation" output.
8180 2003-01-14 Kim F. Storm <storm@cua.dk>
8182 * subr.el (process-put, process-get): New functions.
8184 * simple.el (clone-process): Copy process' plist to new process.
8186 2003-01-13 Markus Rost <rost@math.ohio-state.edu>
8188 * cus-dep.el (custom-make-dependencies): Don't set standard-value
8189 and version numbers for variables. Handle faces.
8191 * cus-edit.el (customize-changed-options): Doc addition. Load the
8192 version deps earlier. Use other tests for groups and variables.
8195 2003-01-14 Kim F. Storm <storm@cua.dk>
8197 * ido.el: Doc fixes.
8198 (ido-max-file-prompt-width): Rename from ido-max-prompt-path.
8199 (ido-rewrite-file-prompt-functions): Rename from
8200 ido-make-file-prompt-hook. Directory name is now in dynamic
8201 variable `dirname' (instead of `path').
8202 (ido-rewrite-file-prompt-rules): Rename from
8203 ido-rewrite-prompt-path-rules.
8204 (ido-make-prompt): Directory name now in `dirname' var.
8205 (ido-complete): Fix error message.
8207 2003-01-13 John Paul Wallington <jpw@shootybangbang.com>
8209 * server.el (server-process-filter): Use `minibufferp' to test
8210 whether we are inside a minibuffer.
8211 (server-process, server-kill-new-buffers): Doc fixes.
8213 2003-01-13 Dave Love <fx@gnu.org>
8215 * international/utf-16.el (mule-utf-16-be, mule-utf-16-le):
8216 Remove pre-write-conversion.
8218 2003-01-13 Kim F. Storm <storm@cua.dk>
8220 * hexl.el (hexl-mode-map): Don't quote remapped command names.
8222 2003-01-13 David Ponce <david@dponce.com>
8224 * ruler-mode.el (ruler-mode): Cleanup buffer local variable
8225 `header-line-format' if it didn't exist when `ruler-mode' was enabled.
8227 2003-01-13 Masatake YAMATO <jet@gyve.org>
8229 * ruler-mode.el (ruler-mode-comment-column-char)
8230 (ruler-mode-goal-column-char, ruler-mode-set-goal-column-ding-flag)
8231 (ruler-mode-mouse-current-grab-object): New variables.
8232 (ruler-mode-comment-column-face, ruler-mode-goal-column-face):
8234 (ruler-mode-mouse-set-fill-column): Removed.
8235 (ruler-mode-mouse-grab-any-column)
8236 (ruler-mode-mouse-drag-any-column-iteration)
8237 (ruler-mode-mouse-drag-any-column): New functions.
8238 (ruler-mode-map): [header-line down-mouse-2] Bound to
8239 `ruler-mode-mouse-grab-any-column' instead of
8240 `ruler-mode-mouse-set-fill-column'.
8241 (ruler-mode-ruler-help-echo): Update its value.
8242 (ruler-mode-ruler-help-echo-when-goal-column): New help string used
8243 when goal-column is already set.
8244 (ruler-mode-ruler-help-echo-tab): Rename to...
8245 (ruler-mode-ruler-help-echo-when-tab-stops): New.
8246 (ruler-mode-fill-column-help-echo, ruler-mode-comment-column-help-echo)
8247 (ruler-mode-goal-column-help-echo): New help strings.
8248 (ruler-mode-ruler): Use `ruler-mode-ruler-help-echo-when-goal-column'
8249 instead of `ruler-mode-ruler-help-echo' if `goal-column' is set.
8250 Show `comment-column' and `goal-column'. Echo the different help
8251 string for each *-column characters on the ruler.
8253 2003-01-13 Richard M. Stallman <rms@gnu.org>
8255 * apropos.el (apropos-documentation-property): New function.
8256 (apropos): Use apropos-documentation-property.
8258 * files.el (mode-line-process): Mark as risky.
8260 * help.el (where-is): Catch errors in indirect-function.
8262 * server.el (server-process-filter): Comment out -eval.
8263 Don't switch buffers if inside isearch or minibuffer.
8265 * progmodes/compile.el (compilation-revert-buffer):
8266 If buffer has a file, revert it in the normal way.
8268 * term/x-win.el: Require fontset conditionally again.
8270 2003-01-13 Kim F. Storm <storm@cua.dk>
8272 * ido.el (ido-enable-tramp-completion): New defcustom.
8273 (ido-enter-single-matching-directory): Change default to 'slash.
8274 (ido-is-tramp-root): New defun.
8275 (ido-is-root-directory, ido-is-ftp-directory, ido-is-slow-ftp-host)
8276 (ido-may-cache-directory, ido-final-slash, ido-read-internal)
8277 (ido-complete, ido-make-file-list1, ido-make-dir-list1):
8278 Handle tramp completion.
8279 (ido-file-name-all-completions1): New defun for tramp completion.
8280 (ido-file-name-all-completions): Use it.
8281 (ido-set-matches1): Relax matching of text with trailing slash.
8282 (ido-exhibit): Handle tramp completion.
8283 Simplified code using nested cond forms using new `refresh' var.
8284 Fixed handling of /~user/ paths.
8286 2003-01-12 Andreas Schwab <schwab@suse.de>
8288 * arc-mode.el (archive-mode-map): Use command remapping instead of
8289 substitute-key-definition.
8290 * emerge.el (emerge-setup-fixed-keymaps): Likewise.
8291 * msb.el (msb-mode-map): Likewise.
8292 * forms.el (forms--change-commands): Likewise.
8293 * hexl.el (hexl-mode-map): Likewise.
8294 * mail/mailabbrev.el (Commentary): Likewise.
8295 * play/decipher.el (decipher-mode-map): Likewise.
8296 * play/gomoku.el (gomoku-mode-map): Likewise.
8297 * play/landmark.el (lm-mode-map): Likewise.
8298 * play/solitaire.el (solitaire-mode-map): Likewise.
8299 * progmodes/sh-script.el (sh-mode-map): Likewise.
8300 * textmodes/picture.el (picture-substitute): Likewise.
8302 * ielm.el (inferior-emacs-lisp-mode):
8303 Bind comint-dynamic-complete-functions locally.
8305 * buff-menu.el (Buffer-menu-select): Fix for effect of header line.
8307 2003-01-11 Andreas Schwab <schwab@suse.de>
8309 * textmodes/sgml-mode.el (sgml-font-lock-keywords-2): Add flag to
8310 merge with existing fontification.
8312 2003-01-11 Nick Roberts <nick@nick.uklinux.net>
8314 * gud.el (gud-kill-buffer-hook): Save gud-minor-mode type.
8315 (gud-reset): New function. Reset environment at end of debugging.
8316 (gud-sentinel): Call gud-reset or gdb-reset.
8317 (gud-menu-map, gud-tool-bar-map, gdb): Change gud-goto to gud-until.
8319 * gdb-ui.el (gud-display): Use GDB command ptype instead of whatis
8320 to find out if variable shuld be dereferenced.
8321 (gud-display1): Exit if there is `No symbol'.
8322 (gdb-expressions-mode-map): Correction to key-binding.
8323 (gdb-reset): New function. Reset environment at end of debugging.
8326 2003-01-10 Dave Love <fx@gnu.org>
8328 * international/code-pages.el (cp-make-coding-system): Fix last change.
8330 2003-01-10 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
8332 * dired.el (dired-garbage-files-regexp): Use \\' instead of $ and
8333 use regexp-opt for readability.
8335 2003-01-10 Mark A. Hershberger <mah@everybody.org>
8337 * xml.el (xml-parse-tag, xml-parse-attlist, xml-skip-dtd)
8338 (xml-parse-dtd, xml-parse-elem-type): Be more flexible in recognizing
8341 2003-01-10 Luc Teirlinck <teirllm@mail.auburn.edu>
8343 * progmodes/sh-script.el (sh-set-shell): Make sh-shell-file the default
8346 2003-01-09 John Wiegley <johnw@gnu.org>
8348 * pcomplete.el (pcomplete-termination-string): Add a variable
8349 for modifying the string which is inserted after a completion or
8350 expansion using pcomplete.
8352 2003-01-09 Karl Berry <karl@gnu.org>
8354 * sort.el (sort-regexp-fields): Pass noerror to re-search-forward,
8355 so that we don't fail if no records match record-regexp.
8357 2003-01-09 Markus Rost <rost@math.ohio-state.edu>
8359 * cus-edit.el (customize-group, customize-group-other-window):
8360 Remove unnecessary calls to custom-load-symbol.
8361 (custom-group-value-create):
8362 Load widget deps if state is not hidden. If widget deps are
8363 loaded, load them in advance.
8364 (custom-menu-create): If widget deps are loaded, load them earlier.
8366 2003-01-09 John Paul Wallington <jpw@shootybangbang.com>
8368 * language/ethio-util.el (ethio-gemination)
8369 (exit-ethiopic-environment): Doc fixes.
8371 * language/viet-util.el (viet-encode-viqr-region)
8372 (viet-decode-viqr-region, viet-encode-viqr-buffer)
8373 (viet-decode-viqr-buffer): Doc fixes.
8375 2003-01-09 ShengHuo ZHU <zsh@cs.rochester.edu>
8377 * paths.el: Remove gnus-startup-file.
8379 2003-01-08 Bill Wohler <wohler@newt.com>
8381 * mail/mh-alias.el, mail/mh-customize.el, mail/mh-identity.el,
8382 mail/mh-loaddefs.el, toolbar/alias.pbm, toolbar/alias.xpm: Added.
8384 * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
8385 mail/mh-index.el, mail/mh-mime.el, mail/mh-pick.el,
8386 mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el,
8387 mail/mh-xemacs-compat.el: Upgraded to MH-E version 7.1.
8389 2003-01-08 Kim F. Storm <storm@cua.dk>
8391 * mail/undigest.el (unforward-rmail-message): Don't use global
8394 2003-01-08 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
8396 * mail/undigest.el (unforward-rmail-message): Simplified.
8397 No functional change.
8399 2003-01-07 Markus Rost <rost@math.ohio-state.edu>
8401 * custom.el (custom-autoload, custom-variable-p): New functions.
8403 * emacs-lisp/autoload.el (make-autoload):
8404 Generate custom-autoload for autoloaded defcustoms.
8406 * help-fns.el (describe-variable): Use custom-variable-p.
8408 * simple.el (set-variable): Load deps of custom variables without type.
8410 * cus-edit.el (custom-variable-prompt): Doc change.
8411 Use custom-variable-p.
8412 (customize-option): Remove search in loaddefs.el.
8413 (customize-apropos): Use custom-variable-p.
8414 (custom-save-variables): Use custom-variable-p to detect
8415 non-rogue variables.
8417 2003-01-07 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
8419 * mail/undigest.el (unforward-rmail-message): Skip all newlines
8420 after the initial separator.
8421 (unforward-rmail-message): Forwarded-From: and Forwarded-Date:
8422 instead of Forwarded-from: and Forwarded-date:.
8424 2003-01-07 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
8426 * dired.el (dired-garbage-files-regexp): Add `.aux$'. These are
8429 2003-01-07 Andre Spiegel <spiegel@gnu.org>
8431 * vc-rcs.el (vc-rcs-checkout): Fix the check whether we are on a
8434 2003-01-06 Dave Love <fx@gnu.org>
8436 * textmodes/ispell.el (lookup-words): Cope with null lookup-dict.
8438 * language/chinese.el ("Chinese-EUC-TW"): New.
8440 2003-01-06 John Paul Wallington <jpw@shootybangbang.com>
8442 * mail/rmail.el (rmail-mmdf-delim1, rmail-mmdf-delim2): Doc fixes.
8444 2003-01-05 Richard M. Stallman <rms@gnu.org>
8446 * obsolete/uncompress.el: Display message that this pkg is obsolete.
8448 * isearch.el (isearch-repeat): Error if try to repeat search and
8449 there was no previous search.
8451 * dired.el (dired-recursive-deletes): Fix custom type.
8453 * dabbrev.el (dabbrev--substitute-expansion):
8454 Convert all whitespace to single spaces,
8455 except when it's carried over from the existing text.
8457 * simple.el (split-line): Clean up implementation.
8459 * mail/rmail.el (rmail-font-lock-keywords): Discard code to match
8461 (rmail-variables): Specify case-insensitive matching for font-lock.
8463 2003-01-05 Alexander Pohoyda <alexander.pohoyda@gmx.net> (tiny change)
8465 * mail/sendmail.el (mail-font-lock-keywords):
8466 * mail/rmail.el (rmail-font-lock-keywords): Match multiline
8467 In-Reply-To and X-*.
8469 2003-01-05 Mark A. Hershberger <mah@everybody.org>
8471 * xml.el (xml-substitute-special): Check for & last.
8473 2003-01-05 Dave Love <fx@gnu.org>
8475 * buff-menu.el (Buffer-menu-execute): Fix for effect of header line.
8477 2003-01-05 Dave Love <fx@gnu.org>
8479 * international/mule-diag.el (non-iso-charset-alist):
8480 Add vietnamese-tcvn.
8482 * international/mule-cmds.el (locale-language-names):
8483 Use Croatian, Swedish.
8485 2003-01-05 Andreas Schwab <schwab@suse.de>
8487 * buff-menu.el (Buffer-menu-buffer+size): Don't clobber buffer name.
8489 2003-01-05 Dave Love <fx@gnu.org>
8491 * language/european.el ("Latin-6", "Croatian"): New.
8492 ("Latin-7"): Fix nonascii-translation. Add input method.
8493 ("Lithuanian", "Latvian"): Add nonascii-translation.
8494 ("German", "Spanish", "Dutch", "Welsh", "Swedish"):
8495 Fix nonascii-translation.
8497 * language/georgian.el ("Georgian"): Fix nonascii-translation.
8499 * international/mule-cmds.el (set-locale-environment):
8500 Ignore empty values of environment variables.
8502 * emacs-lisp/byte-opt.el (byte-optimize-nth)
8503 (byte-optimize-nthcdr): Fix for case of wrong-length forms.
8505 2003-01-04 Nick Roberts <nick@nick.uklinux.net>
8507 * gdb-ui.el: Acknowledge Tom Lord as author of gdba.el.
8508 Use let construction to bind buffer-read-only to nil.
8509 (gdba): 'set height 0' in GDB.
8510 (gdb-display-end, gdb-frame-handler): Corrections to forming
8511 full expression name for header-line in display frame.
8512 (gdb-info-breakpoints-custom): Highlight breakpoints since
8513 they may be clicked on with mouse-2.
8514 (gdb-quit): Delete frames of displayed expressions when quitting.
8515 (gdb-delete-frames): New function.
8516 (gdb-source-info): Don't create stack buffer automatically.
8518 2003-01-04 Thien-Thi Nguyen <ttn@gnu.org>
8520 * xml.el (xml-substitute-special): Move "&" -> "&" last.
8522 2003-01-04 Kim F. Storm <storm@cua.dk>
8524 * simple.el (split-line): If present, copy fill-prefix from
8525 current line to new line. Don't copy if prefix arg.
8526 From Lisp, arg may be an alternative prefix string to copy.
8527 Inspired by Ehud Karni <ehud@unix.mvs.co.il>.
8529 * mail/sendmail.el (mail-split-line): New function.
8530 (mail-mode-map): Remap split-line to mail-split-line.
8532 2003-01-03 Dave Love <fx@gnu.org>
8534 * emacs-lisp/find-func.el (find-variable-noselect): Make it work
8535 with new load-history format.
8537 * international/mule-cmds.el (sort-coding-systems):
8538 Adjust priority of utf-16 and x-ctext.
8540 * international/utf-8.el (utf-translate-cjk):
8541 Call optimize-char-coding-system-table.
8543 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
8544 Call optimize-char-coding-system-table.
8546 * international/mule.el (register-char-codings): Don't call
8547 optimize-char-coding-system-table here.
8548 (keyboard-coding-system): Doc fix. Update :version.
8550 * textmodes/nroff-mode.el (nroff-mode-hook): Customize.
8551 (nroff-imenu-expression): New.
8552 (nroff-mode): Use it.
8554 * autoinsert.el (auto-insert-alist): Add man page skeleton.
8556 2003-01-03 Andre Spiegel <spiegel@gnu.org>
8558 * vc-rcs.el (vc-rcs-revert): Unlock only if the user does have
8561 2003-01-03 Kim F. Storm <storm@cua.dk>
8563 * emulation/cua-base.el (cua--pre-command-handler):
8564 Corrected handling of delete-selection properties.
8566 2003-01-03 John Paul Wallington <jpw@shootybangbang.com>
8568 * emacs-lisp/eldoc.el (eldoc-get-var-docstring): Only return a
8569 documentation string when `sym' is non-nil.
8571 2003-01-02 Steven Tamm <steventamm@mac.com>
8573 * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode):
8574 Have scroll bars correctly default to being on the right for Mac
8575 Carbon port by testing "mac-carbon" feature, not window-system.
8577 2003-01-02 Markus Rost <rost@math.ohio-state.edu>
8579 * cus-edit.el (customize-group, customize-group-other-window):
8580 Call custom-load-symbol unconditionally.
8581 (customize-face, customize-face-other-window): Fix format arg.
8583 2003-01-02 John Paul Wallington <jpw@shootybangbang.com>
8585 * menu-bar.el (menu-bar-left-scroll-bar): Set `scroll-bar-mode'
8588 2003-01-01 Richard M. Stallman <rms@gnu.org>
8590 * mail/rmail.el (rmail-reply): Don't call mail-strip-quoted-names.
8592 * files.el (backup-buffer): Cope if file-modes returns nil.
8594 2002-12-30 Steven Tamm <steventamm@mac.com>
8596 * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode):
8597 Have scroll bars correctly default to being on the right for Mac
8600 2002-12-29 Nick Roberts <nick@nick.uklinux.net>
8602 * gdb-ui.el (gdb-delete-display): Rename (gdb-delete-expression).
8603 (gdb-goto-bp-this-line): Rename (gdb-goto-breakpoint).
8604 (gdb-toggle-bp-this-line): Rename (gdb-toggle-breakpoint).
8605 (gdb-delete-bp-this-line): Rename (gdb-delete-breakpoint).
8606 (gdb-toggle-disp-this-line): Rename (gdb-toggle-display).
8607 (gdb-delete-disp-this-line): Rename (gdb-delete-display).
8608 (gud-gdba-marker-filter): Remove unnecessary save-match-data.
8609 (gdb-mouse-goto-breakpoint, gdb-frames-select): New functions.
8610 (gdb-frames-mouse-select): Simplify.
8611 Make keybindings (gdb-goto-breakpoint, gdb-frames-select, etc)
8612 consistent with other modes in emacs.
8613 (gdb-display-source-buffer): Return window of source buffer
8614 for (gud-display-line).
8616 2002-12-29 Markus Rost <rost@math.ohio-state.edu>
8618 * button.el (defface button): Add group.
8620 * cus-edit.el (customize-browse): Call `widget-setup'.
8622 2002-12-29 Andreas Schwab <schwab@suse.de>
8624 * Makefile.in: Generate cus-load.el and finder-inf.el in the
8625 source directory. Change dependencies on lisp files to explicitly
8627 (compile-calc): Fix command substitution.
8628 * cus-dep.el (generated-custom-dependencies-file): New variable.
8629 (custom-make-dependencies): Use it instead of hardcoding cus-load.el.
8630 * finder.el (generated-finder-keywords-file): New variable.
8631 (finder-compile-keywords): Use it instead of hardcoding finder-inf.el.
8633 2002-12-28 Richard M. Stallman <rms@gnu.org>
8635 * info-look.el (info-lookup): Fix error message typo.
8637 * comint.el (comint-mode): Locally set scroll-conservatively.
8638 (comint-postoutput-scroll-to-bottom): comint-scroll-show-maximum-output
8639 is active only when point is at end.
8641 * dired.el (dired-goto-file): Handle \ and ^M quoted by backslash.
8644 * files.el (find-file-noselect-1): Kill local value of `cursor-type'.
8646 * simple.el (repeat-complex-command): Signal real error on failure.
8648 2002-12-28 Andreas Schwab <schwab@suse.de>
8650 * progmodes/make-mode.el (makefile-font-lock-keywords):
8651 Highlight automatic variable references enclosed in parens and
8652 optionally suffixed by F or D.
8654 2002-12-27 Miles Bader <miles@gnu.org>
8656 * info.el (Info-complete-menu-item): Make `Info-complete-cache' a
8657 buffer-local variable.
8659 2002-12-26 Markus Rost <rost@math.ohio-state.edu>
8661 * cus-edit.el (customize-group-other-window): Use pop-to-buffer in
8662 the same way as `custom-buffer-create-other-window'.
8663 (customize-variable-other-window, customize-option-other-window):
8664 Definitions moved up.
8666 2002-12-26 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
8668 * net/tramp*.el: Sync with upstream version 2.0.28. Bugfixes.
8669 * net/tramp-ftp.el: Glue code with Ange-FTP, broken out of
8670 tramp.el. From Michael Albinus.
8671 * net/tramp-smb.el: New file for using smbclient to access
8672 Windows shares with Tramp. From Michael Albinus.
8674 2002-12-26 Andreas Schwab <schwab@suse.de>
8676 * international/mule-cmds.el (select-safe-coding-system): Fix typo.
8678 2002-12-26 Andre Spiegel <spiegel@gnu.org>
8680 * vc.el (vc-next-action-on-file): Use t argument to vc-checkout in
8681 order to get the latest version on the current branch.
8682 Update documentation of vc-BACKEND-checkout to explain this.
8684 * vc-rcs.el (vc-rcs-checkout): Handle t argument for REV.
8685 (vc-rcs-checkin): By default, specify the current workfile
8686 branch as the check-in revision.
8688 * vc-cvs.el (vc-cvs-checkout): Handle t argument for REV.
8690 * vc-sccs.el (vc-sccs-checkout): Likewise.
8692 2002-12-26 Nick Roberts <nick@nick.uklinux.net>
8694 * gdb-ui.el (gdb-info-display-custom): Ensure that frames/buffers
8695 of displayed expressions are deleted when the displayed expressions
8697 (gdb-delete-disp-this-line, gdb-delete-display): Frame/buffer
8698 deletion is handled by gdb-info-display-custom now.
8699 (gdb-source-info): Undo earlier change (do create display buffer
8702 2002-12-25 Markus Rost <rost@math.ohio-state.edu>
8704 * cus-edit.el (custom-save-faces): Fix typo.
8706 2002-12-23 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
8708 * mail/undigest.el (unforward-rmail-message): Do not assume that
8709 the forwarded message's Date: header comes after From:. Use a
8710 Forwarded-from: rather than a Forwarded-by: header. Add a
8711 Forwarded-date: header.
8713 2002-12-23 Nick Roberts <nick@nick.uklinux.net>
8715 * gdb-ui.el (gdb-display-number-end): Make auto-display of
8716 expressions in GDB work on text-only terminals.
8717 (gdb-post-prompt): Compute current frame properly.
8718 (gdb-get-current-frame, gdb-frame-handler): New functions.
8719 (gdb-source-info): Move last statement into if clause.
8720 Tidy, improve documentation.
8722 2002-12-23 Richard M. Stallman <rms@gnu.org>
8724 * emacs-lisp/checkdoc.el: Don't define a name for the minor mode menu.
8726 * emacs-lisp/easymenu.el (easy-menu-do-define): Handle nil for SYMBOL.
8727 (easy-menu-define): Doc fix, say SYMBOL can be nil.
8729 * window.el (save-selected-window): Save and restore
8730 selected windows of all frames.
8732 * cus-start.el (scroll-up-aggressively, scroll-down-aggressively):
8733 Update custom types.
8735 2002-12-23 Alex Schroeder <alex@emacswiki.org>
8737 Merging Dave Love <fx@gnu.org>'s custom_themes branch containing
8738 Alex Schroeder's adaptation of Jan Vroonhof
8739 <vroonhof@math.ethz.ch>'s code. Doc strings corrected by RMS.
8741 * cus-edit.el (customize-save-variable): Take themes into account.
8742 (custom-variable-save): Take themes into account.
8743 (custom-variable-reset-saved): Add comment-widget.
8744 (custom-variable-reset-standard): Add comment-widget.
8745 (custom-variable-reset-standard): Take themes into account.
8746 (custom-face-save): Take themes into account.
8747 (custom-face-reset-standard): Take themes into account.
8748 (custom-save-variables): Take themes into account.
8749 (custom-save-faces): Take themes into account.
8750 (custom-save-resets): New function.
8751 (custom-save-loaded-themes): New function.
8752 (customize-save-customized): Take themes into account.
8754 * cus-face.el (custom-set-faces): Call custom-theme-set-faces.
8755 (custom-theme-set-faces): New function.
8756 (custom-theme-face-value): New function.
8757 (custom-theme-reset-internal-face): New function.
8758 (custom-theme-reset-faces): New function.
8759 (custom-reset-faces): New function.
8761 * custom.el (custom-known-themes): New variable.
8762 (custom-declare-theme): New function.
8763 (deftheme): New macro.
8764 (custom-make-theme-feature): New function.
8765 (custom-theme-p): New function.
8766 (custom-check-theme): New function.
8767 (custom-push-theme): New function.
8768 (custom-theme-set-variables): Take themes into account.
8769 (custom-loaded-themes): New variable.
8770 (custom-theme-loaded-p): New function.
8771 (provide-theme): New function.
8772 (require-theme): New function.
8773 (custom-remove-theme): New function.
8774 (custom-do-theme-reset): New function.
8775 (custom-theme-load-themes): New function.
8776 (custom-load-themes): New function.
8777 (custom-theme-value): New function.
8778 (custom-theme-variable-value): New function.
8779 (custom-theme-reset-internal): New function.
8780 (custom-theme-reset-variables): New function.
8781 (custom-reset-variables): New function.
8783 * cus-theme.el: New file.
8785 2002-12-23 Matthew Swift <swift@alum.mit.edu>
8787 * emacs-lisp/rx.el (rx-and): Generate a shy group.
8788 Specify `no-group' when calling rx-to-string.
8789 (rx-submatch): Specify `no-group' when calling rx-to-string.
8790 (rx-kleene): Use rx-atomic-p to decide whether to make a group.
8791 (rx-atomic-p): New function.
8793 2002-12-23 Kevin Ryde <user42@zip.com.au>
8795 * info-look.el (info-lookup): For ease of use try item
8796 case-insensitive if not found case-sensitive.
8797 Do case sensitive search in index nodes, so items differing only in
8798 case go correctly to their respective nodes.
8800 2002-12-22 Richard M. Stallman <rms@gnu.org>
8802 * subr.el (add-to-invisibility-spec): If it was t, start it out at (t).
8804 * textmodes/texinfmt.el (tex-start-of-header, tex-end-of-header):
8807 * textmodes/tex-mode.el (tex-print): Call shell-quote-argument
8810 * textmodes/outline.el (outline-next-visible-heading):
8811 When going forward, test outline-invisible-p at start of header.
8813 2002-12-22 Kevin Ryde <user42@zip.com.au>
8815 * textmodes/makeinfo.el (makeinfo-buffer): Display result using
8817 (makeinfo-compilation-sentinel-buffer, makeinfo-current-node):
8819 (makeinfo-compile): Add a sentinel parameter.
8820 (makeinfo-compilation-sentinel-region): Renamed from
8821 makeinfo-compilation-sentinel, and makeinfo-temp-file now never nil.
8822 (makeinfo-region): Use this.
8823 * info.el (Info-revert-find-node): New function.
8825 2002-12-22 Nick Roberts <nick@nick.uklinux.net>
8827 * tooltip.el (tooltip-gud-tips): Output tooltip without switching
8828 process filter (gdba in gdb-ui.el only).
8829 (gdb-tooltip-print): New function.
8830 (tooltip-gud-process-output): Undo previous change.
8831 (tooltip-strip-annotations): Remove.
8833 2002-12-22 Zoltan Kemenczy <zoltan@ieee.org>
8835 * gud.el (gud-menu-map): Add jdb support for "run".
8836 (gud-jdb-find-source-using-classpath): Use 'identity.
8837 (gud-jdb-marker-filter): Marker regexp and filename filtering
8838 change to support a backwards-incompatible change in Sun's jdb
8839 line number display in SDK versions 1.4.
8840 (gud-format-command): gud-find-class now requires two
8841 parameters (file and linenumber).
8842 (gud-find-class): Bulk of the change related to using c-syntactic
8843 symbols to locate nested class declarations in java sources
8844 visited by java-mode (cc-mode).
8846 2002-12-21 Nick Roberts <nick@nick.uklinux.net>
8848 * gdb-ui.el: Remove the concept of an instance. This means that
8849 a lot of functions have been renamed. Accessors are prefixed with
8850 gdb-get, setters with gdb-set and the word instance has been
8851 removed from many function and variable names.
8852 (gdb-display-buffer): Protect source buffer as well
8853 as GUD buffer when requesting new buffers.
8854 (gdb-source-info): Two changes : Don't create display buffer
8855 automatically, compute source window correctly.
8857 2002-12-21 Richard M. Stallman <rms@gnu.org>
8859 * man.el (Man-getpage-in-background): Put GROFF_NO_SGR in env.
8861 * ls-lisp.el (original-insert-directory): Make this a variable,
8862 don't set its function definition.
8863 (insert-directory): Use funcall to call that function.
8865 * bindings.el (help-echo): Change tooltip string.
8867 * chistory.el (command-history-map): Move definition up.
8869 * faces.el (help-xref-stack): Add defvar to avoid warning.
8871 2002-12-21 Andreas Schwab <schwab@suse.de>
8873 * dired.el (dired-insert-directory): Preserve text properties
8876 2002-12-20 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
8878 * mail/undigest.el (rmail-mail-separator): Renamed from
8879 rmail-digest-mail-separator. All users changed.
8880 (unforward-rmail-message): Rewritten to be more robust and to
8881 additionally account for the common style of forwarding messages
8882 by citing them entirely with headers.
8884 2002-12-18 Dave Love <fx@gnu.org>
8886 * international/utf-8-subst.el: Deleted.
8888 * international/ucs-tables.el (ucs-fragment-8859): Don't modify
8889 char-coding-system-table elements destructively.
8890 Use optimize-char-coding-system-table.
8892 * international/mule.el (optimize-char-coding-system-table): New.
8893 (register-char-codings): Use it.
8895 * international/utf-8.el (ucs-mule-cjk-to-unicode)
8896 (ucs-unicode-to-mule-cjk): Revert last change.
8897 (utf-subst-table-for-encode): Initially use ucs-mule-cjk-to-unicode.
8898 (utf-subst-table-for-decode): Initially use ucs-unicode-to-mule-cjk.
8899 (utf-fragment-on-decoding, utf-translate-cjk): Don't modify
8900 char-coding-system-table elements destructively.
8901 (utf-translate-cjk): Set ucs-mule-cjk-to-unicode,
8902 ucs-unicode-to-mule-cjk to new hash tables with realistic parameters.
8904 2002-12-18 John Paul Wallington <jpw@shootybangbang.com>
8906 * info.el (Info-dir-remove-duplicates): Avoid infloop when
8907 deleting last entry.
8909 2002-12-17 Nick Roberts <nick@nick.uklinux.net>
8911 * gdb-ui.el (gdba-marker-filter, gdb-output-burst): Merge and
8912 rename gud-gdba-marker-filter.
8913 (gdb-append-to-inferior-io): Only pop up IO buffer if there is output.
8914 (gdb-make-instance): Remove (put into gdba).
8915 Use gdb-instance-enqueue-input instead of
8916 gdb-instance-enqueue-idle-input for user functions.
8917 (gdb-instance-target-string): Simplify.
8918 (in-gdb-instance-context): Remove.
8921 2002-12-17 Kenichi Handa <handa@m17n.org>
8923 * international/mule.el (set-file-name-coding-system): New function.
8925 * international/mule-cmds.el (mule-keymap, set-coding-system-map):
8926 Add bindings for set-file-name-coding-system.
8928 2002-12-17 Kenichi Handa <handa@m17n.org>
8930 * international/mule-cmds.el (universal-coding-system-argument):
8931 Bind coding-system-require-warning to t.
8932 (select-safe-coding-system): Handle t in the arg
8933 DEFAULT-CODING-SYSTEM specially. Use read-coding-system to read a
8934 coding-system to allow users to specify unsafe coding system on
8937 2002-12-16 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
8939 * mail/undigest.el (rmail-digest-methods)
8940 (rmail-digest-mail-separator): New variables.
8941 (rmail-digest-parse-mime, rmail-digest-parse-rfc1153strict)
8942 (rmail-digest-parse-rfc1153sloppy, rmail-digest-rfc1153)
8943 (rmail-digest-parse-rfc934): New functions.
8944 (undigestify-rmail-message): Completely rewritten.
8946 2002-12-16 Kim F. Storm <storm@cua.dk>
8948 * ido.el (ido-read-file-name): Remove debug message.
8950 2002-12-16 Daniel Pfeiffer <occitan@esperanto.org>
8952 * buff-menu.el (Buffer-menu, Buffer-menu-use-header-line)
8953 (Buffer-menu-buffer-face, Buffer-menu-buffer+size-width)
8954 (Buffer-menu-mode-width): New customization.
8955 (Buffer-menu-sort-column): New var.
8956 (Buffer-menu-no-header): New function for not changing header line and
8957 recognizing swapped M&R columns, used by modifying commands in Buffer
8959 (Buffer-menu-buffer+size): New function for variable width buffer name.
8960 (list-buffers-noselect): Rewritten for nicer menu.
8962 2002-12-16 Markus Rost <rost@math.ohio-state.edu>
8964 * filesets.el (filesets-build-menu-now): Don't clear messages.
8966 * allout.el: Avoid name conflicts with outline.el.
8967 Replace globally string "outline-" with string "allout-".
8968 Replaced 1446 occurrences; there was no string "allout-" before the
8969 change and there seems to be no dependency on outline.el.
8970 Put `quotes' around many function and variable names.
8971 Doc changes to adjust to the change to prefix "allout-".
8972 Don't provide `outline'. Use " Allout" as mode line string,
8973 not " Outl". Put group `allout' in group `editing'.
8974 Update Copyright notice. Autoload `allout-init'.
8975 (allout-init): Give report also in case auto-activation was inhibited.
8976 (my-mark-marker): Test for feature `xemacs' instead of a string parse.
8978 2002-12-16 Stefan Monnier <monnier@cs.yale.edu>
8980 * xml.el (xml-parse-tag): Allow spaces between / and >.
8982 2002-12-15 David Kastrup <David.Kastrup@t-online.de>
8984 * emacs-lisp/autoload.el (autoload-ensure-default-file):
8985 Insert missing space in file end comment.
8987 2002-12-15 Simon Josefsson <jas@extundo.com>
8989 * mail/smtpmail.el (smtpmail-via-smtp): Fall back to
8990 user-mail-address as sender.
8992 2002-12-15 Dave Love <fx@gnu.org>
8994 * international/mule-cmds.el (standard-keyboard-coding-systems):
8996 (set-locale-environment): Don't use it.
8998 * international/utf-8.el (ucs-mule-cjk-to-unicode)
8999 (utf-subst-table-for-encode, ucs-unicode-to-mule-cjk)
9000 (utf-subst-table-for-decode): Specify :size, :rehash-size.
9001 (utf-translate-cjk): :set rewritten to load subst-... files.
9003 (ccl-decode-mule-utf-8): Consider CJK translation for r3<#x3400.
9005 2002-12-15 Gustav H
\e,Ae
\e(Bllberg <gustav@virtutech.se> (tiny change)
9007 * progmodes/compile.el (compile-reinitialize-errors): Don't mark the
9008 buffer as modified unless it really is.
9010 2002-12-14 Andreas Schwab <schwab@suse.de>
9012 * wid-edit.el (widget-move): Don't loop infinitely when there is
9015 2002-12-13 Stefan Monnier <monnier@cs.yale.edu>
9017 * uniquify.el (uniquify-rationalize-file-buffer-names, rename-buffer)
9018 (uniquify-delay-rationalize-file-buffer-names, kill-buffer-hook):
9019 Undo 2002/09/27 change because kill-buffer-hook is not
9022 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9023 Optimize the remaining part of for-effect and/or expressions.
9025 2002-12-13 Markus Rost <rost@math.ohio-state.edu>
9027 * emacs-lisp/easy-mmode.el (define-minor-mode):
9028 Use `custom-current-group'. Pass all groups to the hook.
9029 (easy-mmode-define-global-mode): Use `custom-current-group'.
9031 * international/mule-cmds.el (current-language-environment):
9032 Set type according to `language-info-alist' also here.
9034 * progmodes/compile.el (compilation-menu-map):
9035 Use `kill-compilation' to stop compilation.
9037 2002-12-13 Kenichi Handa <handa@m17n.org>
9039 * language/european.el (encode-mac-roman): Fix last change.
9041 * language/cyrillic.el (ccl-encode-koi8, ccl-encode-koi8-u)
9042 (ccl-encode-alternativnyj): Fix last change.
9044 2002-12-13 Nick Roberts <nick@nick.uklinux.net>
9046 * gdb-ui.el: Improve documentation strings.
9047 (gdb-many-windows): Set default value to nil.
9049 2002-12-12 Dave Love <fx@gnu.org>
9051 * international/subst-big5.el, international/subst-gb2312.el:
9052 * international/subst-jis.el, international/subst-ksc.el: New.
9054 * custom.el (defcustom, custom-set-variables): Doc fix.
9056 * emacs-lisp/bytecomp.el (byte-compile-if): Suppress warnings from
9057 things protected by `(if (fboundp ...' or `(if (boundp ...'.
9059 * emacs-lisp/byte-opt.el (byte-optimize-featurep): New.
9061 2002-12-12 Glenn Morris <gmorris@ast.cam.ac.uk>
9063 * progmodes/fortran.el (fortran-mode-abbrev-table):
9064 Handle `define-abbrev' with either 5 or 6 arguments.
9066 2002-12-12 Markus Rost <rost@math.ohio-state.edu>
9068 * international/mule-cmds.el (set-language-info):
9069 Update custom-type of `current-language-environment'.
9070 (current-language-environment): Fix custom type.
9072 2002-12-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
9074 * progmodes/antlr-mode.el (antlr): New URL.
9076 2002-12-10 R. Bernstein <rocky@panix.com>
9078 * gud.el (bashdb): Prompt now included parenthesis for subshell levels.
9079 Fix erroneous print expression command, and fix typos.
9080 (perldb): Undo previous change in prompt regexp.
9082 2002-12-10 Steven Tamm <steventamm@mac.com>
9084 * generic-x.el (javascript-generic-mode): Added C style block
9085 comments as used in ECMA-262 standard.
9087 2002-12-10 Kenichi Handa <handa@m17n.org>
9089 * language/european.el ("Swedish"): Change tutorial file name to
9090 TUTORIAL.sv in this langauge environment..
9092 2002-12-09 John Paul Wallington <jpw@shootybangbang.com>
9094 * ibuffer.el (ibuffer-mode): If `show-paren-mode' is enabled,
9095 disable it buffer-locally.
9096 (ibuffer-mouse-popup-menu): Use `=' instead of `eq' to compare
9097 `eventpt' and point.
9099 * ibuf-ext.el (ibuffer-remove-duplicates): New function.
9100 (ibuffer-set-filter-groups-by-mode): Use it instead of
9101 `delete-duplicates' so we don't require cl library at runtime.
9102 (ibuffer-insert-filter-group-before): Don't use `position' so we
9103 don't require cl library at runtime.
9105 * chistory.el (command-history-mode): Add interactive spec.
9108 2002-12-09 Richard M. Stallman <rms@gnu.org>
9110 * isearch.el (isearch-no-upper-case-p): \\ only quotes one character.
9112 2002-12-09 Markus Rost <rost@math.ohio-state.edu>
9114 * mwheel.el (mouse-wheel-scroll-amount): Revert previous change -
9115 customize type 'float is now defined.
9117 2002-12-09 Dave Love <fx@gnu.org>
9119 * international/code-pages.el (mik, pt154): New coding systems.
9121 * international/ucs-tables.el: Fix properly.
9123 2002-12-09 Andreas Schwab <schwab@suse.de>
9125 * international/ucs-tables.el: Fix last change.
9127 2002-12-09 Kenichi Handa <handa@m17n.org>
9129 * international/titdic-cnv.el (titdic-convert): Process the
9130 header part in multibyte mode.
9132 2002-12-08 Dave Love <fx@gnu.org>
9134 * international/code-pages.el (mule-diag): Move where it's required.
9136 * international/ucs-tables.el: Add latin-jisx0201 characters.
9137 Fix translation-table-for-input for lao, thai, tibetan.
9139 2002-12-08 Andreas Schwab <schwab@suse.de>
9141 * files.el (insert-directory): Insert free space only when
9142 listing a full directory.
9144 2002-12-08 Nick Roberts <nick@nick.uklinux.net>
9146 * gdb-ui.el : Remove inappropriate key-bindings.
9147 (gdb-info-breakpoints-custom, gdb-goto-bp-this-line):
9148 Parse correctly when breakpoint has no line number.
9149 (def-gdb-auto-update-handler, gdb-info-locals-handler),
9150 (gdb-display-end): Avoid using insert-buffer.
9151 (gdb-frames-select-by-mouse): Rename gdb-frames-mouse-select.
9153 2002-12-07 Richard M. Stallman <rms@gnu.org>
9155 * progmodes/compile.el (compilation-enter-directory-regexp-alist)
9156 (compilation-leave-directory-regexp-alist): Match byte compiler output.
9158 * emacs-lisp/cl-macs.el: Add local variable list
9159 to turn off cl-function warnings.
9161 * emacs-lisp/bytecomp.el (byte-compile-eval): Handle (t . SYMBOL)
9162 elements in load-history.
9163 (byte-compile-cl-warn): No cl warnings for cl-defsubst-expand
9164 and cl-struct-setf-expander.
9166 * emacs-lisp/autoload.el (autoload-print-form-outbuf):
9168 (autoload-print-form): Use autoload-print-form-outbuf.
9169 (generate-file-autoloads): Bind autoload-print-form-outbuf.
9171 * calendar/calendar.el (calendar-day-name): Move defn down.
9173 * speedbar.el (speedbar-directory-buttons-follow):
9174 Don't use directory-sep-char.
9176 2002-12-06 Masatake YAMATO <jet@gyve.org> (tiny change)
9178 * register.el (describe-register-1): Use window-width
9179 to truncate string in a register. Check whether the string
9180 in a register is an empty string or a sequence of white spaces.
9182 2002-12-07 Andreas Schwab <schwab@suse.de>
9184 * faces.el (face-font-selection-order)
9185 (face-font-family-alternatives, face-font-registry-alternatives):
9186 Remove period from :tag value.
9188 * cus-edit.el (custom-face-edit-fix-value): Change :reverse-video
9191 2002-12-07 Markus Rost <rost@math.ohio-state.edu>
9193 * wid-edit.el (define-widget number): Clarify doc and error message.
9194 (define-widget float): New widget.
9196 2002-12-07 Andreas Schwab <schwab@suse.de>
9198 * eshell/em-ls.el (eshell-ls-product-regexp): Fix typo.
9200 * files.el (find-file-read-args): Reenable wildcard processing
9203 2002-12-06 Robert J. Chassell <bob@rattlesnake.com>
9205 * textmodes/texinfmt.el (texinfo-format-scan): Handle new
9206 functions for copyright notice and copying permissions.
9207 (texinfo-copying, texinfo-insertcopying): New functions.
9209 2002-12-03 TAKAHASHI Kaoru <kaoru@kaisei.org>
9211 * textmodes/texinfmt.el (texinfo-format-ifxml)
9212 (texinfo-format-xml): New function.
9213 (ifxml, ifnotxml): New aliases.
9215 2002-12-06 Dave Love <fx@gnu.org>
9217 * international/utf-8-subst.el: Revert last change.
9219 2002-12-06 Miles Bader <miles@gnu.org>
9221 * info.el (Info-insert-dir): Make dir-node-cache variables
9222 buffer-local, so that killing the *info* buffer forces the
9223 dir-node to be rebuilt.
9225 2002-12-06 Markus Rost <rost@math.ohio-state.edu>
9227 * finder.el (finder-compile-keywords): Don't insert a keyword to
9230 2002-12-05 Andreas Schwab <schwab@suse.de>
9232 * speedbar.el (speedbar-highlight-face): Fix face spec.
9234 2002-12-05 Stefan Monnier <monnier@cs.yale.edu>
9236 * gdb-ui.el: Replace uses of (gdb-get-instance-buffer 'gdba) and
9237 gdb-proc with gud-comint-buffer instead.
9239 (def-gdb-var): Simplify.
9240 (gdb-get-create-instance-buffer): Avoid make-variable-buffer-local.
9241 Set gud-comint-buffer as well as gud-minor-mode and tool-bar-map.
9242 (gdb-goto-bp-this-line): Select the window while doing the goto-line.
9243 (gdb-info-locals-handler): Avoid replace-regexp.
9245 * calendar/calendar.el (facemenu-unlisted-faces): Only update
9246 after facemenu is loaded.
9247 (calendar-font-lock-keywords): Accept non-ASCII month names.
9250 * gdb-ui.el (gud-gdb-complete-string, gud-gdb-complete-break)
9251 (gud-gdb-complete-list, gud-gdb-complete-in-progress): Remove.
9252 (gdba): Call `gdb' and then make modifications.
9253 Always call gdb-clear-inferior-io rather than just "the first time".
9254 (gud-break, gud-remove): Definitions moved to inside gdba.
9255 (gdb-target-name): Remove. Use gud-target-name instead.
9256 (gdba-complete-filter, gdba-common-init): Remove.
9257 The changes were integrated into the generic code.
9259 * gud.el: Use match-string.
9260 (gud-menu-map): Re-fix gdb-running to gud-running.
9261 Activate up/down and finish for pdb.
9262 (gud-def): Use backquotes.
9263 (gdb, sdb, dbx, xdb, pdb, jdb, bashdb): Remove redundant menu bindings.
9264 (gud-gdb-complete-in-progress, gud-gdb-complete-string)
9265 (gud-gdb-complete-break, gud-gdb-complete-list):
9266 Rename to gud-gdb-fetch-lines-in-progress, gud-gdb-fetch-lines-string,
9267 gud-gdb-fetch-lines-break and gud-gdb-fetched-lines.
9268 (gud-gdb-fetch-lines-filter): Rename from gud-gdb-complete-filter.
9269 Add a `filter' argument and run it on `string'.
9270 (gud-gdb-run-command-fetch-lines): Use it instead of
9271 gud-gdb-speedbar-stack-filter. Add a `skip' arg.
9272 Return the fetched lines.
9273 (gud-gdb-complete-command): Use it instead of cooking up
9274 something by hand using gud-gdb-complete-filter.
9275 (gud-gdb-get-stackframe): Use the new calling convention of
9276 gud-gdb-run-command-fetch-lines.
9277 (gud-gdb-fetched-stack-frame-list): Remove.
9278 (gud-gdb-speedbar-stack-filter): Remove.
9279 (gud-jdb-marker-filter): Change RE for easier extraction of submatches.
9280 (gud-bashdb-command-name): Add "--debugger" argument here.
9281 (bashdb): Use default gud-find-file and don't bother with
9282 a massage-args function now that --debugger is make explicit.
9283 (gud-bashdb-massage-args, gud-bashdb-find-file): Remove.
9284 (bashdb): Don't provide.
9285 (gud-target-name): New var.
9286 (gud-common-init): Set it.
9287 Also reset gud-running and gud-last-last-frame.
9289 2002-12-05 Dave Love <fx@gnu.org>
9291 * international/utf-8-subst.el: Update safe-chars of mule-utf-8,
9292 mule-utf-16-le, mule-utf-16-be.
9294 2002-12-05 Richard M. Stallman <rms@gnu.org>
9296 * textmodes/outline.el (outline-mode): Doc fix.
9298 2002-12-05 Edward M. Reingold <reingold@emr.cs.iit.edu>
9300 * calendar/solar.el (solar-atn2): Give correct quadrant for arctan.
9302 2002-12-05 Kenichi Handa <handa@m17n.org>
9304 * international/titdic-cnv.el (quail-misc-package-ext-info):
9305 Remove duplicate entry for chinese-b5-quick.
9306 (batch-miscdic-convert): Don't try to call miscdic-convert on
9307 files in the directory just following the arg "-dir".
9309 2002-12-04 Stefan Monnier <monnier@cs.yale.edu>
9311 * gdb-ui.el: Fold top-level `setq's and `define-key's into their
9312 corresponding defvar.
9313 (gdb-inferior-io-mode-map): New var.
9314 Add bindings to it rather than to comint-mode-map.
9315 (gdb-display-number-end): Use dolist. Remove always-true test.
9316 (gdb-delete-line): Move and simplify.
9317 (gdb-display-end): Don't bother going to beg-of-line since we're there.
9318 (gdb-array-format1): Use dolist.
9319 (gdb-make-windows-menu, gdb-make-frames-menu):
9320 Move to top-level code. Move the menus to within the GUD menu.
9321 Make the menus only appear in gdba mode.
9323 * gdb-ui.el (gdb-inferior-io-mode-map): Remove (unused).
9324 (gdb-inferior-io-mode): Use define-minor-mode.
9325 (gdb-source-info): Don't burp if there's no source file.
9326 (gdb-inferior-io-interrupt, gdb-inferior-io-quit)
9327 (gdb-inferior-io-stop, gdb-inferior-io-eof)
9328 (gdb-display-breakpoints-buffer, gdb-frame-breakpoints-buffer)
9329 (gdb-display-stack-buffer, gdb-frame-stack-buffer)
9330 (gdb-display-registers-buffer, gdb-frame-registers-buffer)
9331 (gdb-display-locals-buffer, gdb-frame-locals-buffer)
9332 (gdb-display-display-buffer, gdb-frame-display-buffer)
9333 (gdb-display-gdb-buffer, gdb-frame-gdb-buffer)
9334 (gdb-display-assembler-buffer, gdb-frame-assembler-buffer):
9335 Remove the spurious left over arg from the "big reorg".
9337 2002-12-04 Richard M. Stallman <rms@gnu.org>
9339 * gud.el (gud-menu-map): Update for bashdb.
9340 (perldb): Change prompt regexp.
9341 (gud-bashdb-history, gud-bashdb-massage-args, gud-bashdb-marker-filter)
9342 (gud-bashdb-find-file, gud-bashdb-command-name, bashdb): New.
9344 * progmodes/cc-vars.el: Simply require wid-edit and custom
9345 in eval-when-compile.
9347 * progmodes/cc-menus.el: Don't require imenu.
9349 * progmodes/cc-langs.el: Don't require cl.
9350 (c-delete-duplicates): New function. Use instead of delete-duplicates.
9352 * progmodes/cc-bytecomp.el (cc-bytecomp-obsolete-var):
9353 Add an else-clause to the if to avoid confused compiler warning.
9355 * tooltip.el (tooltip-gud-tips-p): Undo previous change.
9357 2002-12-03 Stefan Monnier <monnier@cs.yale.edu>
9359 * gdb-ui.el: Get rid of (quote ..); use match-string and ignore.
9361 * gdb-ui.el (gdba, gdb-starting, gdb-stopped, gdb-quit):
9362 Update gdb-running -> gud-running.
9363 (gdba): Use the default for gud-find-file.
9364 (def-gdb-variable): Remove: fold into def-gdb-var.
9365 (def-gdb-var): Use buffer-local-value and with-current-buffer.
9367 * gud.el (gud-running): Rename from gdb-running. Update uses.
9368 (gud-tool-bar-map): Use tool-bar-local-item-from-menu rather than
9369 tool-bar-add-item-from-menu to avoid let binding tool-bar-map
9370 which fails if tool-bar.el is loaded in the mean time.
9371 (gud-file-name): New fun.
9372 (gud-find-file): Use it as default value for gud-find-file.
9373 (gud-speedbar-buttons): Discriminate on gud-minor-mode rather than
9375 (gud-gdb-find-file, gud-dbx-file-name, gud-dbx-find-file)
9376 (gud-xdb-file-name, gud-xdb-find-file, gud-perldb-find-file)
9377 (gud-pdb-find-file, gud-jdb-find-file): Remove.
9378 (gud-query-cmdline): Don't stuff the whole cwd in the command.
9379 (gdb, dbx, xdb, perldb, pdb, jdb): Use the default for gud-find-file.
9380 (gud-mipsdbx-massage-args): Remove.
9381 (gud-dbx-command-name): New var. Do what gud-mipsdbx-massage-args did.
9382 (gud-irixdbx-marker-filter): Use match-string and gud-file-name.
9383 (gud-jdb-command-name): New var.
9384 (gud-common-init): Re-instate RMS code of 11/13.
9386 2002-12-03 Dave Love <fx@gnu.org>
9388 * international/ucs-tables.el (ucs-unify-8859, ucs-unify-8859)
9389 (ucs-fragment-8859): Don't use set-buffer-major-mode-hook.
9390 (ucs-set-table-for-input): Use optional arg. Check for null `cs'.
9392 2002-12-03 Andreas Schwab <schwab@suse.de>
9394 * cus-edit.el (custom-display): Add checkbox for type mac.
9396 * whitespace.el (whitespace-highlight-face): Fix face spec.
9398 2002-12-02 Stefan Monnier <monnier@cs.yale.edu>
9400 * simple.el (completion-setup-function): Fix last change to use
9401 minibuffer-completing-file-name instead.
9403 * add-log.el (change-log-mode): Set indent-line-function explicitly
9404 to what it was before indent-line-function's default was changed.
9406 2002-12-02 Richard M. Stallman <rms@gnu.org>
9408 * textmodes/ispell.el (ispell-dict-map): Move specific
9409 dictionary selection into a submenu.
9411 * textmodes/fill.el (fill-indent-to-left-margin): New function.
9412 (fill-newline, fill-region-as-paragraph): Use that.
9414 * simple.el (completion-setup-function):
9415 Handle ffap-read-file-or-url-internal specially like
9416 read-file-name-internal.
9418 2002-12-02 Simon Marshall <marshals@perth>
9420 * font-lock.el (c++-font-lock-extra-types): Fix previous change.
9422 2002-12-02 Fran
\e,Ag
\e(Bois Pinard <pinard@iro.umontreal.ca>
9424 * progmodes/make-mode.el (makefile-font-lock-keywords): Highlight
9425 more make keywords: defined, endef, override, export, unexport
9428 2002-12-02 Dave Love <fx@gnu.org>
9430 * autoarg.el (autoarg-kp-mode): Give it a :group.
9432 2002-12-02 Noah Friedman <friedman@splode.com>
9434 * complete.el (PC-do-completion): Do not add wildcards to pattern
9435 unless filename is non-nil.
9437 2002-12-02 Andreas Schwab <schwab@suse.de>
9439 * mwheel.el (mouse-wheel-scroll-amount): Fix customize type.
9441 * paren.el (show-paren-mismatch-face): Fix face spec.
9443 2002-11-30 Nick Roberts <nick@nick.uklinux.net>
9445 * gdb-ui.el (gdb-many-windows): Define as a minor mode.
9446 (toggle-gdb-windows): Remove. (Patch from Stefan Monnier)
9448 * tooltip.el (tooltip-gud-process-output): Handle annotations that
9449 are output with gdba in gdb-ui.el.
9450 (tooltip-strip-annotations): New function.
9452 2002-11-29 Dave Love <fx@gnu.org>
9454 * autoarg.el (autoarg-mode): Give it a :group.
9456 2002-11-29 Bill Wohler <wohler@newt.com>
9458 * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
9459 mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el,
9460 mail/mh-utils.el, mail/mh-xemacs-compat.el: Upgraded to MH-E
9463 * mail/mh-index.el, mail/mh-speed.el: New files for indexed
9464 searches and speedbar support in MH-E version 7.0.
9466 * toolbar/reply-all.pbm, toolbar/reply-all.xpm,
9467 toolbar/reply-from.pbm, toolbar/reply-from.xpm,
9468 toolbar/reply-to.pbm, toolbar/reply-to.xpm: New toolbar images for
9471 2002-11-29 Markus Rost <rost@math.ohio-state.edu>
9473 * mwheel.el (mouse-wheel-inhibit-click-time): Fix custom type.
9475 2002-11-29 Richard M. Stallman <rms@gnu.org>
9477 * mail/rmail.el (rmail-convert-to-babyl-format):
9478 Make search for message delimiter case-sensitive.
9480 * simple.el (yank-window-start): New variable.
9481 (yank): Record yank-window-start
9482 (yank-pop): Use yank-window-start.
9484 * info.el (Info-additional-directory-list): Doc fix.
9486 * indent.el (indent-according-to-mode, indent-region): Doc fix.
9488 * tooltip.el (tooltip-gud-tips-p): Doc fix.
9490 * eshell/em-script.el: Require eshell.
9492 * eshell/esh-ext.el, eshell/em-cmpl.el: Require esh-util.
9494 2002-11-29 Kim F. Storm <storm@cua.dk>
9496 * mwheel.el: Avoid accidental yanking of text while scrolling with
9497 the mouse wheel. This adds a short period after each mouse wheel
9498 scroll event where a click on the mouse wheel button is ignored.
9499 (mouse-wheel-click-event, mouse-wheel-inhibit-click-time): New customs.
9500 (mouse-wheel-click-button, mwheel-inhibit-click-event-timer): New vars.
9501 (mwheel-inhibit-click-timeout,mwheel-filter-click-events): New defuns.
9502 (mwheel-scroll): Add mwheel-filter-click-events as pre-command-hook.
9503 Start mwheel-inhibit-click-event-timer with timeout handler
9504 mwheel-inhibit-click-timeout.
9506 2002-11-28 Nick Roberts <nick@nick.uklinux.net>
9508 * tooltip.el (tooltip-gud-tips-setup): Remove.
9509 (tooltip-gud-debugger): Remove.
9510 (tooltip-gud-print-command): Use gud-minor mode instead of
9511 tooltip-gud-tips-setup and tooltip-gud-debugger.
9513 * gdb-ui.el (gdb-starting): Set gdb-running to t.
9514 (gdb-stopped): Set gdb-running to nil.
9515 (gdb-quit): Reset some variables including tool-bar-map.
9517 * gud.el (gdb-running): New variable.
9518 (gud-menu-map): Use gdb-running to grey out toolbar buttons
9519 with gdba in gdb-ui.el.
9520 (gud-tool-bar-map): Move to avoid byte compiler warning.
9522 2002-11-27 Jason Rumney <jasonr@gnu.org>
9524 * files.el (file-truename): Canonicalize non-existent names on w32.
9526 2002-11-28 Kim F. Storm <storm@cua.dk>
9528 * ido.el (ido-xemacs): Remove defvar. All uses changed to
9529 check (featurep 'xemacs) instead.
9530 (ido-visit-buffer): Use select-frame-set-input-focus unconditionally.
9532 2002-11-27 Dave Love <fx@gnu.org>
9534 * emacs-lisp/cl-macs.el: Move `predicates for analyzing Lisp
9535 forms' block to top (before uses).
9536 (help-fns): Don't require at top level. (Recursively.)
9537 (cl-transform-lambda): Require help-fns.
9539 2002-11-26 Dave Love <fx@gnu.org>
9541 * language/european.el (encode-mac-roman): Deal with unencodable
9544 * language/cyrillic.el (ccl-encode-koi8, ccl-encode-koi8-u)
9545 (ccl-encode-alternativnyj): Deal with unencodable characters.
9547 * international/code-pages.el (cp-make-coding-system): Deal with
9548 unencodable characters.
9550 2002-11-24 Richard M. Stallman <rms@gnu.org>
9552 * mail/sendmail.el (mail-signature): Handle case where
9553 value of mail-signature is a string.
9555 * menu-bar.el (menu-bar-describe-menu): Add "What's This?" item.
9557 * faces.el (face-set-after-frame-default): Ignore errors
9558 in face-spec-face-set.
9560 * cus-face.el (custom-declare-face): Add face-defface-spec
9561 prop after applying the face spec.
9563 2002-11-23 Nick Roberts <nick@nick.uklinux.net>
9565 * tooltip.el (tooltip-gud-print-command): Add server prefix to the
9566 print command for gdb to keep it out of the command history.
9568 * gdb-ui.el: Major re-organisation. Simplify legacy gdba
9569 code to allow only one gdb process.
9571 2002-11-23 Markus Rost <rost@math.ohio-state.edu>
9573 * scroll-all.el (scroll-all-mode): Move arg LIGHTER to the right
9576 2002-11-22 Simon Marshall <marshals@perth>
9578 * font-lock.el (c++-font-lock-extra-types): Add various STL classes.
9580 2002-11-21 Nick Roberts <nick@nick.uklinux.net>
9582 * gdb-ui.el : General tidying. Patches from Stefan Monnier.
9584 2002-11-20 Simon Josefsson <jas@extundo.com>
9586 * play/morse.el (morse-code): Add non-ASCII characters, according
9587 to table at http://www.soton.ac.uk/~scp93ch/morse/.
9589 2002-11-21 Richard M. Stallman <rms@gnu.org>
9591 * dired.el (dired-sort-inhibit): New variable.
9592 (dired-sort-toggle-or-edit): Err if dired-sort-inhibit non-nil.
9594 * find-dired.el (find-dired): Set dired-sort-inhibit to t
9597 2002-11-21 Eugene Exarevsky <zheka@relex.ru>
9599 * progmodes/sql.el: Added LINTER support.
9600 (sql-linter-program): New variable.
9601 (sql-linter-options): New variable.
9602 (sql-mode-menu): Added Linter keywords.
9603 (sql-mode-linter-font-lock-keywords): New variable.
9604 (sql-highlight-linter-keywords): New function.
9605 (sql-linter): New function.
9606 (sql-ms-options): New variable.
9609 2002-11-21 John Paul Wallington <jpw@shootybangbang.com>
9611 * ibuffer.el (ibuffer-formats): Change default value; bump width
9612 of size column in first format to 7.
9614 2002-11-20 Stefan Monnier <monnier@cs.yale.edu>
9616 * help-fns.el (describe-variable): Look for (defvar . <sym>) in the
9617 load-history since `defvar' now uses this format.
9619 * custom.el (custom-declare-variable): Use push.
9620 Use the (defvar . <sym>) format in load-history like `defvar' does.
9622 * subr.el (symbol-file): Accept a non-atomic `function' arg.
9623 (with-local-quit): Add debug and indentation info.
9625 2002-11-20 John Paul Wallington <jpw@shootybangbang.com>
9627 * subr.el (symbol-file): Remove unused variable `functions'.
9629 2002-11-20 Markus Rost <rost@math.ohio-state.edu>
9631 * Makefile.in (setwins_almost): Renamed from finder_setwins.
9632 (custom-deps): Use it.
9633 (finder-data): Adjust to that name change.
9635 2002-11-19 Stefan Monnier <monnier@cs.yale.edu>
9637 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9638 Turn errors into messages so they don't get ignored.
9639 (eldoc-get-fnsym-args-string): Use help-split-fundoc.
9640 (eldoc-beginning-of-sexp): Simplify.
9641 (eldoc-function-arglist): Remove.
9642 (eldoc-function-argstring): Use help-function-arglist instead.
9643 (eldoc-function-argstring-from-docstring-method-table)
9644 (eldoc-function-argstring-from-docstring): Remove.
9646 * emacs-lisp/cl.el (multiple-value-call): Add docstring.
9648 2002-11-19 Dave Love <fx@gnu.org>
9650 * emacs-lisp/bytecomp.el (maphash, map-char-table):
9651 Use byte-compile-funarg.
9653 * emacs-lisp/byte-opt.el (side-effect-free-fns): Several additions.
9655 2002-11-19 Markus Rost <rost@math.ohio-state.edu>
9657 * progmodes/vhdl-mode.el (defgroup vhdl-related): Declare the
9658 members here rather than with custom-add-to-group. This is the
9659 intended way of using defgroup and also lets
9660 custom-make-dependencies do its job.
9661 (defgroup vhdl-highlight-faces): Ditto.
9663 * emacs-lisp/shadow.el (defgroup lisp-shadow): New group name.
9664 Previous group name shadow is used in shadowfile.el.
9665 (shadows-compare-text-p): Use group lisp-shadow.
9667 2002-11-19 Stefan Monnier <monnier@cs.yale.edu>
9669 * emacs-lisp/cl.el (multiple-value-call): Add docstring.
9671 2002-11-19 Masatake Yamato <jet@gyve.org> (tiny change)
9673 * register.el (describe-register-1): Don't assign to val the value
9674 returned by `remove-list-of-text-properties'.
9676 2002-11-18 Kai Gro
\e,A_
\e(Bjohann <kai.grossjohann@uni-duisburg.de>
9678 * calendar/diary-lib.el (fancy-diary-font-lock-keywords):
9679 Grok month numbers, too.
9681 2002-11-18 Juanma Barranquero <lektu@terra.es>
9683 * mail/smtpmail.el (smtpmail-send-queued-mail): Add autoload cookie.
9685 2002-11-18 Markus Rost <rost@math.ohio-state.edu>
9687 * pcvs.el (cvs-minor-mode, cvs-mode-commit-hook): Add group.
9689 * textmodes/refill.el (defgroup refill): New group.
9691 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Add group.
9693 * textmodes/sgml-mode.el (html-autoview-mode): Add group.
9695 * textmodes/paragraphs.el (use-hard-newlines): Add group.
9697 * progmodes/compile.el (compilation-shell-minor-mode): Add group.
9698 (compilation-minor-mode): Add group.
9700 * reveal.el (global-reveal-mode): Add group.
9702 * bookmark.el (bookmark-menu-length): Fix group name.
9704 2002-11-17 Richard M. Stallman <rms@gnu.org>
9706 * mail/rmail.el (rmail-ignored-headers): Add more headers.
9708 * calendar/parse-time.el (parse-time-elt): Var renamed from `elt'.
9709 (parse-time-val): Var renamed from `val'. All uses changed.
9711 * files.el (parse-time-rules): Mark it as risky.
9713 * finder.el (finder-commentary): Use buffer *Finder-package*.
9715 * menu-bar.el (menu-bar-options-menu): Improve tooltip string.
9717 * simple.el (indicate-unused-lines)
9718 (default-indicate-unused-lines): New variable aliases.
9720 2002-11-18 Kenichi Handa <handa@m17n.org>
9722 * progmodes/cc-vars.el: Undo previous change.
9724 2002-11-18 Kenichi Handa <handa@m17n.org>
9726 * language/cyrillic.el (cyrillic-iso-8bit): Make it safe.
9728 * language/european.el (iso-latin-1): Make it safe.
9729 (iso-latin-2, iso-latin-3, iso-latin-4, iso-latin-5, iso-latin-8)
9730 (iso-latin-9): Likewise.
9732 * language/greek.el (greek-iso-8bit): Make it safe.
9734 * language/hebrew.el (hebrew-iso-8bit): Make it safe.
9736 * language/lao.el (lao): Make it safe.
9738 * language/thai.el (thai-tis620): Make it safe.
9740 2002-11-17 Markus Rost <rost@math.ohio-state.edu>
9742 * speedbar.el (defgroup speedbar): Use group 'etags instead of
9743 nonexisting group 'tags.
9745 * emacs-lisp/re-builder.el: Add provide call.
9747 * mail/feedmail.el (feedmail-fiddle-headers-upwardly)
9748 (feedmail-fiddle-plex-user-list): Fix typo in group name.
9750 * progmodes/make-mode.el (makefile-space-face): Fix group name.
9752 * textmodes/ispell.el (defgroup ispell): Arrange that definition
9753 starts at beginning of line.
9755 * textmodes/table.el (defgroup table-hooks): New group.
9756 (table-cell-map-hook): Fix typo in group name.
9758 * calendar/diary-lib.el (diary-button-face): Add group and version
9761 * warnings.el (defgroup warnings): New group.
9763 2002-11-16 Markus Rost <rost@math.ohio-state.edu>
9765 * emacs-lisp/autoload.el (update-autoloads-from-directories):
9766 Sort the list of files with no autoloads.
9768 2002-11-16 Alan Shutko <ats@acm.org>
9770 * calendar/diary-lib.el (list-diary-entries): Pass a marker
9771 indicating source of entry to add-to-diary-list.
9772 (diary-button-face, diary-entry, diary-goto-entry): New, to
9773 support click to diary file.
9774 (fancy-diary-display): Buttonize diary entries.
9775 (list-sexp-diary-entries): Pass a marker indicating source of
9776 entry to add-to-diary-list.
9777 (diary-date): Return mark as well as entry.
9779 * calendar/calendar.el (diary-face): New.
9780 (european-calendar-display-form, describe-calendar-mode)
9781 (mark-visible-calendar-date, calendar-mark-today): Tidy doc string.
9782 (calendar-make-alist): New.
9783 (calendar-mode): Set up font-lock mode.
9784 (generate-calendar-window): Fontify if font-lock-mode is on.
9786 2002-11-16 Ivan Zakharyaschev <imz@altlinux.org> (tiny change)
9788 * international/codepage.el (cp866-decode-table): Fix the
9791 2002-11-16 Martin Stjernholm <bug-cc-mode@gnu.org>
9793 * progmodes/cc-bytecomp.el (cc-bytecomp-defun): Fixed bug that
9794 caused existing function definitions to be overridden by
9795 phonies when the bytecomp environment is restored.
9797 2002-11-15 Nick Roberts <nick@nick.uklinux.net>
9799 * toolbar/gud-break.pbm, toolbar/gud-cont.pbm, toolbar/gud-display.pbm,
9800 toolbar/gud-down.pbm, toolbar/gud-finish.pbm, toolbar/gud-goto.pbm,
9801 toolbar/gud-next.pbm, toolbar/gud-print.pbm, toolbar/gud-remove.pbm,
9802 toolbar/gud-run.pbm, toolbar/gud-step.pbm, toolbar/gud-up.pbm:
9803 Icons for debugger (pbm files).
9805 2002-11-15 Richard M. Stallman <rms@gnu.org>
9807 * international/mule.el (set-buffer-file-coding-system): Redo prev chg.
9809 2002-11-15 John Paul Wallington <jpw@shootybangbang.com>
9811 * ibuffer.el (ibuffer-use-other-window, ibuffer-use-header-line)
9812 (ibuffer-visit-buffer, ibuffer-redisplay, ibuffer-update): Doc fix.
9813 (ibuffer-mode-hooks): Remove spurious defvar.
9814 (ibuffer): Run `ibuffer-hook' instead of `ibuffer-hooks'.
9815 (ibuffer-mode): Run `ibuffer-mode-hook' instead of
9816 `ibuffer-mode-hooks'.
9818 2002-11-15 Markus Rost <rost@math.ohio-state.edu>
9820 * mail/rmailedit.el: Add provide call.
9822 * play/bruce.el: Add provide call.
9824 * emacs-lisp/gulp.el: Add provide call.
9826 2002-11-14 Richard M. Stallman <rms@gnu.org>
9828 * international/mule.el (set-buffer-file-coding-system): Undo prv chg.
9830 2002-11-14 Markus Rost <rost@math.ohio-state.edu>
9832 * custom.el (custom-declare-group): Remove unnecessary line of code.
9834 * cus-dep.el (custom-make-dependencies): Bind load-file-name.
9836 2002-11-14 Edward M. Reingold <reingold@emr.cs.iit.edu>
9838 * calendar/diary-lib.el (make-diary-entry): Allow for local variables
9839 at end of diary file.
9841 2002-11-14 Kim F. Storm <storm@cua.dk>
9843 * files.el (mode-name): Mark it as risky-local-variable like the
9844 other mode-line elements (moved from bindings.el).
9846 * bindings.el (mode-name): Moved mark as risky-local-variable to
9849 2002-11-14 Juanma Barranquero <lektu@terra.es>
9851 * gud.el: Fix feature name in `provide'.
9853 * gdb-ui.el: Fix feature name in `require'.
9855 2002-11-14 Per Cederqvist <ceder@lysator.liu.se> (tiny change)
9857 * progmodes/etags.el (find-tag-default): Copy text at point without
9860 2002-11-14 Kenichi Handa <handa@m17n.org>
9862 * progmodes/cc-vars.el: Don't cc-bytecomp-defun char-table-p.
9864 2002-11-14 Kim F. Storm <storm@cua.dk>
9866 * textmodes/fill.el (fill-nobreak-invisible): New var.
9867 (fill-nobreak-p): Test it; return t if set and point invisible.
9868 (fill-newline): Test it; remove invisible prop on newline if set.
9870 * info.el (Info-fontify-node): New local list paragraph-markers.
9871 Record markers for mangled *note references on that list.
9872 When done, go back through those markers and fill each mangled
9873 paragraph with `fill-nobreak-invisible' let-bound to t.
9874 Don't use `display' property; insert "see" directly in buffer.
9876 2002-11-14 Nick Roberts <nick@nick.uklinux.net>
9878 * gdb-ui.el: New file, User Interface for running GDB
9880 * gud.el:(gud-find-file): Set up GDB tool bar.
9881 (gud-menu-map): New commands: run, goto.
9882 Enable some commands for gdba.
9883 (gud-query-cmdline): Pass default directory to gdba.
9884 (gdb): Defune gud-goto and gud-run.
9885 (gud-gdb-complete-command): Maybe use gdba-complete-filter.
9886 (gud-mode): Set up local tool bar.
9887 (gud-display-line): For gdba, call gdb-display-source-buffer.
9888 (gud-basic-call): For gdba, maybe delete the current prompt.
9889 (gud-tool-bar-map): New variable.
9890 (gud-read-address): Correction.
9892 * toolbar/gud-break.xpm, toolbar/gud-cont.xpm, toolbar/gud-display.xpm,
9893 toolbar/gud-down.xpm, toolbar/gud-finish.xpm, toolbar/gud-goto.xpm,
9894 toolbar/gud-next.xpm, toolbar/gud-print.xpm, toolbar/gud-remove.xpm,
9895 toolbar/gud-run.xpm, toolbar/gud-step.xpm, toolbar/gud-up.xpm:
9898 2002-11-13 Stefan Monnier <monnier@cs.yale.edu>
9900 * pcvs.el (cvs-mode-run): Don't pass "." if not needed.
9902 2002-11-13 Andre Spiegel <spiegel@gnu.org>
9904 * vc-rcs.el (vc-rcs-registered): Improve comment.
9906 * vc-sccs.el (vc-sccs-registered): Improve comment.
9908 2002-11-13 Tim Van Holder <tim.vanholder@anubex.com> (tiny change)
9910 * progmodes/compile.el (compilation-error-regexp-alist):
9911 Don't include colon and space after a file name as part of the name.
9913 2002-11-13 Richard M. Stallman <rms@gnu.org>
9915 * gud.el (gdb): Undo 10-26 change.
9917 2002-11-13 Kenichi Handa <handa@m17n.org>
9919 * replace.el (occur-engine): Set buffer-file-coding-system of
9920 OUT-BUF to that of one of BUFFERS if they locally bind that variable.
9922 2002-11-13 Markus Rost <rost@math.ohio-state.edu>
9924 * custom.el (custom-handle-all-keywords): Fix arg passed to
9925 custom-add-to-group.
9927 2002-11-12 Stefan Monnier <monnier@cs.yale.edu>
9929 * pcvs-defs.el (cvs-mode-map): Remove M-f binding.
9930 (cvs-minor-mode-map): Add e binding in log-view-mode.
9932 * progmodes/perl-mode.el (perl-hanging-paren-p): New fun.
9933 (perl-indent-line): Look at the open-paren to indent a close-paren.
9934 (perl-calculate-indent): Try to better indent args after hanging paren.
9935 Remove special code for open-paren-in-column-0.
9937 * textmodes/sgml-mode.el (sgml-namify-char): New cmd.
9938 (sgml-name-char): Use it.
9939 (sgml-tag-last, sgml-tag-history): New vars.
9940 (sgml-tag): Use them.
9941 (sgml-skip-tag-forward): Use sgml-tag-syntax-table.
9942 (sgml-delete-tag): Remove resulting empty lines.
9943 (sgml-tag) <symbol-plist>: Don't make intangible.
9944 (sgml-parse-tag-backward): Add limit argument.
9945 (html-autoview-mode): Use define-minor-mode.
9947 2002-11-12 Markus Rost <rost@math.ohio-state.edu>
9949 * vc-rcs.el (vc-rcs-registered): Handle the autoload cookie so
9950 that the definition is found by `find-function-search-for-symbol'
9953 * vc-sccs.el (vc-sccs-registered): Ditto.
9955 * emulation/edt.el (defgroup edt): Arrange that definition starts
9956 at beginning of line.
9958 * ls-lisp.el (defgroup ls-lisp): Remove autoload cookie.
9960 * hi-lock.el (defgroup hi-lock-interactive-text-highlighting):
9961 Remove autoload cookie.
9963 * newcomment.el (defgroup comment): Remove autoload cookie.
9965 2002-11-11 Markus Rost <rost@math.ohio-state.edu>
9967 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button):
9968 Declare with defvar, not with defcustom.
9970 * cus-dep.el: Don't require 'autoload.
9971 (custom-make-dependencies): Handle :version also for autoloaded
9974 * winner.el (defgroup winner): Arrange that definition starts at
9977 * emulation/edt.el: Simplify Emacs 19 compatibility.
9979 2002-11-11 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr> (tiny change)
9981 * dired-aux.el (dired-show-file-type): Format filename with "%s" to
9982 escape any format-like sequences it could contain.
9984 2002-11-11 Per Abrahamsen <abraham@dina.kvl.dk>
9986 * cus-edit.el (custom-save-delete): Force emacs-lisp-mode.
9988 2002-11-11 Juanma Barranquero <lektu@terra.es>
9990 * bindings.el (mode-name): Mark it as risky-local-variable.
9992 2002-11-09 Dave Love <fx@gnu.org>
9994 * international/mule-cmds.el (current-language-environment):
9997 * international/ucs-tables.el: Revert to using
9998 translation-table-for-input instead of keyboard-translate-table.
10000 * international/quail.el (quail-input-string-to-events):
10001 Revert last change.
10003 * simple.el (quoted-insert): Bind translation-table-for-input,
10004 not keyboard-translate-table.
10006 2002-11-08 Stefan Monnier <monnier@cs.yale.edu>
10008 * arc-mode.el (archive-zip-summarize): Don't hardcode (point-min) = 1.
10010 * complete.el (PC-do-completion): Make partial-completion work
10011 with incomplete directory names.
10013 * textmodes/tex-mode.el (latex-standard-block-names): Rename from
10014 standard-latex-block-names.
10015 (tex-font-lock-keywords-1): Add providecommand, renewenvironment,
10016 and renewtheorem. Highlight \it and \bf separately since they
10018 (tex-font-lock-suscript, tex-font-lock-unfontify-region): New funs.
10019 (tex-font-lock-keywords-3, tex-verbatim-environments)
10020 (tex-font-lock-syntactic-keywords): New vars.
10021 (superscript, subscript, tex-verbatim-face): New faces.
10022 (tex-font-lock-syntactic-face-function): Handle \verb construct.
10023 (tex-common-initialization): Update font-lock-defaults setting.
10024 (tex-insert-braces): Make it into a skeleton.
10025 (latex-fill-nobreak-predicate): Don't break after \.
10026 (latex-insert-block): Rename from tex-latex-block.
10027 (latex-down-list): Use tex-mode-syntax-table when skipping parens
10028 rather than the indentation syntax-table.
10029 (latex-close-block): Rename from tex-close-latex-block.
10030 (latex-split-block): New fun.
10031 (latex-indent): Don't indent inside a verbatim block.
10032 (latex-find-indent): Stick \begin{verbatim} to the margin.
10034 2002-11-08 John Wiegley <johnw@gnu.org>
10036 * calendar/timeclock.el (timeclock-modeline-display): Use assq as
10037 well as memq to find `global-mode-string' within
10038 `mode-line-format'. The structure of that variable has changed in
10041 2002-11-07 Stefan Monnier <monnier@cs.yale.edu>
10043 * format.el (format-decode): Be careful with the order in `format'.
10045 * eshell/esh-cmd.el (function-p-func): Avoid `xemacs-p'.
10047 * eshell/em-glob.el: Require esh-util.
10048 (eshell-glob-initialize): Don't assume
10049 eshell-special-chars-outside-quoting is available.
10051 * textmodes/fill.el (fill-paragraph): Consider a comment-start as
10052 a paragraph starter when filling non-comments.
10053 (fill-comment-paragraph): Don't narrow while doing the fill.
10054 Recognize paragraph starters and separators within comments.
10055 Use adaptive-fill-prefix when it works. Use comment-search-forward.
10057 * progmodes/compile.el (grep-default-command): New fun.
10059 (compilation-menu-map): New var.
10060 (compilation-minor-mode-map, compilation-shell-minor-mode-map): Use it.
10061 (compilation-mode-map): Simplify.
10062 (compilation-shell-minor-mode, compilation-minor-mode):
10063 Use define-minor-mode.
10065 * elide-head.el (elide-head): Don't make intangible.
10067 * help.el (where-is): Rename map to defs (a list of syms is not a map).
10068 Test fboundp first, to speed things up. Use push.
10070 * isearch.el (isearch-hidden): New var.
10071 (isearch-search-and-update): Test it.
10072 (isearch-range-invisible): Set it.
10074 * progmodes/tcl.el (tcl-mode): Don't set paragraph-start,
10075 paragraph-separate, comment-column, and fill-paragraph-function.
10076 Simplify outline-regexp.
10077 (tcl-do-fill-paragraph): Remove.
10079 2002-11-07 Markus Rost <rost@math.ohio-state.edu>
10081 * mail/sendmail.el (mail-default-directory): Set the version to 21.4.
10083 * progmodes/compile.el (grep-compute-defaults): Undo previous change.
10084 Definition moved down.
10085 (grep-command, grep-find-command, grep-tree-command): Allow value nil.
10086 Do not declare :get property.
10087 (grep-use-null-device): Fix type. Do not declare :get property.
10089 * emacs-lisp/checkdoc.el (checkdoc-find-error):
10090 Use get-file-buffer instead of get-buffer.
10092 * cus-dep.el (custom-make-dependencies): Fix comment inserted in
10095 2002-11-07 Juanma Barranquero <lektu@terra.es>
10097 * help.el (where-is): Report also aliases of the passed command.
10099 2002-11-06 Dave Love <fx@gnu.org>
10101 * simple.el (quoted-insert): Bind keyboard-translate-table around
10104 * international/ucs-tables.el: Use keyboard-translate-table coding
10105 system property, not translation-table-for-input, for
10106 vietnamese-viscii & al.
10107 (translation-table-for-input): Set,
10108 don't defvar, and make permanent-local.
10109 (ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859): Add/remove
10110 set-buffer-major-mode-hook, not quail-activate-hook.
10111 (ucs-set-table-for-input): Renamed from ucs-quail-activate.
10112 (ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859):
10113 Setup keyboard-translate-table, not translation-table-for-input.
10114 Modify set-buffer-major-mode-hook, not quail-activate-hook.
10115 (ucs-fragment-8859): Don't use translation-table-for-input coding
10117 (ucs-quail-activate): Deleted.
10118 (ucs-set-table-for-input): New.
10119 (ucs-minibuffer-setup): Use it.
10121 * international/quail.el (quail-input-string-to-events):
10122 Use keyboard-translate-table, not translation-table-for-input.
10124 * files.el (normal-mode): Call ucs-set-table-for-input.
10126 * international/mule.el (set-buffer-file-coding-system):
10127 Call ucs-set-table-for-input.
10129 2002-11-06 Richard M. Stallman <rms@gnu.org>
10131 * replace.el (query-replace, query-replace-regexp): Doc fixes.
10133 * emacs-lisp/bytecomp.el (byte-compile-lambda):
10134 Handle progn like let, inside interactive spec.
10136 * textmodes/tex-mode.el (tex-dvi-view-command): Value can be sexp.
10137 Initialize to a suitable sexp.
10138 (tex-view): Evaluate tex-dvi-view-command and use the value.
10140 2002-11-06 Kenichi Handa <handa@m17n.org>
10142 * international/mule.el (coding-system-eol-type-mnemonic):
10143 Use eol-mnemonic-undecided if CODING-SYSTEM is nil.
10145 2002-11-06 Kim F. Storm <storm@cua.dk>
10147 * info.el (Info-fontify-node): Fixed hiding of *note references
10148 with embedded file names like (xxx.yyy).
10149 Avoid making any lines visibly longer if hiding newlines inside
10150 note references by wrapping line after references if it contained
10151 a newline (unfortunaly this makes more lines appear "shorter").
10152 Properly reindent multi-line menu entry descriptions.
10154 2002-11-05 Juanma Barranquero <lektu@terra.es>
10156 * language/cyrillic.el ("Bulgarian"): Fix typo.
10158 * international/mule.el (coding-system-eol-type-mnemonic):
10159 Move from mule-util.el.
10161 * international/mule-util.el (coding-system-eol-type-mnemonic):
10164 2002-11-04 Juanma Barranquero <lektu@terra.es>
10166 * files.el (find-buffer-visiting): Accept new optional PREDICATE
10167 argument to return only a buffer that satisfies the predicate.
10168 (insert-file-1): New function.
10169 (insert-file-literally): Use it.
10170 (insert-file): Use it.
10172 2002-11-04 Robert Fenk <Robert.Fenk@gmx.de> (tiny change)
10174 * desktop.el (desktop-relative-file-names): New variable.
10175 (desktop-save): Use it.
10177 2002-11-03 Andre Spiegel <spiegel@gnu.org>
10179 * vc.el (vc-dired-mode): Adapt dired-move-to-filename-regexp to
10180 its current version in dired.el.
10182 2002-11-03 Stefan Monnier <monnier@cs.yale.edu>
10184 * emacs-lisp/autoload.el (generate-file-autoloads)
10185 (update-file-autoloads): Strip .gz and other such extensions.
10186 (update-autoloads-from-directories): Also consider compressed files.
10188 * info.el (Info-streamline-headings): New var.
10189 (Info-dir-remove-duplicates): New fun.
10190 (Info-insert-dir): Use it. Simplify the code with push,mapc,dolist.
10191 (Info-select-node): Simplify handling of Info-header-line.
10192 (Info-forward-node): Undo 2000/12/15 since we don't narrow any more.
10193 (Info-mode): Set header-line-format once and for all.
10194 (Info-fontify-node): Accept bogus first line with `File:' missing.
10195 Only make first line invisible if Info-use-header-line.
10196 Don't use `intangible': it's evil. Use inhibit-read-only.
10197 (Info-follow-reference, Info-next-reference, Info-prev-reference)
10198 (Info-try-follow-nearest-node): Don't bind inhibit-point-motion-hooks
10199 since we don't use intangible any more.
10201 * image.el (insert-image): Don't make intangible since
10202 adjust_point_for_property should be sufficient by default.
10204 2002-11-02 Stefan Monnier <monnier@cs.yale.edu>
10206 * textmodes/fill.el (fill-paragraph-handle-comment): New var.
10207 (fill-comment-paragraph): New fun (generalizes of lisp-fill-paragraph).
10208 (fill-paragraph): Use them.
10210 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph):
10211 Use fill-comment-paragraph.
10213 2002-11-02 Stefan Monnier <monnier@cs.yale.edu>
10215 * bindings.el (mode-line-change-eol)
10216 (mode-line-eol-desc-cache, mode-line-eol-desc): New.
10217 (mode-line-mule-info): Use them for the EOL part of the modeline.
10219 * server.el (server-sentinel): Kill buffers if applicable.
10220 (server-temp-file-p): Make arg optional.
10221 (server-done): Use it to simplify.
10222 (server-switch-buffer): If server-window is a function, use it.
10224 * mail/undigest.el (rmail-digest-end-regexps): Simplify.
10225 (undigestify-rmail-message): Fix paren-bug and simplify.
10227 2002-11-02 Kim F. Storm <storm@cua.dk>
10229 * info.el (Info-hide-note-references): nil value now does no
10230 reformatting at all. New choice 'tag reformats tag but shows
10231 the section reference.
10232 (Info-fontify-node): Use it.
10234 2002-11-01 Stefan Monnier <monnier@cs.yale.edu>
10236 * textmodes/tex-mode.el (tex-common-initialization):
10237 comment-start-skip shouldn't match on the next line.
10239 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Use match-string.
10240 Don't bother making paragraph-start a superset of paragraph-separate.
10241 Use line-beginning-position.
10243 * textmodes/sgml-mode.el (sgml-skip-tag-backward)
10244 (sgml-skip-tag-forward): Deal with xml-style <foo/> empty tags.
10246 2002-11-01 Kim F. Storm <storm@cua.dk>
10248 * info.el (Info-hide-note-references): New defcustom.
10249 (Info-fontify-node): Use it.
10251 2002-10-31 Kim F. Storm <storm@cua.dk>
10253 * shell.el (explicit-bash-args): Bash 1.x doesn't grok
10254 --noediting option; added run-time check to exclude it.
10256 * info.el (Info-follow-reference, Info-next-reference)
10257 (Info-prev-reference, Info-try-follow-nearest-node):
10258 Bind inhibit-point-motion-hooks to t while parsing reference.
10259 (Info-fontify-node): When font-lock-mode is enabled, display
10260 "*note" and "* menu" references in a more user friendly format.
10262 2002-10-30 Stefan Monnier <monnier@cs.yale.edu>
10264 * textmodes/fill.el (fill-move-to-break-point): Skip white space
10265 _before_ checking to see if we're hitting the margin.
10266 (fill-region-as-paragraph): Don't fiddle with the undo-list any more:
10267 it's now done by the C primitives. Don't use narrowing.
10268 Reorganize the line-breaking part of the code to simplify the control
10269 flow and make it work in the absence of narrowing.
10270 (fill-region): Don't use narrowing.
10272 2002-10-30 Dave Love <fx@gnu.org>
10274 * textmodes/po.el (po-content-type-charset-alist): Delete most entries.
10275 (po-find-charset): Doc fix. Remove interactive spec.
10277 (po-find-file-coding-system-guts): Re-written to use
10278 coding-system-alist, and code-pages, not codepage stuff.
10280 * term/x-win.el: Remove some ancient compatibility code.
10281 Populate x-keysym-table.
10283 2002-10-30 Andreas Schwab <schwab@suse.de>
10285 * subr.el (replace-regexp-in-string): Doc fix.
10287 2002-10-29 Dave Love <fx@gnu.org>
10289 * cus-start.el (selection-coding-system, scalable-fonts-allowed): Add.
10291 * progmodes/scheme.el (syntax-case): Define scheme-indent-function.
10293 * international/mule-conf.el: Doc fixes.
10295 2002-10-29 Richard M. Stallman <rms@gnu.org>
10297 * server.el (server-switch-buffer): Say when no server buffers remain.
10299 * net/goto-addr.el (goto-address-url-regexp): Don't match `mailto'.
10301 2002-10-28 Masayuki Ataka <ataka@milk.freemail.ne.jp> (tiny change)
10303 * progmodes/make-mode.el (makefile-warn-continuations):
10304 Call re-search-forward with NOERROR t.
10306 2002-10-29 Kim F. Storm <storm@cua.dk>
10308 * ido.el (ido-wide-find-dirs-or-files): Fixed problem that caused
10309 incomplete list of matches to be returned.
10311 2002-10-29 Masayuki Ataka <ataka@milk.freemail.ne.jp> (tiny change)
10313 * textmodes/texinfo.el (texinfo-environments): Add environment;
10314 copying, documentdescription, ifplaintext, ifnotplaintext, and
10317 * textmodes/texinfmt.el (texinfo-format-ifplaintext): New function.
10318 (ifplaintext, ifnotplaintext)
10319 (afourpaper, afivepaper, afourlatex, afourwide)
10320 (documentlanguage, documentencoding): New aliases.
10322 2002-10-29 John Paul Wallington <jpw@shootybangbang.com>
10324 * ibuffer.el (ibuffer-mouse-popup-menu): Set point before popping
10325 up filter groups menu. Preserve point unless a menu command has
10326 moved it from point clicked.
10328 2002-10-29 David Kastrup <dak@lola.goethe.zz>
10330 * calc/calc.el (calc-any-evaltos): Initialize to nil, since
10331 calc-refresh-evaltos appears to need this.
10333 2002-10-28 Dave Love <fx@gnu.org>
10335 * international/mule-diag.el (non-iso-charset-alist): Move to
10336 avoid compilation warning.
10337 (mule-diag): Provide.
10339 * international/code-pages.el (cp-make-coding-system):
10340 Use utf-translation-table-for-decode, not
10341 utf-8-translation-table-for-decode.
10342 (mule-diag): Require.
10344 * language/thai-util.el (thai-composition-function): Don't use prog1.
10346 * language/lao-util.el (lao-composition-function): Don't use prog1.
10348 * language/european.el (diacritic-composition-function):
10349 Modify confused prog1 form.
10351 * international/quail.el (quail-keyboard-layout-alist): Fix pc105-uk.
10352 (quail-keyboard-layout): Customize.
10353 Move after quail-keyboard-layout-alist.
10355 2002-10-28 Miles Bader <miles@gnu.org>
10357 * progmodes/make-mode.el (makefile-warn-continuations):
10358 Don't barf when there _aren't_ any suspicious continuations.
10360 2002-10-28 Matthew Swift <swift@alum.mit.edu>
10362 * progmodes/compile.el (grep-find-use-xargs): Fix docstring.
10364 2002-10-27 Michael Kifer <kifer@cs.stonybrook.edu>
10366 * ediff-wind.el (ediff-control-frame-parameters): Add scrollbar-height.
10368 2002-10-27 Andreas Schwab <schwab@suse.de>
10370 * progmodes/sh-script.el (sh-mode-syntax-table): Don't make ^L
10371 end-of-comment syntax.
10373 2002-10-27 Kim F. Storm <storm@cua.dk>
10375 * ido.el (ido-cannot-complete-command): New defcustom, default to
10376 ido-completion-help (similar to iswitchb-cannot-complete-hook).
10377 (ido-complete): Call value of ido-cannot-complete-command rather
10378 than ido-completion-help when no common completion.
10380 2002-10-27 Dave Love <fx@gnu.org>
10382 * international/code-pages.el (iso-8859-11): New.
10384 2002-10-27 Kim F. Storm <storm@cua.dk>
10386 * pcvs.el (cvs-checkout): Use read-directory-name.
10387 (cvs-query-directory): Likewise.
10389 2002-10-26 Richard M. Stallman <rms@gnu.org>
10391 * progmodes/make-mode.el (makefile-cleanup-continuations):
10392 Default for variable is nil.
10393 (makefile-warn-continuations): New function.
10394 (makefile-mode): Put it on write-file-functions.
10396 * international/mule-cmds.el (select-safe-coding-system):
10397 Delete debugging setq.
10399 * shell.el (shell): Look for .emacs_SHELL under ~/.emacs.d
10400 after looking in ~.
10402 * startup.el (command-line): Look for .emacs under ~/.emacs.d
10403 after looking in ~.
10405 * simple.el (toggle-truncate-lines): When turning off truncation,
10406 clear out the hscroll value in this buffer's windows.
10408 * simple.el (display-message-or-buffer): Don't display empty
10409 output in the echo area.
10411 * man.el (Man-default-man-entry): Don't look for all word chars,
10412 look only for characters that are normally part of a shell command.
10414 * gud.el (gdb): Pass default-directory to GDB via -cd option.
10416 * font-lock.el (c++-font-lock-keywords...): Add `restrict' keyword.
10418 * find-file.el (ff-find-related-file): Fix autoload cookie.
10420 * emacs-lisp/unsafep.el (unsafep-variable): Pass second arg to
10421 risky-local-variable-p.
10423 * files.el (risky-local-variable-p): VAL=nil has special meaning.
10425 * Makefile.in (compile-always): Avoid error in old Bash versions.
10427 2002-10-26 John Paul Wallington <jpw@shootybangbang.com>
10429 * textmodes/picture.el (picture-mouse-set-point): New command.
10430 (picture-mode-map): Bind it.
10431 (picture-motion-reverse): Doc fix.
10433 2002-10-25 Stefan Monnier <monnier@cs.yale.edu>
10435 * textmodes/outline.el (outline-next-heading): Make sure the match-data
10436 is really correct where returning.
10438 2002-10-24 Matthew Swift <swift@alum.mit.edu>
10440 * textmodes/outline.el (outline-minor-mode): Add customization group.
10442 2002-10-23 Richard M. Stallman <rms@gnu.org>
10444 * files.el (risky-local-variable-p): New arg VAL.
10445 (compile-command): Use `stringp' for `safe-local-variable' prop.
10446 (hack-one-local-variable): Pass VAL to `risky-local-variable-p'.
10448 2002-10-23 Francis J. Wright <F.J.Wright@qmul.ac.uk>
10450 * woman.el (woman-version): Update to 0.551 (beta).
10451 (woman-parse-colon-path): Add support for current Cygwin mount
10453 (woman-Cyg-to-Win): New function to convert absolute filename from
10454 Cygwin to Windows form by executing external program cygpath if
10456 (woman-man.conf-path): Update default to current common locations
10457 and to support Cygwin; update documentation.
10458 (woman-parse-man.conf): Generalize regexp to "man.*\\.conf" to
10459 match possible names of man.conf file; tidy code and documentation.
10460 (woman-manpath): Simplify default and documentation; essentially
10461 move code that was here into `woman-parse-colon-path'.
10462 (woman-default-indent): Change Linux to GNU in documentation.
10463 (woman-addition-face): Make documentation consistent with other
10465 (woman-emulate-tbl): New variable, determines whether tbl
10466 emulation is required.
10467 (woman-decode-region): Add check for preprocessor requests.
10468 (woman0-process-escapes, woman-special-characters)
10469 (woman-get-next-char, woman-parse-numeric-value): Add support for
10470 long groff names of the form [xxx].
10471 (woman-strings, woman-change-fonts): Now call `woman-match-name'.
10472 (woman2-PD, woman2-na): Doc fix.
10473 (woman-match-name): New function.
10474 (woman2-TS): New function.
10475 (woman2-TE): New alias for `woman2-fi'.
10477 2002-10-23 Kim F. Storm <storm@cua.dk>
10479 * ido.el (ido-restrict-to-matches): New command.
10480 (ido-define-mode-map): Bind it to C-SPC and C-@ in ido-mode-map.
10482 2002-10-22 Bob Halley <halley@play-bow.org> (tiny change)
10484 * eshell/esh-io.el (eshell-set-output-handle): Fix so that
10485 multiple redirection can work.
10487 2002-10-21 Stefan Monnier <monnier@cs.yale.edu>
10489 * ielm.el (inferior-emacs-lisp-mode): If hexl not found, use cat.
10490 Don't hardcode point-min == 1.
10492 * hexl.el (hexl-mode-old-write-contents-hooks): Remove.
10493 (hexl-mode, hexl-current-address, hexl-address-to-marker)
10494 (hexl-insert-char): Don't hardcode point-min == 1.
10495 (hexl-isearch-search-function): New fun.
10496 (hexl-mode-old-isearch-search-fun-function): New var.
10497 (hexl-mode): Use them.
10498 (hexl-mode, hexl-mode-exit, hexl-maybe-dehexlify-buffer):
10499 Use write-contents-functions rather then write-contents-hooks.
10501 * textmodes/text-mode.el (text-mode-syntax-table): Make ' a prefix.
10502 (paragraph-indent-text-mode-abbrev-table)
10503 (paragraph-indent-text-mode-syntax-table): Remove.
10504 (paragraph-indent-text-mode): Use the :abbrev and :syntax-table args.
10506 2002-10-21 Juanma Barranquero <lektu@terra.es>
10508 * eshell/esh-util.el (directory-files-and-attributes): Copy docstring
10509 from Emacs 21. Arg DIR renamed to DIRECTORY for consistency.
10511 2002-10-20 Andreas Schwab <schwab@suse.de>
10513 * apropos.el (apropos-group): Use customize-group-other-window.
10515 2002-10-18 Stefan Monnier <monnier@rum.cs.yale.edu>
10517 * progmodes/perl-mode.el (perl-mode-syntax-table): Change $ back
10518 to just "/" instead of "/ p".
10519 (perl-font-lock-syntactic-keywords): Use ". p" for the `$'.
10521 2002-10-18 Juanma Barranquero <lektu@terra.es>
10523 * textmodes/artist.el (artist-ff-is-bottommost-line): Fix misplaced
10524 ELSE expression on IF.
10526 2002-10-17 Juanma Barranquero <lektu@terra.es>
10528 * align.el (align-rules-list, align-exclude-rules-list): Fix typos.
10530 * subr.el (remq): Likewise.
10532 * vc-cvs.el (vc-cvs-sticky-tag-display): Likewise.
10534 * vc-hooks.el (vc-insert-file): Likewise.
10536 * vcursor.el (vcursor-other-window): Likewise.
10538 * wid-edit.el (widget-choose): Likewise.
10540 * calendar/diary-lib.el (diary-name-pattern): Likewise.
10542 * emacs-lisp/elint.el (elint-error, elint-warning): Likewise.
10544 * emacs-lisp/lisp.el (beginning-of-defun): Likewise.
10546 * emulation/edt-mapper.el (top-level): Likewise.
10548 * eshell/esh-var.el (eshell/define): Likewise.
10550 * mail/feedmail.el (feedmail-nuke-body-in-fcc)
10551 (feedmail-queue-draft-directory): Likewise.
10553 * net/netrc.el (netrc-parse): Likewise.
10555 * obsolete/cplus-md.el (c++-empty-arglist-indent): Likewise.
10557 * progmodes/ebrowse.el (ebrowse-ts)
10558 (ebrowse-view/find-file-and-search-pattern)
10559 (ebrowse-draw-file-member-info): Likewise.
10561 * progmodes/idlwave.el (idlwave-region-active-p): Likewise.
10563 * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
10565 * progmodes/sh-script.el (sh-indent-for-then): Likewise.
10567 * textmodes/bibtex.el (bibtex-find-entry-location): Likewise.
10569 * textmodes/sgml-mode.el (sgml-close-tag, html-imenu-index): Likewise.
10571 2002-10-17 Dave Love <fx@gnu.org>
10573 * international/mule-diag.el (non-iso-charset-alist): Add koi8-u.
10575 * international/code-pages.el (cp-make-translation-table): Use
10576 ucs-mule-to-mule-unicode.
10577 (cp-fix-safe-chars): Fix typo.
10578 (non-iso-charset-alist): Don't define.
10579 (cp-make-coding-system): Use utf-8-translation-table-for-decode.
10580 Define translation-table-for-input.
10581 (cp866): Reinstate.
10582 (alternativnj): Don't define alias.
10585 * language/european.el ("Slovenian"): Use slovenian input-method.
10586 (encode-mac-roman): Use ucs-mule-to-mule-unicode.
10588 * language/cyrillic.el (cyrillic-alternativnyj-decode-table): Fix
10590 (cyrillic-alternativnyj): Don't give it `mime-charset' property.
10591 (cp866): Delete this alias.
10592 ("Bulgarian"): Fix the value of `input-method'.
10594 2002-10-16 Luc Teirlinck <teirllm@mail.auburn.edu>
10596 * dired-aux.el (dired-add-entry): Put point in correct position
10597 before inserting marker char.
10599 2002-10-16 Andreas Schwab <schwab@suse.de>
10601 * dired.el (dired-readin-insert): Expand dired-directory.
10603 * dired-aux.el (dired-insert-subdir-doinsert): Preserve point.
10605 2002-10-16 Markus Rost <rost@math.ohio-state.edu>
10607 * textmodes/reftex-vars.el: Move reftex-set-dirty here from
10608 reftex.el. Move the provide call to end of file.
10610 * textmodes/reftex.el: Move reftex-set-dirty to reftex-vars.el.
10612 2002-10-15 Dave Love <fx@gnu.org>
10614 * man.el (Man-getpage-in-background): Set width in environment.
10616 2002-10-15 Kenichi Handa <handa@m17n.org>
10618 * mail/sendmail.el (sendmail-send-it): Call
10619 select-message-coding-system before changing the current bufer to
10622 2002-10-14 Andre Spiegel <spiegel@gnu.org>
10624 * files.el (insert-directory): Handle //SUBDIRED// lines in
10625 recursive listings from ls --dired.
10627 * vc.el (vc-dired-reformat-line): Simplified. Handles text
10628 properties correctly now.
10630 2002-10-14 Juanma Barranquero <lektu@terra.es>
10632 * international/mule.el (set-selection-coding-system): Fix spacing.
10634 2002-10-13 Richard M. Stallman <rms@gnu.org>
10636 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
10637 Treat `ignore' specially--prevent warnings about functions
10638 called for effect, in its args.
10639 Don't warn when `pop' is used for effect.
10641 * emacs-lisp/autoload.el (autoload-print-form): Cleanup.
10643 * uniquify.el (uniquify-get-proposed-name):
10644 Don't use directory-sep-char.
10646 * thingatpt.el (read-from-whole-string): Add call to `ignore'.
10648 * find-file.el (ff-related-file-alist): New alias.
10649 (ff-find-related-file): New alias.
10651 2002-10-13 Andreas Schwab <schwab@suse.de>
10653 * dired.el (dired-insert-directory): When looking for existing
10654 indentation, goto OPOINT instead of beginning of buffer.
10656 2002-10-12 Stefan Monnier <monnier@cs.yale.edu>
10658 * cus-dep.el (custom-make-dependencies): Ignore preloaded files.
10660 2002-10-12 Michael Kifer <kifer@cs.stonybrook.edu>
10662 * ediff-init.el (ediff-frame-char-height): Use frame-selected-window.
10664 * ediff-util.el (ediff-file-checked-in-p): Changed progn with and.
10666 * ediff-wind.el (ediff-skip-unsuitable-frames): Distinguish selected
10667 frame from frame of selected window.
10668 (ediff-frame-has-dedicated-windows): Don't select any frames to avoid
10669 changing selected windows.
10670 (ediff-setup-control-frame): Make sure auto-rase is properly set for
10673 2002-10-10 Simon Josefsson <jas@extundo.com>
10675 * browse-url.el (browse-url-mozilla): Doc fix.
10677 2002-10-10 Steve Youngs <youngs@xemacs.org>
10679 * browse-url.el (browse-url-mozilla-new-window-is-tab): New.
10680 (browse-url-mozilla): Use it.
10682 2002-10-11 Miles Bader <miles@gnu.org>
10684 * vc-cvs.el (vc-cvs-parse-entry): Don't barf when an `Entries'
10685 files contains an invalid timestamp.
10687 2002-10-11 Simon Josefsson <jas@extundo.com>
10689 * mail/sendmail.el (mail-envelope-from): New option `header' to
10690 use RFC 2822 From: header as the envelope address.
10691 (mail-envelope-from): New function, this should be used instead of
10692 looking at the `mail-envelope-from' variable.
10693 (sendmail-send-it): Use it.
10695 * mail/smtpmail.el (smtpmail-via-smtp): Use it.
10697 2002-10-11 Andre Spiegel <spiegel@gnu.org>
10699 * dired.el (dired-insert-directory): Fix check for indentation
10702 * vc.el (vc-dired-reformat-line): As a temporary fix, remove all text
10703 properties from the reformatted line.
10705 2002-10-10 Stefan Monnier <monnier@cs.yale.edu>
10707 * textmodes/paragraphs.el (forward-paragraph): Keep track of
10708 remaining paragraphs to skip more carefully.
10710 * add-log.el (add-change-log-entry): Don't call find-file at all
10711 if we're already in the proper buffer.
10712 (change-log-resolve-conflict): New fun.
10713 (change-log-mode): Use it and use define-derived-mode.
10714 (change-log-merge): Allow other-log to be a buffer.
10715 Don't add a \n if there are already enough \n's.
10717 * finder-inf.el, subdirs.el, cus-load.el: Remove.
10719 * finder.el ("finder-inf"): Don't fail if the file is absent.
10721 * cus-dep.el (custom-make-dependencies): Don't use find-file.
10722 Use feature names rather than file names if applicable.
10724 * cus-edit.el (customize-mode): New command.
10726 * custom.el (custom-group-of-mode): New fun.
10727 (custom-load-symbol): Don't use preloaded-file-list now that
10728 load-history is always complete. Don't look up the expanded file
10729 name in load-history (looked like an XEmacsism).
10731 * smerge-mode.el (smerge-ediff): Autoload.
10732 (smerge-match-conflict): Don't assume as much about smerge-begin-re.
10733 (smerge-resolve-function): New var.
10734 (smerge-resolve): New command.
10735 (smerge-basic-map): Bind it.
10737 2002-10-10 Andre Spiegel <spiegel@gnu.org>
10739 * vc-cvs.el (vc-cvs-parse-entry): Parse the time stamp found in
10740 CVS/Entries, rather than comparing it textually.
10742 2002-10-10 Markus Rost <rost@math.ohio-state.edu>
10744 * international/encoded-kb.el: Add `provide' call.
10746 2002-10-09 David Kastrup <David.Kastrup@t-online.de>
10748 * calc/calc-alg.el (calcFunc-ln): In symbolic manipulations,
10749 ln(-1) should be i*pi, not pi.
10751 2002-10-09 Markus Rost <rost@math.ohio-state.edu>
10753 * vc-cvs.el (vc-cvs-registered): In the autoload version use load
10754 instead of require to avoid loops when loaddefs.el is loaded after
10757 * cus-edit.el (Custom-reset-current): Don't test for default-boundp.
10758 (Custom-reset-saved): Don't test for saved-value.
10760 2002-10-08 Stefan Monnier <monnier@cs.yale.edu>
10762 * vc.el (vc-find-version): Use the new backend op `find-version'.
10763 (vc-default-find-version): Provide the new backend op `find-version'
10764 in terms of the old `checkout' op.
10766 * vc-rcs.el (vc-rcs-find-version): New fun.
10767 (vc-rcs-checkout): Remove `workfile' arg and simplify.
10769 * vc-sccs.el (vc-sccs-find-version): New fun.
10770 (vc-sccs-checkout): Remove `workfile' arg and simplify.
10772 * vc-cvs.el (vc-cvs-find-version): New fun.
10774 2002-10-08 John Paul Wallington <jpw@shootybangbang.com>
10776 * info.el (Info-next-menu-item, Info-last-menu-item)
10777 (info-emacs-manual): Add docstrings.
10778 (Info-index): Use `string-to-number' instead of `string-to-int'.
10780 2002-10-08 Kenichi Handa <handa@m17n.org>
10782 * international/ucs-tables.el (ucs-translation-table-for-decode):
10783 Define it as a translation-table.
10785 2002-10-07 Richard M. Stallman <rms@gnu.org>
10787 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10789 * progmodes/compile.el (grep-compute-defaults): Set the standard-value
10790 properties of the variables being initialized.
10792 * thingatpt.el (thing-at-point-url-path-regexp): Doc fix.
10794 2002-10-07 Kim F. Storm <storm@cua.dk>
10796 * emulation/cua-base.el (cua-normal-cursor-color):
10797 Fixed initialization to make "Erase Customization" work.
10799 2002-10-07 Stefan Monnier <monnier@cs.yale.edu>
10801 * vc.el (vc-maybe-resolve-conflicts): Always call vc-resolve-conflicts
10802 in case some other package redefined it.
10803 (vc-resolve-conflicts): Make it into an alias for smerge-ediff.
10805 * textmodes/fill.el (fill-paragraph): Go to BOL before calling
10806 forward-paragraph to make sure its return value is meaningful.
10808 2002-10-06 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10810 * net/tramp.el: Version 2.0.25 released.
10811 (tramp-handle-file-truename): If it's a directory,
10812 append slash only if result doesn't end in a slash already.
10813 (tramp-handle-file-truename): Restructure logic. If list of steps
10814 is nil, return "/" as the real name.
10815 (tramp-completion-mode): Add "\\(" and "\\)". Otherwise,
10816 `match-string' doesn't make sense. From Michael Albinus.
10817 (tramp-host-with-port-regexp): New defcustom. Equal to previous
10818 `tramp-host-regexp'. From Michael Albinus.
10819 (tramp-host-regexp): Taken off hashes in host names. Otherwise,
10820 scanning files like .rhosts would take comments as host names.
10821 From Michael Albinus.
10822 (tramp-file-name-structure, tramp-multi-file-name-hop-structure):
10823 Replace `tramp-host-regexp' by `tramp-host-with-port-regexp'.
10824 From Michael Albinus.
10825 (tramp-action-terminal): New function.
10826 (tramp-terminal-prompt-regexp): New variable, matches "tset" prompts.
10827 (tramp-actions-before-shell): Use them.
10828 (tramp-handle-shell-command): Logic error. From Ivan
10829 Zakharyaschev <imz@altlinux.org>.
10831 2002-10-06 Markus Holmberg <markush@acc.umu.se> (tiny change)
10833 * thingatpt.el (thing-at-point-uri-schemes): New variable.
10834 (thing-at-point-url-regexp): Use it.
10836 2002-10-06 Glenn Morris <gmorris@ast.cam.ac.uk>
10838 * progmodes/fortran.el (fortran-beginning-do): Ignore labelled DO
10841 2002-10-05 Stefan Monnier <monnier@cs.yale.edu>
10843 * vc.el (vc-log-mode-map): Explicitly inherit from text-mode.
10844 (vc-maybe-resolve-conflicts): Don't check smerge-mode and smerge-ediff.
10845 (vc-print-log): Don't check log-view-mode.
10846 (vc-default-show-log-entry): Don't check log-view-goto-rev.
10847 (vc-log-mode): Remove.
10848 (vc-log-edit): Don't check log-edit.
10850 2002-10-04 Stefan Monnier <monnier@cs.yale.edu>
10852 * vc-cvs.el (vc-cvs-show-log-entry):
10853 * vc-rcs.el (vc-rcs-show-log-entry): Delete.
10855 * smerge-mode.el (smerge-ediff): Add name-{mine,other,base} args.
10857 2002-10-04 Markus Rost <rost@math.ohio-state.edu>
10859 * vc.el (vc-default-show-log-entry): Fix typo.
10861 2002-10-04 Steven Tamm <steventamm@mac.com>
10863 * term/mac-win.el: Add lines to handle the new [return] event.
10865 2002-10-03 Stefan Monnier <monnier@cs.yale.edu>
10867 * textmodes/fill.el (fill-paragraph): Give up if there's no
10868 paragraph at or after point.
10870 * textmodes/paragraphs.el (forward-paragraph): Return the steps left.
10872 * vc.el (vc-print-log): Unconditionally use `show-log-entry'.
10873 (vc-default-show-log-entry): New fun.
10875 * subr.el (read-key-auxiliary-map, read-key): Remove.
10876 (read-quoted-char): Undo the `read-key' change of 2002-06-23.
10878 2002-10-03 Markus Rost <rost@math.ohio-state.edu>
10880 * progmodes/ada-stmt.el (ada-stmt-add-to-ada-menu): Handle the
10881 menu pseudo-keys generated by easymenu which are lowercase in
10884 * progmodes/ada-xref.el
10885 (ada-xref-update-project-menu,ada-add-ada-menu): Ditto.
10887 2002-10-03 John Paul Wallington <jpw@shootybangbang.com>
10889 * frame.el (delete-frame-hook): Variable alias for
10890 `delete-frame-functions'. Mark obsolete.
10892 2002-10-02 Stefan Monnier <monnier@cs.yale.edu>
10894 * textmodes/outline.el (outline-1, outline-2, outline-3, outline-4)
10895 (outline-5, outline-6, outline-7, outline-8): New faces.
10896 (outline-font-lock-faces, outline-font-lock-levels): New vars.
10897 (outline-font-lock-face): New fun.
10898 (outline-font-lock-keywords): Use it.
10899 (outline-font-lock-level): Remove.
10900 (outline-mode, outline-next-preface, outline-next-heading)
10901 (outline-previous-heading, outline-next-visible-heading):
10903 (outline-level) <var>: Update calling convention.
10904 (outline-level) <fun>: Take advantage of it.
10905 (outline-demote): Don't assume the match-data is still uptodate.
10906 (outline-up-heading): Simplify and make sure the match data is
10907 properly set at the end.
10909 2002-10-02 Markus Rost <rost@math.ohio-state.edu>
10911 * progmodes/sh-script.el (sh-alias-alist): Use append instead of
10914 * startup.el (normal-top-level): Reset standard-value property of
10915 `user-full-name' here.
10917 2002-10-02 Per Abrahamsen <abraham@dina.kvl.dk>
10919 * wid-edit.el (widget-default-get): Change to return external
10921 (widget-choice-action): Update caller.
10922 (widget-editable-list-entry-create): Update caller.
10924 * wid-edit.el (widget-types-copy): New function.
10925 (default): Added :copy keyword.
10926 (menu-choice): Ditto.
10927 (checklist): Ditto.
10928 (radio-button-choice): Ditto.
10929 (editable-list): Ditto.
10931 (widget-copy): New function.
10932 (widget-create-child): Use it.
10933 (widget-create-child-value): Use it.
10935 2002-10-01 Bill Wohler <wohler@newt.com>
10937 * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
10938 mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el,
10939 mail/mh-utils.el, mail/mh-xemacs-compat.el, mail/reply2.pbm,
10940 mail/reply2.xpm, toolbar/execute.pbm, toolbar/execute.xpm,
10941 toolbar/page-down.pbm, toolbar/page-down.xpm, toolbar/refile.pbm,
10942 toolbar/refile.xpm, toolbar/repack.pbm, toolbar/repack.xpm,
10943 toolbar/rescan.pbm, toolbar/rescan.xpm, toolbar/show.pbm,
10944 toolbar/show.xpm, toolbar/widen.pbm, toolbar/widen.xpm:
10945 Upgraded to mh-e version 6.1.1. Full ChangeLog available in
10946 http://prdownloads.sourceforge.net/mh-e/mh-e-6.1.tgz?download .
10947 There were no user-visible changes in 6.1.1 from 6.1--only the
10948 section of the Makefile that installs the files into Emacs was changed.
10950 2002-10-01 Stefan Monnier <monnier@cs.yale.edu>
10952 * pcvs.el (cvs-mode-find-file): Look up font-lock-face so it also
10953 works when font-lock is turned off.
10955 * jit-lock.el (jit-lock-fontify-now): Don't widen.
10956 Let the jit-lock-functions do it if they want to.
10958 2002-10-01 Juanma Barranquero <lektu@terra.es>
10960 * eshell/esh-module.el (eshell-load-defgroups):
10961 Add "no-byte-compile: t" to subdirs.el.
10963 * makefile.w32-in (update-subdirs-CMD): Likewise.
10971 * international/mule-conf.el:
10972 * language/czech.el:
10973 * language/devanagari.el:
10974 * language/english.el:
10975 * language/georgian.el:
10976 * language/greek.el:
10977 * language/hebrew.el:
10978 * language/japanese.el:
10979 * language/korean.el:
10981 * language/misc-lang.el:
10982 * language/romanian.el:
10983 * language/slovak.el:
10984 * language/thai.el:
10985 * language/utf-8-lang.el:
10986 * emacs-lisp/cl-specs.el:
10987 * eshell/esh-maint.el:
10988 * mail/blessmail.el:
10993 * term/internal.el:
10994 * term/iris-ansi.el:
11009 * term/wyse50.el: Add "no-byte-compile: t" in first line.
11011 2002-10-01 Kenichi Handa <handa@m17n.org>
11013 * international/utf-16.el: Don't provide utf-16.
11015 * international/utf-8.el (ccl-decode-mule-utf-8):
11016 Remove unnecessary line.
11018 2002-09-30 Kenichi Handa <handa@m17n.org>
11020 * language/thai.el (thai-tis620): Add `mime-charset' property.
11022 * language/indian.el: Don't register "ISO10646.*-1" in
11023 font-ccl-encoder-alist.
11025 * language/cyrillic.el (ccl-decode-koi8): Refer to
11026 ucs-translation-table-for-decode.
11027 (ccl-decode-koi8-u): Likewise.
11028 (ccl-decode-alternativnyj): Likewise.
11029 (cyrillic-koi8): Put `dependency' property.
11030 (koi8-u): Likewise.
11031 (cyrillic-alternativnyj): Likewise.
11033 * international/utf-8.el (ucs-mule-to-mule-unicode): Don't define
11034 this translation-table name here.
11035 (utf-translation-table-for-encode): New translation-table name.
11036 (utf-fragmentation-table): Renamed from utf-8-fragmentation-table.
11037 (utf-defragmentation-table): New variable.
11038 (ucs-mule-cjk-to-unicode): Renamed from utf-8-subst-rev-table.
11039 (utf-subst-table-for-encode): New translation-table name.
11040 (ucs-unicode-to-mule-cjk): Renamed from utf-8-subst-table.
11041 (utf-subst-table-for-decode): New translation-table name.
11042 (utf-fragment-on-decoding): Renamed from
11043 utf-8-fragment-on-decoding. Correctly handle the case that
11044 unify-8859-on-encoding-mode is off. Handle mule-utf-16-le and
11045 mule-utf-16-be too.
11046 (utf-translate-cjk): Renamed from utf-8-translate-cjk.
11047 Handle mule-utf-16-le and mule-utf-16-be too.
11048 (ccl-decode-mule-utf-8): Refer to utf-translation-table-for-decode
11049 and utf-subst-table-for-decode.
11050 (ccl-encode-mule-utf-8): Refer to utf-translation-table-for-encode
11051 and utf-subst-table-for-encode.
11052 (mule-utf-8): Fix `safe-charsets' property, put `dependency' property.
11054 * international/utf-8-subst.el: Setup ucs-unicode-to-mule-cjk and
11055 ucs-mule-cjk-to-unicode, not utf-8-subst-table and
11056 utf-8-subst-rev-table.
11058 * international/utf-16.el (utf-16-decode-ucs): Look up
11059 utf-subst-table-for-decode. Fix for the case that the looking up
11061 (ccl-decode-mule-utf-16-le): Translate characters by
11062 utf-translation-table-for-decode.
11063 (ccl-decode-mule-utf-16-be): Likewise.
11064 (ccl-encode-mule-utf-16-le): Look up utf-subst-table-for-encode
11065 at first. Translate characters by utf-translation-table-for-encode.
11066 (ccl-encode-mule-utf-16-be): Likewise.
11067 (mule-utf-16-le, mule-utf-16-be): Add `dependency' property.
11069 * loadup.el: Preload international/utf-16. Don't call ucs-unify-8859.
11071 * international/ucs-tables.el: Don't bind
11072 utf-8-translation-table-for-decode while setting up
11073 ucs-mule-8859-to-ucs-table, etc. Add `depenency' property to
11074 iso-8859-* coding systems.
11075 (ucs-unify-8859): Arguments changed to FOR-ENCODE and FOR-DECODE.
11076 If FOR-DECODE is non-nil, make ucs-mule-8859-to-mule-unicode
11077 populate the translation table named
11078 ucs-translation-table-for-decode. If FOR-ENCODE is non-nil, make
11079 ucs-mule-to-mule-unicode populates the translation table named
11080 utf-translation-table-for-encode. Call register-char-codings for
11081 mule-utf-16-be and mule-utf-16-le too.
11082 (ucs-fragment-8859): Arguments changed to FOR-ENCODE and
11083 FOR-DECODE. If FOR-DECODE is non-nil, make the translation table
11084 named ucs-translation-table-for-decode vacant. If FOR-ENCODE is
11085 non-nil, make a proper char-table populates the translation table
11086 name utf-translation-table-for-encode. Call register-char-codings
11087 for all mule-utf-* to to reset their status to the origianl.
11088 (unify-8859-on-encoding-mode): Call ucs-unify-8859 and
11089 ucs-fragment-8859 with fixed arguments. Set the version to 21.3.
11090 (unify-8859-on-decoding-mode): Likewise. Remove dependency.
11091 (ccl-encode-unicode-font): Delete.
11092 (ucs-tables-unload-hook): Delete.
11094 * international/mule.el (decode-char): Refer to the translation
11095 hash table named utf-subst-table-for-decode. Refer to the
11096 translation table named utf-translation-table-for-decode instead
11097 of utf-8-translation-table-for-decode.
11098 (encode-char): Refer to the translation hash table named
11099 utf-subst-table-for-encode. Refer to the translation table named
11100 utf-translation-table-for-encode instead of
11101 utf-8-translation-table-for-encode.
11103 * international/mule-diag.el (describe-coding-system):
11104 Describe `dependency' property.
11106 * international/mule-conf.el (emacs-mule): Add property `composition'.
11108 * international/fontset.el (ucs-mule-to-mule-unicode): Define this
11109 translation table name here.
11110 (ucs-mule-cjk-to-unicode): New translation table name.
11111 (ccl-encode-unicode-font): Merge the code in ucs-tables.el.
11112 (font-ccl-encoder-alist): Change the font registry pattern to
11115 2002-09-30 Colin Walters <walters@gnu.org>
11117 * calc/calc-stuff.el (calc-flush-caches): Add optional arg
11120 * calc/calc-prog.el (calc-kbd-report, calc-kbd-query): Don't bind
11121 `executing-kbd-macro' and `defining-kbd-macro'.
11123 * calc/calc-ext.el (calc-reset): Don't bind `executing-kbd-macro'.
11124 Call `calc-flush-caches' with inhibit-msg arg.
11125 (calc-change-mode): Remove extra arg for `calc-save-modes'.
11127 * calc/calc-mode.el (calc-save-modes): Remove `quiet' arg.
11128 Don't bind `executing-kbd-macro'.
11130 2002-09-29 Noah Friedman <friedman@splode.com>
11132 * subr.el (read-key): Use read-key-auxiliary-map, not read-key-aux-map.
11134 2002-09-29 Richard M. Stallman <rms@gnu.org>
11136 * startup.el (user-mail-address): Initialize to a useful value
11137 once Emacs is started up; initialize to "" at loadup time.
11138 (command-line): "", not nil, means user-mail-address not set yet.
11140 2002-09-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11142 * net/tramp.el: Version 2.0.24 released.
11143 (tramp-methods, tramp-completion-function-alist):
11144 Rename "*-old" methods to "*_old". From Michael Albinus.
11145 (tramp-completion-function-alist):
11146 Use `tramp-completion-function-alist-ssh' for the "fcp" method.
11147 From Michael Albinus.
11148 (tramp-default-method-alist): Use "su" for "root@localhost".
11149 (tramp-host-regexp): Allow "#" for "host#port" kludge.
11150 (tramp-ange-ftp-file-name-p): If METHOD is nil, find the right
11151 default method. Require additional args USER and HOST for this.
11153 (tramp-handle-file-local-copy): More local bindings. Bind results
11154 of tramp-get-{remote,local}-{de,en}coding earlier to avoid nasty
11155 "are you awake" problem.
11156 (tramp-action-password): Protect against clobbered match data.
11157 (tramp-open-connection-setup-interactive-shell): Explicitly set
11158 tramp-last-cmd-time before invoking tramp-send-command the first
11159 time. Otherwise, tramp-send-command would issue "echo are you
11160 awake" right at the first time, which is not what we want.
11161 Reported by Douglas Gray Stephens.
11162 (tramp-find-inline-encoding): Don't redirect stdout to
11163 /dev/null to avoid "chmode go-rwx" operation from "mimencode
11164 >/dev/null" as root(!), and to check the output of the decoding
11166 (tramp-maybe-open-connection): Don't send "are you awake" if
11169 2002-09-29 Colin Walters <walters@gnu.org>
11171 * calc/calc.el (calc-dispatch-map): Actually set to keymap.
11173 2002-09-29 Mike Williams <mdub@bigfoot.com>
11175 * textmodes/sgml-mode.el (sgml-guess-indent): Handle tabs correctly.
11177 2002-09-29 Richard M. Stallman <rms@gnu.org>
11179 * custom.el (defcustom): Doc fix.
11181 2002-09-28 Richard M. Stallman <rms@gnu.org>
11183 * loadhist.el (unload-feature): When undefining a variable,
11184 delete its buffer-local bindings.
11186 2002-09-28 Luc Teirlinck <teirllm@mail.auburn.edu>
11188 * subr.el (remove-yank-excluded-properties): Fix bugs in
11189 handling of category properties.
11191 2002-09-28 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11193 * ps-print.el (ps-print-emacs-type): Error if ps-print is
11194 activated in Epoch, inLucid or in Emacs v19 or lesser.
11195 Value can no longer be `lucid'.
11196 (ps-print-version): New version number (6.5.8).
11197 (faces): Never do (require 'faces).
11199 2002-09-28 Simon Josefsson <jas@extundo.com>
11201 * mail/smtpmail.el (smtpmail-via-smtp): Only negotiate starttls on
11202 streams that were opened using starttls.
11204 2002-09-28 Paul Reilly <pmr@pajato.com>
11206 * files.el (auto-mode-alist): Add support for Java Enterprise
11207 ARchive (ear/EAR) and Web ARchive (war/WAR) files.
11209 2002-09-28 John Paul Wallington <jpw@shootybangbang.com>
11211 * progmodes/m4-mode.el (m4-font-lock-keywords)
11212 (m4-mode-syntax-table, m4-mode-abbrev-table, m4-m4-buffer)
11213 (m4-m4-region): Doc fixes.
11215 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>
11217 * emacs-lisp/cl-macs.el: Use the new usage-in-docstring syntax.
11218 (cl-push, cl-pop): Remove.
11219 Use pop and push throughout the file instead.
11220 (cl-transform-lambda): Add usage info to docstring if the arglist
11223 * emacs-lisp/autoload.el (make-autoload): Add usage info to docstring.
11224 (autoload-print-form): Also quote open-[-in-column 0.
11226 * help-fns.el (help-with-tutorial): Use minibuffer-completion-help.
11227 (help-split-fundoc): Don't support old syntax any more.
11228 (help-add-fundoc-usage): New fun.
11230 * emacs-lisp/cl-extra.el (cl-push, cl-pop): Remove.
11231 Use pop and push throughout the file instead.
11232 (cl-hash-lookup): Remove.
11233 (cl-make-hash-table, cl-hash-table-p, cl-gethash, cl-puthash)
11234 (cl-remhash, cl-clrhash, cl-maphash, cl-hash-table-count): Simplify.
11236 * emacs-lisp/cl-seq.el (cl-push, cl-pop): Remove.
11237 Use pop and push throughout the file instead.
11239 * emacs-lisp/edebug.el: Don't precompute menu shortcuts during
11240 loading since the current keymaps might be all weird.
11242 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't add properties
11243 to the name since they're added by mode-line-format already.
11244 (define-minor-mode): Run (,mode -1) when needed.
11246 * tar-mode.el (tar-untar-buffer): Handle dir-entries.
11247 (tar-summarize-buffer, tar-mode, tar-extract, tar-copy, tar-expunge)
11248 (tar-alter-one-field, tar-subfile-save-buffer, tar-mode-write-file):
11249 Don't hardcode 1 == point-min.
11251 * abbrev.el (write-abbrev-file): Don't hardcode point-min == 1.
11253 * subr.el (read-key-auxiliary-map): New var.
11254 (read-key): Use it.
11255 (make-temp-file): Make the file have mode 600.
11256 (add-minor-mode): Don't add properties to the name since it's
11257 added by mode-line-format already.
11258 Be more careful with the mode-line-menu entry name.
11260 * userlock.el (ask-user-about-supersession-threat): Don't abort
11261 when the user hits mouse-2.
11263 * register.el (set-register): Use push.
11264 (point-to-register): Set kill-buffer-hook in this buffer.
11265 (register-swap-out): Use dolist.
11266 (kill-buffer-hook): Don't change globally.
11268 * server.el (server-select-display): New function.
11269 (server-process-filter): Add support for `-display' and `-eval' args.
11270 (server-visit-files): Use save-current-buffer, push, and dolist.
11271 Add server-kill-buffer to kill-buffer-hook.
11272 (kill-buffer-hook): Don't modify globally.
11273 (server-switch-buffer): Be a bit more careful with multiple displays.
11274 (server-socket-name): Always use /tmp and non-qualified hostname.
11276 * uniquify.el (uniquify-rationalize-file-buffer-names):
11277 Add to kill-buffer-hook for buffers with conflict.
11278 (rename-buffer): Check kill-buffer-hook to see if there was a conflict.
11279 (uniquify-delay-rationalize-file-buffer-names): Remove useless check.
11280 (kill-buffer-hook): Don't change globally.
11282 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>.
11284 * calc/calc.el (calc-bug-address, calc-scan-for-dels, calc-stack)
11285 (calc-stack-top, calc-always-load-extensions)
11286 (calc-line-numbering, calc-line-breaking, calc-display-just)
11287 (calc-display-origin, calc-number-radix, calc-leading-zeros)
11288 (calc-group-digits, calc-group-char, calc-point-char)
11289 (calc-frac-format, calc-prefer-frac, calc-hms-format)
11290 (calc-date-format, calc-float-format, calc-complex-format)
11291 (calc-full-float-format, calc-complex-mode, calc-infinite-mode)
11292 (calc-display-strings, calc-matrix-just, calc-break-vectors)
11293 (calc-full-vectors, calc-full-trail-vectors, calc-vector-commas)
11294 (calc-vector-brackets, calc-matrix-brackets, calc-language)
11295 (calc-language-option, calc-function-open, calc-function-open)
11296 (calc-function-close, calc-language-output-filter)
11297 (calc-language-input-filter, calc-radix-formatter)
11298 (calc-left-label, calc-right-label, calc-word-size)
11299 (calc-previous-modulo, calc-simplify-mode, calc-auto-recompute)
11300 (calc-display-raw, calc-internal-prec, calc-inverse-flag)
11301 (calc-hyperbolic-flag, calc-keep-args-flag, calc-angle-mode)
11302 (calc-algebraic-mode, calc-incomplete-algebraic-mode)
11303 (calc-symbolic-mode, calc-matrix-mode, calc-shift-prefix)
11304 (calc-window-height, calc-display-trail, calc-show-selections)
11305 (calc-use-selections, calc-assoc-selections)
11306 (calc-display-working-message, calc-auto-why, calc-timing)
11307 (calc-display-sci-high, calc-display-sci-low, calc-other-modes)
11308 (calc-other-modes, calc-Y-help-msgs, calc-loaded-settings-file):
11309 Make into real defvars.
11310 (calc-mode-var-list): Delete.
11311 (calc-mode-save-mode, calc-standard-date-formats)
11312 (calc-autorange-units, calc-was-keypad-mode, calc-full-mode)
11313 (calc-user-parse-tables, calc-gnuplot-default-device)
11314 (calc-gnuplot-default-output, calc-gnuplot-print-device)
11315 (calc-gnuplot-print-output, calc-gnuplot-geometry)
11316 (calc-graph-default-resolution, calc-graph-default-resolution-3d)
11317 (calc-invocation-macro, calc-show-banner): Make into defvars,
11318 taken from `calc-mode-var-list'.
11319 (calc-emacs-type-epoch, calc-emacs-type-19)
11320 (calc-emacs-type-lucid, calc-emacs-type-gnu19): Make into defvars.
11321 (calc-version, calc-version-date, calc-trail-pointer)
11322 (calc-trail-overlay, calc-undo-list, calc-redo-list)
11323 (calc-main-buffer, calc-trail-buffer, calc-why, calc-next-why)
11324 (calc-inverse-flag, calc-hyperbolic-flag, calc-keep-args-flag)
11325 (calc-last-kill, calc-previous-alg-entry, calc-dollar-values)
11326 (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
11327 (calc-said-hello, calc-executing-macro, calc-any-selections)
11328 (calc-help-phase, calc-full-help-flag, calc-refresh-count)
11329 (calc-display-dirty, calc-prepared-composition)
11330 (calc-selection-cache-default-entry, calc-embedded-info)
11331 (calc-embedded-active, calc-standalone-flag, var-EvalRules)
11332 (math-eval-rules-cache-tag, math-radix-explicit-format)
11333 (math-expr-function-mapping, math-expr-variable-mapping)
11334 (math-read-expr-quotes, math-working-step, math-working-step-2)
11335 (var-i, var-pi, var-e, var-phi, var-gamma, var-Modes): Make into
11336 defvars, from toplevel setq.
11337 (calc-mode-map): Set up keymap in more modern fashion.
11338 (calc-dispatch-map): Ditto.
11339 (calc-command-flags, calc-final-point-line)
11340 (calc-final-point-column): Defvar.
11341 (calc-do): Use `save-current-buffer' instead of `save-excursion'.
11342 (sel-mode): Defvar.
11343 (calc-any-evaltos): Ditto.
11344 (calc-buffer, calc-prev-char, calc-prev-prev-char)
11345 (calc-digit-value): Ditto.
11346 (math-eval-rules-cache, math-eval-rules-cache-other): Ditto.
11347 (math-sub-bignum): Bind `diff'.
11348 (calc-selection-cache-entry): Defvar.
11349 (calc-count-lines): Reference `pos' instead of `newpos'.
11351 2002-09-27 Simon Josefsson <jas@extundo.com>
11353 * mail/mail-hist.el (mail-hist-next-input): Fix docstring.
11355 2002-09-26 Richard M. Stallman <rms@gnu.org>
11357 * mail/unrmail.el (unrmail): Do the work directly,
11358 without actually selecting the messages in the from file.
11359 (unrmail-unprune): New subroutine.
11361 * files.el (backup-buffer): Bind local var MODES.
11362 Don't use renaming for a suid or sgid file.
11363 Use backup-buffer-copy to do copying.
11364 (backup-buffer-copy): New subroutine.
11365 Clear suid and sgid bits for the copy.
11367 2002-09-26 Edward M. Reingold <reingold@emr.cs.iit.edu>
11369 * calendar/solar.el (solar-equinoxes-solstices):
11370 Use time properly adjusted for DST in the result.
11372 2002-09-26 Richard M. Stallman <rms@gnu.org>
11374 * follow.el (follow-generic-filter): Simply bind deactivate-mark.
11375 Bind inhibit-read-only; don't mess with buffer-read-only.
11377 * speedbar.el (speedbar-refresh): Simply bind deactivate-mark.
11379 2002-09-26 Luc Teirlinck <teirllm@mail.auburn.edu>
11381 * ielm.el (inferior-emacs-lisp-mode): Treat the header as
11382 output, if comint-use-prompt-regexp-instead-of-fields is nil.
11384 2002-09-26 John Paul Wallington <jpw@shootybangbang.com>
11386 * ibuffer.el (ibuffer-update): Call `minibufferp' with argument
11387 instead of within `with-current-buffer'.
11389 2002-09-26 Stephen Eglen <stephen@gnu.org>
11391 * iswitchb.el (iswitchb-completions): Test that
11392 iswitchb-common-match-string is a string, before printing common
11395 2002-09-25 Stefan Monnier <monnier@cs.yale.edu>
11397 * server.el: Use built-in network primitives.
11398 (server-program, server-previous-string): Remove.
11399 (server-previous-strings): New var.
11400 (server-socket-name): New var.
11401 (server-log): Minor change to the output format.
11402 (server-sentinel): Clean up global state when a client disconnects.
11403 (server-unquote-arg): New fun.
11404 (server-start): Use server-socket-name and make-network-process.
11405 (server-process-filter): Now talks to the clients directly.
11406 Normalize file name after unquoting and decoding.
11407 (server-buffer-done): Just close the connection.
11408 (server-switch-buffer): Handle the case where all windows are
11409 dedicated or minibuffers.
11411 * font-lock.el (fast-lock-mode, lazy-lock-mode, jit-lock-mode):
11412 Don't bind them variables.
11413 (font-lock-turn-off-thing-lock, font-lock-after-fontify-buffer)
11414 (font-lock-after-unfontify-buffer): Check that the vars are bound.
11415 (font-lock-dont-widen): New var.
11416 (font-lock-default-fontify-region): Use it.
11418 * emacs-lisp/find-func.el (find-library-name):
11419 Correctly find "file.el.gz" from "file.elc" or "file.elc.gz".
11421 2002-09-25 Kenichi Handa <handa@etl.go.jp>
11423 * international/mule-cmds.el (select-safe-coding-system):
11424 Handle safe but rejected default coding systems and unsafe default
11425 coding systems differently.
11427 * international/mule-diag.el (list-character-sets): Use the buffer
11428 name "*Character Set List*", not "*Help*". List also indirectly
11429 supported character sets.
11430 (list-charset-chars): Use the buffer name "*Character List*", not
11431 "*Help*". Display the current charset name in the modeline.
11432 (non-iso-charset-alist): Add mapped charset list for `mac-roman'.
11433 (sort-listed-character-sets): Don't alter the region showing
11434 indirectly supported charsets.
11436 2002-09-24 Simon Josefsson <jas@extundo.com>
11438 * mail/mail-extr.el (mail-extr-ignore-single-names): Change default.
11439 (mail-extract-address-components): Doc fix.
11441 2002-09-24 Markus Rost <rost@math.ohio-state.edu>
11443 * simple.el (edit-and-eval-command): Protect command-history.
11444 (repeat-complex-command): Protect command-history.
11446 2002-09-24 Juanma Barranquero <lektu@terra.es>
11448 * replace.el (occur-find-match): New function.
11449 (occur-next, occur-prev): Use it.
11451 * progmodes/sh-script.el (sh-mark-init): Don't set `occur-buffer'.
11452 (sh-mark-line): Likewise. Use 'occur-target and 'occur-match
11453 instead of 'occur and 'occur-point.
11455 * eshell/em-unix.el (eshell-occur-mode-mouse-goto)
11456 (eshell-poor-mans-grep): Remove references to `occur-buffer'.
11458 2002-09-24 Stefan Monnier <monnier@cs.yale.edu>
11460 * descr-text.el (describe-text-category): Use *Help*.
11462 (describe-text-properties, describe-char):
11463 Delay self-inspection test. Use *Help*.
11464 Use syntax-after. Use `pos' rather than (point).
11465 Distinguish the before/after part of a composition.
11467 2002-09-23 Kenichi Handa <handa@etl.go.jp>
11469 * international/quail.el (quail-completion): Be sure to scroll
11470 quail-completion-buf.
11472 2002-09-23 Richard M. Stallman <rms@gnu.org>
11474 * ielm.el (*1): Fix previous change.
11476 2002-09-23 Juanma Barranquero <lektu@terra.es>
11478 * net/tramp.el (tramp-unified-filenames): Autoload it.
11480 2002-09-23 Michael Kifer <kifer@cs.stonybrook.edu>
11482 * ediff-init.el (ediff-get-next-window): Bug fix.
11484 2002-09-22 Oliver Scholz <alkibiades@gmx.de>
11486 * play/gamegrid.el (gamegrid-face): New variable to emulate a
11487 buffer-local default face.
11488 (gamegrid-xbm): New variable; XBM image as a replacement for
11489 `gamegrid-xpm' on Emacsen compiled without XPM-support.
11490 (gamegrid-colorize-glyph): Ported XEmacs-code for the generation
11491 of images to Emacs.
11492 (gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to
11493 convert XEmacs-type image descriptors.
11494 (gamegrid-color-display-p): Remove (use `display-colors-p' instead.)
11495 (gamegrid-make-image-from-vector): New function. Convert XEmacs'
11497 (gamegrid-display-type): Use Emacs' standard `display-.*-p'
11498 functions to check for display capabilities. Fix the recognition
11499 of image-support in Emacs 21 by this way.
11500 (gamegrid-hide-cursor): Removed.
11501 (gamegrid-setup-default-font): Ported the code from XEmacs to
11502 Emacs: create a new face and assign the variable `gamegrid-face'
11503 to it. Make sure that the face is not higher than the smallest
11504 image used by the game.
11505 (gamegrid-initialize-display): Use `(setq cursor-type nil)'
11506 instead of `gamegrid-hide-cursor'.
11507 (gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an
11508 image in the buffer, instead of applying a face. [This is because
11509 Emacs display-tables are not as capable as the display-tables in
11510 XEmacs. Maybe this function should be renamed to reflect the change?]
11511 (gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put
11512 the face held by `gamegrid-face' in an overlay over the whole
11513 buffer to emulate a buffer-local default-face.
11515 2002-09-22 Markus Triska <triska@gmx.at> (iny change)
11517 * play/doctor.el (doctor-doc): Add 2 question words.
11518 (doctor-getnoun): Parse and save the complete object phrase.
11520 2002-09-22 Richard M. Stallman <rms@gnu.org>
11522 * international/mule-cmds.el (select-safe-coding-system): Cope if
11523 default-coding-system gives nil which was then used in `min'.
11525 * mail/sendmail.el (sendmail-send-it): If user's buffer
11526 is unibyte, make tembuf unibyte.
11528 2002-09-22 Kai Gro
\e,A_
\e(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
11530 * net/tramp.el: Version 2.0.22 released.
11531 (tramp-parse-rhosts, tramp-parse-shosts)
11532 (tramp-parse-hosts, tramp-parse-passwd): Apply `push' but
11533 `add-to-list' for performance reasons.
11534 (tramp-get-completion-user-host): Return `nil' in case both `user'
11535 and 'host' are empty (not necessarily `nil'.
11536 (tramp-parse-netrc, tramp-parse-netrc-group): New functions.
11537 (tramp-user-regexp): " \t" are not user regexp characters.
11538 (tramp-completion-handle-file-name-all-completions):
11539 Remove Ange-FTP cmpletion. It has a bug not handling the "/ftp:" prefix
11540 completely, and it returns local completions as well.
11541 (tramp-completion-function-alist-ftp): New constant.
11542 (tramp-completion-function-alist): Add completion function for "ftp".
11543 From Michael Albinus <Michael.Albinus@alcatel.de>.
11545 2002-09-22 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11547 * net/tramp.el: Version 2.0.21 released.
11548 (tramp-handle-file-newer-than-file-p): If mtime of both files is
11549 known, return a useful result. Better error message in case one
11550 is a Tramp file and one isn't.
11551 (tramp-handle-file-local-copy, tramp-handle-write-region)
11552 (tramp-find-shell, tramp-open-connection-telnet)
11553 (tramp-open-connection-rsh, tramp-open-connection-su)
11554 (tramp-open-connection-setup-interactive-shell)
11555 (tramp-post-connection, tramp-maybe-open-connection)
11556 (tramp-method-out-of-band-p): Correct number of args for
11557 `tramp-get-rsh-program' and similar functions.
11559 2002-09-22 Kai Gro
\e,A_
\e(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
11561 * net/tramp.el: Version 2.0.20 released.
11563 2002-09-20 Kai Gro
\e,A_
\e(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
11565 * net/tramp.el (tramp-completion-function-alist): Escape open
11566 paren in docstring.
11567 (tramp-user-regexp, tramp-host-regexp): Allow empty strings.
11568 (tramp-handle-insert-file-contents): Call tramp-message-for-buffer
11569 instead of tramp-message.
11570 (tramp-open-connection-rsh): Handle empty string as user name.
11571 (tramp-open-connection-su): Handle empty string as host name.
11572 Handle nil user name.
11573 (tramp-handle-file-local-copy, tramp-handle-write-region)
11574 (tramp-completion-handle-file-name-all-completions)
11575 (tramp-open-connection-telnet, tramp-open-connection-rsh)
11576 (tramp-open-connection-su, tramp-post-connection)
11577 (tramp-maybe-open-connection, tramp-method-out-of-band-p)
11578 (tramp-get-connection-function, tramp-get-remote-sh)
11579 (tramp-get-rsh-program, tramp-get-rsh-args)
11580 (tramp-get-rcp-program, tramp-get-rcp-args)
11581 (tramp-get-rcp-keep-date-arg, tramp-get-su-program)
11582 (tramp-get-su-args, tramp-get-telnet-program)
11583 (tramp-get-telnet-args): Use `tramp-find-method', perhaps require
11584 additional args USER, HOST.
11585 (tramp-action-password, tramp-open-connection-telnet)
11586 (tramp-open-connection-su, tramp-open-connection-multi)
11587 (tramp-method-out-of-band-p): `tramp-method-out-of-band-p' now
11588 takes USER and HOST arguments, to be able to use
11589 `tramp-find-method'. Update callers.
11590 (tramp-find-method): New function.
11592 2002-09-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11594 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
11595 in SWITCHES (by removing it).
11597 2002-09-18 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11599 * net/tramp.el (tramp-file-name-handler): Add `file-remote-p' property.
11601 2002-09-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11603 * net/tramp.el (top-level): Maybe autoload uudecode-decode-region.
11605 2002-09-16 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11607 * net/tramp.el (tramp-bug): Add tramp-methods.
11609 2002-09-16 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11611 * net/tramp.el (tramp-methods): Update docstring:
11612 tramp-encoding-command, tramp-decoding-command,
11613 tramp-encoding-function and tramp-decoding-function are not
11614 parameters anymore.
11615 (tramp-uuencode-region): Autoload it.
11617 2002-09-13 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11619 * net/tramp.el: Version 2.0.19 released.
11621 * net/tramp-uu.el: New file, implements uuencode in Lisp.
11623 * net/tramp.el (tramp-coding-commands):
11624 Use `tramp-uuencode-region' as local encoder for the uuencode based
11627 2002-09-13 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11629 * net/tramp.el (tramp-handle-write-region): Wrong parens.
11631 2002-09-13 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11633 * net/tramp.el: Version 2.0.18 released.
11635 * net/tramp.el (tramp-perl-decode): Perl changes to accomodate
11636 older versions of Perl. Now tested with 5.004. Suggestion from
11639 2002-09-12 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11641 * net/tramp.el (tramp-find-inline-encoding):
11642 Call tramp-call-local-coding-command with nil for INPUT and OUTPUT.
11643 (tramp-call-local-coding-command): OUTPUT equals nil means to
11644 discard the output. INPUT equals nil means /dev/null.
11646 2002-09-12 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11648 * net/tramp.el (tramp-encoding-shell): Default to environment
11649 variable COMSPEC on Windows.
11650 (tramp-handle-write-region): More debugging output.
11651 (tramp-find-inline-encoding): Ditto.
11653 2002-09-11 Michael Albinus <Michael.Albinus@alcatel.de>
11655 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11657 (tramp-parse-hosts-group): Discard IPv6 entries.
11659 2002-09-11 Kai Gro
\e,A_
\e(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
11661 * net/tramp.el (tramp-post-connection): Only send Perl
11662 mime-encode/decode implementations when using inline method.
11663 (tramp-handle-file-local-copy)
11664 (tramp-handle-write-region, tramp-post-connection)
11665 (tramp-coding-commands, tramp-find-inline-encoding): For the
11666 inline encodings, distinguish between local and remote commands,
11667 instead of between commands and functions. (The local commands
11668 can be functions, too.) If the local host is a Windows machine,
11669 we can't expect the same commands to work there as on the remote host.
11670 (tramp-call-local-coding-command): New function for calling local
11671 encoding and decoding commands.
11672 (tramp-set-remote-encoding, tramp-get-remote-encoding)
11673 (tramp-set-remote-decoding, tramp-get-remote-decoding)
11674 (tramp-set-local-encoding, tramp-get-local-encoding)
11675 (tramp-set-local-decoding, tramp-get-local-decoding): New functions.
11676 (tramp-get-encoding-command, tramp-set-encoding-command)
11677 (tramp-get-decoding-command, tramp-set-decoding-command)
11678 (tramp-get-encoding-function, tramp-set-encoding-function)
11679 (tramp-get-decoding-function, tramp-set-decoding-function):
11680 Old functions, removed.
11682 2002-09-10 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11684 * net/tramp.el (tramp-open-connection-setup-interactive-shell):
11685 Change command to invoke /bin/sh slightly to make it compatible
11686 with the `rc' shell. Suggested by Daniel Pittman.
11688 2002-09-10 Michael Albinus <Michael.Albinus@alcatel.de>
11690 * net/tramp.el (tramp-handle-write-region): Added missing
11691 `)'. Hope it's the right place.
11693 2002-09-09 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11695 * net/tramp.el (tramp-open-connection-setup-interactive-shell):
11696 Do "exec env PS1='$ ' /bin/sh" instead of just "exec /bin/sh" in
11697 order to get a sane shell prompt. If people have ${CWD}, say, in
11698 their shell prompt, then the default login shell might display
11699 something harmless, but the /bin/sh will display a dollar sign
11700 which confused the subsequent prompt recognition.
11701 (tramp-multi-action-password): More debugging output.
11702 (tramp-encoding-shell): Renamed from tramp-sh-program.
11703 More documentation. Default to cmd.exe on Windows NT.
11704 (tramp-encoding-command-switch): New variable. Use instead of
11705 hard-wired "-c" which is only good for /bin/sh.
11706 (tramp-encoding-reads-stdin): New variable. If t, commands are
11707 called like "/bin/sh -c COMMAND <INPUT", if nil, they are called
11708 like "/bin/sh -c COMMAND INPUT", ie the input file is the last arg.
11709 (tramp-multi-sh-program): Always default to tramp-encoding-shell.
11710 (tramp-handle-file-local-copy, tramp-handle-write-region):
11711 Respect tramp-encoding-shell and friends.
11712 (tramp-find-inline-encoding): Use new-style calls for checking if
11713 the local commands work.
11715 2002-09-07 Michael Albinus <Michael.Albinus@alcatel.de>
11717 * net/tramp.el (tramp-methods): Remove `tramp-completion-function'
11718 entries. They are handled now by `tramp-completion-function-alist'.
11719 (tramp-completion-function): Defvar removed. I've never used
11721 (tramp-get-completion-function)
11722 (tramp-get-completion-rsh, tramp-get-completion-ssh)
11723 (tramp-get-completion-telnet, tramp-get-completion-su):
11724 Functions removed as well. Not necessary any longer due to extended
11725 customization means.
11726 (tramp-completion-function-alist): New defcustom. Holds all
11727 FUNCTION FILE pairs used for user and host name completion
11728 relevant for METHOD.
11729 (tramp-completion-function-alist-rsh)
11730 (tramp-completion-function-alist-ssh)
11731 (tramp-completion-function-alist-telnet)
11732 (tramp-completion-function-alist-su): Defconst for initializing
11733 `tramp-completion-function-alist'. Unfortunately, mainly UNIX-like
11734 values are known for me until now. Needs to be completed for at
11735 least VMS++ like operating systems.
11736 (tramp-set-completion-function)
11737 (tramp-get-completion-function): New functions for configuration
11738 of `tramp-completion-function-alist'. The old definition of
11739 `tramp-get-completion-function' has been discarded.
11740 (tramp-completion-handle-file-name-all-completions):
11741 Change function call for user/host completion according to definition
11742 in `tramp-completion-function-alist'.
11743 (tramp-parse-passwd): Added exception handling for "root", because
11744 `tramp-get-completion-su' (the previous place for this stuff)
11745 doesn't exist any longer.
11747 2002-09-07 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11749 * net/tramp.el (tramp-enter-password):
11750 Use `tramp-password-end-of-line' to terminate the line.
11751 (tramp-bug): Include new variable `tramp-password-end-of-line'.
11752 (tramp-password-end-of-line): New variable. People who use plink
11753 under Windows might have to issue "\r\n" after the password, but
11754 they need to send just "\n" after the other commands. So this
11755 variable was introduced to complement `tramp-rsh-end-of-line'.
11756 (tramp-wait-for-output, tramp-post-connection): Allow "\r" at end
11757 of line of the output delimiter.
11759 2002-09-06 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11761 * net/tramp.el (tramp-handle-file-local-copy, tramp-find-shell)
11762 (tramp-open-connection-setup-interactive-shell): Add some comments
11763 about Douglas Grey Stephen's suggestions to make Tramp work better
11764 with plink under Windows. I'm not sure what to think of them, but
11765 now I have a guinea pig to try it out on. Said guinea pig is
11766 having other problems, though... Also remove some commented-out code.
11768 2002-09-06 Michael Albinus <Michael.Albinus@alcatel.de>
11770 * net/tramp.el (tramp-get-completion-methods): Algorithm slightly
11772 (tramp-get-completion-user-host): Accept user names as they are if
11774 (tramp-completion-mode): Replace `last-input-char' by modern
11775 `last-input-event'. Check for `event-modifiers'.
11777 2002-09-06 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11779 * net/tramp.el (file-expand-wildcards): Corrected check to see if
11780 advising is necessary.
11782 2002-09-05 Michael Albinus <Michael.Albinus@alcatel.de>
11784 * net/tramp.el (tramp-postfix-single-method-format)
11785 (tramp-postfix-multi-method-format)
11786 (tramp-postfix-multi-hop-format)
11787 (tramp-postfix-user-format): New format strings.
11788 (tramp-postfix-single-method-regexp)
11789 (tramp-postfix-multi-method-regexp)
11790 (tramp-postfix-multi-hop-regexp)
11791 (tramp-postfix-user-regexp)
11792 (tramp-make-multi-tramp-file-format)
11793 (tramp-make-tramp-file-name): Apply them.
11794 (tramp-completion-handle-file-name-all-completions): Fix for
11795 invoking ange-ftp in case of "/ftp:xxx" file names.
11797 2002-09-04 Michael Albinus <Michael.Albinus@alcatel.de>
11799 * net/tramp.el (tramp-prefix-format)
11800 (tramp-postfix-host-format): New format strings.
11801 (tramp-prefix-regexp, tramp-method-regexp)
11802 (tramp-postfix-single-method-regexp)
11803 (tramp-postfix-multi-method-regexp)
11804 (tramp-postfix-multi-hop-regexp)
11805 (tramp-user-regexp, tramp-postfix-user-regexp)
11806 (tramp-host-regexp, tramp-postfix-host-regexp)
11807 (tramp-path-regexp): New atomar regular expressions.
11808 If corresponding format strings exist, derived from them.
11809 (tramp-file-name-structure)
11810 (tramp-multi-file-name-structure)
11811 (tramp-multi-file-name-hop-structure)
11812 (tramp-make-multi-tramp-file-format)
11813 (tramp-completion-mode)
11814 (tramp-completion-dissect-file-name)
11815 (tramp-parse-rhosts-group)
11816 (tramp-parse-shosts-group)
11817 (tramp-parse-hosts-group)
11818 (tramp-parse-passwd-group): Apply these expressions.
11819 (tramp-file-name-structure-unified)
11820 (tramp-file-name-structure-separate)
11821 (tramp-make-tramp-file-format-unified)
11822 (tramp-make-tramp-file-format-separate)
11823 (tramp-make-tramp-file-format)
11824 (tramp-make-tramp-file-user-nil-format-unified)
11825 (tramp-make-tramp-file-user-nil-format-separate)
11826 (tramp-make-tramp-file-user-nil-format)
11827 (tramp-multi-file-name-structure-unified)
11828 (tramp-multi-file-name-structure-separate)
11829 (tramp-multi-file-name-hop-structure-unified)
11830 (tramp-multi-file-name-hop-structure-separate)
11831 (tramp-make-multi-tramp-file-format-unified)
11832 (tramp-make-multi-tramp-file-format-separate): Removed.
11833 (tramp-make-tramp-file-name): Allow partial tramp file
11834 names. Generate tramp file format on-the-fly depending on
11835 parameters. Apply atomar format strings resp expressions.
11836 (tramp-get-completion-methods)
11837 (tramp-get-completion-user-host): Apply `tramp-make-tramp-file-name'.
11838 (tramp-parse-hosts-group): Take all host names and IP addresses
11840 (tramp-bug): Remove `tramp-make-tramp-file-format'.
11842 2002-09-01 Michael Albinus <Michael.Albinus@alcatel.de>
11844 * net/tramp.el (tramp-methods): Add `tramp-completion-function'
11845 for "su" and "sudo".
11846 (tramp-get-completion-telnet): Implement it.
11847 (tramp-parse-hosts)
11848 (tramp-parse-hosts-group)
11849 (tramp-get-completion-su)
11850 (tramp-parse-passwd)
11851 (tramp-parse-passwd-group): New functions.
11853 2002-08-31 Michael Albinus <Michael.Albinus@alcatel.de>
11855 * net/tramp.el (tramp-completion-mode): Check for `last-input-char'.
11856 (tramp-completion-file-name-handler-alist): Add handler for
11858 (tramp-completion-handle-file-exists-p): New function.
11859 (tramp-completion-handle-file-name-completion): Simplified.
11860 (tramp-completion-dissect-file-name): Regexp's reorganised.
11861 (tramp-completion-handle-file-name-all-completions):
11862 Call completion-function only if `user' or `host' is given.
11863 (tramp-get-completion-user-host): New function.
11864 (tramp-get-completion-rsh)
11865 (tramp-get-completion-ssh): Apply it.
11867 2002-08-29 Michael Albinus <Michael.Albinus@alcatel.de>
11869 * net/tramp.el (tramp-completion-file-name-handler-alist):
11870 Add handler for `expand-file-name'.
11871 (tramp-completion-handle-expand-file-name): New function.
11873 2002-08-26 Michael Albinus <Michael.Albinus@alcatel.de>
11875 * net/tramp.el (tramp-completion-mode): New function.
11876 (tramp-completion-handle-file-name-directory)
11877 (tramp-completion-handle-file-name-all-completions): Apply it.
11878 (tramp-methods): Remove double definition of `ssh1-old' and `ssh2-old'.
11879 (tramp-point-at-eol): New defalias.
11880 (tramp-parse-rhosts-group)
11881 (tramp-parse-shosts-group):: Apply it.
11883 2002-08-25 Michael Albinus <Michael.Albinus@alcatel.de>
11885 * net/tramp.el (tramp-get-completion-methods)
11886 (tramp-get-completion-rsh)
11887 (tramp-get-completion-ssh): Add "[" for Xemacs.
11888 (tramp-completion-file-name-regexp-separate): Expression adapted.
11889 (tramp-completion-file-name-handler-alist): Add handler for
11890 `file-name-directory' and `file-name-nondirectory'.
11891 (tramp-completion-handle-file-name-directory)
11892 (tramp-completion-handle-file-name-nondirectory)
11893 (tramp-completion-run-real-handler): New functions.
11894 (tramp-completion-file-name-handler)
11895 (tramp-completion-handle-file-name-all-completions):
11896 Apply `tramp-completion-run-real-handler'.
11897 (tramp-parse-rhosts)
11898 (tramp-parse-shosts): Use `with-temp-buffer'. `result
\e$,1!=
\e(B renamed to
11899 `res' (otherwise side effects in XEmacs).
11901 2002-08-24 Michael Albinus <Michael.Albinus@alcatel.de>
11903 * net/tramp.el (tramp-completion-file-name-regexp)
11904 (tramp-completion-file-name-handler-alist)
11905 (tramp-flatten-list)
11906 (tramp-completion-dissect-file-name)
11907 (tramp-get-completion-rsh)
11908 (tramp-parse-rhosts)
11909 (tramp-parse-rhosts-group)
11910 (tramp-get-completion-ssh): Doc string tuned.
11911 (tramp-methods): Doc string and custom type extended for
11912 `tramp-completion-function'.
11913 (tramp-completion-function): Variable added. Is it really used?
11914 Other variables like `tramp-completion-function' aren't used.
11915 (tramp-completion-file-name-handler-alist): Add handler for
11916 `file-name-completion'.
11917 (tramp-completion-handle-file-name-completion): New function.
11919 2002-08-18 Michael Albinus <Michael.Albinus@alcatel.de>
11921 * net/tramp.el (tramp-parse-rhosts)
11922 (tramp-parse-rhosts-group)
11923 (tramp-parse-shosts)
11924 (tramp-parse-shosts-group): New functions.
11926 2002-08-17 Michael Albinus <Michael.Albinus@alcatel.de>
11928 * net/tramp.el (tramp-completion-dissect-file-name)
11929 (tramp-completion-dissect-file-name1): New functions.
11931 2002-08-16 Michael Albinus <Michael.Albinus@alcatel.de>
11933 * net/tramp.el (tramp-get-completion-function)
11934 (tramp-get-completion-rsh)
11935 (tramp-get-completion-ssh)
11936 (tramp-get-completion-telnet): New functions.
11937 (tramp-methods): Add `tramp-completion-function' for all methods.
11939 2002-08-15 Michael Albinus <Michael.Albinus@alcatel.de>
11941 * net/tramp.el (tramp-get-completion-methods): New function.
11942 (tramp-find-default-method): Allow host to be nil (like user).
11944 2002-08-14 Michael Albinus <Michael.Albinus@alcatel.de>
11946 * net/tramp.el (tramp-completion-file-name-regexp-unified)
11947 (tramp-completion-file-name-regexp-separate)
11948 (tramp-completion-file-name-regexp)
11949 (tramp-completion-file-name-handler-alist): New defcustoms.
11950 (tramp-completion-file-name-handler): New function.
11951 Add `tramp-completion-file-name-handler' to `file-name-handler-alist'.
11952 (tramp-run-real-handler): Add `tramp-completion-file-name-handler'
11953 to `inhibit-file-name-handlers'.
11954 (tramp-completion-handle-file-name-all-completions)
11955 (tramp-completion-handle-file-name-completion): New functions.
11957 2002-08-12 Michael Albinus <Michael.Albinus@alcatel.de>
11959 * net/tramp.el (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp'
11960 must be called again after activating `ange-ftp'.
11961 (tramp-ange-ftp-file-name-p): Check for Xemacs.
11963 2002-08-08 Michael Albinus <Michael.Albinus@alcatel.de>
11965 * net/tramp.el (tramp-do-copy-or-rename-file): Don't pass
11966 KEEP-DATE to tramp-invoke-ange-ftp 'rename.
11967 (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
11968 tramp-invoke-ange-ftp 'write-region.
11969 (tramp-handle-set-file-modes): Change order of FILENAME and MODE
11970 passing to tramp-invoke-ange-ftp 'set-file-modes.
11971 (tramp-flatten-list): New function. Maybe this functionality does
11972 exist already elsewhere in the libraries.
11973 (tramp-invoke-ange-ftp): Apply `tramp-flatten-list' to parameter
11974 list in order to avoid nested lists, f.e. when invoked from
11975 `tramp-handle-dired-call-process'.
11977 2002-09-05 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11979 * net/tramp.el (tramp-chunksize): New kluge variable.
11980 (tramp-send-region): If tramp-chunksize is non-nil, send region in
11981 parts and sleep 0.1 seconds between chunks.
11983 2002-09-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11985 * net/tramp.el (tramp-handle-insert-directory):
11986 Use `insert-buffer-substring' instead of `insert-buffer', which is not
11987 supposed to be used from Lisp. Remember old point in a variable
11988 instead of using `mark'. Suggestion from Stefan Monnier.
11989 (tramp-unified-filenames): New variable. Use it in default value
11990 of other filename variables.
11991 (file-expand-wildcards): Don't advise unless "[" and "]" are used
11992 in the filename format.
11994 2002-09-01 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11996 * net/tramp.el (tramp-methods): Remove duplicate definition of
11997 ssh1-old and ssh2-old.
11999 2002-09-22 Kai Gro
\e,A_
\e(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
12001 * dired.el (dired-insert-directory): Always add "--dired" to to
12002 SWITCHES for remote files.
12003 * files.el (insert-directory): Comment saying that "--dired"
12004 might be in the SWITCHES.
12005 * net/ange-ftp.el (ange-ftp-ls): Handle "--dired" in LSARGS.
12006 (ange-ftp-insert-directory): Comment explaining "--dired" handling.
12008 2002-09-21 Markus Rost <rost@math.ohio-state.edu>
12010 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Give %!._-
12011 word constituent syntax.
12013 2002-09-21 Richard M. Stallman <rms@gnu.org>
12015 * cus-dep.el (custom-make-dependencies): Bind to t
12016 around evaluating the def-form.
12018 * custom.el (custom-dont-initialize): New variable.
12019 (custom-declare-variable): Don't init the variable
12020 if custom-dont-initialize is non-nil.
12022 2002-09-21 John Paul Wallington <jpw@shootybangbang.com>
12024 * net/eudc.el (eudc-install-menu): Use `define-key' and
12025 `easy-menu-create-menu' to avoid duplication of menu.
12027 2002-09-20 Kim F. Storm <storm@cua.dk>
12029 * kmacro.el (kmacro-step-edit-query): Use RET to execute rest of
12030 macro and terminate editing.
12031 (kmacro-step-edit-macro): Push previous macro onto ring if changed
12034 2002-09-19 Tom Tromey <tromey@redhat.com>
12036 * play/blackbox.el (bb-right): Respect prefix argument.
12037 (bb-left, bb-up, bb-down): Likewise.
12039 2002-09-19 Richard M. Stallman <rms@gnu.org>
12041 * cus-dep.el (custom-make-dependencies): Fix previous change.
12043 2002-09-19 Juanma Barranquero <lektu@terra.es>
12045 * ielm.el (ielm-eval-input): Call `error-message-string' instead
12046 of the non-existent `ielm-format-error'.
12048 2002-09-19 Stefan Monnier <monnier@cs.yale.edu>
12050 * emacs-lisp/easymenu.el (easy-menu-remove):
12051 * emacs-lisp/ewoc.el (ewoc--node-branch): Add docstring.
12053 * international/mule-diag.el (describe-coding-system):
12054 Remove unused `coding-spec' variable.
12055 (list-input-methods): Be more careful when setting up the help buffer.
12057 * international/ucs-tables.el (unify-8859-on-encoding-mode):
12058 Set init value to t to reflect reality.
12059 (ucs-minibuffer-setup): Use minibuffer-selected-window.
12061 2002-09-18 Stefan Monnier <monnier@cs.yale.edu>
12063 * progmodes/make-mode.el (makefile-cleanup-continuations-p):
12064 Rename to makefile-cleanup-continuations.
12065 (makefile-mode): Use write-file-functions.
12066 (makefile-fill-paragraph): Use match-string-no-properties.
12067 (makefile-fill-paragraph): Use line-end-position.
12068 (makefile-add-log-defun): Simplify.
12070 2002-09-18 Richard M. Stallman <rms@gnu.org>
12072 * dired.el (dired-mark-pop-up): Doc fix.
12074 * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Put the
12075 definition straight into loaddefs.el as well as executing it here.
12077 2002-09-18 Colin Walters <walters@debian.org>
12079 * calc/calc.el (calc-mode): Add font-lock-defontify to
12080 change-major-mode-hook.
12082 2002-09-18 Richard M. Stallman <rms@gnu.org>
12084 * Makefile.in (bootstrap-clean): Use cd to shorten arg strings.
12085 Don't ignore errors in rm line.
12087 * menu-bar.el (menu-bar-search-menu): Nicer help string.
12089 * replace.el (occur-engine-add-prefix): Use 7 spaces.
12090 (occur-engine): Use 7 digits to align tabs in the data.
12092 * emacs-lisp/bytecomp.el (byte-compile-output-docform):
12093 Don't make the definition dynamic if it shares structure
12096 * gud.el (gud-pdb-marker-regexp): Allow : and \ in file name.
12097 (pdb): In gud-remove, pass down the file name.
12099 * cus-dep.el (custom-make-dependencies): Sort MEMBERS before use.
12101 2002-09-18 Luc Teirlinck <teirllm@mail.auburn.edu>
12103 * ielm.el: (*1, *2, *3): New variables.
12104 (ielm-eval-input): Make temporary buffers current on entry and
12105 exit to the let bindings for *, ** and ***.
12106 (inferior-emacs-lisp-mode): Mention *1, *2 and *3 in the docstring.
12107 Do not overrule global bindings for *, ** and ***.
12109 2002-09-18 Tom Tromey <tromey@redhat.com>
12111 * progmodes/make-mode.el (makefile-fill-paragraph): Find comment
12112 boundaries before filling.
12114 2002-09-18 Stefan Monnier <monnier@cs.yale.edu>
12116 * server.el (server-done): Fix harmlessly wrong arg to save-buffer.
12117 (server-switch-buffer): Only select a different window if
12118 next-buffer is non-nil. Don't switch in a dedicated window.
12119 If next-buffer is already displayed, reuse that window.
12121 * diff-mode.el (diff-mode): Use compilation-minor-mode.
12122 Don't unbind compilation-last-buffer after autoloading compile.el.
12123 Hide the compilation-minor-mode bindings altogether.
12125 2002-09-18 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12127 * dired.el (dired-insert-directory): Never add "--dired" when
12128 listing remote directories.
12130 2002-09-18 Michael Kifer <kifer@cs.stonybrook.edu>
12132 * ediff-hooks.el: Put back the autoloads (for XEmacs compatibility).
12134 * ediff-init.el: Use defalias instead of fset.
12136 * ediff-util.el: Use defalias instead of fset.
12138 * viper-util.el (viper-chars-in-region): Simplification.
12140 * viper.el (viper-emacs-state-mode-list): Added modes.
12142 2002-09-18 Jonathan Yavner <jyavner@engineer.com>
12144 * emacs-lisp/testcover.el: New file. Uses edebug to instrument a
12145 module of code, with graphical display of poor-coverage spots.
12147 * emacs-lisp/testcover-ses.el: New file. Demonstrates use of
12148 testcover on a interactive module like ses.
12150 * emacs-lisp/testcover-unsafep.el: New file. Demonstrates use of
12151 testcover on a noninteractive module like unsafep.
12153 2002-09-18 Miles Bader <miles@gnu.org>
12155 * diff-mode.el (diff-mode): Don't evaluate `compilation-last-buffer'
12158 2002-09-17 Stefan Monnier <monnier@cs.yale.edu>
12160 * server.el (server-log): Add `client' arg.
12161 (server-start): Don't bother canceling the sentinel.
12162 (server-process-filter): Use replace-regexp-in-string and
12163 handle the new &n quoting. Use push. Use server-log's new arg.
12164 Don't output the C-x # message if `nowait'.
12165 (server-buffer-done): Use server-log's new arg.
12167 2002-09-16 Jonathan Yavner <jyavner@engineer.com>
12169 * ses.el: New file.
12171 * emacs-lisp/unsafep.el: New file.
12173 * files.el (auto-mode-alist): Add ".ses" for ses-mode.
12174 (inhibit-quit): This is risky for unsafep, doesn't matter much for
12176 (risky-local-variable-p): New function. Split off from
12177 hack-one-local-variable so unsafep can use it. Add \|-history$ to
12178 the list of disallowed local variable names (malicious user could
12179 stuff a `display' property in there that would be activated when
12180 na
\e,Ao
\e(Bve user called up the history).
12182 2002-09-16 Markus Rost <rost@math.ohio-state.edu>
12184 * ls-lisp.el (ls-lisp-format-time-list): Fix type and provide :tag's.
12186 2002-09-16 Richard M. Stallman <rms@gnu.org>
12188 * play/gomoku.el (gomoku-move-up, gomoku-move-down):
12189 Use forward-line and move-to-column.
12191 * cus-edit.el (custom-variable-backup-value): New function.
12192 (custom-variable-reset-backup): New function.
12193 (custom-variable-menu): Add item for custom-variable-reset-backup.
12194 (custom-variable-set, custom-variable-reset-saved)
12195 (custom-variable-reset-standard): Call custom-variable-backup-value.
12197 2002-09-16 Stefan Monnier <monnier@cs.yale.edu>
12199 * dired.el (dired-font-lock-keywords): Use regexp-opt.
12200 (dired-move-to-filename): Better message when we fail to find the file.
12201 (dired-sort-toggle): Minor optimization.
12203 2002-09-16 Juanma Barranquero <lektu@terra.es>
12205 * dired-aux.el (dired-add-entry): Add missing argument to
12208 2002-09-16 John Paul Wallington <jpw@shootybangbang.com>
12210 * xscheme.el (scheme-interaction-mode): Doc fix.
12212 * net/eudc.el (eudc-plist-get): Doc fix.
12214 2002-09-16 Kim F. Storm <storm@cua.dk>
12216 * menu-bar.el (menu-bar-last-search-type): New var.
12217 (nonincremental-repeat-search-forward)
12218 (nonincremental-repeat-search-backward): Repeat string or
12219 regexp search depending on menu-bar-last-search-type.
12220 (nonincremental-search-forward, nonincremental-re-search-forward)
12221 (nonincremental-search-backward, nonincremental-re-search-backward):
12222 Set menu-bar-last-search-type to string or regexp.
12223 (nonincremental-repeat-re-search-forward): Removed.
12224 (nonincremental-repeat-re-search-backward): Removed.
12225 (menu-bar-replace-menu): New keymap for "Edit->Replace" submenu.
12226 (menu-bar-i-search-menu): New keymap for "Incremental Search" submenu.
12227 (menu-bar-adv-search-menu): Removed.
12228 (menu-bar-search-menu): Reorganized.
12229 (menu-bar-edit-menu): Added "Replace" submenu.
12231 2002-09-15 Richard M. Stallman <rms@gnu.org>
12233 * scroll-bar.el (scroll-bar-mode): Specify :initialize.
12235 * menu-bar.el (menu-bar-make-mm-toggle): Don't put a quote befor FNAME
12236 when it's not being evaluated.
12238 2002-09-15 Markus Rost <rost@math.ohio-state.edu>
12240 * dired.el (dired-move-to-filename): Fix previous change.
12242 2002-09-14 Kim F. Storm <storm@cua.dk>
12244 * emulation/keypad.el (keypad-setup, keypad-shifted-setup)
12245 (keypad-numlock-setup, keypad-numlock-shifted-setup):
12246 Change `Remove Binding' option to `Unspecified/User-defined'.
12247 (keypad-setup): Enhance explanation of setup type `none'.
12249 2002-09-14 Richard M. Stallman <rms@gnu.org>
12251 * time.el (display-time-mode): Set display-time-load-average here.
12252 (display-time-load-average): Initialize to nil.
12253 (display-time-default-load-average): Add "None" alternative.
12254 (display-time-update): Handle "None" alternative for load-average.
12256 * dired-aux.el (dired-bunch-files): Put the arg FILES
12257 back as it was after temporary destrucive mods.
12258 (dired-add-entry): Use dired-insert-directory to handle indentation.
12259 Explicitly restore the line's marker character.
12260 Preserve the old file name's text properties.
12261 (dired-add-entry-do-indentation): Function deleted.
12262 (dired-relist-file): Doc fix.
12263 (dired-rename-file): Change argument names.
12264 (foo-rename-file): New function.
12265 (dired-do-hardlink): Use dired-hardlink.
12266 (dired-hardlink): New function.
12267 (dired-insert-subdir-doinsert): Use dired-insert-directory;
12268 that handles indentation, text props and header line.
12269 dired-readin-insert gets no args.
12270 Use `last' instead of `reverse'.
12272 * dired.el (dired-use-ls-dired): New variable.
12273 (dired-directory): Document the rules better.
12275 * dired.el (dired-insert-headerline): Function deleted.
12276 (dired-revert): Pass no args to dired-readin.
12277 (dired-move-to-filename): First try using dired-filename property.
12278 (dired-move-to-end-of-filename): Likewise.
12279 (dired-why): Try to show the start of this page of warnings.
12280 (dired-log): Insert the buffer name at start of page, not end.
12281 (dired-log-summary): If just one failure, explain it in echo area.
12283 * dired.el (dired-internal-noselect):
12284 Always set dired-directory, when buffer is not new.
12285 Pass dir-or-list, not dirname, to dired-mode.
12286 Call dired-readin with no args.
12287 Don't call dired-after-readin-hook here.
12288 (dired-find-buffer-nocreate): Expand dirname.
12289 Expand the dir from dired-directory to compare with dirname.
12291 (dired-readin): Take no args. Get the directory from dired-directory.
12292 Run dired-before-reading hook inside save-excursion.
12293 Run dired-after-readin-hook here.
12294 Don't make undo entries at all.
12295 Call dired-readin-insert with no args.
12296 Don't change indentation here.
12297 Don't insert headerline here.
12299 (dired-readin-insert): Take no args.
12300 Get dir and file-list from dired-directory.
12301 Call dired-insert-directory the new way.
12302 Don't insert "wildcard" info here.
12304 (dired-insert-directory): New arg FILE-LIST.
12305 First arg now DIR, always just the directory.
12306 This function fully handles setting up the buffer text:
12307 update indentation, insert headerline and "wildcard" info.
12308 Pass --dired arg if appropriate; put info in dired-filename props.
12309 Don't expand file names here.
12311 * warnings.el (display-warning): In batch mode,
12312 exclude the final newline from the arg to `message'.
12314 2002-09-13 Markus Rost <rost@math.ohio-state.edu>
12316 * files.el (diff-buffer-with-file): Check whether associated file
12317 exists. Display message for 1 second. Always return nil.
12319 2002-09-13 Stefan Monnier <monnier@cs.yale.edu>
12321 * diff-mode.el (diff-mode): Turn on compilation-minor-mode
12322 support again, but more carefully this time.
12324 * progmodes/perl-mode.el (perl-mode-syntax-table): Mark $, % and @
12325 such that backward-sexp correctly skips them.
12326 (perl-font-lock-keywords-2): Use regexp-opt.
12327 (perl-font-lock-syntactic-keywords)
12328 (perl-font-lock-syntactic-face-function): Better handle PODs.
12329 Handle package names with ' in them and ($$) in `sub' declarations.
12330 Handle format staements. Handle regexp and quote-like ops.
12331 (perl-empty-syntax-table): New var.
12332 (perl-quote-syntax-table): New fun.
12334 * pcvs.el (cvs-mode-find-file): Work even if point is at beg-of-line.
12335 (cvs-do-removal): Bind inhibit-read-only while modifying the buffer.
12337 * newcomment.el (comment-with-narrowing): Use the `declare' thingy.
12339 * derived.el (define-derived-mode): Properly ignore unknown args.
12341 * emacs-lisp/easy-mmode.el (define-minor-mode): Add a :require arg.
12342 Don't call the function during init if mode is on by default.
12344 * simple.el: Provide `simple'.
12345 (transient-mark-mode, line-number-mode, column-number-mode):
12346 Pass an explicit `:require nil' argument.
12348 2002-09-13 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
12350 * play/tetris.el (tetris-blank-options, tetris-cell-options):
12351 Remove various redundant `(t nil)'.
12353 * play/snake.el (snake-border-options): Use color on tty if available.
12355 * play/tetris.el (tetris-border-options): Likewise.
12357 * play/pong.el (pong-border-options): Likewise, plus reset
12358 color on tty to be [0.5 0.5 0.5].
12360 2002-09-13 Kim F. Storm <storm@cua.dk>
12362 * kmacro.el (kmacro-start-macro): Doc fix.
12364 2002-09-13 Juanma Barranquero <lektu@terra.es>
12366 * progmodes/idlw-shell.el (idlwave-shell-cleanup): Fix reference
12367 to `idlwave-idlwave_routine_info-compiled'.
12369 * whitespace.el (whitespace-unload-hook): Call `remove-hook' with
12370 three arguments, not four.
12372 2002-09-13 Kim F. Storm <storm@cua.dk>
12374 * kmacro.el (kmacro-keymap): Changed bindings:
12375 C-x C-k s to kmacro-start-macro, C-x C-k b to kmacro-bind-to-key.
12377 2002-09-12 Richard M. Stallman <rms@gnu.org>
12379 * international/mule-cmds.el (universal-coding-system-argument):
12380 Read the coding system inside `interactive' spec, for command-history.
12382 2002-09-12 Stefan Monnier <monnier@cs.yale.edu>
12384 * emacs-lisp/find-func.el (find-library-name): Don't forget
12385 the empty suffix. Fix stale variable name.
12387 * gud.el (gud-gdb-massage-args, gud-sdb-massage-args)
12388 (gud-pdb-massage-args): Delete.
12389 (gdb, sdb, pdb): Don't pass gud-*-massage-args any more.
12390 (gud-gdb-command-name): New var. Put "--fullname" in there.
12391 (gud-query-cmdline): Use the most recent executable as the default.
12392 Don't add "--fullname" (it's only valid/meaningful for GDB).
12393 (gud-xdb-marker-filter): Use match-string.
12394 (gud-perldb-massage-args): Don't add "-d".
12395 (gud-perldb-command-name): Add "-d".
12396 (gud-common-init): If `massage-args' is nil, don't call it.
12397 (gud-format-command): Don't hardcode point-min==1.
12399 * derived.el: Require CL when compiling.
12401 2002-09-12 Simon Josefsson <jas@extundo.com>
12403 * mail/smtpmail.el (smtpmail-send-it): Don't use : in filenames
12404 (for cygwin). Suggested by Andrew Senior <aws@watson.ibm.com>.
12405 Use expand-file-name. Also don't require time-stamp.
12407 2002-09-11 Richard M. Stallman <rms@gnu.org>
12409 * derived.el (define-derived-mode): When making new abbrev table,
12410 don't try to copy the parent's abbrev table.
12412 * ruler-mode.el (ruler-mode-left-scroll-bar-cols):
12413 Always round scroll-bar-width parameter up.
12414 If it is nil, use 14.
12416 * abbrev.el (copy-abbrev-table): New function.
12418 2002-09-11 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12420 * ps-print.el: Adjust ps-print-color-p, ps-default-fg and
12421 ps-default-bg setting.
12422 (ps-print-version): New version number (6.5.7).
12423 (ps-mark-active-p): New fun.
12424 (ps-print-preprint-region): Adjust code.
12426 2002-09-11 Dave Love <fx@gnu.org>
12428 * international/mule.el (non-standard-designations-alist)
12429 (ctext-pre-write-conversion): Don't generate invalid extended
12430 segments for iso8859.
12432 * language/cyrillic.el ("Ukrainian"): Fix nonascii-translation.
12433 (cyrillic-alternativnyj-decode-table): Fix some entries.
12435 * international/ucs-tables.el: Fix last change.
12437 * international/utf-8.el (utf-8-fragment-on-decoding): Fix last
12440 2002-09-11 Kim F. Storm <storm@cua.dk>
12442 * edmacro.el (edit-kbd-macro): Recognize new C-x e binding,
12443 kmacro-end-and-call-macro.
12445 2002-09-11 Juanma Barranquero <lektu@terra.es>
12447 * newcomment.el (uncomment-region): Fix let/let* use.
12449 2002-09-11 Simon Josefsson <jas@extundo.com>
12451 * time-stamp.el (time-stamp-hhmmss): New function.
12453 * gud.el (gud-gdb-massage-args): Don't secretly add -fullname.
12454 (gud-query-cmdline): Add --fullname to the user cmdline.
12456 * mail/smtpmail.el (smtpmail-default-smtp-server): Doc fix.
12458 2002-09-11 Kim F. Storm <storm@cua.dk>
12460 * kmacro.el (kmacro-call-macro): Rephrase repeat prompt.
12461 (kmacro-step-edit-map): Bind "A" to `append-end'.
12462 (kmacro-step-edit-prompt): Fix prompt.
12463 (kmacro-step-edit-query): Handle `append-end' response.
12464 (kmacro-step-edit-pre-command): Activate `append-end' at end of
12465 macro when required.
12467 2002-09-11 Stefan Monnier <monnier@cs.yale.edu>
12469 * derived.el (define-derived-mode): Fix typo.
12471 * menu-bar.el (line-number-mode, column-number-mode)
12472 (transient-mark-mode): Use minor mode directly.
12473 (menu-bar-make-toggle): Remove `props' arg.
12474 Move customize-mark-as-set directly into the toggle function.
12476 * whitespace.el (whitespace-global-mode): Use define-minor-mode.
12477 Use the new file hook names.
12478 (whitespace-describe): Remove. Move the text to `Commentary:'.
12479 (whitespace-unload-hook): Use the new file hook names.
12481 * finder.el (finder-find-library): Remove.
12482 (finder-commentary): Use find-library-name and add completion.
12484 * simple.el (transient-mark-mode, line-number-mode)
12485 (column-number-mode): Use define-minor-mode.
12486 (define-mail-user-agent): Delete. Moved to subr.el.
12488 * loadup.el ("simple.el"): Move to after loaddefs.el.
12490 * subr.el (define-mail-user-agent): Moved from simple.el.
12492 2002-09-10 Richard M. Stallman <rms@gnu.org>
12494 * pcvs-info.el (cvs-check-fileinfo): Don't use boolp.
12495 (boolp): Function deleted.
12497 2002-09-10 Dave Love <fx@gnu.org>
12499 * international/utf-8.el (ucs-mule-to-mule-unicode):
12500 Define unconditionally.
12501 (utf-8-fragmentation-table): New. Use it in top-level mapc.
12502 (utf-8-fragment-on-decoding): Use it to keep
12503 utf-8-translation-table-for-decode variable and translation table
12506 * international/ucs-tables.el: Bind utf-8-translation-table-for-decode
12507 when setting up tables and remove useless optimize-char-table.
12508 (ucs-mule-to-mule-unicode): Deleted.
12509 (ucs-unify-8859): Maybe optimize ucs-mule-to-mule-unicode.
12511 * international/utf-16.el (utf-16-le-pre-write-conversion)
12512 (utf-16-be-pre-write-conversion): Deleted.
12513 (mule-utf-16-le, mule-utf-16-be): Register encoding translation table.
12515 2002-09-10 Richard M. Stallman <rms@gnu.org>
12517 * files.el (diff-buffer-with-file): Simplify.
12518 Don't signal an error if buffer has no file.
12519 Call sit-for after `diff' returns.
12521 * play/gamegrid.el (gamegrid-make-color-tty-face):
12522 Handle string as COLOR arg.
12523 (gamegrid-display-type): Don't assume display-color-p
12524 implies a color-x terminal.
12525 (gamegrid-hide-cursor): Set `cursor-type' local variable.
12527 * descr-text.el (describe-text-mode): Add font-lock-defontify to
12528 change-major-mode-hook.
12530 * ibuffer.el (ibuffer-mode): Add font-lock-defontify to
12531 change-major-mode-hook.
12533 * comint.el (comint-mode): Add font-lock-defontify to
12534 change-major-mode-hook.
12536 * info.el (Info-mode): Add font-lock-defontify to
12537 change-major-mode-hook.
12539 * replace.el (occur-mode): Add font-lock-defontify to
12540 change-major-mode-hook.
12542 * font-core.el (font-lock-defontify): New function.
12544 2002-09-10 Richard M. Stallman <rms@gnu.org>
12546 * ps-print.el (ps-printer-name-option): Doc fix.
12548 2002-09-10 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12550 * ps-print.el: Adjust ps-postscript-code-directory setting.
12551 XEmacs version check was adjusted.
12552 (ps-print-version): New version number (6.5.6).
12553 (ps-print-color-p, ps-page-dimensions-database): Autoload var.
12554 (ps-print-code, ps-print-preprint-region): Adjust code.
12556 2002-09-10 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12558 * files.el (auto-mode-alist): ~/.gnus, ~/.viper are in
12559 emacs-lisp-mode, like ~/.emacs.
12561 2002-09-10 Stefan Monnier <monnier@cs.yale.edu>
12563 * newcomment.el (uncomment-region): Be more careful with `='.
12565 2002-09-10 Deepak Goel <deego@glue.umd.edu>
12567 * play/doctor.el (doc//): Rename from `//'. Update callers.
12568 (doc$): Rename from `$'. Update callers.
12570 2002-09-10 Miles Bader <miles@gnu.org>
12572 * simple.el (do-auto-fill): `fill-indent-according-to-mode' is a
12573 variable, not a function.
12575 * kmacro.el (kmacro-call-macro): Deal with a non-numeric prefix arg.
12577 2002-09-10 Kim F. Storm <storm@cua.dk>
12579 * macros.el (apply-macro-to-region-lines): Let-bind mark-active to
12580 nil while executing macro to avoid triggering delete-selection-mode.
12582 * simple.el (keyboard-quit): Set defining-kbd-macro to nil to
12583 cancel defining keyboard macro when applicable.
12585 2002-09-09 Markus Rost <rost@math.ohio-state.edu>
12587 * simple.el (transient-mark-mode, line-number-mode)
12588 (column-number-mode): Undo previous change because of bootstrapping.
12590 2002-09-09 Stefan Monnier <monnier@cs.yale.edu>
12592 * derived.el (define-derived-mode): Add keyword arguments.
12593 (derived-mode-make-docstring): Take abbrev and syntax table names.
12595 * font-core.el (font-lock-change-mode): Just turn off font-lock-mode.
12596 (font-lock-default-function): Change arg name.
12598 * cus-start.el (transient-mark-mode): Delete. Done in simple.el.
12600 * paren.el (show-paren-function): Use syntax-after.
12602 * emacs-lisp/syntax.el (syntax-after): Delete. Moved to subr.el.
12604 * subr.el (symbol-file): Also work for autoloaded funcs.
12605 (syntax-after): New fun moved from syntax.el.
12607 * find-file.el (ff-pre-find-hook, ff-pre-load-hook, ff-post-load-hook)
12608 (ff-not-found-hook, ff-file-created-hook): Rename from *-hooks.
12609 Update callers (but still run the old hooks as well).
12611 * emacs-lisp/find-func.el (find-library-suffixes, find-library-name)
12612 (find-library): New funs.
12613 (find-function-search-for-symbol): Use it.
12615 * emacs-lisp/bytecomp.el (byte-compile-file): Don't switch buffer.
12617 * isearch.el (isearch-cmds): Add docstring.
12618 (isearch-mouse-2): Lookup binding in the proper buffer.
12619 Use call-interactively and remove the now useless `arg'.
12620 (isearch-search-fun-function): New var.
12621 (isearch-search-fun): New fun.
12622 (isearch-search, isearch-lazy-highlight-search): Use it.
12624 2002-09-09 Stefan Monnier <monnier@cs.yale.edu>
12626 * simple.el (what-line): Don't hard-code 1.
12627 (transient-mark-mode, line-number-mode, column-number-mode):
12628 Use define-minor-mode.
12629 (do-auto-fill): Only ignore prefix if it's really empty.
12631 2002-09-09 Markus Rost <rost@math.ohio-state.edu>
12633 * files.el (save-some-buffers-action-alist): Use lower case for
12634 help string of diff-buffer-with-file.
12636 2002-09-09 Richard M. Stallman <rms@gnu.org>
12638 * calendar/calendar.el (mouse-scroll-calendar-left)
12639 (mouse-scroll-calendar-right, mouse-calendar-other-month):
12641 (calendar-mode-line-format): Use them.
12643 * emacs-lisp/bytecomp.el (byte-recompile-directory):
12644 Set and then bind default-directory.
12646 * startup.el (fancy-splash-head, normal-splash-screen):
12647 Change the messages that explain about GNU or GNU/Linux.
12649 * info.el (Info-search): Add (point-min) to subfile positions
12650 to get them right. Skip the current subfile using forward-line.
12652 * files.el (make-backup-file-name-1): When make-directory fails,
12653 ignore backup-directory-alist.
12654 (make-directory): Expand DIR before looking for handler.
12656 2002-09-09 Jari Aalto <jari.aalto@poboxes.com>
12658 * progmodes/cperl-mode.el (cperl-noscan-files-regexp):
12659 In addition to RCS, exclude CVS directories.
12661 * ls-lisp.el (ls-lisp-format-time-list): New variable.
12662 (ls-lisp-format-time): Use it.
12664 * files.el (auto-mode-alist): Use sh-mode for .bash files.
12666 2002-09-09 Dave Love <d.love@dl.ac.uk>
12668 * ps-print.el: Many doc fixes.
12670 2002-09-09 John Paul Wallington <jpw@shootybangbang.com>
12672 * play/doctor.el (doctor-cadr, doctor-caddr, doctor-cddr): Remove.
12675 2002-09-08 Markus Rost <rost@math.ohio-state.edu>
12677 * diff.el (diff): Doc fix.
12679 2002-09-08 Richard M. Stallman <rms@gnu.org>
12681 * emacs-lisp/bytecomp.el (byte-compile-delete-errors): Default to nil.
12683 * simple.el (undo-elt-in-region): Fix one-off error at END.
12684 (forward-visible-line): Handle invisibility by ignoring
12685 invisible newlines. Also include entire invisible lines beyond
12686 the stopping point.
12688 * cus-edit.el (custom-save-variables, custom-save-faces):
12689 Clarify the comments written into .emacs.
12691 2002-09-08 Markus Triska <triska@gmx.at>
12693 * play/doctor.el (doctor-doc): Recognize question words
12694 and use qlist. Use doctor-shorten's return value.
12695 (doctor-shorten): Compute a return value, don't alter `sent'.
12696 (doctor-hates1): Add a question mark.
12697 (doctor-strangelove): Unused function deleted.
12699 2002-09-08 Kim F. Storm <storm@cua.dk>
12701 * kmacro.el (kmacro-end-and-call-macro): New command to end and
12702 call keyboard macro in one step. Bind it to C-x e by default.
12703 (kmacro-call-macro): Use format-kbd-macro.
12704 (kmacro-step-edit-macro): New command to interactively step edit
12705 and execute last keyboard macro.
12706 (kmacro-keymap): Bind SPC [C-x C-k SPC] to kmacro-step-edit-macro.
12707 (kmacro-step-edit-mini-window-height): New custom var.
12708 (kmacro-step-edit-map): New keymap (parent is query-replace-map).
12709 (kmacro-step-edit-prefix-commands): New var.
12710 (kmacro-step-edit-prompt, kmacro-step-edit-query)
12711 (kmacro-step-edit-insert, kmacro-step-edit-pre-command)
12712 (kmacro-step-edit-minibuf-setup, kmacro-step-edit-post-command):
12713 New aux functions for step editing keyboard macros.
12715 * subr.el (read-quoted-char): Apply listify-key-sequence to vector
12716 returned by this-single-command-raw-keys before appending it to
12717 unread-command-event.
12719 2002-09-07 Colin Walters <walters@debian.org>
12721 * progmodes/compile.el (compile-internal): Add optional argument
12724 * diff.el (diff): Add optional argument no-async, and use the
12727 * files.el (diff-buffer-with-file): Call diff synchronously, so we
12728 don't delete the temporary file before diff has a chance to read
12731 * ibuf-ext.el (ibuffer-diff-with-file): Just call
12732 `diff-buffer-with-file'.
12734 2002-09-07 John Paul Wallington <jpw@shootybangbang.com>
12736 * emacs-lisp/cl-indent.el (extended-loop-p): Doc fix.
12738 * emacs-lisp/find-func.el (find-function-recenter-line):
12739 Add custom type. Doc fix.
12741 2002-09-06 Stefan Monnier <monnier@cs.yale.edu>
12743 * menu-bar.el (menu-bar-make-mm-toggle): New macro.
12744 (showhide-menu-bar, showhide-toolbar, menu-bar-toggle-auto-compression)
12745 (toggle-highlight-paren-mode, toggle-global-lazy-font-lock-mode):
12746 Remove. Use the minor mode function directly instead.
12747 (menu-bar-mode): Add message and customize-mark-as-set and return
12748 the new value as do other minor modes.
12750 * edmacro.el (edmacro-subseq): Don't use cl-push/cl-pop.
12752 2002-09-06 Simon Marshall <simon@gnu.org>
12754 * progmodes/etags.el (find-tag-tag, complete-tag):
12755 Bind completion-ignore-case based on tags-case-fold-search, so that
12756 case-sensitivity of tag completion matches that of tag search.
12758 2002-09-06 Juanma Barranquero <lektu@terra.es>
12760 * calendar/solar.el (calendar-time-display-form): Fix spacing.
12762 * double.el (double-prefix-only): Likewise.
12764 * emacs-lisp/easymenu.el (easy-menu-define): Likewise.
12766 * emacs-lisp/find-func.el (find-function-search-for-symbol): Likewise.
12768 * emacs-lisp/float.el (string-to-float): Likewise.
12770 * emacs-lisp/rx.el (rx): Likewise.
12772 * faces.el (copy-face): Likewise.
12774 * hilit-chg.el (highlight-changes-colours)
12775 (highlight-changes-active-string)
12776 (highlight-changes-passive-string)
12777 (highlight-changes-rotate-faces, global-highlight-changes): Likewise.
12779 * international/mule.el (decode-char): Likewise.
12781 * progmodes/idlwave.el (idlwave-support-inheritance)
12782 (idlwave-routine-entry-compare): Likewise.
12784 * progmodes/idlw-shell.el (idlwave-shell-use-breakpoint-glyph):
12787 * progmodes/pascal.el (pascal-start-keywords): Likewise.
12789 * progmodes/sh-script.el (sh-indent-for-fi, sh-indent-for-done):
12792 * progmodes/vhdl-mode.el (vhdl-progress-interval)
12793 (vhdl-corresponding-begin): Likewise.
12795 * simple.el (choose-completion-string-functions): Likewise.
12797 * textmodes/reftex.el (reftex-TeX-master-file): Likewise.
12799 * textmodes/fill.el (fill-nonuniform-paragraphs)
12800 (fill-individual-paragraphs): Likewise.
12802 * vcursor.el (vcursor-toggle-vcursor-map): Likewise.
12804 * warnings.el (warning-level-aliases): Likewise.
12806 * speedbar.el (speedbar-mode): Fix spacing and typos.
12808 * textmodes/reftex-vars.el (reftex-label-menu-flags): Fix typo.
12810 2002-09-05 Markus Rost <rost@math.ohio-state.edu>
12812 * textmodes/table.el (table-command-prefix): Fix type.
12814 2002-09-05 Andre Spiegel <spiegel@gnu.org>
12816 * vc-hooks.el: Don't require vc.el at compile-time; it causes
12817 recursive requirements during bootstrap.
12819 2002-09-05 Kenichi Handa <handa@etl.go.jp>
12821 * international/mule.el (decode-char): Cancel the previous change.
12823 2002-09-04 Mats Lidell <matsl@contactor.se> (tiny change)
12825 * language/european.el ("Swedish"): New set-language-info-alist call.
12827 2002-09-04 Richard M. Stallman <rms@gnu.org>
12829 * help-fns.el (help-with-tutorial): Properly set up
12830 completion-reference-buffer in the *Completion* buffer.
12832 2002-09-04 John Paul Wallington <jpw@shootybangbang.com>
12834 * startup.el (use-fancy-splash-screens-p): If `fancy-splash-frame'
12835 returns nil, return nil.
12837 2002-09-04 Andre Spiegel <spiegel@gnu.org>
12839 * vc-hooks.el: Require vc.el at compile-time.
12840 (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
12841 Moved here from vc.el.
12843 * vc.el (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
12844 Moved to vc-hooks.el.
12846 * vc-rcs.el (vc-rcs-state): Don't require vc.el.
12848 2002-09-04 Kenichi Handa <handa@etl.go.jp>
12850 * international/mule.el (decode-char): Translate a character by
12851 utf-8-translation-table-for-decode only when
12852 utf-8-fragment-on-decoding is non-nil.
12854 2002-09-02 Stefan Monnier <monnier@cs.yale.edu>
12856 * textmodes/text-mode.el (paragraph-indent-text-mode-abbrev-table)
12857 (paragraph-indent-text-mode-syntax-table, paragraph-indent-text-mode):
12858 Use text-mode's syntax-table and abbrev-table.
12859 (text-mode): Set require-final-newline to t.
12861 * newcomment.el (comment-make-extra-lines): Only use the
12862 dummy `=' char when there's really nothing else.
12863 Don't remove spaces if it leads to an incorrect comment.
12865 * pcvs.el (cvs-run-process): Use a pty rather than a pipe to work
12866 around the cvs/ssh/libc bug.
12867 (cvs-update-header): Understand `cvs admin -m<rev>:<msg>' syntax.
12868 (defun-cvs-mode): Use the new `declare' thingy.
12869 (cvs-edit-log-text-at-point, cvs-mode-edit-log, cvs-do-edit-log)
12870 (cvs-edit-log-minor-wrap, cvs-edit-log-filelist): New funs.
12871 (cvs-mode-undo): Use `cvs add' for (CONFLICT. REMOVED).
12873 * pcvs-parse.el (cvs-parse-table): Create a `need-update'
12874 node rather than a message for new directories.
12875 (cvs-parse-status): Add support for `Entry Invalid'.
12877 * smerge-mode.el (smerge-diff-buffer-name): Default to *vc-diff*.
12878 (smerge-combine-with-next): New function.
12879 (smerge-diff): Don't output `wrote /tmp/foo' messages.
12880 Insert message if no diffs were found.
12882 * mail/sendmail.el (mail-mode): Don't set local-abbrev-table.
12883 (mail-mode-abbrev-table): Set to text-mode-abbrev-table.
12885 2002-09-02 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12887 * net/tramp.el: Version 2.0.15 released.
12888 (require 'base64): Most modern Emacsen have the base64
12889 encode/decode functions built in, so test to see if they are bound
12890 before we go blindly requiring base64.el.
12891 From Steve Youngs <youngs@xemacs.org>.
12892 (tramp-feature-write-region-fix): XEmacs doesn't have a
12893 'find-operation-coding-system' and this variable doesn't seem to
12894 be used anywhere so wrap it in (unless (featurep 'xemacs)).
12895 From Steve Youngs <youngs@xemacs.org>.
12896 (tramp-methods): Remove duplicate definition of ssh1-old and ssh2-old.
12897 (tramp-open-connection-su): Use user name "root" if no user name
12900 From Michael Albinus <Michael.Albinus@alcatel.de>:
12901 * net/tramp.el (tramp-invoke-ange-ftp):
12902 (tramp-ange-ftp-file-name-p): Check for Xemacs.
12903 (tramp-do-copy-or-rename-file): Don't pass KEEP-DATE to
12904 tramp-invoke-ange-ftp 'rename.
12905 (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
12906 tramp-invoke-ange-ftp 'write-region.
12907 (tramp-handle-set-file-modes): Change order of FILENAME and MODE
12908 passing to tramp-invoke-ange-ftp 'set-file-modes.
12909 (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp' must be called
12910 again after activating `ange-ftp'.
12912 2002-09-02 Kim F. Storm <storm@cua.dk>
12914 * ido.el (ido-ignore-item-temp-list): New variable.
12915 (ido-read-internal): Don't set ido-default-item if the default is
12916 member of ido-ignore-item-temp-list.
12917 Don't return first match for C-j if no text is entered.
12918 (ido-buffer-internal): Check for empty string return.
12919 (ido-make-buffer-list1): Use member instead of memq.
12920 (ido-window-buffer-p): Likewise.
12921 (ido-get-bufname): Ignore buffers on ido-ignore-item-temp-list.
12922 (ido-ignore-item-p): Ignore items on ido-ignore-item-temp-list.
12924 * replace.el (multi-occur): Made "ido-aware":
12925 Changed prompt to use C-j instead of RET to end.
12926 Set ido-ignore-item-temp-list to the selected buffers so far, so
12927 they are automatically excluded from the list of choices.
12928 Use add-to-list instead of push.
12930 2002-09-01 Richard M. Stallman <rms@gnu.org>
12932 * term/x-win.el (function-key-map): Define S-iso-lefttab.
12934 2002-09-01 Kim F. Storm <storm@cua.dk>
12936 * edmacro.el (edit-kbd-macro): Recognize new default binding for
12937 C-x e in addition to old binding.
12939 2002-09-01 Mario Lang <mlang@debian.org>
12941 * files.el (save-some-buffers-action-alist): New variable.
12942 (save-some-buffers): Use that.
12943 (diff-buffer-with-file): New function.
12945 2002-09-01 Richard M. Stallman <rms@gnu.org>
12947 * ruler-mode.el (defgroup ruler-mode): Use `convenience' as parent.
12949 * dired.el (defgroup dired): Use `files' as parent.
12950 (dired-get-filename): Ignore handler if it has safe-magic prop.
12952 * jka-compr.el (jka-compr-handler): Add safe-magic property.
12954 2002-08-31 Richard M. Stallman <rms@gnu.org>
12956 * simple.el (kill-line): Use end-of-visible-line to determine
12957 if rest of line is blank.
12958 (end-of-visible-line): Cope if end-of-line moved back over
12959 invisible intangible chars at end of line.
12961 * simple.el (completion-setup-function): Don't use directory-sep-char.
12963 2002-09-01 Glenn Morris <gmorris@ast.cam.ac.uk>
12965 * progmodes/f90.el (f90-menu): Remove ":active" keyword where not
12967 (f90-menu, f90-add-imenu-menu): Use lookup-key.
12968 Remove (eval-when-compile) for free variables.
12970 2002-08-31 Andreas Schwab <schwab@suse.de>
12972 * font-core.el (font-lock-change-mode): Avoid changing buffer
12975 2002-08-30 Stefan Monnier <monnier@cs.yale.edu>
12977 * emacs-lisp/easymenu.el (easy-menu-filter-return):
12978 Handle the case where the filter returns a single menu entry.
12979 (easy-menu-add): Improve docstring.
12980 (easy-menu-current-active-maps): Remove.
12981 (easy-menu-get-map): Use current-active-maps.
12983 * cus-edit.el (custom-unlispify-menu-entry): Don't remove
12984 the -p prefix from variables since they shouldn't have it anyway.
12985 (custom-group-menu-create, customize-menu-create):
12986 Only cdr if applicable, since custom-menu-create might return
12987 a vector (i.e. a single menu entry).
12989 2002-08-30 Edward M. Reingold <reingold@emr.cs.iit.edu>
12991 * calendar/diary-lib.el (diary-mail-entries): Don't overwrite
12992 user's value of diary-list-include-blanks, but generate message
12993 instead if there are no entries.
12995 2002-08-30 ARISAWA Akihiro <ari@mbf.sphere.ne.jp> (tiny change)
12997 * ps-print.el (ps-lp-system): Fixed typo in `usg-unix-v'.
12999 2002-08-30 Markus Rost <rost@math.ohio-state.edu>
13001 * menu-bar.el (menu-bar-read-mail): Doc fix.
13003 2002-08-30 John Paul Wallington <jpw@shootybangbang.com>
13005 * ibuffer.el (ibuffer-update): Revert expansion of `caddr'.
13006 (ibuffer-fontification-alist): Check hidden buffer case isn't
13007 visiting a file and change its face to italic.
13009 2002-08-30 Juanma Barranquero <lektu@terra.es>
13011 * replace.el (occur-mode): Add interactive declaration.
13013 * bs.el (bs-message-without-log): Fix typo.
13015 * font-core.el (font-lock-defaults): Likewise.
13017 * font-lock.el (font-lock-add-keywords): Likewise.
13019 * mouse-copy.el (mouse-copy-work-around-drag-bug): Likewise.
13021 * textmodes/bibtex.el (bibtex-mode): Likewise.
13023 * emulation/viper-ex.el (ex-compile-command): Likewise.
13025 * progmodes/idlwave.el (idlwave-max-extra-continuation-indent):
13028 * progmodes/dcl-mode.el (dcl-calc-cont-indent-relative): Likewise.
13030 * allout.el (my-mark-marker): Likewise.
13032 2002-08-30 Simon Josefsson <jas@extundo.com>
13034 * mail/smtpmail.el (smtpmail-via-smtp): Delete process buffer
13035 unless s-debug-info is enabled.
13037 2002-08-29 John Paul Wallington <jpw@shootybangbang.com>
13039 * ibuffer.el (ibuffer-update): Use `minibufferp'. Expand `caddr'.
13041 * mwheel.el (mouse-wheel-up-button): Doc fix.
13043 2002-08-29 Juanma Barranquero <lektu@terra.es>
13045 * replace.el (occur-mode-hook): New hook.
13046 (occur-mode): Use it.
13047 (occur-hook): Set default to nil.
13049 2002-08-29 Stefan Monnier <monnier@cs.yale.edu>
13051 * net/ange-ftp.el: Use match-string and drop useless `function's.
13052 (ange-ftp-get-process): Bind `ange-ftp-this-user' and
13053 `ange-ftp-this-host' before running ange-ftp-process-startup-hook.
13054 (ange-ftp-ls-parser): Use `switches' arg instead of dynamic binding.
13055 (ange-ftp-parse-dired-listing): Update the calls.
13056 (dired-local-variables-file): Declare to shut quieten the compiler.
13057 (ange-ftp-file-entry-active-p): Remove.
13058 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
13059 Don't exclude dangling symlinks.
13060 (ange-ftp-file-name-completion-1): Make predicate optional.
13061 (ange-ftp-parse-list-func-alist): Use add-to-list to update.
13062 (ange-ftp-fix-name-for-bs2000): Use subst-char-in-string.
13063 (ange-ftp-bs2000-posix-hook-installed): Remove.
13064 (ange-ftp-add-bs2000-posix-host): Don't use it anymore.
13065 (ange-ftp-bs2000-cd-to-posix): Use `ange-ftp-this-user' and
13066 `ange-ftp-this-host' instead of `user' and `host'.
13068 2002-08-29 Richard M. Stallman <rms@gnu.org>
13070 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
13071 Decide here whether to print which form we're compiling.
13072 If we do that, still print file and line. Make file name
13073 relative to default-directory. Print fewer newlines.
13074 (byte-compile-log-file): Print something even if no file.
13075 Print messages for entering and leaving directories,
13076 and set default-directory.
13077 (displaying-byte-compile-warnings): Only sometimes bind warning-series.
13078 (byte-compile-warning-series): New function.
13079 (byte-compile-file): Set byte-compile-last-logged-file, don't bind it.
13080 (byte-compile-display-log-head-p): Function deleted.
13082 * warnings.el (warning-series): Now can be a marker, not an integer.
13083 (display-warning): Handle new value for warning-series.
13085 * emacs-lisp/bytecomp.el (byte-compile-log-file): Use \f.
13086 (byte-compile-cl-warn): Add cl-macroexpand-all, cl-compiling-file
13087 to don't-warn list.
13089 2002-08-29 Kim F. Storm <storm@cua.dk>
13091 * kmacro.el: Change default bindings from F7/F8 to F3/F4.
13092 Change default binding of C-x e to kmacro-end-or-call-macro.
13093 (kmacro-call-repeat-key, kmacro-call-repeat-with-arg): New custom
13095 (kmacro-get-prefix-arg): New function.
13096 (kmacro-repeat-on-last-key): Rename from kmacro-repeat-loop and
13097 improve. Callers changed.
13098 (kmacro-call-macro): Repeat macro by repeating last key or
13099 key defined in kmacro-call-repeat-key. New third arg non-nil
13100 means to end current macro.
13101 (kmacro-end-or-call-macro): Call kmacro-call-macro appropriately
13102 to get repeat last key functionality.
13103 (kmacro-start-macro-or-insert-counter): Improve doc string.
13105 2002-08-28 Luc Teirlinck <teirllm@mail.auburn.edu>
13107 * files.el (find-buffer-visiting): Compare file attributes
13108 using buffer-file-truename.
13110 2002-08-28 Richard M. Stallman <rms@gnu.org>
13112 * files.el (make-auto-save-file-name, make-backup-file-name-1):
13113 Don't use directory-sep-char.
13115 2002-08-28 Juanma Barranquero <lektu@terra.es>
13117 * replace.el (occur-hook): Renamed from `occur-mode-hook'.
13118 (occur-mode): Remove call to `occur-mode-hook'.
13119 (occur-rename-buffer): Fix reference to `occur-mode-hook' in docstring.
13120 (occur-1): Add call to `occur-hook'.
13122 * subr.el (make-variable-frame-localizable): Alias for
13123 `make-variable-frame-local'.
13125 2002-08-28 Miles Bader <miles@gnu.org>
13127 * rfn-eshadow.el (read-file-name-electric-shadow-properties)
13128 (read-file-name-electric-shadow-tty-properties)
13129 (read-file-name-electric-shadow-mode): Remove compatibility defs.
13131 * comint.el (comint-carriage-motion): Start at START.
13133 2002-08-27 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
13135 * net/ange-ftp.el (ange-ftp-skip-msgs): Skip the 530 response
13136 given by vsFTPd when accessed with a kerberised FTP client.
13138 2002-08-27 Richard M. Stallman <rms@gnu.org>
13140 * files.el (find-alternate-file):
13141 Bind kill-buffer-query-functions locally, don't set it.
13143 2002-08-27 Andreas Schwab <schwab@suse.de>
13145 * kmacro.el (kmacro-start-macro): Doc fix.
13147 2002-08-27 Carsten Dominik <dominik@sand.science.uva.nl>
13149 * textfile/reftex-ref.el (reftex-goto-label): New command.
13151 * textfile/reftex-vars.el (reftex-part-resets-chapter): New option.
13153 * textfile/reftex-parse.el (reftex-roman-number): New function.
13154 (reftex-section-number): Better handling of parts: No chapter
13157 * textfile/reftex.el (reftex-highlight-overlays): Added a third
13159 (reftex-mode-menu): Added entry for `reftex-toc-recenter.
13160 Also moved `reftex-reset-mode' to top level.
13162 * textfile/reftex-toc.el (reftex-toc-recenter): New command.
13163 (reftex-toc-pre-command-hook): Don't remove highlight overlay.
13164 (reftex-toc-post-command-hook): Use overlay no 2 for highlighting.
13166 * textfile/reftex-sel.el (reftex-get-offset): Get offset of
13167 document pointer *before* position, not after.
13168 (reftex-insert-docstruct): Get offset of document pointer *before*
13169 position, not after.
13171 * textfiles/reftex-parse.el (reftex-where-am-I): Prefer marker
13172 match over section title match.
13174 * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
13175 which determines on a per-file-basis if BibTeX is being used
13176 locally for citations.
13177 (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
13178 cooperation with chapterbib.
13179 (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
13180 better cooperation with chapterbib.
13182 * textfiles/reftex-dcr.el (reftex-view-cr-cite):
13183 Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
13185 2002-08-26 Kim F. Storm <storm@cua.dk>
13187 * subr.el (suppress-keymap): Use command remapping instead of
13188 substitute-key-definition to undefine self-inserting keys.
13190 2002-08-26 Juanma Barranquero <lektu@terra.es>
13192 * makefile.w32-in (WINS): Add calc and obsolete.
13194 2002-08-26 Stefan Monnier <monnier@cs.yale.edu>
13196 * emacs-lisp/easy-mmode.el (define-minor-mode):
13197 Use customize-mark-as-set for global minor modes.
13199 2002-08-25 Miles Bader <miles@gnu.org>
13201 * rfn-eshadow.el (file-name-shadow-properties-custom-type):
13202 Renamed from `read-file-name-electric-shadow-properties-custom-type'.
13203 Change name of face.
13204 (file-name-shadow-properties): Renamed from
13205 `read-file-name-electric-shadow-properties'.
13206 (file-name-shadow-tty-properties): Renamed from
13207 `read-file-name-electric-shadow-tty-properties'.
13208 (file-name-shadow): Renamed from `read-file-name-electric-shadow'.
13209 (rfn-eshadow-setup-minibuffer): Update references to renamed variables.
13210 (file-name-shadow-mode): Renamed from
13211 `read-file-name-electric-shadow-mode'. Update references to
13214 2002-08-24 Sam Steingold <sds@gnu.org>
13216 * subr.el (eval-after-load): Do not call
13217 load-symbol-file-load-history (deleted yesterday).
13219 2002-08-24 John Paul Wallington <jpw@shootybangbang.com>
13221 * startup.el (normal-splash-screen): Ensure splash buffer is
13222 killed. Use tabs in output. Fix test whether previous buffer was
13225 * progmodes/simula.el (simula-abbrev-keyword-default)
13226 (simula-abbrev-keyword, simula-abbrev-stdproc-default)
13227 (simula-abbrev-stdproc): Doc fix - escape open parens in column 0.
13229 * apropos.el (command-apropos): Use `defalias' instead of `fset'.
13231 * mail/rmail.el (rmail-speedbar-match-folder-regexp): Doc fix.
13233 2002-08-24 Glenn Morris <gmorris@ast.cam.ac.uk>
13235 * progmodes/f90.el (f90-xemacs-flag, f90-xemacs-menu)
13236 (f90-menu-bar-menu, f90-change-case-menu, f90-font-lock-on)
13237 (f90-font-lock-off, f90-font-lock-menu): Delete.
13238 Use easy-menu-define instead.
13239 (f90-mode): Use easy-menu-add.
13240 No longer (require 'imenu) when compiling.
13241 (f90-mark-subprogram, f90-indent-region, f90-fill-region)
13242 (f90-abbrev-start): Use fboundp.
13243 (f90-imenu-flag): Delete - use imenu--index-alist instead.
13245 2002-08-23 Richard M. Stallman <rms@gnu.org>
13247 * loadhist.el (unload-feature): Distinguish functions from
13248 variables in load-history.
13249 (feature-symbols): Doc fix.
13251 * files.el (ange-ftp-completion-hook-function): Add safe-magic prop.
13253 * subr.el (symbol-file-load-history-loaded)
13254 (load-symbol-file-load-history): Deleted.
13255 (symbol-file): Don't call load-symbol-file-load-history.
13257 2002-08-23 Andre Spiegel <spiegel@gnu.org>
13259 * vc-hooks.el (vc-kill-buffer-hook): Add it to kill-buffer-hook again.
13261 2002-08-22 Katsumi Yamaoka <yamaoka@jpl.org> (tiny change)
13263 * frame.el (select-frame-by-name, select-frame-set-input-focus):
13264 Always call x-focus-frame, if using x.
13265 Use set-mouse-position on all systems, if focus-follows-mouse.
13267 2002-08-22 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13269 * net/tramp.el: Version 2.0.14 released.
13270 (tramp-shell-prompt-pattern): New variable.
13271 (tramp-actions-before-shell, tramp-multi-actions)
13272 (tramp-find-shell, tramp-open-connection-multi)
13273 (tramp-open-connection-setup-interactive-shell): Use it.
13274 (tramp-open-connection-telnet, tramp-open-connection-rsh)
13275 (tramp-open-connection-su): Mention `tramp-shell-prompt-pattern'
13277 (tramp-bug): Report `tramp-shell-prompt-pattern'.
13278 (tramp-process-one-multi-action, tramp-process-one-action):
13279 Make message clearer so people don't confuse it with Emacs asking
13280 them a question if the regexp happens to end with "?".
13281 (tramp-verbose): Change default value from 10 to 9. Also change
13282 some logging levels so that 10 is reserved for stuff which is
13283 needed for debugging only, but 9 catches everything that people
13284 might like to see in order to see that Tramp is actually working.
13286 2002-08-22 Kim F. Storm <storm@cua.dk>
13288 * emacs-lisp/authors.el (authors-aliases, authors-fixed-entries):
13289 Corrected spelling mistakes (for Joseph Arceneaux).
13291 2002-08-21 Glenn Morris <gmorris@ast.cam.ac.uk>
13293 * progmodes/f90.el: eval-when-compile a few defvars.
13294 (f90-xemacs-flag): Wrap in eval-and-compile.
13295 (f90-font-lock-keywords): Doc fix.
13296 (f90-mode-abbrev-table): Work with or without 6th arg of define-abbrev.
13297 (f90-mark-subprogram-overlay): Variable deleted.
13298 (f90-mark-subprogram): Remove overlay bit. Don't be silent about
13300 (f90-abbrev-start): unread-command-event is obsolete in XEmacs.
13302 2002-08-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13304 * net/tramp.el: Version 2.0.13 released.
13305 (tramp-handle-write-region): Don't check to see if remote end is
13306 awake after sending data to remote host: we want to send "EOF" not
13307 "echo are you awake"...
13308 (tramp-maybe-open-connection): Swap args for tramp-time-diff.
13309 (tramp-yn-prompt-regexp): New variable.
13310 (tramp-action-yn): New function, using it.
13311 (tramp-feature-write-region-fix): New internal variable. Not yet
13312 used. Should be used in `tramp-handle-write-region'.
13314 2002-08-21 Kim F. Storm <storm@cua.dk>
13316 * bindings.el (mode-line-format): Moved global-mode-string last.
13317 (mode-line-position): Moved %p first. Added padding to %l/%c to
13318 eliminate jumpyness in modeline. Use (%l,%c) format if both
13319 line-number-mode and column-number-mode are enabled.
13321 2002-08-20 Martin Stjernholm <bug-cc-mode@gnu.org>
13323 * progmodes/cc-engine.el (c-forward-syntactic-ws): Fixed a bug
13324 that could cause an infinite loop if something that looks like
13325 a macro begins in the middle of a line.
13327 * progmodes/cc-engine.el (c-parse-state): Fixed a bug that
13328 could cause `c-state-cache' to contain two conses in sequence
13329 when there's an unbalanced open paren in a macro.
13331 2002-08-20 Glenn Morris <gmorris@ast.cam.ac.uk>
13333 * progmodes/fortran.el (fortran-current-defun): Use save-excursion.
13335 * imenu.el (imenu--generic-function): Use mapc.
13336 (imenu-syntax-alist): Doc fix.
13338 2002-08-20 Richard M. Stallman <rms@gnu.org>
13340 * font-core.el (font-lock-change-mode): New function.
13341 (font-lock-mode): Use font-lock-change-mode instead of
13342 font-lock-unfontify-buffer.
13343 (font-lock-maximum-size, font-lock-verbose): Add defvars.
13345 2002-08-20 Carsten Dominik <dominik@astro.uva.nl>
13347 * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
13348 which determines on a per-file-basis if BibTeX is being used
13349 locally for citations.
13350 (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
13351 cooperation with chapterbib.
13352 (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
13353 better cooperation with chapterbib.
13355 * textfiles/reftex-dcr.el (reftex-view-cr-cite):
13356 Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
13358 2002-08-20 Kim F. Storm <storm@cua.dk>
13360 * kmacro.el: Major rework based on discussions with RMS.
13361 Most important change is that C-x C-k is now bound to a keymap
13362 with keyboard macro related commands. The original binding on
13363 C-x C-k is moved to C-x C-k e.
13365 * binding.el: Remove macro related bindings (now in kmacro.el).
13367 * edmacro.el: Remove C-x C-k binding (now in kmacro.el).
13369 2002-08-19 Stefan Monnier <monnier@cs.yale.edu>
13371 * help-fns.el (help-split-fundoc): Replace the function name
13372 from the docstring with the one that should be displayed.
13373 (help-make-usage): Understand CL style arglists.
13374 (describe-function-1): Adapt to the new behavior of help-split-fundoc.
13375 (describe-variable): Use delete-region.
13377 2002-08-19 Kenichi Handa <handa@etl.go.jp>
13379 * international/mule.el (sgml-xml-auto-coding-function):
13380 Call re-search-forward with NOERROR t.
13382 2002-08-19 Miles Bader <miles@gnu.org>
13384 [original idea from Luc Teirlinck <teirllm@mail.auburn.edu>]
13385 * comint.el (comint-inhibit-carriage-motion): New variable.
13386 (comint-carriage-motion): Argument STRING removed. New arguments
13387 START and END; interpret characters between START and END rather
13388 than using special comint state.
13389 (comint-output-filter): Call `comint-carriage-motion'.
13390 (comint-output-filter-functions): Don't add `comint-carriage-motion'.
13391 * ielm.el (inferior-emacs-lisp-mode):
13392 Give `comint-inhibit-carriage-motion' a local value of t.
13394 2002-08-18 Richard M. Stallman <rms@gnu.org>
13396 * textmodes/table.el: New file.
13398 * font-core.el (font-lock-mode): Set change-major-mode-hook locally.
13400 2002-08-18 Andreas Schwab <schwab@suse.de>
13402 * ibuf-ext.el (ibuffer-list-buffer-modes): Doc fix.
13404 2002-08-17 Carsten Dominik <dominik@astro.uva.nl>
13406 * textmodes/reftex.el (reftex-mode): Create special syntax tables.
13407 (reftex-syntax-table): Set a default in case this is being used
13408 outside a LaTeX file.
13409 (reftex-syntax-table-for-bib): Set a default in case this is being
13410 used outside a LaTeX file.
13412 2002-08-17 Richard M. Stallman <rms@gnu.org>
13414 * tar-mode.el (tar-subfile-mode): Use add-hook and remove-hook,
13415 and use write-file-functions instead of local-write-file-hooks.
13416 (tar-untar-buffer): Don't try to extract directories.
13418 * menu-bar.el (fringe-mode): Set to nil.
13420 * mail/rmail.el (rmail-search-mime-header-function): Doc fix.
13422 2002-08-15 Richard M. Stallman <rms@gnu.org>
13424 * calendar/appt.el (appt-delete): Use substring-no-properties.
13425 (appt-make-list): Don't use prin1-to-string; use the string unchanged.
13427 2002-08-15 Jan Nieuwenhuizen <janneke@gnu.org> (tiny change)
13429 * server.el (server-process-filter): Simplify code.
13430 (server-goto-line-column): New function.
13431 (server-visit-files): Use server-goto-line-column.
13432 Offer to revert only if file has changed.
13434 2002-08-15 Richard M. Stallman <rms@gnu.org>
13436 * files.el (recover-this-file): New function.
13437 (after-find-file): Recommend recover-this-file.
13439 * font-core.el (font-lock-mode): Add font-lock-unfontify-buffer
13440 to change-major-mode-hook when font lock is enabled.
13442 * simple.el (toggle-truncate-lines): Force redisplay.
13443 Display status message.
13445 2002-08-15 Carsten Dominik <dominik@sand.science.uva.nl>
13447 * textmodes/reftex.el (reftex-mode): Moved the creation of special
13448 syntax tables to top-level.
13450 2002-08-15 David Kastrup <David.Kastrup@t-online.de>
13452 * net/ange-ftp.el (ange-ftp-wipe-file-entries): Fix type mismatch;
13453 use `hash-table-size' instead of `length'.
13455 2002-08-14 Stefan Monnier <monnier@cs.yale.edu>
13457 * help-fns.el (locate-library): Use locate-file(-completion).
13458 (help-split-fundoc): Tighten the regexp and recognize a usage-info
13459 where the function name is `fn'.
13460 (help-function-arglist): Follow aliases and macros.
13461 (describe-function-1): Use keymapp.
13462 If the docstring contains a usage info, use it even if the function is
13463 not a subroutine. Find usage info in aliases' docstring if necessary.
13464 (describe-variable): Get the value before setting up the *Help* buffer.
13466 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
13467 Use find-file-hook instead of find-file-hooks.
13468 (define-minor-mode): Get rid of this silly `togglep'.
13469 Add an explicit `toggle' argument (used for interactive calls).
13470 Emit a warning when a nil argument turns the mode off.
13472 * language/ethio-util.el (setup-ethiopic-environment-internal)
13473 (exit-ethiopic-environment): Use find-file-hook and
13474 write-file-functions instead of find-file-hooks and write-file-hooks.
13476 * window.el (handle-select-window): Don't do anything if the window
13477 has disappeared since the event was generated.
13478 (split-window-save-restore-data): Use push and with-current-buffer.
13482 * obsolete/hilit19.el:
13483 * completion.el (dynamic-completion-mode):
13484 * emacs-lisp/find-func.el (find-function-search-for-symbol):
13485 Use find-file-hook instead of find-file-hooks.
13487 * imenu.el (imenu-always-use-completion-buffer-p): Make obsolete.
13488 (imenu-use-popup-menu, imenu-eager-completion-buffer): New vars.
13489 (imenu-space-replacement): Allow nil value.
13490 (imenu--completion-buffer): Use new vars and simplify.
13491 Fix handling of minibuffer-setup-hook.
13492 Use minibuffer-completion-help instead of rolling our own.
13493 (imenu-choose-buffer-index): Use the new var.
13495 * startup.el (command-line): Load custom-file if not done yet.
13497 2002-08-14 Kenichi Handa <handa@etl.go.jp>
13499 * select.el (xselect-convert-to-string): If TYPE is non-nil, encode
13500 the selection data string. Always return cons of type and string.
13501 (selection-converter-alist): Add (UTF8_STRING .
13502 xselect-convert-to-string).
13504 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
13506 * newcomment.el (comment-region): Force `lines' when `block' is set.
13508 2002-08-12 Richard M. Stallman <rms@gnu.org>
13510 * menu-bar.el (menu-bar-next-tag-other-window, menu-bar-next-tag)
13511 (menu-bar-right-scroll-bar, menu-bar-left-scroll-bar)
13512 (menu-bar-no-scroll-bar, menu-bar-toggle-auto-compression)
13513 (menu-bar-toggle-cua-mode, menu-bar-read-mail)
13514 (menu-bar-help-extra-packages, help-with-tutorial-spec-language)
13515 (menu-bar-text-mode-auto-fill): New commands, used
13516 in menu bar menus instead of lambda expressions.
13518 (menu-bar-showhide-fringe-menu-customize-left)
13519 (menu-bar-showhide-fringe-menu-customize-right)
13520 (menu-bar-showhide-fringe-menu-customize-disable)
13521 (menu-bar-showhide-fringe-menu-customize-reset): Doc fixes.
13523 (menu-bar-options-menu): Use toggle-truncate-lines.
13524 (showhide-date-time): Call customize-mark-as-set.
13526 * emacs-lisp/find-func.el (find-function-search-for-symbol):
13527 Obey `definition-name' properties.
13529 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
13530 Put `definition-name' properties on the functions whose
13531 names are constructed.
13533 * textmodes/page-ext.el (pages-target-buffer): Add defvar.
13534 Renamed from target-buffer.
13535 (pages-directory, pages-copy-header-and-position): Uses changed.
13537 * calendar/appt.el (appt-make-list): Correct the parsing of
13538 each appointment from time-string.
13540 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
13542 * scroll-all.el (scroll-all-mode): Use define-minor-mode.
13543 (scroll-all-mode) <defcustom>: Delete.
13544 (running-xemacs): Delete.
13545 (minor-mode-alist): Don't manipulate it directly.
13547 2002-08-10 Kenichi Handa <handa@etl.go.jp>
13549 * international/mule-cmds.el (search-unencodable-char): New function.
13550 (select-safe-coding-system): Show unencodable characters.
13551 (unencodable-char-position): Deleted, and implemented in C in coding.c.
13553 2002-04-09 John Wiegley <johnw@gnu.org>
13555 * esh-util.el: Removed eshell-under-cygwin-p, and all uses of it.
13556 * em-cmpl.el (eshell-cmpl-ignore-case): Ditto.
13557 * em-dirs.el (eshell/cd): Ditto.
13558 * em-glob.el (eshell-glob-case-insensitive): Ditto.
13559 * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
13560 * esh-ext.el (eshell-binary-suffixes): Ditto.
13562 2002-08-09 Richard M. Stallman <rms@gnu.org>
13564 * textmodes/page-ext.el (pages-directory-mode): Undo previous change.
13566 * simple.el (set-variable): Give locality status in prompt.
13568 2002-08-09 Benjamin Rutt <rutt@cis.ohio-state.edu>
13570 * simple.el (set-variable): If given a prefix argument, set
13571 variable buffer-locally.
13573 2002-08-09 John Paul Wallington <jpw@shootybangbang.com>
13575 * font-core.el (font-lock-function): Make it buffer-local.
13577 2002-08-08 Richard M. Stallman <rms@gnu.org>
13579 * emacs-lisp/checkdoc.el (checkdoc, checkdoc-interactive)
13580 (checkdoc-message-interactive, checkdoc-interactive-loop)
13581 (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments)
13583 Update checkdoc-spellcheck-documentation-flag correctly.
13584 (checkdoc-ispell-docstring-engine): Don't test for
13585 checkdoc-autofix-flag = nil.
13587 2002-08-07 John Paul Wallington <jpw@shootybangbang.com>
13589 * xt-mouse.el (xterm-mouse-mode): Make it a global mode.
13591 * wid-browse.el (widget-minor-mode): Fix doc typo.
13593 2002-08-07 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13595 * net/tramp.el: Version 2.0.12 released.
13596 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13597 Comment out possibly obsolete "echo hello" commands.
13598 (tramp-run-real-handler): If operation is
13599 `ange-ftp-hook-function', use first arg as the real operation.
13600 (tramp-check-ls-commands): Use / instead of \ as directory
13601 separator. (Relevant for XEmacs on Windows.)
13602 (tramp-maybe-open-connection): Use tramp-wait-for-output when
13603 waiting for the "are you awake" command. Use a different string
13604 for the "are you awake" command.
13605 (tramp-send-command): New optional arg NEVEROPEN means to never
13606 invoke tramp-maybe-open-connection.
13607 (tramp-maybe-open-connection): Use it
13609 2002-08-07 Richard M. Stallman <rms@gnu.org>
13611 * warnings.el (warning-prefix-function, warning-series)
13612 (warning-fill-prefix, warning-group-format): Add autoload cookies.
13614 2002-08-07 Kenichi Handa <handa@etl.go.jp>
13616 * international/mule-cmds.el (select-safe-coding-system):
13617 Call pop-to-buffer inside save-window-excursion and save-excursion.
13619 2002-08-06 John Paul Wallington <jpw@shootybangbang.com>
13621 * help-fns.el (describe-function-1): Skip arglist note if
13622 function's definition is a keymap.
13624 2002-08-06 Sam Steingold <sds@gnu.org>
13626 * calendar/diary-lib.el (diary-mail-entries): Use `compose-mail'
13627 and `mail-user-agent' instead of straight sendmail.
13628 (diary-modified, diary-entries-list, displayed-year)
13629 (displayed-month, entry, date, number, date-string, d-file)
13630 (original-date): Defvar without binding to avoid compiler warnings.
13632 2002-08-05 Alan Shutko <ats@acm.org>
13634 * ibuffer.el (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
13635 (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
13636 (ibuffer-mode): Added ibuffer-filter-by-used-mode to doc string.
13638 * ibuf-ext.el (ibuffer-list-buffer-modes): New.
13639 (ibuffer-filter-by-used-mode): New.
13641 2002-08-05 John Paul Wallington <jpw@shootybangbang.com>
13643 * ediff-util.el (ediff-copy-list): Use `defalias' instead of
13644 `fset' and `symbol-function'.
13646 2002-08-05 John Wiegley <johnw@gnu.org>
13648 * pcomplete.el (pcomplete-entries): Don't set `above-cutoff' to a
13649 value unless pcomplete-cycle-cutoff-length is non-nil.
13651 2002-04-09 John Paul Wallington <jpw@shootybangbang.com>
13653 * esh-util.el (eshell-under-cygwin-p): New function.
13654 * em-cmpl.el (eshell-cmpl-ignore-case): Use it.
13655 * em-dirs.el (eshell/cd): Ditto.
13656 * em-glob.el (eshell-glob-case-insensitive): Ditto.
13657 * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
13658 * esh-ext.el (eshell-binary-suffixes): Ditto.
13660 2002-08-05 Richard M. Stallman <rms@gnu.org>
13662 * international/mule-cmds.el (select-safe-coding-system): Check for
13663 non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS.
13665 * net/ange-ftp.el (ange-ftp-smart-gateway): Doc fix.
13667 2002-08-05 Gerd Moellmann <gerd@gnu.org>
13669 * image.el (image-jpeg-p): Accept "Exif" marker.
13671 2002-08-05 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13673 * net/tramp.el: Version 2.0.11 released.
13674 (tramp-perl-file-attributes): Print uid and gid as signed integers.
13675 (tramp-invoke-ange-ftp): Correct check for Ange-FTP being loaded.
13676 Invoke Ange-FTP with tramp-run-real-handler to avoid Ange-FTP
13677 calling Tramp again.
13678 (tramp-find-file-exists-command): Check for `ls -d' last, after
13679 all the variants on `test -e'.
13680 (tramp-post-connection): Erase buffer before finding a command to
13681 check if file exists.
13683 2002-08-05 David Kastrup <David.Kastrup@t-online.de>
13685 * calc/calc.el (math-format-stack-value): Revert a broken
13686 if->when replacement and reformat so that this does not happen
13687 again. Fixes a pretty lethal line formatting/yanking bug.
13689 2002-08-04 John Paul Wallington <jpw@shootybangbang.com>
13691 * startup.el (fancy-splash-frame): Check selected frame last.
13693 2002-08-04 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13695 * net/tramp.el: Version 2.0.10 released.
13696 (tramp-uudecode): New shell function `tramp_uudecode' to decode to
13697 standard output even if `uudecode -p' and `uudecode -o -' don't work.
13698 (tramp-post-connection): After finding the right shell, wait a
13699 bit. This is a kludge to avoid a race condition, even though I
13700 don't understand why there is a race condition in the first place.
13701 (tramp-post-connection): Install the `tramp_uudecode' shell
13702 function on the remote host.
13703 (tramp-coding-commands): Add an alternative for `tramp_uudecode'.
13704 (tramp-bug): Include more variables in the report.
13706 2002-08-04 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13708 * net/tramp.el: Version 2.0.9 released.
13709 (tramp-bug): Add wording about additional info to include in bug
13711 (tramp-find-shell): Set $PS1 for invocation of second shell (for
13713 (tramp-find-shell): Shell prompt must match at end of buffer.
13714 Do this also for fallback shell prompt.
13715 (tramp-find-shell): More debugging output.
13716 (tramp-find-inline-encoding): When checking the decoding command,
13717 some commands fail when reading from /dev/null. So we pass a
13718 known string through the encoding command and pass that through
13719 the decoding command. So we know whether the decoding command can
13720 deal with some real input.
13722 2002-08-04 Andreas Schwab <schwab@suse.de>
13724 * net/tramp.el (tramp-perl-encode, tramp-perl-decode): Doc fix.
13726 2002-08-03 Andrew Choi <akochoi@shaw.ca>
13728 * term/mac-win.el: Set keys to enable mouse wheel support.
13730 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13732 * net/tramp.el: Version 2.0.8.
13733 (tramp-perl-encode, tramp-perl-encode): Double the backslashes.
13735 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13737 * net/tramp.el: Version 2.0.7.
13738 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
13739 (tramp-perl-encode, tramp-perl-decode): Escape `%' characters
13740 because of `format' and say so in the docstring.
13742 2002-08-03 Glenn Morris <gmorris@ast.cam.ac.uk>
13744 * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of
13746 (f90-font-lock-keywords-2): Fix `implicit type(foo)' case.
13747 (f90-type-def-re): Fix value.
13749 2002-08-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13751 * net/tramp.el: Version 2.0.6.
13752 (tramp-default-method): Change to "ssh" from "sm".
13753 (tramp-wrong-passwd-regexp): Restructure. Add additional alternative.
13754 (tramp-su-program): New internal variable for method parameter.
13755 (tramp-perl-encode-with-module, tramp-perl-decode-with-module):
13756 New variables. Very short Perl one-liner, but requires Perl
13757 module MIME::Base64 to be installed on the remote site.
13758 (tramp-perl-encode, tramp-perl-decode): New base64
13759 encoder/decoder. From Juanma Barranquero <lektu@terra.es>.
13760 (tramp-handle-file-truename): Invoke Ange-FTP properly (even
13761 though Ange-FTP doesn't do anything for this operation).
13762 (tramp-handle-set-visited-file-modtime): Comment change.
13763 (tramp-handle-make-directory): Save-excursion.
13764 (tramp-handle-expand-many-files): Don't try to invoke Ange-FTP
13765 twice, once is enough.
13766 (tramp-action-permission-denied): Show *tramp/foo* buffer so the
13767 user knows what's wrong.
13768 (tramp-post-connection): Support the two Perl encoders and decoders.
13769 (tramp-coding-commands): Ditto. Add some todo items.
13771 2002-08-02 Richard M. Stallman <rms@gnu.org>
13773 * international/mule.el (merge-coding-systems): New function.
13774 (set-buffer-file-coding-system): Use merge-coding-systems.
13775 Change prompt for args.
13776 (revert-buffer-with-coding-system): New command.
13778 * international/mule-cmds.el (mule-keymap, set-coding-system-map):
13779 Add bindings for revert-buffer-with-coding-system.
13780 (set-coding-system-map): Clarify menu item info for
13781 set-buffer-file-coding-system.
13782 (set-coding-system-map): Reorder and add separators.
13784 * emacs-lisp/edebug.el (edebug-eval-top-level-form):
13785 Use eval-expression.
13787 * subr.el (atomic-change-group): Doc fix.
13789 2002-07-31 Colin Walters <walters@debian.org>
13791 * ibuffer.el (ibuffer-hooks): Rename to `ibuffer-hook'; Add
13792 defvaralias for compatibility.
13793 (ibuffer-mode-hooks): Rename to `ibuffer-mode-hook'; Add
13794 defvaralias for compatibility.
13796 2002-07-31 John Paul Wallington <jpw@shootybangbang.com>
13798 * ibuffer.el (ibuffer-fontification-alist):
13799 Use `font-lock-constant-face' instead of `font-lock-reference-face'.
13801 2002-07-31 John Wiegley <johnw@gnu.org>
13803 * pcomplete.el (pcomplete-comint-setup): Use `add-to-list', to
13804 prevent adding the symbol `pcomplete' to
13805 shell-dynamic-complete-functions to many times.
13807 2002-07-31 Markus Rost <rost@math.ohio-state.edu>
13809 * help-fns.el (describe-function-1): Test function for
13810 obsolescence only if it is a symbol.
13812 * ediff.el (ediff-backup): New autoloaded command.
13814 2002-07-31 Richard M. Stallman <rms@gnu.org>
13816 * makefile.w32-in (compile-after-backup): Renamed from `compile'.
13817 Use `compile-always'.
13818 (bootstrap): Use `compile', not `compile-files'. Use `update-subdirs'.
13819 (compile): Renamed from `compile-files'.
13820 (compile-CMD, compile-SH): Renamed from `compile-files-*'.
13822 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
13823 Check that (car elt) is a string.
13825 * pcomplete.el (pcomplete-entries): Doc fix.
13827 * international/mule.el (non-standard-icccm-encodings-alist): Doc fix.
13829 2002-07-31 Andreas Schwab <schwab@suse.de>
13831 * dired.el: Hide disabling of dired-find-alternate-file behind
13834 2002-07-31 Tak Ota <Takaaki.Ota@am.sony.com> (tiny change)
13836 * makefile.w32-in: Revert some changes from 2002-07-23 because they
13837 don't work on MSVC/nmake builds.
13838 (update-subdirs-CMD): Generate the right list of subdirectories.
13840 2002-07-30 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13842 * net/tramp.el: New version 2.0.5.
13843 (tramp-methods): Remove inline encoding method parameters.
13844 The encoding is now autodetected. Also shorten the list of
13845 methods (u/m distinction gone) and rename the remaining methods to
13846 have longer, but more mnemonic, names.
13847 (tramp-login-prompt-regexp, tramp-password-prompt-regexp)
13848 (tramp-wrong-passwd-regexp): Trailing `$' not needed, regexp is
13849 matched at end of buffer anyway.
13850 (tramp-yesno-prompt-regexp): New variable, for questions where the
13851 user should say "yes" or "no".
13852 (tramp-file-name-structure-unified)
13853 (tramp-file-name-structure-separate): Allow dash in method names.
13854 (tramp-actions-before-shell): New variable, contains list of
13855 pattern/action pairs. Output sent by remote end is scanned for
13856 the patterns, then the actions are executed.
13857 (tramp-multi-actions): Like `tramp-actions-before-shell', but
13858 executed for each hop in a multi-hop connection.
13859 (tramp-last-cmd-time): New variable. If nothing has been sent to
13860 remote end for 60 seconds, look to see if the remote end is still
13862 (tramp-perl-mime-encode, tramp-perl-mime-decode): Remove.
13864 (tramp-perl-encode, tramp-perl-decode): New variables, these
13865 require the MIME::Base64 module on the remote end.
13866 (tramp-handle-file-attributes): Restructure logic.
13867 (tramp-handle-file-attributes-with-ls)
13868 (tramp-handle-file-attributes-with-perl): More debugging.
13869 (tramp-handle-directory-files): Grok fifth arg `files-only' for XEmacs.
13870 (tramp-handle-make-directory, tramp-handle-delete-directory)
13871 (tramp-handle-delete-file, tramp-handle-insert-directory):
13873 (tramp-handle-shell-command): Use `when', not `if'.
13874 (tramp-handle-file-local-copy, tramp-handle-write-region):
13875 Adapt to autodetection of inline encoding.
13876 (tramp-invoke-ange-ftp): Require ange-ftp to make sure that
13877 variable ange-ftp-name-format is defined before binding it.
13878 (tramp-action-login, tramp-action-password, tramp-action-succeed)
13879 (tramp-action-permission-denied, tramp-action-yesno):
13880 Functions called from `tramp-actions-before-shell'.
13881 (tramp-multi-action-login, tramp-multi-action-password)
13882 (tramp-multi-action-succeed, tramp-multi-action-permission-denied):
13883 Functions called from `tramp-multi-actions'.
13884 (tramp-process-one-action, tramp-process-actions):
13885 Pattern matching and action invocation code for
13886 `tramp-actions-before-shell'.
13887 (tramp-process-one-multi-action, tramp-process-multi-actions):
13888 Same for `tramp-multi-actions'.
13889 (tramp-open-connection-telnet, tramp-open-connection-rsh)
13890 (tramp-open-connection-su): Process actions instead of hardwired logic.
13891 (tramp-multi-connect-telnet, tramp-multi-connect-rlogin)
13892 (tramp-multi-connect-su): Ditto.
13893 (tramp-post-connection): New method for tramp_encode and
13894 tramp_decode scripts.
13895 (tramp-post-connection): Invoke inline autodetection code.
13896 (tramp-coding-commands): List of inline codings.
13897 (tramp-find-inline-encoding): This is the inline autodetection code.
13898 (tramp-maybe-open-connection): If nothing was sent to connection
13899 for 60 seconds, look if it connection is still alive.
13900 (tramp-send-command): Remember that something was sent to the
13902 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
13903 Use backticks for constructing alist.
13904 (tramp-get-encoding-command, tramp-set-encoding-command)
13905 (tramp-get-decoding-command, tramp-set-decoding-command)
13906 (tramp-get-encoding-function, tramp-set-encoding-function)
13907 (tramp-get-decoding-function, tramp-set-decoding-function):
13908 Use for results of inline autodetection.
13909 (tramp-get-encoding-command, tramp-get-decoding-command)
13910 (tramp-get-encoding-function, tramp-get-decoding-function):
13911 Remove these old functions.
13913 2002-07-30 Kenichi Handa <handa@etl.go.jp>
13915 * language/indian.el (in-is13194): Give correct `safe-chars' property.
13916 (devanagari): Define it as an alias of in-is13194.
13918 * international/mule.el (safe-chars):
13919 Put `char-table-extra-slots' property with value 0.
13921 * files.el (revert-buffer): Fix previous change.
13923 2002-07-29 Richard M. Stallman <rms@gnu.org>
13925 * bindings.el (help-echo): If global-mode-string is non-nil,
13926 display some spaces after it.
13928 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
13929 Don't call string-match on non-string.
13931 * textmodes/ispell.el (check-ispell-version): Bind default-directory
13932 to avoid errors. Kill the old temp buffer at the beginning.
13934 2002-07-29 Glenn Morris <gmorris@ast.cam.ac.uk>
13936 * scroll-all.el (scroll-all-mode): Make argument optional. Doc fix.
13938 2002-07-29 John Paul Wallington <jpw@shootybangbang.com>
13940 * scroll-all.el (scroll-all-mode): Handle numeric arg. Use `if'
13943 2002-07-29 Kenichi Handa <handa@etl.go.jp>
13945 * international/mule.el (ctext-post-read-conversion): Add support
13946 for embedded utf-8 encoding (ESC % G ... ESC % @).
13948 2002-07-28 Kenichi Handa <handa@etl.go.jp>
13950 * files.el (revert-buffer): Before calling insert-file-contents,
13951 kill the local variable buffer-file-coding-system.
13953 2002-07-28 Richard M. Stallman <rms@gnu.org>
13955 * bindings.el (mode-line-format): Handle vc-mode specially.
13956 Move mode-line-position to after global-mode-string.
13957 (mode-line-modes): Move the starting 3 spaces out of here.
13958 (mode-line-position): Separate with a space, not dashes.
13960 * vc-hooks.el: Don't add to minor-mode-alist.
13962 * emacs-lisp/edebug.el (edebug-debugger):
13963 If inside redisplay, just return.
13965 * emacs-lisp/debug.el (debug): If inside redisplay, just return.
13967 * info.el (Info-find-index-name): Improve last change.
13969 2002-07-27 Richard M. Stallman <rms@gnu.org>
13971 * files.el (file-name-sans-extension): Avoid expanding DIRECTORY.
13973 * calendar/cal-hebrew.el (diary-rosh-hodesh): Cons mark on
13976 2002-07-27 Markus Rost <rost@math.ohio-state.edu>
13978 * ps-print.el: Update copyright year.
13979 (ps-begin-cut-regexp, ps-end-cut-regexp): Fix type.
13981 2002-07-26 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13983 * eshell/eshell.el (eshell): Numeric prefix arg means to switch
13984 to the session with that number. Old behavior still available
13985 with nonumeric prefix args.
13987 2002-07-08 Simon Josefsson <jas@extundo.com>
13989 * mail/mail-extr.el (mail-extr-all-top-level-domains): Update names.
13991 2002-07-26 Juanma Barranquero <lektu@terra.es>
13993 * warnings.el (lwarn, warn, warning-levels): Doc fix.
13994 (warning-suppress-log-types): Fix typo.
13995 (display-warning): Fix typo. Remove useless assignment to free variable
13998 2002-07-25 Markus Rost <rost@math.ohio-state.edu>
14000 * ediff-wind.el (ediff-window-setup-function): Extend type declaration.
14002 2002-07-25 Sam Steingold <sds@gnu.org>
14004 * replace.el (occur-rename-buffer): New command.
14005 (occur-mode-map): Bind "r" to it. Added keybindings for
14006 `kill-this-buffer', `clone-buffer' and `quit-window'.
14008 2002-07-25 Kevin Ryde <user42@zip.com.au>
14010 * info.el (Info-find-index-name): Search for a function definition
14011 with a return type.
14013 2002-07-25 David Ponce <david@dponce.com>
14015 * emacs-lisp/bytecomp.el (byte-compile-set-symbol-position):
14016 Don't recompute `entry' on each iteration.
14017 (byte-compile-delete-first): Make it defsubst.
14019 2002-07-25 Sam Steingold <sds@gnu.org>
14021 * progmodes/cc-engine.el (c-search-uplist-for-classkey):
14022 When `search-end' is a cons, use its car.
14024 2002-07-25 Dave Love <fx@gnu.org>
14026 * obsolete/c-mode.el: Deleted.
14028 2002-07-25 Carsten Dominik <dominik@astro.uva.nl>
14030 * textmodes/reftex.el (reftex-compile-variables):
14031 Simplified regular expression.
14033 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14034 Simplified the regexp.
14036 * textmodes/reftex-cite.el (reftex-get-bibkey-default): New function.
14037 (reftex-extract-bib-entries-from-thebibliography):
14038 Use `reftex-get-bibkey-default' to get a default regex.
14039 (reftex-extract-bib-entries): Use `reftex-get-bibkey-default' to
14040 get a default regex.
14042 * textmodes/reftex-toc.el (reftex-toc-mode): Use `make-local-hook' for
14043 XEmacs compatibility (got OK from RMS).
14045 * textmodes/reftex-index.el (reftex-index-mode): Likewise.
14047 * textmodes/reftex-sel.el (reftex-select-label-mode): Likewise.
14048 (reftex-select-bib-mode): Likewise.
14050 2002-07-25 Colin Walters <walters@debian.org>
14052 * ibuffer.el (ibuffer-mouse-popup-menu): Allow point to be moved
14055 2002-07-24 Dave Love <fx@gnu.org>
14057 * international/mule.el (set-auto-coding): Doc fix.
14059 * international/utf-16.el: New file.
14061 * language/european.el ("German", "French", "Spanish", "Turkish"):
14062 Add alternative coding systems.
14063 ("Dutch"): Likewise. Add input method.
14064 ("Welsh", "Latin-7"): Add nonascii-translation.
14066 * language/georgian.el ("Georgian"): Add nonascii-translation.
14068 * international/titdic-cnv.el: Doc fixes.
14069 (tit-process-header): Add coding cookie.
14070 (titdic-convert): Force writing as iso-2022-7bit.
14072 * international/ja-dic-cnv.el (skkdic-convert): Add coding cookie.
14074 * international/mule-cmds.el: Doc fixes.
14075 (unencodable-char-position): New.
14076 (select-safe-coding-system): Use it to indicate problematic
14077 characters and add extra explanation. Avoid checking auto-coding
14078 for compressed files.
14079 (leim-list-header): Add coding cookie.
14080 (input-method-verbose-flag): Modify :type.
14081 (locale-language-names): Add bs, wa. Modify cy.
14083 2002-07-24 Richard M. Stallman <rms@gnu.org>
14085 * emacs-lisp/bytecomp.el (byte-compile-log-warning):
14086 Bind warning-group-format.
14088 * emacs-lisp/bytecomp.el (byte-compile-cl-functions): New variable.
14089 (byte-compile-cl-warn): Use that variable.
14090 (byte-compile-find-cl-functions): New function.
14091 (displaying-byte-compile-warnings):
14092 Call byte-compile-find-cl-functions.
14094 * warnings.el (warning-levels): Add %s to the strings.
14095 (warning-group-format): New variable.
14096 (warning-suppress-log-types): Renamed from warning-suppress-log.
14097 (warning-suppress-types): Renamed from warning-suppress.
14098 (display-warning): Implement those changes.
14100 2002-07-23 Richard M. Stallman <rms@gnu.org>
14102 * warnings.el: Add `provide' call.
14104 * files.el (basic-save-buffer-2): If there's an error writing the file,
14105 unrename the backup file if it was just made.
14106 (backup-buffer, basic-save-buffer-2, basic-save-buffer-1)
14107 (basic-save-buffer): Value now has form (MODES . BACKUPNAME)
14108 when a backup was just made by renaming. Otherwise it's nil.
14110 * wid-edit.el (widget-convert): Handle an argument that's a keyword.
14111 Recognize explicit :args specification.
14113 * international/mule-cmds.el (select-safe-coding-system):
14114 Don't ask for confirmation of mismatch if find-file-literally was used.
14116 2002-07-23 Markus Rost <rost@math.ohio-state.edu>
14118 * add-log.el (add-log-current-defun): Fix typo in documentation.
14120 2002-07-22 Markus Rost <rost@math.ohio-state.edu>
14122 * add-log.el (add-log-mailing-address): Fix type. Can be a string.
14124 * ido.el (ido-separator): Fix type.
14126 2002-07-23 Andrew Innes <andrewi@gnu.org>
14128 * makefile.w32-in (DONTCOMPILE): Remove cus-start.el.
14129 (DONTCOMPILE): Add various language files.
14130 (DONTCOMPILE): Remove term/xterm.el.
14131 (finder-inf.el): Remove.
14132 (update-authors): New target.
14133 (TAGS-LISP): Remove $(lispsource).
14134 (compile-always): Renamed from `compile-files'.
14135 (compile): New target, adapted from `compile-files'.
14136 (compile-calc): New target.
14137 (recompile): Change `.' to $(lisp).
14138 (bootstrap): Add update-subdirs and finder-data
14139 to dependencies; change compile-files to compile.
14141 2002-07-22 Andre Spiegel <spiegel@gnu.org>
14143 * vc.el (vc-next-action-on-file): Preserve find-file-literally.
14145 2002-07-22 Dan Nicolaescu <dann@ics.uci.edu>
14147 * simple.el (undo, undo-more): Adjust messages when undoing in a
14150 2002-07-22 John Paul Wallington <jpw@shootybangbang.com>
14152 * net/browse-url.el (browse-url-lynx-input-attempts): Use defcustom.
14153 (browse-url-lynx-input-delay): Add custom type and group.
14155 * cus-start.el (double-click-fuzz): Added.
14157 2002-07-22 Alan Shutko <ats@acm.org>
14159 * calendar/solar.el (diary-sabbath-candles): Add optional MARK
14160 parameter, specifying what face or character to use in the
14161 calendar display. These will now return (MARK . ENTRY).
14163 * calendar/lunar.el (diary-phases-of-moon): Add optional MARK
14164 parameter, specifying what face or character to use in the
14165 calendar display. These will now return (MARK . ENTRY).
14167 * calendar/cal-hebrew.el (diary-omer, diary-yahrzeit)
14168 (diary-rosh-hodesh, diary-parasha, diary-parasha): Add optional
14169 MARK parameter, specifying what face or character to use in the
14170 calendar display. These will now return (MARK . ENTRY).
14172 * calendar/diary-lib.el (mark-sexp-diary-entries): Retrieve mark
14173 from diary-sexp-entry and pass it to mark-visible-calendar-date.
14174 (list-sexp-diary-entries): Update doc string for new docs for ....
14175 If diary-sexp-entry returns a cons, only add the text to the diary
14177 (diary-sexp-entry): Allow sexps to return a cons of the form (MARK
14178 . STRING) to specify what face or character mark should be used in
14179 the calendar display.
14180 (diary-date, diary-block, diary-float, diary-anniversary)
14181 (diary-cyclic): Add optional MARK parameter, specifying what face
14182 or character to use in the calendar display. These will now
14183 return (MARK . ENTRY).
14185 * calendar/diary-lib.el (check-calendar-holidays, diary-iso-date)
14186 (calendar-holiday-list, diary-french-date, diary-mayan-date)
14187 (diary-julian-date, diary-astro-day-number, diary-chinese-date)
14188 (diary-islamic-date, list-islamic-diary-entries)
14189 (mark-islamic-diary-entries, mark-islamic-calendar-date-pattern)
14190 (diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha)
14191 (diary-rosh-hodesh, list-hebrew-diary-entries)
14192 (mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
14193 (diary-coptic-date, diary-persian-date, diary-phases-of-moon)
14194 (diary-sunrise-sunset, diary-sabbath-candles):
14195 Remove interactive flag from autoloads.
14197 2002-07-22 Carsten Dominik <dominik@astro.uva.nl>
14199 * textmodes/reftex-vars.el (reftex-index-verify-function): New option.
14200 (reftex-bibliography-commands): New option.
14201 (reftex-toc-split-windows-horizontally): New option
14202 (reftex-toc-split-windows-horizontally-fraction): New option
14203 (reftex-include-file-commands): New option.
14204 (reftex-cite-format-builtin): Added ?n for nocite.
14206 * textmodes/reftex-index.el (reftex-query-index-phrase):
14207 Use `reftex-index-verify-function'.
14209 * textmodes/reftex-toc.el (reftex-re-enlarge):
14210 Handle horizontal splitting.
14211 (reftex-toc): Handle horizontal splitting
14212 (reftex-last-window-width): New variable.
14214 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14215 Use `reftex-bibliography-commands'.
14216 (reftex-locate-bibliography-files): Regexp relaxed to allow for
14217 cases where \bibliography is not the first thing on the line.
14219 * textmodes/reftex.el (reftex-compile-variables):
14220 Use `reftex-include-file-commands'.
14221 (reftex-type-query-prompt): Changed defconst to defvar.
14222 (reftex-type-query-help, reftex-typekey-to-format-alist)
14223 (reftex-typekey-to-prefix-alist, reftex-env-or-mac-alist)
14224 (reftex-special-env-parsers, reftex-label-mac-list)
14225 (reftex-label-env-list, reftex-typekey-list)
14226 (reftex-words-to-typekey-alist, reftex-key-to-index-macro-alist)
14227 (reftex-query-index-macro-prompt, reftex-query-index-macro-help)
14228 (reftex-no-follow-message, reftex-no-info-message): Likewise.
14229 (reftex-mode): Define systax table for bibtex parsing.
14230 (reftex-syntax-table-for-bib): Syntax table for bibtex parsing.
14232 * textmodes/reftex-cite.el (reftex-format-names): %a as name
14233 format lists all names.
14234 (reftex-parse-bibtex-entry): Use `reftex-syntax-table-for-bib'.
14235 (reftex-with-special-syntax-for-bib): New macro.
14237 2002-07-21 Richard M. Stallman <rms@gnu.org>
14239 * international/ucs-tables.el (ucs-quail-activate):
14240 Cope if buffer-file-coding-system is nil.
14242 * bindings.el (last-buffer): Use buffer-list with frame arg.
14243 Create *scratch* if no other choice exists. Fix bugs.
14245 2002-07-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14247 * net/tramp.el: Bump version to 2.0.2.
14248 (tramp-methods): Rename methods invoking "ssh1" or "ssh2" to
14249 longer names. Use old names "sm1", "sm2" and so on for methods
14250 invoking "ssh -1" or "ssh -2".
14251 (tramp-multi-file-name-structure-separate): Typo, its name was set
14252 to "tramp-file-name-structure-separate". Trivial patch.
14253 From Steve Youngs <youngs@xemacs.org>.
14254 (tramp-multi-sh-program): New variable.
14255 (tramp-open-connection-multi): Use it. Now you can use multi
14256 methods from Windows (at least in principle).
14257 (tramp-do-copy-or-rename-via-buffer): New function.
14258 (tramp-do-copy-or-rename-file): Use it. Change and simplify
14259 logic. Omit special case of invoking rcp directly to copy the files.
14260 (tramp-open-connection-su, tramp-multi-connect-telnet)
14261 (tramp-multi-connect-rlogin, tramp-multi-connect-su)
14262 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
14263 Use backticks in format-spec for brevity and to avoid
14264 character/number confusion in XEmacs.
14266 2002-07-20 Richard M. Stallman <rms@gnu.org>
14268 * wid-edit.el (widget-documentation-string-value-create):
14269 Say "Hide Rest", not just "Hide".
14271 * cus-edit.el (custom-variable-value-create):
14272 Say "Show Value", not just "Show". Also "Hide Value".
14273 Output a newline before the doc string.
14274 (custom-face-value-create): Say "Show Face" and "Hide Face".
14276 * files.el (toggle-read-only): Clean up the hint message.
14278 * emacs-lisp/bytecomp.el: Use warnings.el.
14279 (byte-compile-warning-prefix): New function.
14280 (byte-compile-log-file): Return page start position.
14281 (byte-compile-log-warning): New function.
14282 (byte-compile-warn): Use byte-compile-log-warning.
14283 (byte-compile-report-error): Likewise. Also use error-message-string.
14284 (displaying-byte-compile-warnings): Bind warning-series.
14285 Don't bind or use byte-compile-warnings-point-max.
14286 Don't display the log buffer at the end.
14287 (byte-compile-warnings-point-max): Variable deleted.
14288 (byte-compile-log-1): Rewrite for trace info, not used for warnings.
14289 (byte-compile-last-warned-form, byte-compile-last-logged-file):
14292 * warnings.el: New file.
14294 2002-07-19 Richard M. Stallman <rms@gnu.org>
14296 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Delete `values'
14297 and `values-list' from list of CL functions.
14299 2002-07-19 John Paul Wallington <jpw@shootybangbang.com>
14301 * emacs-lisp/bytecomp.el (compile-defun):
14302 Bind `read-with-symbol-positions' to current buffer.
14304 2002-07-19 Andre Spiegel <spiegel@gnu.org>
14306 * vc-hooks.el (vc-insert-file): When called with a LIMIT regexp,
14307 delete anything that comes after LIMIT from the buffer.
14309 * vc-rcs.el (vc-rcs-fetch-master-state): Be more careful to check
14310 if this is really an RCS master file.
14312 * vc.el: Improve comment of vc-BACKEND-workfile-unchanged-p.
14314 2002-07-19 Juanma Barranquero <lektu@terra.es>
14316 * emacs-lisp/bytecomp.el (dot, dot-max, dot-min, dot-marker)
14317 (buffer-flush-undo, baud-rate, compiled-function-p, define-function)
14318 (unread-command-char, executing-macro, post-command-idle-hook)
14319 (post-command-idle-delay): Move obsolescence declarations to subr.el.
14321 * subr.el (dot, dot-max, dot-min, dot-marker, buffer-flush-undo)
14322 (baud-rate, compiled-function-p, define-function, unread-command-char)
14323 (executing-macro, post-command-idle-hook, post-command-idle-delay):
14324 Move obsolescence declarations from emacs-lisp/bytecomp.el.
14325 (directory-sep-char, mode-line-inverse-video):
14326 Add obsolescence declaration.
14328 2002-07-18 J.D. Smith <jdsmith@as.arizona.edu>
14330 * progmodes/idlwave.el: Updated to IDLWAVE version 4.14. Too many
14331 changes to list them here.
14333 * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.14.
14334 Too many changes to list them here.
14336 * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.14.
14337 Too many changes to list them here.
14339 * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.14 with
14340 only minor documentation changes.
14342 2002-07-18 Dave Love <fx@gnu.org>
14344 * info-look.el: Support current auto{conf,make} manuals.
14346 2002-07-18 Juanma Barranquero <lektu@terra.es>
14348 * bindings.el (last-buffer): Add missing frame argument.
14350 2002-07-18 Richard M. Stallman <rms@gnu.org>
14352 * timer.el (timer-inc-time): Doc fix.
14354 * replace.el (keep-lines, flush-lines): Interactively report
14355 read-only error before reading regexp argument.
14357 * dabbrev.el (dabbrev--search): Use inhibit-point-motion-hooks.
14359 * bindings.el (last-buffer): Handle buffer-list and buffer-predicate
14360 frame parameters like bury-buffer.
14362 * simple.el (choose-completion-delete-max-match):
14363 Handle minibuffer prompts explicitly.
14365 2002-07-18 Juanma Barranquero <lektu@terra.es>
14367 * international/mule-util.el (string-to-sequence, truncate-string):
14368 Add autoload cookie to obsolescence declaration.
14370 * rect.el (move-to-column-force): Likewise.
14372 * composite.el (decompose-composite-char): Likewise; also remove
14375 2002-07-18 Kim F. Storm <storm@cua.dk>
14377 * loadup.el: Load international/utf-8 before international/characters.
14379 2002-07-17 Dave Love <fx@gnu.org>
14381 * international/ucs-tables.el: Optimize tables. Deal with some
14383 (ucs-mule-to-mule-unicode): New.
14384 (ucs-unify-8859): Use utf-8-fragment-on-decoding, set up Quail
14386 (ucs-fragment-8859): Modified consistent with ucs-unify-8859.
14387 (unify-8859-on-encoding-mode): Doc mod. Fix custom version.
14388 (unify-8859-on-decoding-mode): Doc mod. Change code. Fix custom
14389 version. Add custom dependencies.
14390 (ucs-insert): Check for null from decode-char.
14391 (translation-table-for-input, ucs-quail-activate)
14392 (ucs-minibuffer-setup, ccl-encode-unicode-font)
14393 (ucs-tables-unload-hook): New.
14395 * international/mule.el (define-translation-hash-table): New.
14396 (decode-char): Use utf-8-translation-table-for-decode.
14397 (encode-char): Use ucs-mule-to-mule-unicode.
14399 * international/characters.el: Fix settings of U+2000-U+2027.
14400 Remove
\e$(C'Y
\e(B.
14402 * international/mule-cmds.el (locale-language-names): Fix be, add
14403 sr_YU@cyrillic, modify tg.
14404 (locale-charset-language-names): Put @euro last.
14406 * language/cyrillic.el (cyrillic-koi8-r-decode-table)
14407 (cyrillic-alternativnyj-decode-table): Fill out with mule-unicode.
14408 (cyrillic-koi8-r-decode-table): Make unbound after use.
14409 (ccl-decode-koi8, ccl-decode-alternativnyj): Change expansion
14410 factor. Use utf-8-translation-table-for-decode.
14411 (ccl-encode-koi8, ccl-encode-koi8): Don't check r0.
14412 (cyrillic-unify-encoding): New function.
14413 (cyrillic-koi8): Modify safe-chars, valid-codes.
14414 Remove charset-origin-alist.
14415 (Cp878, cp866): New alias.
14416 (ccl-encode-8859-5-font): New.
14417 (font-ccl-encoder-alist): Add ccl-encode-8859-5-font.
14418 (ccl-encode-koi8-font, ccl-encode-alternativnyj-font):
14419 Remove redundant parens.
14420 ("Cyrillic-KOI8"): Add cyrillic-iso-8bit to coding-priority.
14421 (cyrillic-koi8-u-decode-table, ccl-decode-koi8-u)
14422 (ccl-encode-koi8-u, koi8-u, ccl-encode-koi8-u-font, "Ukrainian"): New.
14423 (cyrillic-alternativnyj): Modify safe-chars, add mime-charset.
14424 ("Cyrillic-ALT"): Change input method.
14425 ("Windows-1251", "Tajik", "Bulgarian", "Belarusian"): New.
14427 * international/utf-8.el (utf-8-subst-table)
14428 (utf-8-subst-rev-table, utf-8-translation-table-for-decode)
14429 (utf-8-fragment-on-decoding, ccl-untranslated-to-ucs)
14430 (utf-8-ccl-regs, utf-8-translate-cjk): New.
14431 (ccl-encode-mule-utf-8): Use utf-8-subst-rev-table.
14432 (ccl-decode-mule-utf-8, ccl-untranslated-to-ucs)
14433 (utf-8-untranslated-to-ucs, utf-8-compose): Rewritten.
14434 (mule-utf-8): Remove pre-write-conversion.
14435 (utf-8-post-read-conversion): Comment out.
14437 * international/ccl.el (ccl-command-table): Add lookup-integer,
14439 (ccl-extended-code-table): Add lookup-int-const-tbl,
14440 lookup-char-const-tbl.
14441 (ccl-compile-lookup-integer, ccl-compile-lookup-character)
14442 (ccl-dump-lookup-int-const-tbl, ccl-dump-lookup-char-const-tbl):
14444 (define-ccl-program): Doc update.
14446 * international/utf-8-subst.el: Populate utf-8-subst-rev-table.
14447 (utf-8-subst-table): Don't set.
14449 2002-07-17 Kenichi Handa <handa@etl.go.jp>
14451 * international/mule.el (define-coding-system-alias):
14452 Don't append ALIAS in the property `alias-coding-systems' if ALIAS's
14453 eol-type is not auto-detection.
14455 * international/mule-diag.el (print-coding-system-briefly):
14456 Fix the handling of an alias of which eol-type is not auto-detection.
14458 * international/mule-conf.el (us-ascii): Define it as an alias of
14461 2002-07-17 Juanma Barranquero <lektu@terra.es>
14463 * help-fns.el (describe-function-1): Put empty line before "Not
14466 * timer.el (timer-set-time-with-usecs): Mark obsolete.
14468 2002-07-16 Stefan Monnier <monnier@cs.yale.edu>
14470 * toolbar/tool-bar.el (tool-bar-add-item-from-menu):
14471 Make sure to change the global tool-bar-map.
14473 * vc.el (vc-default-comment-history): Hard code *vc*.
14474 This is because print-log always prints there now.
14475 (vc-annotate-font-lock-keywords): New var.
14476 (vc-annotate-mode): Use it. Set truncate-lines as well.
14477 (vc-annotate-display-select): Unify the two error reports.
14478 (vc-annotate-offset): New var.
14479 (vc-annotate-lines): New fun extracted from vc-annotate-display.
14480 (vc-annotate-display): Use it, via font-lock.
14482 * help-fns.el (help-split-fundoc, help-function-arglist)
14483 (help-make-usage): New funs, extracted from describe-function-1.
14484 (describe-function-1): Use them.
14486 * help.el (help-key-description): Show the untranslated keys
14487 when they start with ESC and the ESC was not translated.
14489 * help-mode.el (view): Always require.
14490 (help-xref-mule-regexp): Don't use defconst for variables.
14491 (help-setup-xref): Keep the last 10 elements of the stack.
14492 (help-xref-override-view-map): New var.
14493 (help-make-xrefs): Use it instead of building a new map each time.
14494 (help-function-def): Allow help-fun to take a buffer as arg.
14496 * diff-mode.el (diff-reverse-direction): Simplify.
14497 (diff-after-change-function): Fix typo.
14498 (diff-post-command-hook): Take care of edge cases.
14499 (diff-current-defun): Do `goto-char' after setting the mode.
14501 * mouse-sel.el (mouse-sel-mode): Use define-minor-mode.
14502 Fold mouse-sel-bindings into it.
14503 (mouse-sel-bound-events): Turn it into an alist.
14504 (mouse-insert-selection): Delegate to mouse-yank-at-click if
14505 mouse-sel-default-bindings asks for it.
14507 2002-07-16 Andre Spiegel <spiegel@gnu.org>
14509 * files.el: Bind toggle-read-only to C-x C-q.
14510 (toggle-read-only): Display a warning message if the file is under
14513 * vc-hooks.el: Don't bind vc-toggle-read-only to C-x C-q.
14514 (vc-toggle-read-only): Explain in the doc string that users can bind
14516 (vc-checkout-model): Change doc string to refer to vc-next-action,
14517 not vc-toggle-read-only.
14519 * vc.el (vc-next-action-on-file): Ignore buffer-read-only while
14520 comparing to file on disk. Fix the case when claiming the lock
14521 on a file that has unlocked changes.
14522 (vc-log-mode): Don't mention vc-toggle-read-only in the doc string.
14524 2002-07-16 Richard M. Stallman <rms@gnu.org>
14526 * simple.el (choose-completion-string): Doc fix.
14528 * cus-edit.el: New operation :custom-standard-value.
14529 (Custom-reset-standard): Use it.
14530 (custom-variable, custom-face): Define it.
14531 (custom-variable-standard-value, custom-face-standard-value): New fns.
14532 (custom-face-save): Don't save a face whose value is standard.
14533 (custom-save-faces): Use SYMBOL, not 'default, to set NOW and COMMENT.
14535 * cus-edit.el (custom-face-edit-fix-value):
14536 If VALUE is not a list, pass it thru.
14538 * compare-w.el (compare-windows-whitespace): Always allow newline
14539 even if it does not have whitespace syntax.
14541 2002-07-16 Juanma Barranquero <lektu@terra.es>
14543 * timer.el (timer-set-time, timer-set-time-with-usecs): Fix docstring.
14545 2002-07-15 Juanma Barranquero <lektu@terra.es>
14547 * help-fns.el (describe-variable): Show documentation for aliased
14548 variable if alias does not have its own.
14550 2002-07-15 Mike Williams <mdub@bigfoot.com>
14552 * mouse-sel.el (mouse-sel-bindings): Save/restore interprogram
14553 cut/paste functions.
14555 2002-07-14 Richard M. Stallman <rms@gnu.org>
14557 * files.el (find-alternate-file): Offer to save a modified buffer.
14558 Handle kill-buffer-query-functions better.
14560 * startup.el (normal-splash-screen, fancy-splash-text):
14561 Update name of help menu item for ordering printed manuals.
14563 * emacs-lisp/checkdoc.el: Fix doc typos.
14565 2002-07-14 Stefan Monnier <monnier@cs.yale.edu>
14567 * textmodes/tex-mode.el: Set encoding to utf-8.
14568 (tex-start-options): Make it into always-a-string.
14569 Remove silly custom options that are covered by the other var.
14570 (tex-start-commands): Fix docstring.
14571 (tex-open-quote, tex-close-quote): Add options.
14572 (tex-command): Provide default.
14573 (tex-font-lock-keywords-1): Highlight $$...$$.
14574 (tex-font-lock-keywords-2): Fix latin-1 chars.
14575 (tex-mode-map): Remove redundant \t binding.
14576 (tex-mode): Add `subsection' and `newcommand' to known latex cmds.
14577 (latex-mode): Use add-hook for fill-nobreak-predicate.
14578 (tex-common-initialization): Set indent-tabs-mode to nil.
14579 (tex-insert-quote): Undo magic if invoked twice in a row.
14580 (latex-fill-nobreak-predicate): Don't use narrowing.
14581 (tex-latex-block): Don't cons uselessly.
14582 (tex-last-unended-begin): Signal user-friendlier error.
14583 (tex-goto-last-unclosed-latex-block): Don't catch signal.
14584 (tex-start-tex): Switch order of tex-start-options and
14585 tex-start-commands to make it obey docstrings.
14587 2002-07-14 Mike Williams <mdub@bigfoot.com>
14589 * mouse-sel.el (mouse-sel-bound-events): New constant.
14590 (mouse-sel-bindings): Save/restore original mouse-bindings.
14592 2002-07-13 Stefan Monnier <monnier@cs.yale.edu>
14594 * emacs-lisp/cl.el (cl-set-substring): Fix thinko.
14595 (cl-hack-byte-compiler): Avoid infinite require loop.
14597 * net/ange-ftp.el: Use hash-tables.
14598 (ange-ftp-make-hashtable, ange-ftp-map-hashtable)
14599 (ange-ftp-make-hash-key, ange-ftp-get-hash-entry)
14600 (ange-ftp-put-hash-entry, ange-ftp-del-hash-entry): Remove.
14601 Replace with make-hash-table, maphash, gethash, puthash and remhash.
14602 (ange-ftp-hash-entry-exists-p): Rewrite.
14603 (ange-ftp-vms-delete-file-entry, ange-ftp-vms-add-file-entry):
14604 Change mapatom -> maphash.
14605 (ange-ftp-file-entry-active-p, ange-ftp-file-entry-not-ignored-p):
14606 Update to new calling mode.
14608 * progmodes/ebrowse.el (ebrowse-symbol-regexp): Avoid cl-set-substring.
14609 (ebrowse-hash-table-to-alist): Delete.
14610 (ebrowse-tags-read-name, ebrowse-tags-list-members-in-file)
14611 (ebrowse-tags-complete-symbol): Use the hashtable for completion.
14613 * textmodes/sgml-mode.el (sgml-quote): Use narrowing.
14614 Improve the regexp used when unquoting.
14615 (sgml-pretty-print): New function.
14616 (sgml-get-context): Better handling of improperly nested tags.
14617 (sgml-show-context): Don't use the FULL arg of sgml-get-context.
14619 2002-07-13 Andreas Schwab <schwab@suse.de>
14621 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Check the
14622 inherited table entry.
14624 2002-07-13 Glenn Morris <gmorris@ast.cam.ac.uk>
14626 * calendar/timeclock.el (timeclock-in): Handle the case where no
14627 log file exists (ie the very first call).
14629 2002-07-13 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14631 * net/ange-ftp.el: Do not hook into file-name-handler-alist, this
14634 * net/tramp.el (tramp-multi-file-name-structure-unified):
14635 Add missing slash and move colon from start to end of each hop.
14636 (tramp-multi-file-name-hop-structure-unified): Move colon from
14637 start to end of each hop.
14639 2002-07-13 Kim F. Storm <storm@cua.dk>
14641 * progmodes/compile.el (grep-tree): Fixed autoload.
14642 Corrected use of undefined variable `match-files-aliases'.
14644 2002-07-12 Glenn Morris <gmorris@ast.cam.ac.uk>
14646 * calendar/timeclock.el (timeclock-get-workday-function):
14647 `timeclock-workday' is not a valid option, rather a possible
14650 2002-07-12 Richard M. Stallman <rms@gnu.org>
14652 * net/ange-ftp.el (ange-ftp-write-region):
14653 Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg
14654 to ange-ftp-real-write-region.
14656 * replace.el (flush-lines, keep-lines): Convert REND to a marker.
14658 * help-fns.el (help-with-tutorial): Display completion list right away.
14660 * ediff-ptch.el (ediff-test-patch-utility): Catch error and return nil.
14662 * startup.el (command-line): Set memory-signal-data.
14663 (fancy-splash-text, normal-splash-screen):
14664 Mention "Read the Emacs Manual" or C-h r.
14665 Rearrange the initial help to put the help cmds on left
14666 and the actions (exit, undo) on the right. Other small
14667 text clarifications.
14668 (fancy-splash-text, actions page): Add blank line to balance help page.
14670 * help.el (help-map): Add binding for info-emacs-manual.
14671 (print-help-return-message): Doc fix.
14673 * strokes.el (strokes-help): Call print-help-return-message
14674 while inside with-output-to-temp-buffer.
14676 * info.el (info-emacs-manual): New function.
14677 (Info-use-header-line): Doc fix.
14679 * emacs-lisp/cl.el (multiple-value-call): Add alias.
14681 * progmodes/compile.el (compilation-normalize-filename):
14682 New subroutine, taken out of compilation-parse-errors.
14683 (compilation-parse-errors): Use that, and for directories too.
14684 Don't check whether a directory really exists.
14686 2002-07-12 Juanma Barranquero <lektu@terra.es>
14688 * help-fns.el (describe-variable): Remove useless "Documentation:"
14691 * timer.el (timer-set-time-with-usecs): Fix documentation.
14692 Simplify extraction of time data.
14694 2002-07-12 John Paul Wallington <jpw@shootybangbang.com>
14696 * help-fns.el (describe-variable): Mention if the variable is an
14697 alias. Put `defvaralias' info before the documentation.
14699 2002-07-12 Kenichi Handa <handa@etl.go.jp>
14701 * international/mule-cmds.el (locale-language-names): Change "mk"
14702 (Macedoninan), "ru" (Russian), and "sp" (Serbian with Cyrillic
14703 alphabet) to "Cyrillic-ISO".
14705 2002-07-11 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14707 * net/tramp.el (tramp-default-method): New default method "sm"
14708 which I guess to be good for most people.
14709 (tramp-default-method-alist): Use "ftp" method (ie, forwarding to
14710 Ange-FTP) for some user/host combinations.
14711 (tramp-file-name-structure, tramp-file-name-regexp)
14712 (tramp-make-tramp-file-format, tramp-make-tramp-file-user-nil-format)
14713 (tramp-multi-file-name-structure, tramp-multi-file-name-hop-structure)
14714 (tramp-make-multi-tramp-file-format): New default value which
14715 unifies the filename syntax between Tramp and Ange-FTP. The new
14716 syntax is "/method:user@host:path". Note the colon after the method.
14717 (tramp-handle-file-name-directory): Don't return "/" when
14718 completing a remote root directory (where the filename looks like
14719 "/method:user@host:/").
14720 (tramp-handle-ange-ftp): Deleted.
14721 (tramp-disable-ange-ftp): New function, called at toplevel,
14722 deletes Ange-FTP from file-name-handler-alist.
14723 (tramp-handle-make-symbolic-link): Implement.
14725 2002-07-10 Juanma Barranquero <lektu@terra.es>
14727 * ido.el (ido-enter-single-matching-directory): Delete leftover comment.
14729 * speedbar.el (speedbar-tag-hierarchy-method): Fix typos.
14730 (speedbar-vc-do-check): Likewise.
14731 (speedbar-obj-do-check): Likewise.
14732 (speedbar-mouse-hscroll): Likewise.
14733 (speedbar-file-lists): Likewise.
14735 * emacs-lisp/authors.el (authors-obsolete-file-p): Fix typo.
14737 2002-07-09 Ole Aamot <ole@gnu.org>
14739 * compile.el (compilation-error-regexp-alist):
14740 Recognize Valgrind messages.
14742 2002-07-09 Juanma Barranquero <lektu@terra.es>
14744 * faces.el (face-id): Fix typo.
14746 * hexl.el (hexl-mode): Likewise.
14748 * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
14750 * progmodes/ebnf-yac.el (ebnf-yac-error): Likewise.
14752 * speedbar.el (speedbar-make-specialized-keymap): Fix docstring.
14753 (speedbar-desired-buffer): Likewise.
14754 (speedbar-line-file): Likewise.
14755 (speedbar-special-mode-key-map): Fix typo.
14756 (speedbar-dynamic-tags-function-list): Likewise.
14757 (speedbar-use-images): Likewise.
14758 (speedbar-up-directory): Likewise.
14759 (speedbar-item-info): Likewise.
14760 (speedbar-set-timer): Likewise.
14761 (speedbar-insert-button): Likewise.
14762 (speedbar-make-button): Likewise.
14763 (speedbar-make-tag-line): Likewise.
14764 (speedbar-insert-files-at-point): Likewise.
14765 (speedbar-update-special-contents): Likewise.
14766 (speedbar-find-selected-file): Likewise.
14767 (speedbar-add-indicator): Likewise.
14768 (speedbar-do-function-pointer): Likewise.
14769 (speedbar-goto-this-file): Likewise.
14770 (speedbar-line-path): Likewise.
14771 (speedbar-mouse-event-p): Likewise.
14772 (speedbar-dir-follow): Likewise.
14773 (speedbar-tag-find): Likewise.
14774 (speedbar-fetch-etags-command): Likewise.
14775 (speedbar-fetch-etags-arguments): Likewise.
14776 (speedbar-toggle-etags): Likewise.
14777 (speedbar-extract-one-symbol): Likewise.
14778 (speedbar-parse-c-or-c++tag): Likewise.
14779 (speedbar-unhighlight-one-tag-line): Likewise.
14780 (speedbar-directory-face): Likewise.
14781 (defimage-speedbar): Likewise.
14782 (speedbar-convert-emacs21-imagespec-to-xemacs): Likewise.
14784 2002-07-09 Miles Bader <miles@gnu.org>
14786 * hexl.el (hexl-find-file): Bind `completion-ignored-extensions'
14787 to nil when prompting for a filename.
14789 2002-07-09 Kenichi Handa <handa@etl.go.jp>
14791 * files.el (insert-directory): Be sure to bind
14792 coding-system-for-write to the just decided coding-system-for-read.
14794 2002-07-09 Kim F. Storm <storm@cua.dk>
14796 * ido.el (ido-make-merged-file-list): Move fully matching item to
14798 (ido-find-common-substring): Return substring instead of t.
14800 2002-07-08 Juanma Barranquero <lektu@terra.es>
14802 * info.el (Info-directory-list): Fix docstring.
14804 2002-07-08 Miles Bader <miles@gnu.org>
14806 * comint.el (comint-dynamic-list-completions): Sort COMPLETIONS
14809 2002-07-08 Kim F. Storm <storm@cua.dk>
14811 * files.el (after-find-file): Don't check for read-only status
14812 of files just created (and not yet saved on disk).
14814 * ido.el (ido-completion-help): Changed xemacs specific code to
14815 avoid byte compiler warning in GNU emacs.
14816 (ido-set-matches1): Use regexp-quote instead of identity.
14817 (ido-complete-space): New function.
14818 (ido-define-mode-map): Bind it to SPACE.
14820 2002-07-07 Stefan Monnier <monnier@cs.yale.edu>
14822 * font-lock.el (font-lock-default-unfontify-region):
14823 Use remove-list-of-text-properties.
14824 (font-lock-extra-managed-props): Doc fix.
14826 * facemenu.el: Move `provide' to the end.
14827 (facemenu-read-color): Don't cons unnecessarily.
14829 * language/ind-util.el (indian-make-hash):
14830 * language/devan-util.el (dev-char-glyph-hash, dev-glyph-glyph-hash)
14831 (dev-glyph-glyph-2-hash): Switch makehash -> make-hash-table.
14833 * subr.el (insert-string): Update the obsolete info.
14834 (makehash): Move from C and mark obsolete.
14836 * emacs-lisp/debug.el (debug-on-entry): Fix the wrapper used for
14837 aliases to also work for interactive functions.
14838 Use the same wrapper for subroutines.
14839 (cancel-debug-on-entry): Get rid of the now-useless wrapper.
14840 (debug-on-entry-1): Correctly skip docstrings and interactive forms.
14842 * textmodes/texinfo.el (texinfo-font-lock-keywords): Disable the
14843 automatic environment name update.
14844 (texinfo-clone-environment): Fix it not to incorrectly match prefixes.
14846 2002-07-07 Richard M. Stallman <rms@gnu.org>
14848 * emacs-lisp/easymenu.el (easy-menu-popup-menu): Function deleted.
14850 * emacs-lisp/advice.el (ad-compile-function):
14851 Disable cl-function warnings if cl is loaded.
14853 * files.el (safe-local-eval-forms): New user option.
14854 (hack-one-local-variable-eval-safep): Support it.
14855 Also allow `safe-local-eval-function' property to be a function
14856 or a list of functions.
14857 (c-add-style): Delete `safe-local-eval-function' property.
14859 * files.el (after-find-file): Make buffer read-only if file is
14860 marked that way, even for root.
14862 * files.el (save-some-buffers): Doc fix.
14864 * bindings.el (completion-ignored-extensions): Add .gmo and .mo.
14866 2002-07-06 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
14868 * dos-w32.el (file-name-buffer-file-type-alist): Add knowledge of
14869 .sx[dmicw] file suffixes for Open office data files.
14871 * files.el (auto-mode-alist): Likewise.
14873 * international/mule.el (auto-coding-alist): Likewise.
14875 2002-07-05 Kim F. Storm <storm@cua.dk>
14877 * emulation/cua-rect.el (cua--rectangle-operation): Don't call
14878 FCT if current column is outside rectangle.
14879 (cua--delete-rectangle): Do nothing if zero width or out of bounds.
14881 2002-07-04 Stefan Monnier <monnier@cs.yale.edu>
14883 * net/ange-ftp.el: Use add-hook and find-file-hook.
14884 (ange-ftp-parse-netrc): Use run-hooks and find-file-hook.
14885 (ange-ftp-ls-parser): Make it into a function.
14886 Ignore trailing @ in symlink targets.
14887 (ange-ftp-file-entry-p): Ignore FTP errors.
14888 (ange-ftp-insert-directory): Use ange-ftp-expand-symlink
14889 to correctly expand "/flint:/bla -> ./etc" to /flint:/etc.
14891 2002-07-04 Per Abrahamsen <abraham@dina.kvl.dk>
14893 * simple.el (toggle-truncate-lines): New command.
14895 2002-07-04 Miles Bader <miles@gnu.org>
14897 * comint.el (comint-displayed-dynamic-completions): New variable.
14898 (comint-dynamic-list-completions): Be more careful about choosing
14899 when to scroll an existing completions window.
14901 2002-07-03 Andreas Schwab <schwab@suse.de>
14903 * net/tramp.el (tramp-handle-ange-ftp): Move interactive spec
14906 2002-07-03 Juanma Barranquero <lektu@terra.es>
14908 * net/tramp.el (tramp-send-eof): Fix typo.
14909 (tramp-kill-process): Likewise.
14911 * play/dunnet.el (dun-physobj-desc): Likewise.
14913 * textmodes/reftex-vars.el (reftex-label-alist): Likewise.
14915 * calendar/timeclock.el (timeclock-workday-remaining): Likewise.
14916 (timeclock-workday-elapsed): Likewise.
14918 * allout.el (outline-goto-prefix): Likewise.
14920 * emulation/tpu-edt.el (tpu-delete-to-eol): Likewise.
14921 (tpu-delete-to-bol): Likewise.
14923 * subr.el (chars-in-region): Add obsolescence declaration for
14926 2002-07-03 Miles Bader <miles@gnu.org>
14928 * faces.el (header-line): Don't use a `common' clause for
14929 inheriting from the mode-line face, since we can't override it,
14930 and we don't want it for ttys.
14932 2002-07-02 Richard M. Stallman <rms@gnu.org>
14934 * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop.
14936 * files.el (hack-one-local-variable-constantp): New function.
14937 (hack-one-local-variable-eval-safep): New function.
14938 Check for `eval:' calling fn with `safe-local-eval-function' property.
14939 (hack-one-local-variable): Use hack-one-local-variable-eval-safep.
14940 (c-add-style, c-set-style): Add safe-local-eval-function property.
14942 * files.el (insert-directory): Handle --dired option to ls.
14944 * files.el (file-remote-p): New function.
14946 * emacs-lisp/easymenu.el (easy-menu-popup-menu): New function.
14948 * startup.el (fancy-splash-screens): Switch to a chosen frame.
14949 (fancy-splash-frame): Choose the right frame to use.
14950 (use-fancy-splash-screens-p): Check dimensions of the right frame
14951 in order to decide.
14953 * emacs-lisp/bytecomp.el (byte-compile-warning-types):
14954 Rename cl-func to cl-functions. Enable it by default.
14955 (byte-compile-file-form-eval-boundary): Turn off cl-functions warnings
14956 if the file loads cl.
14957 (byte-compile-initial-macro-environment): For eval-and-compile,
14958 use byte-compile-eval-before-compile to eval.
14959 (byte-compile-eval-before-compile): New function to turn off
14960 cl-functions when appropriate, for eval-and-compile.
14961 (byte-compile-warnings): Doc fix.
14963 2002-07-02 Dave Love <fx@gnu.org>
14965 * emacs-lisp/bytecomp.el (byte-compile-warnings): Add cl-func option.
14966 (byte-compile-cl-warn): New function.
14967 (byte-compile-form): Use it, to warn about calling cl functions.
14968 (byte-compile-warning-types): Doc fix.
14970 2002-07-02 Juanma Barranquero <lektu@terra.es>
14972 * mail/rmailsum.el (rmail-user-mail-address-regexp): Fix typo.
14974 * textmodes/reftex-cite.el (reftex-citation): Fix typo.
14976 * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent):
14979 2002-07-02 Kim F. Storm <storm@cua.dk>
14981 * emacs-lisp/bindat.el: New file.
14983 2002-07-01 Sam Steingold <sds@gnu.org>
14985 * textmodes/tex-mode.el (tex-file): Call `save-some-buffers'
14986 before `tex-main-file' because if the current buffer is new, its
14987 file might not exist yet, and then `tex-main-file' will
14988 incorrectly return "foo.tex.tex".
14990 2002-07-01 Juanma Barranquero <lektu@terra.es>
14992 * ido.el (ido-minibuffer-setup-hook): Doc fix.
14994 2002-07-01 Dave Love <fx@gnu.org>
14996 Make strokes a proper minor mode, and don't try to overload
14997 mouse-2, which doesn't work satisfactorily.
14999 * strokes.el: Doc fixes.
15000 (strokes-mode): Defcustom deleted; replaced by minor mode def with
15001 re-written function.
15002 (strokes-while-inhibiting-garbage-collector): Comment out.
15003 (define-stroke, strokes-fix-button2-command, strokes-insinuated)
15004 (strokes-insinuate, global-set-stroke, describe-stroke)
15005 (load-user-strokes, save-strokes, strokes-bug-address)
15006 (strokes-click-command): Deleted.
15007 (strokes-execute-stroke): Remove strokes-click-p case.
15008 (strokes-describe-stroke): Remove strokes-click-p stuff.
15009 (strokes-help): Fix.
15010 (strokes-report-bug): Alias to report-emacs-bug.
15011 (strokes-prompt-user-save-strokes): Modify format of the file.
15012 (strokes-mode-map, strokes-unload-hook): New.
15013 (strokes-buffer-name): Don't customize.
15015 2002-07-01 Richard M. Stallman <rms@gnu.org>
15017 * info.el (Info-index): Get immediate error if used in `dir'.
15019 * textmodes/picture.el (picture-forward-column)
15020 (picture-move-down): Never deactivate the mark.
15022 2002-06-30 Simon Josefsson <jas@extundo.com>
15024 * menu-bar.el (menu-bar-options-menu): Move elisp mode names from
15025 menu entry into balloon help.
15027 2002-06-30 Andreas Schwab <schwab@suse.de>
15029 * files.el (directory-free-space-args): Don't use `-P' on Darwin.
15030 * term/mac-win.el: Don't set it here.
15032 2002-06-29 Stefan Monnier <monnier@cs.yale.edu>
15034 * pcvs-defs.el (cvs-mode-map): Bind ! to `force'.
15036 2002-06-29 Andreas Schwab <schwab@suse.de>
15038 * term/mac-win.el: Use directory-free-space-program instead of
15039 obsolete variable dired-free-space-program. On Darwin, don't set
15040 directory-free-space-program, shell-file-name and
15041 process-connection-type; set directory-free-space-args to not
15042 include `-P' and use utf-8 for file name coding system.
15044 * simple.el (shell-command-on-region): Handle errors and signals
15045 from shell command execution.
15046 (display-message-or-buffer): Fix last change.
15047 (shell-command-default-error-buffer): Doc fix.
15049 * dired.el (dired-view-file): Quote file name for
15050 dired-run-shell-command.
15052 2002-06-29 Kim F. Storm <storm@cua.dk>
15054 * kmacro.el: New file.
15056 2002-06-28 John Wiegley <johnw@gnu.org>
15058 * pcmpl-cvs.el: Added my name as the maintainer of this file.
15060 2002-06-28 Andreas Schwab <schwab@suse.de>
15062 * shell.el (explicit-bash-args): New user option.
15064 2002-06-28 Kim F. Storm <storm@cua.dk>
15066 * ido.el: New file.
15068 2002-06-28 Stefan Monnier <monnier@cs.yale.edu>
15070 * derived.el (define-derived-mode): Preserve the `mode-class' rather
15071 than the `special' symbol property.
15072 (derived-mode-class): Make it obsolete.
15074 2002-06-27 Andreas Schwab <schwab@suse.de>
15076 * net/tramp.el (tramp-handle-ange-ftp): Fix typo.
15078 2002-06-27 Juanma Barranquero <lektu@terra.es>
15080 * emacs-lisp/bytecomp.el (baud-rate): Fix obsolescence declaration.
15081 (meta-flag): Likewise.
15083 * international/mule-util.el (string-to-sequence): Likewise.
15085 * subr.el (char-bytes): Likewise.
15086 (make-local-hook): Likewise.
15087 (baud-rate): Remove redundant info from docstring.
15089 * faces.el (frame-update-faces): Fix obsolescence declaration.
15090 (internal-get-face): Remove redundant info from docstring and
15091 fix obsolescence declaration.
15093 * rect.el (move-to-column-force): Likewise.
15095 * help-fns.el (describe-function-1): Use semicolon instead of dot.
15096 (describe-variable): Likewise.
15098 2002-06-27 Stefan Monnier <monnier@cs.yale.edu>
15100 * mwheel.el (mouse-wheel-change-button): Deactivate before changing.
15101 (mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
15102 (mouse-wheel-up-event, mouse-wheel-down-event): New vars.
15103 (mouse-wheel-follow-mouse): Change default to t.
15104 (mwheel-event-button): Return the basic event symbol.
15105 (mwheel-scroll): Work with non-mouse events.
15106 (mouse-wheel-mode): Use the new vars.
15107 (mwheel-install): Obey `uninstall'.
15109 * term/xterm.el (function-key-map): Add some bindings.
15111 * uniquify.el (uniquify-delay-rationalize-file-buffer-names):
15112 Rename from delay-uniquify-rationalize-file-buffer-names.
15113 Only rationalize if the buffer is under uniquify control.
15114 (uniquify-delayed-rationalize-file-buffer-names):
15115 Rename from delayed-uniquify-rationalize-file-buffer-names.
15117 2002-06-27 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
15119 * net/tramp.el (tramp-file-name-structure)
15120 (tramp-multi-file-name-hop-structure): Split for easier readability.
15121 (tramp-handle-make-symbolic-link): Use user/host/method/... from
15122 LINKNAME, not FILENAME.
15123 (tramp-handle-verify-visited-file-modtime):
15124 Call tramp-ange-ftp-file-name-p with right parameters.
15125 (tramp-handle-verify-visited-file-modtime): `insert' does not
15126 work for integers, convert them to strings first.
15127 (tramp-handle-ange-ftp): New function to perform setup for
15128 replacing Ange-FTP with Tramp.
15129 (tramp-repair-jka-compr): New function to factor out some
15130 previously top-level code. Call the function at top-level.
15132 2002-06-27 Juanma Barranquero <lektu@terra.es>
15134 * composite.el (decompose-composite-char): Fix docstring.
15136 * faces.el (describe-face): Capitalize "not documented" message.
15138 * help-fns.el (describe-variable): Likewise.
15139 (describe-function-1): Likewise. Also, document the obsolescence
15140 of the function, if applicable.
15142 2002-06-26 Juanma Barranquero <lektu@terra.es>
15144 * info.el (info-menu-5): Fix documentation.
15145 (Info-fontify-maximum-menu-size): Remove reference to `Info-fontify'.
15147 2002-06-26 Richard M. Stallman <rms@gnu.org>
15149 * emacs-lisp/cl.el (values): Simplify definition.
15151 * simple.el (shell-command): Match & only at end of whole command.
15152 (display-message-or-buffer): Don't use the echo area
15153 if output buffer is visible.
15155 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Doc fixes.
15157 * progmodes/cperl-mode.el: Many trivial doc fixes.
15158 (cperl-non-problems): Definition deleted.
15159 (cperl-menu): Don't refer to cperl-non-problems.
15160 (cperl-word-at-point): Add doc string.
15161 (cperl-beautify-regexp-piece): Fix error message.
15162 (cperl-invert-if-unless): Fix error message.
15164 * dired.el (dired-find-alternate-file): Mark as disabled.
15166 2002-06-25 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
15168 * net/tramp.el (tramp-ftp-method): New user option.
15169 (tramp-invoke-ange-ftp): New function to forward calls to Ange-FTP.
15170 (with-parsed-tramp-file-name): New macro for the usual big `let'
15171 statement to dissect a file-name.
15172 (tramp-handle-make-symbolic-link, tramp-handle-load)
15173 (tramp-handle-file-name-directory)
15174 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
15175 (tramp-handle-file-truename, tramp-handle-file-directory-p)
15176 (tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
15177 (tramp-handle-file-writable-p, tramp-handle-file-writable-p):
15178 Use the new macro and forward call to Ange-FTP if applicable.
15179 (tramp-make-ange-ftp-file-name): New helper function to convert a
15180 file name into an Ange-FTP file name, used by `tramp-invoke-ange-ftp'.
15181 (tramp-default-method-alist): New user option.
15182 (tramp-find-default-method): Use it.
15183 (tramp-sh-extra-args): New variable.
15184 (tramp-find-shell): Use it.
15185 (tramp-open-connection-rsh): Support a kludgy feature for the
15186 "-p" option to ssh. If host name is given as "host#42", uses the
15189 2002-06-25 Andreas Schwab <schwab@suse.de>
15191 * replace.el (occur-1): Avoid invalid message format string.
15193 2002-06-24 Stefan Monnier <monnier@cs.yale.edu>
15195 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn):
15196 Check for `noruntime' even if the function has a known sig.
15197 (byte-compile-file, byte-compile-output-docform):
15198 Don't hard code point-min = 1.
15200 * pcvs.el (cvs-parse-process): Don't save/restore point.
15201 Fix last change not to introduce spurious dir FIs.
15202 (cvs-move-to-goal-column): New function extracted from
15203 cvs-mode-previous-line.
15204 (cvs-mode-previous-line, cvs-mode-next-line): Use it.
15205 (cvs-addto-collection): Use it to preserve point.
15206 (cvs-vc-command-advice): Ad-hoc workaround for `cvs -q add'.
15208 * mwheel.el (mouse-wheel-scroll-amount,mwheel-scroll,mouse-wheel-mode):
15209 Don't require the first element to be modifier-free.
15211 * pcvs-parse.el (cvs-parse-table):
15212 Handle `nothing known about' with more care.
15214 * pcvs.el (cvs-fileinfo-kill): Remove.
15215 (cvs-parse-process): Add `old-fis' argument.
15216 (cvs-mode-run): Use it instead of cvs-fileinfo-kill.
15218 * descr-text.el (describe-property-list): Make sure there's
15219 a space between the property name and its value.
15220 (describe-text-properties): Don't kill a pre-existing buffer.
15222 * mwheel.el: Undo last patch from Stephen Gildea for now.
15224 2002-06-24 Kim F. Storm <storm@cua.dk>
15226 * emulation/keypad.el: Added :require 'keypad to defcustoms.
15228 2002-06-23 Stefan Monnier <monnier@cs.yale.edu>
15230 * subr.el (event-start, event-end, event-click-count):
15231 Accept non-mouse events as well.
15232 (read-key): New function.
15233 (read-quoted-char): Use it. Use this-single-command-raw-keys as well.
15235 * files.el: Rename (and mark as obsolete)
15236 find-file-hooks to find-file-hook,
15237 find-file-not-found-hooks to find-file-not-found-functions,
15238 write-file-hooks to write-file-functions,
15239 write-contents-hooks to write-contents-functions.
15240 Mark local-write-file-hooks as obsolete.
15241 (locate-file-completion): Don't cons uselessly. Use test-completion.
15242 (basic-save-buffer): Use (point-min) rather than 1.
15243 (basic-save-buffer-2): Obey the `setmodes' returned by backup-buffer.
15245 * help-fns.el (describe-variable): Only use `buffer' is still live.
15246 Use `delete-region' instead of save-excursion + delete-char.
15247 Document the obsolescence of the variable, if applicable.
15249 2002-06-23 Glenn Morris <gmorris@ast.cam.ac.uk>
15251 * progmodes/f90.el (f90-do-auto-fill): Respect the value of
15252 comment-auto-fill-only-comments.
15254 2002-06-21 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
15256 * net/ange-ftp.el (backup-buffer): Delete `ange-ftp' property.
15257 This is not a handled operation.
15259 2002-06-21 Kim F. Storm <storm@cua.dk>
15261 * emulation/cua-base.el (cua--prefix-arg): Make register prefixes
15262 work again. Corrected error in check for C-u initiated prefix.
15264 * emulation/keypad.el (keypad-setup): Handle kp-begin like kp-space.
15266 2002-06-21 Richard M. Stallman <rms@gnu.org>
15268 * net/browse-url.el (browse-url-at-mouse): Don't pass an arg
15269 to browse-url-at-point.
15271 * play/zone.el (zone-idle): Var deleted.
15273 * international/iso-acc.el (iso-languages) <french>:
15274 `~ ' now generates `~', `~,' definition deleted.
15276 * format.el (format-annotate-function): Copy multibyte flag
15277 and selective-display into the new temp buffer.
15279 * edmacro.el (edmacro-fix-menu-commands):
15280 Discard `help-echo' events. Handle (menu-bar) events.
15281 Simplify by converting key sequence to a list and then back to vector.
15283 2002-06-21 Stephen Gildea <gildea@stop.mail-abuse.org>
15285 * mwheel.el: Allow arbitrary keys for scrolling, add a third
15286 scrolling speed, fix an unwind-protect.
15287 (mouse-wheel-scroll-amount): Now a three-element list.
15288 (mouse-wheel-scroll-down-slow, mouse-wheel-scroll-up-slow)
15289 (mouse-wheel-scroll-down-normal, mouse-wheel-scroll-up-normal)
15290 (mouse-wheel-scroll-down-fast, mouse-wheel-scroll-up-fast):
15293 2002-06-21 Andreas Schwab <schwab@suse.de>
15295 * files.el (find-file-read-args): Add new argument `mustmatch' and
15296 pass it down to read-file-name.
15297 (find-file, find-file-other-window, find-file-other-frame)
15298 (find-file-read-only, find-file-read-only-other-window)
15299 (find-file-read-only-other-frame): Use it and fix prompts.
15301 2002-06-21 Stefan Monnier <monnier@cs.yale.edu>
15303 * pcvs-defs.el (cvs-version): Use cvs-program rather than "cvs".
15305 2002-06-20 Emmanuel Briot <briot@act-europe.fr>
15307 * progmodes/ada-mode.el: Update copyright notice.
15308 Synchronize with GNAT release 3.15a1.
15309 Do not attempt to load ada-support, which is only for compatibility
15310 with older Emacs versions, and is not needed for Emacs 21.
15311 Fix various calls to count-lines, that didn't work correctly when the
15312 buffer was narrowed.
15313 (ada-continuation-indent): New variable.
15314 (ada-contextual-menu): New entry "List local references", faster than
15316 (ada-mode): New alignment rules provided by S. Leake.
15317 Add support for which-function-mode.
15318 (ada-get-current-indent): Fix indentation of named parameter lists and
15319 nested boolean expressions.
15320 (ada-indent-on-previous-lines): Fix indentation of labels.
15321 (ada-search-prev-end-stmt): Fix searching of the previous
15322 end-statement, specially with regards to nested subprograms.
15323 (comment-region advice): Initially disabled, for better compatibility
15325 (ada-fill-comment-paragraph): Fixed (no longer worked with Emacs 21).
15327 * progmodes/ada-xref.el: Update copyright notice.
15328 (ada-xref-create-ali): The default is now not to create automatically
15329 the ALI files by compiling the unit, since this isn't always reliable
15330 and requires an up-to-date project file.
15331 (ada-prj-default-comp-cmd): No longer use gcc directly to compile
15332 a file, but use gnatmake instead, since this gives access to the GNAT
15334 (ada-xref-search-with-egrep): New variable, suggested by P. Waroquiers.
15335 (ada-load-project-hook): New variable, for support of GNAT
15337 (ada-update-project-menu): Fix the detection of the project file name.
15338 (ada-add-keymap): Change key binding for ada-find-file, that conflicted
15339 with another binding in ada-mode.el.
15340 (ada-add-menu): New menu "List Local References", to list the reference
15341 to the entity only in the current file, instead of looking in the whole
15342 project. Much faster.
15343 (ada-find-references): New parameters arg and local-only.
15344 (ada-find-any-references): New parameters local-only and append.
15345 (ada-goto-declaration): Fix handling of predefined entities in xref.
15346 (ada-get-all-references): Updated to the new xref format in GNAT 3.15,
15347 still compatible with GNAT 3.14 of course. Fix various calls to
15348 count-lines, that didn't work correctly when the buffer was narrowed.
15350 * progmodes/ada-prj.el: Update copyright.
15351 (ada-prj-load-directory): Make sure we do not use one of the new Emacs
15352 21 dialogs to select the file, since we want a directory name only.
15353 (ada-customize): Add support for the new GNAT project files.
15355 2002-06-20 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
15357 * progmodes/etags.el (tag-implicit-name-match-p): New function.
15358 (etags-recognize-tags-table): Use it for implicit tag names.
15360 2002-06-20 Miles Bader <miles@gnu.org>
15362 * comint.el (comint-get-old-input-default): Strip text properties
15365 * comint.el (comint-output-filter): Run output-filter functions
15366 before setting up the prompt.
15368 * international/characters.el: Re-enable code giving word syntax
15369 to certain japanese-jisx0208 characters.
15371 2002-06-19 Glenn Morris <gmorris@ast.cam.ac.uk>
15373 * progmodes/f90.el (f90-type-def-re): Fix value.
15374 (f90-looking-at-type-like): Adapt for new `f90-type-def-re' value.
15376 2002-06-18 Stefan Monnier <monnier@cs.yale.edu>
15378 * international/quail.el (quail-help): Don't assume the buffer
15379 is displayed in the same frame.
15381 * emacs-lisp/debug.el (cancel-debug-on-entry):
15382 * emacs-lisp/regexp-opt.el (regexp-opt-group): Don't cons uselessly.
15384 * pcvs.el (cvs-vc-command-advice): Handle the case where args
15385 are passed to `cvs' before the command name.
15386 (cvs-fileinfo-kill): Mark old FIs as up-to-date rather than dead.
15388 * pcvs-info.el (cvs-add-face): Minor rewrite.
15389 (cvs-fileinfo-pp): Use `cvs-goal-column' with directory entries.
15391 * newcomment.el (comment-normalize-vars): Refresh the comment-foo-skip
15392 regexp when they don't match comment-foo any more.
15394 2002-06-18 Juanma Barranquero <lektu@terra.es>
15396 * filesets.el (filesets-update-pre010505): Fix typo.
15398 * eshell/em-pred.el (eshell-modifier-help-string): Fix typos.
15400 * emulation/edt.el (edt-substitute): Fix typo.
15402 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Fix typo.
15404 * comint.el (comint-next-prompt, comint-previous-prompt): Fix typos.
15406 * progmodes/sh-script.el (sh-electric-rparen-needed): Remove.
15408 2002-06-17 Richard M. Stallman <rms@gnu.org>
15410 * facemenu.el (facemenu-map): Rename to Describe Text
15411 to Describe Properties and use describe-text-properties.
15413 * simple.el (what-cursor-position): Use describe-char.
15415 * descr-text.el (describe-char): Moved from mule-diag.el, renamed
15416 from describe-char-after. Now calls describe-text-properties.
15417 (describe-property-list): Renamed from describe-text-properties.
15418 (describe-text-properties): Renamed from describe-text-at.
15419 New arg OUTPUT-BUFFER.
15420 (describe-text-properties-1):
15421 New subroutine, broken out from describe-text-properties.
15422 Output a newline before each section of the output.
15424 * international/mule-diag.el (describe-char-after):
15425 Moved to descr-text.el.
15427 2002-06-17 Eli Zaretskii <eliz@is.elta.co.il>
15429 * international/mule.el (ctext-pre-write-conversion): Fix the values
15430 of FROM and TO if we create a new buffer.
15432 2002-06-17 John Paul Wallington <jpw@shootybangbang.com>
15434 * comint.el (comint-insert-clicked-input): Insert clicked-on
15435 previous input without properties.
15437 2002-06-16 Andrew Choi <akochoi@shaw.ca>
15439 * term/mac-win.el (scalable-fonts-allowed): Set to t.
15441 2002-06-15 Colin Walters <walters@debian.org>
15443 * pcvs-info.el (global-font-lock-mode, font-lock-auto-fontify):
15445 (cvs-highlight): Delete.
15446 (cvs-add-face): Use `font-lock-face'. Always add properties.
15448 * ibuffer.el (ibuffer-movement-cycle): New variable.
15449 (ibuffer-backward-line, ibuffer-forward-line): Use it.
15451 2002-06-15 Richard M. Stallman <rms@gnu.org>
15453 * emacs-lisp/bytecomp.el (byte-recompile-directory): Doc fix.
15454 (batch-byte-recompile-directory): Undo previous change.
15456 * comint.el (comint-skip-input): New function.
15457 (comint-interrupt-subjob, comint-kill-subjob, comint-quit-subjob)
15458 (comint-stop-subjob): Use comint-skip-input.
15460 * ielm.el (ielm-eval-input): Use error-message-string.
15461 (ielm-format-error, ielm-format-errors): Functions deleted.
15463 2002-06-14 Kim F. Storm <storm@cua.dk>
15465 * progmodes/compile.el (grep-tree): Doc fixes.
15466 Added SUBDIRS arg for non-interactive use.
15468 2002-06-14 Juanma Barranquero <lektu@terra.es>
15470 * comint.el (comint-snapshot-last-prompt):
15471 Bind `inhibit-read-only' to t to support read-only prompts.
15472 (comint-output-filter): Likewise.
15474 2002-06-14 Miles Bader <miles@gnu.org>
15476 * subr.el (copy-tree): Use `nconc' and `nreverse' instead of `nreconc'.
15477 (pop): Move the call to `car' outside the prog1, as the compiler
15478 then generates better code.
15480 2002-06-13 Richard M. Stallman <rms@gnu.org>
15482 * play/zone.el (zone-timer): New variable holds the idle timer.
15483 (zone): Don't fiddle with the idle timer at all.
15484 (zone-when-idle): Put the idle timer in zone-timer.
15485 If one is already set up, cancel it and make a new one.
15486 (zone-leave-me-alone): Likewise.
15488 2002-06-13 Jason Rumney <jasonr@gnu.org>
15490 * w32-fns.el (w32-charset-info-alist): Reorder.
15492 2002-06-13 Andreas Schwab <schwab@suse.de>
15494 * files.el (auto-mode-alist): Move entry for ".in" to the end.
15496 2002-06-13 Miles Bader <miles@gnu.org>
15498 * comint.el (comint-mode): Don't set `font-lock-defaults'.
15499 (comint-mode-hook): Turn on font-lock by default.
15501 2002-06-12 Karl Fogel <kfogel@red-bean.com>
15503 * bookmark.el (bookmark-file-or-variation-thereof):
15504 Restore vc-backend check, thanks to Robert Thorpe for noticing.
15506 2002-06-12 Eli Zaretskii <eliz@is.elta.co.il>
15508 * textmodes/bibtex.el: Change the maintainer to "none".
15510 2002-06-12 Juanma Barranquero <lektu@terra>
15512 * term/w32-win.el (x-handle-switch): Fix handling of
15513 x-invocation-args for switches with arguments.
15515 2002-06-12 Stefan Monnier <monnier@cs.yale.edu>
15517 * menu-bar.el (menu-bar-showhide-fringe-menu): Don't use `fringe-mode'
15518 without first making sure it's bound.
15520 2002-06-12 Richard M. Stallman <rms@gnu.org>
15522 * info.el (Info-fontify-node): Compute header line specially
15523 if node has no next, previous or up links.
15524 Hide the part of the first line that is used in the header.
15525 Use Info-next-link-keymap, etc.
15526 (Info-next-link-keymap, Info-prev-link-keymap)
15527 (Info-up-link-keymap): New variables.
15529 * international/mule-diag.el (describe-char-after): Doc fix.
15531 * view.el (view-mode-enter): Clarify echo area message.
15533 * info.el (Info-select-node): Turn header line on or off here.
15534 (Info-setup-header-line): Function deleted.
15535 (Info-mode): Make Info-header-line local.
15536 (Info-fontify-node): Ignore Info-use-header-line.
15537 Unconditionally compute what the header line should be, and
15538 store it on the `header-line' property of the node's first char.
15539 Bind [header-line down-mouse-1].
15540 Use `keymap' property, not `local-map'.
15541 Bind [mouse-2] for mouse clicks on the node line in the text.
15543 * font-lock.el (font-lock-beginning-of-syntax-function): Doc fix.
15545 2002-06-12 Miles Bader <miles@gnu.org>
15547 * comint.el (comint-send-input): Properly handle empty and
15548 no-newline input regions.
15550 2002-06-12 Colin Walters <walters@gnu.org>
15552 * calc/calc.el: Use `when', `unless'.
15553 (calc-trail-mode): Use an italic `font-lock-face'.
15554 (calc-refresh): Ditto.
15556 2002-06-12 Colin Walters <walters@debian.org>
15558 * font-core.el (font-lock-core-only): Variable deleted.
15560 (font-lock-set-defaults): Variable alist settings moved back into
15561 font-lock-set-defaults-1.
15562 (turn-on-font-lock-if-enabled): Always turn on font-lock unless it
15563 is specifically excluded by the user.
15565 * font-lock.el (font-lock-set-defaults-1): Set variable alist here.
15567 * help-mode.el (help-mode): Don't set `font-lock-defaults'.
15569 * ibuffer.el (ibuffer-mode): Don't set `font-lock-defaults'.
15571 * info.el (Info-mode): Don't set `font-lock-defaults'.
15573 * replace.el (occur-mode): Don't set `font-lock-defaults'.
15575 * help-mode.el (help-highlight-p, help-highlight-face):
15576 Variable was unused; delete.
15577 (help-make-xrefs): Doc fix.
15579 2002-06-11 Richard M. Stallman <rms@gnu.org>
15581 * format.el (format-alist): Document new element PRESERVE.
15582 (format-write-file): Implement PRESERVE elt for a format.
15584 * files.el (make-auto-save-file-name): Rename local `filename' to
15587 2002-06-10 Richard M. Stallman <rms@gnu.org>
15589 * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Use copy-sequence.
15590 (ebrowse-copy-list): Function deleted.
15592 * eshell/em-unix.el (eshell/diff): Use copy-sequence.
15594 * eshell/esh-mode.el (eshell-mode, eshell-mode): Use copy-sequence.
15596 * eshell/esh-util.el (eshell-copy-list): Function deleted.
15597 (eshell-sublist): Use copy-sequence.
15598 (eshell-copy-tree): Make it an alias for copy-tree.
15600 * emacs-lisp/cl.el (copy-list): Moved back from subr.el.
15602 * subr.el (copy-list): Moved to cl.el.
15603 (copy-tree): Don't use copy-list or cl-pop.
15605 2002-06-10 Miles Bader <miles@gnu.org>
15607 Make comint use text properties for highlighting instead of overlays:
15608 * comint.el (comint-last-output-overlay): Variable removed.
15609 (comint-send-input, comint-output-filter): Use text properties
15610 instead of overlays.
15611 (comint-insert-clicked-input): Rewrite to work with text
15612 properties as well as overlays
15613 (comint-snapshot-last-prompt): Snapshot using text properties.
15614 (comint-get-old-input-default, comint-extract-string): Don't copy
15617 * simple.el (line-move-finish): Inhibit field motion when
15618 computing `line-end'.
15620 * files.el (revert-buffer): Correct typo: variable name is
15621 `buffer-file-format', not `buffer-file-formats'.
15623 * comint.el (comint-send-input, comint-output-filter): Use the
15624 `font-lock-face' property instead of `face'. Don't check the
15625 highlight-enabling variables anymore.
15626 (comint-highlight-input, comint-highlight-prompt): Variables removed.
15628 * faces.el (display-supports-face-attributes-p): New function.
15629 (face-spec-set-match-display): Support `supports' predicate.
15630 (italic): Try underlining for displays that don't support real italics.
15631 * cus-edit.el (custom-display): Add support for `supports' predicate.
15632 * term/tty-colors.el (color-name-rgb-alist): Use 16-bit RGB values
15633 instead of 8-bit, for consistency with the rest of emacs.
15634 (tty-color-canonicalize): Only copy COLOR if we need to change it.
15635 (tty-color-approximate): Scale values from `color-name-rgb-alist'
15636 appropriately. Return the whole color description, rather than
15637 just the RGB values.
15638 (tty-color-standard-values): New function. Code mostly taken from
15639 `tty-color-translate'.
15640 (tty-color-translate, tty-color-values): Use `tty-color-desc' to
15642 (tty-color-desc): Do color lookup here instead of calling
15643 `tty-color-translate' and `tty-color-by-index'; this is now the
15644 main place to do it.
15646 2002-06-09 Martin Stjernholm <bug-cc-mode@gnu.org>
15648 * progmodes/cc-style.el (c-set-style, c-set-style-1):
15649 Add another state for the `dont-override' flag where it only keeps
15650 globally set variables.
15652 2002-06-08 Colin Walters <walters@gnu.org>
15654 * descr-text.el (describe-text-properties): Sort the output by the
15655 size of the values. Put `font-lock-face' property on property names.
15656 (toplevel): Provide `descr-text'.
15658 * international/mule-diag.el (describe-char-after): When there are
15659 text properties, require `descr-text', and just call
15660 `describe-text-properties'.
15662 * international/mule.el (sgml-html-meta-auto-coding-function):
15664 (auto-coding-from-file-contents): Delete; merge functionality into
15666 (set-auto-coding): Move tests from `auto-coding-functions' so that
15667 they have a lower priority than coding: tags.
15668 Put `auto-coding-regexp-alist' tests before coding: tag tests.
15669 (sgml-xml-auto-coding-function): Simply `intern' the match, and
15670 test if it's a valid coding system.
15671 (auto-coding-functions): Add `sgml-html-meta-auto-coding-function'.
15673 2002-06-08 Colin Walters <walters@verbum.org>
15675 * subr.el (copy-list): Moved here from cl.el.
15676 (copy-tree): Renamed here from `cl-copy-tree' in cl-extra.el.
15678 * emacs-lisp/cl-extra.el (cl-copy-tree): Moved to `copy-tree' in
15679 subr.el. Add a defalias with the old name.
15681 * emacs-lisp/cl.el (copy-list): Moved to subr.el.
15683 * replace.el (occur-mode): Don't set up categories. Do set
15684 `font-lock-defaults', and be sure to set `font-lock-core-only'.
15685 (occur-1): Pass `list-matching-lines-face' and
15686 `list-matching-lines-buffer-name-face'.
15687 (occur-engine): Use `font-lock-face' instead of categories.
15689 * info.el (Info-mode): Don't set up categories. Do set
15690 `font-lock-defaults', and be sure to set `font-lock-core-only'.
15691 (Info-fontify-menu-headers): Use `font-lock-face' instead of
15693 (Info-fontify-node): Ditto.
15695 * ibuffer.el (ibuffer-category-alist): Delete.
15696 (ibuffer-get-category): Delete.
15697 (ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
15699 (ibuffer-compile-format): Don't treat `name' category specially.
15700 (ibuffer-column name): Use `font-lock-face'.
15701 (filename-and-process): Ditto.
15702 (ibuffer-buffer-name-category): Renamed to
15703 `ibuffer-buffer-name-face'. Don't use categories.
15704 (ibuffer-update-title-and-summary): Use `font-lock-face'.
15705 (ibuffer-insert-filter-group): Ditto.
15706 (ibuffer-mode): Don't set up categories. Do set
15707 `font-lock-defaults', and be sure to set `font-lock-core-only'.
15708 (ibuffer-compile-format): Don't pass third argument
15709 to column functions.
15710 (filename-and-process): Ditto.
15712 * ibuf-macs.el (define-ibuffer-column): Don't create a third
15713 argument for the generated function.
15715 * font-core.el (font-lock-category-alist): Delete.
15716 (turn-on-font-lock-if-enabled): Don't use it.
15717 (font-lock-symbol-category-alist): Delete.
15718 (font-lock-default-function): Use new `char-property-alias-alist'
15719 to make `font-lock-face' an alias for `face' when font-lock mode
15721 (font-lock-core-only): New variable.
15722 (font-lock-set-defaults): Use it.
15724 2002-06-08 Richard M. Stallman <rms@gnu.org>
15726 * files.el (find-file-noselect-1): Undo previous change.
15728 * bookmark.el (bookmark-file-or-variation-thereof): Doc fix.
15730 2002-06-07 Karl Fogel <kfogel@red-bean.com>
15732 * bookmark.el (bookmark-file-or-variation-thereof): Just use
15733 Info-suffix-list, as suggested by Stefan Monnier.
15735 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il>
15737 * select.el (xselect-convert-to-string): If VALUE is a string,
15738 return a cons of TYPE and the string.
15740 2002-06-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
15742 * language/cyrillic.el (cyrillic-alternativnyj-decode-table):
15743 Fix the table to contain correct characters.
15745 2002-06-04 Richard M. Stallman <rms@gnu.org>
15747 * simple.el: Don't require cl.
15749 2002-06-03 Richard M. Stallman <rms@gnu.org>
15751 * dired.el (dired-do-shell-command): Doc fix in autoload.
15753 * info.el (Info-extract-pointer): Ignore Info-header-line.
15755 * progmodes/cc-mode.el (c-postprocess-file-styles):
15756 Do nothing except in CC modes.
15758 * international/mule-cmds.el (select-safe-coding-system):
15759 When computing auto-cs, narrow to FROM...TO.
15760 Put save-excursion outside save-restriction.
15761 New arg FILE; use that for set-auto-coding.
15763 2002-06-01 Richard M. Stallman <rms@gnu.org>
15765 * simple.el (choose-completion-string-functions): Doc fix.
15766 (choose-completion-string): Add doc string.
15768 2002-06-01 Kim F. Storm <storm@cua.dk>
15770 * simple.el: Reworked previous change.
15771 (choose-completion-string1): Merged back into choose-completion-string.
15772 (choose-completion-string): Run choose-completion-string-functions
15773 after checking for proper minibuffer window. Added mini-p arg to
15774 the hook functions. Insert choice if all hook functions return nil.
15775 (choose-completion-string-functions): Doc update.
15777 2002-06-01 Sam Steingold <sds@gnu.org>
15779 * files.el (auto-mode-alist): Strip trailing ".in" from the file
15780 name when deciding the mode (for config.h.in, Makefile.in etc).
15782 2002-06-01 Thien-Thi Nguyen <ttn@gnu.org>
15784 * progmodes/prolog.el (prolog-mode-syntax-table): Add flags to
15785 ?/ and ?* entries to support /* */ style comments.
15786 (prolog-font-lock-keywords): New var.
15787 (prolog-mode): Enable font-locking; set `font-lock-defaults'.
15789 2002-06-01 Kim F. Storm <storm@cua.dk>
15791 * simple.el (choose-completion-string-functions): New special hook.
15792 (choose-completion-string1): Renamed from choose-completion-string.
15793 (choose-completion-string): Run choose-completion-string-functions
15794 until success, and only call choose-completion-string1 if it fails.
15796 2002-05-31 Stefan Monnier <monnier@cs.yale.edu>
15798 * textmodes/ispell.el (autoloaded toplevel): Don't use
15799 ispell-library-directory without checking that it's bound.
15801 2002-05-31 Kim F. Storm <storm@cua.dk>
15803 * emulation/cua-base.el (cua--last-deleted-region-pos)
15804 (cua--last-deleted-region-text): New aux variables.
15805 (cua-delete-region): Set them.
15806 (cua-repeat-replace-region): Use them to find the replacement text.
15808 2002-05-31 Juanma Barranquero <lektu@terra.es>
15810 * emulation/viper-cmd.el (viper-smart-suffix-list, viper-ask-level):
15813 2002-05-31 Kim F. Storm <storm@cua.dk>
15815 * progmodes/compile.el (grep-tree-command, grep-tree-files-aliases)
15816 (grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
15817 New custom variables.
15818 (grep-compute-defaults): Compute grep-tree-command's default value.
15819 (grep-expand-command-macros): New aux function.
15820 (grep-tree-last-regexp, grep-tree-last-files): New aux variables.
15821 (grep-tree): New command like grep-find but extended prompting.
15823 2002-05-30 Richard M. Stallman <rms@gnu.org>
15825 * files.el (find-file-default): Add defvar for var already used.
15827 * menu-bar.el (menu-bar-showhide-fringe-menu): Use defvar.
15829 * subr.el (open-network-stream, open-network-stream-nowait)
15830 (open-network-stream-server, process-kill-without-query):
15831 Moved from simple.el.
15833 * simple.el (open-network-stream, open-network-stream-nowait)
15834 (open-network-stream-server, process-kill-without-query):
15837 * simple.el (byte-compiling-files-p): Function deleted.
15839 * textmodes/ispell.el (ispell-library-directory): Renamed from
15840 ispell-library-path. If Ispell is not installed, init to nil.
15841 (check-ispell-version): Doc fix.
15842 (ispell-menu-map): Get rid of byte-compiling-files-p hackery;
15843 initialize this unconditionally when ispell-menu-map-needed is t.
15844 Local `path' renamed to `dir'.
15846 2002-05-30 Miles Bader <miles@gnu.org>
15848 * calc/calc.el (calc-show-banner): New variable.
15849 (calc-refresh): Only show banner if `calc-show-banner' is non-nil.
15850 (calc-mode-var-list): Add `calc-show-banner'.
15851 * calc/calc-ext.el (calc-init-extensions): Add binding for `d@'.
15852 (calc-toggle-banner): New function.
15853 * calc/calc-help.el (calc-d-prefix-help): Add `@'.
15855 2002-05-29 Richard M. Stallman <rms@gnu.org>
15857 * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
15858 When recognizing a def... construct, make that indentation
15859 tentative, so that it can be overridden if the list in question
15860 is not actually an expression.
15861 (common-lisp-indent-call-method): New subroutine.
15863 * emacs-lisp/bytecomp.el (batch-byte-compile-file):
15864 Delete the output file if we get a file-error.
15866 * tooltip.el (tooltip-mouse-motions-active): New variable.
15867 (tooltip-activate-mouse-motions): Don't kill track-mouse local
15868 if it was not made by us.
15870 * mouse.el (mouse-set-font): Avoid misleading error message
15871 if user makes no selection.
15873 * info.el (Info-setup-header-line): Don't hide the links line.
15875 * files.el (find-file-noselect-1): Return the buffer we created
15876 even if it has been killed within `after-find-file'.
15878 * files.el (auto-mode-alist): Use ada-mode for .ad[bs].dg files.
15880 2002-05-29 Kim F. Storm <storm@cua.dk>
15882 * simple.el (open-network-stream-server): Pass on optional args
15883 sentinel and filter to make-network-process (from Luke Gorrie).
15885 2002-05-28 Colin Walters <walters@gnu.org>
15887 * textmodes/sgml-mode.el (xml-mode): New alias for `sgml-mode'.
15889 * emacs-lisp/bytecomp.el (byte-compile-last-line): Deleted.
15890 (byte-compile-delete-first): New function.
15891 (byte-compile-read-position): New variable.
15892 (byte-compile-last-position): New variable.
15893 (byte-compile-current-buffer): New variable.
15894 (byte-compile-log-1): Use it.
15895 (byte-compile-set-symbol-position): New function.
15896 (byte-compile-obsolete, byte-compile-callargs-warn)
15897 (byte-compile-arglist-warn, byte-compile-arglist-warn)
15898 (byte-compile-print-syms, byte-compile-file-form-defmumble)
15899 (byte-compile-check-lambda-list, byte-compile-lambda)
15900 (byte-compile-form, byte-compile-variable-ref)
15901 (byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
15902 (byte-compile-condition-case, byte-compile-defun)
15903 (byte-compile-defvar, byte-compile-autoload)
15904 (byte-compile-lambda-form): Use it.
15905 (byte-compile-from-buffer): Set it, and bind
15906 `read-with-symbol-positions' and `read-symbol-positions-list'.
15908 * emacs-lisp/bytecomp.el (byte-compile-debug): New variable.
15910 2002-05-28 Kim F. Storm <storm@cua.dk>
15912 * files.el (read-directory-name): New function.
15913 (cd): Use it instead of read-file-name.
15915 2002-05-27 Kim F. Storm <storm@cua.dk>
15917 * simple.el (push-mark-command): Added optional NOMSG arg.
15919 * emulation/cua-base.el (cua-set-mark): Align pop to mark
15920 behaviour with standard set-mark-command.
15921 (cua--pre-command-handler): Use push-mark-command.
15922 (cua-repeat-replace-region): Improve functionality when
15923 repeated after moving point or changing buffer.
15925 2002-05-26 Colin Walters <walters@verbum.org>
15927 * startup.el (command-line): Use `when', `unless'.
15928 (command-line-1): New argument "--nosplash". Handle it.
15930 * startup.el (inhibit-splash-screen): New variable alias for
15931 `inhibit-startup-message'.
15933 * replace.el (perform-replace): Document return value. Use `pop'.
15935 2002-05-26 Glenn Morris <gmorris@ast.cam.ac.uk>
15937 * progmodes/f90.el (f90-previous-block, f90-next-block): New names,
15938 and slightly changed behaviour, for `f90-previous-block-start' and
15939 `f90-next-block-end'.
15940 (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
15942 2002-05-26 Simon Josefsson <jas@extundo.com>
15944 * fringe.el (set-fringe-mode): Work when updating
15945 `default-frame-alist'.
15947 2002-05-26 Kim F. Storm <storm@cua.dk>
15949 * emulation/cua-base.el (cua--repeat-replace-text): New variable.
15950 (cua-repeat-replace-region): New command.
15951 (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
15952 Misc improvements to the commentary.
15954 2002-05-26 Simon Josefsson <jas@extundo.com>
15956 * fringe.el (fringe-query-style): New fringe style "minimal".
15958 2002-05-24 Simon Josefsson <jas@extundo.com>
15960 * rot13.el (rot13-translate-table): New variable.
15961 (rot13, rot13-string, rot13-region): New functions.
15963 2002-05-25 Martin Stjernholm <bug-cc-mode@gnu.org>
15965 * progmodes/cc-engine.el (c-add-stmt-syntax): Fixed some cases
15966 of wrong anchoring, e.g. for else-if compounds.
15968 2002-05-25 Miles Bader <miles@gnu.org>
15970 * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
15971 (menu-bar-showhide-fringe-menu-customize-right)
15972 (menu-bar-showhide-fringe-menu-customize-disable):
15973 Use proper calling convention for `customize-set-value'.
15974 Require `fringe' before setting variable.
15976 2002-05-25 Kim F. Storm <storm@cua.dk>
15978 * emulation/cua-base.el (cua--self-insert-char-p): New function.
15980 * emulation/cua-gmrk.el (cua--init-global-mark): Install default
15981 binding in cua--global-mark-keymap using cua--self-insert-char-p
15982 to handle all global self inserting characters in gmark mode.
15984 * emulation/cua-rect.el (cua--init-rectangles): Install default
15985 binding in cua--rectangle-keymap using cua--self-insert-char-p
15986 to handle all global self inserting characters in rectangle mode.
15988 2002-05-24 Stefan Monnier <monnier@cs.yale.edu>
15990 * net/ange-ftp.el (read-file-name-internal): Remove the
15991 `ange-ftp' property.
15992 (ange-ftp-real-read-file-name-internal): Remove.
15994 2002-05-24 Glenn Morris <gmorris@ast.cam.ac.uk>
15996 * progmodes/f90.el: (f90-end-of-subprogram): Remove the final
15998 (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
15999 (f90-previous-block-start): New navigation commands.
16001 2002-05-20 Simon Josefsson <jas@extundo.com>
16003 * fringe.el: New file.
16005 * menu-bar.el (menu-bar-options-save): Add fringe-mode.
16006 (menu-bar-showhide-fringe-menu): New menu.
16007 (menu-bar-showhide-menu): Add Fringe sub-menu.
16009 2002-05-23 Colin Walters <walters@verbum.org>
16011 * replace.el (occur-engine): Include all text properties except
16012 mouse-face on the newline at the end of occurences.
16014 2002-05-23 Kim F. Storm <storm@cua.dk>
16016 * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
16017 (apropos-false-hit-str, apropos-true-hit-doc): New functions.
16018 (apropos-command, apropos-value, apropos-documentation-internal)
16019 (apropos-documentation-check-doc-file)
16020 (apropos-documentation-check-elc-file): Use them to filter out
16021 false matches where only one keyword matches, but more than once.
16023 * apropos.el (apropos-show-scores, apropos-orig-regexp)
16024 (apropos-all-regexp, apropos-synonyms, apropos-words)
16025 (apropos-all-words): New variables.
16026 (aprpos-words-to-regexp, apropos-rewrite-regexp)
16027 (apropos-calc-scores, apropos-score-str, apropos-score-doc)
16028 (apropos-score-symbol): New functions.
16029 (apropos-command, apropos, apropos-value, apropos-documentation):
16030 Allow keywords in addition to regexp. Added scoring.
16031 (apropos-documentation-check-doc-file)
16032 (apropos-documentation-check-elc-file): Added scoring.
16033 (apropos-print): Sort according to score.
16035 2002-05-22 Colin Walters <walters@cis.ohio-state.edu>
16037 * info.el (Info-mode-hook): Change `font-lock-mode' to
16038 `turn-on-font-lock'.
16040 * font-core.el (font-lock-function): New variable.
16041 (font-lock-default-function): New function, created from
16043 (font-lock-mode): Just funcall `font-lock-function'.
16044 (font-lock-symbol-category-alist): New variable.
16046 2002-05-22 Markus Rost <rost@math.ohio-state.edu>
16048 * files.el (file-newest-backup): Use file-name-sans-versions.
16050 * diff.el (diff-latest-backup-file): Replace the main code by
16051 a call of file-newest-backup.
16053 2002-05-22 Mike Williams <mdub@bigfoot.com>
16055 * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
16058 2002-05-21 Stefan Monnier <monnier@cs.yale.edu>
16060 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
16061 the last patch works around the wu-ftpd misfeature that prompted
16062 the disabling of this optimization.
16064 2002-05-21 Colin Walters <walters@gnu.org>
16066 * international/mule.el (make-coding-system): Doc fixes.
16068 * international/mule.el (auto-coding-functions): New variable.
16069 (auto-coding-from-file-contents): Use it.
16070 (set-auto-coding): Update docs.
16071 (sgml-xml-auto-coding-function): New function.
16073 * international/mule-util.el (truncate-string-to-width):
16074 New optional argument `ellipsis'. Add commented-out test suite, and
16075 change coding to iso-2022-7bit.
16077 2002-05-21 Colin Walters <walters@verbum.org>
16079 * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
16080 (font-lock-multiline, font-lock-fontified, font-lock-mode)
16081 (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
16082 (font-lock-global-modes): Moved to font-core.el.
16083 (font-lock-set-defaults-1): Partially moved to font-core.el.
16085 * font-core.el: New file, with functions taken from font-lock.el.
16086 (font-lock-category-alist): New variable.
16087 (font-lock-mode): Use it.
16088 (font-lock-set-defaults): Partially taken from font-lock.el.
16089 Only load font-lock.el when necessary.
16091 * loadup.el: Add font-core.el.
16093 * replace.el (occur-mode-hook): New variable.
16094 (occur-fontify-region-function): Deleted.
16095 (occur-mode): Don't use it. Set up `font-lock-category-alist'
16097 (occur-fontify-on-property): Deleted.
16098 (occur-engine): Use categories from `font-lock-category-alist'.
16100 * info.el (Info-fontify): Deleted.
16101 (Info-select-node): Don't use it.
16102 (Info-mode-hook): New variable.
16103 (Info-mode): Set up categories.
16104 (Info-fontify-menu-headers, Info-fontify-node): Use categories.
16106 * ibuffer.el (ibuffer-formats): Update docs.
16107 (ibuffer-category-alist): New variable.
16108 (ibuffer-get-category): New function.
16109 (ibuffer-compile-make-eliding-form): Use category property instead
16111 (ibuffer-compile-format): Pass current ibuffer buffer to column
16113 (ibuffer-buffer-name-category): New function.
16114 (ibuffer-compile-format): If the current column is a `name'
16115 column, figure out the appropriate category to put on it.
16116 (filename-and-process): Use category property.
16117 (ibuffer-fontify-region-function): Deleted.
16118 (ibuffer-unfontify-region-function): Deleted.
16119 (ibuffer-update-title-and-summary): Use category properties.
16120 (ibuffer-insert-filter-group): Ditto.
16121 (ibuffer-mode): Set up category properties.
16123 2002-05-21 Colin Walters <walters@debian.org>
16125 * replace.el (occur-engine): Increment globalcount all at once
16126 after searching a buffer.
16127 (occur-mode-map): Don't escape plain "o".
16129 * ibuf-macs.el (define-ibuffer-column): Add third argument
16132 * ibuffer.el (toplevel): Require font-lock, to get the face
16134 (ibuffer-use-fontification): Deleted.
16135 (column filename-and-process): New column.
16136 (ibuffer-formats): Use it by default.
16137 (ibuffer-name-map, ibuffer-mode-name-map)
16138 (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
16139 (ibuffer-do-save, ibuffer-do-toggle-modified)
16140 (ibuffer-do-toggle-read-only, ibuffer-do-delete)
16141 (ibuffer-do-kill-on-deletion-marks): Include name in definition.
16142 (ibuffer): New optional argument `formats'.
16144 2002-05-21 Eli Zaretskii <eliz@is.elta.co.il>
16146 * indent.el (indent-rigidly): Mention how to remove all indentation.
16148 2002-05-21 Colin Walters <walters@gnu.org>
16150 * international/mule-diag.el (describe-char-after): Order display
16151 of text properties by the size of their value, for clarity.
16153 2002-05-20 Stefan Monnier <monnier@cs.yale.edu>
16155 * net/ange-ftp.el (ange-ftp-generate-root-prefixes)
16156 (ange-ftp-file-name-completion): Don't cons unnecessarily.
16157 (ange-ftp-send-cmd): Always `cd' before doing `ls'.
16159 * wid-edit.el (widget-color-complete):
16160 * progmodes/etags.el (tags-complete-tags-table-file):
16161 * progmodes/cpp.el (cpp-choose-symbol): Don't cons unnecessarily.
16163 * textmodes/outline.el (outline-reveal-toggle-invisible):
16164 Reverse the meaning of the second arg.
16166 * reveal.el (reveal-post-command): Reverse the semantics of
16167 reveal-toggle-invisible and support isearch-open-invisible-temporary.
16169 2002-05-20 Markus Rost <rost@math.ohio-state.edu>
16171 * mail/sendmail.el (mail-recover-1): Remove (debug).
16172 (mail-signature): Fix :type.
16173 (mail-default-directory): New user option.
16174 (mail, mail-recover): Use that option.
16176 2002-05-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
16178 * international/mule.el (auto-coding-alist): Use emacs-mule
16179 for auto-save files.
16181 2002-05-20 Miles Bader <miles@gnu.org>
16183 * files.el (find-file-read-args): Don't trash existing value of
16184 `minibuffer-setup-hook', just add our hook to it.
16186 2002-05-19 Markus Rost <rost@math.ohio-state.edu>
16188 * international/ucs-tables.el (unify-8859-on-encoding-mode)
16189 (unify-8859-on-decoding-mode): Change :version attributes to strings.
16191 * simple.el (yank-excluded-properties): Change :version attribute
16194 * dired.el (dired-view-command-alist): Change :version attribute
16197 * xscheme.el (xscheme-start-hook): Change :version attribute to a
16200 * find-dired.el (find-dired): Implement revert-buffer-function.
16202 * mail/emacsbug.el (report-emacs-bug-hook): Do another save-excursion.
16204 2002-05-19 Glenn Morris <gmorris@ast.cam.ac.uk>
16206 * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
16207 (f90-get-present-comment-type): Fix earlier change.
16208 (f90-comment-indent): Doc fix.
16209 (f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
16210 (f90-looking-at-if-then): Remove lets.
16211 (f90-looking-at-where-or-forall): Handle if split over lines.
16212 (f90-change-keywords): Doc fix.
16214 2002-05-19 Richard M. Stallman <rms@gnu.org>
16216 * indent.el (indent-region): Make COLUMN arg optional.
16218 * files.el (find-file-read-args): New function.
16219 (find-file, find-file-other-window, find-file-other-frame)
16220 (find-file-read-only, find-file-read-only-other-window)
16221 (find-file-read-only-other-frame): Use it.
16223 * custom.el (custom-load-symbol): Verify that LOADED is a string.
16225 * arc-mode.el (archive-zip-use-pkzip): Variable deleted.
16226 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
16227 (archive-zip-update-case): Use locate-file to decide whether
16229 (archive-zip-extract): Test for pkzip in value of archive-zip-extract.
16231 * files.el (locate-file): Doc fix.
16233 2002-05-19 John Paul Wallington <jpw@shootybangbang.com>
16235 * mail/rmail.el (rmail-show-message-hook): Offer `goto-address'
16238 2002-05-18 Stefan Monnier <monnier@cs.yale.edu>
16240 * uniquify.el (uniquify-rationalize-file-buffer-names):
16241 Always strip the trailing / even if the file is not a directory.
16243 2002-05-18 Glenn Morris <gmorris@ast.cam.ac.uk>
16245 * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
16246 initialization in the defvar.
16247 (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
16248 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
16249 (f90-font-lock-4): Move the doc strings.
16250 (f90-menu-bar-menu): New internal variable to hold the top-level menu.
16251 (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
16252 (f90-mode-abbrev-table): Initialize in the defvar, with
16253 define-abbrev-table.
16255 2002-05-18 Eli Zaretskii <eliz@is.elta.co.il>
16257 * tar-mode.el (tar-octal-time): Fix last change.
16259 2002-05-18 Markus Rost <rost@math.ohio-state.edu>
16261 * mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
16262 (report-emacs-bug): Store the prompt in
16263 `report-emacs-bug-text-prompt'. Move Configuration/Important
16264 settings information after the user's report.
16265 (report-emacs-bug-hook): Unclutter by deleting the content of
16266 `report-emacs-bug-text-prompt'.
16268 2002-05-17 Thomas Morgan <tlm@pocketmail.com>
16270 * forms.el (forms-jump-record, forms-insert-record)
16271 (forms-delete-record): Calculate lines from the beginning of the
16272 accessible portion rather than from the beginning of the buffer.
16274 2002-05-16 Eli Zaretskii <eliz@is.elta.co.il>
16276 * ps-mule.el (eval-and-compile): Add a trivial replacement for a
16277 possibly missing encode-char.
16278 (ps-mule-font-info-database-bdf): Add associations for Unicode
16280 (ps-mule-font-info-database-ps-bdf): Doc fix.
16281 (ps-mule-encode-ucs2): New function for encoding Unicode characters.
16283 * tar-mode.el (tar-octal-time): Fix the last argument of logior.
16285 2002-05-16 Stefan Monnier <monnier@cs.yale.edu>
16287 * emacs-lisp/find-func.el (find-function-search-for-symbol):
16288 Find funs defined with defun-cvs-mode.
16289 (find-function-space-re): New const. Skips comments as well.
16290 (find-function-regexp, find-variable-regexp): Use it.
16292 * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
16293 (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
16294 (cvs-mode-set-flags): Don't cons unnecessarily.
16296 2002-05-16 Colin Walters <walters@debian.org>
16298 * menu-bar.el (menu-bar-tools-menu) <calculator>: Renamed to
16299 "Simple Calculator".
16300 (menu-bar-tools-menu) <calc>: New.
16302 2002-05-16 Juanma Barranquero <lektu@terra.es>
16304 * progmodes/hideshow.el (hs-adjust-block-beginning): Fix typo.
16306 * filesets.el (filesets-ormap): Fix typo.
16308 * faces.el (describe-face): Fix typo.
16310 2002-05-15 Stefan Monnier <monnier@cs.yale.edu>
16312 * emacs-lisp/easymenu.el (easy-menu-make-symbol):
16313 Don't treat (lambda () ...) as an expression.
16315 2002-05-15 John Paul Wallington <jpw@shootybangbang.com>
16317 * replace.el (occur-read-primary-args): Handle a bare 'C-u' correctly.
16319 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il>
16321 * emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
16323 2002-05-14 Glenn Morris <gmorris@ast.cam.ac.uk>
16325 * progmodes/fortran.el (fortran-directive-re): New name for
16326 fortran-preprocessor-re. All usage updated.
16327 (fortran-calculate-indent): Give directives zero indentation.
16329 2002-05-14 Jason Rumney <jasonr@gnu.org>
16331 * emacs-lisp/easymenu.el (easy-menu-name-match): Match both
16332 displayed text and internal name as string.
16334 2002-05-14 Kim F. Storm <storm@cua.dk>
16336 * emulation/cua-rect.el (cua--rectangle-operation):
16337 Don't highlight empty lines in rectangles.
16339 * emulation/keypad.el: Improved commentary.
16340 (keypad-setup, keypad-shifted-setup): Added choice to setup
16341 Numeric keypad with decimal key; value is selected character.
16342 (keypad-decimal-key, keypad-shifted-decimal-key): Removed options.
16343 (keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
16344 (keypad-setup): Arg list changed to support the new options.
16346 2002-05-14 Richard M. Stallman <rms@gnu.org>
16348 * dabbrev.el (dabbrev-case-distinction): New option.
16349 (dabbrev--try-find): Handle dabbrev-case-distinction.
16350 (dabbrev--search): Clean up the code.
16351 (dabbrev-upcase-means-case-search): Doc fix.
16352 (dabbrev-case-replace): Fix custom tags and docs.
16354 2002-05-14 Jochen K
\e,A|
\e(Bpper <jochen@jochen-kuepper.de>
16356 * calc/calc-units.el (math-standard-units): Update from CODATA.
16358 2002-05-14 Stefan Monnier <monnier@cs.yale.edu>
16360 * skeleton.el (skeleton-transformation): Default to `identity'.
16361 (skeleton-insert): Use `move-after' markers and `insert' rather
16362 than rely on insert-before-markers.
16363 (skeleton-internal-1): Handle `> \n' specially so that the newline
16364 is inserted before the first line is indented.
16366 2002-05-14 Mike Williams <mdub@bigfoot.com>
16368 * textmodes/sgml-mode.el (sgml-tag):
16369 Default skeleton-transformation to `identity'.
16371 2002-05-14 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
16373 * shell.el (shell-mode): Make second part of initialisation
16374 depend on whether comint-input-ring is empty, rather than depend
16377 2002-05-14 Richard M. Stallman <rms@gnu.org>
16379 * files.el (make-auto-save-file-name):
16380 Delete the auto-save file after make-temp-file creates it.
16382 2002-05-13 Kim F. Storm <storm@cua.dk>
16384 * emulation/cua-base.el (cua-enable-cursor-indications): Default off.
16385 (cua-mode): Print Enabled/Disabled messages if interactive.
16386 Disable delete-selection-mode and pc-selection-mode when cua-mode
16387 is enabled; reenable if cua-mode is turned off.
16388 Remember setting of transient-mark-mode when cua-mode is enabled;
16389 restore if cua-mode is disabled.
16391 2002-05-13 Richard M. Stallman <rms@gnu.org>
16393 * mail/emacsbug.el (report-emacs-bug): Change the "English please" msg.
16395 2002-05-13 Colin Walters <walters@gnu.org>
16397 * ibuf-ext.el (ibuffer-format-filter-group-data): New function.
16399 * ibuffer.el (ibuffer-insert-filter-group): New argument filter-string.
16400 (ibuffer-redisplay-engine): Handle it.
16402 * add-log.el (add-log-mailing-address): Can be a list, too.
16403 (add-change-log-entry): If `add-log-mailing-address' is a list,
16406 2002-05-12 Colin Walters <walters@debian.org>
16408 * replace.el (occur-1): New optional argument `buf-name'.
16409 (occur-revert-function): Use it.
16411 (occur-1): Handle plurals.
16413 (occur-engine): If there are no more matches, then finish
16414 searching the current buffer.
16416 2002-05-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
16418 * net/ange-ftp.el (ange-ftp-try-passive-mode)
16419 (ange-ftp-passive-host-alist): Change :version attributes to be
16422 2002-05-12 Markus Rost <rost@math.ohio-state.edu>
16424 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Define it with
16427 * emacs-lisp/find-func.el (find-function-search-for-symbol):
16428 Handle more whitespace/newline combinations in symbol definitions.
16430 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il>
16432 * w32-vars.el (w32)
16433 * vc-cvs.el (vc-cvs-global-switches)
16434 (vc-cvs-sticky-date-format-string, vc-cvs-sticky-tag-display)
16435 * textmodes/sgml-mode.el (sgml-xml-mode)
16436 * ruler-mode.el (ruler-mode)
16437 * replace.el (query-replace-skip-read-only)
16438 * progmodes/fortran.el (fortran-preprocessor-re)
16439 * net/ange-ftp.el (ange-ftp-passive-host-alist)
16440 * mail/sendmail.el (mail-use-dsn)
16441 * faces.el (mode-line-inactive, minibuffer-prompt)
16442 * add-log.el (add-log-always-start-new-record): Change all
16443 post-21.1 :version attributes to 21.4.
16445 2002-05-12 Richard M. Stallman <rms@gnu.org>
16447 * mail/smtpmail.el (smtpmail-mail-address): New variable.
16448 (smtpmail-send-it): Bind and use that instead of `mail-address'.
16449 (smtpmail-via-smtp): Likewise.
16451 * ansi-color.el (ansi-color-get-face): Avoid add-to-list on local var.
16452 (ansi-color-apply-sequence): Avoid duplicates in combined face list.
16454 * dired-aux.el (dired-show-file-type): Use -- to say FILE's not option.
16456 * subr.el (functionp): Catch errors in indirect-function.
16458 2002-05-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
16460 * net/ldap.el (ldap-search-internal): Unfold folded lines before
16463 * cus-edit.el (customize-set-value): Rename `var' to `variable'
16464 and `val' to `value'.
16465 (customize-save-variable): Rename `var' to `'variable.
16467 2002-05-12 Glenn Morris <gmorris@ast.cam.ac.uk>
16469 * progmodes/fortran.el (fortran-preprocessor-re): New variable.
16470 Use it for font-locking and indentation.
16471 (fortran-previous-statement, fortran-next-statement): Make them
16472 skip over preprocessor lines.
16473 (fortran-calculate-indent): Use fortran-preprocessor-re.
16475 2002-05-10 Kim F. Storm <storm@cua.dk>
16477 * emulation/cua-base.el (cua-enable-cua-keys)
16478 (cua-enable-register-prefix): Added value for `other' choice.
16480 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il>
16482 * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
16483 (menu-bar-showhide-menu): Use display-graphic-p, not window-system.
16484 (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
16485 Run a named function.
16486 (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
16487 (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
16490 2002-05-10 Kim F. Storm <storm@cua.dk>
16492 * emulation/cua-base.el (cua-mode): Misc. changes to use
16493 emulation-mode-map-alists instead of minor-mode-map-alist.
16495 2002-05-09 Richard M. Stallman <rms@gnu.org>
16497 * mail/rmail.el (rmail-show-message):
16498 Catch error in check-coding-system.
16500 * progmodes/compile.el (compilation-error-regexp-alist):
16501 New element to recognize Python error messages.
16503 * shell.el (shell-replace-by-expanded-directory):
16504 If there's already a / at the end, don't add one.
16506 2002-05-09 Colin Walters <walters@verbum.org>
16508 * ibuffer.el (ibuffer-mode-map): Add :enable guards for
16509 `ibuffer-filter-disable', `ibuffer-pop-filter',
16510 `ibuffer-or-filter', `ibuffer-negate-filter',
16511 `ibuffer-decompose-filter', `ibuffer-save-filters',
16512 `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
16513 `ibuffer-save-filter-groups',
16514 `ibuffer-switch-to-saved-filter-groups',
16515 `ibuffer-delete-saved-filter-groups'.
16517 * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
16519 2002-05-09 Markus Rost <rost@math.ohio-state.edu>
16521 * woman.el (woman-menu): Move symbol before the comment so that
16522 find-function-search-for-symbol finds it.
16524 2002-05-10 Miles Bader <miles@gnu.org>
16526 * facemenu.el (list-colors-display): Don't use
16527 `display-color-cells' unless the display class is one for which
16528 that info is relevant.
16530 2002-05-09 Simon Josefsson <jas@extundo.com>
16532 * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
16534 (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
16537 2002-05-09 Kim F. Storm <storm@cua.dk>
16539 * wid-edit.el (checkbox): New check-mark image.
16541 2002-05-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
16543 * filesets.el (filesets-running-xemacs): Fix last change.
16545 2002-05-08 Markus Rost <rost@math.ohio-state.edu>
16547 * help-fns.el (describe-function-1): If the source is
16548 `loaddefs.el', look for the real source. This is necessary only
16551 * emacs-lisp/find-func.el (find-function-search-for-symbol):
16552 Add autoload cookie.
16553 (find-function-regexp): Include
16554 "\(quote " to match the defaliases in loaddefs.el.
16556 * filesets.el (filesets-conditional-sort): Use copy-sequence,
16558 (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
16559 Defvar them to nil if running in Emacs.
16561 2002-05-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
16563 * textmodes/flyspell.el (make-flyspell-overlay): Add help text
16564 to flyspell overlays.
16566 * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
16568 2002-05-08 Richard M. Stallman <rms@gnu.org>
16570 * diff.el (diff-regexp-alist): Doc fix.
16572 * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
16574 2002-05-08 Simon Marshall <simon@gnu.org>
16576 * msb.el (msb-menu-bar-update-buffers): Fixed frame menu to use
16577 the frame name as the car of a menu entry, rather than the frame.
16579 2002-05-08 Juanma Barranquero <lektu@terra.es>
16581 * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
16584 2002-05-07 Colin Walters <walters@verbum.org>
16586 * replace.el (occur-unfontify-region-function): Delete.
16587 (occur-mode): Don't use it.
16588 (occur-engine): Respect `keep-props'.
16589 (occur-accumulate-lines): If we're moving forward, decrement;
16590 don't increment, and vice versa.
16592 2002-05-08 Toru Tomabechi <Toru.Tomabechi@orient.unil.ch>
16594 * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
16595 (tibetan-canonicalize-for-unicode-regexp): New variables.
16596 (tibetan-canonicalize-for-unicode-region): New function.
16597 (tibetan-strict-unicode): New variable.
16598 (tibetan-pre-write-canonicalize-for-unicode): New function.
16600 2002-05-07 Markus Rost <rost@math.ohio-state.edu>
16602 * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
16603 the autoload-cookie. Remove comment.
16605 * ffap.el (ffap): Don't hide it behind the autoload-cookie.
16607 * rect.el (close-rectangle): Don't hide it behind the
16610 2002-05-07 Juanma Barranquero <lektu@terra.es>
16612 * windmove.el (windmove-default-keybindings): Add optional
16613 parameter to allow using a modifier other than 'shift.
16615 2002-05-07 Thomas Link <t.link@gmx.at>
16618 (filesets-external-viewers): Fix customization problem.
16619 (filesets-some): Replaces cl's `some'. Calls changed.
16620 (filesets-member): Replaces cl's `member*'. Calls changed.
16621 (filesets-ormap): New function.
16623 2002-05-07 John Paul Wallington <jpw@shootybangbang.com>
16625 * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
16628 2002-05-07 Colin Walters <walters@gnu.org>
16630 * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
16631 (ibuffer-clear-filter-groups): Likewise.
16632 (ibuffer-kill-filter-group): Likewise.
16633 (ibuffer-kill-line): Likewise.
16634 (ibuffer-read-filter-group-name): New function.
16635 (ibuffer-jump-to-filter-group): Use it.
16636 (ibuffer-kill-filter-group): Likewise.
16637 (ibuffer-yank-filter-group): Likewise.
16638 (ibuffer-decompose-filter-group): New function.
16640 * ibuffer.el (ibuffer-mode-map): Bind it. Add :enable guard
16641 around `ibuffer-filters-to-filter-group' menu item. Fix :enable
16642 guards for `ibuffer-pop-filter-group' and
16643 `ibuffer-clear-filter-groups'.
16645 2002-05-06 Markus Rost <rost@math.ohio-state.edu>
16647 * emacs-lisp/find-func.el (find-function-search-for-symbol):
16648 Use with-syntax-table.
16650 2002-05-06 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
16652 * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
16654 2002-05-05 Markus Rost <rost@math.ohio-state.edu>
16656 * time-stamp.el (time-stamp-format): Doc fix: escape open
16657 parenthesis in column 0.
16659 2002-05-04 Richard M. Stallman <rms@gnu.org>
16661 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
16662 Handle both cases: when the menu item has cached info
16663 and when it doesn't.
16665 * filesets.el (filesets-browse-dir-function): Renamed from ...-fn.
16666 (filesets-open-file-function, filesets-save-buffer-function): Likewise.
16667 (filesets-tree-max-level): Doc fix.
16668 (filesets-commands, filesets-external-viewers)
16669 (filesets-ingroup-patterns): Mark as risky.
16670 (filesets-cache-hostname-flag): Doc fix.
16671 (filesets-menu-cache-file): Doc fix. Mark as risky.
16672 (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
16673 Don't defcustom them if running in Emacs.
16675 2002-05-04 Thomas Link <t.link@gmx.at>
16677 * filesets.el (filesets-ingroup-collect-files):
16678 Fix problem with inclusion groups' :scan-depth property.
16680 2002-05-04 Colin Walters <walters@verbum.org>
16682 * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
16683 "Default" group earlier. Push killed group on
16684 `ibuffer-filter-group-kill-ring'.
16685 (ibuffer-kill-line): Document. Don't push killed group ourselves.
16686 (ibuffer-yank-filter-group): Renamed from `ibuffer-yank'.
16687 (ibuffer-insert-filter-group-before): New function, broken out
16688 from `ibuffer-yank'.
16689 (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
16691 * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
16692 (ibuffer-mode-view-menu): Unused variables; deleted.
16693 (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
16695 2002-05-04 John Paul Wallington <jpw@shootybangbang.com>
16697 * ibuffer.el (ibuffer-mode-groups-popup): New variable.
16698 (toplevel): Bind filter group menu entries in it. Add :enable
16699 forms for some menu items.
16700 (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
16701 to `ibuffer-mouse-popup-menu'.
16702 (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
16703 group name, and if so, pop up a filter group menu.
16705 2002-05-04 Jason Rumney <jasonr@gnu.org>
16707 * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
16708 (mwheel-scroll): Recognize nil scroll amount as documented.
16710 * term/w32-win.el (mouse-wheel-scroll-line)
16711 (mouse-wheel-scroll-screen): Remove.
16712 ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
16714 * w32-vars.el: (mouse-wheel-scroll-amount): Removed.
16716 2002-05-04 Markus Rost <rost@math.ohio-state.edu>
16718 * emacs-lisp/find-func.el (find-function-search-for-symbol):
16719 Bind case-fold-search when searching.
16721 2002-05-04 Eli Zaretskii <eliz@is.elta.co.il>
16723 * apropos.el (apropos-print): Fix the reference to mouse-2.
16725 2002-05-04 Daniel Pfeiffer <occitan@esperanto.org>
16727 * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
16729 2002-05-04 Kim F. Storm <storm@cua.dk>
16731 * cus-edit.el (custom-buffer-verbose-help): New variable.
16732 (custom-buffer-create-internal): Remove verbose introduction
16733 in customization buffer when it is nil.
16735 2002-05-03 Dave Love <fx@gnu.org>
16737 * international/mule-cmds.el (select-safe-coding-system):
16738 Don't offer coding systems that use locking shift.
16739 Ask for confirmation if chosen coding system disagrees with
16740 a `coding:' spec in the file.
16742 2002-05-03 John Wiegley <johnw@gnu.org>
16744 * eshell/esh-var.el (eshell-modify-global-environment): Added this
16745 customization variable, which will cause any "export" commands
16746 within any eshell buffer to modify the global Emacs environment.
16747 It defaults to nil, which means that such commands will only
16748 modify that Eshell buffer's environment.
16749 (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
16751 * eshell/em-cmpl.el (eshell-command-completions-alist):
16752 Improve default completion targets for objdump, nm and readelf.
16754 2002-05-03 Colin Walters <walters@verbum.org>
16756 * play/gamegrid.el (gamegrid-user-score-file-directory): New variable.
16757 (gamegrid-add-score-with-update-game-score):
16758 Use `shared-game-score-directory'. Correctly handle non-setuid case.
16760 2002-05-02 Colin Walters <walters@verbum.org>
16762 * replace.el (occur-mode-map): Bind "q" to `delete-window'.
16763 (occur-1): If one of the buffers we're searching is the *Occur*
16764 buffer itself, handle it by creating a temporary buffer. If any
16765 of the buffers being searched are killed, note that in the search
16766 result message. Also, set local variables before we possibly kill
16769 2002-05-02 Kim F. Storm <storm@cua.dk>
16771 * menu-bar.el (menu-bar-make-toggle): Added optional PROPS arg.
16772 (menu-bar-options-save): Added cua-mode.
16773 (menu-bar-options-menu): Added toggle for cua-mode.
16774 Disable toggle for transient-mark-mode if cua-mode is enabled.
16776 * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local
16779 2002-05-01 Richard M. Stallman <rms@gnu.org>
16781 * help.el (view-todo): New function.
16782 (help-map): Bind C-h C-t to view-todo.
16783 (help-for-help): Change the text.
16785 2002-05-01 Glenn Morris <gmorris@ast.cam.ac.uk>
16787 * progmodes/f90.el: Yet more doc string, commment and whitespace
16789 (f90-imenu-flag): New name for internal variable f90-imenu.
16790 (f90-blocks-re, f90-program-block-re, f90-end-if-re)
16791 (f90-no-break-re): Use regexp-opt.
16792 (f90-end-type-re): Add closing "\\>".
16793 (f90-indent-region): Correctly indent comments embedded in
16795 (f90-indent-new-line): Make it indent the current line, as it should.
16796 (f90-line-continued, f90-get-present-comment-type)
16797 (f90-looking-at-if-then, f90-indent-line, f90-indent-new-line)
16798 (f90-indent-region, f90-indent-subprogram, f90-do-auto-fill)
16799 (f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end)
16800 (f90-change-keywords): Minor code tidying.
16802 * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
16803 typo `fortran-strip-sqeuence-nos'.
16805 2002-05-01 Eli Zaretskii <eliz@is.elta.co.il>
16807 * simple.el (clone-indirect-buffer-other-window): Fix a typo in
16810 2002-05-01 Kim F. Storm <storm@cua.dk>
16812 * emulation/cua-base.el (cua--pre-command-handler):
16813 Only interpret delete-selection property if mark-active.
16814 (cua-mode): Fixed require in defcustom.
16816 2002-05-01 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
16818 * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
16821 2002-05-01 Colin Walters <walters@verbum.org>
16823 * textmodes/tex-mode.el (tex-validate-buffer):
16824 Use `occur-revert-arguments' instead of setting `occur-nlines' and
16825 `occur-buffer'. Don't test for `input-pending-p' in loop.
16826 Set text property `occur-target' instead of `occur'.
16828 2002-04-30 John Wiegley <johnw@gnu.org>
16830 * align.el (align-region): Fixed the fix to align-region, because
16831 the "name" argument was appearing twice.
16833 2002-05-01 Martin Stjernholm <bug-cc-mode@gnu.org>
16835 * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
16836 to handle protection labels, one which doesn't get confused by
16839 * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
16840 functions that have "class" or "struct" in the return type as
16841 classes or structs.
16843 2002-04-30 Kim F. Storm <storm@cua.dk>
16845 * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
16846 Options" to "New Options..."; rephrase tooltip.
16847 Rephrase tooltip for "Specific Option...".
16848 Added "Saved Options" item. [from Simon Marshall]
16850 2002-04-30 Richard M. Stallman <rms@gnu.org>
16852 * time.el (display-time-mail-directory)
16853 (display-time-mail-function): Doc fixes.
16855 * ediff-hook.el: Remove autoload cookies.
16857 * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
16859 * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
16861 * align.el (align-region): Fix call to `message'.
16862 Check that (car rule) is a symbol.
16864 * autoinsert.el (auto-insert-directory): Doc fix.
16866 * facemenu.el (describe-text-at and stuff): Moved to descr-text.el.
16868 * descr-text.el: New file, broken out of facemenu.el.
16870 * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
16872 2002-04-29 Markus Rost <rost@math.ohio-state.edu>
16874 * mail/emacsbug.el (report-emacs-bug-hook):
16875 Use replace-match only if search was successful.
16877 2002-04-29 Richard M. Stallman <rms@gnu.org>
16879 * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
16881 * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
16882 if the user edits the Emacs version number in the text.
16884 * filesets.el (filesets-running-xemacs): Make defvar unconditional.
16885 (filesets-ingroup-files): Renamed from filesets-ingroup-paths.
16886 (filesets-error): Simplify definition and make conditional
16887 on filesets-running-xemacs.
16888 (filesets-find-file-using): Renamed from fsfind-file-using.
16890 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
16892 * info.el (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
16893 (Info-read-node-name-1): Complete file names.
16894 (Info-complete-menu-item): Don't cons unnecessarily.
16896 * files.el (locate-file): New fun.
16897 (locate-file-completion): Rename from load-completion and generalize.
16898 (load-library): Use it.
16899 (make-auto-save-file-name): Expand caddr.
16901 * newcomment.el (comment-fill-column): New var.
16902 (comment-indent): Use it.
16903 (comment-or-uncomment-region): New fun.
16904 (comment-dwim): Use it.
16906 2002-04-29 Colin Walters <walters@verbum.org>
16908 * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
16909 (ibuffer-kill-line): Copy the filter group data structure when killing.
16910 (ibuffer-yank): Handle case where we're yanking on the default
16912 (ibuffer-delete-saved-filter-groups): Doc fix.
16914 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16915 Test whether or not update-game-score is setuid, and do the right
16918 2002-04-29 Kim F. Storm <storm@cua.dk>
16920 * subr.el (remove-yank-excluded-properties): New helper function.
16921 (insert-for-yank, insert-buffer-substring-as-yank): Use it.
16923 * simple.el (yank-excluded-properties): Added help-echo to list.
16925 2002-04-29 Glenn Morris <gmorris@ast.cam.ac.uk>
16927 * autoinsert.el (auto-insert-directory): Doc fix.
16929 * progmodes/f90.el: Add/change doc strings for many inline
16930 functions. Whitespace changes.
16931 (f90-indent-line-no, f90-update-line): Minor code changes.
16933 2002-04-29 Kim F. Storm <storm@cua.dk>
16935 * emulation/cua-base.el: New file.
16937 * emulation/cua-rect.el: New file.
16939 * emulation/cua-gmrk.el: New file.
16941 * emulation/keypad.el: New file.
16943 2002-04-29 Triet Hoai Lai <thlai@ee.usyd.edu.au>
16945 * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
16946 (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn):
16947 New Vietnamese coding system.
16949 * language/viet-util.el: Update Commentary section.
16951 2002-04-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
16953 * filesets.el (filesets-data): Doc fix.
16954 (filesets-running-xemacs): Define even when compiling.
16956 * recentf.el (recentf-cancel-dialog): Remove dot at the end of
16959 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
16961 * textmodes/fill.el (fill-context-prefix): Fix last change with
16962 yet-another-approach.
16964 2002-04-28 Markus Rost <rost@math.ohio-state.edu>
16966 * net/ange-ftp.el (ange-ftp-passive-host-alist)
16967 (ange-ftp-bs2000-additional-pubsets): Fix custom type.
16969 * files.el (small-temporary-file-directory): Fix custom type.
16971 2002-04-28 Glenn Morris <gmorris@ast.cam.ac.uk>
16973 * progmodes/f90.el (f90-xemacs-flag): New variable.
16974 (f90-mark-subprogram-overlay): New variable.
16975 (f90-mark-subprogram): Now it highlights the subprogram.
16976 (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
16977 Fix highlighting of various "type" forms.
16979 2002-04-28 Colin Walters <walters@verbum.org>
16981 * ibuffer.el (ibuffer-mode): Additional documentation on filter
16984 2002-04-28 John Paul Wallington <jpw@shootybangbang.com>
16986 * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
16987 ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
16989 2002-04-28 Richard M. Stallman <rms@gnu.org>
16991 * mail/sendmail.el (mail-recover-1): Decrease non-random-len
16992 by 1 for the newly-readded #.
16994 * files.el (make-auto-save-file-name): Specify # as suffix
16995 in the non-file-visiting case.
16997 * subr.el (make-temp-file): New arg SUFFIX.
16999 * filesets.el: New file.
17001 * replace.el (occur-accumulate-lines): Avoid incf and decf.
17002 (occur-engine-add-prefix): New function.
17003 (occur-engine): Avoid using macrolet, incf and decf.
17004 Use occur-engine-add-prefix instead.
17005 Rename `l' to `lines' and `c' to `matches'.
17007 * replace.el (occur-engine, occur-mode-mouse-goto)
17008 (occur-mode-find-occurrence, occur-mode-goto-occurrence)
17009 (occur-mode-goto-occurrence-other-window)
17010 (occur-mode-display-occurrence): A position is just a marker,
17013 * replace.el (occur-revert-arguments):
17014 Renamed from occur-revert-properties. All uses changed.
17016 2002-04-28 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
17018 * recentf.el (recentf-menu-before): Use string to specify path in
17021 * international/mule-cmds.el (read-language-name): Take care of
17024 2002-04-27 Richard M. Stallman <rms@gnu.org>
17026 * custom.el (custom-load-symbol): Moved from cus-edit.el.
17027 (custom-load-recursion): Likewise.
17029 * cus-edit.el (custom-load-symbol): Moved to custom.el.
17030 (custom-load-recursion): Likewise.
17032 * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
17033 generated by easymenu are now lowercase.
17035 2002-04-27 Richard M. Stallman <rms@gnu.org>
17037 * menu-bar.el (menu-bar-update-buffers): Add menu items
17038 Next Buffer and Previous Buffer.
17040 * simple.el (next-buffer, prev-buffer): New commands.
17041 Bind C-x left and C-x right to them.
17043 * info.el (Info-header-line): Mark it as risky-local-variable.
17045 * subr.el (insert-for-yank): Replace `category' property
17046 with whatever properties it stands for.
17048 * subr.el (member-ignore-case): Ignore non-strings in LIST.
17050 2002-04-27 Miles Bader <miles@gnu.org>
17052 * faces.el (read-face-name): Format the prompt correctly when
17053 there's no default.
17055 2002-04-26 Andrew Choi <akochoi@shaw.ca>
17057 * term/mac-win.el: Don't call ediff-toggle-multiframe.
17058 Set default directory. Set process-connection-type to nil.
17060 2002-04-26 Richard M. Stallman <rms@gnu.org>
17062 * loadup.el: Explicitly load cus-face and timer.
17064 * isearch.el: Don't require timer.
17066 * faces.el: Don't require cus-face.
17068 * cus-edit.el (customize-face): Use read-face-name
17069 and handle multiple faces.
17070 (customize-face-other-window): Make it work similarly.
17072 * faces.el (read-face-name): New defaulting features.
17073 New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
17074 (list-faces-display): Use the face, not its name string,
17075 as arg when running customize-face.
17076 Put a `read-face-name' prop on the entire line.
17077 (describe-face): Handle multiple faces via read-face-name.
17079 * textmodes/tex-mode.el (tex-start-options): New variable.
17080 (tex-start-commands): New variable.
17081 (tex-start-options-string): Variable deleted.
17082 (tex-start-tex): Use tex-start-options and tex-start-commands,
17083 not tex-start-options-string.
17084 (tex-command): Doc fix.
17086 2002-04-26 Sam Steingold <sds@gnu.org>
17088 * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
17089 not in the authinfo/netrc, keep `cred' at nil.
17091 2002-04-26 Gerd Moellmann <gerd@gnu.org>
17093 * find-file.el: Remove Ada-specific example code.
17095 2002-04-25 Michael Kifer <kifer@cs.stonybrook.edu>
17097 * ediff-hooks.el: Put back the autoloads.
17099 2002-04-25 Colin Walters <walters@verbum.org>
17101 * ibuffer.el (define column process): Use `ibuffer-aif'.
17103 * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
17105 (ibuffer-yank): Be sure to `setq' after we use `nconc'.
17106 (ibuffer-save-filter-groups): Correctly structure filter groups.
17107 (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
17110 2002-04-25 Simon Josefsson <jas@extundo.com>
17112 * mail/sendmail.el (mail-use-dsn): New variable to request
17113 delivery status notification from MTA.
17114 (sendmail-send-it): Use it.
17116 * mail/smtpmail.el (smtpmail-queue-counter): New variable.
17117 (smtpmail-send-it): Use it to construct new queue filenames
17118 (needed if you send more than one message per second, which is
17119 possible if you use Gnus Agent).
17121 * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
17123 (smtpmail-try-auth-methods): Support netrc data.
17124 (netrc-parse): Autoload netrc.
17126 2002-04-25 Colin Walters <walters@verbum.org>
17128 * replace.el (multi-occur-by-filename-regexp): Doc fix.
17129 (occur-engine): Go to `point-min'. Make nlines argument actually
17130 mean number of context lines. Handle it. Pad digits to the right.
17132 * ibuf-ext.el (ibuffer-filtering-groups): Renamed to
17133 `ibuffer-filter-groups'. All users updated.
17134 (ibuffer-show-empty-filter-groups): New variable.
17135 (ibuffer-saved-filter-groups): New variable.
17136 (ibuffer-maybe-save-stuff): Renamed from
17137 `ibuffer-maybe-save-saved-filters'. Callers updated.
17138 Handle `ibuffer-saved-filter-groups'.
17139 (ibuffer-hidden-filtering-groups): Renamed to
17140 `ibuffer-hidden-filter-groups'.
17141 (ibuffer-filter-group-kill-ring): New variable.
17142 (ibuffer-save-with-custom): Doc fix.
17143 (ibuffer-set-filter-groups-by-mode): New function.
17144 (ibuffer-clear-filter-groups): New function.
17145 (ibuffer-current-filter-groups-with-position): Renamed from
17146 `ibuffer-current-filter-groups'. Callers updated.
17147 (ibuffer-kill-filter-group): New function.
17148 (ibuffer-kill-line): New function.
17149 (ibuffer-yank): New function.
17150 (ibuffer-save-filter-groups): New function.
17151 (ibuffer-delete-saved-filter-groups): New function.
17152 (ibuffer-switch-to-saved-filter-groups): New function.
17153 (ibuffer-mark-on-buffer): Add optional arguments for adding a
17154 specific mark, and marking on a specific group.
17156 * ibuffer.el (ibuffer-formats): Doc fix.
17157 (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
17158 Bind new functions from ibuf-ext.el. Add menu entries for them.
17159 Remove superfluous tooltips.
17160 (ibuffer-toggle-marks): If on a group name, then toggle marks just
17162 (ibuffer-mark-interactive): Handle filter groups.
17163 (ibuffer-mark-forward, ibuffer-unmark-forward)
17164 (ibuffer-mark-for-delete, ibuffer-unmark-backward)
17165 (ibuffer-mark-for-delete-backwards): Update docs.
17166 (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
17167 to `ibuffer-current-filter-groups-with-position'.
17168 (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
17169 (ibuffer-mode): Add some documentation about filter groups.
17171 2002-04-25 Andreas Schwab <schwab@suse.de>
17173 * find-dired.el (find-name-dired): Don't quote pattern twice.
17175 2002-04-26 Miles Bader <miles@gnu.org>
17177 * cus-edit.el (customize-face, customize-face-other-window):
17178 Use default instead of initial-input for suggested face.
17180 2002-04-25 Gerd Moellmann <gerd@gnu.org>
17182 * cus-edit.el (customize-face-other-window, customize-face):
17183 Interactively, when point is on text with a face, suggest to
17184 customize that face.
17186 2002-04-25 Glenn Morris <gmorris@ast.cam.ac.uk>
17188 * progmodes/f90.el: General tidy-up of commentary and some doc
17191 2002-04-24 Glenn Morris <gmorris@ast.cam.ac.uk>
17193 * scroll-all.el (scroll-all-function-all) New function to do the
17195 (scroll-all-scroll-down-all, scroll-all-scroll-up-all,
17196 scroll-all-page-down-all, scroll-all-page-up-all,
17197 scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
17198 Make them use scroll-all-function-all.
17200 * progmodes/f90.el (f90-get-beg-of-line): Removed and replaced
17201 with line-beginning-position.
17202 (f90-get-end-of-line): Removed and replaced with line-end-position.
17203 (f90-match-piece): Removed and replaced with match-string.
17204 (f90-current-indentation): Remove `current-column'.
17205 (f90-get-present-comment-type): Use match-string rather than
17207 (f90-match-end): Use line-beginning-position, line-end-position
17208 rather than beginning-of-line, end-of-line.
17209 (f90-startup-message): Variable removed.
17211 2002-04-24 Colin Walters <walters@verbum.org>
17213 * replace.el (occur-accumulate-lines): Add optional argument
17214 `no-props'. Handle it.
17215 (occur-engine): Use it.
17217 * ibuf-ext.el (toplevel): Remove byte-compile-dynamic. Try to set
17218 up autoloads manually.
17219 (ibuffer-split-list): New function.
17220 (ibuffer-filtering-groups): New variable.
17221 (ibuffer-hidden-filtering-groups): New variable.
17222 (ibuffer-mouse-toggle-filter-group): New function.
17223 (ibuffer-toggle-filter-group): New function.
17224 (ibuffer-toggle-filter-group-1): New function.
17225 (ibuffer-forward-filter-group): New function.
17226 (ibuffer-backward-filter-group): New funtion.
17227 (ibuffer-generate-filter-groups): New function.
17228 (ibuffer-filters-to-filter-group): New function.
17229 (ibuffer-pop-filter-group): New function.
17230 (ibuffer-jump-to-filter-group): New function.
17231 (ibuffer-do-occur): Just use `occur-read-primary-args'
17233 * ibuffer.el (ibuffer-filter-group-name-face): New.
17234 (ibuffer-mode-map): Bind and add menu entries for most new
17235 functions; also, bind the arrow keys to the movement functions.
17236 (ibuffer-mode-filter-group-map): New.
17237 (ibuffer-mouse-toggle-mark): Handle group names.
17238 (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
17239 (ibuffer-skip-properties): New function.
17240 (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
17241 group names. Also, handle new properties.
17242 (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
17243 Move error handling to `ibuffer-current-buffer'.
17244 (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
17245 (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
17246 (ibuffer-toggle-marks): Add optional group argument.
17247 (ibuffer-mark-interactive): Skip group names.
17248 (ibuffer-current-buffer): Clean up error handling.
17249 (ibuffer-fontify-region-function): Fontify group names.
17250 (ibuffer-map-lines): Add extra group argument. Handle it.
17251 (ibuffer-current-filter-groups): New function.
17252 (ibuffer-redisplay): Handle hidden filtering groups.
17253 (ibuffer-sort-bufferlist): New function, taken from
17254 `ibuffer-insert-buffers-and-marks'.
17255 (ibuffer-insert-filter-group): New function.
17256 (ibuffer-redisplay-engine): Renamed from
17257 `ibuffer-insert-buffers-and-marks'. Handle new filtering groups.
17258 (ibuffer): Add filter-groups argument. Handle it.
17259 Use `save-selected-window'.
17260 (ibuffer-mode): Make `ibuffer-filtering-groups' and
17261 `ibuffer-hidden-filtering-groups' buffer-local.
17263 * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
17265 2002-04-24 Richard M. Stallman <rms@gnu.org>
17267 * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
17268 (easy-menu-define-key-intern): Function deleted; callers intern
17269 and then call easy-menu-define-key.
17270 (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
17271 (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
17272 (easy-menu-name-match): New function.
17273 (add-submenu): New function.
17274 (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
17276 2002-04-24 Eli Zaretskii <eliz@is.elta.co.il>
17278 * menu-bar.el (menu-bar-adv-search-menu)
17279 (menu-bar-adv-search-menu): Improve the help text.
17281 2002-04-24 Simon Josefsson <jas@extundo.com>
17283 * net/netrc.el: New file.
17285 2002-04-24 Thomas DeWeese <tdeweese@rochester.rr.com>
17287 * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
17288 Check if any of the available selection sources has new content
17289 and if so it will return that content.
17291 2002-04-24 Miles Bader <miles@gnu.org>
17293 * menu-bar.el (buffers-menu-show-directories)
17294 (buffers-menu-show-status): New variables.
17295 (menu-bar-update-buffers-1): Use them.
17297 2002-04-24 Martin Stjernholm <bug-cc-mode@gnu.org>
17299 * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
17300 from `c-do-auto-fill' and point is at or near the limit of the
17301 comment. Fixed bug when the prefix from `c-guess-fill-prefix'
17302 is longer than the text on the first line of the comment when
17305 2002-04-24 Miles Bader <miles@gnu.org>
17307 * menu-bar.el (menu-bar-update-buffers-1): Make sure
17308 `uniquify-buffer-name-style' is bound.
17310 2002-04-23 Colin Walters <walters@verbum.org>
17312 * replace.el (toplevel): Require `cl' while compiling.
17313 (occur-buffer, occur-nlines): Delete.
17314 (occur-revert-properties): Rename to `occur-revert-properties'.
17315 (occur-mode): Handle it. Set up font lock.
17316 (occur-revert-function): Simply apply `occur-1'.
17317 (occur-mode-find-occurence, occur-mode-mouse-goto)
17318 (occur-mode-goto-occurrence-other-window)
17319 (occur-mode-display-occurrence): Handle buffer property.
17320 (list-matching-lines-face): Use defcustom.
17321 (list-matching-lines-buffer-name-face): New variable.
17322 (occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
17324 (occur-read-primary-args): Move out of `occur'.
17325 (occur): Delete. Now simply call `occur-1'.
17326 (multi-occur, multi-occur-by-filename-regexp): New functions.
17327 (occur-1): New function.
17328 (occur-engine): Renamed from `ibuffer-occur-engine' to replace the
17329 previous implementation of `occur'; taken from ibuf-ext.el.
17330 (occur-fontify-on-property): New function.
17331 (occur-fontify-region-function, occur-unfontify-region-function):
17334 * ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
17336 * ibuf-ext.el (ibuffer-depropertize-string): Delete.
17337 (ibuffer-occur-match-face): Delete.
17338 (ibuffer-occur-props, ibuffer-occur-mode): Delete.
17339 (ibuffer-occur-mouse-display-occurence): Delete.
17340 (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
17341 (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
17342 (ibuffer-occur-engine): Moved to replace.el.
17343 (ibuffer-do-occur): Simply call `occur-1'.
17345 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17346 Handle the case where we're already viewing the score file.
17348 2002-04-23 Andreas Schwab <schwab@suse.de>
17350 * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
17353 2002-04-23 Miles Bader <miles@gnu.org>
17355 * menu-bar.el (menu-bar-update-buffers-1): Don't display a
17356 directory separator if there's no directory. Don't display
17357 directories at all if uniquify is active. Some code cleanup.
17358 (uniquify-buffer-name-style): Declare (but don't initialize).
17360 * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
17361 for command menu entries, since the low-level menu code modifies
17362 them. Cache the resulting list.
17363 (menu-bar-buffers-menu-command-entries): New variable.
17365 * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
17366 Add separator line before commands
17367 Remove old crufty code that tried to line things up by adding
17368 spaces to entries (it doesn't work).
17369 Move `Frames' submenu after the normal buffers, and add a
17370 separator line before it.
17371 (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
17373 2002-04-22 Richard M. Stallman <rms@gnu.org>
17375 * files.el (after-find-file): Use %s to output MSG.
17377 * dired.el (dired-mouse-find-file-other-window):
17378 Handle events that move out of the window.
17380 2002-04-23 Martin Stjernholm <bug-cc-mode@gnu.org>
17382 * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
17383 was moved to the following line when it was at the first line
17384 of a block comment where comment-start-skip matched to eol.
17386 2002-04-22 Richard M. Stallman <rms@gnu.org>
17388 * simple.el (line-move-finish): Find beg and end of line
17389 before calling line-move-to-column. Do consider intangible
17390 when finding the end. Take more care in analyzing the results
17391 of intangibility after line-move-to-column.
17393 2002-04-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
17395 * international/mule-diag.el (list-input-methods-1): Doc fix
17396 (LEIM is now part of the standard distribution).
17398 * tmm.el (tmm-completion-prompt): Doc fix.
17400 * hilit-chg.el (global-highlight-changes): Capitalize status texts.
17402 2002-04-22 Edward M. Reingold <reingold@emr.cs.iit.edu>
17404 * diary-lib.el (include-other-diary-files): Allow modifying
17405 included buffer, to turn off selective display.
17407 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17409 * progmodes/cc-mode.el: (c-define-abbrev-table): New function to
17410 pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
17411 emacsen that doesn't support it.
17413 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17415 * progmodes/cc-align.el, progmodes/cc-engine.el,
17416 progmodes/cc-styles.el, progmodes/cc-vars.el
17417 (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
17418 Find correct anchor for statement-cont in top level constructs.
17419 Analyze variable initializations in top level constructs as
17420 topmost-intro-cont instead of statement-cont. That is an
17421 incompatible change but it gives better consistency. The new
17422 lineup function c-lineup-topmost-intro-cont' compensates for
17423 it and is now put on topmost-intro-cont by default.
17425 * progmodes/cc-align.el, progmodes/cc-engine.el,
17426 progmodes/cc-langs.el (c-lineup-argcont): Lineup function
17427 contributed by Kevin Ryde.
17429 (c-in-gcc-asm-p): Function to recognize asm statements.
17430 Contributed by Kevin Ryde.
17432 (c-opt-asm-stmt-key): New language variable to recognize the
17433 beginning of asm statements.
17435 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17437 * progmodes/cc-engine.el (c-guess-basic-syntax):
17438 Detect variable declarations after class and struct declarations
17439 correctly. Fixed limit error when finding the anchor for
17440 template-args-cont and topmost-intro-cont.
17442 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17444 * progmodes/cc-cmds.el (c-beginning-of-defun)
17445 (c-declaration-limits): Find the "line oriented" declaration
17446 start too, just like the "line oriented" end is found.
17448 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17450 * progmodes/cc-vars.el (c-offsets-alist): A more sane default
17451 for `inexpr-statement'. This is not compatible, though.
17452 I think the benefit of a good default style outweights that in
17453 this case. Besides, `inexpr-statement' is not very common.
17455 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17457 * progmodes/cc-cmds.el (c-electric-delete-forward):
17458 Fix silly bug that caused it to delete backwards in hungry delete
17459 mode. (It's amazing that this bug hasn't been reported.)
17461 * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
17462 Extracted the code to get the declaration limits from
17463 `c-mark-function' to a new `c-declaration-limits'.
17465 (c-indent-defun): Use the same method to get the limits of the
17466 declaration or macro as `c-mark-function'.
17468 * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
17469 list initializers correctly (but costly; it ought to be
17470 integrated into `c-beginning-of-statement-1').
17472 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17474 * progmodes/cc-cmds.el, progmodes/cc-engine.el
17475 (c-beginning-of-defun, c-end-of-defun, c-mark-function):
17476 Rewritten to detect the declaration limits better.
17477 Now handles K&R argdecls, class definitions followed by variables etc.
17479 (c-in-knr-argdecl): Broke out the K&R argdecl test in
17480 `c-beginning-of-decl-1' to this new function.
17482 (c-end-of-statement-1, c-end-of-decl-1):
17483 Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
17484 handles declarations that continue after the block.
17486 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
17487 Added an option to restrict matching to the top level of the
17488 current paren sexp.
17490 * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
17491 New regexp to recognize declarations that continue after the block.
17493 (c-syntactic-eol): New regexp to match a "syntactic" eol.
17495 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17497 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
17498 that often caused the backward limit to be lost at the top
17499 level. This improves performance a bit.
17501 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
17502 New function that works like `re-search-forward' but only returns
17503 matches in syntactically significant text.
17505 * progmodes/cc-engine.el: Fixed a faster and more accurate way
17506 to recognize K&R argdecls.
17508 (c-beginning-of-decl-1): New function that put point at the
17509 beginning of the declaration. It handles K&R argdecl blocks.
17511 (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
17512 code with one that doesn't depend on the current indentation.
17513 The anchor position for `knr-argdecl' has also changed, but in
17514 a way that is unlikely to cause compatibility problems.
17516 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17518 * progmodes/cc-defs.el, progmodes/cc-engine.el
17519 (c-forward-comment): `forward-comment' in XEmacs skips over
17520 line continuations in the backward direction. Correct for
17521 that. Also made this a defun since it has grown too large now
17524 * progmodes/cc-langs.el: More convenient and decentralized
17525 setup of the language specific variables. The regexp-opt
17526 mangling is also done at compile time now.
17528 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17530 * progmodes/cc-cmds.el (c-indent-line-or-region):
17531 Call `c-indent-line' directly instead of through
17532 `indent-according-to-mode' so that this function always
17533 indents syntactically.
17535 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
17536 where a class beginning with a nested class could cause an
17537 infinite loop (the state outside the narrowed out class is
17540 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17542 * progmodes/cc-align.el, progmodes/cc-cmds.el,
17543 progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
17544 the context sensitive analysis inside macros is restricted to
17545 the bodies of #define's; other things, like #if expressions,
17546 never have anything in common with their surroundings.
17547 The old `cpp-macro-cont' syntax is now used in situations where
17548 the syntactic analysis isn't applicable, and a new syntactic
17549 element `cpp-define-intro' is used to add indentation in
17552 (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
17553 better reflect its use.
17555 * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
17556 continuation backslashes in the detection of `arglist-cont-nonempty'.
17558 * progmodes/cc-align.el: Use the vector form in the return
17559 value in all cases where lineup functions return absolute columns.
17561 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17563 * progmodes/cc-engine.el (c-add-stmt-syntax)
17564 (c-guess-basic-syntax): Anchor `brace-list-intro' and
17565 `bracec-list-close' better for brace lists nested inside expressions.
17567 * progmodes/cc-engine.el, progmodes/cc-langs.el,
17568 progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
17569 various language specific variables and their initialization.
17570 The keyword regexps are now lists that are combined with
17571 regexp-opt. Some variables have changed names to fit better
17572 with the naming convention.
17574 * progmodes/cc-defs.el, progmodes/cc-vars.el
17575 (c-buffer-is-cc-mode): The value is the mode symbol of the
17576 original CC Mode mode.
17578 (c-major-mode-is): Compare against the buffer local variable
17579 `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
17581 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17583 * progmodes/cc-engine.el (c-forward-syntactic-ws)
17584 (c-backward-syntactic-ws, c-forward-token-1)
17585 (c-backward-token-1, c-in-literal, c-literal-limits)
17586 (c-collect-line-comments, c-literal-type, c-on-identifier)
17587 (c-guess-basic-syntax): These functions are now considered part
17588 of the "CC Mode API" and may be used by other code.
17589 That's signified by making their documentation into docstrings.
17591 (c-whack-state, c-hack-state, c-skip-case-statement-forward):
17592 Removed these internal functions since they aren't used.
17594 (c-forward-to-cpp-expression): Classified this function as internal.
17596 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17598 * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
17599 Simplified these regexps; the class keywords they contain
17600 ought to be enough to avoid false matches, so checking for
17601 following identifiers etc is just unnecessary (and might also
17602 fail for oddly formatted code).
17604 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17606 * progmodes/cc-engine.el, progmodes/cc-cmds.el
17607 (c-forward-comment-lc): New function that behaves like
17608 `c-forward-comment', with the exception that line
17609 continuations are treated as whitespace.
17611 (c-beginning-of-statement): Use `c-forward-comment-lc', to
17612 work correctly in macros and other places where line
17613 continuations should be treated as whitespace.
17615 * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
17616 normal label in a switch block as a case label, to get
17617 consistent lineup with the case labels.
17619 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
17620 in skipping over a macro that ends with an empty line.
17622 * progmodes/cc-styles.el: Require cc-align since styles added
17623 with `c-add-style' often contains references to functions
17624 defined there, and so the `c-valid-offset' check might
17625 otherwise complain on them.
17627 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17629 * progmodes/cc-align.el, progmodes/cc-mode.texi,
17630 progmodes/cc-vars.el: Added two new lineup functions:
17632 (c-lineup-knr-region-comment): A new lineup function to get
17633 (what most people think is) better indentation of comments in
17634 the "K&R region" between the function header and its body.
17636 (c-lineup-gcc-asm-reg): New lineup function for better
17637 indentation inside gcc asm blocks. Contributed by Kevin Ryde.
17639 (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
17640 `c-lineup-knr-region-comment' in the default offset
17641 configuration, since these two functions have little impact
17642 outside their intended use, and they generally do the right
17643 thing when they kick in.
17645 * progmodes/cc-engine.el (c-guess-continued-construct)
17646 (c-guess-basic-syntax): Handle nested functions in all
17647 languages, not just Pike. In C and C++ there's a gcc
17648 extension for this, and it also gives better treatment of
17649 macros that are followed by blocks.
17651 * progmodes/cc-langs.el (c-symbol-key): Made this variable
17652 mode specific, to handle Pike special symbols like `== better.
17654 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17656 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
17657 progmodes/cc-vars.el (c-report-syntactic-errors): A new
17658 variable to control the syntactic error messages. It defaults
17659 to off; since CC Mode ignores most syntactic errors it might
17660 as well ignore them all for the sake of consistency.
17662 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17664 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
17665 Optimization. Can give a noticeable speedup if there's a
17666 large preceding function or class body.
17668 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17670 * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
17671 efficient and correct insertion functions in many places.
17672 Always inherit text properties correctly if the text is
17673 permanent. Also do it for speed in temporary insertions,
17674 since I figure it's less work to continue the surrounding text
17675 properties than to break them.
17677 * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
17678 completion to make it easier to enter lists.
17680 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17682 * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
17683 c-state-cache was clobbered.
17685 * progmodes/cc-cmds.el, progmodes/cc-engine.el
17686 (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
17689 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17691 * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
17692 open parens in macros (if point isn't in the same one).
17694 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17696 * progmodes/cc-cmds.el (c-context-open-line): New function
17697 that is the `open-line' equivalent to `c-context-line-break'.
17699 * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
17700 for Emacs 21 since `indent-new-comment-line' has been changed
17701 to `comment-indent-new-line' there.
17703 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17705 * progmodes/cc-engine.el, progmodes/cc-langs.el
17706 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
17707 New variables containing the character sets used to recognize
17708 statement/declaration boundaries. These variables might help
17709 to support languages like javascript and awk, where newlines
17710 sometimes delimits statements.
17712 (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
17713 the set of statement delimiting characters, to allow it to be
17714 changed dynamically and per-mode.
17716 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17718 * progmodes/cc-engine.el (c-looking-at-bos)
17719 (c-looking-at-inexpr-block, c-add-stmt-syntax)
17720 (c-guess-basic-syntax): Treat blocks directly inside function
17721 calls like "bare" statements inside function calls, and not
17722 like in-expression statements. This to make indentation of
17723 such blocks consistent with other statements inside macro calls.
17725 * progmodes/cc-engine.el (c-guess-basic-syntax):
17726 Made arglist-cont anchor correctly in arglists that contain statements.
17728 * progmodes/cc-engine.el (c-guess-basic-syntax):
17729 Fixed consistent anchoring of defun-block-intro in defuns in code
17730 blocks (can only occur in Pike).
17732 * progmodes/cc-engine.el (c-looking-at-inexpr-block)
17733 (c-looking-at-inexpr-block-backward): Changed the arguments to
17734 require containing sexps and paren state, for better efficiency.
17736 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17738 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
17739 progmodes/cc-vars.el: Improved anchoring of statement and
17740 handling of labels in front of substatements.
17742 (c-guess-continued-construct, c-guess-basic-syntax):
17743 Improved and unified anchoring at statements. Statements beginning
17744 with comments or labels are now avoided, by going out of
17745 blocks and containing statements if necessary. This nesting
17746 handling also fixes the case when there's a statement after a
17747 block open brace. Added the syntactic symbol `substatement-label'.
17749 (c-electric-colon): Map the new `substatement-label' to
17750 `label' when consulting `c-hanging-colons-alist'.
17752 (c-offsets-alist): Added substatement-label. Updated the
17753 comments for the new anchoring positions at statements.
17755 * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
17756 anchor points for knr-argdecl-intro and access-label.
17757 They used to refer to some point on the same line, a bug which was
17758 neutralized by a kludge in `c-get-syntactic-indentation' which
17759 ignored such anchor points.
17761 (c-get-syntactic-indentation): Removed the kludge that was
17762 necessary due to buggy anchor points.
17764 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
17765 the absence of a comma before arglist-close (case 7A) in any
17766 language, since there's nothing better to do that case anyway.
17767 Added special case to make in-expression statements be
17768 recognized as normal arglist-cont if we're directly in a macro
17769 arglist, for consistency with other "bare" statements.
17771 * progmodes/cc-engine.el (c-looking-at-bos): Added optional
17772 limit arg for backward searches.
17774 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
17775 Anchor gcc in-expression statements at the surrounding open
17776 parenthesis. Treat a class body as an in-expression class if
17777 it's used in an object clone expression in Pike.
17779 * progmodes/cc-engine.el (c-get-offset)
17780 (c-get-syntactic-indentation): Allow several anchor positions
17781 in the list of syntactic symbols. Only the first is used as
17782 the base for the offset calculation.
17784 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17786 * progmodes/cc-cmds.el (c-indent-defun): Indent the current
17787 macro if inside one at the top level. Do not throw an error
17788 if used at the top level outside a macro.
17790 * progmodes/cc-cmds.el (c-backslash-region): Do tab width
17791 alignment only if the backslashes can't be aligned with
17792 surrounding backslashes.
17794 * progmodes/cc-engine.el (c-end-of-macro): New function.
17796 * progmodes/cc-engine.el (c-least-enclosing-brace):
17797 Rewritten to not be destructive.
17799 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17801 * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
17802 line break when point is inside the content of it; if it's in
17803 the cpp keyword a normal line break is done.
17805 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
17806 cpp-macro-cont inside the argument list to a #define.
17808 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17810 * progmodes/cc-defs.el (c-forward-comment): Implemented a
17811 kludge to avoid the problem most forward-comment incarnations
17812 have with `\' together with comment parsing.
17814 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17816 * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
17817 which could cause the state returned by `c-parse-state' to
17818 lack a closed paren element. That in turn could result in
17819 very long searches, since it's common that they start from the
17820 last preceding close brace.
17822 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17824 * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
17825 treat else-if as a single continuation, since that'd make it
17826 hard to get the right anchor point when there's a line break
17827 between the two keywords. This change causes else-clause to
17828 be anchored on the closest preceding else-if and not always on
17829 the starting if, but that doesn't affect the indentation for
17830 any reasonably sane style. Also introduced a noerror flag.
17832 (c-beginning-of-closest-statement): Removed;
17833 c-beginning-of-statement-1 now avoids the problem this one solved.
17835 * progmodes/cc-engine.el (c-guess-continued-construct)
17836 (c-guess-basic-syntax): Better and more uniform anchor points
17837 for 'statement-cont and 'substatement. The effect is
17838 noticeable mostly when there's a label on the same line as the
17839 beginning of the statement, or when there are more stuff
17840 before the start of the statement.
17842 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
17843 Added flag to disable looking at the type of the surrounding paren
17844 since that confuses c-beginning-of-statement-1 and a couple of
17847 * progmodes/cc-engine.el (c-guess-basic-syntax):
17848 Avoid stepping to the previous statement in case 18.
17849 Improvements in recognition of statement blocks on the top level.
17851 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17853 * progmodes/cc-engine.el (c-beginning-of-statement-1)
17854 (c-crosses-statement-barrier-p): Rewritten to get a well
17855 defined and documented behavior. This fixes some tricky cases
17856 in recognition of do-while constructs.
17858 (c-backward-to-start-of-do, c-backward-to-start-of-if):
17859 Removed; use c-beginning-of-statement-1 instead.
17861 (c-guess-continued-construct, c-guess-basic-syntax):
17862 Various fixes to not depend on the bugs previously in
17863 c-beginning-of-statement-1. Cleanups in cases 18 and 17 to
17864 use the new behavior of c-beginning-of-statement-1 better.
17865 Fixed recognition of catch blocks inside macros.
17867 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
17868 in skipping over a macro.
17870 * progmodes/cc-langs.el (c-label-kwds): New variable to
17871 contain the appropriate c-*-label-kwds value.
17873 * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
17874 evaluation bug that caused the widget for
17875 c-block-comment-prefix to bug out.
17877 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17879 * progmodes/cc-engine.el (c-guess-basic-syntax):
17880 Improved recognition of statements: They are now recognized in
17881 contexts where they normally can't occur, e.g. on the top level or
17882 in function call arguments. This is mainly useful to recognize
17883 statements in macros at the top level, and in arguments to
17884 macros. The cases has been moved around quite a bit, and case
17885 10 has been copied to case 18. (The cases has not been
17886 renumbered because of this.)
17888 (c-guess-continued-construct): New function which has the
17889 rules which are common between cases 10 and 18.
17891 * progmodes/cc-engine.el (c-beginning-of-statement-1)
17892 (c-backward-to-start-of-do, c-backward-to-start-of-if):
17893 Fixes so that they really obey the passed limits.
17895 (c-safe-position): Return nil if the state doesn't contain a
17898 (c-guess-basic-syntax): Fixes some too short limits in calls
17899 to c-beginning-of-statement-1. Some fixes for top level
17900 analysis in ObjC mode.
17902 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17903 Fixed bug in do-while statements where the body is not a block.
17905 * progmodes/cc-styles.el (c-set-style):
17906 Reset c-special-indent-hook to its global value if in override mode.
17907 Fixes problem where functions on that hook remained after
17910 * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
17911 Use c-benign-error to report the c-strict-syntax-p error.
17913 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17915 * progmodes/cc-align.el, progmodes/cc-defs.el,
17916 progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
17917 Several fixes to treat macros as code and not literals and to
17918 handle line continuations transparently.
17920 (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
17921 through whitespace and line continuations, but not comments
17924 (c-in-literal): No longer recognizes macros as literals by
17925 default. An extra flag argument is required to do that.
17927 (c-macro-start, c-query-macro-start)
17928 (c-query-and-set-macro-start): Added a cache for the macro
17931 (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
17932 more speed when limits are given. Workaround for bad behavior
17933 in forward-comment in some emacsen when it hits a buffer limit
17934 with a large repeat count.
17936 (c-lineup-macro-cont): Improved behavior when
17937 c-syntactic-indentation-in-macros is nil.
17939 (c-syntactic-indentation-in-macros, c-backslash-max-column)
17940 (c-auto-align-backslashes): New customization variables to
17941 control macro handling.
17943 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
17944 Fixes to handle line continuations.
17946 * progmodes/cc-defs.el, progmodes/cc-styles.el
17947 (c-get-style-variables, c-set-offset): Report style errors
17948 with message and ding instead of error signal. This to avoid
17949 interrupted mode init if there's some style problem.
17951 (c-benign-error): New macro to report errors that doesn't need
17952 to interrupt the operation.
17954 * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
17956 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17958 * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
17959 Removed most of the c-state-cache fiddling, since the global
17960 state cache now handles this.
17962 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
17963 when there's an open paren at the very first char of the
17964 visible buffer region.
17966 * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
17967 Cache the state globally and invalidate it below every buffer
17968 change with the new after change function
17969 `c-check-state-cache'. This gives a considerable performance
17970 boost when editing large functions or classes.
17972 * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
17974 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
17976 * progmodes/cc-engine.el, progmodes/cc-langs.el,
17977 progmodes/cc-align.el: Improvements to syntactic analysis
17980 (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
17981 by `c-guess-basic-syntax'.
17983 (c-parse-state): Fixed bug with braces inside macros when
17984 using cached state info.
17986 (c-forward-to-cpp-expression): New function to aid in
17987 syntactic analysis inside macros.
17989 (c-beginning-of-statement-1, c-backward-syntactic-ws):
17990 Fixes to work better inside macros.
17992 (c-forward-syntactic-ws): Whitespace between the # and the
17993 command should be allowed in preprocessor directives.
17995 (c-lineup-macro-cont): New lineup function to get context
17996 sensitive indentation inside macros.
17998 (c-offsets-alist): Made `c-lineup-macro-cont' the default for
18001 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18003 * progmodes/cc-engine.el (c-beginning-of-statement-1)
18004 (c-forward-syntactic-ws): Fixes to handle continued lines.
18006 (c-backward-to-start-of-if, c-guess-basic-syntax):
18007 Do syntactic analysis inside macros.
18009 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18011 * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
18012 possible by the more flexible state cache.
18014 * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
18015 (c-whack-state-after, c-hack-state)
18016 (c-narrow-out-enclosing-class, c-guess-basic-syntax):
18017 Improved the state cache system. It now can use partial info from
18018 an old cached state to calculate a new one at a different
18019 position. Removed some kludges to avoid the state cache.
18020 The new functions `c-whack-state-before' and `c-whack-state-after'
18021 replace the now obsolete `c-whack-state'.
18023 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18024 Optimized backing through a macro. This can speed things up
18025 quite a bit when there are long macros before point.
18027 (c-beginning-of-macro): Do not ignore the limit.
18029 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18031 * progmodes/cc-cmds.el (c-electric-continued-statement):
18032 Fixed a bug where the keyword wasn't reindented correctly if
18033 followed by another keyword or identifier.
18035 * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
18036 pairs that are in macros. Fixes some cases where e.g. the
18037 second of two "do { } while (0)" macros after each other
18038 indented differently.
18040 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18042 * progmodes/cc-engine.el (c-beginning-of-macro)
18043 (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
18044 directive when it begins a line, to allow for script
18045 interpreter lines like "#!/usr/bin/pike" at the beginning of
18048 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18050 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
18051 Recognize brace blocks inside a parenthesis expression as
18052 inexpr-statement. Useful when writing statements as macro arguments.
18054 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18056 * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
18057 (c-mask-comment): Broke out the comment masking code from
18058 `c-fill-paragraph' to a new function `c-mask-comment', to be
18059 able to do the same thing in `c-do-auto-fill'. This should
18060 make auto-fill-mode behave better.
18062 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18064 * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
18065 Check `executing-macro' to avoid blinking parens when macros
18068 * progmodes/cc-mode.el, progmodes/cc-styles.el
18069 (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
18070 consistency with `c-setup-paragraph-variables' (which was
18071 placed there due to the dependency from `c-set-style').
18073 * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
18074 incomplete initialization from the style variable fallbacks if
18075 there already is a style called "user" defined when CC Mode
18076 starts up for the first time.
18078 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18080 * progmodes/cc-cmds.el, progmodes/cc-vars.el
18081 (c-comment-indent, c-indent-comment-alist): Added new variable
18082 `c-indent-comment-alist' to allow better control over
18083 `c-comment-indent'.
18085 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18087 * progmodes/cc-align.el (c-lineup-C-comments): Try to match
18088 both `comment-start-skip' and the comment prefix on the
18089 current line with the comment starter, so that we line up
18090 comments which matches `c-comment-prefix-regexp' on the first
18091 line (after the `/') without the need to make
18092 `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
18094 * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
18095 (c-set-style-1, c-setup-paragraph-variables): Moved the
18096 variable initialization based on `c-comment-prefix-regexp' to
18097 a new function `c-setup-paragraph-variables', which is now
18098 used both at mode init and when a style that sets
18099 `c-comment-prefix-regexp' is activated.
18101 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18103 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
18104 Better handling of C++ template args to avoid confusion with
18105 `<' and `>' used as operators in member init expressions.
18107 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18109 * progmodes/cc-engine.el (c-most-enclosing-brace)
18110 (c-least-enclosing-brace): Added optional second arg to limit
18111 the search to before a certain point.
18113 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
18114 which could cause incorrect analysis if a cached state is used
18115 (usually only happens when an electric key reindents a line).
18117 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18119 * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
18120 insulation. This time for XEmacs 21.
18122 * progmodes/cc-engine.el, progmodes/cc-langs.el:
18123 Improved handling of inheritance lists:
18125 (c-beginning-of-inheritance-list): Rewritten to use a more
18126 syntactically correct method that doesn't get confused by
18127 badly placed linebreaks and comments.
18129 (c-guess-basic-syntax): Several fixes to the handling of
18130 inheritance lists in combination with templates. 'inher-intro
18131 is now anchored on the start of the class declaration and not
18132 the indentation of the current line. Switched places on cases
18133 5D.3 and 5D.4 and made them use more syntactically correct methods.
18135 (c-inher-key): Removed since the code in
18136 `c-guess-basic-syntax' now uses token-based search.
18138 * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
18139 Added a submenu to access some toggles.
18141 (c-toggle-syntactic-indentation): New function to toggle the
18142 variable `c-syntactic-indentation'.
18144 * progmodes/cc-styles.el (c-set-style): Improved the error
18145 message for incorrect offsets a bit.
18147 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18149 * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
18150 sexp follows point immediately, instead find the closest
18151 following open paren that ends on another line.
18153 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18155 * progmodes/cc-align.el (c-lineup-cascaded-calls):
18156 New indentation function.
18158 * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
18159 directives with whitespace between the '#' and the name.
18161 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18163 * progmodes/cc-engine.el (c-forward-syntactic-ws)
18164 (c-backward-syntactic-ws): Handle line continuations as
18165 whitespace. Don't move past a macro if that'd take us past
18168 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18170 * progmodes/cc-engine.el (c-beginning-of-macro)
18171 (c-forward-syntactic-ws): Multiline strings begin with `#"' in
18172 Pike, and that shouldn't be confused with a preprocessor directive.
18174 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18176 * progmodes/cc-cmds.el: Extended the kludge to interoperate
18177 with the delsel and pending-del packages wrt to the new
18178 function `c-electric-delete-forward'.
18180 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18182 * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
18183 the block itself, i.e. only indent the contents in it.
18185 * progmodes/cc-styles.el (c-set-style): Use the default
18186 argument to completing-read instead of initial-contents, if
18187 the function is recent enough to support it.
18189 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18191 * progmodes/cc-mode.el (c-mode-help-address):
18192 Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
18193 I've almost never seen a bug reported this way that should go
18194 to that list, but it's rather common that the reports concern
18195 the combination CC Mode and XEmacs instead.
18197 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18199 * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
18200 brace-elseif-brace and brace-catch-brace are active and
18201 there's a "else if"-block before the catch block.
18203 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
18204 Detect function headers that span lines.
18206 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18208 * progmodes/cc-cmds.el (c-electric-brace)
18209 (c-electric-semi&comma, c-electric-colon, c-electric-paren):
18210 Check for last on line only for doing the auto-newline-mode
18211 stuff, not for the reindentation.
18213 * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
18214 handling of c-syntactic-indentation: When it's nil, indent the
18215 new lines but don't reindent the current one. Reindent the
18216 line only when the inserted brace comes first on it, instead
18219 * progmodes/cc-cmds.el (c-electric-brace)
18220 (c-electric-semi&comma): Fixed two places where
18221 c-syntactic-indentation wasn't heeded.
18223 * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
18226 * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
18227 little harder to find a fallback position when an orphan else
18228 is found. Fixed case where an else following a do-while
18229 statement could be associated with an if inside the do-while.
18231 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18233 * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
18234 for the fallback to add a single space after the comment prefix.
18236 * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
18237 behavior in some special cases, especially for single-line comments.
18238 Avoid breaking up a comment starter or ender.
18240 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18242 * progmodes/cc-cmds.el (c-outline-level): Applied patch from
18243 the Emacs sources to make this work in invisible text.
18245 * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
18246 not be confused by a later ':' on the same line as the label.
18248 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18250 * progmodes/cc-cmds.el, progmodes/cc-mode.el
18251 (c-electric-delete, c-electric-delete-forward):
18252 Split `c-electric-delete' into two functions where
18253 `c-electric-delete-forward' always deletes forward and
18254 `c-electric-delete' only contains the code necessary for
18255 XEmacs to choose between backward and forward deletion.
18256 `c-electric-delete-forward' is now bound to C-d to get the
18257 electric behavior on that key too.
18259 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18261 * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
18262 use of c-comment-prefix-regexp, which caused an error when
18265 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18267 * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
18268 (c-default-style): Removed the hardcoded switch to "java" style
18269 in Java mode. It's instead taken care of by the default value
18270 for c-default-style.
18272 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
18274 * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
18275 was triggered by equal signs in string literals.
18277 2002-04-21 Kim F. Storm <storm@cua.dk>
18279 * subr.el (insert-buffer-substring-no-properties): New function.
18280 (insert-buffer-substring-as-yank): New function.
18282 2002-04-21 Glenn Morris <gmorris@ast.cam.ac.uk>
18284 * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
18285 (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
18286 prefix from scroll commands. Ignore end-of-buffer errors from
18288 (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
18290 (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
18293 * files.el: (auto-mode-alist): .f95 files in f90-mode.
18295 * progmodes/fortran.el: (fortran-beginning-do): Make regexp match
18296 a DO statement irrespective of numeric label.
18298 2002-04-20 Glenn Morris <gmorris@ast.cam.ac.uk>
18300 * files.el (auto-save-file-name-transforms): Doc fix.
18301 Add third element to "uniquify" filenames.
18302 (make-auto-save-file-name): Use new element of
18303 auto-save-file-name-transforms.
18304 * startup.el (command-line): Add third element to
18305 auto-save-file-name-transforms.
18307 2002-04-19 Stefan Monnier <monnier@cs.yale.edu>
18309 * files.el (file-name-non-special): Don't mangle the 0'th arg and the
18310 return value of file-name-completion and file-name-all-completions.
18312 2002-04-19 Glenn Morris <gmorris@ast.cam.ac.uk>
18314 * progmodes/f90.el: Update maintainer.
18315 (f90-line-continued): Recognize blank/comment lines embedded in
18316 continuation lines.
18317 (f90-looking-at-program-block-start): No extra indentation after
18318 function or subroutine keyword appears in single quotes.
18320 2002-04-19 Miles Bader <miles@gnu.org>
18322 * custom.el (customize-mark-to-save, customize-mark-as-set)
18323 (custom-quote): Moved here from `cus-edit.el'.
18324 * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
18325 (custom-quote): Moved to `custom.el'.
18327 2002-04-18 Richard M. Stallman <rms@gnu.org>
18329 * facemenu.el (list-text-properties-at): Command deleted.
18331 * rect.el (insert-rectangle): Use insert-for-yank.
18333 * register.el (insert-register): Use insert-for-yank.
18334 (describe-register-1): Discard text props in yank-excluded-properties.
18336 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
18337 Fix parts in construction of `menu-item' item at end.
18339 * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
18341 * subr.el (insert-for-yank): New function.
18343 * simple.el (yank-excluded-properties): New user option.
18344 (yank-pop, yank): Use insert-for-yank.
18346 2002-04-19 Kim F. Storm <storm@cua.dk>
18348 * simple.el (pop-to-mark-command): Do not set this-command.
18349 (set-mark-command): Always jump to mark when called with arg.
18351 2002-04-18 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
18353 * comint.el (comint-watch-for-password-prompt): Remove whitespace
18354 at the beginning of password prompts.
18356 2002-04-18 Andrew Innes <andrewi@gnu.org>
18358 * facemenu.el: Remove require of wid-edit.
18360 2002-04-17 Colin Walters <walters@verbum.org>
18362 * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
18364 (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
18365 (ibuffer-current-state-list): Reinstate optional argument; now
18366 just call `point' inside the mapping function.
18368 2002-04-17 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
18370 * dired-aux.el (dired-star-subst-regexp)
18371 (dired-quark-subst-regexp): New constants.
18372 (dired-do-shell-command, dired-shell-stuff-it): Use them.
18373 (dired-do-shell-command): Raise an error if both `*' and `?'
18374 substitution marks are used in the same command.
18375 (dired-shell-stuff-it): Substitute all instances of `*' and `?'
18376 in a command given via dired-do-shell-command.
18378 * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
18380 2002-04-16 Jason Rumney <jasonr@gnu.org>
18382 * international/mule-cmds.el (locale-preferred-coding-systems):
18385 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
18387 * term.el (term-emulate-terminal): Fix last change.
18389 2002-04-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18391 * bindings.el (mode-line-mode-menu): Update names to reflect
18394 2002-04-16 Mike Williams <mdub@bigfoot.com>
18396 * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
18399 2002-04-16 Michael Kifer <kifer@cs.stonybrook.edu>
18401 * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
18402 (viper-ex-print-buf-name): New variable.
18403 (viper-ex-print-buf): New variable.
18404 (ex-token-alist): Invoke ex-print on ":print" Ex commands.
18405 (ex-g-marks): New variable.
18406 (ex-print): New function.
18407 (ex-print-display-lines): New function.
18409 * viper.el (viper-set-hooks): Add window-setup-hook, which sets
18412 * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
18413 when the window is not in its own frame.
18414 (ediff-clone-buffer-for-region-comparison): More robust window
18415 arrangement while prompting for regions to compare.
18416 (ediff-make-cloned-buffer): Use generate-new-buffer-name.
18417 (ediff-inferior-compare-regions): Deleted unused vars
18418 ctl-buf and quit-now.
18420 2002-04-15 Richard M. Stallman <rms@gnu.org>
18422 * facemenu.el (facemenu-add-new-face): Use this only for faces.
18424 (facemenu-add-new-color): New function.
18425 (facemenu-set-foreground, facemenu-set-background):
18426 Use facemenu-add-new-color.
18428 2002-04-15 Eli Zaretskii <eliz@is.elta.co.il>
18430 * ediff-init.el (ediff-current-diff-face-A)
18431 (ediff-current-diff-face-B, ediff-current-diff-face-C)
18432 (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
18433 (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
18434 (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
18435 (ediff-even-diff-face-B, ediff-even-diff-face-C)
18436 (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
18437 (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
18438 (ediff-odd-diff-face-Ancestor): Add special color definitions for
18439 tty and MS-DOS displays.
18441 2002-04-15 Andrew Innes <andrewi@gnu.org>
18443 * facemenu.el: Require wid-edit.
18445 2002-04-15 Miles Bader <miles@gnu.org>
18447 * faces.el (highlight): Force foreground to be black on a tty, so
18448 this face is readable on a dark-background tty.
18449 * wid-edit.el (widget-field-face, widget-single-line-field-face):
18452 2002-04-14 Kim F. Storm <storm@cua.dk>
18454 * simple.el (pop-to-mark-command, push-mark-command): New commands.
18455 (set-mark-command): Use them.
18456 Enhanced functionality when command is repeated:
18457 - If first command set the mark (no prefix arg), repeat temporarily
18458 enables transient-mark-mode.
18459 - If first command jumped to mark off ring (with argument),
18460 repeat (with or without arg) jump to next mark off ring.
18461 - Use C-u C-u prefix to set mark after jump.
18462 (exchange-point-and-mark): Temporarily enable transient-mark-mode
18465 2002-04-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18467 * speedbar.el (speedbar-tag-hierarchy-method)
18468 (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
18470 2002-04-14 Mike Williams <mdub@bigfoot.com>
18472 * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
18473 beginning of buffer.
18475 2002-04-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18477 * speedbar.el (speedbar-generic-item-info)
18478 (speedbar-sort-tags): Doc fix.
18479 (speedbar-add-supported-extension): Fix typo in interactive spec.
18481 2002-04-13 Colin Walters <walters@verbum.org>
18483 * ibuffer.el (ibuffer-forward-line): Just skip header if we're
18484 only moving one line forward.
18485 (ibuffer-map-lines): Preserve point position even if we delete
18486 lines. Only call mapping functions with buffer and mark
18487 arguments; the other two were unused.
18488 (ibuffer-redisplay, ibuffer-update): Always skip special areas.
18490 * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
18492 * calc/calc-bin.el (math-format-radix-float): Use `when'.
18494 * calc/calc.el (math-format-number): Load `calc-ext' before we
18495 call `math-group-float'.
18497 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18498 Renamed from `gamegrid-add-score'.
18499 (gamegrid-add-score-insecure): Restored from the old
18500 `gamegrid-add-score'.
18501 (gamegrid-add-score): Just dispatch on `system-type' to one of the
18502 previous two functions.
18504 2002-04-13 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18506 * iswitchb.el: Update commentary to include new function
18507 iswitchb-exclude-nonmatching.
18509 2002-04-12 John Wiegley <johnw@gnu.org>
18511 * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
18512 operating systems to the regexp used to detect a script's interpreter.
18514 2002-04-12 Eli Zaretskii <eliz@is.elta.co.il>
18516 * frame.el (frames-on-display-list): Use `equal' to compare the
18517 `display' frame parameter to the argument DISPLAY.
18519 2002-04-12 Dave Love <fx@gnu.org>
18521 * help.el (string-key-binding): Deal with margin events.
18523 2002-04-12 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
18525 * comint.el (comint-password-prompt-regexp): Match " SMB password".
18527 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
18529 * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
18531 * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
18533 * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
18534 (buffer-syntactic-context-depth): New funs.
18536 * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
18539 * emacs-lisp/debug.el (debug-on-entry): Use push.
18540 (debugger-make-xrefs): Don't assume point-min == 1.
18542 * progmodes/cc-engine.el (c-backward-to-start-of-if):
18543 Don't assume point-min == 1.
18545 * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
18546 (etags-list-tags, etags-tags-apropos, select-tags-table):
18547 Don't assume point-min == 1.
18549 2002-04-12 Mike Williams <mdub@bigfoot.com>
18551 * textmodes/sgml-mode.el (sgml-guess-indent): New function.
18553 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
18555 * textmodes/fill.el (fill-context-prefix): Fix up last change.
18557 * simple.el (line-move): Use memq rather than or.
18558 (transpose-sexps): Don't presume as much of forward-sexp's behavior.
18559 (do-auto-fill): Use fill-move-to-break-point.
18560 (syntax-code-table): Remove.
18562 * textmodes/fill.el (canonically-space-region): Obey sentence-end.
18563 Don't add spaces at end of sentences at end of line.
18564 (fill-move-to-break-point): Make sure the result is always greater
18565 than linebeg, so we ensure forward progress.
18566 (fill-region-as-paragraph): Compare to `to' rather than eobp.
18567 (fill-paragraph): Don't rebind fill-paragraph-function.
18569 2002-04-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18571 * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
18573 2002-04-11 Andreas Schwab <schwab@suse.de>
18575 * files.el (file-name-non-special): Handle return value of t from
18576 `file-name-completion'.
18578 2002-04-10 Stefan Monnier <monnier@cs.yale.edu>
18580 * textmodes/fill.el (fill-context-prefix): Match the two prefixes
18581 differently to avoid pathological exponential-time case.
18582 (adaptive-fill-regexp): Add ! and %.
18583 (fill-delete-prefix): Remove indentation while removing prefix.
18584 (fill-delete-newlines): Obey sentence-end.
18585 (fill-move-to-break-point, fill-newline): New functions extracted
18586 from fill-region-as-paragraph.
18587 (fill-region-as-paragraph): Use them.
18588 Don't fiddle with fill-indent-according-to-mode.
18590 2002-04-10 Colin Walters <walters@verbum.org>
18592 * play/snake.el (snake-score-file): Default to just "snake-scores".
18594 * play/tetris.el (tetris-score-file): Likewise.
18596 * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
18597 use `update-game-score'.
18599 * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
18600 (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
18601 ourselves; take it as an argument. Caller updated.
18602 (ibuffer-mode): Make mode-class special.
18604 2002-04-10 Richard M. Stallman <rms@gnu.org>
18606 * dired.el (dired-view-command-alist): New variable.
18607 (dired-view-file): Use external viewers for some files names.
18609 * mouse.el (mouse-drag-region-1): Display region highlight
18610 only in the selected window.
18612 * subr.el (remove-hook): When there are no more local hooks,
18613 kill the buffer-local value.
18615 * isearch.el (isearch-mode): Don't call make-frame-visible
18616 if frame is already visible.
18618 * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
18620 2002-04-09 Emmanuel Briot <briot@act-europe.fr>
18622 * progmodes/ada-prj.el: Add support for the new project file
18623 fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd.
18624 Fix widget handling for Emacs 21. ada-mode now only supports a single
18625 active project file, instead of one per buffer. This is far less
18628 * progmodes/ada-stmt.el: Menu changed from Statements to Templates.
18629 (ada-func-or-proc-name): Get real subprogram name, after change in
18632 * progmodes/ada-xref.el: Ada-mode no longer supports a different
18633 project file per buffer. This was too complex. Instead, there is
18634 now a single active project file at any given time, and the user
18635 can switch the active one through the Ada menu. This revision
18636 also provides better handling of the Windows command line, and the
18637 various available shells on that platform. ada-mode is now fully
18638 integrated with the GNU visual debugger gvd, see
18639 http://libre.act-europe.fr.
18640 (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.
18641 This is only available with GNAT 3.14.
18642 (ada-prj-gnatfind-switches, ada-cd-command): New variable.
18643 (ada-quote-cmd): New function.
18644 (ada-initialize-runtime-library): Get the location of the actual
18645 runtime the compiler will be using, including support for
18646 cross-platform environments.
18647 (ada-treat-cmd-string): Add support for the new variable
18648 ${full_current} add support for debug-pre-cmd and debug-post-cmd,
18649 two commands to run just prior to running the debugger, and just
18650 after starting it. This provide better support for cross-platform
18651 and remote debugging.
18652 (ada-get-absolute-dir): Remove, replace with expand-file-name.
18653 (ada-gdb-application): New parameter executable-name.
18654 (ada-get-ali-file-name): Better handling of separate packages.
18655 Checkin on behalf of the ada-mode maintainer.
18657 * progmodes/ada-mode.el (ada-case-exception-file)
18658 (ada-indent-handle-comment-special): New variables.
18659 (ada-case-exception-substring): New variable. Casing exceptions
18660 can now also be defined for substrings, in addition to full
18661 identifier names. This provides more flexibility.
18662 (ada-align-list): New fun, provide support for align.el in ada-mode.
18663 (ada-procedure-start-regexp): Add support for operators and
18664 generic formal subprograms and packages.
18665 (ada-imenu-comment-re): New variable.
18666 (ada-imenu-generic-expression): Add support for protected types.
18667 (ada-mode): Set comment-start only after running ada-mode-hook, so
18668 that the user can change ada-comment-start in the hook.
18669 Add support for ispell in comments. Add support for align.el.
18670 (ada-save-exception-file, ada-create-case-exception-substring)
18671 (ada-adjust-case-substring): New functions.
18672 (ada-get-current-indent): Properly handles keywords with uppercases.
18673 (ada-goto-matching-end): Rewritten, fixes problems in the handling
18675 (ada-untab-hard): Do not touch the contents of comments and strings.
18677 2002-04-09 Mike Williams <mdub@bigfoot.com>
18679 * textmodes/sgml-mode.el (sgml-lexical-context):
18680 Use sgml-parse-tag-backward to find start point.
18681 (sgml-looking-back-at): Doc fix.
18683 2002-04-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18685 * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
18688 2002-04-08 Stefan Monnier <monnier@cs.yale.edu>
18690 * autorevert.el (auto-revert-mode, global-auto-revert-mode):
18691 Use define-minor-mode.
18692 (auto-revert-buffers): Use with-current-buffer.
18693 Avoid changing the minor modes.
18695 * international/iso-acc.el (iso-accents-accent-key): Use `vector'
18696 rather than char-to-string since last-input-char can be any event.
18698 * international/titdic-cnv.el (tit-dictionary):
18699 Use defvar for non-constants.
18701 * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
18702 (global-cwarn-mode): Use easy-mmode-define-global-mode.
18703 (cwarn-font-lock-keywords): New function.
18704 Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
18705 (cwarn-font-lock-match): New macro.
18706 (cwarn-font-lock-match-assignment-in-expression)
18707 (cwarn-font-lock-match-dangerous-semicolon)
18708 (cwarn-font-lock-match-reference): Use it.
18710 * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
18711 Use defvar rather than defconst since it's meant to be settable.
18712 (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
18713 (cperl-fix-line-spacing): Add missing \ in [ t].
18715 * loadup.el: Call ucs-unify-8859 directly rather than
18716 unify-8859-on-encoding-mode.
18717 (fns-*.el): Don't use it anymore. Keep the load-history in purespace.
18719 * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
18720 (sgml-mode): Use it for comment-line-break-function.
18722 2002-04-08 Jason Rumney <jasonr@gnu.org>
18724 * international/mule-cmds.el (reset-language-environment):
18725 Handle coding-systems not being defined yet.
18727 2002-04-08 Sam Steingold <sds@gnu.org>
18729 * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
18730 (vc-cvs-checkin): Use it.
18732 2002-04-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18734 * files.el (display-time-string): Fix last change.
18736 2002-04-07 Sam Steingold <sds@gnu.org>
18738 * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
18740 2002-04-07 Jason Rumney <jasonr@gnu.org>
18742 * international/mule-cmds.el (set-default-coding-systems)
18743 (reset-language-environment): Preserve eols on
18744 default-process-coding-system.
18745 (coding-system-change-text-conversion): Fix case where CODING is nil.
18747 2002-04-07 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18749 * subr.el (play-sound): Move here from simple.el.
18751 * simple.el (play-sound): Move to subr.el.
18753 2002-04-06 Richard M. Stallman <rms@gnu.org>
18755 * files.el (display-time-string-forms): Mark as risky.
18757 * enriched.el (enriched-decode-foreground, enriched-decode-background):
18758 Use proper format for desired elts of `face' property.
18759 Don't test display-color-p; make the properties unconditionally.
18761 * progmodes/compile.el (compilation-error-regexp-alist):
18762 New alternatives for FILE:LINE.COL and for ranges of columns and lines.
18764 2002-04-06 Per Abrahamsen <abraham@dina.kvl.dk>
18766 * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
18767 for customization type.
18768 Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
18770 2002-04-06 Mike Williams <mdub@bigfoot.com>
18772 * textmodes/xml-lite.el: Remove.
18774 2002-04-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18776 * simple.el (play-sound): New function (uses play-sound-internal).
18778 2002-04-04 Richard M. Stallman <rms@gnu.org>
18780 * files.el (mode-line-format, mode-line-modified)
18781 (mode-line-mule-info, mode-line-buffer-identification)
18782 (mode-line-modes, mode-line-position): Explicitly mark as risky.
18783 (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
18785 * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
18787 * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
18788 Use (syntax-table), not old-syntax-table.
18790 * enriched.el (enriched-decode-foreground)
18791 (enriched-decode-background): Don't call facemenu-get-face.
18793 2002-04-04 Mike Williams <mdub@bigfoot.com>
18795 * textmodes/sgml-mode.el: Add missing require.
18796 (sgml-lexical-context): Fix up CDATA detection for boundary cases.
18798 2002-04-03 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
18800 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
18801 spot indicated by text property `cvs-goal-column', if present.
18803 * pcvs-info.el (cvs-fileinfo-pp): Use text property
18804 `cvs-goal-column' to indicate position of file name (if present).
18806 2002-04-03 Richard M. Stallman <rms@gnu.org>
18808 * mail/mailabbrev.el (mail-abbrev-complete-alias):
18809 Call mail-abbrev-make-syntax-table.
18811 * format.el (format-deannotate-region): Doc fix.
18813 * enriched.el (enriched-face-ans): Delete special treatment
18814 for fg:... and bg:... faces.
18815 (enriched-decode-foreground): Return a list that specifies
18816 the foreground color, rather than creating a face.
18817 (enriched-decode-background): Likewise.
18819 * shell.el (shell-mode): Don't reinit comint-input-ring
18820 if that was already done.
18822 2002-04-03 Edward M. Reingold <reingold@emr.cs.iit.edu>
18824 * solar.el (solar-spring-or-summer-season): Delete.
18825 (solar-northern-spring-or-summer-season): New variable.
18826 (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
18829 * solar.el (diary-sabbath-candles-minutes): New variable.
18830 (diary-sabbath-candles): Use it instead of fixed 18 minutes.
18832 * calendar.el (update-calendar-mode-line): Force mode-line update.
18833 Make date under the cursor available as `date' in
18834 calendar-mode-line-format.
18835 Eval items in calendar-mode-line-format list.
18837 * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
18838 (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
18840 * cal-tex.el (cal-tex-latexify-list): Fix doc string.
18842 * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
18843 (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
18844 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18845 (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
18847 * cal-tex.el: Change all instances (interactive "P") to
18849 (cal-tex-cursor-month): Add hfill and newline at end of month that
18851 (cal-tex-preamble): Change to LaTeX2e.
18852 (cal-tex-cursor-filofax-year): Don't use default month names in
18853 LaTeX macros in case user changes them.
18854 (cal-tex-month-name): New function. Used throughout in case user
18855 has done something funny with month names.
18857 * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
18858 (diary-rosh-hodesh): Spelling correction.
18860 2002-04-03 Mike Williams <mdub@bigfoot.com>
18862 * textmodes/sgml-mode.el (sgml-lexical-context)
18863 (sgml-parse-tag-backward): Extend support for CDATA to include
18864 conditional sections.
18866 2002-04-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18868 * cus-start.el: Rename `autoselect-window' to
18869 `mouse-autoselect-window'.
18871 2002-04-02 Richard M. Stallman <rms@gnu.org>
18873 * files.el (hack-one-local-variable):
18874 Clear text props from string value.
18876 2002-04-02 Stefan Monnier <monnier@cs.yale.edu>
18878 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18879 (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
18881 (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
18883 (f90-procedures-re): Add `null' and `cpu_time' from F95.
18884 (f90-font-lock-keywords-1): Minor reorganization so we don't need
18885 `override' any more.
18886 (f90-font-lock-keywords-3): Use `keep' rather than `override'.
18887 (f90-indent-subprogram): Use indent-region.
18888 (f90-break-line): Use indent-according-to-mode.
18890 2002-04-02 Mike Williams <mdub@bigfoot.com>
18892 * textmodes/sgml-mode.el (sgml-close-tag): Rename from
18893 sgml-insert-end-tag. Simplify by using sgml-lexical-context.
18894 (sgml-get-context): Remove use of sgml-inside-tag-p.
18895 (sgml-inside-tag-p): Remove.
18896 (sgml-looking-back-at): Short-circuit at beg of buffer.
18897 (sgml-lexical-context, sgml-calculate-indent): Add support for
18900 2002-04-01 Stefan Monnier <monnier@cs.yale.edu>
18902 * help.el (help-key-description): New fun.
18903 (describe-key-briefly, describe-key): Use it and
18904 this-single-command-raw-keys plus new arg `untranslated'.
18906 * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
18907 (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
18908 (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
18909 (sgml-insert-end-tag): New funs taken from xml-lite.el.
18910 (sgml-calculate-indent): Use them.
18911 (sgml-slash-matching): Rename from sgml-slash.
18912 (sgml-slash): Copied from xml-lite and changed to use
18913 sgml-slash-matching and sgml-quick-keys.
18915 * international/mule-cmds.el (standard-keyboard-coding-systems):
18916 Add koi8-u and koi8-r.
18918 * eshell/.cvsignore: New file.
18920 * eshell/esh-groups.el: Remove.
18922 * progmodes/tcl.el: Change maintainer.
18923 (tcl-electric-hash-style): Change default to nil.
18924 (tcl-imenu-generic-expression): Use tcl-proc-regexp.
18925 (tcl-do-auto-fill): Remove.
18926 (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
18928 2002-04-01 Mike Williams <mdub@bigfoot.com>
18930 * textmodes/sgml-mode.el: Doc fixes.
18931 (sgml-mode): Set indent-line-function to sgml-indent-line.
18932 (sgml-calculate-indent): Add an explicit check for 'text syntax,
18933 to protect against future enhancements to sgml-lexical-context.
18934 (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
18936 * textmodes/xml-lite.el: Removed much redundant stuff.
18937 (xml-lite-parse-tag-backward): Simplify parsing by assuming we
18938 always start within text. Make use of sgml-unclosed-tag-p.
18940 2002-04-01 Ville Skytt
\e,Ad
\e(B <ville.skytta@xemacs.org>
18942 * tcl.el (tcl-imenu-generic-expression): New value.
18943 (tcl-imenu-create-index-function): Function deleted.
18944 (tcl-mode): Check for filladapt-mode.
18945 Use tcl-imenu-generic-expression instead of
18946 tcl-imenu-create-index-function.
18947 (inferior-tcl-mode): Doc fix.
18948 Change not legally significant.
18950 2002-04-01 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
18952 * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
18954 * window.el (handle-select-window): New function.
18957 2002-04-01 Richard M. Stallman <rms@gnu.org>
18959 * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
18961 * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
18962 tool-bar-add-item, and new arg MAP.
18963 (tool-bar-add-item): Now calls tool-bar-local-item.
18964 (tool-bar-local-item-from-menu): Renamed from
18965 tool-bar-add-item-from-menu, and new arg IN-MAP.
18966 (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
18968 * help-fns.el (help-with-tutorial): Allow various ways
18969 to specify the text in the [...] line, in handling the <...> line.
18971 * progmodes/idlw-rinfo.el (idlwave-system-routines):
18972 WOLRDTITLE => WORLDTITLE. SUPRESS_VALUE => SUPPRESS_VALUE.
18974 * subr.el (redraw-modeline): Define alias.
18976 2002-03-31 Richard M. Stallman <rms@gnu.org>
18978 * files.el (file-expand-wildcards): Use save-match-data.
18980 * files.el (format-alist): Mark as risky.
18982 * simple.el (kill-new): Doc fix.
18984 * emacs-lisp/byte-opt.el (side-effect-free-fns)
18985 (side-effect-and-error-free-fns): Add many functions, remove some.
18987 2002-03-30 Richard M. Stallman <rms@gnu.org>
18989 * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
18991 2002-03-30 Eli Zaretskii <eliz@gnu.org>
18993 * font-lock.el (save-buffer-state): Fix last change.
18995 * files.el (auto-save-file-name-transforms): Fix last change.
18997 * startup.el (command-line): Fix last change.
18999 2002-03-29 Richard M. Stallman <rms@gnu.org>
19001 * subr.el (play-sound-file): Moved to simple.el.
19003 * simple.el (play-sound-file): Moved from subr.el, made unconditional.
19005 2002-03-29 Colin Walters <walters@verbum.org>
19007 * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
19008 instead of `forward-line'.
19009 (ibuffer-forward-line): Be sure to skip over special properties
19010 before moving, too.
19012 * calc/calc.el (calc-was-split): Var deleted.
19013 (calc): Remove reference to it.
19015 (calc-quit): Ditto.
19016 (calc-init-base): Ditto.
19018 * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
19020 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
19022 * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
19023 instead of nil when point is outside of any tag.
19024 (sgml-beginning-of-tag): Adjust to the change.
19025 (sgml-calculate-indent): Use the new info returned by
19026 sgml-lexical-context. Try to handle unclosed tags.
19028 * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
19029 at unclosed tags unless it is at indentation.
19030 Kill nested unclosed tags.
19031 (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
19032 (xml-lite-mode): Use sgml-indent-line instead.
19034 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
19036 * files.el (auto-save-file-name-transforms): Don't run "\\2" via
19039 * startup.el (command-line): Recompute auto-save-file-name-transforms
19040 using the updated value of temporary-file-directory.
19042 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
19044 * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
19045 even with an empty context. Don't save excursion any more.
19046 Don't complain about unmatched start-tags in sgml-unclosed-tags.
19047 Ignore end-tags in sgml-empty-tags.
19048 (xml-lite-get-context, xml-lite-calculate-indent)
19049 (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
19050 (xml-lite-indent-line): Use back-to-indentation.
19052 * textmodes/sgml-mode.el (sgml-basic-offset): New var.
19053 (sgml-name-re, sgml-attrs-re): New consts.
19054 (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
19055 (sgml-mode): Use them.
19056 (sgml-lexical-context): Default to (point-min) if nothing else works.
19057 (sgml-calculate-indent): Indent slightly differently.
19058 (sgml-indent-line): Use back-to-indentation.
19059 (sgml-parse-dtd): New function.
19060 (sgml-unclosed-tags): New var.
19061 (html-mode): Set it.
19063 2002-03-29 Simon Marshall <simon.marshall@misys.com>
19065 * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
19067 2002-03-29 Richard M. Stallman <rms@gnu.org>
19069 * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
19070 Use FILTER arg in dired-get-marked-files to exclude directories.
19071 (dired-nondirectory-p): New function.
19073 * dired.el (dired-get-marked-files): New arg FILTER
19074 allows selection of some files.
19076 * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
19078 2002-03-29 Eric M. Ludlam <eric@siege-engine.com>
19080 * speedbar.el (speedbar-default-directory-list): Made robust
19081 against deleted directories.
19083 2002-03-28 Richard M. Stallman <rms@gnu.org>
19085 * dired.el (dired-toggle-marks): Renamed from dired-do-toggle.
19088 * progmodes/compile.el (compilation-handle-exit):
19089 If compilation-window-height is 0, display status in echo area.
19091 * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
19093 * rect.el (replace-rectangle): Add autoload.
19095 * files.el: Mark many more variables as risky.
19096 (hack-one-local-variable): Recognize several additional
19099 * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
19101 2002-03-28 Stefan Monnier <monnier@cs.yale.edu>
19103 * textmodes/xml-lite.el (xml-lite-in-string-p):
19104 Use sgml-lexical-context.
19105 (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
19106 (xml-lite-get-context): Check that open/close tags match.
19107 Don't stop scanning while we're ignoring matching tags.
19109 * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
19110 (sgml-mode-syntax-table): Use it.
19111 (sgml-tag-syntax-table, sgml-tag-name-re): New const.
19112 (sgml-tags-invisible): Use it.
19113 (sgml-lexical-context): New fun.
19114 (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
19115 (sgml-quote): Accept \n as entity reference terminator.
19116 (sgml-calculate-indent, sgml-indent-line): New funs.
19118 2002-03-28 Andre Spiegel <spiegel@gnu.org>
19120 * vc-cvs.el (vc-cvs-global-switches): New user option.
19121 (vc-cvs-command): New function. Update all callers of
19122 `vc-do-command' in vc-cvs.el to use this instead.
19124 2002-03-27 Andrew Innes <andrewi@gnu.org>
19126 * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
19127 relying on shell globbing.
19129 2002-03-27 Colin Walters <walters@debian.org>
19131 * ibuffer.el (ibuffer-help-buffer-modes): New variable.
19132 (ibuffer-fontification-alist): Use it.
19133 (ibuffer-backward-line): Handle `ibuffer-summary' area.
19134 (ibuffer-forward-line): Ditto.
19136 * ibuf-ext.el (sorter mode-name): Doc fix.
19137 (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
19138 (operation query-replace): Use new `noerror' arg for
19139 `query-replace-read-args'.
19140 (operation query-replace-regexp): Ditto.
19142 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
19144 * textmodes/xml-lite.el: Fix copyright notice.
19145 (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
19146 (xml-lite-indent-comment-offset): Remove.
19147 (xml-lite-calculate-indent): Use new name. Use natural alignment
19149 (xml-lite-in-string-p): Simplify.
19151 2002-03-27 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
19153 * allout.el (outline-layout): Doc fix.
19155 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
19157 * textmodes/xml-lite.el: Don't require `custom'.
19158 (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
19159 (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
19160 (xml-lite-get-context): Drop nested tags not just for comments.
19161 (xml-lite-indent-line): Be more careful about moving point.
19162 (xml-lite-insert-end-tag, xml-lite-slash):
19163 Use indent-according-to-mode instead of xml-lite-indent-line.
19164 (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
19165 Set sgml-xml-mode. Don't call force-mode-line-update.
19166 (xml-lite-mode-map): Don't bind TAB.
19168 2002-03-27 Zoltan Kemenczy <zoltan@ieee.org>
19170 * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
19172 (gud-jdb-build-source-files-list): Comment clarification.
19173 (gud-jdb-massage-args): Reworked into loop-based argument list
19174 processing in order to support -classpath and -sourcepath argument
19176 (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
19177 to gud-jdb-classpath to obtain search list.
19178 (gud-jdb-parse-classpath-string): Remove any trailing slashes from
19179 directory names in classpath/sourcepath lists, update comment.
19180 (jdb): Add setting of gud-jdb-sourcepath, update comment.
19181 (gud-find-class): Add gud-jdb-sourcepath use, and correct
19182 behaviour for the case when classpath is not used--backward
19185 2002-03-27 Eli Zaretskii <eliz@is.elta.co.il>
19187 * Makefile.in (compile, compile-always): Don't try to compile
19188 non-existent files or files in empty directories.
19190 2002-03-26 Michael Ernst <mernst@alum.mit.edu>
19192 * compare-w.el (compare-windows-whitespace): Match all whitespace.
19194 * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
19195 copy of standard Lisp directories.
19197 * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
19198 Support "next has longname" link type.
19200 2002-03-26 Stefan Monnier <monnier@cs.yale.edu>
19202 * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
19203 (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
19205 (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
19206 (end-of-xml-tag): Remove.
19207 (xml-lite-get-context): Better handling of comments.
19208 (xml-lite-calculate-indent): Use xml-lite-in-string-p.
19209 (xml-lite-parse-tag-backward): Rewrite.
19211 2002-03-26 Juanma Barranquero <lektu@terra.es>
19213 * makefile.w32-in (WINS): Add the toolbar directory.
19215 2002-03-26 Richard M. Stallman <rms@gnu.org>
19217 * subr.el (substring-no-properties): Function deleted (now in C).
19219 2002-03-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
19221 * mwheel.el (mouse-wheel-mode): Use global-set-key and
19224 2002-03-24 Richard M. Stallman <rms@gnu.org>
19226 * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
19228 * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
19229 to query-replace-read-args.
19231 * progmodes/compile.el (compilation-forget-errors):
19232 Don't adjust compilation-parsing-end if it's nil.
19234 * replace.el (query-replace-read-args): New optional arg NOERROR.
19235 (perform-replace): Use save-window-excursion around recursive edit.
19237 2002-03-24 Colin Walters <walters@verbum.org>
19239 * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
19240 non-nil, then always use another window.
19242 2002-03-24 Gerd Moellmann <gerd@gnu.org>
19244 * subr.el (macro-declaration-function): New function. Set the
19245 variable macro-declaration-function to it.
19247 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19248 Handle declarations in macro definitions.
19250 2002-03-24 Eli Zaretskii <eliz@is.elta.co.il>
19252 * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
19254 * enriched.el (enriched-face-ans): Support FACE of the form
19255 (:foreground COLOR) and (:background COLOR).
19256 (enriched-decode-foreground, enriched-decode-background): Set the
19257 fore- and background colors of the faces we create, since facemenu
19260 2002-03-24 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
19262 * mwheel.el (mouse-wheel-mode): Use the result of
19263 current-global-map instead of the variable `global-map'.
19265 2002-03-23 Richard M. Stallman <rms@gnu.org>
19267 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
19268 broken out of sendmail-pre-abbrev-expand-hook.
19269 (sendmail-pre-abbrev-expand-hook): Use it.
19271 2002-03-22 Stefan Monnier <monnier@cs.yale.edu>
19273 * Makefile.in (finder-inf.el): Remove.
19274 (finder-data): Don't depend on finder-inf.el any more.
19275 (compile, compile-always): Handle the case where some files
19276 from DONTCOMPILE are missing (it tried to compile them).
19277 (bootstrap-clean): Use src/emacs only if executable.
19278 (bootstrap): Update subdirs.el and finder-inf.el.
19280 * finder.el: Don't load finder-inf.el during byte-compilation.
19282 * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
19283 Don't consider cvs-removed files as under VC control.
19284 VC wouldn't handle them properly anyway and it confuses
19285 vc-file-not-found-hook.
19287 * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
19288 Add autoload cookie.
19290 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il>
19292 * calendar/calendar.el (calendar): Doc fix.
19294 2002-03-22 Juanma Barranquero <lektu@terra.es>
19296 * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
19297 (gomoku-font-lock-X-face): Likewise.
19298 (gomoku-font-lock-keywords): Use faces instead of variables.
19300 2002-03-21 Stefan Monnier <monnier@cs.yale.edu>
19302 * Makefile.in (bootstrap): Make sure subdirs.el is ready.
19304 2002-03-21 Kim F. Storm <storm@cua.dk>
19306 * simple.el (open-network-stream, open-network-stream-nowait)
19307 (open-network-stream-server): Use featurep to test for
19308 supported networking features.
19310 2002-03-21 Thien-Thi Nguyen <ttn@gnu.org>
19312 * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
19313 directions as the last action.
19315 2002-03-21 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
19317 * startup.el (fancy-splash-tail, normal-splash-screen):
19320 * novice.el (disabled-command-hook): Clarify output text to match
19323 2002-03-20 Jason Rumney <jasonr@gnu.org>
19325 * frame.el (display-images-p): Do not explicitly check display type.
19327 2002-03-20 pmr-sav <pmr-sav@hamm.pajato.com>
19330 Eliminate compilation warnings due to `rfc822-addresses'.
19331 (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
19332 warning free compile.
19334 2002-03-20 Michael Kifer <kifer@cs.stonybrook.edu>
19336 * ediff-diff.el (ediff-install-fine-diff-if-necessary):
19337 Take the current highlighting style into account.
19338 (ediff-forward-word-function,ediff-whitespace,ediff-word-1)
19339 (ediff-word-2,ediff-word-3,ediff-word-4): Make them buffer local.
19341 * ediff-init.el (ediff-patch-job): New macro.
19343 * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
19344 (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
19346 * ediff-ptch.el (ediff-map-patch-buffer):
19347 Use ediff-make-new-meta-list-header.
19348 (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
19350 * ediff-util.el (ediff-toggle-hilit): Fix toggling of highliting.
19351 (ediff-select-difference): Take highlighting style into account.
19352 (ediff-clone-buffer-for-region-comparison): New function.
19353 (ediff-inferior-compare-regions): Added comparison of current diff
19356 * ediff.el (ediff-clone-buffer-for-region-comparison)
19357 (ediff-clone-buffer-for-window-comparison): Moved to ediff-util.el.
19359 2002-03-19 pmr-sav <pmr-sav@hamm.pajato.com>
19361 * mail-utils.el (rmail-dont-reply-to):
19362 Overhaul to correctly apply the regular
19363 expressions in the variable `rmail-dont-reply-to-names' to the list of
19364 destination addresses. Contributed by lorentey@elte.hu.
19366 * rmail.el (rmail-dont-reply-to-names):
19367 Modify the documentation to make it email
19368 address centric rather than login name centric. Contributed by
19371 2002-03-18 Colin Walters <walters@verbum.org>
19373 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
19374 we don't require `cl' at runtime.
19375 (sorting mode mode-name): Don't take the symbol-name of a string.
19377 * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
19378 line after setting the mark.
19379 (ibuffer-insert-buffers-and-marks): Invert the test for
19380 `ibuffer-sorting-reversep'.
19382 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
19384 * international/ucs-tables.el (unify-8859-on-decoding-mode)
19385 (unify-8859-on-encoding-mode): Remove autoload cookie.
19387 2002-03-18 Andre Spiegel <spiegel@gnu.org>
19389 * vc-rcs.el (vc-rcs-register): Fix handling of
19390 vc-[rcs-]register-switches.
19391 (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
19392 Variables removed, since they weren't used yet.
19394 * vc-cvs.el (vc-cvs-register): Fix handling of
19395 vc-[cvs-]register-switches.
19397 * vc-sccs.el (vc-sccs-register): Fix handling of
19398 vc-[sccs-]register-switches.
19400 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
19402 * loadup.el ("emacs-lisp/backquote"): Load earlier.
19403 ("international/ucs-tables"): Load and turn on
19404 unify-8859-on-encoding-mode unconditionally.
19405 (emacs-version): Use `defconst' rather than `setq'.
19407 * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
19409 2002-03-18 Richard M. Stallman <rms@gnu.org>
19411 * menu-bar.el (menu-bar-options-menu): Cope if
19412 text-mode-hook is not a list.
19414 2002-03-17 Richard M. Stallman <rms@gnu.org>
19416 * emulation/pc-select.el (pc-selection-mode):
19417 Alter the existing global map, don't replace it.
19419 * files.el (list-directory): Set default-directory at the end.
19421 * dabbrev.el (dabbrev--goto-start-of-abbrev):
19422 Put a limit on field-beginning search.
19424 2002-03-17 Simon Josefsson <jas@extundo.com>
19426 * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
19427 (browse-url-mosaic): Use it.
19429 * net/browse-url.el (browse-url-filename-alist): Don't begin
19430 docstring with *, you don't want to set this one with M-x set-variable.
19432 * net/browse-url.el: Put * in user option doc strings.
19434 2002-03-17 Stefan Monnier <monnier@cs.yale.edu>
19436 * textmodes/sgml-mode.el (sgml-xml-mode): Renamed from sgml-xml.
19437 (sgml-xml-guess): Simplify.
19438 (sgml-mode-common): Remove (move into sgml-mode).
19439 (sgml-mode): Add code from sgml-mode-common.
19440 Remove redundant setting of indent-line-function.
19441 Don't set skeleton-transformation when in XML mode.
19443 * international/mule-diag.el (describe-char-after):
19444 Use `internal-describe-syntax-value' again (got lost somewhere).
19446 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
19447 Use unify-8859-on-decoding-mode.
19448 (unify-8859-on-decoding-mode): Also set translation-table-for-input.
19449 (ucs-insert): Give an error if the unicode char can't be created.
19451 * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
19452 (cvs-parse-status): Handle the "used to have a conflict" marker.
19454 2002-03-17 Kim F. Storm <storm@cua.dk>
19456 The following changes are related to the enhanced network process
19459 * simple.el: Update copyright.
19460 (clone-process): Use make-network-process to clone network
19461 processes. Get command list via (process-contact ... t).
19462 Use set-process-query-on-exit-flag and process-query-on-exit-flag
19463 instead of process-kill-without-query.
19464 (open-network-stream): Replaces C-version from process.c.
19465 (open-network-stream-nowait, open-network-stream-server): New funs.
19466 (process-kill-without-query): Replaces C-version from process.c.
19468 * files.el: Update copyright.
19469 (save-buffers-kill-emacs): Also check for active server
19470 processes. Use process-query-on-exit-flag. Only list processes
19471 which has the query-on-exit flag set in connection with user query.
19473 * shadowfile.el: Update copyright.
19474 (shadow-save-buffers-kill-emacs): Also check for active server
19475 processes. Use process-query-on-exit-flag.
19477 2002-03-16 Simon Marshall <simon.marshall@misys.com>
19479 * imenu.el (imenu-menubar-modified-tick): Renamed from
19480 imenu-update-menubar-modified-tick.
19481 (imenu-update-menubar): Update imenu-menubar-modified-tick
19482 whenever outer condition succeeds.
19484 * lazy-lock.el (save-buffer-state):
19485 Bind inhibit-modification-hooks and buffer-file-truename
19486 instead of before-change-functions and after-change-functions.
19488 2002-03-16 Eli Zaretskii <eliz@is.elta.co.il>
19490 * international/codepage.el (codepage-setup): Don't define a
19491 codepage if it is already defined.
19493 * textmodes/po.el (po-content-type-charset-alist): Convert the
19494 car of each association to a string.
19495 (po-find-file-coding-system-guts): If the charset matches a name
19496 of a codepage, set up that codepage and return it as a coding
19497 system to decode the file.
19498 (po-find-charset): Search for the Charset= header even if we've
19499 read less than 4KB.
19500 <top-level>: Remove the setup for all known codepages: it seems
19501 to cause crashes in the CCL driver.
19503 2002-03-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
19505 * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
19506 (bibtex-entry-field-alist): Doc fix.
19508 2002-03-16 Richard M. Stallman <rms@gnu.org>
19510 * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
19511 Move definition above cperl-outline-regexp.
19513 * bindings.el (mode-line-mule-info): In computing help-echo prop,
19514 avoid using save-window-excursion. And compile the function.
19516 2002-03-15 Stefan Monnier <monnier@cs.yale.edu>
19518 * files.el (load-completion): New function.
19519 (load-library): Use it.
19521 2002-03-15 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
19523 * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
19524 to match the actual code.
19526 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
19528 * textmodes/po.el (po-find-file-coding-system-guts):
19529 Use with-temp-buffer instead of po-with-temp-buffer.
19531 * international/mule-conf.el (file-coding-system-alist): Add an
19532 association for PO files.
19534 * textmodes/po.el: New file.
19536 2002-03-15 Gerd Moellmann <gerd@gnu.org>
19538 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
19539 Fix simple loop indentation.
19541 2002-03-14 Miles Bader <miles@gnu.org>
19543 * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
19545 2002-03-14 Richard M. Stallman <rms@gnu.org>
19547 * textmodes/picture.el (picture-insert)
19548 (picture-clear-column, picture-draw-rectangle):
19549 Use move-to-column, not move-to-column-force.
19551 * dired.el (dired-readin): Clear out undo list.
19552 (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
19553 (dired-delete-entry): New function.
19554 (dired-internal-do-deletions): Use dired-fun-in-all-buffers
19555 and dired-delete-entry, to update this buffer (and others).
19557 * dired-aux.el (dired-fun-in-all-buffers): Moved to dired.el.
19559 * facemenu.el (facemenu-add-new-face):
19560 Pass region args to facemenu-set-face, when there is a region.
19561 (facemenu-set-foreground, facemenu-set-background)
19562 (facemenu-add-face): Doc fixes.
19564 * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
19566 2002-03-14 Miles Bader <miles@gnu.org>
19568 * emacs-lisp/debug.el: Require `button'.
19569 (debugger-mode-map): Set the parent keymap to `button-buffer-map',
19570 to get TAB and <backtab> bindings.
19572 * net/rlogin.el (rlogin-carriage-filter): Function removed.
19573 (rlogin): Don't install the `rlogin-carriage-filter' filter, as
19574 comint removes carriage returns itself now.
19576 * rfn-eshadow.el (rfn-eshadow-update-overlay):
19577 Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
19578 getting hosed by our own intangible property.
19580 2002-03-13 Stefan Monnier <monnier@cs.yale.edu>
19582 * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
19583 Add fortran-comment-line-start-skip to comment-start-skip.
19584 (fortran-comment-indent): Keep whole-line comments in column 0.
19585 (fortran-find-comment-start-skip): New arg `all'.
19586 If ALL is nil, make sure we only match comment-start-skip if we
19587 can't match fortran-comment-line-start-skip.
19588 Fix bug that made it return t but without moving point when
19589 matching '!'! (a false-comment followed by a real comment).
19590 (fortran-indent-comment): Use new `all' argument above.
19591 Be careful not to add an incorrect comment-starter like "C"
19593 (fortran-split-line): When splitting a comment, reuse the comment
19594 starter from the current line rather than fortran-comment-line-start.
19595 (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
19596 cleaner behavior of fortran-find-comment-start-skip.
19597 (fortran-fill): Don't be confused by ! inside a comment.
19598 (fortran-break-line): Minor cleanup and simplification.
19600 2002-03-13 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
19602 * progmodes/etags.el (tag-exact-file-name-match-p)
19603 (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
19606 2002-03-12 Colin Walters <walters@debian.org>
19608 * ibuffer.el (ibuffer-redisplay-current): Don't move point when
19609 redisplaying a line.
19611 2002-03-12 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
19613 * term/x-win.el (emacs-session-restore): Take previous id as
19615 (emacs-session-save): Add comment that return t means cancel shutdown
19617 * startup.el (command-line): Must check that x-session-previous-id
19618 is bound also, for non-X platforms.
19620 2002-03-12 Gerd Moellmann <gerd@gnu.org>
19622 * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
19623 (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
19625 (extended-loop-p, common-lisp-loop-part-indentation): New functions.
19626 (common-lisp-indent-function-1): Renamed from
19627 common-lisp-indent-function.
19628 (common-lisp-indent-function): Handle loop forms specially.
19629 (lisp-indent-defmethod): Use car/cdr instead of first/rest.
19630 (lisp-backquote-indentation): New user option.
19632 2002-03-12 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
19634 * progmodes/etags.el (tag-exact-file-name-match-p)
19635 (tag-file-name-match-p, tag-partial-file-name-match-p):
19636 Assume that the header of a tags section has either a number
19637 or nothing after the last comma.
19639 2002-03-11 Richard M. Stallman <rms@gnu.org>
19641 * imenu.el (imenu-update-menubar-modified-tick): New variable.
19642 (imenu-update-menubar): Don't call imenu--make-index-alist
19643 if buffer has not changed since last time.
19645 * desktop.el (desktop-buffer-handlers): Doc fix.
19646 (desktop-buffer-file): Explicitly return BUF.
19648 * paren.el (show-paren-function): Move back in other direction
19649 to verify the match is correct.
19651 * mail/supercite.el (sc-select-attribution): Accept whatever value
19652 we get in CHOICE; there is no value meaning "try again".
19654 2002-03-11 Colin Walters <walters@verbum.org>
19656 * shell.el (toplevel): Revert previous change to use pcomplete.
19657 (shell-mode): Ditto.
19658 (shell-pcomplete-setup-done): Remove.
19659 (shell-pcomplete): Ditto.
19660 (shell-pcomplete-reverse): Ditto.
19662 * comint.el: Remove documentation on setting up pcomplete.
19664 2002-03-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
19666 * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
19669 * image.el (image-type-from-file-header): Make temporary buffer
19672 * subr.el (add-to-list): Doc fix.
19674 2002-03-11 Miles Bader <miles@gnu.org>
19676 * pcomplete.el (pcomplete-entries): Expand environment variables
19679 2002-03-10 Daniel Pfeiffer <occitan@esperanto.org>
19681 * play/mpuz.el: Use defface instead of facemenu-get-face.
19683 2002-03-10 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
19685 * startup.el (command-line): Add call to emacs-session-restore if
19686 both x-session-id and x-session-previous-id are strings.
19688 * term/x-win.el (x-handle-smid): New function.
19689 (emacs-session-filename): New function.
19690 (emacs-session-save): New function.
19691 (emacs-save-session-functions): New variable.
19692 (emacs-session-restore): New function.
19694 2002-03-09 Eli Zaretskii <eliz@is.elta.co.il>
19696 * simple.el (shell-command-on-region): Call push-mark with
19697 non-nil second arg, to suppress the "Mark set" message.
19699 2002-03-08 Richard M. Stallman <rms@gnu.org>
19701 * textmodes/picture.el (picture-forward-column): New arg `interactive'
19702 is non-nil for an interactive call. Use instead of interactive-p.
19703 (picture-backward-column): Likewise.
19705 * tar-mode.el (tar-untar-buffer): New function.
19707 * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
19708 Put the mouse-face on the entire xref, like the local keymap.
19710 * find-dired.el (find-name-dired): Use shell-quote-argument.
19712 2002-03-08 Daniel Pfeiffer <occitan@esperanto.org>
19714 * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
19715 (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
19716 (mpuz-allow-double-multiplicator): New options for nicer look and
19718 (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
19719 (mpuz-check-all-solved, mpuz-random-puzzle)
19720 (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
19721 (mpuz-show-solution): Functions streamlined and removed french
19722 style space before punctuation, added face support and optional
19723 solving of trivial results.
19725 2002-03-07 Colin Walters <walters@verbum.org>
19727 * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
19729 * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
19730 instead of "recency" for clarity.
19731 (ibuffer-compile-format): Document more. Handle new "summarizer"
19733 (ibuffer-fontify-region-function): Ditto.
19734 (ibuffer-insert-buffer-line): Ditto.
19735 (ibuffer-map-lines): Ditto.
19736 (ibuffer-insert-buffers-and-marks): Ditto.
19737 (ibuffer-update-title-and-summary): Renamed from
19738 `ibuffer-update-title'. Handle "summarizer" columns.
19739 (ibuffer-clear-summary-columns): New function.
19741 * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
19743 2002-03-07 Gerd Moellmann <gerd@gnu.org>
19745 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
19746 Use the other-window instead of the other-frame functions when
19747 the window is dedicated.
19749 2002-03-06 ShengHuo ZHU <zsh@cs.rochester.edu>
19751 * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
19752 with SILENT so that a new field can be added.
19754 2002-03-06 Eli Zaretskii <eliz@is.elta.co.il>
19756 * files.el (make-auto-save-file-name): Make sure the produced file
19757 name does not contain characters that are invalid for DOS/Windows
19760 * dos-fns.el, w32-fns.el (make-auto-save-file-name):
19761 Remove replacement functions.
19763 2002-03-06 Gerd Moellmann <gerd@gnu.org>
19765 * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
19768 * vc.el (vc-branch-part): Add autoload cookie. This function can
19769 be called from vc-rcs-find-most-recent-rev when visiting a file
19770 checked into RCS in a CVS sandbox.
19772 2002-03-06 Andreas Schwab <schwab@suse.de>
19774 * progmodes/hideif.el: Augment expression parser to handle
19775 conditional expressions.
19776 (hif-token-regexp): Also match `?' and `:'.
19777 (hif-tokenize): Handle `?' and ':' as tokens.
19778 (hif-expr): Parse conditional expressions.
19779 (hif-or-expr): Parse `||' expressions.
19780 (hif-and-expr): Renamed from hif-term.
19781 (hif-conditional): New function to evaluate a conditional
19784 2002-03-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
19786 * language/czech.el ("Czech"): Fix the documentation.
19788 * language/slovak.el ("Slovak"): Likewise.
19790 2002-03-05 ShengHuo ZHU <zsh@cs.rochester.edu>
19792 * xml.el (xml-parse-attlist): Accept empty strings.
19794 2002-03-05 Eli Zaretskii <eliz@is.elta.co.il>
19796 * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
19797 all terminals now support highlighting of some kind.
19799 * language/european.el (mac-roman): Fix the safe-chars property.
19801 2002-03-05 Andre Spiegel <spiegel@gnu.org>
19803 * vc.el (vc-transfer-file): Use `make-temp-file'.
19804 (vc-default-update-changelog): Remove conditional use of
19807 * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
19809 2002-03-05 Michael Kifer <kifer@cs.stonybrook.edu>
19811 * ediff-init.el: Comments.
19813 * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
19816 * ediff-mult.el (ediff-intersect-directories)
19817 (ediff-prepare-meta-buffer,ediff-get-directory-files-under-revision):
19819 (ediff-draw-dir-diffs): Now supports the "C" command in directory
19821 (ediff-dir-diff-copy-file): New function that implements copying
19822 of files from one Ediff dir to another
19823 (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
19824 (ediff-append-custom-diff): Better error msgs.
19826 * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
19827 (ediff-inferior-compare-regions): Use
19828 ediff-clone-buffer-for-region-comparison. Better and simpler interface.
19830 * ediff.el (ediff-directories-internal): Cleanup.
19831 (ediff-clone-buffer-for-region-comparison): Better interface.
19833 2002-03-04 Richard M. Stallman <rms@gnu.org>
19835 * emacs-lisp/easy-mmode.el (define-minor-mode):
19836 Use "P" in interactive spec of minor mode commands.
19838 2002-03-04 Stefan Monnier <monnier@cs.yale.edu>
19840 * faces.el (face-spec-choose): Allow `t' to appear before the end.
19841 (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
19842 (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
19843 (variable-pitch, trailing-whitespace): Don't use the old-style entries.
19844 (mode-line-inactive, header-line): Move the `t' section to the
19845 beginning so the `:inherit' setting can be shared.
19847 2002-03-04 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
19849 * net/snmp-mode.el: Require tempo when compiling to prevent
19850 warnings. Update copyright notice.
19852 * help.el (describe-key-briefly, describe-key): Interpret `undefined'
19853 like not defined at all.
19855 2002-03-03 Stefan Monnier <monnier@cs.yale.edu>
19857 * textmodes/sgml-mode.el: Change maintainer to FSF.
19858 (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
19859 (sgml-tags-invisible, sgml-beginning-of-tag):
19860 Allow _ : and non-ASCII in tag names, as required for XML.
19861 (sgml-name-char): Don't assume anything about charsets handled by
19864 * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
19865 where one of the buffers is narrowed.
19867 * hexl.el (hexlify-command, dehexlify-command): Remove.
19868 (hexlify-buffer, dehexlify-buffer): Use call-process-region
19869 rather than shell-command-on-region.
19871 * newcomment.el (comment-forward): Use forward-comment to skip
19872 over whitespace (or comments) even when comment-use-syntax is nil.
19874 * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
19876 * textmodes/xml-lite.el: New file.
19878 2002-03-03 Richard M. Stallman <rms@gnu.org>
19880 * textmodes/artist.el (artist-system): Use make-temp-file.
19882 * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
19884 * mail/sendmail.el (mail-recover-1): Increase non-random-len
19885 by 1 since we changed make-auto-save-file-name to add one
19886 fewer character to the buffer name.
19887 (mail-recover): Really show point at the right place
19888 in the *Directory* buffer.
19890 * files.el (make-auto-save-file-name): Use make-temp-file.
19892 * terminal.el (te-create-terminfo): Use make-temp-file
19893 to create the source file in a safe way.
19895 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il>
19897 * cus-start.el: Rename automatic-hscroll-step and
19898 automatic-hscroll-margin into hscroll-step and hscroll-margin.
19900 * frame.el (auto-hscroll-mode): Renamed from automatic-hscrolling.
19901 (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
19903 * mouse.el (mouse-region-delete-keys): Add deletechar.
19905 2002-03-03 Sam Steingold <sds@gnu.org>
19907 * play/snake.el (snake-score-file): Fixed parens (broken by the
19909 * play/tetris.el (tetris-score-file): Ditto.
19911 2002-03-03 Richard M. Stallman <rms@gnu.org>
19913 * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
19915 * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
19917 * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
19918 (gamegrid-make-mono-tty-face): Fix usage of condition-case.
19920 2002-03-03 Thien-Thi Nguyen <ttn@gnu.org>
19922 * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
19923 instead of `buffer-substring-no-properties' to support enriched mode.
19925 2002-03-02 Richard M. Stallman <rms@gnu.org>
19927 * find-dired.el (find-grep-dired): Call shell-quote-argument.
19928 Specify the -e option.
19929 Rename arg to `regexp'.
19931 2002-03-02 Milan Zamazal <pdm@zamazal.org>
19933 * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
19935 2002-03-02 Miles Bader <miles@gnu.org>
19937 * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
19938 event-modifiers before looking up in `mouse-wheel-scroll-amount'.
19939 If there's no applicable modifiers entry in the alist in
19940 `mouse-wheel-scroll-amount', fall back to the default, not to
19941 nil (which causes full screen scrolls).
19943 2002-03-01 Andreas Schwab <schwab@suse.de>
19945 * textmodes/texnfo-upd.el (texinfo-start-menu-description):
19946 Remove extra paren in regexp.
19948 2002-03-01 Eli Zaretskii <eliz@is.elta.co.il>
19950 * mouse.el (mouse-show-mark): Use display-mouse-p, not
19951 display-graphic-p, to decide whether to move point or use the
19954 2002-02-28 Colin Walters <walters@verbum.org>
19956 * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
19958 * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
19959 `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
19960 (calc-temp-file-name): Use `make-temp-file'.
19962 2002-02-28 Richard M. Stallman <rms@gnu.org>
19964 * font-lock.el (java-font-lock-extra-types):
19965 Match java.net.URL, etc.
19967 2002-02-28 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
19969 * hexl.el (hexl-options): Doc fix.
19970 Update Commentary section.
19972 * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
19975 2002-02-28 Andre Spiegel <spiegel@gnu.org>
19977 * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
19978 the user to do that first.
19979 (vc-update): New function.
19981 * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
19982 which calls vc-update. Use the term "Base Version" instead of
19983 "Last Version" for the entries "Revert" and "Compare".
19985 2002-02-28 Kim F. Storm <storm@cua.dk>
19987 * simple.el (shell-command-on-region): Report non-zero exit
19988 status in mode line instead of buffer.
19990 2002-02-27 Richard M. Stallman <rms@gnu.org>
19992 * comint.el (comint-preoutput-filter-functions): Doc fix.
19993 (comint-output-filter-functions, comint-input-filter-functions)
19994 (comint-redirect-filter-functions): Likewise.
19996 (comint-redirect-preoutput-filter): Do the local-hook
19997 handling of t when running comint-redirect-filter-functions.
19998 (comint-output-filter): Likewise for comint-preoutput-filter-functions.
20000 2002-02-26 Richard M. Stallman <rms@gnu.org>
20002 * paths.el (remote-shell-program): Add doc string.
20004 2002-02-26 Colin Walters <walters@debian.org>
20006 * ibuf-ext.el (sorter mode-name): New.
20007 (ibuffer-do-occur): Don't quote ibuffer-marked-char.
20009 * calc/calc-ext.el (calc-scroll-left): Call scroll-left
20010 interactively, so they do something.
20011 (calc-scroll-right): Ditto.
20013 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
20015 * international/mule.el (ctext-pre-write-conversion): Handle the
20016 case when FROM is a string, and when we are called from
20017 build_annotations_2.
20019 2002-02-26 Richard M. Stallman <rms@gnu.org>
20021 * rect.el (clear-rectangle-line): Reindent to the same column
20022 that move-to-column reached when it tried to go to endcol.
20024 * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
20026 2002-02-26 Ivar Rummelhoff <ivarru@math.uio.no>
20028 * winner.el (winner-boring-buffers, winner-set): A window which
20029 displays a buffer whose name is in the list
20030 `winner-boring-buffers', will no longer be restored by `winner-undo'.
20031 (winner-sorted-window-list): Used to improve comparison between
20032 window configurations.
20033 (winner-win-data): Simplified and moved.
20034 (winner-conf): Simplified (now uses `winner-win-data').
20035 (winner-change-fun, winner-save-old-configurations)
20036 (winner-save-(un)conditionally, winner-redo): Changes made while in
20037 the minibuffer will be ignored. (Such changes are undone upon
20038 exit for the minibuffer, anyway.)
20039 (winner-set-conf): Preserve selected window whenever possible.
20040 (winner-make-point-alist): Simplified.
20041 (winner-mode, winner-save-unconditionally): Save current window
20042 configuration on entering minibuffer.
20043 (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
20044 since it does not change the overall behavior of Emacs.
20046 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
20048 * international/mule-conf.el (compound-text): Renamed back from
20049 compound-text-no-extensions.
20050 (ctext-no-compositions): Remove the mime-charset property.
20051 (compound-text-with-extensions): Renamed from compound-text.
20052 (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
20054 2002-02-26 Juanma Barranquero <lektu@terra.es>
20056 * faces.el (list-faces-display): Fix typo.
20058 2002-02-25 Richard M. Stallman <rms@gnu.org>
20060 * frame.el (focus-follows-mouse): Doc fix.
20062 2002-02-26 Miles Bader <miles@gnu.org>
20064 * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
20065 to `define-key', since it no longer accepts the latter.
20067 2002-02-25 Jason Rumney <jasonr@gnu.org>
20069 * term/w32-win.el (mouse-wheel-scroll-line): Use car of
20070 mouse-wheel-scroll-amount.
20072 * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
20075 * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
20077 2002-02-25 Andre Spiegel <spiegel@gnu.org>
20079 * vc.el (vc-diff-switches-list): Fix prev change, making the macro
20080 consistent with the others that take a backend name as a symbol.
20082 * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
20084 2002-02-25 Kim F. Storm <no-spam@cua.dk>
20086 * comint.el (comint-replace-by-expanded-filename): Do nothing if
20087 comint-match-partial-filename returns nil.
20089 * shell.el (shell-pcomplete-setup-done): New variable.
20090 (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
20091 (shell-pcomplete-reverse): Ditto.
20093 2002-02-25 Per Abrahamsen <abraham@dina.kvl.dk>
20095 * ps-print.el (ps-print-printer): Added `lpr' customize group member.
20097 2002-02-25 Juanma Barranquero <lektu@terra.es>
20099 * subr.el (save-match-data): Doc fix.
20101 * ielm.el (ielm-prompt): Allow customization; make it read-only.
20103 2002-02-25 Kim F. Storm <storm@cua.dk>
20105 * shell.el (shell-mode-map): Add "Complete" header so completion
20106 menu is shown on the menu bar in shell mode.
20108 2002-02-25 Stefan Monnier <monnier@cs.yale.edu>
20110 * ielm.el (ielm-match-data): New var.
20111 (inferior-emacs-lisp-mode): Make it buffer-local.
20112 (ielm-eval-input): Use it to preserve match-data between inputs.
20114 2002-02-24 Juanma Barranquero <lektu@terra.es>
20116 * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
20118 2002-02-24 Per Abrahamsen <abraham@dina.kvl.dk>
20120 * cus-edit.el (custom-unlispify-remove-prefixes): Add to
20121 `custom-buffer' customize group.
20123 2002-02-23 Kim F. Storm <storm@cua.dk>
20125 * help.el (where-is): Use remap-command.
20127 * help-fns.el (describe-function-1): Use remap-command.
20129 * subr.el (global-set-key, local-set-key): Undo 2002-02-06
20130 change (no longer accept a symbol for the KEY argument).
20132 2002-02-23 Colin Walters <walters@debian.org>
20134 * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
20135 * calc/calcalg2.el (math-solve-get-sign): Ditto.
20137 * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
20138 in generated function.
20140 * ibuf-ext.el (ibuffer-old-time): Change to hours.
20141 (ibuffer-mark-old-buffers): Handle it.
20143 * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
20144 (toplevel): Bind them.
20145 (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
20146 not necessary now that we use pcomplete.
20148 * comint.el: Document how use new pcomplete completion facility.
20150 2002-02-23 Richard M. Stallman <rms@gnu.org>
20152 * mail/rmailsum.el (rmail-summary-output): Properly advance
20153 to next message, by calling rmail-summary-goto-msg.
20155 * net/browse-url.el (browse-url-galeon): Specify --existing
20156 for an existing window. Use --noraise rather than --no-raise.
20159 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
20161 * progmodes/etags.el (find-tag-noselect, find-tag)
20162 (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
20163 Fix a typo in doc strings.
20165 2002-02-20 Deepak Goel <deego@glue.umd.edu>
20167 * play/snake.el (snake-velocity-queue, snake-update-velocity)
20168 (snake-final-x-velocity, snake-final-y-velocity):
20169 New variable and functions. Store user's keypresses
20170 into a queue and pop from the queue each subsequent turn.
20171 (snake-update-game, snake-move-left)
20172 (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
20173 (snake-start-game): Use that queue.
20174 (snake-use-glyphs-flag): Renamed from snake-use-glyphs.
20175 (snake-use-color-flag): Likewise.
20176 (snake-mode): Rename uses of those variables.
20178 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
20180 Support for ICCCM Extended Segments in X selections:
20182 * international/mule-conf.el (ctext-no-compositions): New coding
20184 (compount-text-no-extensions): Renamed from compound-text.
20185 (x-ctext-no-extensions, ctext-no-extensions): Aliases for
20186 compound-text-no-extensions.
20187 (compound-text): Redefined using post-read and pre-write conversions.
20189 * international/mule.el (non-standard-icccm-encodings-alist)
20190 (non-standard-designations-alist): New variables.
20191 (ctext-post-read-conversion, ctext-pre-write-conversion):
20194 2002-02-21 Jonathan Kamens <jik@kamens.brookline.ma.us>
20196 * vc.el (vc-default-init-version): Update documentation to
20197 indicate that the backend can override the default init version.
20198 (vc-register): Use the backend init-version function, if it
20199 exists, to determine the initial version of a file.
20200 (vc-diff-switches-list): Don't symbol-quote backend, since it's
20201 already a symbol. Don't fail if vc-BACKEND-diff-switches isn't bound.
20203 * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
20204 not version-controlled. This is necessary, e.g., if the file has
20205 just been reverted, and thus was previously under version control
20206 but isn't any longer.
20207 (vc-find-file-hook): Likewise.
20209 2002-02-21 Martin Lorentzson <Martin.Lorentzson@telia.com>
20211 * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
20212 (vc-cvs-sticky-tag-display): New variable.
20213 (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
20214 (vc-cvs-checkin): If the input revision is a valid symbolic tag
20215 name, we create it as a branch, commit and switch to it.
20216 (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
20217 (vc-cvs-valid-symbolic-tag-name-p): New function.
20218 (vc-cvs-parse-sticky-tag): New function.
20219 (vc-cvs-parse-entry): Add parsing of sticky tags.
20221 2002-02-21 Per Abrahamsen <abraham@dina.kvl.dk>
20223 * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
20224 nil, and then explicitly set the standard-value to t.
20226 2002-02-20 Sam Steingold <sds@gnu.org>
20228 * textmodes/flyspell.el (flyspell-mode): Autoload the variable
20229 since it is used in the menu bar.
20231 2002-02-20 Richard M. Stallman <rms@gnu.org>
20233 * simple.el (shell-command-on-region): Display the exit status
20234 when a command fails.
20236 * subr.el (add-hook): Doc fix.
20238 * frame.el (other-frame): Doc fix.
20240 * simple.el (yank): Clear `field' property.
20242 2002-02-20 Tom Tromey <tromey@cachet>
20244 * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
20245 natural paragraph boundaries. Don't fail at beginning of buffer.
20247 2002-02-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20249 * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
20250 call the argument "arg" to match plain next-line and
20251 previous-line. From Kevin Ryde <user42@zip.com.au>.
20253 2002-02-19 Sam Steingold <sds@gnu.org>
20255 * mwheel.el (mouse-wheel-scroll-amount): Can specify different
20256 scroll amounts for different modifiers now.
20257 (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
20259 (mouse-wheel-mode): Ditto.
20261 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il>
20263 * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
20264 around function body.
20266 * net/browse-url.el (browse-url-maybe-new-window): Reverse the
20267 sense of the comparison, to match the doc strings of functions
20268 that use this macro.
20270 2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
20272 * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
20274 * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
20275 * menu-bar.el (menu-bar-mode): Ditto.
20277 2002-02-18 Andreas Schwab <schwab@suse.de>
20279 * replace.el (query-replace-regexp-eval): Doc fix.
20281 2002-02-18 Colin Walters <walters@verbum.org>
20283 * calc/calcalg2.el (math-solve-get-int): Convert return value from
20284 `math-get-from-counter' to a string before calling `concat' on it.
20286 * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
20287 (calc-public-autoloads): Obsolete; remove.
20288 (calc-private-autoloads): Ditto.
20289 (calc-add-autoloads): Ditto.
20291 * calc/calc-macs.el (calc-with-default-simplification): Use &rest
20294 2002-02-17 Jason Rumney <jasonr@gnu.org>
20296 * w32-win.el (x-option-alist, x-long-option-alist)
20297 (x-switch-definitions): Remove, use command-line-x-option-alist
20298 instead to be consistent with X.
20299 (x-handle-initial-switch): New function.
20301 2002-02-17 Eli Zaretskii <eliz@is.elta.co.il>
20303 * faces.el (mode-line-inactive, header-line): Add the :inherit
20304 attribute for the tty case.
20306 2002-02-17 stanislav shalunov <shalunov@internet2.edu>
20308 * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
20309 invoked from Rmail with full headers displayed.
20311 2002-02-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
20313 * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
20315 * textmodes/paragraphs.el (mark-paragraph): Ditto.
20317 2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
20319 * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
20320 (menu-bar-tools-menu): Removed speedbar.
20322 * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
20323 and `flyspell-mode' entries.
20325 * textmodes/flyspell.el (flyspell): Add to ispell group.
20327 2002-02-17 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
20329 * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
20331 (mark-defun): Mark more if repeated.
20333 2002-02-17 Colin Walters <walters@verbum.org>
20335 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
20337 * ibuffer.el (ibuffer-truncate-lines): New option.
20338 (ibuffer-mode): Use it.
20340 2002-02-17 Kim F. Storm <storm@cua.dk>
20342 * cus-start.el: Add mouse-highlight.
20344 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
20346 * Makefile.in (DONTCOMPILE): Remove cus-start.el.
20348 * cus-start.el: Add automatic-hscroll-margin and
20349 automatic-hscroll-step.
20351 2002-02-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20353 * cus-start.el (x-autoselect-window): Allow customization.
20355 * eshell/em-alias.el (eshell-alias-initialize): Do not use
20358 * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
20360 * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
20362 * eshell/em-glob.el (eshell-glob-initialize): Likewise.
20364 * eshell/em-hist.el (eshell-hist-initialize): Likewise.
20366 * eshell/em-pred.el (eshell-pred-initialize): Likewise.
20368 * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
20370 * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
20372 * eshell/em-smart.el (eshell-smart-initialize): Likewise.
20374 * eshell/em-unix.el (eshell-unix-initialize): Likewise.
20376 * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
20378 * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
20380 * eshell/esh-io.el (eshell-io-initialize): Likewise.
20382 * eshell/esh-mode.el (eshell-mode): Likewise.
20384 * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
20386 * eshell/esh-var.el (eshell-var-initialize): Likewise.
20388 * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
20390 * progmodes/idlwave.el (idlwave-mode): Likewise.
20392 * textmodes/reftex-sel.el (reftex-select-label-mode)
20393 (reftex-select-bib-mode): Likewise.
20395 2002-02-16 John Wiegley <johnw@gnu.org>
20397 * eshell/em-hist.el (eshell-hist-initialize): When in the
20398 minibuffer, use the global value of `eshell-history-ring', and
20399 never save it to disk, or ask to save it to disk. This allows
20400 users of session.el to control whether its global state should be
20402 (eshell-add-command-to-history): Don't write Eshell's history out
20403 to disk, let the governing mode control that upon exit.
20405 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
20407 * eshell/eshell.el (eshell-command): Before reading from the
20408 minibuffer, add eshell-add-command-to-history to
20409 minibuffer-exit-hook, and remove it after read-from-minibuffer
20412 * eshell/em-hist.el (eshell-add-input-to-history): New function,
20413 with most of the code from eshell-add-to-history.
20414 (eshell-add-command-to-history): New function, to record in
20415 eshell-history the commands run via eshell-command.
20416 (eshell-add-to-history): Call eshell-add-command-to-history to do
20419 2002-02-16 John Wiegley <johnw@gnu.org>
20421 * eshell/esh-ext.el (eshell-external-command): Added a fix for
20422 XEmacs' new dired.el, which adds a global entry in the
20423 `file-name-handler-alist'.
20425 2002-02-16 John Wiegley <johnw@gnu.org>
20427 * align.el (align-region): Added a missing name argument.
20429 2002-02-16 John Wiegley <johnw@gnu.org>
20431 * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
20432 after the #! of a shell interpretor specification.
20434 2002-02-15 Richard M. Stallman <rms@gnu.org>
20436 * help.el (describe-key-briefly): Make output in INSERT case
20437 look just like what is displayed in the normal case.
20439 2002-02-15 Andreas Schwab <schwab@suse.de>
20441 * textmodes/tex-mode.el (tex-font-lock-keywords-2):
20442 Require non-letter after specials.
20444 2002-02-15 Eli Zaretskii <eliz@is.elta.co.il>
20446 * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
20448 2002-02-15 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
20450 * simple.el (mark-word): Mark more if repeated.
20451 * textmodes/paragraphs.el (mark-paragraph): Ditto.
20452 (mark-end-of-sentence): Ditto.
20454 2002-02-15 Per Abrahamsen <abraham@dina.kvl.dk>
20456 * wid-edit.el (widgetp): Made it more robust.
20458 2002-02-14 Per Abrahamsen <abraham@dina.kvl.dk>
20460 * facemenu.el (describe-text-done): New function.
20461 (describe-text-mode-map): New variable.
20462 (describe-text-mode-hook): New option.
20463 (describe-text-mode): New function.
20464 (describe-text-widget): New function.
20465 (describe-text-sexp): New function.
20466 (describe-text-properties): New function.
20467 (describe-text-category): New command.
20468 (describe-text-at): New command.
20469 (facemenu-menu): Replace `list-text-properties-at' with
20470 `describe-text-at' in the menu.
20472 * wid-edit.el (widgetp): New function.
20473 * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
20475 * emacs-lisp/pp.el (pp-to-string): Autoloaded.
20477 * wid-browse.el: Removed version and x-url keywords.
20479 2002-02-13 Kim F. Storm <storm@cua.dk>
20481 * cus-start.el (mode-line-in-non-selected-windows):
20482 Allow customization.
20484 2002-02-13 Richard M. Stallman <rms@gnu.org>
20486 * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
20487 Tell bibtex-parse-keys to output no progress messages.
20489 2002-02-12 Eli Zaretskii <eliz@is.elta.co.il>
20491 * progmodes/pascal.el (pascal-imenu-generic-expression):
20492 Add menu-title and fix parentheses.
20494 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
20496 * menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
20497 (menu-bar-options-menu): Don't set default value for `truncate-lines'.
20499 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
20501 * menu-bar.el (menu-bar-options-save): Only save
20502 `current-language-environment' and `default-input-method' when
20503 marked as customized.
20505 * international/mule-cmds.el
20506 (setup-specified-language-environment):
20507 Mark `current-language-environment' as customized.
20508 (set-input-method): Mark `default-input-method' as customized when
20509 called interactively.
20510 (toggle-input-method): Ditto.
20512 2002-02-11 Colin Walters <walters@verbum.org>
20514 * ibuffer.el (ibuffer-switch-format): Supply required argument for
20515 `ibuffer-current-formats'.
20517 2002-02-11 Miles Bader <miles@gnu.org>
20519 * faces.el (mode-line-inactive): Add dark-background variant.
20521 2002-02-11 Per Abrahamsen <abraham@dina.kvl.dk>
20523 * toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
20524 * menu-bar.el (menu-bar-mode): Ditto.
20525 * cus-edit.el (customize-mark-to-save): Always save variables
20526 without a standard value.
20528 * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
20529 (menu-bar-options-save): Ditto.
20530 (menu-bar-showhide-menu): Ditto.
20531 (menu-bar-options-menu): Ditto.
20532 (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
20533 (menu-bar-scroll-bar-none): Remove.
20534 (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
20535 expressions instead.
20537 * cus-edit.el (customize-set-value): Return value.
20538 (customize-set-variable): Ditto.
20539 (customize-save-variable): Ditto.
20540 (customize-set-variable): Load dependencies before setting value.
20541 (custom-load-symbol): Autoload it.
20542 (customize-mark-as-set): New function.
20544 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il>
20546 * cus-start.el: Don't warn about "x-*" symbols when building a
20549 2002-02-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20551 * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
20553 (strokes-help): Do not use doubled with-output-to-temp-buffer.
20554 Fix the help string.
20555 (strokes-prompt-user-save-strokes): Fix typo.
20556 (strokes-list-strokes): Use proper exit-action argument for
20557 view-buffer. Update copyright notice.
20559 * international/mule-diag.el: Various doc and message fixes.
20560 (non-iso-charset-alist): Add mac-roman. Don't add entries for
20561 codepages already present.
20562 (list-block-of-chars): Display space for null entries in
20563 translation table. Display tab specially.
20564 (list-non-iso-charset-chars): Check for null charsets. Use pop
20565 for clarity. Don't break 8-bit sets into sections between ranges.
20566 (list-charset-chars): Avoid indent-tabs-mode.
20567 (describe-char-after): Maybe use the text property for syntax
20568 table information. Maybe report char-code-property-table info.
20569 Maybe report character's unicode. Tweak printing of list info.
20570 (list-input-methods): Add xref buttons.
20571 (dump-charsets, dump-codings): Deleted (obsolete).
20572 From Dave Love <fx@gnu.org>.
20574 2002-02-10 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20576 * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
20578 2002-02-10 Michael Kifer <kifer@cs.stonybrook.edu>
20580 * viper-util.el (viper-read-key-sequence): Fix so it'll read
20581 fast key sequences in emacs native mode
20582 (viper-events-to-keys): Delete.
20584 * viper.el (describe-key, describe-key-briefly): Get rid of
20585 viper-events-to-keys.
20587 * ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch.
20589 * ediff-wind.el (ediff-setup-control-frame):
20590 Use ediff-has-gutter-support.
20592 * ediff-util.el (ediff-dispose-of-variant-according-to-user):
20593 check if buff is alive.
20595 * ediff.el: Typo in comment.
20597 2002-02-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20599 * menu-bar.el (menu-bar-options-save): Take care of
20600 line-number-mode and column-number-mode variables.
20601 (menu-bar-showhide-menu): New menu-items "Show Line Number" and
20602 "Show Column Number" in "Show/Hide" menu.
20604 2002-02-09 Richard M. Stallman <rms@gnu.org>
20606 * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
20608 2002-02-09 Kim F. Storm <storm@cua.dk>
20610 * faces.el (mode-line-inactive): New face for mode-line for
20611 non-selected windows.
20612 (mode-line): Doc fix: Only used for selected window.
20614 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
20616 * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
20617 name to "Insert Diary Entry".
20619 2002-02-08 Stefan Monnier <monnier@cs.yale.edu>
20621 * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
20622 (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
20624 2002-02-08 Richard M. Stallman <rms@gnu.org>
20626 * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
20628 2002-02-08 Andreas Schwab <schwab@suse.de>
20630 * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
20633 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
20635 * net/ange-ftp.el (ange-ftp-process-handle-line)
20636 (ange-ftp-set-xfer-size): If the file's size is a float, divide
20637 by 1024 instead of using ash.
20639 * international/mule-cmds.el (select-safe-coding-system):
20640 State the buffer's name in the message popped in the *Warning* buffer,
20641 and make sure the offending buffer is displayed.
20643 2002-02-07 Markus Rost <rost@math.ohio-state.edu>
20645 * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
20647 2002-02-07 Richard M. Stallman <rms@gnu.org>
20649 * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
20651 * register.el (list-registers): New command.
20652 (describe-register-1): New subroutine, taken out of view-register.
20654 * emacs-lisp/copyright.el (copyright-regexp):
20655 Delete the unibyte copyright symbol; it's redundant.
20656 Fix a spazz in the multibyte encoding here.
20658 2002-02-07 Dave Love <fx@gnu.org>
20660 * language/cyril-util.el (cyrillic-encode-koi8-r-char)
20661 (cyrillic-encode-alternativnyj-char): Get translation tables from
20662 symbol properties, not as variables.
20663 (standard-display-cyrillic-translit): Include unicodes.
20665 2002-02-06 Kim F. Storm <storm@cua.dk>
20667 * help.el (where-is): Report remapped commands.
20669 * help-fns.el (describe-function-1): Ditto.
20671 * subr.el (global-set-key, local-set-key): Accept a symbol for the
20672 KEY argument (like define-key).
20674 2002-02-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20676 * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
20678 2002-02-06 Richard M. Stallman <rms@gnu.org>
20680 * mail/mailabbrev.el: Require sendmail only at compile time.
20681 (mail-mode-header-syntax-table): Var deleted.
20682 (mail-abbrev-syntax-table): Init to nil, will compute when needed.
20683 (sendmail-pre-abbrev-expand-hook): Only temporarily change
20684 local-abbrev-table and the syntax table.
20685 Compute mail-abbrev-syntax-table if that has not been done.
20687 * progmodes/compile.el (grep-compute-defaults): Definition moved up.
20689 * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
20690 (debugger-frame-number): Figure out the offset directly.
20691 (debugger-setup-buffer): Don't use debugger-frame-offset.
20692 (debugger-frame, debugger-frame-clear): Likewise.
20693 (debugger-jump): Don't alter debugger-frame-offset.
20695 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
20696 Replace foo-p as var name with foo-flag, not foo-p-flag.
20698 * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
20699 (highlight-changes-passive-string): Default to -Chg.
20700 (highlight-changes-global-modes): Doc fix.
20702 * dired.el (dired-get-filename): Add /: when appropriate
20703 to avoid taking a local name as remote.
20705 * files.el (file-name-non-special): Add special handling for
20706 file-name-sans-versions, file-name-completion, and
20707 file-name-all-completions.
20709 * isearch.el (isearch-update): Don't update display in kbd macro.
20710 (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
20712 * subr.el (force-mode-line-update): Doc fix.
20714 * subr.el (atomic-change-group, prepare-change-group)
20715 (activate-change-group, accept-change-group, cancel-change-group):
20718 * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
20719 (transpose-subr-1): Use atomic-change-group.
20721 * subr.el (add-minor-mode): Include the mode's lighter string
20722 in the minor mode menu item name.
20724 * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
20725 rmail-count-screen-lines starting from (point-min).
20727 * startup.el (use-fancy-splash-screens-p): Need 19 lines,
20728 beyond the image height, to use the fancy splash screen.
20730 * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
20731 (text-mode): Set text-mode-variant here.
20733 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il>
20735 * play/pong.el (pong-height): Don't use height that exceeds the
20737 (pong-border-options): Make the border colors slightly more bright.
20739 * play/gamegrid.el (gamegrid-display-type): Treat any
20740 color-capable display as color-x, if display-color-p is fboundp.
20741 (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
20742 (gamegrid-make-color-tty-face): Use the value of color, not the
20743 symbol itself. Don't call gamegrid-color.
20745 2002-02-05 Eli Zaretskii <eliz@is.elta.co.il>
20747 * gud.el (gud-refresh): Call recenter only after we are sure we
20748 are in the right window.
20750 2002-02-05 Per Abrahamsen <abraham@dina.kvl.dk>
20752 * cus-edit.el (customize-mark-to-save): New function.
20753 * menu-bar.el (menu-bar-options-save): Rewrote.
20755 2002-02-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20757 * cus-start.el (x-use-underline-position-properties):
20758 Allow customization.
20760 2002-02-04 Simon Josefsson <jas@extundo.com>
20762 * dired.el (dired-load-hook, dired-mode-hook)
20763 (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
20765 2002-02-03 Colin Walters <walters@verbum.org>
20767 * ibuf-ext.el (ibuffer-filter-format-alist)
20768 (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
20770 * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
20771 is now the Emacs CVS tree.
20772 (ibuffer-formats): Doc fix.
20773 (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
20774 (ibuffer-current-format): Use them.
20775 (ibuffer-recompile-formats, ibuffer-check-formats)
20776 (ibuffer-switch-format, ibuffer-update-title):
20777 Add support for ibuffer-filter-format-alist.
20778 (define-ibuffer-column process): Remove unncessary consing.
20780 * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
20781 for a summary column.
20783 2002-02-03 Andreas Schwab <schwab@suse.de>
20785 * window.el (save-selected-window): Move macro before first use.
20786 (balance-windows): Fix misplaced parenthesis.
20788 2002-02-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20790 * calculator.el (calculator-displayers): Doc fixes.
20792 2002-02-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20794 * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
20795 (menu-bar-options-save): Save also the value of `display-time-mode'.
20796 (showhide-date-time): New function.
20797 (menu-bar-showhide-menu): New menu-item "Date and time".
20799 2002-02-03 Eli Zaretskii <eliz@is.elta.co.il>
20801 * mail/rmail.el (rmail): Use find-buffer-visiting instead of
20802 get-file-buffer to check for rmail buffer existence.
20804 * term.el (term-emulate-terminal): Extract proper command string
20805 which is supplied to term-command-hook.
20807 2002-02-03 Richard M. Stallman <rms@gnu.org>
20809 * international/quail.el (quail-help): Don't call help-setup-xref.
20811 * international/mule-cmds.el (describe-input-method):
20812 Call help-setup-xref here.
20813 (describe-current-input-method): Doc fix.
20815 * novice.el (disabled-command-hook): Clarify output text.
20816 Indent the paragraph from the command's doc string.
20818 * dabbrev.el (dabbrev--goto-start-of-abbrev):
20819 Exit loop on beginning of field rather than bobp.
20821 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
20823 * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
20824 the message text into the *mail* buffer, and restore the pruned
20827 * mail/rmail.el (rmail-redecode-body): Prune the headers before
20828 looking for X-Coding-System header, and restore the pruned state
20831 2002-02-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20833 * cus-edit.el (customize-save-variable): Fix typo in prompt.
20835 These changes integrate new version of flyspell.el from its
20836 maintainer, Manuel Serrano:
20838 * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
20839 (flyspell-mode-on, flyspell-notify-misspell)
20840 (flyspell-small-region, flyspell-external-point-words)
20841 (flyspell-large-region): Use it
20842 (flyspell-before-incorrect-word-string)
20843 (flyspell-after-incorrect-word-string): New user options.
20844 (make-flyspell-overlay): Use them.
20845 (flyspell-version): New function.
20846 (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
20847 definitions to use :weight.
20848 (flyspell-insert-function): New user option.
20849 (flyspell-auto-correct-word, flyspell-correct-word)
20850 (flyspell-xemacs-correct): Use it.
20851 (flyspell-define-abbrev): New function.
20852 (flyspell-auto-correct-word, flyspell-correct-word)
20853 (flyspell-xemacs-correct): Use it.
20854 (make-flyspell-overlay): Use `evaporate' property.
20855 (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
20856 (flyspell-emacs-popup): Use `session' instead of `accept'.
20857 (flyspell-auto-correct-previous-pos): New variable.
20858 (flyspell-auto-correct-previous-hook)
20859 (flyspell-auto-correct-previous-word): New functions.
20861 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
20863 * novice.el (enable-command): If Emacs was invoked as "emacs -q",
20864 don't alter the user's ~/.emacs.
20865 (disable-command): If user-init-file is nil or does not exist,
20866 default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
20867 But don't alter the init file if Emacs was invoked as "emacs -q"
20869 2002-02-01 Stefan Monnier <monnier@cs.yale.edu>
20871 * mail/sendmail.el (mail-mode): Undo half of last change.
20873 * indent.el (indent-for-tab-command): Remove spurious code.
20875 * hi-lock.el (hi-lock-find-patterns): Save restriction.
20877 2002-02-01 Eli Zaretskii <eliz@is.elta.co.il>
20879 * calendar/time-date.el: Moved from lisp/gnus.
20881 * calendar/parse-time.el: Ditto.
20883 2002-01-31 Richard M. Stallman <rms@gnu.org>
20885 * international/iso-acc.el (iso-languages): Fix ", " in French.
20887 * cus-start.el (history-length): Specify customization for it.
20889 * emacs-lisp/debug.el (debugger-setup-buffer):
20890 When an eval-buffer frame was reading from a buffer,
20891 insert indication of the buffer position.
20892 (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
20893 (debugger-frame-clear, debugger-frame): Error on non-frame line.
20895 * simple.el (shell-command-on-region): Err if no mark
20896 before reading the command string.
20898 * hl-line.el (hl-line-highlight, hl-line-unhighlight):
20899 Definitions moved down after hl-line-mode var's definition.
20901 * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
20902 (hilit-chg-set-face-on-change): Rename arg.
20903 (hilit-chg-make-ov): Detect error earlier.
20905 * ediff-hook.el: Delete autoload cookies.
20907 * comint.el (comint-scroll-show-maximum-output): Default is t.
20909 * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
20910 (batch-byte-compile-if-not-done): New function.
20912 * Makefile.in (compile): New target.
20913 (compile-always): Renamed from compile-files.
20914 (compile-after-backup): Renamed from compile.
20915 (bootstrap): Depend on compile-always, not compile-files.
20917 * emulation/pc-select.el (pc-select-save-and-set-mode):
20918 Properly use MODE-VAR.
20920 2002-01-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20922 * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
20923 Version" to "About Emacs".
20924 (menu-bar-options-save): Add `default-frame-alist'
20925 to saved variables.
20926 (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
20927 of the variable `scroll-bar-mode'.
20929 * startup.el (normal-splash-screen, display-splash-screen):
20930 New functions (separated from command-line-1).
20931 (command-line-1): Use them.
20933 2002-01-28 Eli Zaretskii <eliz@is.elta.co.il>
20935 * calendar/calendar.el (generate-calendar-month): Doc fix.
20937 2002-01-27 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
20939 * time.el (display-time-mail-directory): New option.
20940 (display-time-mail-function): Update doc-string.
20941 (display-time-mail-icon): Use XPM image when available.
20942 (display-time-string-forms): Use more descriptive text as
20943 help-echo property.
20944 (display-time-mail-check-directory): New function.
20945 (display-time-update): Use it.
20947 * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
20948 Quote `window-system'.
20950 * tmm.el (tmm-get-keymap): Honour :visible in `menu-item'.
20951 Add Keywords header. Update Commentary section.
20952 Update copyright notice.
20954 * menu-bar.el (menu-bar-scroll-bar-right)
20955 (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
20956 (showhide-menu-bar): New functions.
20957 (menu-bar-showhide-menu): New submenu "Show/Hide".
20958 (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
20960 Update copyright notice.
20962 2002-01-27 Eli Zaretskii <eliz@is.elta.co.il>
20964 * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
20966 2002-01-26 Evgeny Roubinchtein <evgenyr@cs.washington.edu>
20968 * pc-select.el (pc-selection-mode-hook)
20969 (pc-select-saved-settings-alist, pc-select-map)
20970 (pc-select-saved-global-map, pc-select-key-bindings-alist)
20971 (pc-select-default-key-bindings, pc-select-extra-key-bindings)
20972 (pc-select-meta-moves-sexps-key-bindings)
20973 (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
20975 (pc-select-define-keys, pc-select-restore-keys): New functions.
20976 (pc-select-add-to-alist, pc-select-save-and-set-var)
20977 (pc-select-save-and-set-mode, pc-select-restore-var)
20978 (pc-select-restore-mode): New macros.
20979 (pc-selection-mode): Completely rewrote the body of the function;
20980 the main goal was to make pc-selection-mode "turn-off"-able, like
20981 other minor modes. Use define-minore-mode instead of just a
20982 defun. Store the key bindings into four alists:
20983 pc-select-default-key-bindings, pc-select-extra-key-bindings,
20984 pc-select-meta-moves-sexps-key-bindings, and
20985 pc-select-tty-key-bindings; then have the pc-select-define-keys
20986 function walk those alists instead of calling define-key
20987 repeatedly. When the mode is turned on, set the
20988 keybindings in global-map and remember the old keybindings; when
20989 the mode is turned off, restore the previously-saved keybindings.
20990 (pc-selection-mode defcustom): Reflect the fact that the mode is
20991 now "turn-off"-able.
20993 2002-01-26 Eli Zaretskii <eliz@is.elta.co.il>
20995 * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
20996 returns t, don't treat that as an error.
20998 2002-01-25 Jason Rumney <jasonr@gnu.org>
21000 * faces.el (face-font-registry-alternatives) [windows-nt]:
21001 Add ms-oemlatin as an alternative for iso8859-1.
21003 2002-01-25 Stefan Monnier <monnier@cs.yale.edu>
21005 * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
21006 args and the absence of an entry. Don't add -f each time.
21008 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il>
21010 * emacs-lisp/cl-seq.el (mismatch): Doc fix.
21012 Support for more than 8 colors on character terminals:
21014 * term/rxvt.el: New file.
21016 * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
21018 * term/xterm.el (xterm-standard-colors): New variable.
21019 (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
21020 (xterm-rxvt-set-background-mode): New functions.
21021 (toplevel): Call xterm-register-default-colors,
21022 xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
21023 Add support for more keys from xterm's terminfo entry.
21025 * facemenu.el (list-colors-display): If the argument is nil, don't
21026 show more colors that the number returned by display-color-cells.
21028 * term/pc-win.el (msdos-color-values): Reverse the order of the
21029 colors, since tty-color-define now preserves the registration order.
21031 * w32-fns.el (w32-tty-standard-colors): Reverse the order.
21033 * term/tty-colors.el (tty-standard-colors): Reverse the order.
21034 (tty-register-default-colors): New function; code moved from
21035 startup.el's command-line.
21036 (tty-modify-color-alist): Use nconc instead of cons, to preserve
21037 the order the colors where registered.
21039 * frame.el (display-color-cells): Use tty-display-color-cells.
21041 * startup.el (command-line): Call tty-register-default-colors.
21043 2002-01-25 Richard M. Stallman <rms@gnu.org>
21045 * subr.el (remove): Doc fix.
21047 2002-01-24 Richard M. Stallman <rms@gnu.org>
21049 * progmodes/compile.el (compilation-handle-exit):
21050 Add a compilation-handle-exit property to the "finished" message.
21051 (compilation-parse-errors): Stop parsing when that property is seen.
21053 * subr.el (substring-no-properties): New function.
21054 (copy-without-properties): Function deleted.
21056 * term/x-win.el (x-handle-geometry): Put sizes on both
21057 initial-frame-alist and default-frame-alist.
21059 * cus-edit.el (custom-save-all): Bind file-precious-flag to t
21062 * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
21064 * calendar/calendar.el (generate-calendar-month): Doc fix.
21066 2002-01-23 Richard M. Stallman <rms@gnu.org>
21068 * play/tetris.el (tetris): New defgroup.
21069 (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
21070 (tetris-default-tick-period): Convert to defcustom.
21071 Added * in docstring to indicate user variable.
21072 (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
21073 (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
21074 (tetris-buffer-height, tetris-width, tetris-height)
21075 (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
21077 2002-01-22 Stefan Monnier <monnier@cs.yale.edu>
21079 * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
21080 and is already matched by adaptive-fill-regexp.
21082 2002-01-22 Richard M. Stallman <rms@gnu.org>
21084 * bindings.el (mode-line-copied-mode-name): New variable.
21085 (mode-line-mode-name): Don't modify mode-name itself!
21086 Instead, make a copy and reuse it.
21088 * subr.el (copy-without-properties): New function.
21090 * progmodes/sh-script.el (sh-set-shell): Doc fix.
21092 * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
21093 slash if DIR is just slash.
21095 * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
21097 2002-01-21 Richard M. Stallman <rms@gnu.org>
21099 * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
21101 * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
21104 * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
21106 * ibuffer.el: Don't require ibuf-ext at load time.
21107 (ibuffer): Require ibuf-ext here.
21109 2002-01-21 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
21111 * generic-x.el (apache-conf-generic-mode): Highlight the first
21112 word in a line even if preceded by blanks.
21114 2002-01-21 Richard M. Stallman <rms@gnu.org>
21116 * window.el (window-body-height): Handle minibuffer window specially.
21117 Otherwise, don't return less than 1.
21119 2002-01-20 Thomas Dorner <Thomas.Dorner@start.de>
21121 * ange-ftp.el: Added support for BS2000, and for raw ftp
21122 login commands (needed in some circumstances).
21123 (ange-ftp-raw-login): New custom var.
21124 (ange-ftp-normal-login): Perform login with raw ftp commands, if
21125 ange-ftp-raw-login is set and account password is needed.
21126 (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
21127 (ange-ftp-bs2000-filename-pubset-regexp)
21128 (ange-ftp-bs2000-filename-username-regexp)
21129 (ange-ftp-bs2000-filename-prefix-regexp)
21130 (ange-ftp-bs2000-name-template): New consts.
21131 (ange-ftp-bs2000-short-filename-regexp)
21132 (ange-ftp-bs2000-fix-name-regexp-reverse)
21133 (ange-ftp-bs2000-fix-name-regexp): New consts.
21134 (ange-ftp-bs2000-special-prefix): New custom var.
21135 (ange-ftp-fix-name-for-bs2000)
21136 (ange-ftp-fix-dir-name-for-bs2000): New funs.
21137 (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
21138 (ange-ftp-bs2000-posix-hook-installed): New vars.
21139 (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
21140 (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
21141 (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
21142 (ange-ftp-bs2000-filename-regexp): New const.
21143 (ange-ftp-bs2000-additional-pubsets): New custom var.
21144 (ange-ftp-bs2000-cd-to-posix): New fun.
21146 2002-01-20 Colin Walters <walters@verbum.org>
21148 * ibuffer.el: (toplevel) Require `ibuf-ext', which is now compiled
21149 with `byte-compile-dynamic'.
21150 (ibuffer-default-directory, toplevel): Doc files.
21152 2002-01-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21154 * tempo.el (tempo-define-template): Doc fix.
21156 * scroll-bar.el (scroll-bar-mode): Make argument optional.
21158 2002-01-20 Jason Rumney <jasonr@gnu.org>
21160 * w32-vars.el: New file.
21162 * loadup.el [windows-nt]: Load it.
21164 * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
21165 and make them defcustoms.
21167 * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
21169 2002-01-19 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21171 * language/tibet-util.el (tibetan-decompose-region)
21172 (tibetan-decompose-string): Fix typo in docstring.
21174 * ruler-mode.el (ruler-mode): New keyword. Fix :version.
21176 2002-01-18 Richard M. Stallman <rms@gnu.org>
21178 * comint.el (comint-redirect-send-command-to-process):
21179 Restore previous current buffer.
21181 * window.el (window-body-height): New function.
21183 2002-01-18 Zoltan Kemenczy <kemenczy@rogers.com>
21185 * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
21186 "Finish Function" menu map entries for jdb mode.
21187 (gud-jdb-use-classpath): New customization variable.
21188 (gud-jdb-command-name): Add customization.
21189 (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
21190 (gud-jdb-classpath-string): New variable.
21191 (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
21192 (gud-jdb-build-source-files-list): Likewise.
21193 (gud-jdb-massage-args): Record any command argument classpath
21194 string in `gud-jdb-classpath-string'.
21195 (gud-jdb-lowest-stack-level): New function, finds bottom of current
21196 java call stack in jdb output.
21197 (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
21198 (gud-jdb-parse-classpath-string): New functions.
21199 (gud-jdb-marker-filter): Search/detect classpath information in
21200 jdb's output. marker regexp updated to match oldjdb and jdb output
21201 formats. Expand search for source files to include new/old methods
21202 using new functions above. Do not allow `gud-marker-acc' to grow
21204 (jdb): Set classpath information (if available) as jdb is started.
21205 Change `gud-break' and `gud-remove'
21206 to use new %c ("class") escape in format strings.
21207 Add `gud-finish', `gud-up', `gud-down' command string functions, and
21208 add them to the local menu map. Update `comint-prompt-regexp' for
21209 jdb and oldjdb. If attaching to an already running java VM and
21210 configured to use classpath, send command to query for classpath,
21211 else use previous method for finding and parsing java
21212 sources. Set `gud-jdb-find-source' function accordingly.
21213 (gud-mode): Doc fix.
21214 (gud-format-command): Add support for new %c ("class") escape.
21215 (gud-find-class): New function in support of %c escape.
21217 2002-01-17 Richard M. Stallman <rms@gnu.org>
21219 * ibuf-ext.el: Enable byte-compile-dynamic.
21221 2002-01-17 Jason Rumney <jasonr@gnu.org>
21223 * term/w32-win.el: Restore conditional require of fontset.
21225 2002-01-16 Richard M. Stallman <rms@gnu.org>
21227 * mouse.el (mouse-drag-region-1): Renamed from mouse-drag-region,
21229 (mouse-drag-region): New function. For a click in the echo area,
21232 * ibuf-ext.el: Delete the autoloads for functions defined with
21233 ibuffer-specific commands.
21235 * help.el (describe-distribution): Really call view-file.
21237 * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
21238 (ange-ftp-get-process): Pass that arg.
21240 * comint.el (comint-simple-send): Fix previous change.
21242 * net/telnet.el (telnet-simple-send): Fix previous change.
21244 * progmodes/sql.el (sql-escape-newlines-and-send)
21245 (sql-query-placeholders-and-send): Fix previous change.
21247 2002-01-16 Colin Walters <walters@verbum.org>
21249 * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
21250 URL, Compatibility headers. Update copyright notice.
21251 * ibuf-macs.el (toplevel): Require `cl' when compiling.
21253 2002-01-16 Andrew Choi <akochoi@cse.cuhk.edu.hk>
21255 * startup.el (command-line): Set EOL mnemonics for the Mac.
21257 2002-01-16 Andreas Schwab <schwab@suse.de>
21259 * mail/feedmail.el (feedmail): Fix :link spec.
21261 2002-01-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21263 * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
21266 * net/eudc.el: New maintainer. Change author's address.
21267 (eudc-pre-select-window-configuration, eudc-insertion-marker):
21269 (eudc-insert-selected): Function removed.
21270 (eudc-select): Reimplemented.
21271 (eudc-expand-inline): Delete the strings only after its expansion
21272 is chosen not before.
21274 * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
21275 Minor coding style fixes.
21277 * net/eudcb-ldap.el: New maintainer. Change author's address.
21278 (eudc-attribute-display-method-alist): Display mail with
21281 * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
21282 * net/eudc-vars.el: New maintainer. Change author's address.
21284 * net/eudc-bob.el: New maintainer. Change author's address.
21285 (eudc-bob-mail-keymap): New keymap for e-mail addresses.
21286 (eudc-display-mail): New function.
21287 (eudc-bob-play-sound-at-point): Remove XEmacs case.
21289 2002-01-15 Richard M. Stallman <rms@gnu.org>
21291 * emacs-lisp/autoload.el (make-autoload):
21292 Don't handle define-ibuffer-column, define-ibuffer-filter,
21293 define-ibuffer-sorter, and define-ibuffer-op.
21295 2002-01-14 Richard M. Stallman <rms@gnu.org>
21297 * calendar/calendar.el (diary-date-forms): Doc fix.
21299 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
21301 * startup.el (command-line): Register the default tty colors even
21302 if the terminal doesn't seem to support colors.
21303 <tty-long-option-alist>: New option --color.
21304 (tty-handle-args): Parse the --color arg.
21306 * term/tty-colors.el (tty-color-mode-alist): New variable.
21308 2002-01-14 Stefan Monnier <monnier@cs.yale.edu>
21310 * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
21311 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
21313 (ange-ftp-hook-function): Preserve match-data.
21314 (ange-ftp-insert-directory): Typo.
21315 (ange-ftp-shell-command): Check if regexp matched.
21317 2002-01-13 Richard M. Stallman <rms@gnu.org>
21319 * international/mule-cmds.el: help-map bindings moved to help.el.
21321 * help.el (view-echo-area-messages): New function.
21322 (help-map): Add `e' binding. Delete obsolete `d' binding.
21323 Change old Info bindings C-f, C-k and C-i to F, K, S.
21324 Move view-emacs-FAQ from F to C-f.
21325 Move view-emacs-problems from P to C-e.
21326 Bindings moved here from mule-cmds.el.
21327 C-l binding for describe-language-environment deleted
21328 (help-for-help): Update for all these changes.
21330 * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
21332 2002-01-13 Dave Love <fx@gnu.org>
21334 * emacs-lisp/copyright.el: Doc fixes.
21335 (copyright-regexp): Add Latin-9 copyright sign.
21336 Match comment delimiters in year lists.
21337 (copyright-current-year): Initialize to load-time year.
21339 2002-01-13 Andreas Schwab <schwab@suse.de>
21341 * dired-aux.el (dired-do-shell-command): Doc fix.
21343 2002-01-13 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
21345 * startup.el (command-line-x-option-alist): New options "-fs",
21346 "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
21348 * term/x-win.el (x-handle-initial-switch): New function.
21350 2002-01-13 Colin Walters <walters@debian.org>
21352 * emacs-lisp/autoload.el (make-autoload): Handle define-ibuffer-column,
21353 define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
21355 * emacs-lisp/lisp-mode.el (toplevel): Ditto.
21357 * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
21359 2002-01-12 Richard M. Stallman <rms@gnu.org>
21361 * net/browse-url.el (browse-url-grail):
21362 Use browse-url-maybe-new-window.
21364 * net/telnet.el (telnet-simple-send):
21365 Handle comint-input-sender-no-newline like comint-simple-send.
21367 * progmodes/sql.el (sql-query-placeholders-and-send):
21368 Handle comint-input-sender-no-newline like comint-simple-send.
21369 (sql-escape-newlines-and-send): Likewise.
21371 * comint.el (comint-input-sender): Doc fix.
21372 (comint-input-sender-no-newline): New variable.
21373 (comint-simple-send): If comint-input-sender-no-newline,
21374 don't output newline, but maybe send eof.
21375 (comint-send-input): New arg NO-NEWLINE.
21376 (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
21378 2002-01-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21380 * textmodes/flyspell.el (flyspell-check-pre-word-p):
21381 Prevent delaying when executing keyboard macros.
21383 2002-01-12 Richard M. Stallman <rms@gnu.org>
21385 * simple.el (line-move): If we can't move enough lines,
21386 go to beginning or end of line.
21388 * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
21391 * help.el (describe-mode): Call help-setup-xref in the help buffer.
21392 Switch buffers only after calling `help-buffer'.
21394 * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
21395 only when they are surrounded by whitespace.
21396 Use dired-mark-separator when adding one file name to a command.
21397 (dired-do-shell-command): Verify that * is surrounded by whitespace.
21398 Ask for confirmation if * or ? is not surrounded by whitespace.
21399 (dired-bunch-files): Re-reverse the partial file list when it is used.
21401 2002-01-12 Richard M. Stallman <rms@gnu.org>
21403 * comint.el (comint-dynamic-list-completions): Repeating the command
21404 after displaying a completion list scrolls the list.
21406 2002-01-12 Eli Zaretskii <eliz@is.elta.co.il>
21408 * files.el (find-file-noselect): Don't consider a buffer as
21409 visiting a file literally if it is in hexl-mode.
21411 * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
21413 2002-01-11 Richard M. Stallman <rms@gnu.org>
21415 * startup.el (initial-scratch-message): Fix custom type, add group.
21417 * mail/rmail.el (rmail-decode-babyl-format): Disable undo
21418 around the decode-coding-region call.
21420 * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
21421 after displaying a completion list scrolls the list.
21423 2002-01-11 Eli Zaretskii <eliz@is.elta.co.il>
21425 * version.el (emacs-version): Bump to 21.2.50.
21427 2002-01-10 Thien-Thi Nguyen <ttn@giblet.glug.org>
21429 * play/zone.el (zone-timeout): New var.
21430 (zone-hiding-modeline): New macro.
21431 (zone-call): New func.
21433 (zone): Init `modeline-hidden-level' symbol property.
21434 Use `zone-call' instead of `funcall'.
21436 (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 2001-10-26T20:11:25Z!monnier@iro.umontreal.ca).
21438 (zone-pgm-stress): Use `zone-hiding-modeline'.
21440 (zone-pgm-stress-destress): New zone program.
21442 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
21444 * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
21446 2002-01-09 Richard M. Stallman <rms@gnu.org>
21448 * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
21450 2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu>
21452 * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
21453 flyspell-mouse-map.
21455 2002-01-08 Richard M. Stallman <rms@gnu.org>
21457 * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
21459 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
21461 * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
21463 2002-01-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21465 * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
21466 Do not use make-local-hook.
21468 2002-01-08 Eli Zaretskii <eliz@is.elta.co.il>
21470 * international/quail.el (quail-start-translation)
21471 (quail-start-conversion): Bind last-command-event, last-command,
21472 and this-command in the first let. This fixes the change from
21475 2002-01-08 Michael Kifer <kifer@cs.stonybrook.edu>
21477 * ediff-hook.el: Add an autoload cookie.
21479 2002-01-08 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21481 * net/eudcb-ph.el, net/ldap.el: New maintainer. New e-mail
21482 address of the author.
21484 2002-01-08 Richard M. Stallman <rms@gnu.org>
21486 * replace.el (occur-mode-goto-occurrence-other-window): New command.
21487 (occur-mode-map): Bind `o' to that.
21489 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
21491 * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
21492 new macro that replaces viper-emacs-p and viper-xemacs-p in many
21493 cases. Used to reduce the number of warnings.
21495 * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
21496 (viper-standard-value): Move here from viper.el.
21497 (viper-set-unread-command-events): Move to viper-util.el
21498 (viper-check-minibuffer-overlay): Make sure
21499 viper-minibuffer-overlay is moved to cover the entire input field.
21501 * viper-util.el: Use viper-cond-compile-for-xemacs-or-emacs.
21502 (viper-read-key-sequence, viper-set-unread-command-events)
21503 (viper-char-symbol-sequence-p, viper-char-array-p): Moved here.
21505 * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
21507 * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
21509 * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
21511 * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
21512 (viper-event-vector-p): Move to viper-util.el
21514 * viper.el (viper-standard-value): Move to viper-cmd.el.
21515 Use viper-cond-compile-for-xemacs-or-emacs.
21517 * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
21519 * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
21521 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
21522 New macro designed to be used in many places where ediff-emacs-p or
21523 ediff-xemacs-p was previously used. Reduces the number of warnings.
21524 Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
21526 (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
21527 (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
21528 (ediff-whitespace-diff-region-p, ediff-get-region-contents):
21529 Move to ediff-util.el.
21530 (ediff-event-key): Moved here.
21532 * ediff-merge.el: Got rid of unreferenced variables.
21534 * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
21536 * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
21537 (ediff-cleanup-mess): Improve the way windows are set up after
21539 (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
21540 (ediff-dispose-of-variant-according-to-user): New function
21541 designed to be smarter and also understands indirect buffers.
21542 (ediff-highlight-diff-in-one-buffer)
21543 (ediff-unhighlight-diff-in-one-buffer)
21544 (ediff-unhighlight-diffs-totally-in-one-buffer)
21545 (ediff-highlight-diff, ediff-highlight-diff)
21546 (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
21547 (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
21548 (ediff-get-region-contents, ediff-make-current-diff-overlay):
21550 (ediff-format-bindings-of): New function by Hannu Koivisto
21552 (ediff-setup): Make sure the merge buffer is always widened and
21554 (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
21555 result of a merge into a file visited by another buffer.
21556 (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
21557 is visited by another buffer and ask to save/delete that buffer.
21558 (ediff-verify-file-merge-buffer): New function to do the above.
21560 * ediff-vers.el: Load ediff-init.el at compile time.
21562 * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
21564 * ediff.el (ediff-windows, ediff-regions-wordwise)
21565 (ediff-regions-linewise): Use indirect buffers to improve
21566 robustness and make it possible to compare regions of the same
21567 buffer (even overlapping regions).
21568 (ediff-clone-buffer-for-region-comparison)
21569 (ediff-clone-buffer-for-window-comparison): New functions.
21570 (ediff-files-internal): Refuse to compare identical files.
21571 (ediff-regions-internal): Get rid of the warning about comparing
21572 regions of the same buffer.
21574 * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Moved here.
21575 Plus the following fixes courtesy of Dave Love: Doc fixes.
21576 (ediff-word-1): Use word class and move - to the
21577 front per regexp documentation.
21578 (ediff-wordify): Bind forward-word-function outside loop.
21579 (ediff-copy-to-buffer): Use insert-buffer-substring rather than
21580 consing buffer contents.
21581 (ediff-goto-word): Move syntax table setting outside loop.
21583 2002-01-07 Richard M. Stallman <rms@gnu.org>
21585 * dired.el (dired-copy-filename-as-kill): Call kill-append
21586 if following a kill command.
21588 * help-fns.el (describe-variable, describe-function):
21591 2002-01-06 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21593 * net/ldap.el (ldap-search-internal): Skip error message from
21594 ldapsearch. Allow listing attribute names only. Do not open
21595 non-existent files.
21597 * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
21598 call non-existent function.
21600 * net/eudc.el (top-level): Revert previous change.
21602 * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
21603 variables to prevent warning from byte-compiler.
21605 * net/eudc.el (top-level): Use eudc-xemacs-p instead of
21606 string-match on emacs-version again.
21608 * enriched.el (enriched-make-annotation): Fix the change from
21610 (enriched-handle-display-prop): Return proper values.
21612 * net/eudcb-ldap.el (eudc-attribute-display-method-alist):
21613 Use proper attribute name labeledUri instead of deprecated labeledUrl.
21615 2002-01-05 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21617 * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
21618 editing an empty hotlist.
21620 * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
21621 Use buffer-string instead of buffer-substring for the whole buffer.
21623 * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
21626 * net/eudc-bob.el (eudc-bob-can-display-inline-images)
21627 (eudc-bob-display-jpeg): Use fboundp instead of boundp.
21628 (eudc-bob-save-object): Make the buffer unibyte.
21629 (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
21630 object to external program.
21632 2002-01-05 Andre Spiegel <spiegel@gnu.org>
21634 * vc.el (vc-branch-part): Return nil if there's no `.'
21635 (vc-default-previous-version): Renamed from vc-previous-version.
21636 New args BACKEND and FILE. Return nil for revision numbers
21638 (vc-version-diff): Call vc-BACKEND-previous-version.
21639 (vc-steal-lock): Steal lock before composing mail, so that no mail
21640 is sent when the stealing goes wrong. And we'll actually see the
21641 error in that case now.
21642 (vc-finish-steal): Removed.
21644 * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
21645 the lock, so that we see expanded headers.
21646 (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p)
21647 (vc-rcs-minor-part, vc-rcs-previous-version): Removed. These are
21648 available from vc.el. Updated all callers.
21650 2002-01-05 Richard M. Stallman <rms@gnu.org>
21652 * enriched.el (enriched-make-annotation): Doc fix.
21654 * format.el (format-replace-strings, format-subtract-regions)
21655 (format-annotate-region, format-annotate-location)
21656 (format-annotate-atomic-property-change)
21657 (format-annotate-single-property-change): Doc fixes.
21659 2002-01-05 Jason Rumney <jasonr@gnu.org>
21661 * term/w32-win.el: Require fontset unconditionally.
21662 (w32-handle-scroll-bar-event): Remove.
21664 2002-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21666 * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
21667 copyrights to be updated.
21669 2002-01-04 Eli Zaretskii <eliz@is.elta.co.il>
21671 * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
21674 * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
21676 2002-01-04 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21678 * net/ldap.el (ldap-host-parameters-alist): Remove duplicated entry.
21679 (ldap-ignore-attribute-codings): Change the default value to allow
21680 encoding/decoding of attributes.
21681 (ldap-coding-system): Use UTF-8 as the coding-system. Doc fix.
21683 2002-01-03 Richard M. Stallman <rms@gnu.org>
21685 * files.el (basic-save-buffer): Undo previous change.
21687 * calendar/diary-lib.el (diary-block): Doc fix.
21689 * custom.el (defcustom): Fix syntax of previous change.
21691 2002-01-03 Per Abrahamsen <abraham@dina.kvl.dk>
21693 * custom.el (defcustom): Documented :tag, :link and :load.
21695 2002-01-03 Eli Zaretskii <eliz@is.elta.co.il>
21697 * mail/sendmail.el (mail-recover-1): New function.
21698 (mail-recover): Switch to the *mail* buffer right away.
21699 Use buffer-auto-save-file-name instead of calling
21700 make-auto-save-file-name. Call dired-noselect instead of invoking
21701 `ls' directly. Bind coding-system-for-read to emacs-mule-unix
21702 before reading the auto-save file. If the buffer's auto-save file
21703 does not exist, call mail-recover-1 to allow recovery from past
21706 2002-01-03 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21708 * time.el (display-time-load-average-threshold): Fix defcustom
21709 (add type and group).
21711 * net/ange-ftp.el (ange-ftp-shell-command): Remove port
21712 specification from the hostname.
21714 2002-01-02 Richard M. Stallman <rms@gnu.org>
21716 * facemenu.el (facemenu-active-faces):
21717 Use face-attributes-as-vector, not face-attributes-vector.
21719 2002-01-02 Chris Hanson <cph@aarau.ai.mit.edu>
21721 * xscheme.el: Eleven years of updates on a private copy.
21723 Extensive changes to support multiple xscheme buffers:
21724 (run-scheme): Break up into new functions to facilitate starting
21725 processes in other buffers.
21726 (xscheme-start, xscheme-read-command-line): New functions.
21727 (start-scheme, select-scheme)
21728 (default-xscheme-runlight)
21729 (global-set-scheme-interaction-buffer)
21730 (local-set-scheme-interaction-buffer)
21731 (local-clear-scheme-interaction-buffer)
21732 (exit-scheme-interaction-mode)
21733 (verify-xscheme-buffer): New functions.
21734 (xscheme-process-name, xscheme-buffer-name)
21735 (xscheme-runlight): New internal vars.
21736 (default-xscheme-runlight): New const.
21737 (xscheme-start-process): Add args for the process/buffer names.
21738 (reset-scheme): Pass process/buffer names.
21739 (scheme-interaction-mode): Initialize new local vars.
21740 (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
21741 (xscheme-select-process-buffer, xscheme-process-buffer)
21742 (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
21743 (xscheme-goto-output-point, xscheme-write-message-1): Use new
21744 var xscheme-process-name.
21745 (xscheme-start-process): Initialize xscheme-process-name and
21746 xscheme-buffer-name in the process buffer. Pass buffer name to
21747 xscheme-modeline-initialize.
21748 (xscheme-modeline-initialize): Add argument to specify buffer name
21749 for mode-line vars.
21750 (xscheme-process-sentinel): Make sure sentinel is run in the
21751 process buffer so it sees its local vars.
21752 (xscheme-process-filter-initialize, xscheme-set-runlight):
21753 More elaborate logic to handle multiple-buffer mode lines.
21755 (xscheme-enter-input-wait): Re-enable control-G handler upon
21756 entering input wait.
21758 (scheme-interaction-mode): Add arg to preserve local vars.
21759 (xscheme-enter-interaction-mode)
21760 (xscheme-enter-debugger-mode): Preserve local vars.
21761 (xscheme-start-process): Clobber local vars.
21763 (scheme-interaction-mode-commands): Allow end user to add commands
21764 to scheme-interaction-mode keymap.
21765 (scheme-interaction-mode-commands-alist): New variable.
21767 (xscheme-send-string): Don't use insert-before-markers.
21769 Implement a per-buffer kill ring:
21770 (xscheme-insert-expression)
21771 (xscheme-rotate-yank-pointer, xscheme-yank)
21772 (xscheme-yank-pop, xscheme-yank-push): New functions.
21773 (xscheme-expressions-ring)
21774 (xscheme-expressions-ring-yank-pointer)
21775 (xscheme-expressions-ring-max): New variables.
21776 (xscheme-send-string-1): Call xscheme-insert-expression to save
21777 expression in ring.
21778 (xscheme-yank-previous-send): Now an alias for xscheme-yank.
21779 (xscheme-previous-send): Deleted variable.
21781 (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed)
21782 (xscheme-send-control-g-interrupt): Use process-send-string rather
21785 (xscheme-send-region): Insert a newline after an expression that
21786 is submitted in the interaction buffer, for consistency with
21787 recent changes to Edwin.
21789 (xscheme-delete-output): New function mimics comint-delete-output.
21790 (xscheme-last-input-end): New internal variable.
21791 (xscheme-process-filter-output): Update xscheme-last-input-end.
21793 (xscheme-send-control-g-interrupt): Make sure that
21794 xscheme-control-g-disabled-p is looked up in the right buffer.
21796 (xscheme-enable-control-g): Clear C-g message if visible.
21797 (xscheme-control-g-message-string): New internal var.
21798 (xscheme-send-control-g-interrupt): Use new var.
21800 (xscheme-send-control-g-interrupt, xscheme-send-interrupt):
21801 Delay after sending interrupt in order to work around race condition.
21803 (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
21804 (xscheme-send-char): Use xscheme-send-char rather than send-string
21805 to send single char.
21807 (xscheme-process-filter, xscheme-process-filter-alist):
21808 Add support for evaluating expressions outside of the call-excursion.
21809 (xscheme-process-filter:string-action-noexcursion): New func.
21811 (xscheme-write-value): Change output string to match that used by
21814 (xscheme-coerce-prompt): Don't write a space after a command
21815 prompt. The PROMPT-FOR-COMMAND- procedures will take care of this
21818 (reset-scheme): Delete process after killing it.
21820 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
21822 * bindings.el (function-key-map): Don't bind shifted keypad
21825 2002-01-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21827 * enriched.el (enriched-handle-display-prop): Remove unused variables.
21828 (enriched-mode): Doc fix.
21830 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
21832 * international/ucs-tables.el (ucs-8859-8-alist): Comment away
21835 2002-01-01 Richard M. Stallman <rms@gnu.org>
21837 * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
21839 2001-12-31 Richard M. Stallman <rms@gnu.org>
21841 * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
21842 * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
21843 * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
21844 * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
21845 * progmodes/cperl-mode.el, progmodes/idlwave.el:
21846 * progmodes/sh-script.el, progmodes/vhdl-mode.el:
21847 Adapt face definitions to use :weight and :slant.
21849 * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
21851 * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
21853 * font-lock.el (initializing from font-lock-face-attributes):
21854 Use :weight and :slant, not :bold and :italic.
21856 2001-12-31 Per Abrahamsen <abraham@dina.kvl.dk>
21858 * cus-edit.el (custom-face-edit-fix-value): New function.
21859 (custom-face-edit): Use it, to convert :italic and :bold to new forms.
21861 2001-12-30 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21863 * progmodes/octave-mod.el (octave-abbrev-table):
21864 * progmodes/idlwave.el (idlwave-mode-abbrev-table):
21865 * progmodes/fortran.el (fortran-mode-abbrev-table):
21866 * progmodes/f90.el (f90-mode-abbrev-table):
21867 * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
21868 * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
21869 predefined abbrevs as "system" abbrevs.
21871 2001-12-30 Richard M. Stallman <rms@gnu.org>
21873 * info.el (Info-fontify-node): For a **** underline line, put the
21874 invisible and intangible props on the following newline, but not
21875 on the previous newline or the last char of the previous line.
21877 * faces.el (face-set-after-frame-default): Don't change `default' face.
21879 * faces.el (minibuffer-prompt): Adopt some default colors.
21881 * replace.el (query-replace-read-args): Immediate error if read-only.
21883 * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
21884 Display the output buffer in a more intelligent way.
21886 2001-12-30 Eli Zaretskii <eliz@is.elta.co.il>
21888 * ls-lisp.el (insert-directory): Modify the "total" line wording,
21889 in accordance with files.el's insert-directory.
21891 2001-12-29 Richard M. Stallman <rms@gnu.org>
21893 * files.el (basic-save-buffer): If a before-write hook displays
21894 an echo area message, pause before calling basic-save-buffer-1.
21896 2001-12-29 Markus Rost <rost@math.ohio-state.edu>
21898 * textmodes/reftex-global.el (reftex-query-replace-document)
21899 (reftex-change-label): Doc fix.
21901 * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
21903 * progmodes/etags.el (tags-query-replace): Doc fix.
21905 2001-12-29 Richard M. Stallman <rms@gnu.org>
21907 * progmodes/compile.el (compile-internal): Fix previous change.
21909 2001-12-28 Richard M. Stallman <rms@gnu.org>
21911 * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
21912 shrink the windows above as necessary to get space.
21913 (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
21915 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
21916 This fixes a bug that treated all files as directories.
21917 (ange-ftp-insert-directory): Explicitly follow symlinks.
21919 * international/iso-transl.el (iso-transl-char-map) Eliminate the
21920 alias symbols--put the translated sequences here directly.
21922 * progmodes/cc-mode.el (c-mode-abbrev-table)
21923 (c++-mode-abbrev-table, objc-mode-abbrev-table)
21924 (java-mode-abbrev-table, pike-mode-abbrev-table):
21925 Mark all the predefined abbrevs as "system" abbrevs.
21927 * mail/sendmail.el (mail-envelope-from): Fix custom type.
21928 (sendmail-send-it): Check mail-specify-envelope-from
21929 and mail-envelope-from in the mail buffer at start.
21931 2001-12-28 Simon Josefsson <jas@extundo.com>
21933 * mail/sendmail.el (mail-envelope-from): Fix :type.
21934 (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
21936 2001-12-28 Richard M. Stallman <rms@gnu.org>
21938 * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
21940 * simple.el (line-move-invisible): New subroutine.
21941 (line-move-to-column): New subroutine--smarter about advancing over
21942 invisible parts of a line, or lines, but only as long as hpos grows.
21943 (line-move-finish): New subroutine: repeatedly processes desired
21944 column, intangibility, and fields.
21945 (line-move): Use those subroutines.
21946 When moving lines downward, skip invisible text first rather than last.
21948 2001-12-27 Richard M. Stallman <rms@gnu.org>
21950 * international/mule-diag.el (describe-char-after):
21951 Describe the text properties of the char after point.
21953 * help.el (describe-key): Doc fix.
21955 2001-12-26 Markus Rost <rost@math.ohio-state.edu>
21957 * find-dired.el (find-dired-sentinel): Precede exit message by
21958 two spaces, to match the regexp in dired-between-files.
21960 2001-12-28 Miles Bader <miles@gnu.org>
21962 * wid-edit.el (widget-toggle-value-create): Don't eval actual
21963 images (which are lists too).
21965 2001-12-27 Eli Zaretskii <eliz@is.elta.co.il>
21967 * language/european.el: Fix the doc string of "Latin-5" language
21970 2001-12-26 Richard M. Stallman <rms@gnu.org>
21972 * textmodes/flyspell.el (flyspell-mode-map): New keymap,
21973 defined as before 2001-11-09.
21974 (add-minor-mode call): Specify the keymap.
21976 * progmodes/compile.el (compile-internal):
21977 Set TERM variable in process-environment.
21979 2001-12-25 Richard M. Stallman <rms@gnu.org>
21981 * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
21984 * startup.el (command-line): Convert command line args
21985 to Emacs internal representation using locale-coding-system.
21987 2001-12-25 Eli Zaretskii <eliz@is.elta.co.il>
21989 * international/fontset.el: Don't require ind-util when compiling.
21991 2001-12-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
21993 * emulation/tpu-edt.el (tpu-reset-screen-size):
21994 Use set-frame-height and set-frame-width instead of set-screen-height
21995 and set-screen-width.
21997 * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
21998 of obsolete set-screen-width.
22000 * locate.el (locate): Remove dot at the end of error argument.
22002 * emerge.el (emerge-show-file-name): Use frame-height instead of
22003 obsolete screen-height.
22005 * mail/mh-utils.el (mh-show-msg): Likewise.
22006 (mh-handle-process-error): Use frame-width instead of obsolete
22009 2001-12-25 Richard M. Stallman <rms@gnu.org>
22011 * window.el (balance-windows): Use new PRESERVE-BEFORE arg
22012 to enlarge-window. Use save-selected-window. Don't try
22013 to resize windows that end at the bottom "level".
22014 Retry changing the sizes until the windows get the desired sizes.
22015 Discount the minibuffer when computing total height available.
22017 * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
22018 (debugger-make-xrefs): Only make a button for the first symbol
22021 2001-12-24 Eli Zaretskii <eliz@is.elta.co.il>
22023 * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
22024 Call IT-setup-unicode-display here instead of adding it to
22025 dos-codepage-setup-hook, so that Unicode display tables are set
22026 before dos-codepage-setup-hook runs.
22028 2001-12-24 Richard M. Stallman <rms@gnu.org>
22030 * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
22031 (nslookup-mode-abbrev-table): Don't define it.
22032 (smbclient-mode-abbrev-table): Don't define it.
22033 (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
22034 (nslookup-mode, smbclient-mode): Likewise.
22035 (network-connection-service-abbrev-alist): Variable deleted.
22036 (network-connection-mode-setup): Don't set up abbrev table.
22038 * faces.el (minibuffer-prompt): New face.
22039 (minibuffer-prompt-properties): Add `face' property.
22041 * replace.el (occur-mode-display-occurrence): New function.
22042 (occur-mode-map): Bind C-o to it.
22044 2001-12-24 Michael Kifer <kifer@cs.sunysb.edu>
22046 * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
22047 (viper-special-read-and-insert-char): Make C-m work right in the r
22049 (viper-buffer-search-enable): Fixed format string.
22051 * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
22052 instead of viper-info-on-file.
22053 (ex-set-visited-file-name): New function.
22055 * viper.el (viper-emacs-state-mode-list): Added mail-mode.
22057 * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
22060 * ediff-init.el: Fixed some doc strings.
22062 * ediff-util.el (ediff-after-quit-hook-internal): New variable.
22063 Got rid of make-local-hook.
22065 * ediff-wind.el (ediff-setup-control-frame): Got rid of
22068 2001-12-23 Richard M. Stallman <rms@gnu.org>
22070 * term/x-win.el (x-handle-geometry): Put height and width
22071 on default-frame-alist, left and top on initial-frame-alist.
22072 * term/w32-win.el (x-handle-geometry): Likewise.
22074 * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
22076 * play/yow.el (yow): Use an arg to distinguish interactive calls,
22079 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22081 * emacs-lisp/elint.el (elint-unknown-builtin-args):
22082 Remove mocklisp entries.
22084 * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
22087 * emulation/mlconvert.el: File removed.
22089 * emulation/mlsupport.el: Moved to obsolete.
22091 * obsolete/mlsupport.el: Moved there from lisp/emulation.
22093 * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
22095 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
22096 Remove mocklisp case.
22098 * help-fns.el (describe-function-1): Remove mocklisp function case.
22100 2001-12-22 Miles Bader <miles@gnu.org>
22102 * textmodes/refill.el (refill-mode): Don't barf when redundantly
22103 turning refill-mode off.
22105 2001-12-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22107 * time.el (display-time-load-average-threshold): New variable.
22108 (display-time-update): Use it.
22110 These changes allow cycling through past 1, 5 and 15 minutes
22111 load-average displayed in the mode-line.
22113 * time.el (display-time-default-load-average): New customizable option.
22114 (display-time-load-average): New variable.
22115 (display-time-cycle-load-average): New function.
22116 (display-time-update): Use them.
22118 2001-12-21 Richard M. Stallman <rms@gnu.org>
22120 * apropos.el (apropos-print): SPACING is now nil or a separator string.
22121 (apropos-documentation, apropos-value): Pass a suitable string.
22123 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
22125 * dired.el (dired-free-space-program, dired-free-space-args):
22126 Aliases for back-compatibility.
22128 * info.el (Info-select-node): If Info-use-header-line is nil, set
22129 header-line-format to nil.
22130 (Info-fontify-node): Don't put a keymap text property on the
22131 heading if we are not going to display the header line. Remove
22132 any such text properties left over from past visits to this node.
22134 * ls-lisp.el (insert-directory): Insert the amount of free disk
22135 space, like files.el's insert-directory does.
22137 * files.el (directory-free-space-program):
22138 Mention file-system-info in the doc string.
22139 (get-free-disk-space): New function; code moved from insert-directory.
22140 (insert-directory): Call get-free-disk-space to get the amount of
22143 2001-12-21 Richard M. Stallman <rms@gnu.org>
22145 * help.el (view-order-manuals, view-emacs-news, describe-copying)
22146 (describe-distribution, describe-project): Use view-file.
22148 * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
22150 * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
22152 * emacs-lisp/easy-mmode.el (define-minor-mode):
22153 Make no arg by default in an interactive call,
22154 so that repeating the command toggles again.
22156 * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
22158 2001-12-21 Christoph Wedler <Christoph.Wedler@sap.com>
22160 * antlr-mode.el: More sophisticated indentation of cpp directive.
22161 (antlr-indent-at-bol-alist): New user option.
22162 (antlr-indent-line): Use it.
22163 (antlr-indent-style): New user option.
22164 (antlr-mode): Use it.
22165 (antlr-indent-item-regexp): Customize.
22167 * antlr-mode.el: Syntax highlighting changes.
22168 (antlr-font-lock-literal-regexp): New user option.
22169 (antlr-font-lock-syntax-face): New face used for :, |, ....
22170 (antlr-font-lock-default-face): New face.
22171 (antlr-font-lock-additional-keywords): Use them.
22173 * antlr-mode.el: New command to insert options -- variables.
22174 (antlr-mode-map): New binding [C-c C-o].
22175 (antlr-mode-menu): New submenus.
22176 (antlr-options-use-submenus): New user option.
22177 (antlr-tool-version): New user option.
22178 (antlr-options-auto-colon): New user option.
22179 (antlr-options-style): New user option.
22180 (antlr-options-push-mark): New user option.
22181 (antlr-options-assign-string): New user option.
22182 (antlr-options-headings): New variable.
22184 * antlr-mode.el: New command to insert options -- specific.
22185 (antlr-options-alists): New variable.
22186 (antlr-read-value): New function.
22187 (antlr-read-boolean): New function.
22188 (antlr-language-option-extra): New function.
22189 (antlr-language-limit-n-regexp): Change default to higher LIMIT.
22190 (antlr-c++-mode-extra): New function.
22191 (antlr-grammar-tokens): New function.
22192 (antlr-imenu-create-index-function): New optional argument.
22194 * antlr-mode.el: New command to insert options -- functions.
22195 (antlr-insert-option): New command.
22196 (antlr-insert-option-interactive): New function.
22197 (antlr-options-menu-filter): New function.
22198 (antlr-option-kind): New function.
22199 (antlr-scan-lists): New alias.
22200 (antlr-scan-lists-internal): New function.
22201 (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
22202 (antlr-option-level): New function.
22203 (antlr-syntactic-grammar-depth): New function.
22204 (antlr-option-location): New function.
22205 (antlr-insert-option-do): New function.
22206 (antlr-option-spec): New function.
22207 (antlr-version-string): New function.
22208 (antlr-insert-option-existing): New function.
22209 (antlr-insert-option-space): New function.
22210 (antlr-insert-option-area): New function.
22212 * antlr-mode.el: New electric keys ":;|&(){}", TAB works better
22213 with narrowing. Menu change. Miscellaneous.
22214 (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
22215 (antlr-mode-map): New bindings for characters in ":;|&(){}".
22216 (antlr-electric-character): New command.
22217 (antlr-class-header-regexp): New variable.
22218 (antlr-font-lock-additional-keywords): Use it.
22219 (antlr-imenu-create-index-function): Use it.
22220 (antlr-file-dependencies): Use it.
22221 (antlr-indent-line): Also works with restrictions.
22222 (antlr-indent-command): Interactive spec - changes the buffer.
22223 (antlr-language-for-option): Deletia.
22224 (antlr-language-option): New function, defined instead.
22225 (antlr-mode): Use it.
22227 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
22229 * jka-compr.el (jka-compr-partial-uncompress): Use null-device
22230 instead of a literal /dev/null.
22232 * Makefile.in (distclean): Remove Makefile in the build
22233 directory, not in the source directory.
22235 2001-12-21 Simon Josefsson <jas@extundo.com>.
22237 * mail/smtpmail.el (smtpmail-send-queued-mail):
22238 Use with-temp-buffer instead of find-file-noselect, and bind
22239 coding-system-for-read to no-conversion when reading the queued
22240 messages. (Simon's code modified slightly by Eli Zaretskii.)
22242 2001-12-20 Werner Lemberg <wl@gnu.org>
22244 * international/mule-diag.el (describe-coding-system)
22245 (print-coding-system-briefly): Make printed output have a similar
22246 format as describe-character-set.
22248 2001-12-20 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22250 * play/blackbox.el (bb-member): Remove, use member instead.
22251 (bb-delete): Remove, use delete instead.
22252 Update copyright notice. Defvar for bb-board, bb-x, bb-y,
22253 bb-score, bb-detour-count and bb-balls-placed.
22254 Propertize results of rays.
22256 2001-12-19 Karl Fogel <kfogel@red-bean.com>
22258 * isearch.el (isearch-forward, isearch-edit-string): Make doc
22259 strings mention keybinding for `isearch-yank-word-or-char',
22260 rather than `isearch-yank-word', since the former is bound now
22261 and the latter is not.
22262 (isearch-yank-word-or-char): Fix formatting.
22264 2001-12-19 Werner Lemberg <wl@gnu.org>
22266 * language/czech.el, language/european.el, language/slovak.el:
22267 More fixes for language info doc strings.
22269 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il>
22271 * loadup.el: Add "language" to the load-path.
22273 2001-12-19 Richard M. Stallman <rms@gnu.org>
22275 * international/mule-cmds.el (describe-language-environment):
22276 Fix calls to help-xref-button.
22278 2001-12-19 Miles Bader <miles@gnu.org>
22280 * international/fontset.el: Require `ind-util' when compiling.
22282 2001-12-18 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22284 * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
22285 instead of decompose-composite-char.
22287 2001-12-18 Richard M. Stallman <rms@gnu.org>
22289 * simple.el (eval-expression-print-level)
22290 (eval-expression-print-length): Doc fixes.
22292 * international/mule-diag.el (describe-character-set):
22293 Fix the arg to help-xref-button.
22295 * files.el (directory-free-space-program): New variable.
22296 (directory-free-space-args): New variable.
22297 (insert-directory): Use those two variables for getting free space.
22298 Use file-system-info instead, if that is defined.
22300 * dired.el (dired-free-space-program): Variable deleted.
22301 (dired-free-space-args): Variable deleted.
22302 (dired-insert-directory): Don't try to determine free space.
22304 * files.el (font-lock-defaults): Add risky-local-variables prop.
22305 (hack-one-local-variable): Treat various font-lock variables as risky.
22307 2001-12-18 Werner Lemberg <wl@gnu.org>
22309 * language/chinese.el, language/cyrillic.el:
22310 * language/czech.el, language/european.el, language/greek.el:
22311 * language/hebrew.el, language/indian.el, language/japanese.el:
22312 * language/korean.el, language/lao.el, language/slovak.el:
22313 * language/thai.el, language/tibetan.el, language/vietnamese.el:
22314 Improve documentation strings of coding systems and language infos.
22316 2001-12-18 Werner LEMBERG <wl@gnu.org>
22318 Add support for EUC-TW decoding/encoding.
22320 * language/china-util.el (big5-to-flat-code, flat-code-to-big5)
22321 (euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
22322 New auxiliary functions to build `big5-to-cns'.
22323 (big5-to-cns): New translation alist.
22325 * language/chinese.el: Added new coding system `euc-tw' and its
22326 alias `euc-taiwan'.
22327 Updated language `Chinese-CNS' to include euc-tw encoding also.
22328 (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
22331 2001-12-18 Dave Love <fx@gnu.org>
22333 * loadup.el: Add language/utf-8-lang, language/georgian.
22335 * image-file.el (image-file-name-extensions): Add pnm. Doc fix.
22336 (image-file-name-regexps): Doc fix.
22338 * server.el (server-unload-hook): New function.
22340 * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
22341 (lm-crack-copyright): Cope with multi-line copyright `lines'.
22343 * simple.el (newline): Doc fix.
22344 (eval-expression-print-level, eval-expression-print-length): Doc
22346 (next-line, previous-line): Make arg optional.
22347 (newline): Doc fix.
22349 * Makefile.in (DONTCOMPILE): Add various language files.
22351 * international/quail.el (quail-input-string-to-events): Don't use
22354 * progmodes/f90.el (f90-break-line): Avoid infinite recursion
22357 2001-12-17 Richard M. Stallman <rms@gnu.org>
22359 * comint.el (comint-dynamic-list-input-ring-select): New function.
22360 Switches back to the old window configuration.
22361 (comint-dynamic-list-input-ring): Bind RET to that function.
22362 (comint-dynamic-list-input-ring-window-conf): New variable.
22364 2001-12-17 Werner Lemberg <wl@gnu.org>
22366 * international/mule-conf.el: Improve documentation strings of
22369 2001-12-16 Richard M. Stallman <rms@gnu.org>
22371 * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
22372 (dired-mode-map): Bind w to dired-copy-filename-as-kill.
22374 * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
22376 * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
22377 Add a DESCRIPTION for the makefile item.
22379 * find-file.el (ff-other-file-name): New function.
22381 2001-12-16 Eli Zaretskii <eliz@is.elta.co.il>
22383 * international/quail.el (quail-input-string-to-events): Fix last
22386 2001-12-16 Richard M. Stallman <rms@gnu.org>
22388 * isearch.el (isearch-edit-string): When we set isearch-string
22389 to the default, also set isearch-message.
22391 * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
22393 * startup.el (command-line-1): Display startup screen
22394 even if there are command line args.
22395 Add a note about how to go to editing your files.
22396 (fancy-splash-head): Add a note about how to go to your files.
22397 (fancy-splash-outer-buffer): New variable.
22398 (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
22400 * subr.el (with-temp-message): At the end, always discard
22401 the temp message, even by clearing the echo area.
22403 * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
22405 2001-12-16 Stefan Monnier <monnier@cs.yale.edu>
22407 * log-view.el (log-view-message-re, log-view-current-tag):
22408 Recognize Subversion's log output format.
22410 * international/fontset.el: Build the list L at compile time.
22412 * language/ind-util.el (mapthread): Make a closure.
22414 2001-12-15 Richard M. Stallman <rms@gnu.org>
22416 * isearch.el (isearch-start-hscroll): New variable.
22417 (isearch-mode): Set isearch-start-hscroll.
22418 (isearch-update): Restore original hscrolling if possible.
22420 * isearch.el (isearch-edit-string):
22421 Treat isearch-yank-word-or-char specially, like isearch-yank-word.
22423 * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
22424 (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
22425 rather than regexp search and (2) copying text properties
22426 already set up on text unchanged from the previous backtrace.
22428 * case-table.el (set-case-syntax-pair):
22429 Detect invalid calls and signal an error.
22431 2001-12-15 Richard M. Stallman <rms@gnu.org>
22433 * language/ind-util.el (range): Function deleted.
22434 (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
22437 * language/devan-util.el (devanagari-range): Renamed from `range'.
22439 (devanagari-regexp-of-hashtbl-keys):
22440 Renamed from `regexp-of-hashtbl-keys'. All calls changed.
22442 2001-12-15 Dave Love <fx@gnu.org>
22444 * language/ind-util.el: Don't require cl.
22445 (indian-glyph-char, indian-glyph-max-char)
22446 (indian-char-glyph): Moved from indian.el
22447 (indian--puthash-char, mapthread): Don't quote lambda.
22448 (indian--map): New function.
22449 (indian--puthash-v, indian--puthash-c, indian--puthash-m)
22450 (indian--puthash-cv): Use it.
22452 * language/indian.el (indian-glyph-char, indian-glyph-max-char)
22453 (indian-char-glyph): Moved to ind-util.el
22455 * language/devan-util.el (devanagari-post-read-conversion):
22458 * language/georgian.el: New file.
22460 * international/mule-cmds.el (locale-language-names): Add various
22461 entries. Remove utf-8 special case.
22462 (locale-charset-language-names, locale-preferred-coding-systems):
22464 (set-language-environment): Process required-features earlier.
22466 * international/quail.el (quail-keyboard-layout-alist):
22468 (quail-keyboard-layout-type): Fix :type.
22469 (quail-choose-completion-string): Simplify.
22470 (quail-update-leim-list-file): Don't get fooled by commented-out code.
22471 (quail-input-string-to-events): Run events through
22472 translation-table-for-input.
22474 * international/mule-conf.el (translation-table-for-input):
22476 (latin-iso8859-14): Amend description.
22477 (file-coding-system-alist): Add entry for utf-8.
22479 * language/utf-8-lang.el: New file.
22481 * international/code-pages.el: New file.
22483 * language/hebrew.el ("Windows-1255"): New language.
22485 * language/european.el ("Welsh", "Latin-7", "Lithuanian")
22486 ("Latvian"): New languages.
22488 2001-12-14 Stefan Monnier <monnier@cs.yale.edu>
22490 * xml.el: Use setq rather than (set 'foo bar).
22491 Use push+nreverse rather than append.
22492 (xml-node-name, xml-node-attributes, xml-node-children):
22493 Use defsubst rather than macros.
22494 (xml-parse-region): Handle a nil return value from xml-parse-tag.
22495 (xml-parse-tag): Don't skip white space. Return nil for a comment.
22496 Concat the two strings surrounding a comment into a single string.
22498 * newcomment.el (comment-indent): Jump to the middle of empty comments.
22500 2001-12-14 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22502 * select.el (xselect-convert-to-class, xselect-convert-to-name):
22505 2001-12-14 Andre Spiegel <spiegel@gnu.org>
22507 * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
22508 Return nil if FILE is not registered.
22509 (vc-check-master-templates, vc-default-make-version-backups-p):
22512 2001-12-13 David Ponce <david@dponce.com>
22514 * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
22515 (ruler-mode-left-fringe-cols): New macro.
22516 (ruler-mode-right-fringe-cols): New macro.
22517 (ruler-mode-left-scroll-bar-cols): New macro.
22518 (ruler-mode-right-scroll-bar-cols): New macro.
22519 (ruler-mode-ruler): Use above new macros.
22521 2001-12-13 Richard M. Stallman <rms@gnu.org>
22523 * files.el (set-auto-mode): Fix previous change.
22525 2001-12-13 Stefan Monnier <monnier@cs.yale.edu>
22527 * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
22528 (easy-menu-do-define, easy-menu-convert-item-1)
22529 (easy-menu-define-key-intern, easy-menu-get-map): Use it.
22530 (easy-menu-return-item): Only return nil if there is no binding.
22532 2001-12-13 Rajesh Vaidheeswarran <rv@gnu.org>
22534 * whitespace.el (whitespace-version): 3.2
22535 * whitespace.el (whitespace-force-mode-line-update): Replace with
22536 `whitespace-mode-line-update', which is an alias to the correct
22537 function in various emacsen.
22538 * whitespace.el (whitespace-{un,}highlight-the-space):
22539 Add colorized highlighting of the bogus whitespaces in a buffer/file,
22540 using the `whitespace-highlight-face' if
22541 `whitespace-display-spaces-in-color' is set.
22543 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
22545 * international/mule.el (set-auto-coding): Don't search for
22546 "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
22548 2001-12-13 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22550 * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
22552 * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
22554 * mail/rmailsum.el (rmail-summary-mode): Likewise.
22556 2001-12-13 Richard M. Stallman <rms@gnu.org>
22558 * simple.el (undo): Always set this-command to `undo',
22559 so that the next undo after an error will not begin redoing.
22561 * simple.el (shell-command): Doc fix.
22562 (shell-command-on-region): If there is output an an error,
22563 add "...Shell command failed" to the output.
22565 2001-12-13 David Ponce <david@dponce.com>
22567 * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
22568 (ruler-mode-left-fringe-cols): Function replaced by more efficient
22569 implementation `ruler-mode-extra-left-cols'.
22570 (ruler-mode-ruler): Use above new function. Take into account
22571 that the fringe areas can now be resized.
22573 2001-12-12 Richard M. Stallman <rms@gnu.org>
22575 * international/characters.el (Unicode): Comment out
22576 the specifications for kelvin and angstrom signs.
22578 * international/mule.el (make-translation-table-from-vector):
22579 Allow null elements in VEC.
22581 * international/ucs-tables.el (unify-8859-on-encoding-mode)
22582 (unify-8859-on-decoding-mode): Swap the code in their bodies.
22585 2001-12-11 Richard M. Stallman <rms@gnu.org>
22587 * derived.el (derived-mode-p): Function moved to subr.el.
22589 * subr.el (derived-mode-p): Moved here from derived.el.
22591 * international/mule.el (set-auto-coding): Use set-auto-mode-1.
22593 * files.el (set-auto-mode-1): New subroutine, broken out of
22595 (set-auto-mode, hack-local-variables-prop-line): Use that.
22597 2001-12-11 Dave Love <fx@gnu.org>
22599 * language/thai-util.el, language/thai.el: Add Unicode equivalents.
22601 * language/european.el: Remove autoload cookies. Fix registration
22602 of diacritic composition function.
22604 2001-12-11 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22606 * calendar/todo-mode.el: Require time-stamp.
22608 * net/zone-mode.el (zone-mode): Don't use make-local-hook.
22610 2001-12-11 Richard M. Stallman <rms@gnu.org>
22612 * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
22614 * textmodes/ispell.el (ispell-buffer-local-parsing):
22615 Match xml like sgml.
22617 * emacs-lisp/advice.el (ad-compile-function):
22618 Byte compile the function under another (uninterned) name.
22620 * gud.el (gdb): Define and bind gud-jump.
22622 * font-lock.el (font-lock-mode):
22623 Put our function at the end of after-change-functions.
22625 * ediff-diff.el (ediff-cmp-options): Doc fix.
22627 * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
22629 2001-12-10 Richard M. Stallman <rms@gnu.org>
22631 * isearch.el (isearch-yank-word-or-char): New function.
22632 (isearch-mode-map): Bind C-w to that.
22634 * menu-bar.el (menu-bar-mode): Make arg optional.
22636 * simple.el (line-move): Cope if next-single-property-change
22637 or previous-single-property-change returns nil.
22639 * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
22640 Don't use interactive-p; instead, pass the proper args
22641 in (interactive...). Clean up most of the trouble-report strings.
22643 2001-12-10 Eli Zaretskii <eliz@is.elta.co.il>
22645 * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
22646 enqueued messages literally.
22648 2001-12-10 Noah Friedman <friedman@splode.com>
22650 * battery.el (battery-insert-file-contents): Obsolete function
22652 (battery-read-function): Obsolete function removed.
22653 (battery-linux-proc-apm): Use insert-file-contents.
22655 2001-12-07 Stephen Eglen <stephen@gnu.org>
22657 * iswitchb.el (iswitchb-visit-buffer):
22658 Use `select-frame-set-input-focus'--needed when window manager
22659 uses "click to focus" policy.
22661 2001-12-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22663 * COPYING: Moved back.
22665 2001-12-07 Eli Zaretskii <eliz@is.elta.co.il>
22667 * term/internal.el (IT-character-translations): Add entries for
22670 * international/characters.el: Resurrect the Hebrew category
22671 settings for all Hebrew characters removed by the last change.
22672 Add code for setting the Hebrew category of the Unicode Hebrew
22673 characters. Set syntax entries for Hebrew punctuation characters.
22675 * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
22676 points and directional formatting control characters.
22678 2001-12-07 Dave Love <fx@gnu.org>
22680 * language/lao-util.el: Add Unicode equivalents for rules.
22681 (lao-post-read-conversion): New function.
22683 * language/lao.el: Add Unicode equivalents.
22684 (lao): Add post-read conversion.
22686 * international/latin1-disp.el: Fix some 8-bit-graphic characters.
22687 Use iso2022 encoding.
22688 (latin1-char-displayable-p): Doc fix.
22689 (latin1-display-ucs-per-lynx): New option.
22690 (latin1-display-ucs-per-lynx): New command.
22691 (latin1-display-reset): Special-case arabic.
22692 (ucs-tables): Require.
22693 (latin1-display-sets, latin1-display-setup): Add arabic.
22694 (latin1-display) <variable>: Use function latin1-display.
22695 (latin1-display) <function>: Add mule-unicode stuff.
22696 (latin1-display-check-font): Don't lose if `info' is nil.
22698 * international/iso-transl.el: Insert Latin-1 characters, not
22701 * language/european.el (diacritic-composition-pattern): New constant.
22702 (diacritic-compose-region, diacritic-compose-string)
22703 (diacritic-compose-buffer, diacritic-post-read-conversion)
22704 (diacritic-composition-function): New functions.
22706 * international/utf-8.el (ucs-mule-to-mule-unicode):
22707 New translation table.
22708 (ccl-encode-mule-utf-8): Use it.
22709 (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
22710 (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
22711 (utf-8-subst-table): New variable.
22712 (utf-8-compose-scripts): New option.
22713 (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
22715 * international/ucs-tables.el, international/utf-8-subst.el:
22718 * international/characters.el: Don't set word syntax (the default)
22719 explicitly. Add a diacritic category. Add info for Unicode
22720 equivalents of characters in various Mule charsets and for extra
22721 Unicode characters. Don't define specific categories for
22722 Indian/Devanagari, since they aren't used.
22724 2001-12-06 Richard M. Stallman <rms@gnu.org>
22726 * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
22727 (set-justification-left, set-justification-right): Doc fix.
22729 * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
22730 (bug-f90-mode): Variable deleted.
22732 2001-12-06 Stefan Monnier <monnier@cs.yale.edu>
22734 * indent.el (indent-line-function): Default is indent-relative again.
22736 2001-12-07 Miles Bader <miles@gnu.org>
22738 * progmodes/compile.el (compilation-error-regexp-alist):
22739 Added regexps for RXP.
22741 2001-12-05 Eli Zaretskii <eliz@is.elta.co.il>
22743 * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
22744 Add shift-assignment operators to those highlighted, and highlight
22745 the whole operator rather than just the "=".
22747 2001-12-04 Juanma Barranquero <lektu@terra.es>
22749 * files.el (save-abbrevs, save-some-buffers): Don't ask the user
22750 before saving abbrevs if `save-abbrevs' has the value `silently'.
22752 2001-12-04 Andreas Schwab <schwab@suse.de>
22754 * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
22756 2001-12-04 Colin Walters <walters@debian.org>
22758 * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
22759 for `defmacro*' forms.
22761 * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
22764 2001-12-03 Stefan Monnier <monnier@cs.yale.edu>
22766 * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
22768 2001-12-02 Richard M. Stallman <rms@gnu.org>
22770 * files.el (insert-directory): If the df output does not look right,
22771 don't try to use it. Other cleanups in overall code structure.
22773 2001-12-02 Stefan Monnier <monnier@cs.yale.edu>
22775 * textmodes/outline.el (outline-mode-prefix-map):
22776 Add bindings for outline-promote and outline-demote.
22777 (outline-minor-mode-menu-bar-map): New var.
22778 (outline-minor-mode): Use it.
22779 (outline-heading-alist): New var (renamed from outline-level-heading).
22780 (outline-level): Use it.
22781 (outline-insert-heading, outline-promote, outline-demote):
22782 Update to use outline-heading-alist.
22784 * disp-table.el (standard-display-european):
22785 Simplify since the function is not interactive any more.
22786 Don't set the existing buffers to unibyte.
22788 * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
22790 * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
22792 * reveal.el (reveal-mode): Fix reveal-mode's lighter.
22794 * shell.el (shell): Use shell-file-name.
22795 Pop to buffer before calling comint to set COLUMNS properly.
22797 * emacs-lisp/cl.el (svref): New alias.
22799 * progmodes/antlr-mode.el (antlr-c-common-init):
22800 Don't inhibit adaptive-fill-mode any more.
22802 * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
22804 * progmodes/etags.el (tags-with-face): Use make-symbol.
22805 (tags-search, tags-query-replace): Use backquotes.
22807 * textmodes/picture.el (picture-mode-map): Don't use defconst
22810 2001-12-02 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22812 * textmodes/reftex-index.el (reftex-index-mode):
22813 Remove make-local-hook.
22815 * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
22817 2001-12-02 Kim F. Storm <storm@cua.dk>
22819 * isearch.el (isearch-resume-enabled): New variable.
22820 (isearch-done): Use that variable.
22822 2001-12-01 Richard M. Stallman <rms@gnu.org>
22824 * wid-edit.el (widget-button-click): Don't move point permanently:
22825 Avoid mouse-set-point--instead select the window,
22826 then do save-excursion, then move point.
22827 Specify the buffer for get-char-property.
22828 Don't use `@' in interactive.
22830 * indent.el (indent-line-function):
22831 Default is indent-to-left-margin again.
22833 * replace.el (query-replace-read-args): Display message
22834 if FROM contains `\n' or `\t'.
22836 2001-12-01 Stefan Monnier <monnier@cs.yale.edu>
22838 * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
22840 * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
22842 * emacs-lisp/regexp-opt.el (regexp-opt):
22843 Bind completion-regexp-list to nil.
22845 * progmodes/hideif.el (hif-nexttoken): Move to before first def.
22847 2001-12-01 Eli Zaretskii <eliz@is.elta.co.il>
22849 * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
22850 * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
22853 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
22855 * mail/smtpmail.el: Use with-current-buffer.
22856 (message-make-date, message-make-message-id): Autoload when needed.
22857 (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
22858 headers when missing.
22860 * international/encoded-kb.el (encoded-kbd-mode):
22861 Use define-minor-mode.
22863 * enriched.el (enriched-mode): Use define-minor-mode.
22864 Use dolist and pop and push.
22866 * info.el (Info-find-node-2): Don't call info-insert-file-contents
22867 with the `visit' argument.
22868 (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
22870 * progmodes/hideif.el (hide-ifdef-mode): Only modify
22871 `change-major-mode-hook' locally. Reset invisibility spec.
22873 * man.el (Man-build-section-alist): Remove last Man-match-substring.
22875 2001-11-30 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
22877 * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
22878 Clarify error message.
22880 2001-11-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
22882 * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
22884 2001-11-30 Andre Spiegel <spiegel@gnu.org>
22886 * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
22887 don't just return it.
22889 2001-11-30 Eli Zaretskii <eliz@is.elta.co.il>
22891 * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
22892 (menu-bar-read-emacs-man, search-emacs-glossary)
22893 (emacs-index-search, elisp-index-search): New functions.
22894 (apropso-documentation, apropos, apropos-value, apropos-variable)
22895 (apropos-commands): Modify menu item names and help text.
22896 (elisp-index-search, emacs-index-search, emacs-glossary):
22898 (menu-bar-manuals-menu): Move the Ordering Manuals item to a
22900 (info-elisp, info-elintro): New menu items.
22901 (apropos): Modify the menu item name.
22903 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
22905 * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
22907 * textmodes/outline.el (outline-promote, outline-demote): Typo.
22909 * man.el (man-follow-mouse): New function.
22910 (Man-mode-map): Bind mouse-2 to it.
22911 (Man-match-substring): Remove. Replace with `match-string'.
22912 (man): Use the `default-value' argument to `read-string'.
22913 (Man-fontify-manpage): Add mouse-face to cross references.
22915 * emacs-lisp/cl-macs.el (shiftf): Fix more. Simplify.
22917 2001-11-29 Stefan Monnier <monnier@cs.yale.edu>
22919 * emacs-lisp/crm.el (completing-read-multiple): Better preserve
22920 the value of require-match in minibuffer-completion-confirm.
22921 Use crm-local-completion-map.
22923 * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
22924 (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
22925 (cl-make-type-test): Use char-valid-p for `character'.
22927 * info.el (Info-complete-next-re, Info-complete-cache): New vars.
22928 (Info-complete-menu-item): Rewrite. Add the ability to search
22929 several sequential nodes. Add a simple caching mechanism.
22930 (Info-goto-index): New function extracted from Info-index.
22931 (Info-index): Use it. Add completion to the interactive spec.
22932 (Info-menu-update): Simplify call to `Info-complete-menu-item'.
22934 2001-11-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22936 * COPYING: Removed.
22938 2001-11-29 Dave Love <fx@gnu.org>
22940 * progmodes/fortran.el: Fontify rewind, backspace. Doc fixes.
22941 (fortran-window-create, fortran-window-create-momentarily):
22942 Rewrite, moving error condition.
22943 (fortran-beginning-do, fortran-beginning-if): Fix regexps.
22944 (fortran-mode-syntax-table): Revert last change.
22946 * international/mule.el: Doc fixes.
22947 (map-charset-chars): New function.
22948 (register-char-codings): Use it to cope with generic chars in
22951 2001-11-29 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
22953 * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
22955 * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
22957 * play/studly.el (studlify-word, studlify-region)
22958 (studlify-buffer): Fix doc-string.
22959 (studlify-buffer): Add autoload cookie.
22961 2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
22963 * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
22964 (outline-up-heading-all): Remove.
22965 (hide-sublevels): Move to end-of-heading before calling flag-region.
22966 (outline-copy-overlay, outline-discard-overlays): Remove.
22967 (outline-flag-region): Use `remove-overlays'.
22968 Don't move to end-of-heading.
22969 (outline-next-visible-heading, outline-back-to-heading)
22970 (outline-on-heading-p): Use outline-invisible-p.
22971 (outline-font-lock-level): Use outline-up-heading's new arg.
22972 (outline-minor-mode): Simplify.
22973 (outline-map-tree, outline-reveal-toggle-invisible): New funs.
22974 (outline): Put a `reveal-toggle-invisible' property.
22975 (outline-level-heading): New var.
22976 (outline-insert-heading, outline-promote, outline-demote)
22977 (outline-toggle-children): New commands.
22979 * progmodes/hideif.el (hif-end-of-line): New function.
22980 (hide-ifdef-mode): Set line-move-ignore-invisible.
22981 (hide-ifdef-region-internal): New function.
22982 (hide-ifdef-region): Use it.
22983 (hif-defined): Return an integer.
22984 (hif-infix-to-prefix): Remove.
22985 (hif-tokenize): Parse from the buffer rather than from a string.
22986 Correctly tokenize integers. Use forward-comment.
22987 (hif-expr): Use hif-or.
22988 (hif-term): Use hif-and.
22989 (hif-factor): Use hif-not. Handle numbers properly.
22990 Don't require parenthesis around `defined's argument.
22991 (hif-and, hif-or, hif-not): New funs.
22992 (hif-canonicalize): Pass a region to hif-tokenize. Use hif-not.
22993 (hif-hide-line): Don't hide the \n before the line.
22994 (hif-possibly-hide): Correctly handle numeric evaluation results.
22996 * progmodes/make-mode.el: Use line-(end|beginning)-position.
22997 (makefile-mode): Set indent-line-function.
22998 (makefile-browser-insert-continuation): Use with-current-buffer.
22999 (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
23001 2001-11-28 Karl Fogel <kfogel@red-bean.com>
23003 * isearch.el (isearch-yank-internal): New helper function.
23004 (isearch-yank-char): New function.
23005 (isearch-yank-word, isearch-yank-line): Rewrite to use
23006 isearch-yank-internal.
23008 2001-11-28 Eli Zaretskii <eliz@is.elta.co.il>
23010 * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
23011 aren't supported. Print a message to that effect if invoked.
23013 2001-11-27 Stephen Eglen <stephen@gnu.org>
23015 * locate.el (locate): Put point at first matching file rather
23016 than top of buffer.
23018 2001-11-27 Stefan Monnier <monnier@cs.yale.edu>
23020 * reveal.el: New file.
23022 * progmodes/hideif.el: Misc cleanup.
23023 (hide-ifdef-mode-submap): Put the def in the defvar.
23024 Use substitute-key-definition.
23025 (hide-ifdef-mode): Use define-minor-mode.
23026 (hif-outline-flag-region): Remove.
23027 (hif-show-all): Define in terms of hif-show-ifdef-region.
23028 (hif-after-revert-function): Rename from hif-before-revert-function.
23029 (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
23030 (hif-tokenize): Use with-syntax-table.
23031 (hif-make-range): Use `else' also for `else-p'.
23032 (hif-range-else-p): Remove.
23033 (hif-find-range): Simplify.
23034 (hif-hide-line): Don't bother preserving buffer-modified-p.
23035 (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
23036 Don't use selective-display and inhibit-read-only.
23038 * subr.el (copy-overlay, remove-overlays): New funs.
23040 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
23042 2001-11-27 Sam Steingold <sds@gnu.org>
23044 * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
23045 * lazy-lock.el, mouse-sel.el, mail/feedmail.el
23046 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
23047 * obsolete/c-mode.el, obsolete/cplus-md.el
23048 * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
23049 * term/sun-mouse.el, textmodes/artist.el:
23050 Converted backquote to the new style.
23051 * mouse.el, reposition.el: Likewise (in comments).
23052 * expand.el: Likewise (in a string).
23054 2001-11-27 Richard M. Stallman <rms@gnu.org>
23056 * cus-edit.el (custom-load-symbol): Don't always load locate-library.
23058 2001-11-26 Richard M. Stallman <rms@gnu.org>
23060 * wid-edit.el (widget-toggle-value-create): On graphic terminal,
23061 if :on-glyph or :off-glyph is a list, eval it and store it back.
23062 (checkbox): Quote the values for :on-glyph and :off-glyph.
23064 * cus-start.el (recursive-load-depth-limit): Delete item.
23066 2001-11-26 Stefan Monnier <monnier@cs.yale.edu>
23068 * help-fns.el (describe-categories, help-describe-category-set): New.
23069 describe-categories moved here from src/category.c.
23071 2001-11-26 Sam Steingold <sds@gnu.org>
23073 * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
23074 arguments to `insert' are strings.
23076 2001-11-26 Richard M. Stallman <rms@gnu.org>
23078 * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
23080 2001-11-26 Eli Zaretskii <eliz@is.elta.co.il>
23082 * international/mule-diag.el: Require help-fns instead of
23085 * help-fns.el: Renamed from help-funs.el.
23087 * startup.el (command-line-1): Don't try to call process-list if
23090 2001-11-26 Sam Steingold <sds@gnu.org>
23092 * frame.el (show-trailing-whitespace): Remove :set argument (the
23093 value was essentially identical to the defalt).
23095 2001-11-26 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
23097 * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
23099 * icomplete.el (icomplete-minibuffer-setup): Likewise.
23101 * hilit-chg.el (hilit-chg-set): Likewise.
23103 * speedbar.el (speedbar-mode): Likewise.
23105 * calendar/calendar.el (calendar-mode): Likewise.
23107 * play/yow.el (psychoanalyze-pinhead): Use insert instead of
23110 * play/gamegrid.el (gamegrid-init-buffer): Likewise.
23112 * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
23114 * term/sun-mouse.el (sun-yank-selection): Likewise.
23116 * textmodes/bib-mode.el (return-key-bib): Likewise.
23118 * calendar/appt.el (appt-disp-window): Likewise.
23120 * calendar/diary-lib.el (list-diary-entries): Likewise.
23122 * array.el (array-reconfigure-rows): Likewise.
23124 * filecache.el (file-cache-minibuffer-complete): Likewise.
23126 * obsolete/cplus-md.el (fill-c++-comment): Likewise.
23128 * strokes.el (strokes-prompt-user-save-strokes): Likewise.
23130 * allout.el (outline-version, outline-open-topic)
23131 (outline-rebullet-heading, outline-insert-listified)
23132 (outline-latex-verbatim-quote-curr-line)
23133 (outline-latexify-one-item, outlineify-sticky): Likewise.
23135 * vc.el (vc-next-action-on-file): Likewise.
23136 (vc-dired-mode): Remove make-local-hook.
23138 2001-11-26 Andre Spiegel <spiegel@gnu.org>
23140 * vc.el (vc-find-version): New function.
23141 (vc-version-other-window): Redefined in terms of the above.
23143 * log-view.el (log-view-find-version): New function.
23144 (log-view-mode-map): Bind it to `f'.
23146 2001-11-26 Gerd Moellmann <gerd@gnu.org>
23148 * language/devan-util.el (dev-char-glyph): Escape `"' in
23150 (dev-glyph-glyph, dev-glyph-glyph-2)
23151 (devanagari-compose-syllable-region): Likewise.
23153 2001-11-26 Richard M. Stallman <rms@gnu.org>
23155 * window.el (save-selected-window): No error if saved window is dead.
23157 * help-funs.el (describe-syntax): Put (interactive) after doc string.
23159 2001-11-26 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
23161 * international/quail.el (quail-help): Require help-mode in
23164 * iswitchb.el (iswitchb-exhibit): Use insert instead of
23167 * icomplete.el (icomplete-exhibit): Likewise.
23169 2001-11-25 Stefan Monnier <monnier@cs.yale.edu>
23171 * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
23172 (diff-hunk-kill): Simplify.
23173 (diff-post-command-hook): Only apply to a single hunk.
23174 (diff-hunk-text): Make `char-offset' non-optional.
23175 (diff-find-text): Return a cons cell.
23176 (diff-find-approx-text): New fun.
23177 (diff-find-source-location): Use it.
23178 (diff-apply-hunk, diff-test-hunk, diff-goto-source):
23179 Adapt to new retval of diff-find-text.
23181 * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
23182 rather than integer- representation of dates.
23184 * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
23186 * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
23187 (syntax-after): New fun.
23189 * help-funs.el (describe-syntax): New fun.
23191 * font-lock.el (font-lock-cache-state, font-lock-cache-position)
23192 (font-lock-ppss-stats, font-lock-ppss): Remove.
23193 (font-lock-fontify-syntactically-region): Remove tuning code.
23194 (font-lock-compile-keywords): Fix off-by-one bug.
23195 (font-lock-set-defaults): Don't set removed vars.
23196 (c-keywords): Add `inline'.
23197 (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
23199 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
23200 Set syntax-begin-function.
23201 (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
23202 (lisp-interaction-mode): Don't set local-abbrev-table any more.
23203 (lisp-mode-auto-fill): Use syntax-ppss and obey
23204 comment-auto-fill-only-comments.
23205 (lisp-fill-paragraph): Use syntax-ppss.
23207 2001-11-25 ShengHuo ZHU <zsh@cs.rochester.edu>
23209 * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
23210 version of rmail-enable-mime.
23211 (rmail-forward): Use it.
23213 2001-11-25 Richard M. Stallman <rms@gnu.org>
23215 * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
23217 * international/quail.el (quail-keyboard-layout-button):
23218 Define button type.
23219 (quail-keyboard-customize-button): Likewise.
23220 (quail-help): Use those button types. Require `help-mode'.
23221 Avoid altering the argument `package'.
23223 * help-mode.el (help-function, help-variable, help-face)
23224 (help-coding-system, help-input-method, help-character-set):
23225 Define each button type with its own explicit define-button-type.
23227 * language/devan-util.el: Comment out parts of the file
23228 which apparently are garbled.
23230 2001-11-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
23232 * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
23235 2001-11-25 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
23237 * play/snake.el (snake-mode): Remove make-local-hook.
23239 * play/tetris.el (tetris-mode): Likewise.
23241 * play/decipher.el (decipher-mode): Likewise.
23243 * tmm.el (tmm-add-prompt): Likewise.
23245 2001-11-25 Sam Steingold <sds@gnu.org>
23247 * menu-bar.el (menu-bar-apropos-menu): New variable.
23248 Moved all `apropos' bindings to this menu.
23249 (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
23251 2001-11-24 KAWABATA, Taichi <batta@beige.ocn.ne.jp>
23253 The following changes are for new indian languages support based
23254 on Unicode charset and CDAC fonts.
23256 * international/mule-conf.el: Change indian-1-column charset to
23257 indian-glyph charset.
23259 * international/characters.el: Adjusted for the change of
23260 indian-1-column -> indian-glyph.
23262 * international/fontset.el: Delete the setting for indian-1-column
23263 and add the setting for indian-glyph in the default fontset.
23265 * language/indian.el: Completely re-written.
23267 * language/devanagari.el: Completely re-written.
23269 * language/devan-util.el: Completely re-written.
23271 * language/ind-util.el: New file.
23273 2001-11-24 Richard M. Stallman <rms@gnu.org>
23275 * startup.el (command-line-1): Don't do startup screen
23276 if a subprocess is running. Call the startup screen buffer
23277 "GNU Emacs". Make a special mode-line-format for it.
23279 * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
23280 (browse-url-galeon): Use that variable.
23282 * mail/supercite.el (sc-toggle-var): Don't use set-variable or
23283 eval-expression. Eval and set the variable simply.
23285 * files.el (temporary-file-directory): Use defcustom.
23286 (small-temporary-file-directory): Likewise.
23287 (normal-backup-enable-predicate): Move down in file
23288 after definition of temporary-file-directory.
23290 * bindings.el (last-buffer, unbury-buffer): Doc fixes.
23292 2001-11-24 Colin Walters <walters@debian.org>
23294 * calc/calc-ext.el (calc-init-extensions): Update the rest of the
23295 autoload names to match files renamed on initial calc import.
23297 * calc/calc.el (Commentary): Cleanup, and add logistic curve
23298 fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
23300 2001-11-23 Colin Walters <walters@debian.org>
23302 * Makefile.in (finder_setwins, setwins): Include Calc again.
23304 * calc/calc-rules.el: Add header comment.
23306 2001-11-23 Andre Spiegel <spiegel@gnu.org>
23308 * vc.el (with-vc-properties): Don't bind `filename' locally.
23309 (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
23310 to avoid name clashes. Fix `lisp-indent-function' property for
23313 2001-11-23 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
23315 * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
23317 2001-11-22 Colin Walters <walters@debian.org>
23319 * calc/calc-misc.el (report-calc-bug):
23320 Use `reporter-prompt-for-summary-p'.
23322 * calc/INSTALL, calc/Makefile: Remove.
23324 2001-11-22 Miles Bader <miles@gnu.org>
23326 * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
23327 (reb-match-2, reb-match-3): Add dark-background variants.
23329 2001-11-22 Colin Walters <walters@debian.org>
23331 * calc/calc-misc.el (calc-info): Don't perform voodoo, just
23333 (report-calc-bug): Use reporter.el.
23335 * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
23337 2001-11-21 Richard M. Stallman <rms@gnu.org>
23339 * which-func.el (which-function): Call imenu--make-index-alist
23340 if necessary to get a list of functions.
23341 (which-function-imenu-failed): New variable.
23342 (which-func-update): Handle all visible windows.
23343 (which-func-update-1): New subroutine broken out of which-func-update.
23345 * files.el (temporary-file-directory, null-device)
23346 (small-temporary-file-directory): Definitions moved up.
23348 * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
23349 (cperl-non-problems, cperl-praise): Doc fixes.
23351 * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
23352 (sh-mode-syntax-table): Function restored.
23353 Variable set up for use by function sh-mode-syntax-table.
23354 (sh-set-shell): Set the syntax table.
23356 * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
23358 * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
23360 * international/encoded-kb.el: Don't alter minor-map-alist.
23362 2001-11-20 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
23364 * files.el (auto-save-file-name-transforms): Put remote files in
23365 temporary-file-directory rather than /tmp.
23367 2001-11-21 Colin Walters <walters@debian.org>
23369 * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
23370 of (function ...) wrapper.
23372 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
23374 * derived.el (define-derived-mode): Create the abbrev-table
23375 from inside the `defvar'.
23377 * jit-lock.el (jit-lock-defer-time): New var.
23378 (jit-lock-defer-timer, jit-lock-buffers): New vars.
23379 (jit-lock-mode): Initialize them. Cancel the timers more carefully.
23380 (jit-lock-function): Defer fontification if requested.
23381 (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
23382 (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
23384 (jit-lock-deferred-fontify): New fun.
23386 2001-11-20 Richard M. Stallman <rms@gnu.org>
23388 * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
23389 Set local-abbrev-table to lisp-mode-abbrev-table.
23391 * emacs-lisp/re-builder.el (reb-mode):
23392 Don't use define-derived-mode. Call kill-all-local-variables.
23394 * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
23395 Don't use define-derived-mode.
23397 * help-mode.el (help-mode): Undo 2001-10-07 change.
23399 * replace.el (occur-mode): Undo 2001-5-20 change.
23401 2001-11-20 Jason Rumney <jasonr@gnu.org>
23403 * w32-fns.el (w32-system-coding-system): Change to an alias for
23404 locale-coding-system.
23405 (set-w32-system-coding-system): Document the above change.
23406 Set locale-coding-system instead.
23408 2001-11-20 Richard M. Stallman <rms@gnu.org>
23410 * ruler-mode.el: Add pagination.
23411 (ruler-mode-toggle-show-tab-stops): No need to
23412 test `ruler-mode' variable.
23414 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
23416 * play/landmark.el: Mark lm-mode as special.
23418 * play/gomoku.el: Mark gomoku-mode as special.
23420 2001-11-20 Juanma Barranquero <lektu@terra.es>
23422 * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
23423 (top-level): Bind it to C-c C-b.
23424 (re-builder): Don't re-enter RE Builder Mode.
23426 * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
23428 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
23430 * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
23433 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
23434 to a line without a comment.
23436 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
23438 * dired.el (dired-listing-switches): Mention in the doc string
23439 that some switches are not supported by ls-lisp.el
23441 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
23443 * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
23444 (imenu--create-keymap-2): Remove.
23445 (imenu--create-keymap-1): Simplify, remove third argument.
23446 (imenu--generic-function): Use dolist.
23447 (imenu-find-default): New function.
23448 (imenu--completion-buffer): Use it.
23449 (imenu--mouse-menu): Use popup-menu.
23450 (imenu--menubar-select): Return t rather than calling imenu.
23452 * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
23453 New functions, extracted from fill-region-as-paragraph.
23454 (fill-region-as-paragraph): Use them.
23455 Use an end marker instead of eob.
23456 Ignore whitespace-only fill-prefixes when indenting according to mode.
23457 Simplify the loop that searches for spaces backwards.
23459 * textmodes/picture.el (picture-vertical-step)
23460 (picture-horizontal-step): Don't use defconst for variables.
23462 * mail/mail-extr.el: Use backquote/dolist/mapc/when. Docstring fixes.
23463 (mail-extract-address-components): Downcase domain names.
23464 (mail-extr-delete-char): Remove. Use delete-char instead.
23466 * emulation/pc-select.el: Doc string fixes.
23467 (pc-selection-mode): Don't treat macos as a tty.
23469 * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
23471 * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
23473 * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
23474 (mouse-wheel-progessive-speed): New var.
23475 (mwheel-scroll): Use it and handle float values.
23477 * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
23479 * iswitchb.el (iswitchb-mode): Use define-minor-mode.
23480 (iswitchb): Fix the case where the result was selected with the mouse.
23481 (iswitchb-completion-help): Use the normal *Completions* now that
23482 mouse selection works.
23483 (iswitchb-minibuffer-setup): Simplify.
23485 * newcomment.el (comment-column, comment-style, comment-multi-line)
23486 (comment-auto-fill-only-comments): Remove :group arg.
23487 (comment-padding): Add :type.
23488 (comment-indent-new-line): Ignore comment-auto-fill-only-comments
23489 if called interactively.
23491 2001-11-19 Colin Walters <walters@verbum.org>
23493 * calc/calc.el (toplevel): Add comment and version header.
23494 (calc-init-base): Bump version to 2.02f, update date.
23496 2001-11-19 Richard M. Stallman <rms@gnu.org>
23498 * net/browse-url.el: Support Mozilla and Galeon.
23499 By default, find the installed browser whichever it is.
23500 (browse-url-mozilla): New function.
23501 (browse-url-mozilla-sentinel): New function.
23502 (browse-url-galeon, browse-url-galeon-sentinel): New functions.
23503 (browse-url-default-browser): New function.
23504 (browse-url-process-environment): Use browse-url-browser-display.
23505 (browse-url-browser-display): Renamed from browse-url-netscape-display.
23506 (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
23507 (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
23508 (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
23509 (browse-url-browser-function): New default, new options.
23511 2001-11-19 Sam Steingold <sds@gnu.org>
23513 * bindings.el (last-buffer, unbury-buffer): New function.
23514 (mode-line-unbury-buffer): Use `unbury-buffer'.
23516 2001-11-18 Stephen Eglen <stephen@gnu.org>
23518 * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
23519 control behaviour when no further completion is possible.
23521 2001-11-19 Colin Walters <walters@verbum.org>
23523 * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
23524 (math-showing-full-precision, math-with-extra-prec, math-working)
23525 (calc-with-default-simplification)
23526 (calc-with-trail-buffer): Use backtick.
23527 (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
23528 (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
23529 (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
23530 (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
23531 (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
23532 (Math-num-integerp, Math-bignum-test, Math-equal-int)
23533 (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
23534 (calc-record-compilation-date-macro): Deleted. Callers updated.
23535 (math-format-radix-digit): Move to calc-bin.el.
23537 * calc/calc.el (calc-record-compilation-date): Remove.
23538 (calc-bug-address): Update.
23539 (calc-settings-file): Use `user-init-file'.
23541 * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
23542 Handle null `calc-settings-file'.
23544 * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
23545 * calc/calc-keypd.el (calc-keypad-mode): New.
23546 (calc-do-keypad): Use it.
23547 (calc-keypad-map): Move into `calc-keypad-mode'.
23549 * calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
23550 to defalias argument.
23552 * calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
23553 (calcFunc-floor): Ditto.
23555 * calc-units.el (calcFunc-usimplify): Ditto.
23557 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
23558 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
23559 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
23560 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
23561 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
23562 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
23563 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
23564 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
23565 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
23566 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
23567 * calcsel2.el: Change all toplevel `setq' forms to `defvar' forms,
23568 and move them before their first use. Use `when', `unless'.
23569 Remove trailing periods from error forms. Add description and
23570 headers suggested by Emacs Lisp coding conventions.
23572 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
23574 * newcomment.el (comment-indent):
23575 Fix misindentation for comment-only lines.
23576 (comment-indent-new-line): Only obey comment-multi-line if the
23577 comment-ender is not the end-of-line.
23579 2001-11-19 Richard M. Stallman <rms@gnu.org>
23581 * net/net-utils.el (network-connection-service-abbrev-alist):
23584 * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
23585 Advance to start of 3rd sexp by moving fwd and backing over it.
23586 At first three elements, act like defun.
23588 * delsel.el (delete-selection-pre-hook): Handle and resignal
23589 file-supersession errors to interact properly with userlock.el.
23591 2001-11-18 Richard M. Stallman <rms@gnu.org>
23593 * progmodes/fortran.el (fortran-mode-syntax-table):
23594 Specify punctuation syntax for backslash.
23596 * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
23599 * international/mule-util.el (string-to-sequence): Make it obsolete.
23600 (string-to-list, string-to-vector): Implement them directly
23601 using append and vconcat, not with string-to-sequence.
23603 * startup.el (command-line): Set abbrevs-changed to nil after
23604 reading the init file and the abbrevs file.
23606 * isearch.el (isearch): Use magenta2 as bg for (background light)
23608 2001-11-17 Richard M. Stallman <rms@gnu.org>
23610 * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
23612 * simple.el (minibuffer-history-sexp-flag): Doc fix.
23614 2001-11-17 Stefan Monnier <monnier@cs.yale.edu>
23616 * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
23617 If set and if applicable, add a regexp to highlight defun-like
23618 text inside comments and strings.
23619 (font-lock-fontify-keywords-region): Pass that new arg.
23620 (font-lock-set-defaults): Move the code to set `font-lock-keywords'
23621 to the end and pass that new arg.
23622 (c-font-lock-keywords-2): Fix regex for labels.
23623 (font-lock-match-c++-style-declaration-item-and-skip-to-next):
23624 Make it work when LIMIT is several lines further.
23625 (c-font-lock-keywords-3, c++-font-lock-keywords-3)
23626 (objc-font-lock-keywords-3, java-font-lock-keywords-3):
23627 Use backquote and make the regexes for `int a, b, c;' work on
23630 * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
23631 (font-lock-defaults-alist): Don't change it any more.
23632 (reb-subexp-mode-map): Cleanup.
23634 * custom.el (custom-current-group-alist): New var.
23635 (custom-declare-group): Set it.
23636 (custom-current-group): New fun.
23637 (custom-declare-variable, custom-handle-all-keywords):
23638 Use it as a default if no :group argument is specified.
23640 * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
23641 (standard-keyboard-coding-systems): New var.
23642 (set-locale-environment): Use it to decide whether or not to call
23643 set-keyboard-coding-system.
23644 (locale-language-names): Use \"French\" for "fr".
23646 2001-11-17 Richard M. Stallman <rms@gnu.org>
23648 * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
23649 (add-to-list): Delete compatibility code.
23650 (checkdoc-next-message-error): Doc fix.
23652 2001-11-17 Stephen Eglen <stephen@gnu.org>
23654 * locate.el (locate): Show default locate pattern within the
23655 prompt, but don't insert it into the minibuffer contents.
23656 Catch the case when pattern is the empty string.
23658 2001-11-17 Eli Zaretskii <eliz@is.elta.co.il>
23660 * language/european.el ("French"): New language environment.
23662 2001-11-16 Richard M. Stallman <rms@gnu.org>
23664 * calendar/todo-mode.el (todo-save): Fix previous change.
23666 * subr.el (functionp): Do use cdr-safe on object.
23668 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
23670 * bindings.el (mode-line-mode-name): Only put the help-echo property
23671 if the local-map property was put as well.
23672 (global-map): Bind switch-frame, delete-frame, iconify-frame
23673 and make-frame-visible events.
23675 * emacs-lisp/elp.el (elp-not-profilable): New var.
23676 (elp-not-profilable-p): New function.
23677 (elp-instrument-function): Use it. Use backquotes and push.
23679 * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
23680 (byte-stack+-info, byte-compile-last-warned-form)
23681 (byte-compile-last-logged-file): Don't defconst a variable.
23682 (no-byte-compile): Declare.
23683 (byte-compile-file): Don't boundp-check no-byte-compile any more.
23684 (byte-compile-defvar): Leave defconst as is.
23686 * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
23687 (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
23688 (edebug-current-offset, edebug-old-def-name, edebug-error-point)
23689 (edebug-best-error): Don't defconst a variable.
23690 (edebug-read-syntax-table): Use a char-table.
23691 (edebug-lemacs-specific): Remove.
23692 Toplevel: Eliminate check for Lucid Emacs.
23694 * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
23696 * rect.el (move-to-column-force): Mark obsolete.
23697 (operate-on-rectangle, delete-extract-rectangle-line)
23698 (insert-rectangle, delete-whitespace-rectangle-line)
23699 (open-rectangle-line, clear-rectangle-line): Use move-to-column.
23700 (string-rectangle-history): New var.
23701 (string-rectangle, string-insert-rectangle): Use it.
23702 (delete-rectangle-line): Fix pos/column mixup and simplify.
23704 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
23705 (normal-top-level, command-line, command-line-1): Simplify.
23707 * tar-mode.el (tar-mode): Use define-derived-mode.
23709 * view.el (view-mode-enable): Don't use make-local-hook.
23711 * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
23713 2001-11-16 Richard M. Stallman <rms@gnu.org>
23715 * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
23716 if it doesn't make sense as anything else.
23717 Don't recognize a "telephone number" at the beginning of the name.
23718 (mail-extr-leading-garbage): Match non-word characters only.
23720 2001-11-16 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
23722 * startup.el (command-line-processed): Doc fix.
23724 * apropos.el (apropos-next-label-button): Doc fix.
23726 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
23728 * comint.el (comint-mode): Simplify.
23729 (make-comint-in-buffer): Run `comint-mode' only if necessary.
23731 * subr.el (eval-after-load): Make it work with features as well.
23733 * log-view.el (log-view-mode): Don't mark the buffer unmodified.
23735 * international/mule-cmds.el (describe-input-method): Setup xref.
23736 (set-language-environment): Use functionp.
23737 (locale-language-names, locale-charset-language-names)
23738 (locale-preferred-coding-systems): Defconst and purecopy.
23740 * language/european.el (mac-roman): Add mime-charset property.
23742 2001-11-15 Richard M. Stallman <rms@gnu.org>
23744 * emacs-lisp/cl.el (values, values-list, multiple-value-list)
23745 (multiple-value-apply, nth-value): Use defsubst rather than defalias
23746 to get better doc strings.
23748 2001-11-15 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
23750 * derived.el: Fix autoload cookie.
23752 2001-11-15 Richard M. Stallman <rms@gnu.org>
23754 * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
23756 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
23758 * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
23760 2001-11-15 Richard M. Stallman <rms@gnu.org>
23762 * dired.el (dired-undo): Display a message to explain
23763 that this does not undo file system changes.
23765 2001-11-15 David Kastrup <David.Kastrup@t-online.de>
23767 * mouse-drag.el (mouse-drag-throw): Push back non-drag events
23768 into `unread-command-events' instead of trying keymap
23769 lookups ourselves. This makes mouse-clicks do the right
23770 thing even when keymaps of overlays are involved.
23771 (mouse-drag-drag): Likewise.
23773 2001-11-15 Andreas Schwab <schwab@suse.de>
23775 * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
23776 characters and append anchor to pattern added to auto-mode-alist.
23778 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
23780 * server.el (server-process-filter): Run pre/post-comment-hook
23781 before/after visiting the file.
23783 * info-look.el (makefile-mode): Add info for automake.
23784 (autoconf-mode): Fix the name of the index for automake.
23786 * international/latin-9.el: Give pilcrow punctuation syntax.
23788 2001-11-15 Andre Spiegel <spiegel@gnu.org>
23790 * vc.el: Documentation fixes.
23792 2001-11-14 Stefan Monnier <monnier@cs.yale.edu>
23794 * smerge-mode.el (smerge-match-conflict): Fix typo.
23795 (smerge-diff): Be careful to read match-data early enough.
23797 2001-11-14 Colin Walters <walters@verbum.org>
23799 * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
23800 (calcFunc-subst): Use `defalias' instead of `fset' and
23803 * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
23804 (calcFunc-ceil, calcFunc-round): Ditto.
23806 * calc/calc-bin.el (calcFunc-clip): Ditto.
23808 * calc/calc-ext.el (calcFunc-evalv): Ditto.
23810 * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
23812 * calc/calc-misc.el (math-fixnump, math-fixnatnump)
23813 (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
23815 * calc/calc-units.el (calcFunc-unsimplify): Ditto.
23817 * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
23818 * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
23819 * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
23820 * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
23821 * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
23822 * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
23823 * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
23824 * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
23825 * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
23826 * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
23827 * calcsel2.el: Style cleanup; don't put closing parens on their
23828 own line, add "foo.el ends here" to each file, and update
23831 * README: Update maintainer.
23833 2001-11-13 Richard M. Stallman <rms@gnu.org>
23835 * progmodes/compile.el (recompile): Use compilation-arguments if
23836 set, so as to be able to M-x recompile the exact command which
23837 created a compilation-mode buffer.
23839 * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
23841 2001-11-13 Gerd Moellmann <gerd@gnu.org>
23843 * mouse.el (mouse-drag-region): Don't run the up-event
23844 handler if window start changed due to the down-mouse event.
23846 2001-11-13 Richard M. Stallman <rms@gnu.org>
23848 * mouse.el (mouse-show-mark): Either move point to the mark
23849 or use highlighting, never both.
23850 (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
23852 2001-11-13 Simon Josefsson <jas@extundo.com>
23854 * mail/smtpmail.el (top-level): Change maintainer to Simon
23855 Josefsson, cleanup the smtpmail.el header.
23857 * mail/smtpmail.el (top-level): Don't require cl or base64.
23858 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
23859 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
23860 Defsubst instead of defmacro.
23861 (smtpmail-intersection): Return value in reverse order.
23862 (smtpmail-open-stream): Use stringp instead of string-to-list.
23863 (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
23864 separated from smtpmail-via-smtp.
23866 * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
23867 rfc2104. Require base64 and cl.
23868 (smtpmail-smtp-service): Doc fix. :type fix.
23869 (smtpmail-debug-info): Doc fix.
23870 (smtpmail-debug-verb, smtpmail-auth-credentials)
23871 (smtpmail-starttls-credentials, smtpmail-auth-supported):
23873 (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
23874 mail-utils (it is autoloaded).
23875 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
23876 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
23877 (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
23878 (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
23879 (smtpmail-via-smtp): Support AUTH.
23880 (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
23882 2001-11-13 Richard M. Stallman <rms@gnu.org>
23884 * ebuff-menu.el (electric-buffer-update-highlight): New function.
23885 (electric-buffer-overlay): New variable.
23886 (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
23887 (electric-buffer-list): Likewise.
23889 * isearch.el (isearch-whitespace-chars): Doc fix.
23890 (isearch-mode): Handle negative search-slow-window-lines correctly.
23892 2001-11-13 Stefan Monnier <monnier@cs.yale.edu>
23894 * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
23896 * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
23897 From Emmanuel Briot <briot@act-europe.fr>.
23899 2001-11-13 Colin Walters <walters@debian.org>
23901 * calc/calc.el (calc-unread-command): Use `unread-command-events'.
23903 * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
23904 "~/.emacs"; use `read-file-name'.
23906 * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
23907 * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
23908 * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
23909 * calc/calc.el: Use `frame-width' instead of `screen-width',
23910 `frame-height' instead of `screen-height', and,
23911 `executing-kbd-macro' instead of `executing-macro'.
23913 * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
23914 correct number of arguments.
23916 * calc/calc-aent.el (calc-do-alg-entry):
23917 Use `blink-paren-function' instead of `blink-paren-hook'.
23919 2001-11-12 Richard M. Stallman <rms@gnu.org>
23921 * calendar/todo-mode.el (todo-save): Add save-excursion
23922 and save-restriction.
23924 * server.el (server-edit, server-done): Doc fix.
23926 * simple.el (clone-indirect-buffer): Error if major mode symbol
23927 has a no-clone-indirect property.
23928 (clone-buffer): Check for obvious errors before reading clone name.
23930 * info.el (Info-mode): Add a no-clone-indirect property.
23932 2001-11-12 Sam Steingold <sds@gnu.org>
23934 * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
23935 set-buffer-modified-p to nil after `vc-exec-after'.
23936 * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
23937 (log-view-mode): Make read-only.
23938 (log-view-current-file): Do final `expand-file-name' in the
23939 current `default-directory'.
23940 (log-view-current-tag): Take an optional `where' arg.
23941 (log-view-diff): New user command.
23943 2001-11-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
23945 * progmodes/cpp.el (cpp-choose-face): Fix typo.
23947 2001-11-12 Sam Steingold <sds@gnu.org>
23949 * emacs-lisp/cl-indent.el (toplevel): Indent properly
23950 `generic-flet', `generic-labels', `with-accessors',
23951 `with-condition-restarts'.
23953 2001-11-12 Richard M. Stallman <rms@gnu.org>
23955 * dired.el: Many trivial doc fixes.
23956 (dired-get-file-for-visit): New function.
23957 (dired-find-alternate-file, dired-mouse-find-file-other-window)
23958 (dired-view-file, dired-find-file-other-window, dired-display-file)
23959 (dired-find-file): Use dired-get-file-for-visit.
23961 2001-11-12 Alex Schroeder <kensanata@yahoo.com>
23963 * sql.el (sql-mode): Doc change.
23965 * sql.el (sql-mode-syntax-table): The backslash is no longer an
23968 2001-11-12 Colin Walters <walters@debian.org>
23970 * calc/calc-keypd.el (toplevel): Bind mouse buttons.
23971 (calc-do-keypad): Don't attempt to use nonexistent global
23972 mouse-map, use calc-keypad-map.
23973 (calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
23974 (calc-keypad-left-click): Don't use mouse-map; update to new event
23976 (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
23977 (calc-keypad-press): Use `unread-command-events' instead of
23978 `unread-command-char'.
23980 * calc/calc-ext.el (calc-init-extensions): Update autoload names
23981 to match files renamed on initial calc import.
23983 2001-11-12 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
23985 * textmodes/flyspell.el (flyspell-default-dictionary):
23986 Fix previous change.
23988 2001-11-12 Richard M. Stallman <rms@gnu.org>
23990 * textmodes/flyspell.el (flyspell-default-dictionary):
23993 2001-11-11 Richard M. Stallman <rms@gnu.org>
23995 * calendar/solar.el (solar-sunrise-and-sunset):
23996 Exchange the two extreme values of day-length.
23998 * progmodes/sh-script.el (sh-must-be-shell-mode):
23999 Allow modes derived from sh-mode.
24001 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
24002 Turn off error in some re-search-forward calls.
24004 * replace.el (query-replace-skip-read-only): New variable.
24005 (perform-replace): If that variable is non-nil, ignore matches
24006 that have a read-only property.
24008 * derived.el (define-derived-mode): Doc fix.
24010 * server.el (server-buffer-done): Test of server-existing-buffer
24012 (server-existing-buffer): Doc fix.
24014 * textmodes/flyspell.el (flyspell-default-dictionary):
24015 Allow nil as value, and make nil the default.
24017 2001-11-11 Eli Zaretskii <eliz@is.elta.co.il>
24019 * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
24021 (clipboard-yank): Ditto.
24023 2001-11-11 Colin Walters <walters@verbum.org>
24025 The following changes are based on patches from
24026 Eli Zaretskii <eliz@is.elta.co.il>, Kai Gro
\e,A_
\e(Bjohann
24027 <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
24029 * calc/calc.el (toplevel): Require calc-macs.
24030 (calc-minibuffer-size): New.
24031 (calcDigit-nondigit): Use it instead of `buffer-size'.
24032 (calcDigit-backspace): Likewise.
24033 (calcDigit-nondigit): Use `minibuffer-contents' instead of
24035 (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
24037 (calcDigit-key): Use `calc-minibuffer-contains' instead of a
24040 * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
24041 simple `setq' form.
24043 * calc/calc-ext.el: (toplevel): Require calc.
24044 (calc-fancy-prefix-map): New.
24045 (calc-fancy-prefix): Use it.
24046 (calc-fancy-prefix-other-key): New.
24048 * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
24049 (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
24050 (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
24051 (calcAlg-enter): Likewise.
24052 (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
24054 2001-11-10 Richard M. Stallman <rms@gnu.org>
24056 * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
24057 (quietly-read-abbrev-file): Doc fix.
24059 * startup.el (command-line): Read standard abbrev
24060 file (abbrev-file-name), if it exists.
24062 * files.el (save-abbrevs): Default value is t.
24064 * progmodes/compile.el (compile-goto-error): Fix previous change
24065 in the case where subsequent errors have not been parsed yet
24066 because they are in a different source file.
24068 2001-11-10 Peter Kleiweg <kleiweg@let.rug.nl>
24070 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
24071 Merge two regular expressions into one.
24072 (ps-mode): Make local bindings for `comment-start' and
24073 `comment-start-skip'.
24074 (ps-mode-looking-at-nested): Simplify an if-else construct;
24075 use `set-match-data' to set the result.
24077 2001-11-10 Richard M. Stallman <rms@gnu.org>
24079 * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
24081 (flyspell-correct-word): Old definition deleted.
24082 (flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
24083 All references renamed too.
24085 2001-11-10 Gerd Moellmann <gerd@gnu.org>
24087 * Makefile.in (finder_setwins, setwins): Exclude Calc.
24089 2001-11-09 Per Abrahamsen <abraham@dina.kvl.dk>
24091 * wid-edit.el (checklist): Removed `:menu-tag'.
24092 (radio-button-choice): Ditto.
24093 (editable-list): Ditto.
24095 2001-11-09 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
24097 * play/gomoku.el: Move definitions of constants to the beginning
24098 of file, before their use.
24100 2001-11-09 Richard M. Stallman <rms@gnu.org>
24102 * textmodes/flyspell.el: Use the keymap property
24103 instead of local-map, and don't use a minor-mode map.
24104 (flyspell-mode-map): Variable deleted.
24105 Don't mess with minor-mode-map-alist.
24106 (calling add-minor-mode): Specify nil for keymap.
24107 And always use add-minor-mode, now that it exists.
24108 (flyspell-overlay-keymap-property-name): Set it to `keymap'.
24109 (flyspell-mode-on): Don't locally bind flyspell-mouse-map
24110 or flyspell-local-mouse-map.
24111 (make-flyspell-overlay): Use flyspell-mouse-map directly.
24112 (flyspell-mode): Doc fix.
24113 (flyspell-mode-on): Don't call make-local-hook.
24115 2001-11-09 Sam Steingold <sds@gnu.org>
24117 * emacs-lisp/debug.el (debugger-make-xrefs):
24118 Add buttons to all symbols.
24120 2001-11-09 Andre Spiegel <spiegel@gnu.org>
24122 * vc.el: Add John David Smith to credits.
24124 Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
24126 * vc-hooks.el (vc-error-occured): Backquotified.
24127 (vc-file-prop-obarray): Use prime length for better efficiency.
24129 * vc.el (vc-clear-context): Fill obarray with 0, not nil.
24131 2001-11-09 Eli Zaretskii <eliz@is.elta.co.il>
24133 * info.el (Info-file-list-for-emacs): Add entries for Calc.
24135 2001-11-09 Miles Bader <miles@gnu.org>
24137 * subr.el (functionp): Don't consider macros as functions.
24139 2001-11-08 Miles Bader <miles@gnu.org>
24141 * subr.el (functionp): Make work correctly for macros and unbound
24144 * comint.el (comint-send-input): Fix description of
24145 `comint-process-echoes' in the doc-string.
24147 2001-11-08 Eli Zaretskii <eliz@is.elta.co.il>
24149 * international/mule.el (make-translation-table): Doc fix.
24150 Suggested by Alex Schroeder <alex@gnu.org>.
24152 2001-11-07 Richard M. Stallman <rms@gnu.org>
24154 * info.el (Info-fontify-node): Highlight every third menu item.
24156 2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk>
24158 * cus-edit.el (custom-face-value-create): Don't ignore the
24159 `customized-face' attribute when finding the current face spec.
24161 2001-11-07 Stefan Monnier <monnier@cs.yale.edu>
24163 * subr.el (with-local-quit): New macro.
24164 (make-syntax-table): Always inherit.
24165 (functionp): Be more careful when `object' is a symbol.
24167 * dabbrev.el (dabbrev-completion): Use "*Completions*".
24169 2001-11-07 Paul Eggert <eggert@twinsun.com>
24171 * dired.el (dired-move-to-filename-regexp):
24172 Do not distinguish between ASCII letters and non-ASCII characters.
24173 Don't allow comma except in the form "month day, year".
24174 Don't allow space between month name and comma.
24175 Clean up the code that checks for trailing period, comma, and space.
24176 Remove now-obsolete comments, and add more commentary about
24178 Always gobble up trailing spaces, instead of doing it only sometimes.
24180 2001-11-07 Miles Bader <miles@gnu.org>
24182 * paren.el (show-paren-match-face): Add dark-background variant.
24184 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
24186 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
24187 (lisp-mode-variables): Don't set paragraph-{start,separate}.
24188 Don't disable adaptive-fill-mode.
24189 (lisp-fill-paragraph): Use tab-width rather than 8.
24190 Prevent filling the first line of docstrings.
24192 2001-11-06 Richard M. Stallman <rms@gnu.org>
24194 * play/gomoku.el (gomoku): Doc fix.
24196 * jka-compr.el (jka-compr-partial-uncompress):
24197 Support an alternative of not using dd.
24198 (jka-compr-dd-program): Use defcustom to define this.
24199 (jka-compr-load-suffixes): Use defcustom.
24200 (jka-compr-mode-alist-additions): Use defcustom.
24202 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
24204 * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
24205 Also work when LIMIT is further than the end of line.
24207 2001-11-06 Eli Zaretskii <eliz@is.elta.co.il>
24209 * international/quail.el (quail-update-leim-list-file): Print the
24210 offending file name if some of its quail-define-package forms is broken.
24212 2001-11-05 Richard M. Stallman <rms@gnu.org>
24214 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
24215 of the evaluated form.
24217 2001-11-05 Paul Eggert <eggert@twinsun.com>
24219 * ls-lisp.el (ls-lisp-time-to-seconds): New function.
24220 (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
24221 stamps always line up by default. Also, it uses a slightly
24222 different window to determine whether files are "recent".
24224 2001-11-05 Andrew Innes <andrewi@gnu.org>
24226 * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
24227 Don't attempt to remake autoloads before nuking .elc files.
24229 2001-11-04 Richard M. Stallman <rms@gnu.org>
24231 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
24232 previous-single-property-change or next-single-char-property-change
24235 * international/mule-cmds.el (set-locale-environment):
24236 Make it interactive; make arg optional.
24238 * international/mule-diag.el (help-funs): Require help-funs.
24240 2001-11-04 Eli Zaretskii <eliz@is.elta.co.il>
24242 * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
24244 2001-11-04 Miles Bader <miles@gnu.org>
24246 * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
24247 shadow of the splash image grey on a dark background instead of black.
24249 2001-11-03 Stefan Monnier <monnier@cs.yale.edu>
24251 * term.el (all faces): Don't (copy-face 'default <foo>).
24253 * term/xterm.el (function-key-map):
24254 Add entry for `ESC [ 3 ~' -> <delete>
24255 Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
24256 Use inheritance so that .emacs and terminfo take precedence.
24258 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
24260 * tooltip.el (tooltip-delay): Decrease to 0.7.
24261 (tooltip-hide-delay): Enlarge to 10.
24263 2001-11-03 Richard M. Stallman <rms@gnu.org>
24265 * startup.el (fancy-splash-tail): Explain how to recover
24266 from a crash, if there was a crash.
24267 (command-line-1): Reorganize display of startup screen,
24268 to simplify the logic. Use a temp buffer for it.
24270 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
24272 * frame.el (set-background-color, set-foreground-color):
24273 Call face-set-after-frame-default, to propagate the new colors to
24274 the frame's parameters alist.
24276 * calendar/timeclock.el (timeclock-out): Signal an error if
24277 timeclock-last-event is nil.
24279 2001-11-02 Stefan Monnier <monnier@cs.yale.edu>
24281 * textmodes/fill.el (fill-context-prefix): Fix braino.
24283 * international/quail.el (quail-help):
24284 Use `help-buffer' and move `help-setup-xref' to beginning.
24286 * international/mule-cmds.el (describe-language-environment):
24287 Use `help-buffer' and move `help-setup-xref' to beginning.
24289 * international/mule-diag.el (list-character-sets)
24290 (sort-listed-character-sets, describe-character-set)
24291 (describe-coding-system, describe-fontset, list-fontsets):
24292 Use `help-buffer' and move `help-setup-xref' to beginning.
24293 (describe-char-after): Use `internal-describe-syntax-value'.
24295 2001-11-02 Richard M. Stallman <rms@gnu.org>
24297 * mouse.el (popup-menu): If the user refuses to select
24298 from a menu, don't try to invoke the menu.
24300 2001-11-02 Miles Bader <miles@gnu.org>
24302 * help-mode.el (help-xref): New button type.
24303 (help-function, help-variable, help-face, help-coding-system)
24304 (help-input-method, help-character-set, help-type, help-symbol)
24305 (help-back, help-info, help-customize-variable, help-customize-face)
24306 (help-function-def, help-variable-def): Use it as a supertype.
24307 Remove `action' property.
24309 * international/mule-diag.el (describe-character-set)
24310 (describe-coding-system): Pass correct args to `help-xref-button'.
24311 (sort-listed-character-sets): New button type.
24312 (list-character-sets): Use it.
24313 (list-charset-chars): New button type.
24314 (list-character-sets-1): Use it.
24316 2001-11-01 Stefan Monnier <monnier@rum.cs.yale.edu>
24318 * indent.el (tab-always-indent, indent-for-tab-command):
24319 Remove redundant `never' setting.
24321 * fill.el (fill-region-as-paragraph): Don't forget to skip
24322 over current whitespace before looking for a preceding space.
24324 2001-11-01 Richard M. Stallman <rms@gnu.org>
24326 * files.el (file-newest-backup): Don't pass backup file name
24327 thru file-name-sans-versions, because it never has version numbers.
24329 * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
24330 to avoid ambiguous nested loops.
24332 * files.el (find-file-noselect): Offer to change buffer-read-only
24333 only when the file's read-only status has changed from before
24334 as well as disagreeing with the buffer's current status.
24335 (buffer-file-read-only): New var, local in all buffers.
24337 * buff-menu.el (buffer-menu): Doc fix.
24338 (buffer-menu-other-window): Doc fix.
24339 (list-buffers, list-buffers-noselect): Doc fix.
24341 2001-11-01 Gerd Moellmann <gerd@gnu.org>
24343 * startup.el (command-line): If the terminal Emacs is running on
24344 has erase char set to ^H, use the Backspace key for deleting
24345 backward, and the Delete key for deleting forward.
24347 2001-11-01 Miles Bader <miles@gnu.org>
24349 * button.el (define-button-type): Make sure every user-defined
24350 button type has a supertype.
24352 2001-10-31 Jason Rumney <jasonr@gnu.org>
24354 * international/mule-cmds.el (locale-language-names): Add chs and
24355 cht as aliases for Chinese-GB and Chinese-BIG5.
24357 2001-10-31 Richard M. Stallman <rms@gnu.org>
24359 * bindings.el (mode-line-frame-identification): Add doc string.
24360 (mode-line-position, mode-line-modes): New variables.
24361 (mode-line-format): Use mode-line-position for the part
24362 that displays the position-in-buffer info.
24363 Use mode-line-modes for the part that displays major and minor modes.
24365 2001-10-31 Sam Steingold <sds@gnu.org>
24367 * emacs-lisp/debug.el (debugger-make-xrefs): New function.
24368 (debugger-setup-buffer): Call it.
24369 (debugger-mode-map): Bind RET and mouse-2.
24371 2001-10-31 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
24373 * startup.el: Document command line option --no-window-system
24374 instead of --no-windows.
24376 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
24378 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
24380 * font-lock.el (java-font-lock-syntactic-face-function): New fun.
24381 (font-lock-defaults-alist): Use it.
24382 From David Ponce <david.ponce@wanadoo.fr>
24384 * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
24385 output of `char-after'.
24387 * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
24389 * simple.el (reindent-then-newline-and-indent): Insert the newline
24390 before indenting the first line.
24391 (undo-get-state, undo-revert-to-state): New funs.
24392 (shell-command): Don't kill the buffer even if empty.
24393 (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
24394 (transpose-subr-end2): Remove.
24395 (transpose-subr): Add `special' arg and simplify.
24396 (transpose-subr-1): Rewrite.
24397 (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
24398 (rfc822-goto-eoh): Simplify.
24400 2001-10-30 Richard M. Stallman <rms@gnu.org>
24402 * enriched.el (enriched-face-ans): Fix previous change.
24404 2001-10-30 Gerd Moellmann <gerd@gnu.org>
24406 * international/iso-acc.el (iso-accents-compose): Remove a
24409 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il>
24411 * buff-menu.el (list-buffers-noselect): If the buffer's name
24412 starts with a blank, but it visits a file, do show it (for files
24413 whose names start with a blank).
24415 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
24417 * textmodes/fill.el (sentence-end-double-space)
24418 (sentence-end-without-period): Move to paragraphs.el.
24419 (fill-indent-according-to-mode): Change default to t.
24420 (fill-context-prefix): Simplify control-flow and use a more
24421 sophisticated merge that unifies both previous checks.
24422 (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
24423 (fill-nobreak-predicate): Make it into a defcustom'd hook.
24424 (fill-nobreak-p): New fun.
24425 (fill-region-as-paragraph): Use it.
24426 Handle `fill-indent-according-to-mode' slightly differently.
24427 (fill-individual-paragraphs-prefix): Simplify the control-flow.
24428 (fill-individual-paragraphs-citation): Fix.
24430 * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
24431 (paragraph-start): Change default to the `text-mode' value.
24432 (sentence-end-double-space, sentence-end-without-period):
24434 (forward-paragraph): Use `parstart' and `parsep' for temp variables
24435 rather than rebinding `paragraph-start' and `paragraph-separate'.
24437 * indent.el (indent-line-function): Change default to indent-relative.
24438 (tab-always-indent): Add an `never' setting.
24439 (indent-according-to-mode): Handle `indent-relative' and
24440 `indent-relative-maybe' specially.
24441 (indent-for-tab-command): Rename `prefix-arg' to `arg'.
24442 Handle the `never' case for `tab-always-indent'.
24443 Don't call indent-according-to-mode for indent-relative' and
24444 `indent-relative-maybe'.
24445 (insert-tab): Rename `prefix-arg' to `arg'.
24446 (indent-region): Indent the first line as well.
24447 (indent-relative): Don't mark the buffer modified if the indentation
24450 * textmodes/text-mode.el (paragraph-indent-minor-mode):
24451 Don't set paragraph-separate. Set paragraph-start more carefully.
24452 Set indent-line-function.
24453 (paragraph-indent-text-mode): Use it and define-derived-mode.
24454 (text-mode-map): Remove the \t binding.
24455 (text-mode): Simplify now that the default is more favorable.
24457 2001-10-29 Stefan Monnier <monnier@cs.yale.edu>
24459 * emacs-lisp/find-func.el (find-function-search-for-symbol):
24460 If the regexp doesn't match, use a looser one.
24461 (find-variable-noselect): Add `file' argument.
24463 * pcvs.el (cvs-mode-commit-hook): New hook.
24464 (cvs-mode-commit): Run it.
24466 * log-edit.el (log-edit): Run hook after `log-edit-files'.
24468 * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
24469 (edebug-instrument-function): Use `find-function-noselect'.
24471 2001-10-29 Richard M. Stallman <rms@gnu.org>
24473 * term.el (term-if-emacs19): Macro deleted.
24474 Callers changed to use progn instead.
24476 * frame.el (blink-cursor-mode): Doc fix.
24478 * files.el (find-backup-file-name): Use make-backup-file-name.
24480 * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
24482 (edebug-set-conditional-breakpoint): Unconditionally use
24483 the former Emacs >=19 definition.
24484 (edebug-mark): Define unconditionally.
24485 (edebug-eval-expression): Always call read-from-minibuffer
24486 and specify history list.
24487 (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
24488 edebug-set-conditional-breakpoint.
24489 (edebug-emacs-version-specific): Function deleted;
24490 do the job at top level.
24491 (edebug-emacs-19-specific): Function deleted, this is the default.
24493 2001-10-29 Sam Steingold <sds@gnu.org>
24495 * w32-fns.el (convert-standard-filename): Handle cygwin-specific
24496 "/cygdrive/LETTER/" pathnames.
24498 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il>
24500 * faces.el (invert-face): Check for 'unspecified, not for nil,
24501 when testing whether face colors are not specified.
24502 From David.Kastrup@t-online.de (David Kastrup).
24503 (read-face-name): Doc fix.
24504 (make-face-bold, make-face-unbold, make-face-italic)
24505 (make-face-unitalic, make-face-bold-italic, invert-face):
24506 Remove trailing blank from the prompt passed to read-face-name.
24508 2001-10-29 Sam Steingold <sds@gnu.org>
24510 * emacs-lisp/bytecomp.el (byte-recompile-directory):
24511 Report numbers of files skipped and failed too.
24512 (byte-compile-file): Return 'no-byte-compile for skipped files.
24514 2001-10-29 Kai Gro
\e,A_
\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
24516 * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
24519 2001-10-29 Gerd Moellmann <gerd@gnu.org>
24521 * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
24522 as is on unread-command-events instead of `(SECOND-CHAR)'.
24524 2001-10-29 Andre Spiegel <spiegel@gnu.org>
24526 * vc.el: Mention vc-*-switches in backend API documentation.
24527 (vc-annotate): Adapt doc string to recent change.
24529 2001-10-29 Gerd Moellmann <gerd@gnu.org>
24531 * enriched.el (enriched-face-ans): Handle face attributes
24532 of the form `(FACE1 FACE2 ...)'.
24534 * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
24536 2001-10-29 Alex Schroeder <kensanata@yahoo.com>
24538 * progmodes/sql.el (sql-mysql): Doc change by RMS.
24540 * progmodes/sql.el (sql-db2): Doc change.
24541 (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
24542 (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
24544 2001-10-29 Gerd Moellmann <gerd@gnu.org>
24546 * env.el (substitute-env-vars): Don't quote argument to `rx';
24549 2001-10-28 Per Abrahamsen <abraham@dina.kvl.dk>
24551 * cus-start.el (recursive-load-depth-limit): Added.
24553 2001-10-28 Richard M. Stallman <rms@gnu.org>
24555 * textmodes/ispell.el (version18p, version20p): Vars deleted.
24556 All uses removed--assume Emacs version is >= 20.
24558 * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
24559 by really checking that it is not version 18.
24561 * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
24563 2001-10-28 Miles Bader <miles@gnu.org>
24565 * faces.el (face-attribute): Add INHERIT argument, consider face
24566 inheritance if it's non-nil.
24567 (face-attribute-merged-with): New function.
24568 (face-attribute-specified-or): New macro.
24569 (face-foreground, face-background, face-stipple): Add INHERIT
24570 argument. Use `face-attribute-specified-or'.
24572 2001-10-28 Stefan Monnier <monnier@cs.yale.edu>
24574 * font-lock.el: Require `syntax'.
24575 (font-lock-defaults-alist): Don't define keywords for lisp languages.
24576 Use `c-font-lock-syntactic-face-function' for c languages.
24577 (font-lock-mode): Don't unset vars when turning the mode off.
24578 (font-lock-default-fontify-buffer): Don't unset vars at the end.
24579 (font-lock-extra-managed-props): New var.
24580 (font-lock-default-unfontify-region): Use it.
24581 (font-lock-apply-syntactic-highlight): Flush the syntax cache.
24582 Don't eval the value when there's no match.
24583 (font-lock-ppss-stats): New var.
24584 (font-lock-ppss): New fun.
24585 (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
24586 (font-lock-apply-highlight): Allow `highlight' to set several props.
24587 (font-lock-set-defaults): Use dolist.
24588 (font-lock-unset-defaults): Remove.
24589 (font-lock-match-c-style-declaration-item-and-skip-to-next):
24590 Try to recognize prototypes using `foo P_ ((args))'.
24591 ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
24592 (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
24593 (c-font-lock-syntactic-face-function): New function.
24594 (font-lock-match-c++-style-declaration-item-and-skip-to-next)
24595 (c++-keywords): Use a more sophisticated regexp to handle
24596 shallowly nested templates.
24598 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
24600 * textmodes/sgml-mode.el (sgml-empty-tags): New var.
24601 (sgml-tag): Use it. Cleanup with `cond'.
24602 (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
24603 Mark the overlays and only delete those that are marked.
24604 (sgml-skip-close-p): Remove.
24605 (sgml-value): Replace sgml-skip-close-p with its definition.
24606 (html-tag-alist): Use sgml-xml a bit more.
24607 (html-mode): Set sgml-empty-tags.
24609 * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
24610 (texinfo-update-node, texinfo-sequential-node-update):
24611 Don't bind the obsolete `auto-fill-hook'.
24612 (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
24613 Use `set-buffer' rather than `switch-to-buffer'.
24614 (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
24615 Use `set-buffer' rather than `switch-to-buffer'.
24617 * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
24618 text-mode-syntax-table.
24619 (mail-mode): Use define-derived-mode.
24620 Fix ordering of alternatives in adaptive-fill-regexp.
24621 (mail-mode-map): Don't rely on keymap's internal representation.
24623 2001-10-27 Sam Steingold <sds@gnu.org>
24625 * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
24626 (sgml-xml-guess): Extracted from `html-mode' and generalized.
24627 (sgml-mode-common): Call it.
24628 (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
24629 (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
24630 (html-horizontal-rule, html-image, html-ordered-list):
24631 (html-unordered-list, html-list-item, html-paragraph):
24632 (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
24635 2001-10-26 Masayuki Ataka <ataka@milk.freemail.ne.jp>
24637 * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
24638 (ifnothtml): New alias.
24640 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
24642 * textmodes/text-mode.el (text-mode): Use define-derived-mode.
24643 (toggle-text-mode-auto-fill): Use derived-mode-p.
24645 2001-10-27 Gerd Moellmann <gerd.moellmann@t-online.de>
24647 * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
24648 `mdtm'. From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
24650 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
24652 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
24653 Add make-obsolete cookies, to follow faces.el.
24655 These changes avoid warnings from the byte compiler in faces.el:
24657 * faces.el (internal-get-face): Use facep instead of the obsolete
24658 internal-find-face.
24659 (internal-frob-font-weight, internal-frob-font-slant):
24660 New defaliases for obsolete functions.
24661 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
24662 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
24663 (x-make-font-bold-italic): Use internal-frob-font-weight and
24664 internal-frob-font-slant aliases instead of the obsolete
24665 x-frob-... functions.
24667 2001-10-26 Sam Steingold <sds@gnu.org>
24669 * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
24670 DOCTYPE; set `mode-name' based on it.
24671 (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
24672 (sgml-tag): Close empty tags in XHTML.
24674 2001-10-26 Jason Rumney <jasonr@gnu.org>
24676 * w32-fns.el: (w32-charset-info-alist): Use ANSI for iso10646-1
24677 when UNICODE is not defined.
24679 2001-10-26 Sam Steingold <sds@gnu.org>
24681 * font-lock.el (c-font-lock-keywords-2): Do not require labels to
24682 be alone on the line.
24684 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
24686 * button.el (button): Special face definition for MS-DOS terminals.
24688 2001-10-26 Sam Steingold <sds@gnu.org>
24690 * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
24691 Protect the /= test by checking that the args are non-nil.
24692 (sh-font-lock-close-heredoc): Check eof for being non-nil.
24694 2001-10-26 Tomas Abrahamsson <tab@lysator.liu.se>
24696 * textmodes/artist.el (artist-version): 1.2.4.
24697 (artist-butlast-fn): New variable.
24698 (artist-butlast): New function.
24699 (artist-ellipse-mirror-quadrant): Use it.
24700 (artist-mouse-draw-poly): Use nil for `point-list'.
24701 (artist-mouse-draw-poly): Check for point-list being nil.
24703 2001-10-26 Peter Kleiweg <kleiweg@let.rug.nl>
24705 * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
24707 (ps-mode-menu-main): Submenu with options on/off was replaced with
24709 (ps-mode, ps-run-mode): Define with `define-derived-mode'
24710 (ps-mode): Autoload cookie added on same line as comment
24711 (ps-mode-tabkey, ps-mode-backward-delete-char):
24712 (ps-mode-r-balance): Replace `delete-horizontal-space' and
24713 `indent-to' with `indent-line-to'
24714 (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
24716 (ps-mode-print-region): Use `with-temp-buffer'.
24717 (ps-run-start): Use of `mapconcat'. Use `apply' instead of `eval'.
24718 (numerous places): Add back-tick and tick around names in
24719 docstrings, fix punctuation in docstrings, remove trailing spaces.
24721 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
24723 * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
24724 (sgml-font-lock-keywords-2): Use `eval'. Moved from sgml-mode-common.
24725 (sgml-font-lock-syntactic-keywords): New var.
24726 (sgml-mode-common): Drop the two args.
24727 Don't make buffer-local variables that aren't used.
24728 Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
24729 Don't set `before-string' props from sgml-display-text.
24730 (sgml-mode): Use define-derived-mode.
24731 (sgml-tags-invisible): Use sgml-display-text.
24732 (sgml-quote): New command.
24733 (html-tag-alist): Add args for `span'.
24734 (html-mode): Use define-derived-mode.
24735 Set sgml-display-text and sgml-tag-face-alist.
24737 2001-10-25 Sam Steingold <sds@gnu.org>
24739 * add-log.el (add-log-always-start-new-record): New user option.
24740 (add-change-log-entry): Use it.
24742 2001-10-25 Richard M. Stallman <rms@gnu.org>
24744 * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
24745 bind case-fold-search if FROM is not all lower case.
24747 2001-10-25 Gerd Moellmann <gerd@gnu.org>
24749 * startup.el (normal-top-level): Check for frame-initial-frame
24750 only if it's really used.
24752 * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
24754 * progmodes/compile.el (compilation-parse-errors-filename-function):
24756 (compilation-parse-errors): Use it.
24758 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
24760 * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
24761 interactively so that C-u M-C-x still does edebug.
24762 (checkdoc-sentencespace-region-engine): Don't force a double-space
24763 after `.' if it doesn't look like an end-of-sentence.
24764 (debug-ignored-errors): Add `disambiguate ...'.
24766 2001-10-24 Stefan Monnier <monnier@cs.yale.edu>
24768 * textmodes/texinfo.el (texinfo-environments)
24769 (texinfo-environment-regexp): Hoist.
24770 (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
24771 Only highlight the menu name in menu items.
24772 Setup `@foo ... @end foo' as text clones.
24773 (texinfo-clone-environment): New function.
24774 (texinfo-mode): Simplify auto-fill-inhibit-regexp.
24775 (texinfo-insert-block): Simplify.
24776 (texinfo-insert-quote): Insert a plain " if preceded by \ or if
24777 the command is repeated.
24778 (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
24779 (texinfo-insert-@end): Simplify.
24781 * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
24782 (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
24783 (texinfo-subsubsection-level-regexp)
24784 (texinfo-update-menu-same-level-regexps)
24785 (texinfo-update-menu-higher-regexps)
24786 (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
24788 * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
24789 (derived-mode-p): Autoload.
24791 * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
24792 New vars and functions.
24793 (text-clone-maintain, text-clone-create): New functions.
24795 2001-10-25 Miles Bader <miles@gnu.org>
24797 * facemenu.el (facemenu-add-new-face): Fix variable names.
24799 2001-10-24 Richard M. Stallman <rms@gnu.org>
24801 * facemenu.el (facemenu-unlisted-faces): Improve doc strings
24802 of t and nil values.
24803 (facemenu-set-face): Handle START and END interactively.
24804 (facemenu-set-foreground): Don't use a face; specify color directly.
24805 (facemenu-set-background): Likewise.
24806 (facemenu-set-face-from-menu): Doc fix.
24807 (facemenu-active-faces): Use face-attribute-vector
24808 to handle bare attributes not in faces.
24809 (facemenu-get-face): Don't handle face names fg:... and bg:...
24811 (facemenu-add-new-face): New argument MENU.
24812 New way to handle adding colors to the color menus.
24814 * env.el (substitute-env-vars): Quote the arg to rx.
24816 2001-10-24 Sam Steingold <sds@gnu.org>
24818 * mouse.el (mouse-buffer-menu-mode-groups): Added "Version
24819 Control" and "SGML" groups.
24821 2001-10-24 Martin Stjernholm <bug-cc-mode@gnu.org>
24823 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
24824 Better handling of C++ template args to avoid confusion with `<'
24825 and `>' used as operators in member init expressions.
24827 2001-10-24 Gerd Moellmann <gerd@gnu.org>
24829 * replace.el (perform-replace): Move START and END parameters
24830 to the end of the argument list and make them optional.
24832 * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
24835 * international/fontset.el (x-must-resolve-font-name): New function.
24836 (x-complement-fontset-spec): Use it.
24838 2001-10-23 Stefan Monnier <monnier@cs.yale.edu>
24840 * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
24842 * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
24843 Turn caadr into caar of cdr.
24845 2001-10-23 Gerd Moellmann <gerd@gnu.org>
24847 * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
24848 of mouse-{1,2} since dragging is on the down event.
24850 * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
24852 * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
24855 * desktop.el (desktop-last-buffer): New variable.
24856 (desktop-create-buffer): Set it.
24857 (desktop-read): Bind it and switch to that buffer.
24859 2001-10-22 Gerd Moellmann <gerd@gnu.org>
24861 * progmodes/compile.el (compilation-set-window-height):
24862 Select old window only if it's still live.
24864 2001-10-22 Pavel Jan
\e,Am
\e(Bk <Pavel@Janik.cz>
24866 * help-mode.el (help-buffer): Remove debugging code.
24867 From Stefan Monnier <monnier@cs.yale.edu>.
24869 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
24871 * files.el (file-name-sans-extension, file-name-extension):
24872 Don't count the leading dots in file names as signaling an extension.
24874 2001-10-22 Andre Spiegel <spiegel@gnu.org>
24876 * vc.el (vc-diff-switches): Doc rewritten.
24878 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
24880 * tooltip.el (tooltip-set-param): Doc fix.
24882 * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
24883 127 to sgml-maybe-name-self.
24884 (sgml-name-8bit-mode): Doc fix.
24885 (sgml-char-names-table): New variable.
24886 (sgml-name-char): Support non-ASCII and mule-unicode-*
24887 characters. Doc fix.
24888 (sgml-maybe-name-self): Convert unibyte characters to multibyte.
24890 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
24891 doc string the effect of `left' and `top' parameters in
24892 tooltip-frame-parameters, the default values, and the units.
24893 (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
24894 (tooltip-show): Mention in the doc string the `top' and `left'
24895 parameters in tooltip-frame-parameters, and x-max-tooltip-size.
24897 2001-10-22 Andre Spiegel <spiegel@gnu.org>
24899 Add autoscaling support for vc-annotate.
24900 From J.D. Smith <jdsmith@alum.mit.edu>.
24902 * vc.el (vc-annotate-display-default): Accept colormap scaling
24903 ratio (now deprecated).
24904 (vc-annotate-display-autoscale): Added.
24905 (vc-annotate-add-menu): New autoscaling menu options "Span to
24906 Oldest" and "Span Oldest->Newest". Easymenu support added for
24907 toggle menus driven by customize variable `vc-annotate-display-mode'.
24908 (vc-annotate-display-select): Added.
24909 (vc-annotate): Changed temp-buffer-show-function to
24910 `vc-annotate-display-select'.
24911 (vc-annotate-display): Removed arguments BUFFER and BACKEND.
24912 Added argument OFFSET. Instead of backend function, calls now
24913 generic `vc-annotate-difference'.
24914 (vc-annotate-difference): Added as generic function instead of
24915 backend-specific function. No longer takes argument POINT, but
24916 instead accepts a time OFFSET.
24917 (vc-default-annotate-current-time): Added.
24919 * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
24920 version in vc.el, with
24921 (vc-cvs-annotate-current-time): Added, as override of default.
24922 (vc-cvs-annotate-time): Added. Taken mostly from the (now removed)
24923 `vc-cvs-annotate-difference'.
24925 2001-10-22 Gerd Moellmann <gerd@gnu.org>
24927 * saveplace.el (save-place): Require `saveplace'.
24929 * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
24930 Use `sexp' for :value-type instead of `face'.
24932 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
24934 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
24935 regexps due to 5-digit message IDs.
24937 2001-10-21 Jason Rumney <jasonr@gnu.org>
24939 * term/w32-win.el (redisplay-dont-pause): Don't set.
24941 2001-10-21 Miles Bader <miles@gnu.org>
24943 * help-funs.el (help-manyarg-func-alist): Variable removed.
24945 2001-10-21 Miles Bader <miles@gnu.org>
24947 * help-funs.el (help-manyarg-func-alist): Remove entries for
24948 `insert', `insert-and-inherit', `insert-before-markers',
24949 `insert-before-markers-and-inherit', `message', `message-box',
24950 `message-or-box', `propertize', `format', `encode-time', `append',
24951 `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
24952 `insert-string', `ml-if', `ml-provide-prefix-argument', and
24953 `ml-prefix-argument-loop'.
24955 2001-10-21 Andre Spiegel <spiegel@gnu.org>
24957 * vc.el (vc-diff-internal, vc-coding-system-for-diff)
24958 (vc-default-diff-tree): New functions.
24959 (vc-version-diff): Use them. As a result, coding systems are now
24960 set up properly for all sorts of diffs, and tree diffs can now
24961 also be done locally.
24962 (vc-diff): With a prefix argument, don't require that it's called
24963 from a buffer under version control.
24964 (diff-switches): Remove duplicate definition.
24966 * vc-cvs.el (vc-cvs-diff-tree): New function.
24968 2001-10-21 Miles Bader <miles@gnu.org>
24970 * help-funs.el (help-manyarg-func-alist): Remove entries for
24971 `list', `vector', `make-byte-code', `call-process',
24972 `call-process-region', `string', `+', `-', `*', `/', `max', `min',
24973 `logand', `logior', and `logxor'.
24975 * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
24976 image bits to compensate. Use `make-string' instead of
24977 `make-bool-vector' (XBM apparently wants byte-aligned rows).
24979 2001-10-20 Kim F. Storm <storm@cua.dk>
24981 * simple.el (kill-ring-save): Don't show extent of copied region
24982 if using transient-mark-mode and region is fully visible.
24984 See ChangeLog.9 for earlier changes.
24986 ;; Local Variables:
24987 ;; coding: iso-2022-7bit
24990 Copyright (C) 2001, 2002 Free Software Foundation, Inc.
24991 Copying and distribution of this file, with or without modification,
24992 are permitted provided the copyright notice and this notice are preserved.
24994 ;;; arch-tag: 5fcf8004-6f58-452a-b9d6-6950323a19c1