1 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
3 * progmodes/cc-menus.el (cc-imenu-init): Do not set
4 `imenu-create-index-function' if the second argument is left
5 out. This bug broke the imenu support in C, C++ and Java modes.
7 * progmodes/cc-engine.el, progmodes/cc-align.el
8 (c-add-stmt-syntax, c-lineup-arglist)
9 (c-lineup-arglist-close-under-paren): Fixes to cope with
10 special brace lists in Pike.
12 2003-07-03 Alan Mackenzie <bug-cc-mode@gnu.org>
14 * progmodes/cc-mode.el (awk-mode): Call c-awk-after-change to
15 ensure syntax-table props at loading.
17 * progmodes/cc-fonts.el: Put (cc-require-when-compile 'cc-awk)
18 to eliminate compile-time errors.
20 * progmodes/cc-awk.el, progmodes/cc-engine.el: Add code to
21 analyze AWK top-level forms properly (c-guess-basic-syntax
22 CASE 5P), c-awk-backward-syntactic-ws.
24 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
26 * progmodes/cc-fix.el: cc-mode-19.el has been renamed to
27 progmodes/cc-fix.el since it now contains compatibility stuff
28 for later versions than (X)Emacs 19.
30 * progmodes/cc-langs.el (c-paren-nontype-kwds): New language constant.
32 (c-other-decl-kwds, c-postfix-decl-spec-kwds): Add compiler
33 specific declspec keywords: __attribute__ for gcc and
36 * progmodes/cc-fonts.el (c-font-lock-declarations)
37 (c-complex-decl-matchers): Support specifiers in a couple more
38 contexts to cope with msvc '__declspec'.
40 * progmodes/cc-engine.el (c-forward-keyword-clause):
41 Support `c-paren-nontype-kwds'.
43 * progmodes/cc-langs.el (c-primary-expr-regexp): Don't match a
44 bare period as a float.
46 * progmodes/cc-bytecomp.el (cc-bytecomp-setup-environment):
47 Do not cover functions that have been bound.
49 (cc-external-require): New macro to use for requiring external
50 packages, to handle the environment correctly.
52 * progmodes/cc-defs.el, progmodes/cc-fix.el,
53 progmodes/cc-fonts.el, progmodes/cc-mode.el: Replaced external
54 require's with `cc-external-require'.
56 * progmodes/cc-engine.el (c-beginning-of-member-init-list)
57 (c-guess-basic-syntax): Fixes in handling of bitfields.
59 * progmodes/cc-langs.el (comment-end): Put a space in front of
60 the comment ender in C, as it was before the move from cc-mode.el.
62 2003-07-03 Alan Mackenzie <bug-cc-mode@gnu.org>
64 * progmodes/cc-fonts.el: Do not load progmodes/cc-awk.elc or
65 awk-font-lock-keywords unless there is an AWK Mode buffer.
67 * progmodes/cc-awk.el: New file that implements AWK support,
68 superseding the old separate derived mode in awk-mode.el.
70 * progmodes/cc-vars.el, progmodes/cc-mode-19.el, progmodes/cc-langs.el:
71 * progmodes/cc-mode.el, progmodes/cc-defs.el:
72 * progmodes/cc-engine.el, progmodes/cc-fonts.el:
73 Changes for the new AWK support.
75 2003-07-03 Martin Stjernholm <bug-cc-mode@gnu.org>
77 * progmodes/cc-engine.el, progmodes/cc-langs.el
78 (c-decl-block-key, c-search-uplist-for-classkey): Check that
79 the modifier is followed by "{" in Pike before considering it
80 to start a class-like block.
82 * progmodes/cc-mode.el (c-initialize-cc-mode): Add some
83 compatibility to make this function behave somewhat more as
84 documented for derived modes. It's still not enough to make
85 the old AWK mode behave reasonably, but it's been like this a
86 long time now so fixing it more might cause trouble
89 * progmodes/cc-fonts.el (c-remove-font-lock-face): New macro
90 to remove a font lock face properly (especially in XEmacs).
92 * progmodes/cc-bytecomp.el (cc-bytecomp-obsolete-fun):
93 Add the same kludge as in `cc-bytecomp-obsolete-var' to avoid a
94 confused compiler warning.
96 * progmodes/cc-engine.el (c-forward-type): Fix a bug in the
97 handling of concatenated types when the component types are known.
99 * progmodes/cc-fonts.el (c-constant-face-name): Add face name variable
100 to avoid the use of `font-lock-constant-face' for constants in
101 emacsen that doesn't have it.
103 * progmodes/cc-styles.el, progmodes/cc-vars.el,
104 * progmodes/cc-cmds.el: Fixes for the syntactic symbols for
105 module and composition blocks.
107 * progmodes/cc-mode.el (c-basic-common-init):
108 Use `open-paren-in-column-0-is-defun-start' if it exists and works.
110 * progmodes/cc-vars.el (c-emacs-features): Add `col-0-paren'
111 to detect when `open-paren-in-column-0-is-defun-start' exists
114 * progmodes/cc-vars.el, progmodes/cc-langs.el
115 (c-primitive-type-kwds, c-font-lock-extra-types): "complex"
116 and "imaginary" aren't keywords in C99, only macros that
117 expand to the keywords "_Complex" and "_Imaginary", so make
118 the former a bit less hardcoded by putting it on
119 `c-font-lock-extra-types' instead. There are also "bool" and
120 "_Bool" that work the same way.
121 (c-constant-kwds): "false" and "true" are standard constant
124 * progmodes/cc-menus.el, progmodes/cc-langs.el,
125 * progmodes/cc-engine.el, progmodes/cc-fonts.el,
126 * progmodes/cc-cmds.el: Fixed various regexps to use POSIX char
127 classes when that is supported.
129 * progmodes/cc-defs.el (c-alpha, c-alnum, c-digit, c-upper, c-lower):
130 New constants to make it easier to create regexps
131 that use POSIX char classes in emacsen that support them.
133 * progmodes/cc-vars.el (c-emacs-features): Detect in the
134 regexp engine understands POSIX char classes.
136 * progmodes/cc-mode.el (c-after-change): Add kludge for bug
137 where this function sometimes gets positions outside the
140 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
141 Better handling of parentheses in unexpected places.
143 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Fix a
144 regexp match order problem that could cause empty template
145 args on the form "<>" to be missed.
147 * progmodes/cc-engine.el (c-parse-state): Add kludge to
148 avoid an infinite loop when Emacs' open-paren-in-column-zero
149 rule kicks in and causes the sexp functions to misbehave.
151 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
152 Fix bug when C++-like code is encountered in non-C++ mode.
154 * progmodes/cc-defs.el (c-make-keywords-re): Add option to
155 specify the language to look up `c-nonsymbol-key' in.
157 * progmodes/cc-cmds.el, progmodes/cc-engine.el
158 (c-auto-newline-analysis): New dynamically bound variable to
159 turn off the topmost-intro-cont/statement-cont kludge for
160 brace lists during the analysis for the auto newline feature.
161 This fixes some cases where the setting for `brace-list-open'
162 on `c-hanging-braces-alist' didn't have any effect.
164 * progmodes/cc-langs.el (c-literal-start-regexp): Yet another
167 * progmodes/cc-fonts.el (c-font-lock-doc-comments)
168 (c-find-invalid-doc-markup, javadoc-font-lock-keywords):
169 Fix fontification of the markup in Javadoc comments.
171 * progmodes/cc-engine.el: Fixes in face handling to cope with
173 (c-find-decl-spots): More failsafe skipping of comments and
174 strings that only have been partially fontified.
176 * progmodes/cc-defs.el (c-got-face-at): New subst to test
177 faces at positions easier.
179 * progmodes/cc-defs.el (c-safe-scan-lists): New wrapper macro
180 to avoid the warnings with too many args to `scan-lists' in Emacs.
182 * progmodes/cc-engine.el (c-syntactic-skip-backward):
183 New function to make syntactic searches in the backward direction
186 (c-beginning-of-statement-1): Optimize skipping over large paren
189 (c-safe-position): Remove the odd macro handling which was
190 centered around the point instead of the passed position.
192 * progmodes/cc-engine.el (c-in-knr-argdecl): Do not trip up on
193 initialization expressions.
195 * progmodes/cc-align.el (c-lineup-arglist)
196 (c-lineup-close-paren, c-lineup-arglist-close-under-paren):
197 Tune the "macro block" heuristics to work better in nested
200 * progmodes/cc-styles.el (c-set-offset): Don't find a default
201 syntactic element through syntactic analysis if called outside
204 * progmodes/cc-mode.el (c-basic-common-init):
205 Install `c-fill-paragraph' on `fill-paragraph-function'.
206 Although it's not the normal way to call it in a CC Mode buffer it
207 makes a direct call to `fill-paragraph' work better.
209 * progmodes/cc-vars.el, progmodes/cc-mode.el
210 (c-require-final-newline): Make this variable an alist to
211 specify a value for each language. The default value causes
212 `require-final-newline' to be set to t only in languages where
213 the standard requires a final newline.
215 * progmodes/cc-mode.el, progmodes/cc-vars.el
216 (c-require-final-newline): Add a variable to make the
217 initialization of `require-final-newline' more configurable.
219 * progmodes/cc-vars.el (c-mode-common-hook): Do not change the
220 format string to "CC Mode Common Hook" since that causes
221 confusion (although it is a more accurate name).
223 * progmodes/cc-fonts.el (javadoc-font-lock-keywords)
224 (autodoc-font-lock-keywords): Support for Javadoc and Pike
225 Autodoc doc comments.
227 * progmodes/cc-vars.el (c-doc-comment-style): New variable to
228 control the fontification of documentation comments on top of
229 the normal mode font lock.
231 * progmodes/cc-langs.el, progmodes/cc-fonts.el
232 (c-primary-expr-regexp, c-font-lock-declarations): Avoid false
233 recognition of parens as casts when they are followed by an
234 operator that is both prefix and infix.
236 * progmodes/cc-cmds.el (c-guess-fill-prefix): Tune the
237 heuristics of when to use `c-block-comment-prefix' for an
238 unclosed block comment.
240 * progmodes/cc-engine.el, progmodes/cc-langs.el
241 (c-nonsymbol-sexp-kwds, c-forward-keyword-clause):
242 Handle keywords like "extern" that can be followed by e.g. a string
245 * progmodes/cc-defs.el (c-make-keywords-re): Make a regexp
246 correctly with one submatch when adorn is set and the list is empty.
248 * progmodes/cc-fonts.el (c-font-lock-declarations): Fix a
249 search that could go far past the relevant region and cause
250 slowness. Do not limit the declaration detection to the
251 fontified region since that can cause misfontification in
252 multiline declarations.
254 * progmodes/cc-engine.el (c-find-decl-spots): Add limit
255 argument to handle declarations spanning the fontification
258 * progmodes/cc-engine.el (c-in-literal, c-literal-limits)
259 (c-literal-limits-fast, c-beginning-of-inheritance-list):
260 Use the paren cache instead of the impaired ad hoc in
261 `beginning-of-defun', so that these functions doesn't trip up
262 on "{" in the first column inside strings or comments.
264 * progmodes/cc-vars.el (c-hanging-braces-alist):
265 Add `statement-cont' and made it auto newline free by default.
267 * progmodes/cc-cmds.el (c-electric-brace):
268 Add `statement-cont' to the list of syntactic symbols to consider
269 for auto newlines since it can be used for in-statement brace lists.
271 * progmodes/cc-vars.el (c-emacs-features): There's no need to
272 have this constant autoloaded.
274 * progmodes/cc-fonts.el (c-font-lock-declarations):
275 Use `c-recognize-typeless-decls' to avoid fontifying some macro
276 constructs as declarations in languages where a preceding type
279 * progmodes/cc-langs.el (c-recognize-typeless-decls):
280 New language variable.
282 * progmodes/cc-align.el (c-lineup-close-paren):
283 Use `c-syntactic-eol' when checking if the open paren ends its line.
285 * progmodes/cc-langs.el (c-syntactic-eol): Handle a line
286 continuation backslash.
288 * progmodes/cc-align.el (c-snug-do-while): Compatibility fix
289 for changed structure in `c-syntactic-context'.
291 * progmodes/cc-engine.el (c-parse-state): Filter angle bracket
292 arglist parens in a better way than disabling the syntax table
293 properties completely.
295 * progmodes/cc-fonts.el (c-cpp-matchers): Handle line
296 continuations in cpp expressions. Do not fontify symbols after
297 #ifdef etc as variables since that isn't consistent with how
298 the face is used elsewhere (i.e. only for the definition of
301 * progmodes/cc-mode.el: Add autoload directives for the
302 interface functions in cc-langs.
304 * progmodes/cc-fonts.el (c-font-lock-declarations): Add a
305 property to handle refontication in multiline declaration
307 (c-font-lock-<>-arglists): Fix to handle recursive template
308 arglists better. (As a side effect this will make
309 fontification work better in older emacsen too.)
311 * progmodes/cc-engine.el (c-forward-<>-arglist)
312 (c-remove-<>-arglist-properties): Use a common text property
313 `c-type' for all sorts of CC Mode char classification, to
314 avoid cases when then same char is given conflicting types.
315 (c-forward-<>-arglist): New reparse argument to control that
317 (c-forward-name, c-forward-type): Changes in the handling of
318 recursive template arglists. Fixes to cope with the new 'known
321 * progmodes/cc-mode.el (c-basic-common-init): Add the new
322 char property `c-type' to `text-property-default-nonsticky'.
324 * progmodes/cc-defs.el (c-put-char-property)
325 (c-get-char-property, c-clear-char-property)
326 (c-clear-char-properties): Generalize `c-put-char-syntax' and
327 `c-get-char-syntax' to handle any property.
329 * progmodes/cc-bytecomp.el (cc-bytecomp-defun): Fix bug that
330 caused existing function definitions to be overridden by
331 phonies when the bytecomp environment is restored.
333 * progmodes/cc-cmds.el (c-mask-paragraph): Masking is
334 necessary in normal code too to avoid getting a fill prefix
335 from a nearby comment. Change the name from `c-mask-comment'
336 to a more accurate one.
338 * progmodes/cc-defs.el, progmodes/cc-mode.el: Change the
339 auto-load-alist strategy to not add entries on package load,
340 to be defensive in the case that autoloads are updated in
341 older emacsen. The bug that would occur in that case would
342 probably be rather nasty for the average user.
344 * progmodes/cc-fonts.el (c-font-lock-declarations):
345 Fine tuning of the decision tree that tells declarations from
346 expressions to produce better results in some ambiguous cases.
348 * progmodes/cc-fonts.el (c-font-lock-syntactic-face-function):
349 Remove since it doesn't give the control we want.
350 (c-font-lock-invalid-string): Replacement for
351 `c-font-lock-syntactic-face-function' that puts the error face
352 on the string opener only, to avoid the annoying excessive use
353 of the error face while a string literal is being written.
354 (c-basic-matchers-before): Use `c-font-lock-invalid-string'.
356 * progmodes/cc-engine.el (c-string-syntax)
357 (c-string-limit-regexp): Add constants to use when handling
358 string limits, since not all old emacsen react well to the "|"
361 (c-literal-limits, c-literal-limits-fast, c-literal-type):
362 Use `c-string-syntax' and `c-string-limit-regexp'. Replace some
363 hardcoded comment start regexps with `c-comment-start-regexp'.
365 * progmodes/cc-mode.el: Added an association for pike-mode on
366 `interpreter-mode-alist'.
368 * progmodes/cc-mode.el: Add the `auto-mode-alist' entries to
369 the end instead of the start of the list, to avoid overriding
370 user additions that are made before this file is loaded when
371 the entries don't correspond to any already on `auto-mode-alist'.
372 This is done through the third append argument to
373 `add-to-alist'. That doesn't exist in older (X)Emacsen, so
374 the function is advised in cc-defs. However, that advice
375 doesn't help if the autoloads are updated in an old (X)Emacs
376 with this version of CC Mode, but I believe it's unlikely that
377 anyone does that when CC Mode isn't distributed with it.
379 * progmodes/cc-defs.el (add-to-list): Add advice to get the
380 optional third append argument in older (X)Emacsen.
382 * progmodes/cc-langs.el (c-keywords-obarray): Kludge for
383 strange bug in Emacs that gives so odd errors that I frankly
384 don't even muster to begin trying to narrow it down.
385 If someone is so inclined, restore the commented code, byte
386 compile, and try to open a C++ file or something in font lock mode.
388 * progmodes/cc-langs.el: Update the IDL support from the
389 specs. This also adds the keywords for the variants PSDL and
390 CIDL. (This is mostly done from reading the grammars only;
391 very lightly tested.)
393 * progmodes/cc-langs.el (c-type-list-kwds): Add "new" in Java.
395 * progmodes/cc-fonts.el: Make sure that
396 `parse-sexp-lookup-properties' is properly insulated from
397 clobbering by the font-lock package at all relevant entry points.
399 * progmodes/cc-langs.el (c-opt-after-id-concat-key):
400 New language constant to make the recognition of identifier
401 qualifiers more flexible. Recognize the identifier before
402 ".*" as a qualifier in Java.
403 (c-identifier-key): Recognize "::*" inside identifiers in C++.
404 Recognize identifiers ending with ".*" in Java for the sake of
406 (c-type-list-kwds, c-ref-list-kwds): Recognize "import" and
407 "package" declarations in Java.
409 * progmodes/cc-vars.el (c-doc-face, c-doc-marker-face)
410 (c-doc-markup-face): Remove since they aren't used (and
413 * progmodes/cc-langs.el (c-ref-list-kwds): New language
414 constant to specify keywords followed by references.
415 (c-last-identifier-range): New variable to avoid going back to
416 search for the identifier to font lock after a call to
418 (c-type-prefix-kwds, c-type-list-kwds): Fix classification of
419 "@interface" etc in Objective-C.
421 * progmodes/cc-engine.el (c-forward-keyword-clause):
422 Fix handling of keyword prefixes in `c-type-list-kwds' and
423 `c-colon-type-list-kwds' clauses.
424 (c-keyword-sym, c-keyword-member): New functions to lookup and
426 (c-forward-keyword-clause): New function to move over a keyword
427 and its associated clause according to `c-<>-arglist-kwds' etc.
429 * progmodes/cc-langs.el (c-typeless-decl-kwds)
430 (c-type-list-kwds, c-colon-type-list-kwds)
431 (c-colon-type-list-re, c-paren-type-kwds): New language
432 constants and variables to generalize the recognition of
433 various language constructs.
434 (c-keywords): Did away with the list of `*-kwds' constants.
435 It's now built through macro expansion.
436 (c-keywords-obarray): New language variable which contains each
437 keyword as a symbol, to make fast reverse lookup of keywords to
438 the `*-kwds' lists they come from.
440 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
441 Add macro to be able to do direct evaluation in
442 `c-lang-defconst' forms.
444 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
445 Fix a bug which could cause the point to end up outside the
446 containing sexp if PAREN-LEVEL was used.
448 * progmodes/cc-engine.el, progmodes/cc-fonts.el,
449 progmodes/cc-langs.el: Generalize the C++ template arglist
450 support to handle angle bracket arglists in any language.
451 (c-recognize-<>-arglists, c-<>-arglist-kwds)
452 (c-opt-<>-arglist-start): New language variables to control
453 angle bracket arglists.
454 (c-opt-type-suffix-key): Use `c-recognize-<>-arglists' in
455 Objective-C instead of matching a protocol reference list as a
458 * progmodes/cc-align.el (c-gnu-impose-minimum): Fix a missing
459 `save-excursion' that caused the point to jump around.
461 * progmodes/cc-mode.el, progmodes/cc-menus.el (objc-mode)
462 (cc-imenu-init): Fix initialization bug that has made the
463 Objective-C support inoperational since 5.26.
464 (cc-imenu-objc-generic-expression): Update submatch indices
465 due to changes in `cc-imenu-c++-generic-expression'.
466 (cc-imenu-objc-function): Don't add an empty "C" menu since
467 imenu doesn't like that.
469 * progmodes/cc-align.el (c-lineup-arglist)
470 (c-lineup-arglist-close-under-paren, c-lineup-close-paren):
471 Add DWIM to the functions that line up at or after the
472 arglist open paren to avoid that if there are brace blocks
473 inside, e.g. when a macro contains a code block.
475 * progmodes/cc-vars.el (objc-font-lock-extra-types):
476 Change default to treat identifiers starting with capital letters as
477 types, according to Objective-C naming conventions. The types
478 previously on the list is part of the language and therefore
479 on `c-primitive-type-kwds' instead.
481 * progmodes/cc-fonts.el: Fix font locking in Objective-C.
482 Be more careful about returning nil from functions used
483 directly as font-lock matchers.
485 * progmodes/cc-mode.el (c-font-lock-init): Make the syntax
486 table modification element of `font-lock-defaults'
487 parameterized over the languages.
489 * progmodes/cc-langs.el: Update the Objective-C constants
490 according to the language spec. The "@" chars that start
491 directives are now considered part of the keywords to make
494 * progmodes/cc-defs.el (c-(up|down)-list-(forward|backward)):
495 Make the position optional and added docstrings.
496 (c-go-(up|down)-list-(forward|backward)): Add variants of the
497 above that move point and return successfulness instead.
499 * progmodes/cc-fonts.el (c-font-lock-<>-arglists):
500 New function to fontify all occurrences of template arglists in C++.
502 * progmodes/cc-engine.el (c-disallow-comma-in-<>-arglists):
503 New variable to be able to avoid false recognition of template
504 arglists in some cases.
506 * progmodes/cc-fonts.el, progmodes/cc-langs.el
507 (c-decl-prefix-re, c-font-lock-declarations): Match template
508 open brackets to get a declaration in the first template argument.
509 (c-complex-decl-matchers): Fontify the second type in a "class
510 X = Y" expression in C++.
512 * progmodes/cc-engine.el (c-forward-<>-arglist): Break out the
513 recursive part to a new function to improve efficiency when a
514 nested template arglist search turns out to be futile.
516 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
517 Improve to avoid false matches on e.g. "else if (foo)".
519 * progmodes/cc-engine.el (c-forward-token-2)
520 (c-backward-token-2): New functions that work like the -1
521 variants but that handle multicharacter operator tokens.
523 * progmodes/cc-engine.el (c-inside-bracelist-p)
524 (c-guess-basic-syntax): Do away with the hardcoded regexps to
525 recognize "typedef" declaration prefixes, "extern" and
526 "namespace" blocks, "enum"-style brace list declarations and
527 Java-style array initializers with "new".
529 * progmodes/cc-langs.el (c-brace-list-decl-kwds)
530 (c-brace-list-key, c-inexpr-brace-list-kwds)
531 (c-opt-inexpr-brace-list-key): New language constants and
532 variables to parameterize some more of the hardcoded regexps
535 * progmodes/cc-align.el (c-lineup-cascaded-calls): Do not
536 allow cascaded call lists containing both "->" and ".".
538 * progmodes/cc-align.el, progmodes/cc-cmds.el,
539 progmodes/cc-defs.el, progmodes/cc-engine.el,
540 progmodes/cc-fonts.el, progmodes/cc-langs.el,
541 progmodes/cc-mode.el, progmodes/cc-styles.el: New language
542 variable system to make it easier to set up optimized language
543 variables and to extend them in third party derived modes.
544 cc-langs is no longer required at runtime.
546 * progmodes/cc-mode.el (c-basic-common-init): No longer
547 initializes the language variables. It's necessary that the
548 caller does that directly since the evaluated values for them
549 now get compiled in directly.
550 (c-font-lock-init, c-common-init): Separate the font-lock
551 initialization from `c-common-init'.
553 * progmodes/cc-mode.el (c-define-abbrev-table): Do not
554 override an existing abbrev table.
555 (c-Java-defun-prompt-regexp): Move here from cc-langs since
556 cc-langs isn't always loaded at runtime.
558 * progmodes/cc-langs.el (c-make-init-lang-vars-fun)
559 (c-init-language-vars): Change to allow language variable
560 initialization from derived modes.
561 (c-mode-menu): New language variable for the mode menu.
562 (c-make-mode-syntax-table, c-mode-syntax-table)
563 (make-c++-template-syntax-table): New language variables for syntax
564 tables. The code that initializes them has been moved to cc-mode
565 to make it possible to avoid loading cc-langs at runtime.
567 * progmodes/cc-engine.el, progmodes/cc-langs.el
568 (c-hungry-delete-key, c-auto-newline, c-auto-hungry-string):
569 Move these state variables from cc-langs to cc-engine to make
570 it possible to avoid loading cc-langs at runtime.
572 * progmodes/cc-defs.el (c-lang-defconst, c-lang-const):
573 Move from cc-langs and rewritten to make the language constant
574 system usable from derived modes.
576 (c-add-language): New function intended for use from derived modes
577 that add new C-like languages.
579 * progmodes/cc-defs.el, progmodes/cc-vars.el
580 (c-buffer-is-cc-mode): Move from cc-vars to cc-defs to define
581 it during compilation.
583 * progmodes/cc-bytecomp.el (cc-require-when-compile):
584 New support macro for compile time `require's.
586 * progmodes/cc-defs.el, progmodes/cc-mode.el (c-version):
587 Move from cc-mode to cc-defs to make it accessible to the
590 * progmodes/cc-engine.el (c-forward-token-1, c-backward-token-1):
591 Compatibility fix for emacsen that doesn't understand generic
594 * progmodes/cc-vars.el (c-emacs-features): Add detection of
595 generic string and comment delimiters.
597 * progmodes/cc-defs.el, progmodes/cc-langs.el
598 (c-make-keywords-re): Change interface to make it more extensible.
600 * progmodes/cc-langs.el, progmodes/cc-defs.el (c-regexp-opt)
601 (c-regexp-opt-depth, c-make-keywords-re): Move from cc-langs
602 to cc-defs since they are generally useful.
604 * progmodes/cc-bytecomp.el, progmodes/cc-defs.el
605 (cc-eval-when-compile): Move from cc-bytecomp to cc-defs to
606 allow use at runtime.
608 * progmodes/cc-bytecomp.el (cc-eval-when-compile):
609 Workaround for a bug with nested `eval-when-compile' in XEmacs 21.
611 * progmodes/cc-mode.el: Added autoloaded forms to install the
612 appropriate file suffixes on `auto-mode-alist'. Necessary in
613 XEmacs 21.5, and it can be useful elsewhere too.
615 * progmodes/cc-align.el (c-lineup-cascaded-calls): Handle "."
616 too, for use in Java.
618 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
619 Do not handle cpp directives in languages that doesn't have any.
621 * progmodes/cc-langs.el (c-operators): Add a high level description
622 of all operators, along with their precedence and associativity.
624 * progmodes/cc-align.el (c-lineup-multi-inher): Fix bug
625 where the position of the point and not the beginning of the
626 line was used to calculate the indentation.
628 * progmodes/cc-defs.el, progmodes/cc-engine.el
629 (c-backward-single-comment, c-backward-comments): Add kludge
630 for the bug in `forward-comment' in most (X)Emacs versions
631 where it moves back over the "*/" of a block comment if
632 there's no matching "/*". This has become more important now
633 since it can cause incorrect caching by `c-backward-sws'.
635 * progmodes/cc-cmds.el (c-hungry-backspace)
636 (c-hungry-delete-forward): New functions to do hungry deletion
637 regardless of hungry-delete mode. Contributed by Kevin Ryde.
639 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws)
640 (c-invalidate-sws-region): Use text properties to cache regions
641 with complex syntactic whitespace. This helps a lot in
642 improving responsiveness when there are lots of comments and
643 cpp directives before point.
645 * progmodes/cc-guess.el, progmodes/cc-langs.el,
646 progmodes/cc-menus.el, progmodes/cc-mode.el,
647 progmodes/cc-styles.el, progmodes/cc-vars.el,
648 progmodes/cc-engine.el, progmodes/cc-fonts.el,
649 progmodes/cc-cmds.el, progmodes/cc-defs.el: Introduce a
650 classification of functions into those that make "hidden
651 buffer changes" and those who don't. This is prompted by the
652 increasing use of text properties for various things, to
653 correctly cover the silly buffer modifications that is caused
654 by text property changes.
655 (c-save-buffer-state): New macro that's put around any code that
656 can manipulate text properties.
658 * progmodes/cc-mode.el (c-basic-common-init):
659 Setup `text-property-default-nonsticky' to avoid messing with the
660 rear-nonsticky property on each character in Emacs 21.
662 * progmodes/cc-defs.el (c-clear-char-syntax, c-put-char-syntax):
663 Macros that sets and removes the
664 syntax-table property on a single character and makes the
665 property nonsticky in both directions in a suitable way for
666 each (X)Emacs flavor.
668 * progmodes/cc-vars.el, progmodes/cc-defs.el,
669 * progmodes/cc-engine.el, progmodes/cc-mode.el:
670 Use `lookup-syntax-properties' in XEmacs to control whether the
671 syntax-table property has any effect or not.
672 (c-parse-sexp-lookup-properties): New macro that expands to either
673 `parse-sexp-lookup-properties' or `lookup-syntax-properties'.
675 * progmodes/cc-defs.el, progmodes/cc-engine.el,
676 progmodes/cc-fonts.el: Put the faces into the buffer in the
677 same way as the font-lock package does. This fixes a
678 compatibility problem with XEmacs which sets an extra
681 * progmodes/cc-fonts.el (c-put-font-lock-face): A macro that
682 finds out the right way to put font lock faces at compile
683 time. We're definitely not byte code portable between Emacs
686 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
687 Implement a cache for the last large skipped over syntactic
688 whitespace. This also has most effect after many macros.
690 * progmodes/cc-engine.el, progmodes/cc-defs.el
691 (c-forward-syntactic-ws, c-backward-syntactic-ws): Utilize the
692 limit better when one is passed. These are now macros to
693 avoid a little overhead when no limit is given.
694 (c-forward-sws, c-backward-sws): New functions called by the
695 macros above to do the unbounded search.
697 * progmodes/cc-fonts.el (c-font-lock-declarations):
698 Implement a cache for the first backward search for a
699 preceding `c-decl-prefix-re' match. This typically speeds up
700 interactive refontification a lot on the top level of macro
703 * progmodes/cc-vars.el (c-emacs-features): Add check for
704 syntax text properties.
706 * progmodes/cc-mode.el (c-basic-common-init): Turn on
707 `parse-sexp-lookup-properties' if it's supported. Define the
708 variable in any case since it's used at runtime to check on this.
710 * progmodes/cc-langs.el (c-identifier-key): Support C++
712 (c-identifier-start, c-op-token-regexp, c-type-modifier-kwds)
713 (c-opt-type-modifier-key, c-opt-type-component-key)
714 (c-typedef-specifier-kwds, c-typedef-specifier-key)
715 (c-paren-stmt-kwds, c-paren-stmt-key, c-syntactic-ws-start):
716 A bunch of new language constants and variables to support the
717 improved handling of names and types.
719 * progmodes/cc-fonts.el (c-font-lock-declarators)
720 (c-font-lock-declarations): Handle C++ template declarations
721 and template references. Fontify complex types and names more
722 accurately by delegating it to `c-forward-type' and
723 `c-forward-name'. Fontify the identifiers in typedef
724 declarations as types.
726 * progmodes/cc-engine.el (c-forward-<>-arglist): New function
727 to move forward over a C++ template arglist. It also marks
728 the '<' and '>' chars with paren syntax using the syntax-table
729 property, to speed up later calls in emacsen that support
730 syntax text properties (Emacs >= 20 and (undocumented) XEmacs 21).
731 This also has the very interesting effect that if font locking
732 is used with decoration level 3 or higher in these emacsen
733 then template arglists will behave just like paren sexps with
734 the various sexp movement commands.
735 (c-forward-name): New function to move over a name. Simple in
736 most languages except C++ where a name can contain template
737 arglists and therefore almost arbitrary expressions.
738 (c-on-identifier): Fix for Pike operator identifiers.
739 (c-simple-skip-symbol-backward, c-syntactic-content)
740 (c-remove-<>-paren-properties): New helper functions.
742 * progmodes/cc-defs.el (c-clear-char-syntax)
743 (c-mark-paren-open, c-mark-paren-close): New support functions
744 to handle syntactic properties on C++ template arglist brackets.
745 (c-put-type-face, c-put-reference-face): Helpers to put faces on
746 regions, since there are a bit of that inside `c-forward-name' etc
747 in progmodes/cc-engine.el.
749 * progmodes/cc-engine.el, progmodes/cc-fonts.el,
750 * progmodes/cc-langs.el: Fix the names on a number of regexp
751 language variables to conform to the nomenclature and
752 shortened some names.
754 * progmodes/cc-align.el, progmodes/cc-cmds.el,
755 * progmodes/cc-fonts.el, progmodes/cc-engine.el
756 (c-syntactic-re-search-forward): Remove the COUNT argument
757 since it's never used. Add an argument to tell which
758 subexpression whose end should be tested for syntactic
759 relevance. Using this also removes some optimizations, so
760 that it's possible to use a look behind subexpression that
761 matches the end of a literal or a close paren when PAREN-LEVEL
764 (c-guess-continued-construct): Don't match <<= or >>= for the
765 stream-op syntactic element.
767 * progmodes/cc-defs.el (c-paren-re, c-identifier-re):
768 Remove these helper macros since better and more correct tools are
769 now available in progmodes/cc-langs.el.
771 * progmodes/cc-align.el (c-lineup-string-cont): New lineup
772 function to line up string literals that will be concatenated.
774 * progmodes/cc-langs.el (c-populate-syntax-table):
775 XEmacs classifies the hard space character as a symbol character
776 but it's better to let it be in the punctuation class so that it's
777 always highlighted with the inverted invalid face. It can
778 perhaps be argued that that character is allowed in
779 identifiers in some languages (haven't checked), but using it
780 would still be extremely confusing.
782 * progmodes/cc-engine.el (c-beginning-of-statement-1): Fix a
783 case when a labeled substatement caused incorrect association
784 of the following continuation clause.
786 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
787 Handle the case when the syntactic match position is in the
788 middle of a comment starter.
790 (c-guess-continued-construct): Analyze the "K&R region" of a
791 function nested inside a function as func-decl-cont and not
792 statement-cont. New case E. Also clean up case C (stream-op
795 * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
796 Move the check on `c-state-cache-start' from
797 `c-check-state-cache' to `c-parse-state' so that the state
798 cache isn't zapped if `c-check-state-cache' but not
799 `c-parse-state' is called during a temporary narrowing.
800 This fixes a performance problem that could occur when
801 `fill-paragraph' is used in font lock mode on a comment at the
802 end of a large class or function.
803 (c-state-cache-start): Fix buffer localness.
805 * progmodes/cc-langs.el: Updates from the C99 standard (or
806 actually from the latest web accessible draft of it).
808 * progmodes/cc-langs.el: Update the keywords and operator
809 tokens from the latest C++ and Java standards. Some other
810 multichar token corrections.
812 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
813 progmodes/cc-vars.el (c-syntactic-context)
814 (c-syntactic-element): Do not bind any values to these
815 variables globally since they should always be dynamically
816 bound. This makes it much easier to debug cases when they've
817 gotten global values somehow.
819 * progmodes/cc-langs.el (c-regexp-opt): Fix to work around the
820 non-greedy behavior that the regexp engine sometimes exposes.
821 This bug only shows in (X)Emacs 19 where there's no regexp-opt package.
823 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
824 Add a feature to filter out matches in the middle of tokens.
825 Changed the comment to a docstring since I consider this
826 function generally useful.
828 * progmodes/cc-defs.el (c-mode-symbol): Break out a part of
831 * progmodes/cc-align.el (c-lineup-cascaded-calls)
832 (c-lineup-gcc-asm-reg): Cope with that `c-most-enclosing-brace'
835 * progmodes/cc-engine.el (c-found-types, c-clear-found-types)
836 (c-add-type, c-check-type, c-add-complex-type)
837 (c-list-found-types, c-forward-type): Add a sort of symbol
838 table for types: If a name is recognized as a type in a
839 declaration it's added in an obarray to be able to recognize
840 it in other ambiguous declarations.
841 (c-remove-ws): New helper function to canonicalize fully
842 qualified identifiers for `c-found-types'.
844 * progmodes/cc-defs.el (c-mode-var): New defsubst to access
845 mode prefixed variables uniformly.
847 * progmodes/cc-align.el (c-lineup-arglist-close-under-paren):
848 Work correctly with nested arglist-cont-nonempty symbols.
849 (c-lineup-arglist-operators): New lineup function to line up infix
850 operators under the open paren of the surrounding sexp.
852 * progmodes/cc-engine.el (c-forward-syntactic-ws): Fix a bug
853 that could cause an infinite loop if something that looks like
854 a macro begins in the middle of a line.
855 (c-parse-state): Fix a bug that could cause `c-state-cache'
856 to contain two conses in sequence when there's an unbalanced
857 open paren in a macro.
859 * progmodes/cc-defs.el (c-face-name-p): A defsubst to
860 recognize the name of a face in a way that works also in XEmacs.
862 * progmodes/cc-engine.el (c-forward-type): New function to
863 move past a type spec.
865 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
866 Fix behavior when the limit is reached inside a comment,
869 * progmodes/cc-align.el, progmodes/cc-cmds.el,
870 * progmodes/cc-engine.el (c-forward-single-comment)
871 (c-forward-comments, c-backward-single-comment, c-backward-comments):
872 New replacements for `c-forward-comment' that wraps `forward-comment'
873 more efficiently in each of the four different cases it's actually
874 used. These replacements also treats line continuations as whitespace.
875 (c-forward-comment): Remove. The four different cases above
876 are basically different, so it's better to make them into
877 separate functions than choose between them at runtime using
880 * progmodes/cc-align.el (c-gnu-impose-minimum): Fix bug due
881 to the new placement of cpp-macro and comment-intro in the
882 syntactic context, as pointed out by Kevin Ryde. Change the
883 method that decides whether point is inside a top-level
884 construct to one that doesn't depend on the set of syntactic
887 * progmodes/cc-defs.el (c-point): Use the functions
888 `line-beginning-position' and `line-end-position' in emacsen
889 that have them (currently Emacs 20 and later).
891 * progmodes/cc-cmds.el (c-mask-comment): Fix a bug that
892 sometimes caused code after a closed block comment to be taken
893 into account when the fill prefix is calculated.
895 * progmodes/cc-align.el (c-lineup-arglist, c-lineup-argcont)
896 (c-lineup-math, c-lineup-cascaded-calls, c-lineup-gcc-asm-reg):
897 Fixes to cope correctly with nested arglists for the lineups
898 that can be used with arglist-cont-nonempty.
900 * progmodes/cc-engine.el (c-add-stmt-syntax, c-guess-basic-syntax):
901 Change the anchor position of
902 arglist-cont-nonempty and arglist-close so that a relative
903 indentation like + can be used with consistent results.
904 Prior to this, the indentation engine more or less assumed that
905 arglist-cont-nonempty always used `c-lineup-arglist'.
906 Those two syntax symbols also get the opening paren as an extra
907 position, to make it possible for `c-lineup-arglist' to
908 continue to do a proper job.
910 * progmodes/cc-engine.el (c-get-syntactic-indentation):
911 A vector with an absolute indentation column now only overrides
912 the indentation for surrounding structures, i.e. those whose
913 syntactic elements are earlier in the `c-syntactic-context'
914 list, but not nested ones. This so that
915 e.g. `c-lineup-arglist' can reliably line up with the first
916 argument but still allow relative indentation changes for
917 nested things, e.g. the arglist-close of a nested argument
918 list. This change means that the order in
919 `c-syntactic-context' has become more essential.
920 (c-guess-basic-syntax): Changes to make the nesting order of the
921 returned syntax list correct.
923 Compatibility note: This change means that `c-lineup-dont-change'
924 now (again) isn't absolutely sure to keep the current indentation.
925 However, I believe that most people use it for comments, macros
926 and string literals, and since those are nested innermost it won't
929 * progmodes/cc-align.el, progmodes/cc-defs.el,
930 * progmodes/cc-engine.el, progmodes/cc-vars.el
931 (c-guess-basic-syntax, c-calc-offset)
932 (c-get-syntactic-indentation, c-syntactic-context):
933 Extend the representation of the syntactic context: Previously it was
934 a list containing cons cells of the found syntactic symbols
935 and their relpos values. Now each element is instead a list
936 containing the syntactic symbol in the first element and the
937 relpos (if any) in the second. After that there might be more
938 elements, depending on the syntactic symbol. The line-up
939 functions get these additional elements as extra arguments.
941 This change is slightly incompatible. Although the calling
942 convention for line-up functions is strictly extended, the format
943 of the `c-syntactic-context' variable has changed slightly. It's
944 believed that this incompatibility is minor, though; not a single
945 line-up function distributed with CC Mode needed to be changed,
948 * progmodes/cc-styles.el (c-set-style, c-set-style-1):
949 Add another state for the `dont-override' flag where it only keeps
950 globally set variables.
952 * progmodes/cc-mode.el (c-postprocess-file-styles): Do nothing
953 except in CC Mode modes.
955 * progmodes/cc-vars.el, progmodes/cc-fonts.el,
956 progmodes/cc-langs.el, progmodes/cc-mode.el: Add font lock support.
958 * progmodes/cc-engine.el (c-beginning-of-syntax): New function
959 to be used for font-lock-beginning-of-syntax-function.
960 It uses the state cache to quickly find a good position.
962 * progmodes/cc-defs.el (c-major-mode-is): Allow a list of
963 modes. Made it a macro ensure that it's optimized to either
964 eq or memq for constant arguments.
966 * progmodes/cc-mode.el (c-common-init): Do away with the
967 hardcoded setting of `comment-column'; it's a user variable
968 that we have no business meddling with. Since the default
969 value for it is 32 in all supported (X)Emacs versions, it's
970 also safe from a compatibility perspective.
972 * progmodes/cc-mode.el (c-basic-common-init): New function
973 that contains only the syntax and line breaking/filling
974 initialization. It's intended for use by other modes that
977 * progmodes/cc-engine.el (c-add-stmt-syntax): Fix some cases
978 of wrong anchoring, e.g. for else-if compounds.
980 * progmodes/cc-engine.el (c-guess-basic-syntax): Fix anchor
981 position for defun-open in K&R style functions.
983 * progmodes/cc-engine.el (c-in-knr-argdecl): Don't trip up on macros.
984 (c-search-decl-header-end): Handle C++ template arguments more
986 (c-beginning-of-decl-1): Fix when the declaration is first in a macro.
988 * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
989 to handle protection labels, one which doesn't get confused by
991 (c-end-of-decl-1): Don't treat functions that have "class" or
992 "struct" in the return type as classes or structs.
994 * progmodes/cc-langs.el (c-make-keywords-re): Fix the
995 keyword adornment so that it works when a keyword ends with "_".
997 * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
998 from `c-do-auto-fill' and point is at or near the limit of the
999 comment. Fix bug when the prefix from `c-guess-fill-prefix'
1000 is longer than the text on the first line of the comment when
1003 * progmodes/cc-cmds.el (c-mask-comment): Fix bug where point
1004 was moved to the following line when it was at the first line
1005 of a block comment where comment-start-skip matched to eol.
1007 2003-07-01 Luc Teirlinck <teirllm@mail.auburn.edu>
1009 * info.el (Info-fontify-menu-headers): Only fontify `* Menu:' at
1010 the beginning of a line.
1011 (Info-extract-menu-node-name): Correctly initialize while loop.
1012 (Info-scroll-prefer-subnodes): Change default to nil.
1014 * simple.el (vis-mode): Update documentation string to reflect
1017 2003-06-30 Richard M. Stallman <rms@gnu.org>
1019 * loadup.el (pure-space-overflow): Set it if overflow.
1021 * startup.el (pure-space-overflow): New variable.
1022 (fancy-splash-screens-1): Display warning if overflow.
1023 (normal-splash-screen): Likewise.
1025 * vc.el (vc-default-show-log-entry): Use with-no-warnings.
1027 * subr.el (lazy-completion-table, dynamic-completion-table):
1030 2003-06-28 Richard M. Stallman <rms@gnu.org>
1032 * menu-bar.el (menu-bar-options-menu): Move mouse-set-fonts item here.
1034 * international/mule-cmds.el (mule-menu-keymap):
1035 Delete mouse-set-fonts item here.
1037 2003-06-29 Nick Roberts <nick@nick.uklinux.net>
1039 * gdb-ui.el (gdb-display-number-end): Don't re-initialize local
1040 variables to preserve array slices.
1041 (gdb-array-slice): Rename gdb-mouse-array-slice.
1042 (gdb-array-slice): Interactive function bound to "\r" for text
1044 (gdb-view-source): Rename gdb-view-source-function.
1045 Set uninitialized variables (defvars) to nil.
1047 2003-06-29 Kai Großjohann <kai.grossjohann@gmx.net>
1049 * international/mule-cmds.el
1050 (set-display-table-and-terminal-coding-system): Remove CVS
1051 conflict markers and some code.
1053 2003-06-27 Kai Großjohann <kai.grossjohann@gmx.net>
1055 * international/mule-cmds.el (menu-bar-options-menu):
1056 Move `mouse-set-fonts' here from Options/Mule submenu.
1058 2003-06-26 Stephen Eglen <stephen@gnu.org>
1060 * iswitchb.el (iswitchb-read-buffer): Remove redundant variable
1061 iswitchb-prepost-hooks.
1062 (iswitchb-xemacs): Delete variable and use (featurep 'xemacs)
1063 and fboundp instead.
1064 (iswitchb-completions): Remove two redundant arguments and local
1065 variables. (All above from Stefan Monnier).
1067 2003-06-20 Masatake YAMATO <jet@gyve.org>
1069 * progmodes/asm-mode.el (asm-font-lock-keywords):
1070 Support labels starting with "." and directives starting with ".".
1072 2003-06-22 Andreas Schwab <schwab@suse.de>
1074 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1075 Avoid variable as format argument for error.
1076 Don't call symbol-name on string.
1078 * eshell/esh-opt.el (eshell-do-opt): Avoid variable as format
1081 * simple.el (vis-mode): Doc fix.
1083 2003-06-22 Glenn Morris <gmorris@ast.cam.ac.uk>
1085 * calendar/diary-lib.el (diary-check-diary-file): New function.
1086 (diary, view-diary-entries, show-all-diary-entries)
1087 (mark-diary-entries): Use it.
1088 (view-other-diary-entries): Doc fix. Use `prefix-numeric-value'.
1089 (diary-syntax-table, diary-attrtype-convert, diary-mail-days): Doc fix.
1090 (diary-modified, d-file): No need to defvar (for compiler).
1091 (list-diary-entries): No need for `let*' so use `let'.
1092 (simple-diary-display): Use `diary-file' directly rather than
1093 inheriting `d-file' from `list-diary-entries' caller.
1094 (make-fancy-diary-buffer, show-all-diary-entries):
1095 `mode-line-format' already buffer-local.
1096 (diary-mail-addr): Set to the empty string (rather than nil) if
1097 undefined, as per `user-mail-address'.
1098 (diary-mail-entries): Doc fix. Error if `diary-mail-address' unset.
1099 (mark-sexp-diary-entries): Don't regexp-quote sexp-mark twice.
1100 Remove an un-needed `if'.
1101 (list-sexp-diary-entries): Remove local vars mark and s-entry, and
1102 use `let' rather than `let*'.
1103 (diary-date, insert-monthly-diary-entry)
1104 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
1105 (insert-block-diary-entry, insert-cyclic-diary-entry)
1106 (font-lock-diary-date-forms): No need for `let*' so use `let'.
1107 (make-diary-entry): Doc fix. Use `or' rather than `if'.
1108 (diary-font-lock-keywords): Use `when'. `cal-islam' is required
1109 feature, not `cal-islamic'.
1110 `calendar-islamic-month-name-array-leap-year' does not exist - use
1111 `calendar-islamic-month-name-array'.
1113 2003-06-21 Kenichi Handa <handa@m17n.org>
1115 * international/utf-16.el: Many name changes: utf-16-{be,le} ->
1117 (mule-utf-16-le, utf-16-le, mule-utf-16-be, utf-16-be): New coding
1118 system aliases for backward compatibility.
1120 * international/utf-7.el: Adjusted for the name change:
1121 xxx-utf-16-{le,be} -> xxx-utf-16{le,be}.
1123 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
1124 Adjust for the name change: xxx-utf-16-{le,be} ->
1127 * international/mule-conf.el: Adjusted for the name change:
1128 xxx-utf-16-{le,be} -> xxx-utf-16{le,be}.
1130 * international/mule-cmds.el (reset-language-environment):
1131 Adjust for the name change: xxx-utf-16-{le,be} ->
1134 2003-06-20 Luc Teirlinck <teirllm@mail.auburn.edu>
1136 * vc.el (vc-rename-file): Fix typo.
1138 2003-06-19 Andreas Schwab <schwab@suse.de>
1140 * info.el (Info-fontify-node): Improve calculation of other-tag.
1142 2003-06-19 Stefan Monnier <monnier@cs.yale.edu>
1144 * progmodes/cc-mode.el (c-mode): Reverting last change.
1146 2003-06-18 Stefan Monnier <monnier@cs.yale.edu>
1148 * progmodes/gud.el (gud-find-expr-function): Rename from gud-find-expr.
1149 (gud-find-fortran-expr): Move to fortran.el.
1151 * progmodes/fortran.el (fortran-gud-find-expr): Move from gud.el
1152 where it was called gud-find-fortran-expr.
1153 (fortran-mode): Set gud-find-expr-function.
1155 2003-06-18 Nick Roberts <nick@nick.uklinux.net>
1157 * gdb-ui.el (gud-display1): Keep the gdb command, "display", in
1158 the command history.
1159 (gdb-restore-windows): Make restore work when gdb-many-windows
1161 (gdb-source-info, gdba): Display assembler if there is no symbol
1162 table for main, or message if there is no main.
1163 (gdb-assembler-custom): Move point to current line of assembler.
1165 * progmodes/gud.el (gud-menu-map): Add dbx support for "run" and
1167 (dbx): Define gud-nexti and gud-run.
1168 (gud-find-expr, gud-find-fortran-expr): New functions.
1169 (gud-find-expr): New variable.
1170 (gud-find-c-expr): Simplify.
1172 * progmodes/fortran.el (fortran-gud-syntax-table): Syntax table
1173 for parsing Fortran expressions for gud-print. (Stefan Monnier)
1174 (fortran-mode): Add local variable gud-find-expr.
1176 * progmodes/cc-mode.el (c-mode): Add local variable gud-find-expr.
1178 2003-06-18 Stefan Monnier <monnier@cs.yale.edu>
1180 * subr.el (looking-back): Handle the case of non-trivial regexps.
1181 Add an optional `limit' argument.
1182 (push, pop, with-temp-file, with-temp-message, delay-mode-hooks)
1183 (with-syntax-table): Add edebug info.
1185 2003-06-17 Stefan Monnier <monnier@cs.yale.edu>
1187 * simple.el (kill-new): Leave yank-handler property alone if no
1188 explicit yank-handler is specified.
1189 (vis-mode-saved-buffer-invisibility-spec): Rename from
1190 saved-buffer-invisibility-spec.
1191 (vis-mode): Correctly handle the case where the mode is turned on
1192 or off several times in a row.
1194 2003-06-17 Luc Teirlinck <teirllm@mail.auburn.edu>
1196 * info.el (Info-fontify-node): Give only the last whitespace
1197 character after the node name the display property. Give all
1198 other such whitespace the invisibility property.
1200 2003-06-17 Pinku Surana <surana@rcn.com>
1202 * progmodes/sql.el: Add support for SQLite interpreter.
1204 2003-06-17 Kai Großjohann <kai.grossjohann@gmx.net>
1206 Version 2.0.35 of Tramp released.
1208 * net/tramp.el (tramp-password-end-of-line): Use "xy" with plink.
1209 (tramp-completion-function-alist): Add completion function for
1210 "remcp", "remsh" and "plink1".
1211 Factor out the `regular' file name handling via a remote shell of
1212 some sort into a specific function. Intent is to later put that
1213 part of Tramp into a special file, so that the Tramp `core' is
1214 just a dispatcher that dispatches to various handlers.
1215 (tramp-sh-file-name-handler): New function.
1216 (tramp-foreign-file-name-handler-alist): New default value.
1217 Call tramp-sh-file-name-handler as default case.
1218 (tramp-file-name-handler): Do not invoke the old remote-shell handler.
1219 (tramp-find-foreign-file-name-handler): Return after first match
1220 is found. From Francis Litterio <franl@world.std.com>.
1221 (tramp-handle-file-newer-than-file-p): `tramp-time-diff' returns
1222 integer, not list. Do not apply `car' to the return value of
1223 `tramp-time-diff'. Reported by David D. Smith
1224 <ultrasoul@ultrasoul.com>.
1225 (tramp-time-diff): Convert return value of subtract-time to a
1226 number of seconds in a correct manner, by applying float-time or
1227 time-to-seconds. Also correct compat code accordingly.
1228 The XEmacs branch for itimer-time-difference didn't need correction,
1229 it returned a float already. Reported by David D. Smith
1230 <ultrasoul@ultrasoul.com>.
1231 (tramp-handle-insert-file-contents): When calling
1232 `file-local-copy', let-bind `inhibit-file-name-operation'
1233 accordingly. This makes sure that jka-compr is not called when
1234 `insert-file-contents-literally' is invoked. From Katsumi Yamaoka
1236 (tramp-do-copy-or-rename-via-buffer): Avoid calling jka-compr when
1237 writing the target file.
1238 (tramp-foreign-file-name-handler-alist): Add comment about default
1239 value having to come last.
1240 (tramp-handle-file-local-copy, tramp-handle-write-region): Add the
1242 (tramp-handle-copy-file): Set file modes of target file.
1243 (tramp-handle-file-local-copy)
1244 (tramp-do-copy-or-rename-via-buffer): Use binary coding system,
1245 instead of no-conversion. They are the same on Emacs but
1246 different on XEmacs.
1247 (tramp-shell-prompt-pattern): Allow multiple escape
1248 sequences (each with optional trailing space).
1251 * net/tramp-util.el:
1252 * net/tramp-efs.el: Use iso-2022-7bit encoding with coding cookie
1253 for XEmacs compatibility.
1255 2003-06-17 Kenichi Handa <handa@m17n.org>
1257 * term/x-win.el (x-select-request-type): New variable.
1258 (x-select-utf8-or-ctext): New function.
1259 (x-selection-value): New function.
1260 (x-cut-buffer-or-selection-value): Call x-selection-value to get
1261 a selection data. Set next-selection-coding-system to nil.
1263 * select.el (x-get-selection): If the string returned by
1264 x-get-selection-internal has text property `foreign-selection',
1265 decode it while preserving that property.
1267 2003-06-16 Stefan Monnier <monnier@cs.yale.edu>
1269 * menu-bar.el (ispell-menu-bar): Don't autoload.
1270 (cvs-global-menu): Use the function rather than the variable.
1272 * pcvs-defs.el (cvs-global-menu): Define as a function as well.
1274 * emacs-lisp/debug.el (debug): Fix call to message.
1276 2003-06-16 Michael Mauger <mmaug@yahoo.com>
1278 * emulation/cua-base.el (cua-mode): Use explicit arg to turn off
1281 2003-06-16 Stefan Monnier <monnier@cs.yale.edu>
1283 * emacs-lisp/cl-extra.el (cl-macroexpand-all):
1284 Don't burp if (cadr (caddr found)) encounters a non-list element.
1286 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Use map-keymap.
1287 (defsubst*): Don't put a `cl-whole argument if it's not used.
1289 * emacs-lisp/cl-specs.el (pushnew): Use keywordp.
1291 * emacs-lisp/disass.el (disassemble): Accept plain expressions.
1293 * add-log.el (add-log-edit-prev-comment, add-log-edit-next-comment):
1295 (change-log-mode-map): Bind them.
1296 (smerge-resolve-function): Declare to quieten the byte-compiler.
1297 (change-log-mode): Add the keymap to the docstring.
1299 2003-06-16 Luc Teirlinck <teirllm@mail.auburn.edu>
1301 * simple.el (vis-mode): New function.
1302 (saved-buffer-invisibility-spec): New variable.
1304 2003-06-16 Juanma Barranquero <lektu@terra.es>
1306 * progmodes/sh-script.el (sh-while-getopts, sh-if, sh-case):
1307 Revert part of previous change.
1309 2003-06-16 Pieter E.J. Pareit <pieter.pareit@skynet.be>
1311 * progmodes/mixal-mode.el: New file.
1313 2003-06-16 Markus Rost <rost@math.ohio-state.edu>
1315 * files.el (recover-session-finish): Don't give up when there are
1316 two consecutive empty lines in the auto-save-list file.
1318 2003-06-14 Stefan Monnier <monnier@cs.yale.edu>
1320 * emacs-lisp/copyright.el (copyright-update-year): New function
1321 extracted from copyright-update.
1322 When `arg' is set, replace the year, not the `copyright' text.
1323 Ignore `copyright-update = nil' if called interactively.
1324 Use "," rather than ", " if that's what was used before.
1325 Recognize mixes of 2 and 4 digit years.
1327 (copyright-update): Add interactivep arg.
1328 Use it instead of use last-command.
1329 Use replace-match. Don't assume (point-min) == 1.
1331 * textmodes/tex-mode.el (tex-compile-commands):
1332 Handle tex-start-commands like tex-start-tex does.
1334 * cus-edit.el (custom-get-fresh-buffer): Kill overlays before erasing
1337 2003-06-13 Ilya N. Golubev <gin@mo.msk.ru> (tiny change)
1339 * shell.el (shell-command-separator-regexp): New variable.
1340 (shell-directory-tracker): Make regexp used for skipping to next
1341 command correspond to one used for command itself.
1343 2003-06-13 Katsumi Yamaoka <yamaoka@jpl.org>
1345 * textmodes/texinfmt.el (texinfo-format-scan):
1346 Silence `whitespace-cleanup'.
1348 2003-06-12 Glenn Morris <gmorris@ast.cam.ac.uk>
1350 * calendar/timeclock.el (display-time-hook)
1351 (timeclock-modeline-display): Define for byte-compiler.
1352 (timeclock-time-to-date, timeclock-workday-remaining)
1353 (timeclock-time-to-seconds, timeclock-seconds-to-time):
1354 Move earlier in the file so defined before used.
1355 (timeclock-status-string): No need for `let*' so use `let'.
1356 (timeclock-query-out): Always return a non-nil value.
1358 2003-06-10 Rajesh Vaidheeswarran <rv@gnu.org>
1360 * whitespace.el (whitespace-version): Bump to 3.3.
1361 (whitespace-cleanup): Respect user preference for silence
1363 * whitespace.el: Remove :tag in commentary :link. Remove empty
1364 lines in comment, since commentary seems to have a problem with that.
1366 2003-06-09 Stefan Monnier <monnier@cs.yale.edu>
1368 * textmodes/tex-mode.el (tex-search-noncomment): New macro.
1369 (tex-last-unended-begin, tex-next-unmatched-end): Use it
1370 so we don't get confused by \begin and \end in comments.
1371 (tex-compile): Change dir before calling tex-compile-default.
1373 2003-06-09 Luc Teirlinck <teirllm@mail.auburn.edu>
1375 * bindings.el (global-map): Bind `kill-whole-line' to
1376 C-S-<backspace>. Remove M-S-<backspace> binding: too close to
1379 * dired.el (dired-re-dot): Make it handle trailing /.
1380 (dired-get-filename): Update documentation string.
1381 Revert previous change and fix typo in earlier version.
1383 2003-06-10 Kim F. Storm <storm@cua.dk>
1385 * info.el (Info-fontify-node): Make `invisible' property
1386 non-sticky so that whitespace added by filling stays visible.
1387 Make refilling less aggressive by starting at beginning of current
1388 line rather than beginning of current paragraph.
1390 2003-06-09 Andreas Schwab <schwab@suse.de>
1392 * dired.el (dired-get-filename): Complain only about "." and "..",
1393 not all directories.
1395 2003-06-08 Nick Roberts <nick@nick.uklinux.net>
1397 * gdb-ui.el (gdb-get-current-frame, gdb-frame-handler): Use Gdb
1398 command `info frame' instead of `frame' to preserve point.
1399 (gdb-invalidate-assembler): Only run disassemble again if frame
1401 (gdb-append-to-inferior-io): Revert change from 2003-05-17.
1403 2003-06-07 Stefan Monnier <monnier@cs.yale.edu>
1405 * textmodes/texinfo.el (texinfo-enable-quote-macros): Fix thinko.
1406 (texinfo-insert-@table): Remove unused arg.
1407 (texinfo-show-structure): Remove unused var `source-buffer'.
1409 * info.el (Info-goto-node, Info-follow-reference, Info-menu-update)
1410 (Info-fontify-node): Don't search past header-end.
1411 Use match-string and line-end-position.
1413 * skeleton.el (skeleton-proxy-new): Consume the mark-active state.
1415 * textmodes/tex-mode.el (tex-mode-syntax-table)
1416 (tex-latex-indent-syntax-table): Don't use easy-mmode-defsyntax.
1418 2003-06-07 Jason Rumney <jasonr@gnu.org>
1420 * mwheel.el (mouse-wheel-up-event, mouse-wheel-down-event):
1421 Use wheel-* events on darwin.
1423 2003-06-06 Era Eriksson <era@iki.fi> (tiny change)
1425 * shell.el (shell-resync-dirs): Tolerate an extra line of output
1426 before the list of directories from `shell-dirstack-query' (it
1427 looks for, and ignores, a literal copy of the value of
1428 shell-dirstack-query).
1430 2003-06-06 Lute Kamstra <lute@gnu.org>
1432 * info.el (Info-complete-menu-item): Revert change of 2003-06-03.
1434 2003-06-06 Klaus Zeitler <kzeitler@lucent.com>
1436 * progmodes/sh-script.el: Fix bug in "Options Loop" skeleton for
1437 ksh. Add newlines to a few skeletons, add "select" keyword for bash.
1439 2003-06-06 Andreas Schwab <schwab@suse.de>
1441 * info.el (Info-select-node): Doc fix.
1443 2003-06-06 Miles Bader <miles@gnu.org>
1445 * frame.el (set-frame-font): Default to frame's current default font.
1447 2003-06-06 Kim F. Storm <storm@cua.dk>
1449 * info.el (Info-fontify-node): Don't refill over lines ending in a
1450 period; this should fix problems with lists like one in the
1451 "(emacs)Library Keywords" section.
1453 2003-06-05 Markus Rost <rost@math.ohio-state.edu>
1455 * dired.el (dired-get-filename): Don't err for . and .. for calls
1456 from dired-add-entry.
1458 2003-06-05 Takaaki Ota <Takaaki.Ota@am.sony.com>
1460 * textmodes/table.el (table-cell-horizontal-chars): Rename from
1461 table-cell-horizontal-char. Now a string value instead of a
1462 character. ?= is allowed for horizontal boundary as well as ?-.
1463 (table-command-remap-alist, table-command-list): Change defconst to
1464 defvar because the value is modified.
1465 (table-insert, table-insert-row, table-insert-column)
1466 (table-recognize, table-recognize-region, table-widen-cell)
1467 (table-span-cell, table-split-cell-vertically): Change due to
1468 table-cell-horizontal-chars.
1469 (table--cell-horizontal-char-p): New function.
1470 (table--generate-source-scan-lines, table-delete-row)
1471 (table-delete-column, table--spacify-frame)
1472 (table--find-row-column, table--probe-cell-left-up)
1473 (table--probe-cell-right-bottom, table--probe-cell): Change due to
1474 table-cell-horizontal-chars. From David Abrahams
1475 <dave@boost-consulting.com>
1477 2003-06-05 Juanma Barranquero <lektu@terra.es>
1479 * gud.el: Moved to progmodes.
1481 2003-06-05 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> (tiny change)
1483 * progmodes/tcl.el (tcl-mode): Set imenu-generic-expression to the
1484 value of tcl-imenu-generic-expression instead of the symbol.
1486 2003-06-05 Luc Teirlinck <teirllm@mail.auburn.edu>
1488 * info.el (Info-mode): Mention `c' and remove duplicate mention
1489 of `q' in documentation string.
1491 2003-06-05 Lute Kamstra <lute@gnu.org>
1493 * shell.el (shell-mode): Put `shell-filter-ctrl-a-ctrl-b' on
1494 `comint-output-filter-functions' when bash is used as the inferior
1496 (shell-filter-ctrl-a-ctrl-b): New function.
1498 2003-06-05 Dave Love <fx@gnu.org>
1500 * vc-hooks.el (vc-make-backup-files): Add :group backup.
1502 2003-06-05 Kim F. Storm <storm@cua.dk>
1504 * info.el (Info-fontify-node): Individually refill menus and
1505 paragraphs to preserve menu items and varying indentation.
1506 Only color first 9 menu items differently.
1508 2003-06-05 Juanma Barranquero <lektu@terra.es>
1510 * desktop.el: Add new maintainer.
1512 2003-06-04 Stefan Monnier <monnier@cs.yale.edu>
1514 * textmodes/sgml-mode.el (sgml-parse-tag-backward): Try and detect
1515 when we're starting from within a tag.
1516 (sgml-get-context): When called from inside a tag, do something useful.
1517 Rename the arg now that it's never used for `full' context anymore.
1518 (sgml-calculate-indent): Make `lcon' an argument.
1519 Return nil when we DON'T know what to do.
1520 If the initial lcon turns out to be wrong, try again.
1521 (sgml-indent-line): If sgml-calculate-indent returns nil, don't indent.
1523 2003-06-04 Jason Rumney <jasonr@gnu.org>
1525 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
1526 Default to new wheel-up and wheel-down events on MacOS.
1528 * term/mac-win.el: No need to bind wheel events specially.
1530 2003-06-04 Luc Teirlinck <teirllm@mail.auburn.edu>
1532 * simple.el (yank-excluded-properties): Expand documentation string.
1534 2003-06-04 Richard M. Stallman <rms@gnu.org>
1536 * emacs-lisp/lisp-mnt.el (lm-keywords-finder-p):
1537 Use with-no-warnings.
1539 * gud.el (gud-minor-mode-type): Move defvar up.
1541 * progmodes/compile.el (compilation-next-error): When moving fwd,
1542 compare position of point with the errors.
1544 * dired.el (dired-get-filename): Err for . and .. in usual case.
1545 (dired-get-file-for-visit): Specify no-error to dired-get-filename,
1546 and check for real errors here.
1547 (dired-unmark-all-files): Specify no-error to dired-get-filename.
1549 * buff-menu.el (list-buffers-noselect): Use window-inside-edges
1550 to compute the number of offset spaces.
1551 (list-buffers-noselect): Use Buffer-menu-buffer+size to
1552 indent the dashes properly. Put some in fixed-pitch.
1554 2003-06-04 Lars Hansen <larsh@math.ku.dk>
1556 * desktop.el (desktop-create-buffer): Undo last change.
1557 (desktop-kill, desktop-save, desktop-remove): Use expand-directory
1558 rather than concat to construct desktop filename.
1559 (desktop-kill, desktop-read, desktop-change-dir):
1560 Ensure desktop-dirname is a directory name.
1561 (desktop-change-dir): Fix bug when DIR was relative.
1563 2003-06-04 Alex Coventry <alex_c@mit.edu> (tiny change)
1565 * files.el (after-find-file): Fix arguments of call to `sit-for'.
1567 2003-06-03 Stefan Monnier <monnier@cs.yale.edu>
1569 * info.el (Info-extract-menu-node-name): Remove unused arg errmessage.
1570 (Info-follow-reference): Update corresponding call.
1571 (Info-node-spec-re): New const.
1572 (Info-complete-menu-item): Use it to only allow : when necessary.
1573 (Info-fontify-node): Use it as well. Fixup typo.
1575 * info.el (info-fontify-node): Use better help-echo text.
1576 Use :align-to display prop.
1577 Use `invisible' rather than `display' prop to hide text.
1579 * info.el (Info-mode-hook): Obey obsolete `Info-fontify'.
1580 (Info-find-in-tag-table-1): Remove unused vars.
1581 (Info-display-images-node): Remove unused var paragraph-markers.
1582 (Info-header-line): Remove.
1583 (Info-select-node): Don't set it.
1584 (Info-search): Remove unused var `current'.
1585 (Info-follow-reference): Remove unused var `beg'.
1586 (Info-extract-menu-node-name): Remove unused var `i'.
1587 (Info-complete-menu-item): Use `with-current-buffer'.
1588 (Info-index): Remove unused var `rnode'.
1589 (Info-mode): Set header-line-format to check text-properties directly.
1590 (Info-find-emacs-command-nodes): Remove unused var `found' and `exact'.
1591 (Info-fontify-node): Use `push'.
1592 (Info-speedbar-hierarchy-buttons): Use `dolist'.
1593 (Info-speedbar-goto-node, Info-speedbar-fetch-file-nodes):
1594 Check the return value of `string-match'.
1595 (Info-speedbar-fetch-file-nodes): Factor out common code.
1597 2003-06-03 Lute Kamstra <lute@gnu.org>
1599 * cus-edit.el (custom-get-fresh-buffer): Test for nonexistence buffer.
1601 2003-06-03 Richard M. Stallman <rms@gnu.org>
1603 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1606 * windmove.el (windmove-reference-loc, windmove-frame-edges):
1607 Use window-inside-edges.
1608 (windmove-do-window-select): Fix error messages.
1610 * files.el (after-find-file): Simplify msg if nonexistent directory.
1611 (make-directory): Doc fix.
1613 * dabbrev.el (dabbrev--goto-start-of-abbrev):
1614 Use minibuffer-prompt-end.
1616 * comint.el (comint-move-point-for-output): Renamed from
1617 comint-scroll-to-bottom-on-output. Old name is alias.
1618 All uses changed. Doc fix.
1619 (comint-scroll-show-maximum-output): Doc fix.
1621 * comint.el (comint-exec-1): Don't use directory-sep-char.
1622 (comint-dynamic-complete-as-filename): Likewise.
1624 * bindings.el (global-map): Delete C-M-delete and C-M-backspace.
1626 2003-06-03 Markus Rost <rost@math.ohio-state.edu>
1628 * progmodes/ps-mode.el (ps-mode): Use autoload cookie in the
1631 2003-06-02 Stefan Monnier <monnier@cs.yale.edu>
1633 * textmodes/bibtex.el (bibtex-member-of-regexp)
1634 (bibtex-assoc-of-regexp, bibtex-format-entry, bibtex-find-entry)
1635 (bibtex-autokey-demangle-name, bibtex-string-files-init, bibtex-mode):
1636 Fix up regexp usage and use match-string.
1638 2003-06-02 Roland Winkler <roland.winkler@physik.uni-erlangen.de>
1640 * textmodes/bibtex.el: Long overdue merge.
1641 Don't require `compile' since it seems unnecessary.
1642 For all internal variables and functions the docstring comments have
1643 been converted into proper docstrings.
1644 (bibtex-maintainer-address, bibtex-maintainer-salutation)
1645 (bibtex-version): Remove support for bug reporting.
1646 (bibtex-field-delimiters, bibtex-entry-delimiters)
1647 (bibtex-sort-ignore-string-entries, bibtex-maintain-sorted-entries)
1648 Replace make-variable-buffer-local by make-local-variable.
1649 (bibtex-entry-format): New tag `required-fields'.
1650 (bibtex-maintain-sorted-entries): New var.
1651 (bibtex-sort-entry-class, bibtex-sort-entry-class-alist): New vars.
1652 (bibtex-predefined-month-strings, bibtex-predefined-strings):
1653 Make into alists with pairs (abbreviation expansion).
1654 (bibtex-autokey-titleword-change-strings)
1655 (bibtex-autokey-transcriptions): Make into alists.
1656 Add new replacement pairs.
1657 (bibtex-autokey-use-crossref): New var.
1658 Replace bibtex-autokey-year-use-crossref-entry because updated code
1659 for autokey generation handles crossrefs independently of
1661 (bibtex-reference-key, bibtex-mode-syntax-table):
1662 Remove = because it can't be part of a string's key.
1663 (bibtex-complete-key-cleanup): New var.
1664 (bibtex-complete): Merge bibtex-complete-string and bibtex-complete-key
1665 into it (and bind to M-tab).
1666 (bibtex-valid-entry-re, bibtex-any-valid-entry-re)
1667 (bibtex-valid-entry-whitespace-re, bibtex-empty-field-re)
1668 (bibtex-quoted-string-re): New vars.
1669 (bibtex-field-name-for-parsing): Don't make-variable-buffer-local.
1670 (zmacs-regions): Declare to quieten the byte-compiler.
1671 (bibtex-comment-start): Don't include the space.
1672 (bibtex-font-lock-syntactic-keywords): New var.
1673 (bibtex-font-lock-keywords): Remove the entry for @Comment.
1674 (bibtex-parse-field-string): Merge the functionality of
1675 bibtex-parse-field-string-braced, bibtex-parse-quoted-string and
1676 bibtex-parse-field-string-quoted.
1677 (bibtex-search-forward-field-string): Remove.
1678 (bibtex-parse-association): Use when.
1679 (bibtex-parse-field-name): Use when.
1680 (bibtex-parse-field-text): Use when and cond.
1681 (bibtex-parse-field): Use let.
1682 (bibtex-search-forward-field, bibtex-search-backward-field):
1683 Make bound optional, use let, setq, and cddr.
1684 (bibtex-start-of-field, bibtex-start-of-name-in-field)
1685 (bibtex-end-of-name-in-field): Use nth.
1686 (bibtex-name-in-field, bibtex-text-in-field-bounds)
1687 (bibtex-text-in-field, bibtex-type-in-head, bibtex-key-in-head)
1688 (bibtex-text-in-string): New functions.
1689 (bibtex-reference-key-in-string): New fun. Merge of
1690 bibtex-start-of-reference-key-in-string and
1691 bibtex-end-of-reference-key-in-string.
1692 (bibtex-parse-string-prefix): Use let and when.
1693 (bibtex-parse-string-postfix): Use when.
1694 (bibtex-search-forward-string, bibtex-search-backward-string):
1695 Use save-excursion and setq.
1696 (bibtex-member-of-regexp): Use let.
1697 (bibtex-assoc-of-regexp): Use caar and let.
1698 (bibtex-skip-to-valid-entry): Return buffer position.
1699 (bibtex-map-entries): Use save-excursion.
1700 (bibtex-progress-message): Simplify.
1701 (bibtex-search-entry): Use skip-chars-forward, when, save-match-data.
1702 (bibtex-move-outside-of-entry): Handle the case that point is before
1704 (bibtex-enclosing-field): Use save-excursion, when.
1705 (bibtex-format-field-delimiters): Merge into bibtex-format-entry.
1706 (bibtex-enclosing-entry-maybe-empty-head): Simplify.
1707 (bibtex-format-entry): Simplify. Handle new tag required-fields of
1708 bibtex-entry-format.
1709 (bibtex-autokey-abbrev): Accept negative values of len.
1710 (bibtex-autokey-get-field, bibtex-autokey-demangle-title): New funs.
1711 (bibtex-autokey-get-namefield, bibtex-autokey-get-namelist)
1712 (bibtex-autokey-get-yearfield-digits, bibtex-autokey-get-yearfield)
1713 (bibtex-autokey-get-titlestring): Remove.
1714 (bibtex-autokey-get-names): Simplify.
1715 (bibtex-autokey-get-titles): Rename to bibtex-autokey-get-title.
1716 (bibtex-autokey-demangle-name): Simplify, avoid error messages.
1717 (bibtex-generate-autokey): Simplify.
1718 (bibtex-parse-keys): Simplify, use push.
1719 (bibtex-parse-strings): New fun similar to bibtex-parse-keys.
1720 (bibtex-string-files-init): New fun.
1721 (bibtex-parse-buffers-stealthily): Use bibtex-parse-keys,
1722 bibtex-string-files-init and bibtex-parse-strings.
1723 (bibtex-complete): Rename to bibtex-complete-internal, use push,
1724 bibtex-reference-key-in-string, no sorting.
1725 (bibtex-complete-string-cleanup): New fun, displays expansion of
1727 (bibtex-choose-completion-string): New fun. Required for
1728 choose-completion-string-functions.
1729 (bibtex-do-auto-fill): Remove. Set fill-prefix in bibtex-mode.
1730 (bibtex-pop): Simplify.
1731 (bibtex-mode): Move setting of bibtex-string to bibtex-parse-strings.
1732 Set choose-completion-string-functions.
1733 (bibtex-print-help-message,bibtex-make-field, bibtex-end-of-entry)
1734 (bibtex-count-entries): Simplify.
1735 (bibtex-entry-index, bibtex-lessp): New funs for generalized sorting
1736 scheme of indices, see bibtex-maintain-sorted-entries.
1737 (bibtex-sort-buffer): Use bibtex-lessp for sorting.
1738 (bibtex-find-crossref, bibtex-find-entry): New funs.
1739 (bibtex-find-entry-location): Rename to bibtex-prepare-new-entry, use
1740 bibtex-lessp, Simplify.
1741 (bibtex-validate): Simplify. Fixe bug of internal variable
1743 (bibtex-remove-OPT-or-ALT): Use when.
1744 (bibtex-remove-delimiters, bibtex-kill-field, bibtex-kill-entry)
1745 (bibtex-clean-entry, bibtex-fill-entry, bibtex-reformat): Simplify.
1746 (bibtex-convert-alien): Use deactivate-mark rather than the
1747 non-existent bibtex-mark-active variable.
1748 (bibtex-complete-string, bibtex-complete-key): Merge into new
1749 `smart' defun bibtex-complete.
1750 (bibtex-String): Update for new sorting scheme, distinguish empty and
1751 non-empty key strings.
1753 2003-06-02 Stefan Monnier <monnier@cs.yale.edu>
1755 * sort.el (sort-subr): Add `predicate' arg. Remove `sortcar' code.
1757 2003-06-02 Lute Kamstra <lute@gnu.org>
1759 * emacs-lisp/lisp-mnt.el (lm-synopsis): Use relative filenames
1760 correctly. Show the synopsis to the user when appropriate.
1761 Do not kill buffers that were created outside `lm-synopsis'.
1763 2003-06-01 Stefan Monnier <monnier@cs.yale.edu>
1765 * cus-edit.el (custom-get-fresh-buffer): Be extra paranoid,
1766 just in case some used a file of the wrong name.
1768 * progmodes/sh-script.el (sh-is-quoted-p): New fun.
1769 (sh-font-lock-paren): Use it to allow \C in case patterns.
1770 (sh-get-indent-info): Check the \n before the line for string-status.
1771 (sh-feature): Remove unused var `function'.
1772 (sh-get-indent-info): Remove unused variables.
1773 (sh-prev-thing): Remove unused vars `going', `n', and `found'.
1774 (sh-set-indent): Remove unused var `new-val' and `val0'.
1775 (sh-learn-buffer-indent): Remove unused vars `last-pos' and `lines'.
1776 (sh-guess-basic-offset): Remove unused var `return' and `j'.
1778 2003-05-27 David Ponce <david@dponce.com>
1784 Take into account changes made to the display margins, fringes and
1785 scroll-bar handling.
1787 (ruler-mode-margins-char): Remove. Not used anymore.
1788 (ruler-mode-pad-face, ruler-mode-fringes-face): New faces.
1789 (ruler-mode-margins-face): New definition. Move.
1790 (ruler-mode-left-fringe-cols)
1791 (ruler-mode-right-fringe-cols)
1792 (ruler-mode-left-scroll-bar-cols)
1793 (ruler-mode-right-scroll-bar-cols): Reimplement. Move.
1794 (ruler-mode-full-window-width)
1795 (ruler-mode-window-col): New functions.
1796 (ruler-mode-mouse-set-left-margin)
1797 (ruler-mode-mouse-set-right-margin)
1798 (ruler-mode-mouse-add-tab-stop)
1799 (ruler-mode-mouse-del-tab-stop): Reimplement.
1800 (ruler-mode-mouse-current-grab-object): Rename to...
1801 (ruler-mode-dragged-symbol): New.
1802 (ruler-mode-mouse-grab-any-column): Use it. Clean up.
1803 (ruler-mode-mouse-drag-any-column): Likewise.
1804 (ruler-mode-mouse-drag-any-column-iteration): Simplify.
1805 (ruler-mode): Restore previous `header-line-format' if
1806 `ruler-mode-header-line-format-old' has a local binding in current
1808 (ruler-mode-left-margin-help-echo)
1809 (ruler-mode-right-margin-help-echo): Remove.
1810 (ruler-mode-margin-help-echo)
1811 (ruler-mode-fringe-help-echo): New constants.
1812 (ruler-mode-ruler): Use them. Reimplement.
1814 2003-06-01 Jason Rumney <jasonr@gnu.org>
1816 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
1817 Default to new wheel-up and wheel-down events on Windows.
1819 * term/w32-win.el: No need to bind wheel events specially.
1821 2003-06-01 Michael Kifer <kifer@cs.stonybrook.edu>
1823 * desktop.el (desktop-create-buffer): Add (desktop-first-buffer) to
1824 the let-statement to avoid the startup error that desktop-first-buffer
1827 2003-06-01 Andreas Schwab <schwab@suse.de>
1829 * man.el (Man-name-regexp): Also match Latin-1 soft hyphen.
1830 (Man-build-references-alist): Handle Latin-1 soft hyphen.
1832 2003-05-31 Stephen Eglen <stephen@gnu.org>
1834 * iswitchb.el (iswitchb-buffer-ignore): Update custom type to
1837 2003-05-31 Stefan Monnier <monnier@cs.yale.edu>
1839 * view.el (view-file, view-file-other-window, view-file-other-frame):
1840 Signal an error when trying to visit a nonexistent file.
1842 * vc-hooks.el (vc-call-backend): Give better error message
1843 when a backend function is missing.
1844 (vc-find-file-hook): USe unless. Merge if and cond.
1846 * vc.el (vc-directory-exclusion-list): Add MCVS and .svn.
1847 (vc-checkin-hook): Adjust option to new name.
1849 * log-edit.el (log-edit-maximum-comment-ring-size)
1850 (log-edit-comment-ring, log-edit-comment-ring-index)
1851 (log-edit-last-comment-match): Rename vars from
1852 vc-maximum-comment-ring-size, vc-comment-ring, vc-comment-ring-index,
1853 and vc-last-comment-match.
1854 (log-edit-new-comment-index, log-edit-previous-comment)
1855 (log-edit-next-comment, log-edit-comment-search-backward)
1856 (log-edit-comment-search-forward, log-edit-comment-to-change-log):
1857 Rename funs from vc-new-comment-index, vc-previous-comment,
1858 vc-next-comment, vc-comment-search-reverse, vc-comment-search-forward,
1859 and vc-comment-to-change-log.
1861 * wid-edit.el (widget-specify-insert): Simplify.
1862 (widget-editable-list-entry-create): Don't assume that %d and %i are
1863 in the format string.
1864 (widget-map-buttons): Remove unused var `parent'.
1865 (widget-move): Remove unused shadowed var `new'.
1866 (widget-color-action): Remove unused var `pos'.
1868 * cus-edit.el (custom-get-fresh-buffer): New fun.
1869 (custom-buffer-create, custom-buffer-create-other-window)
1870 (customize-browse): Use it instead of killing buffers.
1871 (custom-bury-buffer): Obey the argument.
1872 (custom-variable-reset-saved, custom-variable-reset-standard):
1873 Remove unused var `comment-widget'.
1874 (custom-face-edit-deactivate): Remove unused var `to'.
1875 (custom-save-variables): Remove unused var `sep'.
1877 2003-05-31 John Paul Wallington <jpw@gnu.org>
1879 * files.el (large-file-warning-threshold): Add type, groups.
1881 * progmodes/delphi.el (delphi-ignore-changes): Defvar; non-constant.
1883 2003-05-31 Kenichi Handa <handa@m17n.org>
1885 * files.el (recover-file): Bind coding-system-for-read to
1888 2003-05-31 Juanma Barranquero <lektu@terra.es>
1890 * misc.el (mark-beginning-of-buffer, mark-end-of-buffer)
1891 (upcase-char, forward-to-word, backward-to-word): Move from unused.el.
1893 * unused.el: Deleted (contents moved to misc.el).
1896 * emacs-lisp/float.el:
1897 * textmodes/scribe.el: Moved to obsolete.
1905 * warnings.el: Moved to emacs-lisp.
1907 * enriched.el: Moved to textmodes.
1909 * textmodes/outline.el: Moved to lisp.
1911 * which-func.el: Moved to progmodes.
1913 * loadup.el: Load byte-run.el, map-ynp.el, timer.el and float-sup.el
1916 2003-05-31 Tom Wurgler <twurgler@goodyear.com> (tiny change)
1918 * subr.el (looking-back): New function to check for regular
1919 expression before point.
1921 2003-05-30 Stefan Monnier <monnier@cs.yale.edu>
1923 * newcomment.el (comment-empty-lines): New var.
1924 (comment-region-internal): Use it.
1926 * textmodes/tex-mode.el (latex-block-args-alist)
1927 (latex-block-body-alist): New vars.
1928 (latex-insert-block): Use them.
1929 (tex-string-prefix-p): New fun.
1930 (tex-guess-main-file): Use it to detect when the main file
1931 is in a parent directory.
1932 (tex-main-file): Try to find a main-file in parent directories.
1933 (tex-compile-default): Don't use `gv' on pdf files just because
1934 `gv' was used recently on a ps file. Remove unused arg `dir'.
1935 Reuse a previous command as-is if it applied to the same file.
1936 (tex-compile): Use the right file name when file is not in dir.
1938 * textmodes/refill.el (refill-adjust-ignorable-overlay):
1939 Don't hardcode pint-min == 1.
1940 (refill-fill-paragraph-at): Use a more robust method to detect
1941 when the paragraph is after point. Remove unused var `fill-pfx'.
1943 * xml.el (xml-parse-tag): Return (foo nil) rather than (foo nil "")
1944 for <foo/>, to make it behave like <foo></foo>.
1946 * emacs-lisp/edebug.el (edebug-storing-offsets): Move indent
1947 and debug to inside the macro.
1948 (edebug-read-storing-offsets): Simplify.
1949 (edebug-read-quote, edebug-read-function): Place the
1950 start-position correctly.
1951 (edebug-read-backquote-new): Remove.
1952 (edebug-read-backquote-level): New var to replace it.
1953 (edebug-read-backquote): Increment it.
1954 Don't store offsets one extra time.
1955 (edebug-read-comma): Decrement it. Read the comma as a plain
1956 symbol if outside of any new-style backquote.
1957 (edebug-read-list): Use edebug-read-backquote-level.
1958 Don't call edebug-read-backquote directly. This way the extra
1959 offsets store is done exactly when it's needed.
1960 (edebug-read-vector): Use push.
1961 (defmacro): Add support for the `declare' thingy.
1963 2003-05-29 Stefan Monnier <monnier@cs.yale.edu>
1965 * forms.el (forms-mode-hook): Rename from forms-mode-hooks.
1966 (forms-mode): Use add-hook rather than make-local-variable+setq.
1967 Use with-current-buffer. Run the new and the old hooks.
1968 (forms--update): Use with-current-buffer and line-end-position.
1969 (forms--goto-record): New fun.
1970 (forms-jump-record, forms-insert-record, forms-delete-record): Use it.
1971 (forms--process-format-list): Remove unused var `this-item'.
1972 (forms--intuit-from-file): Remove unused var `the-result'.
1973 (forms--trans): Remove unused var `x'.
1974 (forms--exit, forms-exit, forms-exit-no-save): Remove unused arg.
1976 * emacs-lisp/edebug.el (edebug-window-list): Use push.
1977 (edebug-macrop): Use functionp.
1978 (edebug-functionp): Remove.
1979 (edebug-get-displayed-buffer-points): Use push.
1980 (edebug-set-buffer-points): Use save-current-buffer and buffer-live-p.
1981 (edebug-list-form): Remove dead code.
1982 (backquote-form): Correctly handle `(a . ,b).
1983 (edebug-mode-map, global-edebug-map): Move init to inside the defvar.
1984 (define-derived-mode, define-minor-mode): Remove outdated spec.
1985 (save-match-data, with-output-to-string, with-current-buffer)
1986 (combine-after-change-calls, with-temp-buffer, dolist, dotimes)
1987 (unless, when): Remove specs that are now in the corresponding macro.
1989 * emacs-lisp/easy-mmode.el (define-minor-mode): Add edebug spec.
1990 Accept a :keymap argument, as you'd expect.
1992 * derived.el (define-derived-mode): Add a proper edebug declaration.
1994 2003-05-29 Luc Teirlinck <teirllm@mail.auburn.edu>
1996 * simple.el (kill-whole-line): Make it interact correctly with
1999 2003-05-29 Kenichi Handa <handa@m17n.org>
2001 * international/mule.el (ctext-non-standard-encodings-alist):
2002 Rename from non-standard-icccm-encodings-alist.
2003 (ctext-non-standard-encodings-regexp): New variable.
2004 (ctext-post-read-conversion): Full rewrite.
2005 (ctext-non-standard-designations-alist): Rename from
2006 non-standard-designations-alist.
2007 (ctext-pre-write-conversion): Full rewrite.
2009 2003-05-28 Stefan Monnier <monnier@cs.yale.edu>
2011 * info.el (Info-fontify-node): Hide \n------- rather than -------\n.
2013 * skeleton.el (skeleton-edebug-spec): First cut of an edebug spec.
2014 (define-skeleton): Use it.
2016 2003-05-28 Andreas Schwab <schwab@suse.de>
2018 * descr-text.el (describe-char): Use `char' instead of
2019 `(char-after)'. Fix display of Unicode.
2021 2003-05-28 Nick Roberts <nick@nick.uklinux.net>
2023 * gud.el (gud-gdb-goto-stackframe, gud-gdb-get-stackframe):
2024 Add server prefix to the gdb commands used by the speedbar.
2026 2003-05-28 Kai Großjohann <kai.grossjohann@gmx.net>
2028 * simple.el (kill-region): If nothing was killed, and the
2029 previous command was not a kill, break kill sequence.
2031 2003-05-28 Richard M. Stallman <rms@gnu.org>
2033 * textmodes/refill.el (refill-fill-paragraph-at):
2034 Avoid refilling the following paragraph.
2035 (refill-doit): Doc fix.
2037 * emulation/vip.el (ctl-x-map): Don't bind C-x C-i or C-x 3.
2038 (global-map): Don't bind C-z.
2039 (vip-setup): New function to rebind C-x 7 and C-z.
2041 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
2042 Undo previous change (don't check for eob). Widen at the beginning.
2044 * map-ynp.el (map-y-or-n-p): No special handling for exit-prefix.
2045 In help string, mention C-g but not ESC.
2047 * jka-compr.el (jka-compr-insert-file-contents):
2048 When REPLACE, delete the proper range of text.
2050 * info.el (Info-index): Add autoload cookie.
2052 * forms.el (forms-mode): Use write-file-functions instead
2053 of local-write-file-hooks. Use make-local-variable to make it local.
2055 * descr-text.el (describe-char-unicode-data): New dummy definition.
2056 (unicode-data): Comment out since we can't use UnicodeData.txt as is.
2057 (describe-char-unicodedata-file): Variable renamed and commented out.
2059 * faces.el (set-face-attribute): Set face-modified prop to t
2060 when we change the new-frame defaults.
2061 (face-spec-set): Set face-modified prop to nil
2062 when we change the new-frame defaults.
2064 * cus-edit.el (custom-face-state-set): Non-nil `face-modified'
2065 means face was set outside of Custom.
2067 2003-05-28 Richard M. Stallman <rms@gnu.org>
2069 * byte-run.el (with-no-warnings): New function.
2071 * emacs-lisp/bytecomp.el (byte-compile-no-warnings): New function.
2072 (with-no-warnings): Set up compile handler.
2074 * startup.el (command-line-1): Use with-no-warnings.
2076 * type-break.el (type-break-cancel-function-timers):
2077 Use with-no-warnings.
2079 2003-05-28 Luc Teirlinck <teirllm@mail.auburn.edu>
2081 * env.el (substitute-env-vars): Fix typo.
2083 2003-05-28 Walter C. Pelissero <walter@pelissero.de> (tiny change)
2085 * net/browse-url.el (browse-url-mozilla): Correct the conditionals
2086 for using ,new-window.
2088 2003-05-27 Glenn Morris <gmorris@ast.cam.ac.uk>
2090 * progmodes/sh-script.el (sh-here-document-word):
2091 Document new treatment of leading "-".
2092 (sh-maybe-here-document): Strip a leading "-" from closing
2093 heredoc delimiter, if present.
2095 * align.el (align-rules-list): Doc fix.
2097 * calendar/timeclock.el: Update copyright.
2098 (timeclock-ask-before-exiting): Put `timeclock-query-out' on
2099 `kill-emacs-query-functions' rather than `kill-emacs-hook'.
2100 (timeclock-mode-string): Doc fix.
2101 (timeclock-modeline-display): Doc fix. Use `global-mode-string'
2102 rather than `mode-line-format'.
2103 (timeclock-query-out): Doc fix.
2104 (timeclock-update-modeline): No need for `let*', so use `let'.
2105 Add some help-echo text to `timeclock-mode-string'.
2106 (timeclock-mode-string): Give it the risky-local-variable
2107 property, so that help-echo text will display.
2108 (timeclock-find-discrep): Set `accum' to 0 if
2109 `timeclock-discrepancy' is nil.
2111 2003-05-27 Stefan Monnier <monnier@cs.yale.edu>
2113 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function):
2114 Don't infinite loop at bob.
2115 (emacs-lisp-mode): Mark its main custom group to be `lisp'.
2116 (prin1-char): New fun.
2117 (eval-last-sexp-1): Use it. Use with-syntax-table as well.
2118 (eval-defun-1): Don't replace `defvar' with `defconst'.
2120 2003-05-27 Kai Großjohann <kai.grossjohann@gmx.net>
2122 * bindings.el (global-map): Bind M-S-<backspace to kill-whole-line.
2124 2003-05-26 Stefan Monnier <monnier@cs.yale.edu>
2126 * gud.el (gud-find-class): Remove unused var `pos'.
2127 (gdb-script-mode-syntax-table, gdb-script-font-lock-keywords)
2128 (gdb-script-font-lock-syntactic-keywords)
2129 (gdb-script-font-lock-syntactic-face, gdb-script-basic-indent)
2130 (gdb-script-skip-to-head, gdb-script-calculate-indentation)
2131 (gdb-script-indent-line, gdb-script-mode): New mode to edit
2132 .gdbinit-like scripts.
2134 2003-05-26 John Paul Wallington <jpw@gnu.org>
2136 * faces.el (display-supports-face-attributes-p): Doc fix.
2137 (x-create-frame-with-faces): Call `face-set-after-frame-default'.
2139 2003-05-26 Kai Großjohann <kai.grossjohann@gmx.net>
2141 * bindings.el (global-map): Don't bind S-<backspace>. Too many
2142 people hit it by mistake.
2144 2003-05-26 Andre Spiegel <spiegel@gnu.org>
2146 * vc.el (vc-delete-file): Fix free variable reference.
2147 (vc-annotate-display): Remove obsolescence declaration; it isn't
2150 2003-05-25 Kevin Ryde <user42@zip.com.au>
2152 * info-look.el (autoconf-mode setups): Recognize AH_ and AU_ entries
2153 in "(autoconf)Autoconf Macro Index". Add "(autoconf)M4 Macro Index"
2154 and "(autoconf)Autotest Macro Index". Remove duplicate copy of
2155 "(automake)Macro and Variable Index". Keep automake after all
2156 autoconf possibilities, so as to prefer those.
2158 2003-05-25 Stefan Monnier <monnier@cs.yale.edu>
2160 * skeleton.el (skeleton-internal-1): Don't loop if interactor of
2162 (skeleton-pair-default-alist): New var.
2163 (skeleton-pair-insert-maybe): Use it. Don't munge multibyte chars.
2165 2003-05-25 Nick Roberts <nick@nick.uklinux.net>
2167 * gdb-ui.el (gdb-info-breakpoints-custom, gdb-assembler-custom):
2168 Put string associated with breakpoint at start of line so that it
2170 (gdb-display-source-buffer): Display assembler during execution,
2172 (gud-menu-map): Add a toggle button to menubar for gdb-many-windows.
2173 (gdb-many-windows): Define explicitly as a function and a variable
2174 (formerly as a minor mode). These need to be global so layout can
2175 be reset from any buffer.
2176 (gdb-assembler-mode): Keep fringe outside margin as the overlay
2177 arrow is not used for assembler.
2179 2003-05-25 Tim Van Holder <tim.vanholder@anubex.com>
2181 * which-func.el (which-func-update-timer): New variable.
2182 (which-function-mode): Use it.
2184 2003-05-25 Richard M. Stallman <rms@gnu.org>
2186 * simple.el (idle-update-delay): New variable.
2188 2003-05-25 Luc Teirlinck <teirllm@mail.auburn.edu>
2190 * simple.el (forward-visible-line): Fix negative arguments.
2192 2003-05-25 Juanma Barranquero <lektu@terra.es>
2194 * skeleton.el (skeleton-pair-insert-maybe): Remove leftover
2195 reference to skeleton-abbrev-cleanup.
2197 2003-05-24 Andreas Schwab <schwab@suse.de>
2199 * files.el (insert-directory): Preserve CR in a file name.
2201 2003-05-24 Stefan Monnier <monnier@cs.yale.edu>
2203 * skeleton.el (skeleton-abbrev-cleanup, skeleton-proxy):
2204 Remove obsolete code.
2206 * term/w32-win.el (iconify-or-deiconify-frame):
2207 * term/mac-win.el (iconify-or-deiconify-frame): Move to frame.el.
2209 * term/x-win.el (iconify-or-deiconify-frame): Move to frame.el.
2210 Turn on mouse-wheel support by default.
2212 * frame.el (iconify-or-deiconify-frame): Move from term/x-win.el.
2214 2003-05-24 Kai Großjohann <kai.grossjohann@gmx.net>
2216 * net/tramp.el: Version 2.0.34 released.
2217 (tramp-handle-file-symlink-p): If target of symlink is absolute,
2218 return a Tramp filename. (Ie, return "/user@host:/target" instead
2220 (tramp-handle-file-truename): Deal with new return value from
2222 (tramp-handle-expand-file-name): Make default method explicit in
2224 (tramp-unified-filenames): Move to an earlier spot in the file.
2225 (top-level): If tramp-unified-filenames is set and we're running
2226 on XEmacs, load tramp-efs.
2227 (tramp-wait-for-shell-prompt, tramp-barf-if-no-shell-prompt):
2228 New functions, used by tramp-send-command-internal.
2229 (tramp-open-connection-setup-interactive-shell): Simplify using
2230 `tramp-send-command-internal'.
2231 (tramp-send-command-internal): New function.
2232 (tramp-methods): New entries "remsh" and "remcp" are like "rsh"
2233 and "rcp" but invoke "remsh" instead of "rsh". This is useful on
2234 Cray systems, for instance. Unify tramp-rsh-program,
2235 tramp-telnet-program, tramp-su-program into tramp-login-program.
2236 Likewise with tramp-login-args, tramp-copy-program,
2237 tramp-copy-args, tramp-copy-keep-date-arg. Users changed. New
2238 method plink1; like plink but pass "-1" to force protocol version 1.
2239 (tramp-default-method): Use plink as the default on machines where
2240 the plink program is present.
2241 (tramp-completion-file-name-handler): Add safe-magic property.
2242 (tramp-shell-prompt-pattern): Allow ANSI escapes at
2243 end of prompt. (ANSI escapes elsewhere in the prompt are
2244 recognized properly already.)
2246 * net/tramp-efs.el: New file.
2248 2003-05-24 Michael Albinus <Michael.Albinus@alcatel.de>
2250 * net/tramp.el (tramp-handle-file-truename): `sym' shouldn't be
2252 (tramp-methods, tramp-multi-connection-function-alist):
2253 Use argument "-p Password:" for "sudo" method, because password prompt
2254 might be changed by either passprompt option in /etc/sudoers, or
2255 SUDO_PROMPT environment variable. Suggested by Peter Oliver
2256 <peter.oliver@aquila-networks.co.uk>.
2258 2003-05-23 Stefan Monnier <monnier@cs.yale.edu>
2260 * mail/supercite.el: Use `push' and replace `regi-pos' by equivalents.
2261 (sc-emacs-features): Remove. Use better tests instead.
2262 (sc-minor-mode): Use define-minor-mode.
2263 (sc-mode-string, sc-set-mode-string): Remove.
2264 Use a better modeline expression instead.
2265 (sc-completing-read, sc-read-string, sc-submatch, sc-member)
2266 (sc-string-text): Remove those compatibility functions.
2268 * pcvs.el (cvs-temp-buffer): Kill running process in displayed buffers.
2269 (cvs-make-cvs-buffer): Fix up format of the header.
2271 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
2272 Match more cases of /.../ patterns.
2274 2003-05-23 Nick Roberts <nick@nick.uklinux.net>
2276 * gdb-ui.el (gdba): Accommodate Fortran programs.
2277 (gud-gdba-command-name): Use -noasync in all cases (as Fortran
2278 seems to require it also).
2279 (gdb-source-info): Parse correctly when compilation directory
2280 specifies host also (IRIX).
2282 2003-05-23 Andre Spiegel <spiegel@gnu.org>
2284 * vc-cvs.el (vc-cvs-checkout): Don't leave the branch when
2285 REV is t. From Don Provan <dprovan@bivio.net>
2287 2003-05-23 Richard M. Stallman <rms@gnu.org>
2289 * forms.el (forms--mode-commands1): Bind \t, not `tab'.
2290 (forms--mode-commands): Don't bind \t in the maps where
2291 we call forms--mode-commands1.
2293 2003-05-23 Taro Kawagishi <tarok@acm.org>
2295 * arc-mode.el (archive-lzh-summarize): Calculate correct total
2296 header size for LZH level 1 header.
2298 2003-05-23 Richard M. Stallman <rms@gnu.org>
2300 * textmodes/paragraphs.el (repunctuate-sentences): Add doc string.
2302 2003-05-23 Daniel Ortmann <dortmann@lsil.com> (tiny change)
2304 * textmodes/paragraphs.el (repunctuate-sentences): New function.
2306 2003-05-23 Lute Kamstra <lute@gnu.org>
2308 * emacs-lisp/lisp-mnt.el: Make the description of the library more
2310 (lm-any-header): New user option.
2311 (lm-section-start): New function; rewrite of `lm-section-mark'.
2312 (lm-section-mark): Make alias of `lm-section-start'.
2313 (lm-section-end): New function.
2314 (lm-code-start): New function; rewrite of `lm-code-mark'.
2315 (lm-code-mark): Make alias of `lm-code-start'.
2316 (lm-commentary-start): New function; rewrite of `lm-commentary-mark'.
2317 (lm-commentary-mark): Make alias of `lm-commentary-start'.
2318 (lm-commentary-end): New function.
2319 (lm-history-start): New function; rewrite of `lm-history-mark'.
2320 (lm-history-mark): Make alias of `lm-history-start'.
2321 (lm-commentary): Use `lm-commentary-end' to find the end of the
2324 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
2325 Use `lm-commentary-end' to find the end of the commentary section.
2327 2003-05-22 Stefan Monnier <monnier@cs.yale.edu>
2329 * skeleton.el (define-skeleton): Use the `no-self-insert' property.
2330 (skeleton-proxy-new): Fix docstring. Remove broken interactive spec.
2331 Rely on use `no-self-insert' rather than `skeleton-abbrev-cleanup'.
2332 (skeleton-internal-1): Add a `recursive' argument.
2333 (skeleton-internal-list): Use it to propagate `recursive'.
2335 2003-05-22 Ken Stevens <kstevens@ichips.intel.com>
2337 * ispell.el: Sync to version 3.6.
2338 Summary: MIME support added for e-mail processing that
2339 skips encoded regions. Allow user to skip saving Fcc messages with
2340 large attachments. Fixed region skipping bug with multi-line
2341 comments - e.g. tex $ regions spanning multiple lines.
2342 Added support for PostScript and uuencoded regions.
2343 Redundant dictionary file names purged.
2344 Dictionary definition field name changed from "Character Set"
2345 to "Coding System". Fixed bug in reloading dictionaries.
2346 Modified headers to reflect new version. XEmacs menu now adds
2348 (ispell-check-version): No longer an aliased function.
2349 Returns library path if not called interactively.
2350 Variable `temporary-file-directory' protected if not loaded.
2351 (check-ispell-version): Now the alias for `ispell-check-version'.
2352 (ispell-message-fcc-skip): New variable that determines if and when
2353 to query about saving Fcc copy of message if an attachment is large.
2354 (ispell-skip-html): Declare buffer-local.
2355 (ispell-local-dictionary-alist): Docstring expanded.
2356 Tag name changed from "Character Set" to "Coding System".
2357 (ispell-dictionary-alist-1): Remove redundant command-line option to
2358 load brasileiro, british, and castellano dictionary files.
2359 (ispell-dictionary-alist-2): Remove redundant command-line option to
2360 load czech dictionary file.
2361 (ispell-dictionary-alist-3): Move francais-tex here.
2362 (ispell-dictionary-alist-4): Remove german and german8 dictionaries.
2363 The deutsch ones are the correct definitions. `nederlands'
2364 and `nederlands8' dictionaries moved here.
2365 (ispell-dictionary-alist-5): `polish' and `portugues' dictionaries
2366 moved here. Removed redundant command-line option to `norsk'
2368 (ispell-dictionary-alist-6): Remove redundant command-line option to
2369 load `russian' and `slovak' dictionary files.
2370 (ispell-dictionary-alist): Tag name changed from "Character Set" to
2372 (ispell-version): Update to 3.6.
2373 (ispell-library-directory): Calls non-deprecated function.
2374 (ispell-valid-dictionary-list): New function returning all valid
2375 dictionaries on machine.
2376 (ispell-checking-message): Documentation string improved.
2377 (ispell-skip-region-alist): Add uuencoded and PostScript region
2378 skipping. Improve http/e-mail/file regexp to not match `/.\w'.
2379 (ispell-html-skip-alists): New variable for html region support.
2380 (ispell-send-string): Remove redundant xemacs check.
2381 (ispell-word): Fix spelling error in documentation string, add
2382 extent information to support highlighting in ispell-minor-mode.
2383 (ispell-command-loop): Disable horizontal scrollbar in XEmacs
2385 (ispell-show-choices): Directly select `choices-window'.
2386 (ispell-help): Use default buffer size for electric help.
2387 (ispell-adjusted-window-height): Correct for XEmacs detection.
2388 (ispell-start-process): Don't double specify dictionary file name.
2389 (ispell-init-process): Set `ispell-library-path' each call.
2390 (ispell-change-dictionary): Now only completes valid dictionaries.
2391 (ispell-region): Add support for MIME region skipping and Fcc
2392 message query for large attachments.
2393 (ispell-begin-skip-region-regexp): Add documentation string.
2394 Add message support and clean up code for generic and html regions.
2395 (ispell-begin-skip-region): Function is now requires alist argument.
2396 (ispell-begin-tex-skip-regexp): Add comments and support
2397 improved html and message regions.
2398 (ispell-skip-region-list): New function for MIME and region skipping.
2399 (ispell-tex-arg-end): Add documentation string.
2400 (ispell-ignore-fcc): New function to query saving Fcc message.
2401 (ispell-skip-region): Calculate alist for key match dynamically,
2402 html skipping pushed to alists.
2403 (ispell-get-line): Add support for multi-line comment regions.
2404 (ispell): Check that variables to continue spelling are bound.
2405 (ispell-message-text-end): PostScript and uuencoded regions now
2406 supported as MIME regions, rather than as end-of-message region.
2407 (ispell-mime-multipartp): New function supporting MIME.
2408 (ispell-mime-skip-part): New function supporting MIME.
2409 (ispell-message): Add MIME support.
2410 (ispell-buffer-local-parsing): Variable `ispell-skip-html' now local.
2411 (ispell-buffer-local-dict): Fix bug for detecting and reloading
2414 2003-05-22 Stephen J. Turnbull <stephen@xemacs.org>
2416 * subr.el (split-string): Implement specification that splitting on
2417 explicit separators retains null fields. Add new argument
2418 OMIT-NULLS. Special-case (split-string "a string").
2420 2003-05-22 Stefan Monnier <monnier@cs.yale.edu>
2422 * international/mule-cmds.el (select-safe-coding-system):
2423 Try default-buffer-file-coding-system too for automatic selection.
2425 2003-05-21 Stefan Monnier <monnier@cs.yale.edu>
2427 * simple.el (ctl-x-map): Remove the C-x U binding added recently.
2429 2003-05-21 Dave Love <fx@gnu.org>
2431 * descr-text.el (unicodedata-file): New.
2432 (unicode-data): New (adapted from Unicode branch).
2433 (describe-char): Use it. Print char's Unicode code point differently.
2434 Avoid elements with null cadr when formatting list. Clarify error
2435 message when used in Help buffer.
2436 (button): Require when compiling.
2437 (describe-char-after): Alias for obsolete command.
2439 2003-05-21 Nick Roberts <nick@nick.uklinux.net>
2441 * gdb-ui.el (gud-gdba-command-name): Use -noasync option for Gdb
2443 (gdb-display-end): Only make buffer writable temporarily.
2444 Move "View" submenu up one level.
2446 2003-05-21 Nick Roberts <nick@nick.uklinux.net>
2448 * gdb-ui.el (gdb-view-source, gdb-selected-view): New variables.
2449 (gdba): Inhibit DOS window in MS Windows.
2450 (gdb-inferior-io-mode): Use hexl instead of cat.
2451 (gdb-info-breakpoints-custom, gdb-assembler-custom, gdb-reset):
2452 Use text in margin for MS Windows as there is no image support.
2453 (gdb-restore-windows, gdb-setup-windows): Restore/start with
2454 assembler view if appropriate.
2455 (gdb-assembler-custom): Assembler code should display at point.
2456 Parse address correctly.
2457 (gdb-frame-handler): Accommodate selection of display of source
2459 Add radio buttons to select display of source or assembler.
2461 2003-05-20 Lars Hansen <larsh@math.ku.dk>
2463 * desktop.el (desktop-save): Ensure parameter is expanded and ends
2464 with a slash before assigning it to desktop-dirname and
2466 (desktop-read): Put buffers existing prior to evaluating the
2467 desktop (and not reused) at the end of the buffer list.
2468 (desktop-create-buffer): Don't update desktop-first-buffer for old
2471 2003-05-19 John Paul Wallington <jpw@gnu.org>
2473 * xml.el (xml-name-regexp): Wrap in `eval-and-compile'.
2475 2003-05-19 Dave Love <fx@gnu.org>
2477 * xml.el: Doc fixes.
2478 (xml-parse-file, xml-parse-region): Autoload.
2479 (xml-syntax-table, xml-name-regexp): New.
2480 (xml-parse-region): Narrow to region, set syntax-table and
2481 case-fold-search. Reject fewer valid documents.
2482 (xml-parse-tag): Remove arg END. Callers changed.
2483 (xml-parse-tag): Use skip-syntax-forward. Use PARSE-DTD arg
2484 properly. Don't use buffer-substring-no-properties. Don't bind
2485 case-fold-search. Fix syntax for empty elements. Hoist consing
2486 of end-of-tag regexp out of loop.
2487 (xml-parse-attlist): Remove arg. Callers changed.
2488 Use skip-syntax-forward, replace-regexp-in-string, forward-sexp.
2489 Allow non-ASCII names.
2490 (xml-skip-dtd): Remove arg. Callers changed. Change matching code.
2491 (xml-parse-dtd): Grok external DTDs. Allow non-ASCII.
2492 Don't use match-string-no-properties.
2493 (xml-ucs-to-string): Delete.
2494 (xml-substitute-entity): New.
2495 (xml-substitute-special): Use it.
2496 (xml-debug-print-internal): Simplify insertions.
2497 (xml-parse-file): Avoid finding file in xml-mode.
2499 2003-05-19 Kai Großjohann <kai.grossjohann@gmx.net>
2501 * simple.el (kill-whole-line): New function.
2502 * bindings.el (global-map): Bind it.
2504 2003-05-19 Richard M. Stallman <rms@gnu.org>
2506 * net/goto-addr.el (goto-address-fontify-maximum-size):
2507 Value t means no limit.
2508 (goto-address-fontify): Implement that feature.
2510 * emacs-lisp/find-func.el (find-function-on-key):
2511 Move the call to find-function-other-window outside
2514 * find-file.el (ff-special-constructs): Delete the Ada entry.
2516 * faces.el (x-create-frame-with-faces):
2517 Don't call face-set-after-frame-default.
2518 (face-set-after-frame-default): Copy attrs of global `default'
2519 face to FRAME's `default' face.
2521 2003-05-19 Joe Kelsey <joek@flyingcroc.net>
2523 * skeleton.el (skeleton-internal-1): Allow - as alternate
2524 interesting point marker and revert @ to just setting
2527 2003-05-18 Stefan Monnier <monnier@cs.yale.edu>
2529 * emacs-lisp/lisp.el (beginning-of-defun-raw): Use shy-group.
2531 * progmodes/executable.el (executable-set-magic): Remove unused
2532 vars `point' and `buffer-modified-p'.
2534 * mail/sendmail.el (mail-mode): Don't bother setting paragraph-start.
2536 * mail/mail-extr.el: Use explicit coding tag.
2538 * international/mule.el (sgml-xml-auto-coding-function)
2539 (sgml-html-meta-auto-coding-function): Don't assume point-min == 1.
2541 * language/china-util.el (hz-set-msb-table): Build when compiling.
2542 (big5-to-cns): Pre-build the alist when compiling.
2544 * language/ind-util.el (indian-regexp-of-hashtbl-keys): Don't bother
2545 sorting the argument to regexp-opt.
2546 (indian--puthash-char): Use dolist rather than mapc.
2548 2003-05-18 Nick Roberts <nick@nick.uklinux.net>
2550 * gdb-ui.el (put-arrow): Rename gdb-put-arrow and simplify.
2551 (put-string): Rename gdb-put-string and simplify.
2552 (remove-strings): Rename gdb-remove-strings.
2553 (remove-arrow): Rename gdb-remove-arrow.
2554 (gdb-assembler-custom): Try to get line marker (arrow) to display
2555 in window (revisited).
2556 Use with-current-buffer where possible.
2558 2003-05-18 John Paul Wallington <jpw@gnu.org>
2560 * ibuffer.el (ibuffer-display-summary): New customizable variable.
2561 (ibuffer-update-title-and-summary): Respect it.
2563 2003-05-18 Michael Kifer <kifer@cs.stonybrook.edu>
2565 * ediff-mult.el (ediff-default-filtering-regexp): New variable.
2567 * ediff-util.el (ediff-maybe-save-and-delete-merge): Change in a
2570 * ediff.el (ediff-directories,ediff-directory-revisions)
2571 (ediff-directories3,ediff-merge-directories)
2572 (ediff-merge-directories-with-ancestor,ediff-merge-directory-revisions)
2573 (ediff-merge-directory-revisions-with-ancestor): Make use of the new
2574 ediff-default-filtering-regexp variable.
2576 2003-05-18 Richard M. Stallman <rms@gnu.org>
2578 * which-func.el (which-func-current, which-func-format):
2579 Preload the risky-local-variable properties for them.
2581 * subr.el (prepare-change-group): Reinstate BUFFER arg; make it work.
2583 2003-05-18 Nick Roberts <nick@nick.uklinux.net>
2585 * gud.el (gdb): Define gud-nexti.
2586 (gud-menu-map): Add gud-nexti to map.
2587 (gud-tool-bar-map): Add gud-nexti and gud-stepi to toolbar.
2589 * toolbar/gud-stepi.xpm, toolbar/gud-stepi.pbm,
2590 toolbar/gud-nexti.xpm, toolbar/gud-nexti.pbm: New icons for debugger.
2592 2003-05-17 John Paul Wallington <jpw@gnu.org>
2594 * international/ja-dic-cnv.el (skkdic-okuri-nasi-entries)
2595 (skkdic-okuri-nasi-entries-count): Use defvar for non-constants.
2597 * register.el (number-to-register): Use `string-to-number' instead
2600 2003-05-17 Stefan Monnier <monnier@cs.yale.edu>
2602 * log-edit.el: Don't require vc.el anymore.
2603 (log-edit-mode-map): Fold vc-log-mode-map into it.
2604 (vc-log-mode-map): Redefine as an alias.
2605 (vc-previous-comment): Don't widen.
2606 (vc-comment-to-change-log): Don't redundantly set paragraph-separate.
2607 Don't require `add-log' since it's already required at toplevel.
2609 * vc.el (vc-log-mode-map, vc-maximum-comment-ring-size)
2610 (vc-comment-ring, vc-comment-ring-index, vc-last-comment-match):
2611 Move vars to log-edit.el.
2612 (vc-new-comment-index, vc-previous-comment, vc-next-comment)
2613 (vc-comment-search-reverse, vc-comment-search-forward)
2614 (vc-comment-to-change-log): Move funs to log-edit.el.
2615 (vc-clear-context): Don't empty the comment-ring.
2616 (vc-finish-logentry): Don't add the comment onto the comment-ring.
2618 * log-edit.el (vc-log-mode-map, vc-maximum-comment-ring-size)
2619 (vc-comment-ring, vc-comment-ring-index, vc-last-comment-match):
2620 Move vars from vc.el.
2621 (vc-new-comment-index, vc-previous-comment, vc-next-comment)
2622 (vc-comment-search-reverse, vc-comment-search-forward)
2623 (vc-comment-to-change-log): Move funs from vc.el.
2624 (log-edit-show-files): Remove unused var `editbuf'.
2626 * progmodes/tcl.el (tcl-indent-exp): Remove dead code.
2627 (tcl-tab-always-indent): Default to tab-always-indent.
2629 * progmodes/perl-mode.el (perl-end-of-function): Remove unused var.
2630 (perl-tab-always-indent): Default to tab-always-indent.
2632 * which-func.el (which-func-format): Make it risky-local-variable.
2633 (which-func-table): New var.
2634 (which-func-current): Make it into a constant modeline spec.
2635 (which-func-previous): Remove.
2636 (which-func-update): Only update the selected window.
2637 (which-func-update-1): Use the new var to allow the current
2638 function to be different for a buffer shown in two windows.
2640 * subr.el (with-selected-window): New macro.
2641 (dolist, dotimes, with-current-buffer): Use backquotes.
2642 (when, unless, save-match-data, combine-after-change-calls)
2643 (with-output-to-string, with-temp-buffer): Add `declare' info.
2644 (listify-key-sequence): Don't allocate unnecessarily.
2645 (read-quoted-char): Allow up to base 36.
2646 (prepare-change-group): Remove unimplemented argument.
2647 (macro-declaration-function): Avoid `dolist' and `cadr'.
2649 * wid-edit.el (pp-to-string, Info-goto-node): Don't autoload.
2650 (widget-choose, widget-map-buttons): Use with-current-buffer.
2651 (widget-field-add-space): Change to nil (and to defconst).
2652 (widget-info-link-action): Use `info'.
2654 2003-05-17 Nick Roberts <nick@nick.uklinux.net>
2656 * gdb-ui.el (gdb-info-frames-custom): Reverse contrast of face for
2658 (gdb-annotation-rules): Stop using frames-invalid and
2659 breakpoints-invalid annotations. Update after post-prompt instead.
2660 (gdb-post-prompt): Update frames and breakpoints here.
2661 (gdb-invalidate-frame-and-assembler)
2662 (gdb-invalidate-breakpoints-and-assembler): Remove.
2663 (gdb-current-address): Remove.
2664 (gdb-previous-address): New variable.
2665 (gud-until): Extend to work in Assembler buffer.
2666 (gdb-append-to-inferior-io): Select IO buffer when there is output.
2667 (gdb-assembler-custom): Try to get line marker (arrow) to display
2668 in window. Correct parsing for OS dependent output syntax of Gdb
2670 (gdb-frame-handler): Correct parsing for OS dependent output
2671 syntax of Gdb command, frame.
2672 (gdb-invalidate-assembler): Update assembler buffer correctly when
2673 frame changes (revisited).
2675 2003-05-16 Stefan Monnier <monnier@cs.yale.edu>
2677 * imenu.el (imenu--split-menu): Remove unused var `count'.
2678 Don't copy the sequence since we're already modifying it elsewhere.
2679 (imenu--create-keymap): Rename from imenu--create-keymap-1.
2680 Add optional `cmd' argument. Remove unused var `counter'.
2681 (imenu-update-menubar): Use the new arg to keep the old behavior.
2682 (imenu--mouse-menu): Don't use the arg, to recover the lost behavior.
2684 2003-05-16 Lute Kamstra <lute@gnu.org>
2686 * hl-line.el (hl-line-highlight, global-hl-line-highlight):
2687 Use `line-beginning-position' to determine the beginning of the next
2690 2003-05-16 Kenichi Handa <handa@m17n.org>
2692 * international/mule-cmds.el (mule-menu-keymap): Enable the menu
2693 set-various-coding-system when
2694 default-enable-multibyte-characters is non-nil.
2696 2003-05-15 Stefan Monnier <monnier@cs.yale.edu>
2698 * emacs-lisp/autoload.el (make-autoload): Add arglist for
2699 define-derived-mode.
2701 2003-05-15 Lute Kamstra <lute@gnu.org>
2703 * hl-line.el: Rewrite the local minor mode so that it can be
2704 sticky as well and made sticky the default. Reimplement the
2705 global minor mode. Update the commentary section to document
2707 (hl-line-sticky-flag): New user option.
2708 (hl-line-overlay): Make it buffer-local and give it a docstring.
2709 (global-hl-line-overlay): New variable.
2710 (hl-line-mode): Rewrite to use `hl-line-sticky-flag'.
2711 (hl-line-highlight): Rewrite to use `hl-line-sticky-flag'.
2712 (hl-line-unhighlight): Update docstring.
2713 (global-hl-line-mode): Implement directly so that is does not
2714 depend on `hl-line-mode' any more.
2715 (global-hl-line-highlight, global-hl-line-unhighlight): New functions.
2717 2003-05-15 Kenichi Handa <handa@m17n.org>
2719 * international/code-pages.el (cyrillic-koi8-t): Alias of koi8-t.
2721 2003-05-15 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2723 * ps-print.el: Avoid unnecessary calls to funs in header and footer
2724 variables. Reported by Greg Hill <ghill@synergymicro.com>.
2725 (ps-print-version): New version number (6.6.1).
2726 (ps-begin-page): Code fix.
2727 (ps-generate-string-list, ps-header-footer-string): New funs.
2728 (ps-lh-cache, ps-rh-cache, ps-lf-cache, ps-rf-cache): New vars.
2730 * ps-mule.el (ps-mule-header-string-charsets):
2731 Call ps-header-footer-string to avoid unnecessary calls to functions
2732 in header and footer variables.
2734 2003-05-15 John Paul Wallington <jpw@gnu.org>
2736 * mail/rmail.el (rmail-ignored-headers): Ignore Face: header.
2738 2003-05-14 Stefan Monnier <monnier@cs.yale.edu>
2740 * textmodes/tex-mode.el (tex-compile-history, tex-input-files-re)
2741 (tex-use-reftex, tex-compile-commands): New vars.
2742 (tex-summarize-command, tex-uptodate-p, tex-executable-exists-p)
2743 (tex-command-executable, tex-command-active-p, tex-compile-default)
2745 (tex-compile): New command.
2746 (tex-mode-map): Bind it to C-c C-c.
2748 * vc-svn.el (completion-ignored-extensions): Add .svn.
2749 (vc-svn-delete-file): New function.
2751 * pcvs.el (cvs-append-to-ignore): New arg `old-dir'.
2752 (cvs-mode-ignore): Use it.
2754 * pcvs-parse.el (cvs-parse-table): Remove unused var `type'.
2755 Look up `.cvsignore' to see what to do with `new-dir' messages.
2756 (cvs-parse-merge): Remove unused var `handled'.
2758 2003-05-14 Christoph Wedler <christoph.wedler@sap.com>
2760 * format.el (format-annotate-function): Copy coding system into the
2763 2003-05-14 John Paul Wallington <jpw@gnu.org>
2765 * ls-lisp.el (insert-directory): Discard --dired switch when
2766 `ls-lisp-use-insert-directory-program' is nil.
2768 2003-05-13 Stefan Monnier <monnier@cs.yale.edu>
2770 * textmodes/ispell.el (xemacsp): Remove. Use (featurep 'xemacs).
2771 (ispell-graphic-p): Inline and then remove.
2772 (toplevel): Get rid of unnecessary loop.
2773 (ispell-parse-output, ispell-complete-word): Replace (substring s 0 1)
2774 with a call to aref.
2775 (ispell-get-line): Remove unused arg `reg-end'.
2776 (ispell-region): Update corresponding call.
2778 * progmodes/cpp.el (cpp-make-overlay-hidden): Don't make intangible.
2780 * progmodes/compile.el (compile-internal): Use with-current-buffer.
2781 (compilation-set-window-height): Use save-selected-window.
2783 * progmodes/ada-xref.el (ada-xref-update-project-menu): Use easymenu.
2784 (ada-goto-declaration-other-frame): Remove unused arg other-frame.
2785 (ada-gdb-application): Remove unused vars comint-exec, in-post-mode,
2786 and gud-gdb-massage-args.
2788 * progmodes/cc-langs.el (c-lang-defvar-init-form-tail):
2789 This is actually not a constant.
2791 * progmodes/autoconf.el (autoconf-current-defun-function):
2792 Copy the syntax table before modifying it.
2794 * progmodes/ada-mode.el (ada-in-comment-p, ada-in-string-p)
2795 (ada-in-string-or-comment-p): Use line-beginning-position.
2797 * textmodes/reftex.el (reftex-select-with-char): Don't assume
2798 that point-min == 1.
2800 * textmodes/reftex-toc.el (reftex-toc-visit-location):
2801 Don't switch the current window if the new buffer is in another.
2802 (reftex-toc): Don't assume that point-min == 1.
2804 * textmodes/reftex-parse.el (reftex-what-macro): Don't assume
2805 that point-min == 1.
2807 * textmodes/reftex-cite.el (reftex-extract-bib-entries)
2808 (reftex-extract-bib-entries-from-thebibliography): New arg re-list.
2809 (reftex-extract-bib-entries): Use ^ rather than \(\`\|[\n\r]\).
2810 Use member-ignore-case. Don't add unnecessary trailing \n.
2811 (reftex-offer-bib-menu): Consolidate duplicated code from
2812 reftex-extract-bib-entries and
2813 reftex-extract-bib-entries-from-thebibliography.
2815 * simple.el (back-to-indentation): Simplify.
2816 (undo-equiv-table, undo-in-region, undo-no-redo): New vars.
2817 (undo): Use them to implement the no-redo form of undo.
2818 (undo-only): New fun.
2819 (shell-command): Don't require `shell' since shell-mode is autoloaded.
2820 (insert-buffer): Simplify.
2821 (completion-setup-function): Use minibufferp.
2822 (event-apply-alt-modifier, event-apply-super-modifier)
2823 (event-apply-hyper-modifier, event-apply-shift-modifier)
2824 (event-apply-control-modifier, event-apply-meta-modifier):
2825 Fix docstring to show the proper key sequence.
2827 * uniquify.el (uniquify-after-kill-buffer-p): Set default to t.
2828 (uniquify-ignore-buffers-re): Revert to nil now that uniquify
2829 is more careful about preserving buffer names.
2831 * menu-bar.el (menu-bar-options-menu) <cua-mode>:
2832 Use menu-bar-make-mm-toggle.
2834 * files.el (file-relative-name): Remove dead code.
2835 Make sure \n in a filename does not confuse us.
2837 * help-fns.el (describe-variable): Mention permanent local status.
2839 * comint.el (comint-carriage-motion, comint-output-filter):
2840 Bind inhibit-read-only rather than buffer-read-only.
2841 (comint-truncate-buffer): Bind inhibit-read-only.
2843 * pcvs.el (cvs-make-cvs-buffer): Add the tag info.
2844 (cvs-mode): Prevent pilot-error.
2846 * vc-mcvs.el (vc-mcvs-registered, vc-mcvs-root): Check the output
2847 of file-name-directory for nil.
2849 2003-05-13 Simon Josefsson <jas@extundo.com>
2851 * mail/smtpmail.el (smtpmail-open-stream): Don't hard code
2854 2003-05-13 Rajesh Vaidheeswarran <rv@gnu.org>
2856 * whitespace.el (whitespace-global-mode): Add :link entry
2857 to the commentary section in whitespace.el
2859 2003-05-13 Nick Roberts <nick@nick.uklinux.net>
2861 * gdb-ui.el (gdb-invalidate-assembler): Update assembler buffer
2862 correctly when frame changes.
2863 (gdb-info-threads-custom, gdb-threads-buffer-name)
2864 (gdb-display-threads-buffer, gdb-frame-threads-buffer)
2865 (gdb-threads-mode-map, gdb-threads-mode, gdb-get-thread-number)
2866 (gdb-threads-select, gdb-threads-mouse-select): New functions and
2867 variable for a buffer that provides a selectable threads list.
2869 2003-05-12 Stefan Monnier <monnier@cs.yale.edu>
2871 * pcvs-parse.el (cvs-parse-table): `New directory' messages include
2874 * pcvs.el (cvs-minor-current-files): Move before first use.
2875 (defun-cvs-mode): Remove unused var `restdoc'.
2876 (cvs-edit-log-revision, ediff-after-quit-hook-internal): Declare.
2877 (cvs-mode-diff-backup): Remove unused var `filter'.
2878 (cvs-mode-run): Remove unused var `cvs-buf'.
2879 (cvs-mode-do): Remove unused arg `parse'.
2880 (cvs-retrieve-revision): Make sure HEAD gets the head of the branch.
2882 * textmodes/sgml-mode.el (sgml-namespace-re): New const.
2883 (sgml-namespace-face): New face.
2884 (sgml-font-lock-keywords-1): Use them.
2886 2003-05-11 Kevin Ryde <user42@zip.com.au>
2888 * info-look.el (info-lookup-make-completions): Allow colons in index
2889 entries by looking for ": " to terminate, as per latest info.el.
2891 2003-05-11 Stefan Monnier <monnier@cs.yale.edu>
2893 * vc-mcvs.el (vc-mcvs-command): Filter output of `status'.
2894 (vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff):
2895 Change dir so that the filtered output of `mcvs makes sense.
2896 (vc-mcvs-mode-line-string): Handle the case where CVS is desync'd.
2897 (vc-mcvs-diff-tree): Don't bother with the local-diff code.
2898 (vc-mcvs-create-snapshot): Use `branch' and `switch'.
2900 2003-05-10 Stefan Monnier <monnier@cs.yale.edu>
2902 * newcomment.el (comment-indent): Try to align to adjacent comments.
2903 (comment-with-narrowing): Actually use the arguments.
2904 (comment-valid-prefix-p): Rename from comment-valid-prefix
2905 and fix to actually use its argument.
2907 * tex-mode.el (tex-mode-syntax-table): ~ is not whitespace.
2908 (tex-guess-mode): Add `renewcommand'.
2909 (tex-mode): Move the autoload to get the correct docstring and usage.
2911 * uniquify.el (uniquify-rationalize-file-buffer-names):
2912 Refresh the dirname in the case that rename-buffer was skipped.
2913 (uniquify-buffer-file-name): Return a dirname with no trailing slash.
2915 * mail/smtpmail.el (smtpmail-send-queued-mail): Use point-at-bol
2916 instead of forward-line.
2918 2003-05-10 Oliver Scholz <alkibiades@gmx.de>
2920 * startup.el (fancy-splash-default-action): Fix docstring.
2922 2003-05-09 Sam Steingold <sds@gnu.org>
2924 * pcvs.el (cvs-mode-find-file): Fixed the last patch's logic.
2926 2003-05-09 Stefan Monnier <monnier@cs.yale.edu>
2928 * newcomment.el (comment-indent): Be more careful when inserting
2929 the space, and insert it before setting `begpos'.
2931 * vc.el: New backend functions `delete-file' and `repository-hostname'.
2932 (vc-stay-local): New var. Mostly taken from vc-cvs-stay-local.
2933 (vc-stay-local-p): New fun. Adapted from vc-cvs-stay-local-p.
2934 (vc-diff-switches-list): Revert to the Emacs-21.[123] semantics.
2936 (vc-delete-file): New command.
2937 (vc-default-rename-file): New function.
2938 (vc-rename-file): Use it.
2939 Be careful to disallow renaming if the file is locked or out-of-date.
2940 (vc-ensure-vc-buffer, vc-next-action-on-file, vc-insert-headers)
2941 (vc-cancel-version, vc-annotate): Use buffer-file-name variable.
2943 * vc-mcvs.el (vc-mcvs-stay-local): Remove unused var.
2944 (vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff)
2945 (vc-mcvs-diff-tree, vc-mcvs-annotate-command)
2946 (vc-mcvs-make-version-backups-p): Use vc-stay-local-p.
2947 (vc-mcvs-checkin): Disallow commits to a numbered rev.
2948 (vc-mcvs-repository-hostname): New function.
2949 (vc-mcvs-stay-local-p): Remove.
2951 * vc-cvs.el (vc-cvs-mode-line-string): Use vc-default-mode-line-string.
2952 (vc-cvs-delete-file, vc-cvs-rename-file): New functions.
2954 * vc-svn.el (vc-svn-rename-file): New fun.
2955 (vc-svn-diff): Correctly check svn's return status.
2956 (vc-svn-state, vc-svn-dir-state, vc-svn-print-log, vc-svn-diff)
2957 (vc-svn-diff-tree): Use vc-stay-local-p.
2958 (vc-svn-register-switches, vc-svn-diff-switches, vc-svn-header)
2959 (vc-svn-use-edit): Fix the :version property.
2960 (vc-svn-stay-local): Remove unused var.
2961 (vc-svn-mode-line-string): Remove, use the default instead.
2962 (vc-svn-repository-hostname): New fun taken from vc-svn-stay-local-p.
2963 (vc-svn-stay-local-p): Remove.
2965 * uniquify.el: Use the original buffer-name as `base' in place of the
2966 nondirectory part of the file name.
2967 (uniquify-rationalize-file-buffer-names):
2968 Split the `newbuffile' arg into `base' and `dirname'.
2969 Reuse old uniquify-items to avoid recomputing their base&dirname.
2970 (uniquify-buffer-file-name): Only return the directory part.
2971 (uniquify-rerationalize-w/o-cb): Don't bother resetting proposed names.
2972 (rename-buffer): Use the `newname' arg as base.
2973 (create-file-buffer): Split the file name into base and dirname.
2975 2003-05-09 Jesper Harder <harder@ifa.au.dk>
2977 * mail/smtpmail.el (smtpmail-send-queued-mail): Don't use kill-line.
2979 2003-05-08 Stefan Monnier <monnier@cs.yale.edu>
2981 * uniquify.el (uniquify-after-kill-buffer-p): Fix misleading docstring.
2982 (uniquify-make-item): Make `proposed' optional.
2983 (uniquify-rationalize-file-buffer-names): Don't compute the
2984 initial proposed name.
2985 (uniquify-buffer-file-name): Remove dead code.
2986 (uniquify-strip-common-suffix): New var.
2987 (uniquify-rationalize): Always recompute initial proposed name.
2988 Strip common suffix if requested.
2990 * vc-rcs.el (vc-rcs-register, vc-rcs-checkin, vc-rcs-checkout)
2991 (vc-rcs-find-version, vc-rcs-diff): Use vc-switches.
2993 * vc-sccs.el (vc-sccs-register, vc-sccs-find-version)
2994 (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-diff): Use vc-switches.
2995 (vc-sccs-register): Remove unused var `|'.
2997 * vc-mcvs.el (vc-mcvs-read): Don't require `file' to exist.
2998 (vc-mcvs-diff): Don't return 0 for newly added empty files.
2999 (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-find-version)
3000 (vc-mcvs-checkout, vc-mcvs-diff, vc-mcvs-diff-tree): Use vc-switches.
3002 * vc-cvs.el (vc-cvs-dired-state-info): Use `added' for added files and
3003 don't use `concat' unnecessarily. Remove impossible cases.
3004 (vc-cvs-diff): Don't return 0 for newly added empty files.
3005 (vc-cvs-stay-local-p): Simplify.
3006 (vc-cvs-register, vc-cvs-checkin, vc-cvs-find-version, vc-cvs-diff)
3007 (vc-cvs-diff-tree, vc-cvs-checkout): Use vc-switches.
3009 * vc-svn.el (vc-svn-dired-state-info): Use `added' for added files and
3010 don't use `concat' unnecessarily. Remove impossible cases.
3011 (vc-svn-register, vc-svn-find-version, vc-svn-diff-tree):
3013 (vc-svn-checkin): Use vc-switches. Fix up regexp.
3014 (vc-svn-diff): Use vc-switches.
3015 Don't return 0 for newly added empty files.
3016 Don't use svn's return status.
3017 (vc-svn-parse-status): Recognize copied files as well.
3018 Use the last-modified revision for workfile-version.
3020 * vc-hooks.el (vc-default-workfile-unchanged-p): Pass nil
3021 rather than (vc-workfile-version file) to diff.
3023 * vc.el (with-vc-properties, with-vc-file, edit-vc-file):
3024 Add `declare's for debugging and indentation.
3025 (vc-do-command): Use `remq'.
3026 (vc-buffer-context): Remove unused var `curbuf'.
3027 (vc-next-action-dired): Remove unused var `dired-dir'.
3028 (vc-switches): New fun.
3029 (vc-diff-switches-list): Use it.
3030 (vc-dired-hook): Remove unused var `cvs-dir'.
3031 (vc-dired-purge): Remove unused var `subdir'.
3032 (vc-cancel-version): Remove unused var `config'.
3033 (vc-rename-master): Use dolist iso mapcar.
3034 (vc-rename-file): Remove redundant tests.
3035 Clear the properties of the old file name.
3036 (vc-annotate): Pass the complete filename to `annotate-command'.
3037 (vc-annotate-lines): Remove unused var `overlay'.
3039 2003-05-08 Glenn Morris <gmorris@ast.cam.ac.uk>
3041 * calendar/diary-lib.el (diary-pull-attrs): Make `ret-attr',
3043 (list-diary-entries): Make `temp' local.
3044 (fancy-diary-display): Make `marks', `temp-face', `faceinfo' local.
3045 (diary-mail-entries): There is no fancy-diary-buffer if there are
3046 no diary entries. Use call-interactively.
3047 (mark-diary-entries): Make `temp' local.
3048 (mark-sexp-diary-entries): Make `marks' local, remove `temp'.
3049 (list-sexp-diary-entries): Make `temp' local.
3050 (add-to-diary-list): Make `prefix' local.
3052 2003-05-08 Dave Love <fx@gnu.org>
3054 * international/utf-7.el: New file.
3056 2003-05-07 Francis J. Wright <F.J.Wright@qmul.ac.uk>
3058 * files.el (insert-file-contents-literally): Allow it to be called
3059 within a magic file name handler.
3061 2003-05-07 Stefan Monnier <monnier@cs.yale.edu>
3063 * uniquify.el (uniquify-rationalize-file-buffer-names):
3064 Don't uniquify if there is no filename.
3066 * vc-hooks.el: Use buffer-file-name variable rather than function.
3067 (vc-handled-backends): Add SVN and MCVS.
3068 (vc-mode-line): Call vc-backend only once.
3069 (find-file-hook, find-file-not-found-hook): Use the new
3070 names rather than ...-hooks.
3072 * uniquify.el (uniquify-item, uniquify-get-proposed-name)
3073 (uniquify-rationalize-conflicting-sublist): Rename filename -> dirname.
3074 (uniquify-rationalize): New fun. Set uniquify-managed to the fix-list.
3075 (uniquify-rationalize-file-buffer-names): Use it and make the args
3076 non-optional (i.e. don't support "re-rationalize all" any more).
3077 (uniquify-rerationalize-w/o-cb): New fun.
3078 (uniquify-maybe-rerationalize-w/o-cb): Use it to rerationalize
3079 immediately and only the relevant buffers.
3080 Merged from uniquify-delay-rationalize-file-buffer-names and
3081 uniquify-delayed-rationalize-file-buffer-names.
3082 (kill-buffer-hook, rename-buffer): Use it.
3084 2003-05-06 Jesper Harder <harder@ifa.au.dk>
3086 * progmodes/compile.el (compile-internal): Don't quote nil and t in
3089 * emacs-lisp/eldoc.el (eldoc-echo-area-use-multiline-p): Likewise.
3091 * emacs-lisp/cl-macs.el (case, typecase): Likewise.
3093 * allout.el (allout-auto-activation)
3094 (allout-use-mode-specific-leader, allout-reindent-bodies)
3095 (allout-unprotected): Likewise.
3097 * progmodes/tcl.el (tcl-explain-indentation): Likewise.
3099 * progmodes/idlwave.el (idlwave-complete-special): Likewise.
3101 * progmodes/cpp.el (cpp-edit-list): Likewise.
3103 * progmodes/cperl-mode.el (cperl-lineup): Likewise.
3105 * progmodes/cc-align.el (c-lineup-argcont, c-lineup-gcc-asm-reg):
3108 * play/mpuz.el (mpuz-silent): Likewise.
3110 * play/decipher.el (decipher-ignore-spaces): Likewise.
3112 * net/rlogin.el (rlogin-process-connection-type): Likewise.
3114 * mail/rmail.el (rmail-primary-inbox-list): Likewise.
3116 * mail/mailalias.el (mail-directory-function)
3117 (mail-directory-requery, mail-directory): Likewise.
3119 * emacs-lisp/lucid.el (buffer-syntactic-context): Likewise.
3121 * emacs-lisp/lmenu.el (popup-dialog-box): Likewise.
3123 * type-break.el (type-break-good-rest-interval)
3124 (type-break-query-mode, type-break-query-function)
3125 (type-break-mode-line-message-mode): Likewise.
3127 * skeleton.el (skeleton-autowrap, skeleton-untabify)
3128 (skeleton-newline-indent-rigidly, skeleton-insert)
3129 (skeleton-read): Likewise.
3131 * simple.el (newline): Likewise.
3133 * ps-print.el (ps-zebra-stripe-follow): Likewise.
3135 * mwheel.el (mouse-wheel-scroll-amount): Likewise.
3137 * env.el (setenv): Likewise.
3139 2003-05-06 Stefan Monnier <monnier@cs.yale.edu>
3141 * imenu.el (imenu--generic-function): Use font-lock-defaults
3142 case setting if imenu-case-fold-search is not locally set.
3144 * uniquify.el (uniquify-managed): New var.
3145 (uniquify-rationalize-file-buffer-names, rename-buffer): Use it and set
3146 it to prevent accidental renaming of unrelated buffers.
3147 (uniquify-delay-rationalize-file-buffer-names): Use it to avoid
3148 the cost of uniquify when killing unrelated buffers.
3150 * newcomment.el (comment-set-column, comment-kill)
3151 (comment-or-uncomment-region): Call comment-normalize-vars
3152 since these functions are autoloaded.
3154 * help-fns.el (help-add-fundoc-usage): Use t for "no arglist".
3155 * emacs-lisp/advice.el (ad-make-advised-docstring): Adjust usage.
3157 2003-05-06 Lute Kamstra <lute@gnu.org>
3159 * hl-line.el: Removed an erroneous comment.
3160 (hl-line-mode): Use buffer local hooks.
3161 (global-hl-line-mode): Turn local modes on unconditionally.
3162 (hl-line-highlight): Comment fix.
3164 2003-05-06 Richard M. Stallman <rms@gnu.org>
3166 * newcomment.el (comment-search-forward): Delete autoload cookie.
3168 2003-05-06 Kenichi Handa <handa@m17n.org>
3170 * arc-mode.el (archive-set-buffer-as-visiting-file):
3171 Use after-insert-file-set-coding, not
3172 after-insert-file-set-buffer-file-coding-system.
3174 2003-05-05 Stefan Monnier <monnier@cs.yale.edu>
3176 * uniquify.el (uniquify-buffer-name-style)
3177 (uniquify-after-kill-buffer-p, uniquify-ask-about-buffer-names-p)
3178 (uniquify-ignore-buffers-re, uniquify-min-dir-content)
3179 (uniquify-separator, uniquify-trailing-separator-p): Remove redundant
3180 group specification.
3181 (uniquify-file-name-nondirectory): Delete.
3182 (uniquify-rationalize-file-buffer-names): Simplify.
3183 Use directory names as `filename' component of uniquify-item.
3184 (uniquify-get-proposed-name): Adjust now that `filename' does not
3187 * vc-svn.el: New file.
3189 2003-05-05 John Paul Wallington <jpw@gnu.org>
3191 * emacs-lisp/autoload.el (batch-update-autoloads):
3192 Call `update-directory-autoloads'.
3194 2003-05-04 Dan Nicolaescu <dann@ics.uci.edu>
3196 * dired.el (dired-find-file): Bind find-file-run-dired around
3197 the call to find-file.
3199 2003-05-04 Stefan Monnier <monnier@cs.yale.edu>
3201 * uniquify.el: Move provide to end of file.
3202 (uniquify-ref-base, uniquify-ref-filename, uniquify-ref-buffer)
3203 (uniquify-ref-proposed, uniquify-set-proposed): Remove.
3204 (uniquify-item): New struct. Update users of uniquify-ref-*.
3205 (uniquify-get-proposed-name, uniquify-rationalize-a-list):
3206 Make `depth' optional.
3207 (uniquify-non-file-buffer-names): Remove.
3208 (uniquify-rationalize-file-buffer-names): Don't set it up.
3209 Use uniquify-make-item and don't pass the now-optional depth.
3210 (uniquify-rationalize-conflicting-sublist): Check the new buffer
3211 name directly instead of relying on uniquify-non-file-buffer-names.
3212 (uniquify-rename-buffer): Use with-current-buffer and pass
3213 the `unique' arg to rename-buffer.
3215 * vc-mcvs.el (vc-mcvs-mode-line-string): Fix thinko.
3216 (vc-mcvs-rename-file): New function.
3218 2003-05-04 Emmanuel Briot <briot@gnat.com>
3220 * progmodes/ada-mode.el
3221 * progmodes/ada-prj.el
3222 * progmodes/ada-stmt.el
3223 * progmodes/ada-xref.el (ada-xemacs): Variable removed, since it's
3224 better to use (featurep 'xemacs).
3225 Removed warnings generated with Emacs 21.3.x (mostly by adding
3226 needed `require' statements).
3228 2003-05-04 Nick Roberts <nick@nick.uklinux.net>
3230 * toolbar/gud-break.pbm, toolbar/gud-cont.pbm, toolbar/gud-display.pbm,
3231 toolbar/gud-down.pbm, toolbar/gud-finish.pbm, toolbar/gud-until.pbm,
3232 toolbar/gud-next.pbm, toolbar/gud-print.pbm, toolbar/gud-remove.pbm,
3233 toolbar/gud-run.pbm, toolbar/gud-step.pbm, toolbar/gud-up.pbm:
3234 Correct size for cleaner bitmaps.
3236 2003-05-03 Stefan Monnier <monnier@cs.yale.edu>
3238 * emacs-lisp/cl-extra.el (cl-map-keymap): Redefine as alias.
3239 (cl-map-keymap-recursively): Use map-keymap.
3240 (cl-macroexpand-all): Don't quote functions.
3242 * emacs-lisp/lucid.el (cl-map-keymap): Be careful with aliases.
3244 * emacs-lisp/advice.el (ad-get-enabled-advices, ad-special-forms)
3245 (ad-arglist, ad-subr-arglist): Use push and match-string.
3246 (ad-make-advised-docstring): Extract & reinsert the usage info.
3248 * help-fns.el (help-add-fundoc-usage): Allow arglist to be a string.
3250 2003-05-03 Nick Roberts <nick@nick.uklinux.net>
3252 * gdb-ui.el (breakpoint-enabled-icon, breakpoint-disabled-icon):
3253 Include bitmap data for monochrome display.
3254 (breakpoint-enabled-pbm-data, breakpoint-disabled-pbm-data):
3257 2003-05-03 Richard M. Stallman <rms@gnu.org>
3259 * emacs-lisp/autoload.el (update-directory-autoloads): Renamed from
3260 update-autoloads-from-directories.
3262 * progmodes/cperl-mode.el (cperl-nonoverridable-face): Doc fix.
3264 * mail/sendmail.el (mail-dont-send, mail-bury): Make ARG optional.
3266 * view.el (Helper-return-blurb): Add defvar. (Also rearrange defuns.)
3268 * uniquify.el (uniquify-ignore-buffers-re): Change default
3269 to match some Gnus buffers.
3271 * newcomment.el (comment-search-forward): Add autoload cookie.
3273 * isearch.el (isearch-complete): Update isearch-message.
3275 * filesets.el (filesets-data): Add another defvar.
3276 (filesets-verbosity): Doc fix.
3278 2003-05-02 Tak Ota <Takaaki.Ota@am.sony.com>
3280 * recentf.el (recentf-cleanup): Swap tests for exclusion and
3283 2003-05-01 Eduardo Muñoz <emufer@terra.es> (tiny change)
3285 * ls-lisp.el (ls-lisp-format-file-size): New function to implement
3287 (ls-lisp-format): Use it.
3289 2003-05-01 Kenichi Handa <handa@m17n.org>
3291 * international/utf-8.el (utf-translate-cjk-mode): Update the
3292 second extra slot of the translation table
3293 utf-translation-table-for-encode.
3294 (mule-utf-8): Set the property translation-table-for-encode.
3296 2003-04-30 Stefan Monnier <monnier@cs.yale.edu>
3298 * pcvs.el (cvs-vc-command-advice): Don't parse "cvs update -p" output.
3299 (cvs-mode-find-file): Don't complain if bound to a non-mouse event.
3301 * textmodes/fill.el (text-property-default-nonsticky): Add fill-space.
3302 (fill-delete-newlines): Respect the new property.
3303 (fill-newline): Use the property instead of leaving "spurious" spaces.
3305 * emacs-lisp/easymenu.el (easy-menu-get-map): Correctly handle
3306 non-submap bindings.
3308 2003-04-30 Emmanuel Briot <briot@gnat.com>
3310 * progmodes/ada-mode.el (ada-search-directories): Take into account
3311 ADA_INCLUDE_PATH for better compatibility with GNAT.
3312 (ada-contextual-menu): Menu defined through `easy-menu-define'
3313 instead. Various adjustments to the indentation engine (handling of
3314 subtypes, begin blocks, etc.).
3315 (ada-create-menu): Major rewrite of the handling of menus to use
3316 `easy-menu-define' for cleaner code and better compatibility with
3317 XEmacs. All menus that were previously in ada-xref.el and
3318 ada-prj.el are now defined in this package, which makes it easier to
3320 (ada-narrow-to-defun): Add support for `narrow-to-region'.
3321 No longer explicitly load ada-xref.el and ada-prj.el. Use autoload
3324 * progmodes/ada-xref.el (ada-gnatls-args): New variable.
3325 Add support for specifying arguments to gnatls.
3326 (ada-initialize-runtime-library): Properly parse "." in the output
3328 (ada-add-keymap): Remove since this is now done in ada-mode.el itself.
3329 (ada-add-ada-menu): Likewise.
3330 (ada-set-default-project-file): New parameter KEEP-EXISTING.
3331 (ada-prj-find-prj-file): New parameter FILE.
3332 (ada-parse-prj-file): Take into account the ADA_INCLUDE_PATH and
3333 ADA_OBJECTS_PATH environment variables. Minor reorganization of
3335 (ada-get-all-references): Add support for GNAT 3.16 cross-references.
3337 * progmodes/ada-prj.el (ada-prj-add-keymap): Move to ada-mode.el
3338 directly. Add dependency on ada-xref.el to avoid compilation
3340 (ada-prj-get-prj-dir): Remove, no longer needed.
3342 * progmodes/ada-stmt.el (ada-stmt-add-to-ada-menu):
3343 Move to ada-mode.el.
3344 (ada-template-map): Merge with the keymap handling in ada-mode.el.
3346 2003-04-29 Stefan Monnier <monnier@cs.yale.edu>
3348 * isearch.el (isearch-complete1): Don't allocate unnecessarily.
3349 (isearch-complete-edit): Adjust to Emacs-21's new minibuffer handling.
3350 (isearch-update-ring): Use push.
3352 2003-04-29 Oliver Scholz <epameinondas@gmx.de>
3354 * play/gamegrid.el: Added a comment explaining the various ways to
3355 save a game score on POSIX systems.
3356 (gamegrid-add-score-with-update-game-score): Use `cond' instead of
3357 `if'. Provide for the case that FILE is an absolute filename.
3358 Create the directory "$HOME/.emacs.d/games", if necessary.
3360 2003-04-29 John Paul Wallington <jpw@gnu.org>
3362 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Use `string-match'.
3364 2003-04-28 Dave Love <fx@gnu.org>
3366 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Avoid cl warnings
3369 2003-04-28 Kenichi Handa <handa@m17n.org>
3371 * international/mule-cmds.el (reset-language-environment):
3372 Raise the priority of mule-utf-8, mule-utf-16-be-with-signature and
3373 mule-utf-16-le-with-signature.
3375 * international/mule-conf.el: Set coding-category-utf-16-be to
3376 mule-utf-16-be-with-signature, coding-category-utf-16-le to
3377 mule-utf-16-le-with-signature. Raise the priority of
3378 coding-category-utf-8, coding-category-utf-16-be, and
3379 coding-category-utf-16-le
3381 2003-04-27 Luc Teirlinck <teirllm@mail.auburn.edu>
3383 * scroll-bar.el (scroll-bar-drag-1): Replace beginning-of-line with
3386 2003-04-27 David Ponce <david@dponce.com>
3390 Major rewrite. The code is reordered, cleaner and faster.
3391 Introduce new options to automatically cleanup the recent list,
3392 and to handle filename transformation (for example to use true
3395 (recentf-version): New constant.
3396 (recentf-save-file-header): Move.
3397 (recentf-data-cache): New variable.
3398 (recentf-update-menu-p, recentf-initialized-p): Remove.
3399 (recentf-menu-customization-changed): Move. Doc fix.
3400 (recentf-max-saved-items): Doc fix.
3401 (recentf-save-file): Doc fix. No more expand filename here.
3402 (recentf-exclude, recentf-menu-action)
3403 (recentf-menu-filter): Doc fix.
3404 (recentf-menu-append-commands-flag): Rename from...
3405 (recentf-menu-append-commands-p): Make obsolete.
3406 (recentf-keep-non-readable-files-flag): Rename from...
3407 (recentf-keep-non-readable-files-p): Make obsolete.
3408 (recentf-auto-cleanup, recentf-filename-handler): New options.
3409 (recentf-string-equal, recentf-string-lessp)
3410 (recentf-string-member): New functions.
3411 (recentf-trunc-list): Move.
3412 (recentf-dump-variable): Move. Better code and output format.
3413 (recentf-auto-cleanup-timer): New variable.
3414 (recentf-auto-cleanup): New function.
3415 (recentf-push, recentf-expand-file-name): New functions.
3416 (recentf-add-file): In-line. Use above functions.
3417 (recentf-remove-if-non-readable): In-line. Expand file name.
3418 (recentf-find-file): Use `recentf-remove-if-non-readable'.
3419 (recentf-directory-compare): Move. Use `recentf-string-equal'
3420 and `recentf-string-lessp' to do comparisons.
3421 (recentf-menu-items-for-commands)
3422 (recentf-menu-filter-commands): Move.
3423 (recentf-elements, recentf-make-menu-element)
3424 (recentf-menu-element-item, recentf-menu-element-value)
3425 (recentf-set-menu-element-item, recentf-set-menu-element-value)
3426 (recentf-sub-menu-element-p, recentf-make-default-menu-element)
3427 (recentf-menu-elements): In-line. Some doc fix.
3428 (recentf-apply-menu-filter): Better code.
3429 (recentf-make-menu-items): Doc fix.
3430 Use `recentf-menu-append-commands-flag'.
3431 (recentf-make-menu-item): In-lined. Better code.
3432 (recentf-clear-data): New function.
3433 (recentf-sort-ascending, recentf-sort-descending)
3434 (recentf-sort-basenames-ascending)
3435 (recentf-sort-basenames-descending)
3436 (recentf-sort-directories-ascending)
3437 (recentf-sort-directories-descending)
3438 (recentf-show-basenames-ascending)
3439 (recentf-show-basenames-descending): In-line. Better code. Doc fix.
3440 (recentf-show-basenames)
3441 (recentf-relative-filter): Better code. Doc fix.
3442 (recentf-arrange-by-rule-subfilter): Doc fix. Improve :set code.
3443 (recentf-match-rule-p): Use filename instead of file-path.
3444 (recentf-arrange-by-rule, recentf-build-mode-rules)
3445 (recentf-arrange-by-mode, recentf-build-dir-rules)
3446 (recentf-file-name-nondir)
3447 (recentf-filter-changer-alist): Some doc fix and code cleanup.
3448 (recentf-filter-changer-goto-next): Doc fix.
3449 Call `recentf-clear-data'.
3450 (recentf-filter-changer-get-current)
3451 (recentf-filter-changer-get-next): In-line. Doc fix and better code.
3452 (recentf-filter-changer): Doc fix and better code.
3453 (recentf-cancel-dialog): Doc fix.
3454 (recentf-dialog-mode-map): Initialize in defvar.
3455 (recentf-dialog-mode): Doc fix.
3456 (recentf-track-opened-file): Rename from...
3457 (recentf-add-file-hook): Remove.
3458 (recentf-track-closed-file): Rename from...
3459 (recentf-remove-file-hook): Remove.
3460 (recentf-update-menu-hook): Remove. Replace by...
3461 (recentf-update-menu): New. Better catch unnecessary updates.
3462 Display a message on error.
3463 (recentf-used-hooks): New constant.
3464 (recentf-enabled-p): New function.
3465 (recentf-edit-selected-items)
3466 (recentf-open-files-action)
3467 (recentf-open-files-item-shift): Doc fix.
3468 (recentf-edit-list-action)
3469 (recentf-open-files-item): Doc fix. Code cleanup.
3470 (recentf-edit-list, recentf-open-files)
3471 (recentf-open-more-files): Likewise. Remove autoload cookie.
3472 (recentf-save-list, recentf-cleanup): Likewise. Move.
3473 (recentf-load-list): New command.
3474 (recentf-mode): Better code. Does nothing if enabling the already
3477 2003-04-27 Alan Mackenzie <acm@muc.de>
3479 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Don't count a "//("
3480 which appears inside a character set.
3481 (regexp-opt-not-groupie*-re): New constant.
3483 2003-04-26 John Paul Wallington <jpw@gnu.org>
3485 * ibuffer.el (ibuffer-name-map, ibuffer-mode-name-map)
3486 (ibuffer-mode-filter-group-map): Initialize in `defvar'.
3487 (ibuffer-do-view-1): Use `make-frame' instead of `new-frame'.
3489 2003-04-25 Jan Nieuwenhuizen <janneke@gnu.org>
3491 * info.el (Info-unescape-quotes, Info-split-parameter-string)
3492 (Info-display-images-node): New functions for displaying images.
3493 (Info-select-node): Call Info-display-images-node.
3495 2003-04-25 David Ponce <david.ponce@wanadoo.fr>
3497 * files.el (file-relative-name): Recognize "c:/foo" as absolute
3500 2003-04-24 Sam Steingold <sds@gnu.org>
3502 * calendar/diary-lib.el (fancy-diary-display-mode): Bind "q" to
3503 `quit-window' in the fancy diary buffer.
3505 * emacs-lisp/cl-indent.el: `symbol-macrolet' is similar to `let',
3506 not `multiple-value-bind'.
3508 2003-04-24 Lars Hansen <larsh@math.ku.dk>
3510 * subr.el (assq-delete-all): Ignore non-cons elements.
3512 2003-04-24 John Paul Wallington <jpw@gnu.org>
3514 * help-mode.el (help-make-xrefs): Remove extra paren.
3516 2003-04-23 Stefan Monnier <monnier@cs.yale.edu>
3518 * newcomment.el (comment-normalize-vars): Prompt the user for
3519 the comment-start to use rather than signaling an error. Fix regexp.
3520 (uncomment-region): Don't leave half-removed comment markers.
3522 2003-04-23 Richard M. Stallman <rms@gnu.org>
3524 * mail/sendmail.el (mail-send-and-exit): Make arg optional.
3526 * files.el (view-read-only): Doc fix.
3528 * simple.el (back-to-indentation): Call backward-prefix-chars.
3530 * help-mode.el (help-make-xrefs): Clean up the loop that scans
3531 over a keymap inserted by \\{...}; it now stops at end of buffer.
3533 * filesets.el: Don't call filesets-init.
3535 * emacs-lisp/bytecomp.el (byte-compile-defun): Generate and
3536 compile a defalias form, unless byte-compile-compatibility.
3538 * progmodes/scheme.el (scheme-mode-syntax-table):
3539 Use prefix syntax for ', `, comma, @ and #.
3541 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3542 Give @ prefix syntax.
3544 2003-04-23 Andre Spiegel <spiegel@gnu.org>
3546 * vc-cvs.el (vc-cvs-stay-local): Keep the old default.
3547 Simplify doc string.
3549 2003-04-23 Wolfgang Scherer <wolfgang.scherer@gmx.de>
3551 * vc-cvs.el (vc-cvs-stay-local): Allow lists of host regexps.
3552 (vc-cvs-stay-local-p): Handle them.
3553 (vc-cvs-parse-root): New function, used by the above.
3555 2003-04-22 Stefan Monnier <monnier@cs.yale.edu>
3557 * vc-mcvs.el (vc-mcvs-root): Cache the result.
3558 (vc-mcvs-registered): Simplify. Use file-relative-name.
3559 (vc-mcvs-register): Simplify. Don't burp if MCVS/TYPES doesn't exist.
3560 (vc-mcvs-command): Filter F-NN names in the output for diff and log.
3562 2003-04-21 Stefan Monnier <monnier@cs.yale.edu>
3564 * info.el (Info-default-dirs): New fun extracted from Info-initialize.
3565 (info-initialize): Use it. Obey the "final :" convention for INFOPATH.
3567 * textmodes/fill.el (fill-region-as-paragraph):
3568 Fix "last line goes to fill-column+1" problem.
3570 * emacs-lisp/bytecomp.el (byte-compile-defvar): Improve message.
3572 2003-04-20 Richard M. Stallman <rms@gnu.org>
3574 * simple.el (kill-line): Doc fix.
3576 2003-04-20 Sam Steingold <sds@gnu.org>
3578 * pcvs.el (cvs-examine): Respect `find-file-visit-truename'.
3580 2003-04-20 Glenn Morris <gmorris@ast.cam.ac.uk>
3582 * which-func.el (which-func-modes): Add f90-mode.
3583 (which-function): Handle imenu submenus.
3585 * progmodes/fortran.el (fortran-abbrev-start): Make XEmacs compatible.
3587 * progmodes/f90.el (f90-font-lock-keywords-2): Use override for
3588 font-lock-variable-name-face in declarations.
3589 Highlight continuation characters.
3590 (f90-indent-new-line): Remove direct call to f90-indent-line-no,
3592 (f90-abbrev-start): Fix XEmacs compatibility.
3594 2003-04-19 Stefan Monnier <monnier@cs.yale.edu>
3596 * vc-mcvs.el: New file.
3598 * vc-cvs.el (vc-cvs-dir-state): Use vc-cvs-command.
3599 (vc-cvs-could-register, vc-cvs-make-version-backups-p): Use defalias.
3600 (vc-cvs-merge-news): Simplify.
3601 (vc-cvs-diff): Remove unused var `options'.
3602 (vc-cvs-parse-entry): Use the same algorithm as cvs does.
3604 2003-04-19 Richard M. Stallman <rms@gnu.org>
3606 * desktop.el (desktop-buffer-mh): Don't require mh-e;
3607 it causes trouble in compilation.
3609 * add-log.el (add-log-current-defun-function): Add autoload cookie.
3611 * newcomment.el (comment-use-syntax): Add autoload cookie.
3613 * emacs-lisp/bytecomp.el (byte-compile-log-file)
3614 (byte-recompile-directory): Don't use byte-goto-log-buffer.
3615 Instead, set default-directory and then call compilation-mode.
3616 (byte-compile-from-buffer): Force byte-compile-last-position
3617 to end of buffer before issuing final warnings.
3619 2003-04-18 Stefan Monnier <monnier@cs.yale.edu>
3621 * emulation/cua-base.el (cua-mode): Use define-minor-mode.
3622 (cua-global-mark-face): Fix face format.
3624 * emacs-lisp/easy-mmode.el (define-minor-mode): Only echo a message
3625 if the body didn't do so already.
3626 (easy-mmode-define-keymap): Remove unused var `suppress'.
3628 * view.el (view-read-only): Move to files.el.
3629 * files.el (view-read-only): Move from view.el.
3631 2003-04-17 Stefan Monnier <monnier@cs.yale.edu>
3633 * files.el (view-read-only): Don't declare a second time.
3634 (find-file-read-only, find-file-read-only-other-window)
3635 (find-file-read-only-other-frame): Check that file does exist.
3636 (large-file-warning-threshold): New custom.
3637 (find-file-noselect): Use it.
3638 (report-errors): New macro.
3639 (normal-mode): Use it.
3640 (toggle-read-only): Really toggle, even if view-mode is on.
3641 (parse-colon-path): Remove unused `cd-prefix' var.
3642 (make-backup-file-name-1): Remove unused `failed' var.
3643 (basic-save-buffer): Remove unused `tempsetmodes' var.
3644 (basic-save-buffer-2): Remove unused `temp' var.
3645 (insert-directory): Remove unused `available' var.
3647 2003-04-17 John Paul Wallington <jpw@gnu.org>
3649 * hexl.el (hexl-find-file): Bind `default-major-mode' to
3652 2003-04-16 Stefan Monnier <monnier@cs.yale.edu>
3654 * reveal.el (reveal-post-command): Use overlay-get for overlays.
3656 2003-04-16 Kenichi Handa <handa@m17n.org>
3658 * international/mule-cmds.el (describe-language-environment):
3659 At first, require all necessary features.
3661 2003-04-16 Dave Love <fx@gnu.org>
3663 * progmodes/xscheme.el: Moved from lisp directory.
3665 2003-04-16 Glenn Morris <gmorris@ast.cam.ac.uk>
3667 * progmodes/f90.el (f90-indent-to, f90-indent-line-no)
3668 (f90-no-block-limit, f90-end-of-block, f90-beginning-of-block)
3669 (f90-comment-region, f90-indent-line, f90-indent-region)
3670 (f90-find-breakpoint, f90-block-match): Trivial simplifications.
3671 (f90-looking-at-do, f90-looking-at-select-case)
3672 (f90-looking-at-if-then, f90-looking-at-where-or-forall):
3673 Drop XEmacs 19 support and simplify.
3674 (f90-indent-new-line): No need for case-fold-search. Simplify.
3675 (f90-fill-region): Make marker nil when done. Simplify.
3677 * progmodes/fortran.el (fortran-column-ruler): Minor doc change.
3679 2003-04-16 Richard M. Stallman <rms@gnu.org>
3681 * man.el (Man-follow-manual-reference): Don't require match
3682 when calling completing-read.
3684 2003-04-15 Glenn Morris <gmorris@ast.cam.ac.uk>
3686 * progmodes/fortran.el: Whitespace changes, some re-ordering of
3687 code, trivial commentary change.
3688 (fortran, fortran-indent, fortran-comment)
3689 (fortran-tab-mode-default, fortran-continuation-indent)
3690 (fortran-comment-indent-style, fortran-blink-matching-if)
3691 (fortran-continuation-string, fortran-electric-line-number)
3692 (fortran-break-before-delimiters, fortran-mode-hook)
3693 (fortran-end-prog-re, fortran-imenu-generic-expression):
3695 (fortran-tab-mode-minor-mode-string): New variable.
3696 (fortran-tab-mode-string): Now customization is meaningful.
3697 (fortran-column-ruler-fixed, fortran-column-ruler-tab)
3698 (fortran-analyze-depth): Use defcustom.
3699 (fortran-if-start-re, fortran-end-prog-re1, fortran-fill)
3700 (fortran-break-line, fortran-prepare-abbrev-list-buffer)
3701 (fortran-auto-fill): Add doc string.
3702 (fortran-type-types): New constant (was local to let binding).
3703 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
3704 (fortran-font-lock-syntactic-keywords): Initialize in defvar.
3705 (fortran-font-lock-keywords-3): Initialize in defvar. Use 1+ now
3706 depth of fortran-type-types has changed. Remove extra and.
3707 (fortran-mode-menu): Minor re-organization. Use lookup-key.
3708 (fortran-mode): Doc changes. Some re-organization.
3709 Use fortran-tab-mode-minor-mode-string.
3710 (fortran-comment-indent): Add doc string. Move save-excursion.
3712 (fortran-indent-comment, fortran-fill-statement):
3713 Change interactive spec. Use unless.
3714 (fortran-comment-region): Doc change. Reverse logic of arg
3716 (fortran-abbrev-start, fortran-split-line)
3717 (fortran-electric-line-number, fortran-indent-subprogram)
3718 (fortran-strip-sequence-nos): Change interactive spec.
3719 (fortran-remove-continuation): Add doc string. Use when.
3720 (fortran-numerical-continuation-char): Doc change. Use 1+.
3721 (fortran-previous-statement, fortran-next-statement)
3722 (fortran-beginning-do, fortran-calculate-indent)
3723 (fortran-end-do, fortran-end-if, fortran-beginning-if):
3725 (fortran-blink-match, fortran-check-for-matching-do): Use when.
3726 (fortran-indent-line): Change interactive spec. Remove un-needed
3728 (fortran-indent-to-column): Doc change. Use when, unless.
3729 (fortran-find-comment-start-skip): No longer interactive.
3730 (fortran-analyze-file-format): Minor doc change.
3731 Remove un-needed setq.
3732 (minor-mode-alist): Use add-to-list.
3733 (fortran-fill-paragraph): Change interactive spec, doc string.
3735 * progmodes/f90.el: Whitespace changes, trivial commentary changes.
3736 (f90, f90-indent, f90-program-indent, f90-continuation-indent)
3737 (f90-indented-comment-re, f90-imenu-generic-expression)
3738 (f90-mark-subprogram, f90-join-lines): Minor doc changes.
3739 (f90-menu): Shift definition to initialization of f90-mode-map.
3740 Add customization section.
3741 (f90-mode): Minor doc change. Do not call easy-menu-add.
3742 Set `beginning-of-defun-function' and `end-of-defun-function' to
3743 appropriate F90 functions.
3744 (f90-indent-line, f90-indent-line, f90-indent-subprogram)
3745 (f90-break-line, f90-do-auto-fill, f90-insert-end)
3746 (f90-upcase-keywords, f90-capitalize-keywords)
3747 (f90-downcase-keywords): Change interactive spec.
3749 2003-04-14 Stefan Monnier <monnier@cs.yale.edu>
3751 * font-lock.el (font-lock-multiline, font-lock-fontified)
3752 (font-lock-set-defaults): Move back from font-core.el and merge
3753 it back with font-lock-set-defaults-1.
3754 (font-lock-mode-internal): New function (basically the body of
3755 the old font-lock-mode minor mode).
3757 * font-core.el (font-lock-maximum-size, font-lock-verbose): Remove.
3758 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
3759 Move back to font-lock.el.
3760 (font-lock-default-function): Use font-lock-mode-internal.
3762 * files.el (auto-mode-alist): Add entries for *.ins and *.dtx.
3763 (recover-file): Abbreviate file name in messages.
3765 * textmodes/tex-mode.el (latex-mode-map): Bind latex-split-block.
3766 (tex-font-lock-keywords-2): Comment out unused var `type'.
3767 (tex-guess-mode): New name for old `tex-mode'.
3768 (tex-mode): Make it a derived mode of text-mode.
3769 (plain-tex-mode, latex-mode): Change parent from text-mode to tex-mode.
3770 (tex-common-initialization): Don't setup syntax-table any more.
3771 (tex-validate-buffer): Remove unused var `oend'.
3772 Use with-current-buffer and line-beginning-position.
3773 (tex-recenter-output-buffer): Remove unused var `old-buffer'.
3774 (latex-indent): Return `noindent' if no indentation can happen.
3775 (doctex-font-lock-^^A, doctex-font-lock-syntactic-face-function)
3776 (doctex-font-lock-syntactic-keywords, doctex-font-lock-keywords)
3777 (doctex-mode): New funs for DocTeX mode, derived from LaTeX mode.
3779 * font-lock.el (font-lock-preprocessor-face): New var and face.
3781 2003-04-14 Andrew Choi <akochoi@shaw.ca>
3783 * term/mac-win.el: Unconditionally set process-connection-type to nil.
3785 2003-04-14 Richard M. Stallman <rms@gnu.org>
3787 * derived.el (define-derived-mode): Make generated code work in
3788 Emacs versions that do not have run-mode-hooks.
3790 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
3791 At end of buffer, run the global binding of the same key.
3793 * international/mule.el (after-insert-file-set-coding):
3794 Properly treat INSERTED as number of characters, for both
3795 for both the argument and the value.
3797 * desktop.el (desktop-base-file-name):
3798 Renamed from desktop-basefilename. Add defvaralias.
3800 2003-04-14 John Paul Wallington <jpw@gnu.org>
3802 * international/fontset.el (create-fontset-from-ascii-font): Doc fix.
3803 (x-must-resolve-font-name): Fix error message typo.
3805 2003-04-13 Glenn Morris <gmorris@ast.cam.ac.uk>
3807 * progmodes/fortran.el (fortran-previous-statement): Check for
3808 fortran-continuation-string.
3809 (fortran-calculate-indent): Do not add extra whitespace to
3810 strings broken over lines.
3811 (fortran-fill): Handle long strings that must be broken.
3813 2003-04-13 Michael Albinus <Michael.Albinus@alcatel.de> (tiny change)
3815 * net/ange-ftp.el (ange-ftp-expand-symlink): If result of
3816 expansion is a symlink, expand again.
3817 (ange-ftp-file-symlink-p): Return target of symlink literally.
3819 2003-04-13 Masatake YAMATO <jet@gyve.org>
3821 * bindings.el (toplevel): Don't change the face
3822 of major-mode on the mode line. Setting the face on
3823 the mode line code is installed by my mistake in
3826 2003-04-12 Stefan Monnier <monnier@cs.yale.edu>
3828 * add-log.el (change-log-version-number-search): Fix old bug.
3829 (add-change-log-entry): Avoid inserting the same funname again.
3830 (add-log-indent-text): New var.
3831 (add-log-indent): New fun.
3832 (change-log-mode): Use it.
3834 * net/browse-url.el: Don't autoload all these defcustoms.
3835 (browse-url-default-macosx-browser): New fun.
3836 (browse-url-browser-function): Use it for system-type = darwin.
3837 (browse-url-usr1-signal): Remove.
3838 (browse-url-mosaic): Use SIGUSR1 directly instead.
3839 (browse-url-gnome-moz-program): New var.
3840 (browse-url-gnome-moz, browse-url-default-browser): Use it.
3842 * emacs-lisp/bytecomp.el: Use push, with-current-buffer, dolist, ...
3843 (byte-compile-const-variables): New var.
3844 (byte-compile-close-variables): Reset it.
3845 (byte-compile-file-form-defvar, byte-compile-defvar): Update it.
3846 (byte-compile-const-symbol-p): Now arg `value' to check defconsts.
3847 (byte-compile-variable-ref): Use it and improve warning message.
3848 (byte-compile-check-lambda-list): Use byte-compile-const-symbol-p.
3849 (byte-compile-lapcode): Remove unused vars.
3850 (byte-compile-eval): Fix thinko in handling of old-autoloads.
3851 (byte-recompile-directory): Use the expanded form for directory.
3852 (byte-compile-track-mouse): Use modern backquote syntax.
3853 (byte-compile-defvar): Detect and properly handle (defconst a).
3854 (byte-compile-defalias-warn): Remove unused arg `alias'.
3855 (byte-compile-defalias): Update call.
3857 2003-04-13 Masatake YAMATO <jet@gyve.org>
3859 * help.el (describe-minor-mode): New function implementation.
3860 Accept both minor mode string and minor mode indicator.
3861 (describe-minor-mode-completion-table-for-indicator)
3862 (describe-minor-mode-completion-table-for-symbol): New functions.
3863 minor-mode-list is used here.
3864 (describe-minor-mode-from-symbol):
3865 Renamed from (old) describe-minor-mode.
3866 Use describe-minor-mode-completion-table-for-symbol.
3867 Don't use eval. Just use symbol-name.
3868 (describe-minor-mode-from-indicator): Document is updated.
3869 Use `format-mode-line'.
3870 Use describe-minor-mode-from-symbol instead of describe-minor-mode.
3871 Use describe-minor-mode-completion-table-for-indicator.
3872 (expand-minor-mode-indicator-object): Remove.
3873 (lookup-minor-mode-from-indicator): Remove the fist white
3874 space from both indicator and anindicator before comparing them.
3876 * bindings.el (mode-line-major-mode-keymap)
3877 (mode-line-minor-mode-keymap): Define keys for the maps
3880 2003-04-12 Stefan Monnier <monnier@cs.yale.edu>
3882 * server.el (server-socket-name): Use new safe location for socket.
3883 (server-ensure-safe-dir): New fun.
3884 (server-start): Use it and letf.
3885 (server-process-filter): Re-enable the -eval feature.
3887 2003-04-12 Glenn Morris <gmorris@ast.cam.ac.uk>
3889 * play/gomoku.el (gomoku-buffer-name): New constant.
3890 (gomoku-mode): Doc fix. Add call to kill-all-local-variables.
3891 (gomoku): Do not call gomoku-switch-to-window directly.
3892 (gomoku-prompt-for-other-game): Throw an error if no new game.
3893 (gomoku-switch-to-window): Use gomoku-buffer-name.
3895 * progmodes/f90.el (f90-abbrev-start): Only offer help if
3896 abbrev-mode is active.
3897 (f90-join-lines): Make it behave more like standard join-line.
3898 (f90-fill-region, f90-menu): Adapt for new f90-join-lines.
3900 * progmodes/fortran.el (fortran-abbrev-start): Only offer help if
3901 abbrev-mode is active.
3903 2003-04-12 John Paul Wallington <jpw@gnu.org>
3905 * help-fns.el (help-add-fundoc-usage): Pass an empty string to
3906 `format' if no newlines are necessary.
3908 2003-04-11 Stefan Monnier <monnier@cs.yale.edu>
3910 * bindings.el (global-map): Bind [select-window].
3912 2003-04-11 John Paul Wallington <jpw@gnu.org>
3914 * type-break.el (type-break-warning-countdown-string): Doc fix.
3916 2003-04-11 ARISAWA Akihiro <ari@mbf.sphere.ne.jp> (tiny change)
3918 * international/utf-8.el (utf-translate-cjk-mode): Fix incorrect
3919 place of parenthesis.
3921 2003-04-11 Masatake YAMATO <jet@gyve.org>
3923 * progmodes/etags.el (select-tags-table-mode-map):
3924 Don't create new keymap. Instead copy from button-buffer-map.
3925 Bind push-button to `t' instead of binding
3926 select-tags-table-select directly.
3927 (tags-select-tags-table): New button.
3928 (select-tags-table): Put a button for each selections.
3930 2003-04-11 Kenichi Handa <handa@m17n.org>
3932 * international/mule.el:
3933 Don't set after-insert-file-adjust-coding-function.
3934 (after-insert-file-set-coding):
3935 Renamed from after-insert-file-set-buffer-file-coding-system.
3937 2003-04-11 Kenichi Handa <handa@m17n.org>
3939 * international/quail.el (quail-guidance-str)
3940 (quail-guidance-frame): New variables.
3941 (quail-guidance-win): Delete this variable.
3942 (quail-setup-overlays): Make overlay not rear-advancing.
3943 (quail-kill-guidance-buf): Delete this function.
3944 (quail-activate): Add/remove quail-show-guidance to/from
3946 (quail-input-method): Don't setup quail-guidance-buf.
3947 Initialize quail-guidance-str to "".
3948 (quail-start-translation): Call quail-show-guidance at first.
3949 (quail-start-conversion): Likewise.
3950 (quail-terminate-translation): Don't erase quail-guidance-buf.
3951 (quail-update-translation): Stretch overlays if their starting and
3952 ending positions are same.
3953 (quail-update-current-translations): Check the width of the
3954 current window, not the width of quail-guidance-win.
3955 (quail-make-guidance-frame): Delete the arg BUF. Fix position
3956 calculation. Don't set the window buffer, just return the new frame.
3957 (quail-minibuffer-message): New function.
3958 (quail-show-guidance): Renamed from quail-show-guidance-buf.
3959 Use message and quail-minibuffer-message to display the guidance.
3960 (quail-hide-guidance): Renamed from quail-hide-guidance-buf.
3961 Only delete quail-guidance-frame.
3962 (quail-update-guidance): Just update quail-guidance-str, not
3964 (quail-get-translations): Renamed from quail-show-translations.
3965 Return a string instead of inserting it in quail-guidance-buf.
3967 2003-04-11 Kenichi Handa <handa@m17n.org>
3969 * international/mule-cmds.el (sort-coding-systems): Set lower
3970 priority to a utf-16 base coding system. Set higher priority to a
3971 coding system listed in coding-category-list.
3973 2003-04-10 Juanma Barranquero <lektu@terra.es>
3975 * frame.el (modify-all-frames-parameters): Deleted.
3977 2003-04-10 Sebastian Tennant <seb@albert.vcisp.net> (tiny change)
3979 * desktop.el (desktop-buffer-file): Restore major-mode if it is
3980 different from the normal mode.
3982 2003-04-10 Kenichi Handa <handa@m17n.org>
3984 * international/mule.el:
3985 Set after-insert-file-adjust-coding-function to
3986 after-insert-file-set-buffer-file-coding-system instead of adding
3987 it to after-insert-file-functions.
3989 * language/ind-util.el (indian-2-column-to-ucs-region): Fix for
3990 the case of replacing multibyte characters.
3992 2003-04-09 Richard M. Stallman <rms@gnu.org>
3994 * files.el (file-chase-links): Fix previous change.
3996 2003-04-09 Juanma Barranquero <lektu@terra.es>
3998 * frame.el (new-frame): Add obsolescence declaration.
4000 2003-04-09 Ehud Karni <ehud@unix.mvs.co.il>
4002 * frame.el (set-frame-font): Allow keeping frame size after
4004 (modify-all-frames-parameters): New function to change parameters
4005 in all existing and future frames.
4007 2003-04-09 Thien-Thi Nguyen <ttn@gnu.org>
4009 * man.el (Man-heading-regexp): Accept hyphen.
4011 2003-04-09 Kenichi Handa <handa@m17n.org>
4013 * international/fontset.el: Specify rescale ratio 1.3 for CDAC fonts.
4015 * international/mule-conf.el: Register ?\221 and ?\226 in
4016 latin-extra-code-table.
4018 2003-04-08 Richard M. Stallman <rms@gnu.org>
4020 * subr.el (minor-mode-list): New variable.
4021 (add-minor-mode): Add to it.
4023 * files.el (file-chase-links): New arg LIMIT.
4024 After that many iterations, just return what we've got.
4026 * map-ynp.el (map-y-or-n-p): When formatting chars in ACTION-ALIST,
4027 use single-key-description.
4029 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
4030 At end of buffer, just call `newline'.
4032 * mail/rmailsum.el (rmail-make-basic-summary-line): If there's
4033 no From field, still try to use the To field.
4035 2003-04-09 Kenichi Handa <handa@m17n.org>
4037 * international/mule-diag.el (print-coding-system-briefly):
4038 If DOC-STRING is `tightly', print the doc-string tightly.
4039 (list-coding-systems-1): Sort coding systems.
4040 Call print-coding-system-briefly with the arg DOC-STRING `tightly'.
4042 2003-04-08 Kai Großjohann <kai.grossjohann@gmx.net>
4044 * net/tramp.el: Version 2.0.33 released.
4045 Change coding cookie to `iso-2022-7bit' for XEmacs
4046 compatibility. (From Steve Youngs <youngs@xemacs.org>.)
4048 2003-04-08 Michael Albinus <Michael.Albinus@alcatel.de>
4050 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
4051 Do not disable file name handlers for `file-exists-p' and
4054 2003-04-08 Kenichi Handa <handa@m17n.org>
4056 * international/mule-conf.el: Register ?\225 in latin-extra-code-table.
4058 * international/utf-16.el (utf-16-le-decode-loop)
4059 (utf-16-be-decode-loop): New temporary variables.
4060 (ccl-decode-mule-utf-16-le): Use utf-16-le-decode-loop.
4061 (ccl-decode-mule-utf-16-be): Use utf-16-be-decode-loop.
4062 (ccl-decode-mule-utf-16-le-with-signature)
4063 (ccl-decode-mule-utf-16-be-with-signature)
4064 (ccl-decode-mule-utf-16): New CCL programs.
4065 (utf-16-le-encode-loop, utf-16-be-encode-loop): New temporary
4067 (ccl-encode-mule-utf-16-le): Use utf-16-le-encode-loop.
4068 (ccl-encode-mule-utf-16-be): Use utf-16-be-encode-loop.
4069 (ccl-encode-mule-utf-16-le-with-signature)
4070 (ccl-encode-mule-utf-16-be-with-signature): New CCL programs.
4071 (mule-utf-16-post-read-conversion): New function.
4072 (mule-utf-16-le-with-signature, mule-utf-16-be-with-signature)
4073 (mule-utf-16): New coding systems.
4074 (utf-16-le-with-signature, utf-16-be-with-signature)
4075 (utf-16): Aliases of the above coding systems.
4077 2003-04-08 Martin Stjernholm <bug-cc-mode@gnu.org>
4079 * progmodes/cc-langs.el (c-symbol-key): Use POSIX char classes
4080 to match symbols. This makes CC Mode cope with the full range
4081 of identifier characters in e.g. Java.
4083 2003-04-07 Francesco Potortì <pot@gnu.org>
4085 * xt-mouse.el (xterm-mouse-event-read): New function.
4086 (xterm-mouse-event): Use it to get xterm sequences above #x7f.
4087 Suggested by Aman Bhargava <emacs-bug@amanb.net>.
4089 2003-04-07 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
4091 * man.el (Man-getpage-in-background): Set GROFF_NO_SGR env var in
4092 all cases, whether or not start-process is fboundp.
4094 2003-04-06 Richard M. Stallman <rms@gnu.org>
4096 * calendar/cal-menu.el (cal-menu-update): Use easy-menu-create-menu
4097 rather than easy-menu-change.
4099 * dired.el (dired-view-file): Let viewer program run asynchronously.
4101 2003-04-06 Ben North <ben@redfrontdoor.org> (tiny change)
4103 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
4104 Correct the starting point for previous-single-property-change.
4106 2003-04-06 Lars Hansen <larsh@math.ku.dk>
4108 * desktop.el: Handle multiple desktop files in different dirs.
4110 Command line option --no-desktop introduced.
4111 (desktop-read): Record buffers in the desktop file in
4112 the same order as that in the buffer list.
4113 (desktop-save): Put buffers in the order given in desktop file,
4114 regardless of what handlers do.
4115 (desktop-file-version): New variable. Version number of desktop
4117 (desktop-create-buffer-form): Variable deleted.
4118 (desktop-save): New customizable variable.
4119 (desktop-kill): Use `desktop-save'.
4120 (desktop-file-name-format): New option: format in
4121 which desktop file names should be saved.
4122 (desktop-file-name): New function to convert a filename to the
4123 format specified in `desktop-file-name-format'.
4124 (desktop-create-buffer): Parameters renamed to descriptive
4125 systematic names. These parameters are visible to handlers.
4127 ver -> desktop-file-version
4128 mim -> desktop-buffer-minor-modes
4129 pt -> desktop-buffer-point
4130 mk -> desktop-buffer-mark
4131 ro -> desktop-buffer-read-only
4132 locals -> desktop-buffer-locals.
4133 (desktop-buffer-major-mode, desktop-buffer-file-name)
4134 (desktop-buffer-name): Delete unused customizable variables.
4135 (desktop-buffer-misc): Delete unused variable.
4136 (desktop-save, desktop-buffer-dired-misc-data):
4137 Use `desktop-file-name'.
4138 (desktop-path): New customizable variable. List of directories in
4139 which to lookup the desktop file. Replaces hardcoded list.
4140 (desktop-globals-to-clear): New variable replaces hardcoded list.
4141 (desktop-globals-to-save): Variable made customizable.
4142 (desktop-clear-preserve-buffers-regexp): New customizable variable.
4143 (desktop-after-read-hook): New hook run after a desktop is read.
4144 (desktop-no-desktop-file-hook): New hook when no desktop file found.
4145 (desktop-change-dir): New function.
4146 (desktop-save-in-load-dir): New function. Save desktop in
4147 directory from which it was loaded.
4148 (desktop-revert): New function. Revert to the last loaded desktop.
4150 2003-04-06 Masatake YAMATO <jet@gyve.org>
4152 * progmodes/etags.el (tag-find-file-of-tag): Renamed from
4153 find-file-of-tag to avoid name space pollution.
4154 (tag-find-file-of-tag-noselect): Likewise.
4155 (etags-list-tags, etags-tags-apropos):
4156 Use tag-find-file-of-tag instead of find-file-of-tag.
4158 2003-04-06 Masatake YAMATO <jet@gyve.org>
4160 * info.el (Info-goto-emacs-command-node): If command
4161 is given as a string, convert it to a symbol.
4163 2003-04-05 Kevin Ryde <user42@zip.com.au>
4165 * info-look.el (emacs-lisp-mode): Add prefix/suffix matching regexps.
4167 2003-04-05 Andre Spiegel <spiegel@gnu.org>
4169 * vc-cvs.el (vc-cvs-get-entries): New function that uses the
4170 right coding system for accessing CVS/Entries.
4171 (vc-cvs-registered, vc-cvs-dir-state-heuristic): Use it.
4173 2003-04-04 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4175 * subr.el (number-sequence): Adjust code.
4177 2003-04-04 Stefan Monnier <monnier@cs.yale.edu>
4179 * textmodes/refill.el (refill-fill-paragraph-at): Undo last fix.
4180 (refill-fill-paragraph-at): Don't skip prefix since markers work right.
4182 * textmodes/fill.el (fill-delete-newlines): Remove trailing whitespace.
4183 (fill-paragraph): Don't skip prefix now that markers work right.
4185 2003-04-04 John Paul Wallington <jpw@gnu.org>
4187 * ibuffer.el (ibuffer-insert-filter-group): `help-echo' text
4188 property dynamically respects `tooltip-mode'.
4189 (define-ibuffer-column name): Likewise.
4191 * ibuf-ext.el (ibuffer-format-filter-group-data): Don't append "\n".
4193 2003-04-04 Masatake YAMATO <jet@gyve.org>
4195 * progmodes/etags.el (find-file-of-tag-noselect, find-file-of-tag):
4196 New helper functions.
4197 (snarf-tag-function): Doc string is changed. Explained about new
4198 optional argument, `use-explicit'.
4199 (etags-snarf-tag): Add one optional argument `use-explicit'.
4200 (file-of-tag-function): Doc string is changed. Explained about new
4201 optional argument, `relative'.
4202 (file-of-tag): Doc string is changed. Explained about new optional
4203 argument, `relative'. Pass `relative' to `file-of-tag-function'.
4204 (etags-file-of-tag): Add new argument `relative`.
4205 (list-tags): Set `buffer-read-only' to t after making the major mode
4207 (etags-list-tags): Use `make-text-button' instead of
4208 `add-text-properties'. Used `snarf-tag-function',
4209 `goto-tag-location-function' and `find-file-of-tag' instead of
4210 `find-tag-other-window' (it's too simple).
4211 (find-tag-in-order): Use `find-file-of-tag-noselect' instead of
4213 (etags-tags-apropos): Use `find-file-of-tag-noselect' instead of
4214 `find-file'. Do not use `etags-goto-tag-location` directly; use
4215 `goto-tag-location-function' instead. Print relative file paths
4216 instead of complete ones in *Tags List* buffer, so lines in the
4217 buffer become shorter.
4218 (etags-tags-apropos-additional): Use `make-text-button' instead of
4219 `add-text-properties'.
4221 2003-04-04 Andreas Schwab <schwab@suse.de>
4223 * net/tramp.el (tramp-send-string): Handle empty string.
4225 2003-04-03 Richard M. Stallman <rms@gnu.org>
4227 * emacs-lisp/easymenu.el (easy-menu-define):
4228 Don't make a defvar for nil.
4229 (easy-menu-convert-item-1): Doc fix.
4230 (easy-menu-change): Call easy-menu-create-menu.
4232 * subr.el (read-quoted-char): Remember the input char
4233 before translation thru function-key-map, and use that for unreading.
4235 * shadowfile.el (shadow-parse-fullname):
4236 Rename from shadow-parse-fullpath.
4237 (shadow-parse-name): Rename from shadow-parse-path.
4238 (shadow-make-fullname): Rename from shadow-make-fullpath.
4239 (shadow-replace-name-component): Was shadow-replace-path-component.
4240 Callers of the above functions changed.
4241 (shadow-expand-cluster-in-file-name): Doc fix.
4242 (shadow-same-site, shadow-file-match): Doc fix.
4243 (shadow-define-literal-group): Doc fix.
4245 * kmacro.el (kmacro-end-and-call-macro): Doc fix.
4247 * hexl.el (hexl-find-file): Ignore user's value of default-major-mode.
4249 * files.el (hack-local-variables-prop-line): New arg MODE-ONLY.
4250 (hack-local-variables): When MODE-ONLY is set, pass it along to
4251 hack-local-variables-prop-line.
4253 * delsel.el (delete-active-region): Don't explicitly deactivate mark.
4255 2003-04-03 Masatake YAMATO <jet@gyve.org>
4257 * progmodes/etags.el: Require button.el.
4258 (etags-tags-apropos): Use `make-text-button' instead of
4259 `add-text-properties'. Use `snarf-tag-function' and
4260 `etags-goto-tag-location' instead of `find-tag-other-window' (it's
4263 * man.el (Man-xref-header-file): Fix previous change.
4265 2003-04-03 Kenichi Handa <handa@m17n.org>
4267 * subr.el (number-sequence): New function.
4269 2003-04-02 Ehud Karni <ehud@unix.mvs.co.il> (tiny change)
4271 * sort.el (sort-reorder-buffer): Fix saving of markers at the end
4272 of the sorted region.
4274 2003-04-02 Masatake YAMATO <jet@gyve.org>
4276 * woman.el (woman-xref): Removed.
4277 (woman-mode): Use `Man-highlight-references' instead of
4278 `WoMan-highlight-references'.
4279 (WoMan-highlight-references): Removed.
4281 * man.el (toplevel): Require button.
4282 (Man-header-file-path): New option.
4283 (Man-synopsis-regexp, Man-files-regexp, Man-include-regexp)
4284 (Man-file-name-regexp, Man-normal-file-prefix-regexp)
4285 (Man-header-regexp, Man-normal-file-regexp): New variables.
4286 (Man-mode-map): Inherit from `button-buffer-map'. Don't define
4287 "\r" and mouse-2 directly. These key are defined in
4288 `button-buffer-map'.
4289 (Man-xref-man-page, Man-xref-header-file, Man-xref-normal-file):
4290 New buttons. `Man-xref-man-page' comes from woman.el.
4291 (man-follow-mouse): Removed.
4292 (Man-fontify-manpage): Use `Man-highlight-references' instead of
4293 calling `add-text-properties' directly.
4294 (Man-highlight-references, Man-highlight-references0): New functions.
4295 (Man-view-header-file): New function.
4297 2003-04-02 Stefan Monnier <monnier@cs.yale.edu>
4299 * textmodes/refill.el (refill-fill-paragraph-at): Don't preserve
4300 the trailing space since fill.el doesn't remove it anymore.
4301 (refill-mode): Reset fill-paragraph-function even if it was nil.
4303 * textmodes/fill.el (fill-region-as-paragraph):
4304 Don't remove space at end of paragraph: it makes refill.el unusable.
4305 Remove obsolete `save-restriction'.
4306 (fill-paragraph, fill-comment-paragraph): Don't add newline at EOP.
4307 (fill-delete-newlines): Don't add a trailing space.
4308 (fill-newline): Don't leave markers before the prefix.
4310 * progmodes/asm-mode.el (asm-calculate-indentation, asm-indent-line):
4312 (asm-mode): Use them in indent-line-function.
4313 Set tab-always-indent to nil to stay closer to previous tab behavior.
4314 Set comment-add. Remove space at end of comment-add.
4315 (asm-newline): Obsolete. Use newline-and-indent instead.
4316 (asm-mode-map): Remove TAB binding.
4317 (asm-code-level-empty-comment-pattern)
4318 (asm-flush-left-empty-comment-pattern)
4319 (asm-inline-empty-comment-pattern): Remove.
4320 (asm-comment): Use newcomment functions instead.
4321 (asm-colon): Don't tab if colon is not after a label.
4322 (asm-line-matches, asm-pop-comment-level): Remove.
4324 2003-04-02 Kai Großjohann <kai.grossjohann@gmx.net>
4326 * emulation/crisp.el (top-level): Quote second arg to
4329 2003-04-02 Miles Bader <miles@gnu.org>
4331 * scroll-bar.el (scroll-bar-mode): Correctly specify `nil' choice.
4333 2003-04-01 Stefan Monnier <monnier@cs.yale.edu>
4335 * progmodes/asm-mode.el (asm-mode-syntax-table): Setup entries
4336 that do not depend on asm-comment-char.
4337 (asm-mode-map): Declare and init at the same time.
4338 (asm-code-level-empty-comment-pattern)
4339 (asm-flush-left-empty-comment-pattern)
4340 (asm-inline-empty-comment-pattern): Use \s< so they do not depend
4341 on asm-comment-char. Turn them into constants.
4342 (asm-mode): Simplify.
4343 (asm-line-matches): Remove unused arg.
4345 2003-04-01 Dave Love <fx@gnu.org>
4347 * time.el: Doc fixes.
4348 (display-time-mail-face): Change :type and default to nil.
4349 (display-time-mail-icon): Use pbm, not xbm.
4350 (display-time-mail-string): New.
4351 (display-time-string-forms): Use display-time-mail-string.
4352 Add checks in display property.
4354 2003-04-01 Kenichi Handa <handa@m17n.org>
4356 * language/indian.el (indian-font-char-index-table): Fix the
4357 order of CDAC fonts.
4359 2003-04-01 Kim F. Storm <storm@cua.dk>
4361 * simple.el (pop-global-mark-quick-repeat): Remove defcustom.
4362 (set-mark-command): Unconditionally repeat pop-global-mark without
4363 C-x prefix. Fix doc.
4365 * emulation/cua-base.el (cua-set-mark): Unconditionally repeat
4366 pop-global-mark without C-x prefix. Fix doc.
4368 2003-03-31 Stefan Monnier <monnier@cs.yale.edu>
4370 * reveal.el (reveal-post-command): Better error handling.
4372 2003-03-31 Nick Roberts <nick@nick.uklinux.net>
4374 * gdb-ui.el (gdb-inferior-io-mode): Remove Unix pathname for cat
4375 so that it can run on NT also.
4377 2003-03-31 Masatake YAMATO <jet@gyve.org>
4379 * progmodes/asm-mode.el (asm-mode): Support skipping C lang style
4382 * bindings.el (mode-line-major-mode-keymap): New variable.
4383 (mode-line-minor-mode-help): New function, bound to
4384 mode-line-minor-mode-keymap.
4385 (mode-line-modes): Split mode-line-mode definitions to
4386 mode-name, mode-line-process and minor-mode-alist.
4387 For mode-name, mode-line-major-mode-keymap is used.
4389 * help.el (describe-minor-mode, describe-minor-mode-from-indicator)
4390 (lookup-minor-mode-from-indicator): New functions.
4392 2003-03-31 Kai Großjohann <kai.grossjohann@gmx.net>
4394 * files.el (file-relative-name): Remove superfluous `and'.
4395 Clarify docstring. From Lars Hansen.
4397 2003-03-31 Kenichi Handa <handa@m17n.org>
4399 * international/utf-16.el (ccl-decode-mule-utf-16-le):
4400 Don't assume the signature bytes.
4401 (ccl-decode-mule-utf-16-be): Likewise.
4402 (ccl-encode-mule-utf-16-le): Don't produce the signature bytes.
4403 (ccl-encode-mule-utf-16-be): Likewise.
4405 2003-03-30 Kevin Ryde <user42@zip.com.au>
4407 * info-look.el (sh-mode): Add doc-specs for commands and variables.
4409 2003-03-29 Kai Großjohann <kai.grossjohann@gmx.net>
4411 * international/utf-8.el (utf-translate-cjk-mode): Minor mode,
4412 replaces variable utf-translate-cjk which must be set via Custom.
4414 * files.el (file-relative-name): If FILENAME and DIRECTORY are on
4415 different drives (on DOS/Windows) or use different handlers, do
4416 like `expand-file-name' on FILENAME and return an absolute name.
4417 From Lars Hansen <larsh@math.ku.dk>.
4419 * tramp.el: Version 2.0.31 released.
4420 (tramp-handle-expand-file-name): Do not allow ".." to
4421 cross file handler boundaries, so that "/user@host:/../foo"
4422 expands to itself, rather than "/foo". This is intended to work
4423 in conjunction with a change in `file-relative-name' which makes
4424 sure to use absolute file names if FILE and DIRECTORY have
4426 (tramp-handle-insert-directory): Comment out XEmacs
4427 kludge. Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
4429 2003-03-29 Michael Albinus <Michael.Albinus@alcatel.de>
4431 * trampver.el: New file, to support Autoconf in Tramp CVS repository.
4432 * tramp.el (tramp-version, tramp-bug-report-address): Move to
4433 trampver.el, which is required now.
4434 (tramp-chunksize): Type can be nil as well.
4435 Reported by Markus Rost <rost@math.ohio-state.edu>.
4436 * tramp-smb.el (tramp-smb-read-file-entry): Make reading size of a
4437 listing entry more robust. Ranges from 10 chars (Samba 1) to 7-9
4440 2003-03-29 John Paul Wallington <jpw@gnu.org>
4442 * international/mule.el (with-category-table): Use `make-symbol'
4443 to avoid variable capture. Set table within `unwind-protect'.
4444 Ensure table is restored in correct buffer. Add docstring.
4446 2003-03-29 Kenichi Handa <handa@m17n.org>
4448 * language/japan-util.el: If system-type is not for Windows,
4449 prefer japanese-iso-8bit.
4451 2003-03-28 Sudish Joseph <sudish@corp.earthlink.net> (tiny change)
4453 * term/mac-win.el (iconify-or-deiconify-frame): Define for
4454 compatibility with packages that use it.
4456 2003-03-28 Lute Kamstra <lute@gnu.org>
4458 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer):
4460 (checkdoc-interactive, checkdoc-message-interactive): Make them
4461 perform spell checking when appropriate.
4462 (checkdoc-interactive-loop): Fix docstring and a few typos.
4463 (checkdoc-interactive-ispell-loop)
4464 (checkdoc-message-interactive-ispell-loop): New functions.
4465 (checkdoc-next-error): Fix docstring.
4466 (checkdoc-this-string-valid-engine): Fix typo.
4467 (checkdoc-ispell-docstring-engine): Do test for
4468 checkdoc-autofix-flag = nil.
4470 2003-03-28 Jonathan Yavner <jyavner@engineer.com>
4472 * emacs-lisp/testcover.el (testcover-mark-all): Handle screwy
4473 top-level macros that put functions as properties.
4474 (testcover-mark): No error for functions that just return a constant.
4476 2003-03-27 Andreas Schwab <schwab@suse.de>
4478 * vc-cvs.el (vc-cvs-parse-entry): Make sure a file with conflicts
4479 is marked as edited.
4481 2003-03-26 Kenichi Handa <handa@m17n.org>
4483 * files.el (recode-file-name): New function.
4485 * international/characters.el: Setup categories for Indian characters.
4487 2003-03-26 Steve Youngs <youngs@xemacs.org>
4489 * eshell/em-unix.el (eshell-plain-locate-behavior): Make the default
4490 nil on Emacs, t on XEmacs.
4492 2003-03-25 Stefan Monnier <monnier@cs.yale.edu>
4494 * emacs-lisp/byte-opt.el (byte-optimize-set): New.
4495 Turn `set' into `setq' when applicable.
4497 2003-03-24 Stefan Monnier <monnier@cs.yale.edu>
4499 * emacs-lisp/easy-mmode.el (define-minor-mode): Pass unknown keyword
4500 args blindly to defcustom. Use custom-set-minor-mode.
4502 2003-03-24 Kim F. Storm <storm@cua.dk>
4504 * simple.el: Rework last change so C-x C-SPC C-SPC does not
4505 repeat pop-global-mark by default.
4506 (pop-global-mark-quick-repeat): New user option.
4507 (set-mark-command): Use it.
4509 * emulation/cua-base.el (cua-set-mark):
4510 Check pop-global-mark-quick-repeat.
4512 2003-03-24 John Paul Wallington <jpw@gnu.org>
4514 * emacs-lisp/easymenu.el (easy-menu-add-item): Don't default to
4517 * emerge.el (emerge-show-file-name): Read event irrespective of
4518 whether minibuffer window is resized. Clear minibuffer when done.
4520 * cus-theme.el (customize-create-theme): Rename from
4521 `custom-theme-create'.
4523 2003-03-24 Luc Teirlinck <teirllm@mail.auburn.edu>
4525 * cus-edit.el (custom-mode): Make `custom-local-buffer' local.
4527 2003-03-23 Peter Breton <pbreton@attbi.com>
4529 * net/net-utils.el (dns-lookup-host): New function.
4531 2003-03-23 Martin Stjernholm <bug-cc-mode@gnu.org>
4533 * progmodes/cc-mode.el (c-parse-state): Add kludge to avoid
4534 an infinite loop when Emacs' open-paren-in-column-zero rule
4535 kicks in and causes the sexp functions to misbehave.
4537 2003-03-22 Peter Breton <pbreton@cs.umb.edu>
4539 * filecache.el (file-cache-add-directory-recursively)
4540 (file-cache-complete, file-cache-display): New functions.
4542 * generic-x.el (etc-modules-conf-generic-mode): New generic mode.
4543 (rul-generic-mode): Bugfixes by Rolf.Sandau@marconi.com.
4545 * dirtrack.el (dirtrack-cygwin-directory-function): New function.
4548 2003-03-22 Kim F. Storm <storm@cua.dk>
4550 * ido.el (ido-mode): Remove unused NOBIND arg. Fix doc string
4552 (ido-define-mode-map): Bind C-l for both file and dir modes.
4553 (ido-wide-find-file, ido-wide-find-dir, ido-make-directory):
4554 Let-bind enable-recursive-minibuffers to t around read-string.
4556 2003-03-22 Kenichi Handa <handa@m17n.org>
4558 * international/fontset.el (setup-default-fontset):
4559 Use indian-font-char-range for specifying ranges of indian-glyph
4560 chars. Setup for AKRUTI fonts.
4562 * language/indian.el (indian-font-foundry): New variable.
4563 (indian-script-language-alist): New variable.
4564 (indian-font-char-index-table): New variable.
4565 (indian-font-char): New function.
4566 (indian-font-char-range): New function.
4567 (font-ccl-encoder-alist): Add entry for AKRUTI font.
4569 2003-03-22 Kim F. Storm <storm@cua.dk>
4571 * progmodes/cperl-mode.el (cperl-electric-backspace):
4572 Add delete-selection property.
4574 * simple.el (set-mark-command): Doc fixes.
4575 Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
4576 C-u C-u C-SPC now unconditionally sets the mark.
4578 * emulation/cua-base.el (cua-set-mark): Doc fixes.
4579 Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
4580 C-u C-u C-SPC now unconditionally sets the mark.
4582 2003-03-20 Mark A. Hershberger <mah@everybody.org>
4584 * xml.el (xml-parse-attlist): Fix typo in attribute parsing.
4586 2003-03-20 Kenichi Handa <handa@m17n.org>
4588 * international/utf-8.el (ccl-decode-mule-utf-8): Fix a bug in
4589 handling invalid 5 to 6 bytes sequence.
4591 2003-03-19 Simon Marshall <simon@gnu.org>
4593 * progmodes/make-mode.el (makefile-font-lock-syntactic-keywords):
4595 (makefile-mode): Use it for value of font-lock-syntactic-keywords.
4597 2003-03-19 John Paul Wallington <jpw@gnu.org>
4599 * cus-theme.el (custom-theme-create): Add autoload cookie.
4601 2003-03-19 Kenichi Handa <handa@m17n.org>
4603 * dired.el (dired-get-filename): Pay attention to the case that
4604 `read' returns a unibyte string. Don't encode the file name by
4605 buffer-file-coding-system.
4607 2003-03-18 Kenichi Handa <handa@m17n.org>
4609 * language/european.el ("Latin-6"): Fix input-method.
4610 ("Latin-7"): Fix input-method.
4612 * international/utf-8.el (utf-fragment-on-decoding):
4613 Don't call register-char-codings.
4614 (utf-fragment-on-decoding): Don't update char-coding-system-table.
4615 (utf-translate-cjk): Don't call register-char-codings nor
4616 optimize-char-coding-system-table. Don't update
4617 char-coding-system-table.
4619 * international/ucs-tables.el (ucs-unify-8859): Don't call
4620 register-char-codings.
4621 (ucs-unify-8859): Don't call optimize-char-coding-system-table.
4622 (ucs-fragment-8859): Don't update char-coding-system-table.
4623 Don't call register-char-codings nor optimize-char-coding-system-table.
4625 * international/mule.el (optimize-char-coding-system-table):
4626 Remove this function.
4627 (register-char-codings): Make it obsolete.
4628 (char-coding-system-table): Defconst it here.
4629 (make-coding-system): Don't call register-char-codings, call
4630 define-coding-system-internal.
4632 * international/mule-conf.el (no-conversion):
4633 Call define-coding-system-internal on this coding system instead of
4634 calling register-char-codings.
4636 * international/mule-cmds.el (find-coding-systems-for-charsets):
4637 Use find-coding-systems-string instead of looking up
4638 char-coding-system-table.
4640 * international/code-pages.el (cp-fix-safe-chars): Make it obsolete.
4641 (cp-make-coding-system): Don't call cp-fix-safe-chars.
4643 2003-03-18 Stefan Monnier <monnier@cs.yale.edu>
4645 * startup.el (command-line-1): Use command-execute for any command.
4647 2003-03-17 Stefan Monnier <monnier@cs.yale.edu>
4649 * buff-menu.el (list-buffers-noselect): Use the display property
4650 to properly align header-line text with the buffer's contents.
4652 2003-03-17 Kenichi Handa <handa@m17n.org>
4654 * international/mule.el (ctext-post-read-conversion): Convert the
4655 search pattern to multibyte by string-to-multibyte.
4657 2003-03-16 Deepak Goel <deego@gnufans.org>
4659 * calc/calc-forms.el (math-tzone-names): Introduce UTC as an alias
4660 for GMT. Suggested by bob@rattlesnake.com.
4662 2003-03-15 Stefan Monnier <monnier@cs.yale.edu>
4664 * pcvs.el (cvs-mode!): Remove unused argument.
4666 * emacs-lisp/easymenu.el (easy-menu-name-match): Catch any error
4667 that member-ignore-case might signal.
4668 (easy-menu-add-item): Default to the global map, as documented.
4669 (easy-menu-convert-item-1): Use match-string.
4671 2003-03-15 Mark A. Hershberger <mah@everybody.org>
4673 * xml.el (xml-ucs-to-string): New function to convert Unicode
4674 codepoints to strings. Uses decode-char (mule.el) if available.
4675 (xml-parse-tag, xml-parse-attlist, xml-skip-dtd, xml-parse-dtd)
4676 (xml-parse-elem-type): Use ' \t\n\r' instead of '[:space:]'.
4677 (xml-parse-attlist): Add attribute normalization.
4678 (xml-parse-tag): Replace "\r\n" and "\r" with "\n".
4680 2003-03-14 John Paul Wallington <jpw@gnu.org>
4682 * files.el (recover-session): Error if there are no previous
4683 sessions to recover.
4685 * subr.el (posn-col-row): Simplify.
4687 * arc-mode.el (archive-subtype, archive-file-list-start)
4688 (archive-file-list-end, archive-proper-file-start)
4689 (archive-read-only, archive-local-name, archive-mode-map)
4690 (archive-file-name-indent, archive-remote)
4691 (archive-alternate-display, archive-superior-buffer)
4692 (archive-subfile-mode): Doc fixes.
4694 2003-03-14 Stefan Monnier <monnier@cs.yale.edu>
4696 * indent.el (indent-for-tab-command): If tab-always-indent is non-nil
4697 and the user hits TAB a second time, just insert a tab.
4699 * textmodes/texinfo.el (texinfo-outline-level): Remove.
4700 (texinfo-mode): Set outline-heading-alist instead.
4701 (texinfo-section-list): Reorder for the needs of outline-heading-alist.
4702 (texinfo-insert-block): Don't cons needlessly.
4703 (texinfo-enable-quote-macros, texinfo-enable-quote-envs): New vars.
4704 (texinfo-insert-quote): Use them.
4706 * textmodes/outline.el (outline-level): Demote it to defvar.
4707 (outline-heading-alist): Document extended semantics.
4708 (outline-head-from-level): New fun.
4709 (outline-promote, outline-demote): Use it.
4710 (outline-show-heading): New fun.
4711 (hide-sublevels, show-children):
4712 Use it together with outline-map-region.
4713 (outline-get-next-sibling): Don't call outline-level at eob.
4715 2003-03-14 Simon Josefsson <jas@extundo.com>
4717 * fringe.el (fringe-mode): Autoload so that
4718 Options->Show/Hide->Fringe->Customize works.
4720 2003-03-13 Stefan Monnier <monnier@cs.yale.edu>
4722 * textmodes/outline.el (outline-mode-menu-bar-map): Add entries.
4723 (outline-mode-prefix-map): Match new bindings to those of allout.
4724 (outline-map-region): New fun.
4725 (outline-map-tree): Remove.
4726 (outline-promote, outline-demote): Apply to region if active.
4727 Change the default to apply to the subtree.
4728 (outline-move-subtree-up, outline-move-subtree-down): New funs.
4729 (outline-invisible-p): Add optional `pos' argument.
4730 (outline-next-visible-heading, outline-toggle-children): Use it.
4731 (outline-get-next-sibling): Don't call outline-level at eob.
4733 * custom.el (custom-set-minor-mode): New fun.
4735 2003-03-13 Dave Love <fx@gnu.org>
4737 * international/latin1-disp.el (ucs-tables): Don't require.
4738 (latin1-display-face): New.
4739 (latin1-display-char): Use it.
4741 2003-03-13 Kenichi Handa <handa@m17n.org>
4743 * international/mule-cmds.el (reset-language-environment):
4744 Set default-file-name-coding-system to iso-latin-1.
4746 * language/european.el (iso-latin-1): Definition of this coding
4747 system moved to mule-conf.el.
4749 * international/mule-conf.el (iso-latin-1): Move from
4752 * term/x-win.el (x-select-text): Don't set a text containing
4753 eight-bit-control/graphic into the cut buffer.
4755 2003-03-12 Kenichi Handa <handa@m17n.org>
4757 * files.el (insert-directory): Decode by what specified.
4759 * language/japan-util.el (setup-japanese-environment-internal):
4760 By default, use japanese-iso-8bit for file names, and prefer
4761 japanese-shift-jis on DOS and Windows.
4763 * international/quail.el (quail-show-guidance-buf): Make the quail
4764 guidance buffer inherit the current value of quail-current-package.
4766 * international/utf-8.el (ccl-decode-mule-utf-8): Don't lose bytes
4767 on handling an invalid byte sequence.
4769 2003-03-11 Jason Rumney <jasonr@gnu.org>
4771 * files.el (auto-mode-alist): Add .xsl for sgml-mode.
4773 2003-03-11 Mark A. Hershberger <mah@everybody.org>
4775 * xml.el (xml-skip-dtd): Fix parsing of DOCTYPE.
4777 2003-03-11 John Paul Wallington <jpw@gnu.org>
4779 * subr.el (posn-col-row): Heed frame parameter `line-spacing' and
4780 `default-line-spacing', rather than buffer-local `line-spacing'.
4782 2003-03-10 Per Abrahamsen <abraham@dina.kvl.dk>
4784 * cus-edit.el (customize-rogue): New command.
4786 2003-03-10 Andreas Schwab <schwab@suse.de>
4788 * info.el (Info-extract-menu-node-name)
4789 (Info-following-node-name): Revert last change.
4791 2003-03-10 Thien-Thi Nguyen <ttn@gnu.org>
4793 * progmodes/scheme.el (scheme-mode-syntax-table):
4794 Construct w/o using `with-syntax-table'.
4796 2003-03-10 John Paul Wallington <jpw@gnu.org>
4798 * subr.el (posn-col-row): Take into account `line-spacing'.
4800 * ebuff-menu.el (electric-buffer-update-highlight): Do nothing
4801 if major mode isn't `Electric-buffer-menu-mode'.
4803 * term/x-win.el (vendor-specific-keysyms)
4804 (x-last-selected-text-primary): Doc fixes.
4805 (x-win-suspend-error): Use proper noun in error message.
4807 2003-03-09 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
4809 * man.el (Man-getpage-in-background): Always use `setenv' for
4810 environment variables, instead of modifying process-environment
4811 directly. The previous version let-bound process-environment --
4812 the let-binding is skipped for GROFF_NO_SGR because there is
4813 already a let-binding in effect in some outer scope.
4815 * emulation/crisp.el (top-level): Interoperate with cua.
4817 2003-03-08 Kim F. Storm <storm@cua.dk>
4819 * emulation/cua-base.el: Provide `cua' feature.
4821 2003-03-08 Juanma Barranquero <lektu@terra.es>
4823 * emulation/cua-base.el (cua--standard-movement-commands):
4826 2003-03-07 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
4828 * man.el (Man-getpage-in-background): Only change
4829 default-directory if necessary.
4831 2003-03-07 Andreas Schwab <schwab@suse.de>
4833 * info.el (Info-following-node-name): Skip trailing period.
4834 (Info-extract-menu-node-name): Allow period in node name.
4836 2003-03-07 Kevin Rodgers <kevin.rodgers@ihs.com> (tiny change)
4838 * dired-x.el (dired-guess-shell-case-fold-search): New user option.
4839 (dired-guess-default): Use it.
4841 2003-03-07 Thien-Thi Nguyen <ttn@gnu.org>
4843 * progmodes/dcl-mode.el (dcl-font-lock-keywords): New var.
4844 (dcl-font-lock-defaults): New var.
4845 (dcl-mode): Make and init local var `font-lock-defaults'.
4847 2003-03-06 Kevin Rodgers <kevin.rodgers@ihs.com> (tiny change)
4849 * ffap.el (dired-at-point): Check whether the user can create a
4850 directory before asking about creating it.
4852 2003-03-06 John Paul Wallington <jpw@gnu.org>
4854 * ebuff-menu.el (electric-buffer-list):
4855 Respect `Buffer-menu-use-header-line'.
4856 (electric-buffer-menu-looper): Likewise.
4858 * buff-menu.el (Buffer-menu-mode-map): Add docstring.
4859 (Buffer-menu-buffer): Fix indentation.
4860 (list-buffers-noselect): Calculate header-line spacing to take
4861 into account width of left fringe and left scrollbar.
4863 2003-03-05 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4865 * ps-print.el (ps-print-version): New version number (6.6).
4866 (ps-begin-job): If background and foreground color are the same, give
4868 (ps-default-fg, ps-default-bg): Better doc.
4869 (ps-rgb-color): Became a defun, check RGB value list.
4870 (ps-default-background): New internal var.
4871 (ps-begin-file): Code fix.
4873 2003-03-05 Richard M. Stallman <rms@gnu.org>
4875 * replace.el (query-replace-read-args): Use save-excursion.
4876 (map-query-replace-regexp): Use prefix-numeric-value.
4878 2003-03-05 Juanma Barranquero <lektu@terra.es>
4880 * term/w32-win.el (x-handle-geometry): Put sizes on
4881 `initial-frame-alist' too.
4883 * startup.el (command-line-x-option-alist): Make --border-color set
4884 the border-color frame parameter, not border-width.
4886 * faces.el (frame-set-background-mode): Fix reference to attribute
4889 2003-03-05 Reto Zimmermann <reto@gnu.org>
4891 * progmodes/vhdl-mode.el: Version 3.32.12 released.
4892 Modifications for displaying all projects in hierarchy browser and case
4893 insensitive hierarchy browsing. Change Rod's email address.
4894 Include `itimer.el' patch for XEmacs. Backquote fix. Change some
4895 documentation strings. Add "ERROR: " prefix to all error
4896 messages. Enhanced usage of hideshow.
4897 (vhdl-in-literal): Remove unused argument LIM.
4898 (vhdl-compiler-alist): Enhance customization for compilers; add
4899 "Speedwave", "Simili", "Synopsys Design Compiler", "Cadence NC",
4900 "Savant", "ProVHDL" and "VeriBest" compilers.
4901 Add new error message syntax for Modelsim.
4902 Add Synplify, column no in error regexp.
4903 Include library name in library command.
4904 Add unit-to-file name mapping for Savant.
4905 Add library option in Makefile generation command.
4906 Add command to create library directory.
4907 Built-in Makefile generation is always default.
4908 (vhdl-create-mode-menu): Split menus for compilers, projects, models.
4909 Add customization for `global-font-lock-mode'.
4910 Fix `customize-group' entries for XEmacs and
4911 change "Gen." to "Generate". Get *Messages* buffer.
4912 Fix "Auto Load Setup File" menu entry.
4913 Add faces customization to "Options". Add "Options" entry.
4914 Include `speedbar-indentation-width'.
4915 (vhdl-replace-string): Allow casing (use `vhdl-file-name-case').
4916 (vhdl-template-exit, vhdl-template-next, vhdl-template-return):
4917 Fix template abortion.
4918 (vhdl-speedbar-port-copy): Add subprogram copy; copy port of component
4920 (vhdl-fixup-whitespace-region): No whitespace after '(' and before ')'.
4921 Better treat comments and strings. Fix "=> ," alignment.
4922 (vhdl-port-paste-testbench): Print file names created.
4923 Better handling when file exist/open. Additional comments in code.
4924 Replace keywords in testbench entity and architecture file headers.
4925 Adjust case in testbench configuration.
4926 (vhdl-port-paste-instance): Special case: no number in instance name.
4927 (vhdl-speedbar-expand-units): Fix speedbar frame switching oddity.
4928 (vhdl-font-lock-keywords-2): Enhance highlighting of instantiation;
4929 highlight instantiations without map.
4930 Highlight quantity declaration names. Highlight formal parameters.
4931 Fix label highlighting for signal asst.
4932 (vhdl-mode): `comment-padding' for Emacs 21 only.
4933 Remove forced `turn-on-font-lock'.
4934 Remove `hippie-expand-only-buffers' setting.
4935 Update online documentation and web address.
4936 (vhdl-comment-uncomment-region): Remove usage of `comment-dwim' again.
4937 Change ARG for uncommenting.
4938 (vhdl-speedbar-make-*-line): Fix for displaying XEmacs speedbar images.
4939 (vhdl-fontify-buffer): Toggle font-lock-mode for better recovery.
4940 (vhdl-port-list): Add context clause.
4941 (vhdl-port-paste-signals): Include direction comments.
4942 (vhdl-testbench-declarations, vhdl-testbench-statements): New default.
4943 (vhdl-port-*): Include name in status messages.
4944 (vhdl-package-alist): Scan for and display subprogram body.
4945 Change key to lower case, add original case identifier.
4946 Scan for packages used by package body.
4947 (vhdl-speedbar-find-file): Always jump to design unit if buffer open.
4948 (vhdl-speedbar-insert-hierarchy): Mark non-existing entities/packages.
4949 Message "No VHDL design units!".
4950 (vhdl-compile-init): Allow fourth element (column no) in error regexp.
4951 Fix `nconc' bug. Eliminate redundant regexps.
4952 (vhdl-minibuffer-tab): No indentation.
4953 Use `hippie-expand-only-buffers' to take
4954 expansions from VHDL buffers only; don't overwrite non-nil default of
4955 `hippie-expand-only-buffers'; check whether
4956 `hippie-expand-only-buffers' is bound.
4957 (vhdl-ams-types, vhdl-ams-enum-values): Add identifiers from
4958 `nature_pkg' package.
4959 (vhdl-align-alist): Fix "when/else ... =>" case.
4960 Align declaration keywords only at beg. of line.
4961 Align <=, := and == among each other.
4962 (vhdl-port-copy): Extended identifiers for signal names.
4963 Fix on empty generic/port clause.
4964 Fix parsing of comment on first line.
4965 Allow generic clause begin on first line.
4966 Add "inout" and "linkage" to direction modes.
4967 (vhdl-font-lock-function-face): Change DarkCyan to Cyan4.
4968 (vhdl-file-header): Insert VHDL language standard string.
4969 (vhdl-instance-name): Unique numbers in instance names.
4970 (vhdl-compile): Check for existing compile directory.
4971 Print out file name if compiler does not; put it in
4972 quotes if contains spaces. Check compiler name.
4973 (vhdl-compiler): Change empty value from "" to nil.
4974 (vhdl-make): Check for existing compile directory.
4975 Fix missing options if there is a target. Check compiler name.
4976 (vhdl-template-field): Fix case on all VHDL words.
4977 (vhdl-template-others): Re-electrified "others".
4978 (vhdl-speedbar-expand-architecture): Give user control over displayed
4980 (vhdl-project-alist): Insert library name in Makefile name.
4981 Sources exclude regexp. Add file-specific compile exceptions.
4982 Enhance customization of projects.
4983 (vhdl-get-hierarchy): Include configurations in hierarchy list.
4984 Fix bug with configurations.
4985 Consider configurations; also at lower levels.
4986 (vhdl-speedbar-item-info): Enhance displaying.
4987 (vhdl-scan-file-contents): Fix skipping of comments in scanning.
4988 Sources exclude regexp.
4989 Allow comment lines in instantiations.
4990 Fix used packages in package body scanning.
4991 Allow code before first block configuration.
4992 Scan also for "is" keyword of design units.
4993 Scan configuration specification.
4994 Clear directory alists first.
4996 Check for multiply scanned design units.
4997 Scan components/subprograms in package.
4998 Scan library clauses and subconfigurations.
4999 Limit file size for scanning.
5000 (vhdl-entity-alist): Change key to lower case, add original case
5002 (vhdl-electric-tab): Not overwrite non-nil default of
5003 `hippie-expand-only-buffers'.
5004 (vhdl-electric-tab): Check whether `hippie-expand-only-buffers' is
5005 bound; use it to take expansions from VHDL buffers only.
5006 (vhdl-electric-tab): Toggle comment indent.
5007 (vhdl-generate-makefile): Check compiler name.
5008 Add library option in Makefile generation command.
5009 (vhdl-generate-makefile): Add dependencies for components in package.
5010 (vhdl-template-elsif): No expansion in concurrent part (except AMS).
5011 (vhdl-insert-string-or-file): Resolve environment variables.
5012 (vhdl-insert-string-or-file): Fix NTEmacs `file-exists-p' problem.
5013 (vhdl-submit-bug-report): Prompt for summary.
5014 (vhdl-resolve-paths): Rearrange environment variable resolution.
5015 (vhdl-scan-project-contents): Rearrange environment variable
5017 (vhdl-scan-project-contents): Allow absolute paths.
5018 (vhdl-doc-coding-style): Update RMM URL.
5019 (vhdl-end-of-leader): Consider "is" keyword in VHDL'93.
5020 (vhdl-model-insert): Replace header prompts too.
5021 (vhdl-template-header): New argument `is-model'.
5022 (vhdl-template-generate-body): Remove "begin" for VHDL'93.
5023 (vhdl-actual-port-name): Change default value (no "_i" extension).
5024 (vhdl-template-modify): Delete date instead of kill.
5025 (vhdl-get-source-files): Don't match source files beginning with ".".
5026 (vhdl-project-*-alist): Merge with variables `vhdl-*-alist'.
5027 (vhdl-speedbar-*): Many enhancements and fixes in hierarchy browser.
5028 (vhdl-speedbar-expand-*): Display used packages.
5029 (vhdl-sequential-statement-p): Better algorithm.
5030 (vhdl-electric-mode, vhdl-stutter-mode): Change key bindings.
5031 (vhdl-electric-...): No stuttering within literals.
5032 (vhdl-template-footer): Replace keywords in footer as in header.
5033 (vhdl-align-...): Enhance alignment, add progress reporting.
5034 (vhdl-beautify-region): Bug fix.
5035 (vhdl-comment-insert-inline): Remove wrapping to next line if too long.
5036 (vhdl-testbench-configuration-name)
5037 (vhdl-update-sensitivity-list-buffer): Fix starting cursor position.
5038 (vhdl-prepare-search-[12]): Fix search within hidden code.
5039 (vhdl-speedbar-jump-to-unit): Disable cursor re-positioning.
5040 (vhdl-template-for): Fix sequential statement part detection.
5041 (vhdl-electric-space): Fix wrapping for non-word characters.
5042 (vhdl-template-standard-package): Don't insert "std" library.
5043 (vhdl-template-architecture): Code optimization.
5044 (vhdl-template-package): Search for existing package name.
5045 (vhdl-template-component-decl, vhdl-port-paste-declaration):
5046 Insert "is" in VHDL'93.
5047 (match-string-no-properties, vhdl-forward-comment): New aliases.
5048 (vhdl-speedbar-library-face, vhdl-speedbar-subprogram-face): New faces.
5049 (file-expand-wildcards, regexp-opt, subst-char-in-string)
5050 (vhdl-add-modified-file, vhdl-align-buffer, vhdl-align-declarations)
5051 (vhdl-align-list, vhdl-align-region-2, vhdl-align-region-groups)
5052 (vhdl-align-same-indent, vhdl-aput, vhdl-auto-load-project)
5053 (vhdl-backward-same-indent, vhdl-beginning-of-block)
5054 (vhdl-character-to-event, vhdl-compile-directory)
5055 (vhdl-compile-print-file-name, vhdl-compose-components-package)
5056 (vhdl-compose-insert-generic, vhdl-compose-insert-port)
5057 (vhdl-compose-insert-signal, vhdl-compose-new-component)
5058 (vhdl-compose-place-component, vhdl-compose-wire-components)
5059 (vhdl-default-directory, vhdl-delete, vhdl-delete-indentation)
5060 (vhdl-do-group, vhdl-do-list, vhdl-do-same-indent)
5061 (vhdl-duplicate-project, vhdl-end-of-block, vhdl-expand-abbrev)
5062 (vhdl-expand-paren, vhdl-export-project, vhdl-fill-group)
5063 (vhdl-fill-list, vhdl-fill-region, vhdl-fill-same-indent)
5064 (vhdl-fix-case-word, vhdl-fix-clause, vhdl-forward-comment)
5065 (vhdl-forward-same-indent, vhdl-generate-makefile-1)
5066 (vhdl-get-compile-options, vhdl-get-components-package-name)
5067 (vhdl-get-end-of-unit, vhdl-get-make-options, vhdl-get-packages)
5068 (vhdl-get-visible-signals, vhdl-goto-marker)
5069 (vhdl-hs-forward-sexp-func, vhdl-hs-minor-mode, vhdl-import-project)
5070 (vhdl-indent-group, vhdl-insert-file-contents, vhdl-load-cache)
5071 (vhdl-makefile-name, vhdl-match-string-downcase, vhdl-max-marker)
5072 (vhdl-parse-group-comment, vhdl-paste-group-comment)
5073 (vhdl-port-paste-context-clause, vhdl-port-paste-initializations)
5074 (vhdl-port-reverse-direction, vhdl-process-command-line-option)
5075 (vhdl-project-p, vhdl-re-search-backward, vhdl-re-search-forward)
5076 (vhdl-remove-trailing-spaces, vhdl-require-hierarchy-info)
5077 (vhdl-resolve-env-variable, vhdl-run-when-idle, vhdl-save-cache)
5078 (vhdl-save-caches, vhdl-scan-context-clause)
5079 (vhdl-scan-directory-contents, vhdl-set-compiler, vhdl-set-project)
5080 (vhdl-show-messages, vhdl-sort-alist, vhdl-speedbar-check-unit)
5081 (vhdl-speedbar-contract-all, vhdl-speedbar-contract-level)
5082 (vhdl-speedbar-display-directory, vhdl-speedbar-display-projects)
5083 (vhdl-speedbar-expand-all, vhdl-speedbar-expand-config)
5084 (vhdl-speedbar-expand-package, vhdl-speedbar-expand-project)
5085 (vhdl-speedbar-generate-makefile, vhdl-speedbar-insert-projects)
5086 (vhdl-speedbar-insert-subpackages, vhdl-speedbar-line-key)
5087 (vhdl-speedbar-line-project, vhdl-speedbar-line-text)
5088 (vhdl-speedbar-make-design, vhdl-speedbar-make-subpack-line)
5089 (vhdl-speedbar-make-subprogram-line, vhdl-speedbar-place-component)
5090 (vhdl-speedbar-refresh, vhdl-speedbar-set-depth)
5091 (vhdl-speedbar-update-current-project, vhdl-statistics-buffer)
5092 (vhdl-subprog-copy, vhdl-subprog-flatten, vhdl-subprog-paste-body)
5093 (vhdl-subprog-paste-call, vhdl-subprog-paste-declaration)
5094 (vhdl-subprog-paste-specification, vhdl-template-others-hook)
5095 (vhdl-template-replace-header-keywords, vhdl-toggle-project)
5096 (vhdl-uniquify, vhdl-update-file-contents, vhdl-update-hierarchy)
5097 (vhdl-update-progress-info, vhdl-update-sensitivity-list)
5098 (vhdl-update-sensitivity-list-buffer)
5099 (vhdl-update-sensitivity-list-process, vhdl-use-direct-instantiation)
5100 (vhdl-warning, vhdl-warning-when-idle)
5101 (vhdl-widget-directory-validate, vhdl-work-library)
5102 (vhdl-write-file-hooks-init): New functions.
5103 (vhdl-append, vhdl-add-warning, vhdl-align-noindent-buffer)
5104 (vhdl-align-noindent-region, vhdl-create-customize-menu)
5105 (vhdl-forward-unit, vhdl-modify-date-init, vhdl-project-switch)
5106 (vhdl-scan-file-contents, vhdl-speedbar-display-hierarchy)
5107 (vhdl-speedbar-toggle-hierarchy): Functions deleted.
5108 (vhdl-in-comment-p, vhdl-in-string-p, vhdl-standard-p): Define as
5109 functions, not defsubsts.
5110 (vhdl-in-comment-or-string-p, vhdl-speedbar-project-p):
5112 (vhdl-compose, vhdl-naming, vhdl-speedbar, vhdl-template)
5113 (vhdl-testbench): New customization groups.
5114 (vhdl-electric): Customization group deleted.
5115 (vhdl-align-alist, vhdl-doc-coding-style, vhdl-doc-keywords)
5116 (vhdl-imenu-generic-expression): Define as constants instead of
5118 (vhdl-ams-packages, vhdl-doc-release-notes, vhdl-emacs-21)
5119 (vhdl-hs-start-regexp, vhdl-time-stamp, vhdl-xemacs): New constants.
5120 (vhdl-font-lock-keywords-0): Constants deleted.
5121 (vhdl-prepare-search-1, vhdl-prepare-search-2, vhdl-visit-file):
5123 (vhdl-ext-syntax-table): Macro deleted.
5124 (vhdl-align-group-separate, vhdl-align-same-indent)
5125 (vhdl-architecture-file-name, vhdl-compile-use-local-error-regexp)
5126 (vhdl-components-package-name, vhdl-compose-architecture-name)
5127 (vhdl-compose-create-files, vhdl-compose-include-header)
5128 (vhdl-copyright-string, vhdl-default-library, vhdl-directive-keywords)
5129 (vhdl-entity-file-name, vhdl-file-name-case)
5130 (vhdl-include-group-comments, vhdl-include-type-comments)
5131 (vhdl-indent-syntax-based, vhdl-makefile-generation-hook)
5132 (vhdl-package-file-name, vhdl-project-auto-load)
5133 (vhdl-project-file-name, vhdl-project-sort, vhdl-speedbar-auto-open)
5134 (vhdl-speedbar-cache-file-name, vhdl-speedbar-display-mode)
5135 (vhdl-speedbar-jump-to-unit, vhdl-speedbar-save-cache)
5136 (vhdl-speedbar-scan-limit, vhdl-speedbar-update-on-saving)
5137 (vhdl-testbench-configuration-name)
5138 (vhdl-testbench-include-configuration, vhdl-testbench-include-header)
5139 (vhdl-testbench-include-library, vhdl-use-components-package)
5140 (vhdl-use-direct-instantiation): New options.
5141 (vhdl-compiler-options, vhdl-speedbar, vhdl-speedbar-hierarchy-indent)
5142 (vhdl-speedbar-show-hierarchy, vhdl-testbench-architecture-header)
5143 (vhdl-testbench-entity-header): Options deleted.
5144 (speedbar-indentation-width, vhdl-compile-file-name)
5145 (vhdl-config-alist, vhdl-directive-keywords-regexp)
5146 (vhdl-directory-alist, vhdl-font-lock-keywords-0, vhdl-menu-max-size)
5147 (vhdl-mode-ext-syntax-table, vhdl-modified-file-list)
5148 (vhdl-port-flattened, vhdl-port-reversed-direction)
5149 (vhdl-speedbar-hierarchy-depth, vhdl-speedbar-last-selected-project)
5150 (vhdl-speedbar-show-projects, vhdl-speedbar-shown-project-list)
5151 (vhdl-speedbar-shown-unit-alist, vhdl-speedbar-update-current-unit)
5152 (vhdl-subprog-flattened, vhdl-subprog-list, vhdl-updated-project-list)
5153 (vhdl-warnings): New variables.
5154 (vhdl-project-ent-inst-list, vhdl-project-entity-alist)
5155 (vhdl-project-package-alist, vhdl-speedbar-last-file-name)
5156 (vhdl-speedbar-shown-units-alist, vhdl-startup-warnings): Delete vars.
5158 2003-03-04 Rob Kaut <rob@siworks.com> (tiny change)
5160 * progmodes/vhdl-mode.el (vhdl-comment-uncomment-region):
5161 Remove two comment characters at start of line instead of one.
5163 2003-03-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5165 * printing.el (pr-get-symbol): Move it to next eval-and-compile.
5167 2003-03-03 John Paul Wallington <jpw@gnu.org>
5169 * ibuf-macs.el (ibuffer-aif): Use `make-symbol' instead of
5170 `gensym' in case user calls macro at runtime.
5171 (ibuffer-save-marks): Likewise.
5173 2003-03-03 Kenichi Handa <handa@m17n.org>
5175 * language/japan-util.el (japanese-symbol-table): Add two entries
5176 to make it complete.
5178 2003-03-03 Andreas Schwab <schwab@suse.de>
5180 * info.el (Info-fontify-node): Don't hide indentation before the
5181 reference name. Don't process a reference twice when a new tag is
5183 (Info-hide-note-references): Fix doc and customize type.
5185 2003-03-02 Matthew Swift <swift@alum.mit.edu>
5187 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
5188 New custom variable.
5189 (lisp-fill-paragraph): Use it. Add ?, to `paragraph-separate' so
5190 that first docstring lines ending with a comma are respected.
5191 Add "`(" to same so that function and macro bodies beginning with a
5192 backquote do not get disturbed. Revise the comments.
5194 2003-03-01 Jan Djärv <jan.h.d@swipnet.se>
5196 * startup.el (command-line): Call menu-bar-mode with 1 instead of t.
5198 * menu-bar.el (menu-bar-mode): Change to define-minor-mode
5199 and initialize as for tool-bar-mode.
5201 2003-02-28 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
5203 * net/tramp.el: Version 2.0.30 released.
5204 Replace term "path" with "localname" unless it is used for a
5206 (tramp-handle-expand-file-name): Allow ".." to cross host boundaries.
5207 (tramp-open-connection-setup-interactive-shell): Unset $ENV in
5208 addition to setting $PS1 when starting the Bourne-ish shell.
5209 Some sh implementations (eg, bash when called as sh) read the file
5210 named there on startup, which could clobber $PS1.
5211 (tramp-do-copy-or-rename-file-one-local): New function.
5212 Not implemented. Not used. Should invoke rcp or scp directly to keep
5215 2003-02-28 Michael Albinus <Michael.Albinus@alcatel.de>
5217 * net/tramp-smb.el: Replace term `path' with `localname'
5218 unless it is used for a search path. In GNU, the word `path' is
5219 reserved for search paths.
5221 * net/tramp.el (tramp-send-string, tramp-send-region): Remove.
5222 (tramp-send-string): New function. Takes over the role of the
5223 functions above, in order to have a unique place handling
5224 `tramp-chunksize'. Same implementation as `tramp-send-region'.
5225 (tramp-chunksize): It's now a defcustom. Set to 500 on systems
5226 only known to have a buggy `process-send-string' implementation.
5227 First black-listed constellation is GNU Emacs/ hpux.
5228 (tramp-send-region): Correct debug message.
5229 (tramp-bug): Add `tramp-chunksize'.
5231 2003-02-26 Matthew Swift <swift@alum.mit.edu>
5233 * startup.el: Streamline code in several functions for efficiency
5234 and readability. Rephrase booleans to avoid `(not noninteractive)'.
5235 Clarify several booleans expressions using De Morgan's laws.
5237 (command-line): Fix barf when first command-line option handled by
5238 `command-line-1' is in the form --OPT=VAL.
5239 (command-line-1): Restore intended behavior of the --directory/-L
5240 command-line option: "-L a -L b -L c" on the command-line now puts
5241 '(a b c) at the front of `load-path'.
5243 2003-02-26 Oliver Scholz <alkibiades@gmx.de>
5245 * play/gamegrid.el (gamegrid-add-score): Add info to docstring.
5246 (gamegrid-add-score-with-update-game-score-1): New function,
5247 factored out of `gamegrid-add-score-with-update-game-score'.
5248 (gamegrid-add-score-with-update-game-score): Use it. Fall back on
5249 `gamegrid-add-score-insecure' if the requested file does not exist
5250 in $(gamedir), in case the user has installed a game on his own.
5251 (gamegrid-add-score-insecure): Accept optional directory argument.
5253 2003-02-25 Andreas Schwab <schwab@suse.de>
5255 * progmodes/make-mode.el (makefile-font-lock-keywords): Protect shell
5256 variable references by requiring that $ is not preceded by another $.
5258 2003-02-25 Kenichi Handa <handa@m17n.org>
5260 * env.el (setenv): Fix previous change.
5262 2003-02-25 Ramakrishnan M <rama@gnu.org> (tiny change)
5264 * language/mlm-util.el (mlm-char-glyph): Fix more rules.
5266 2003-02-24 Stefan Monnier <monnier@cs.yale.edu>
5268 * progmodes/simula.el: Move abbrev loading to after the fun it uses.
5269 (simula-install-standard-abbrevs): Use dolist.
5270 Use system-flag when calling define-abbrev.
5272 2003-02-24 Dave Love <fx@gnu.org>
5274 * obsolete/cplus-md.el: Delete. (Requires removed c-mode.el.)
5276 * env.el (read-envvar-name): Decode names.
5277 (substitute-env-vars): Use eval-when-compile and char class.
5278 (setenv): Doc fix. Encode the data (after checking that's possible).
5279 (getenv): Encode the name and decode the result.
5281 2003-02-24 Ken Manheimer <klm@zope.com>
5283 * allout.el (allout-pre-command-business): Fix docstring.
5285 2003-02-24 Ramakrishnan M <rama@gnu.org> (tiny change)
5287 * language/mlm-util.el (mlm-char-glyph): Fix several composing rules.
5289 2003-02-24 Kenichi Handa <handa@m17n.org>
5291 * international/characters.el: Fix syntaxes of gb2312 and big5.
5293 * language/japan-util.el (sentence-end-save): Variable deleted.
5294 (setup-japanese-environment-internal): Don't setup sentence-end.
5295 (exit-japanese-environment): Function deleted.
5297 * language/japanese.el ("Japanese"): Delete `exit-function'.
5299 * textmodes/paragraphs.el (sentence-end): Add Chinese and Japanese
5302 2003-02-24 Ramakrishnan M <rama@gnu.org> (tiny change)
5304 * language/mlm-util.el (mlm-char-glyph): Add entries for "halant +
5305 rakar + halant" and "halant + rrakar + halant".
5307 2003-02-23 Richard M. Stallman <rms@gnu.org>
5309 * replace.el (query-replace-read-args): Return just 3 values.
5310 (query-replace, query-replace-regexp)
5311 (query-replace-regexp-eval, map-query-replace-regexp)
5312 (replace-string, replace-regexp): Read the start and end args
5313 separately so that the expressions are recorded in command-history.
5315 * menu-bar.el (Revert Buffer): Condition on buffer-file-number.
5317 * startup.el (inhibit-startup-hooks): New variable.
5318 (normal-top-level): Obey that variable.
5319 (command-line-1): Run emacs-startup-hook before term-setup-hook.
5320 Set inhibit-startup-hooks too.
5322 * files.el (revert-buffer): Different error message
5323 for reverting a nonexistent file.
5325 2003-02-22 Stefan Monnier <monnier@cs.yale.edu>
5327 * progmodes/cperl-mode.el: Merge changes from CPerl-5.0.
5328 (toplevel): Require man.
5329 Don't autoload tmm-prompt (it's in loaddefs.el).
5330 (cperl-electric-backspace-untabify): New var.
5331 (cperl-electric-backspace): Use it.
5332 (cperl-vc-header-alist): Extract numeric version from the Id.
5333 (cperl-build-manpage): New fun.
5334 (cperl-menu): Use it. Add toggle-autohelp.
5335 (cperl-mode) <defun-prompt_regexp>: Understand prototypes.
5336 (cperl-electric-brace): Use `cperl-after-block-p' for detection.
5337 (cperl-electric-keyword): Make $if (etc: "$@%&*") non-electric.
5338 '(' after keyword would insert a doubled paren.
5339 (cperl-calculate-indent): Update syntaxification before checks.
5340 Fix wrong indent of blocks starting with POD.
5341 (cperl-find-pods-heres): If no end of HERE-doc found, mark to the end
5342 of buffer. This enables recognition of end of HERE-doc "as one types".
5343 Require "\n" after trailing tag of HERE-doc.
5344 \( made non-quoting outside of string/comment (gdj-contributed).
5345 Likewise for \$. Remove `here-doc-group' text property at
5346 start (makes this property reliable).
5347 Text property `first-format-line' ==> t.
5348 Do not recognize $opt_s and $opt::s as s///.
5349 (cperl-after-block-p): Optional arg pre-block to check for a pre-block
5350 Recognize `continue' blocks too.
5351 (cperl-after-expr-p): Update syntaxification before checks. Work after
5352 here-docs, formats, and PODs too (affects many electric constructs).
5353 (cperl-fix-line-spacing): Allow "_" in $vars of foreach etc.
5354 (cperl-perldoc): Use case-sensitive search.
5356 * progmodes/cperl-mode.el: Merge changes from CPerl-4.35.
5357 (cperl-xemacs-p): Move.
5358 (cperl-can-font-lock): New var to replace window-system.
5359 (cperl-enable-font-lock): Use it.
5360 (cperl-use-major-mode): New var.
5361 (cperl-mode): Use it.
5362 (cperl-calculate-indent): Remove code whose removal was missed
5363 in some earlier merge.
5364 (cperl-tags-hier-init): Use display-popup-menus-p.
5366 2003-02-22 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
5368 * files.el (abbreviate-file-name): Shorten docstring: variables
5369 are now hyperlinks and `C-h v' need not be mentioned explicitly.
5371 2003-02-21 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
5373 * files.el (abbreviate-file-name): Document removal of
5374 automounter prefixes. Reported by Lars Hansen.
5376 2003-02-21 Kim F. Storm <storm@cua.dk>
5378 * emulation/cua-base.el: Add run-time check to catch users trying
5379 to use older versions of CUA-mode, rather than the version
5380 distributed with Emacs. Use autoload cookies and eval-after-load.
5382 * startup.el (command-line): Clarify and tidy up the message
5383 printed when there are errors in the user-init-file.
5384 Do not encapsulate the error data; it's read by humans here.
5385 Do not split windows when displaying the *Message* buffer.
5387 2003-02-20 Stefan Monnier <monnier@cs.yale.edu>
5389 * subr.el (with-syntax-table): Don't copy the table any more.
5391 2003-02-20 Ehud Karni <ehud@unix.mvs.co.il> (tiny change)
5393 * mail/rmail.el (rmail-insert-inbox-text): Make the pop3 mechanism
5394 work on cygwin systems too.
5396 2003-02-20 Juanma Barranquero <lektu@terra.es>
5398 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5399 Remove useless check.
5401 2003-02-20 Andreas Schwab <schwab@suse.de>
5403 * info.el (Info-extract-menu-node-name): Stop if colon is
5404 followed by open paren.
5406 2003-02-20 Francesco Potortì <pot@gnu.org>
5408 * mail/undigest.el (unforward-rmail-message): Allow nested
5409 unforwarding, that is, preserve old Forwarded-From/Date headers.
5411 2003-02-20 Kenichi Handa <handa@m17n.org>
5413 * term/w32-win.el: Call set-fontset-font with NAME nil.
5415 * international/mule-diag.el (print-fontset): If FONTSET is nil,
5416 use the default fontset.
5417 (describe-fontset): If the current frame is not using a fontset,
5418 call print-fontset with nil.
5420 2003-02-19 Andre Spiegel <spiegel@gnu.org>
5422 * vc.el (vc-binary-assoc, vc-binary-suffixes): Remove; these
5423 were accidentally left over during the VC redesign in 2000.
5425 2003-02-18 Juanma Barranquero <lektu@terra.es>
5427 * help-macro.el (make-help-screen): Fix character constant.
5429 * mouse-sel.el (mouse-sel-determine-selection-thing): Likewise.
5431 * calc/calc-graph.el (calc-graph-plot): Likewise.
5433 * calc/calc-prog.el (calc-macro-edit-variable): Likewise.
5435 * emacs-lisp/edebug.el: Likewise.
5437 * emacs-lisp/helper.el (Helper-help-scroller): Likewise.
5439 * language/cyril-util.el (standard-display-cyrillic-translit):
5442 * mail/rfc822.el (rfc822-nuke-whitespace): Likewise.
5444 * progmodes/cperl-mode.el (cperl-electric-keyword)
5445 (cperl-electric-pod, cperl-do-auto-fill): Likewise.
5447 * textmodes/reftex-ref.el (reftex-reference): Likewise.
5449 * textmodes/table.el (table-generate-source): Use ?\\ instead of
5450 space in "work in progress" message.
5452 * emacs-lisp/tq.el (tq-create): Fix quoted lambda expression.
5454 2003-02-17 Dave Love <fx@gnu.org>
5456 * progmodes/ebrowse.el (ebrowse-output): Don't use gensym.
5458 2003-02-17 Markus Rost <rost@math.ohio-state.edu>
5460 * calendar/calendar.el (diary-file-name-prefix-function):
5463 2003-02-17 Andre Spiegel <spiegel@gnu.org>
5465 * vc-cvs.el (vc-cvs-dir-state): Protect against DIR not being
5466 under CVS control. Suggested by Masanobu UMEDA.
5468 2003-02-17 Kenichi Handa <handa@m17n.org>
5470 * files.el (insert-directory): Add workaround for the case that we
5471 can't trust ls's output as to byte positions of filenames.
5473 2003-02-15 Richard M. Stallman <rms@gnu.org>
5475 * ffap.el: Many doc fixes.
5476 (ffap-replace-file-component):
5477 Renamed from ffap-replace-path-component. Callers changed.
5478 (ffap-host-to-filename): Renamed from ffap-host-to-path. Callers chgd.
5480 * international/iso-ascii.el (iso-ascii-display-table): New variable.
5481 (iso-ascii-standard-display-table): New variable.
5482 (iso-ascii-display): Define in iso-ascii-display-table.
5483 (iso-ascii-mode): New command.
5485 * tar-mode.el (tar-header-block-summarize):
5486 Use l for symlink, h for hard link.
5488 2003-02-15 David Kastrup <dak@gnu.org>
5490 * net/ange-ftp.el (ange-ftp-get-file-entry): Allow for graceful
5491 failure returning nil, as documented.
5493 2003-02-14 Dave Love <fx@gnu.org>
5495 * international/code-pages.el: Undo `Trailing whitespace deleted.'
5497 (cp1125, mik): Nullify mime-charset.
5499 * language/cyrillic.el ("Cyrillic-KOI8"): Fix input-method.
5501 ("Bulgarian"): Add tutorial.
5503 * international/mule-cmds.el (locale-language-names): Use Italian,
5504 Russian, Turkish, Chinese-EUC-TW.
5505 (set-locale-environment): Set ps-paper-type.
5507 2003-02-14 ARISAWA Akihiro <ari@mbf.sphere.ne.jp> (tiny change)
5509 * time.el (display-time-string-forms): Add face property to mail
5512 2003-02-14 Juanma Barranquero <lektu@terra.es>
5514 * international/mule-cmds.el (view-hello-file): Use `view-file'
5515 instead of `find-file-read-only'.
5517 * dired-aux.el (dired-query-alist): Fix use of character constant.
5519 * simple.el (backward-delete-char-untabify): Likewise.
5521 * strokes.el (strokes-read-complex-stroke): Likewise.
5523 * wid-edit.el (widget-choose): Likewise.
5525 * xml.el (xml-parse-elem-type): Likewise.
5527 * emacs-lisp/testcover-ses.el (ses-exercise-signals): Likewise.
5529 * progmodes/cperl-mode.el (cperl-next-bad-style): Likewise.
5531 * progmodes/idlwave.el (idlwave-show-begin): Likewise.
5533 2003-02-13 Stefan Monnier <monnier@cs.yale.edu>
5535 * international/mule-cmds.el (sort-coding-systems): Use \'.
5536 (select-safe-coding-system): Remove redundant assq check.
5537 Remove raw-text, emacs-mule and no-conversion from the list of
5538 proposed encodings unless there's nothing else.
5540 2003-02-13 Markus Rost <rost@math.ohio-state.edu>
5542 * files.el (find-alternate-file): Undo last change.
5544 * dired.el (dired-directory): Add autoload cookie.
5546 2003-02-13 Juanma Barranquero <lektu@terra.es>
5548 * international/characters.el: Use new ?\s syntax instead of "? "
5549 followed by a comment.
5551 * ruler-mode.el (ruler-mode-margins-char): Likewise.
5553 2003-02-13 Dave Love <fx@gnu.org>
5555 * newcomment.el (comment-indent): Ensure space before added comment.
5557 2003-02-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5559 * ps-print.el: Change the policy of background/foreground default
5561 (ps-print-version): New version number (6.5.9).
5562 (ps-default-fg, ps-default-bg): Adjust default value.
5563 (ps-begin-file, ps-begin-job): ps-default-fg and ps-default-bg
5564 variables now use `t' to indicate the use of Emacs session
5565 background/foreground color.
5566 (ps-output-string-prim): If index out of range, insert hexadecimal
5567 representation of character.
5569 2003-02-13 Kim F. Storm <storm@cua.dk>
5571 * help.el (where-is): Rename remap-command to command-remapping.
5572 * help-fns.el (describe-function-1): Likewise.
5574 2003-02-12 Glenn Morris <gmorris@ast.cam.ac.uk>
5576 * progmodes/fortran.el (fortran-fill): Fill lines that do not have
5579 2003-02-12 Stefan Monnier <monnier@cs.yale.edu>
5581 * progmodes/fortran.el (fortran-mode): Set comment-use-syntax.
5582 (fortran-fill-paragraph): Use fill-comment-paragraph.
5584 2003-02-12 Juanma Barranquero <lektu@terra.es>
5586 * files.el (file-truename): Revert change from 2002-11-27.
5588 2003-02-12 Luc Teirlinck <teirllm@mail.auburn.edu>
5590 * help-fns.el (describe-function-1): Change output for keyboard macros.
5592 2003-02-12 Andreas Schwab <schwab@suse.de>
5594 * progmodes/sh-script.el (sh-mode-map): Don't remap
5595 beginning-of-defun to the non-existing command
5596 sh-beginning-of-compound-command.
5598 2003-02-12 Karl Chen <quarl@hkn.eecs.berkeley.edu>
5600 * files.el (find-alternate-file): Check whether `dired-directory'
5603 2003-02-12 Simon Marshall <simon@gnu.org>
5605 * progmodes/make-mode.el (makefile-font-lock-keywords):
5606 Fontify single character variable references, but protect shell
5607 variables references.
5608 (makefile-mode): Make `$' be punctuation in font-lock-defaults.
5610 2003-02-12 Ami Fischman <ami@fischman.org>
5612 Face markup of calendar and diary displays: Any entry line that
5613 ends with [foo:value] where foo is a face attribute (except :box
5614 :stipple) or with [face:blah] tags, will have these values applied
5615 to the calendar and fancy diary displays. These attributes "stack"
5616 on calendar displays. File-wide attributes can be defined as
5617 follows: the first line matching "^# [tag:value]" defines the
5618 value for that particular tag. All of the tags' regexps can be
5621 * calendar/calendar.el (diary-face-attrs): New custom.
5622 (diary-file-name-prefix-function): New custom.
5623 (diary-glob-file-regexp-prefix): New custom.
5624 (diary-file-name-prefix): New custom.
5625 (generate-calendar-window): Check that font-lock-mode is bound
5626 before checking value.
5627 (mark-visible-calendar-date): Add the ability to pass face
5628 attribute/value pairs in the mark argument. Handle the mark.
5630 * calendar/diary-lib.el (diary-attrtype-convert): Convert an
5631 attribute value string to the desired type.
5632 (diary-pull-attrs): New function that pulls the attributes off a
5633 diary entry, merges with file-global attributes, and returns
5634 the (possibly modified) entry and a list of attribute/values using
5635 diary-attrtype-convert.
5636 (list-diary-entries, fancy-diary-display, show-all-diary-entries)
5637 (mark-diary-entries, mark-sexp-diary-entries)
5638 (list-sexp-diary-entries): Add handling of file-global attributes;
5639 add handling of entry attributes using diary-pull-attrs.
5640 (mark-calendar-days-named, mark-calendar-days-named)
5641 (mark-calendar-date-pattern, mark-calendar-month)
5642 (add-to-diary-list): Add optional parameter `color' for passing
5643 face attribute info through the callchain. Pass this parameter around.
5645 2003-02-11 Stefan Monnier <monnier@cs.yale.edu>
5647 * progmodes/etags.el (find-tag-tag): Move (default foo) to before
5649 (find-tag): Make sure we move point in the proper window.
5651 * progmodes/meta-mode.el (meta-fill-paragraph): Remove.
5652 (meta-common-initialization): Don't set fill-paragraph-function
5653 now that fill-paragraph takes care of comments.
5655 * progmodes/scheme.el (scheme-mode-syntax-table): Don't switch
5656 the current buffer's syntax-table.
5658 * progmodes/simula.el (simula-font-lock-syntactic-keywords): New var.
5659 (simula-font-lock-keywords-1): Simplify.
5660 (simula-font-lock-keywords-2): Use regexp-opt.
5661 (simula-emacs-features): Remove.
5662 (simula-mode-syntax-table): Setup %...\n as comment style b.
5663 (simula-mode-map): Remove compatibility cruft.
5664 (simula-keep-region-active): Remove.
5665 (simula-popup-menu): Simplify.
5666 (simula-mode): Move abbrev-table setup to top-level.
5667 (simula-match-string-or-comment): Remove.
5669 * progmodes/tcl.el (tcl-omit-ws-regexp): Correctly handle cases
5670 like `proc foo {a {b c} d} {'.
5671 (tcl-mode): Make comment-start-skip more selective.
5673 * info-xref.el (info-xref-check): Use line-beginning-position.
5674 (info-xref-all-info-files): Cons a bit less.
5675 (info-xref-check-buffer): Use push and replace-regexp-in-string.
5676 (info-xref-output): Call insert only once.
5677 (info-xref-whitespace): Remove.
5679 2003-02-11 John Paul Wallington <jpw@gnu.org>
5681 * ibuffer.el (toplevel): Don't require `font-lock';
5682 require `font-core' instead, even though it is dumped.
5684 * ibuf-ext.el (ibuffer-save-with-custom, ibuffer-add-to-tmp-hide)
5685 (ibuffer-add-to-tmp-show): Doc fixes.
5687 * language/tamil.el ("Tamil"): Doc fix.
5689 2003-02-11 Juanma Barranquero <lektu@terra.es>
5691 * language/vietnamese.el ("Vietnamese"): Fix typos.
5693 * info-xref.el (info-xref-check-buffer): Fix typo.
5695 * makefile.w32-in (DONTCOMPILE): Add malayalam.el and tamil.el.
5697 2003-02-11 Kenichi Handa <handa@m17n.org>
5699 * loadup.el: Load "language/malayalam" and "language/tamil".
5701 2003-02-11 KAWABATA, Taichi <kawabata@m17n.org>
5703 * Makefile.in (DONTCOMPILE): Add malayalam.el and tamil.el.
5705 * language/devan-util.el: Maintainer's mail address changed.
5706 (devanagari-composable-pattern): Add DANDA character.
5707 (dev-char-glyph): Add an entry for DANDA.
5709 * language/devanagari.el: Maintainer's mail address changed.
5711 * language/indian.el: Maintainer's mail address changed.
5713 * language/ind-util.el (indian-dev-base-table): Table fixed.
5714 (indian-pnj-base-table): Table contents defined.
5715 (indian-gjr-base-table): Likewise.
5716 (indian-ori-base-table): Likewise.
5717 (indian-bng-base-table): Likewise.
5718 (indian-asm-base-table): Likewise.
5719 (indian-tlg-base-table): Likewise.
5720 (indian-knd-base-table): Likewise.
5721 (indian-mlm-base-table): Likewise.
5722 (indian-tml-base-table): Likewise.
5723 (indian-pnj-itrans-v5-hash, indian-gjr-itrans-v5-hash)
5724 (indian-ori-itrans-v5-hash, indian-bng-itrans-v5-hash)
5725 (indian-asm-itrans-v5-hash, indian-tlg-itrans-v5-hash)
5726 (indian-knd-itrans-v5-hash, indian-mlm-itrans-v5-hash)
5727 (indian-tml-itrans-v5-hash): New variables.
5729 * language/malayalam.el: New file.
5730 * language/mlm-util.el: New file.
5731 * language/tamil.el: New file.
5732 * language/tml-util.el: New file.
5734 2003-02-11 Kevin Ryde <user42@zip.com.au>
5736 * info-xref.el: New file.
5738 2003-02-10 Stefan Monnier <monnier@cs.yale.edu>
5740 * textmodes/page-ext.el (pages-directory-mode-map): New.
5741 (pages-directory-map): Redefine as an varalias.
5742 (pages-directory-mode): Use new map var and run mode hook.
5743 (pages-directory-address-mode): Use define-derived-mode.
5745 * textmodes/texinfmt.el (texinfo-format-iftex, texinfo-format-ifhtml)
5746 (texinfo-format-ifplaintext, texinfo-format-tex, texinfo-format-html)
5747 (texinfo-format-ifnotinfo, texinfo-format-titlepage)
5748 (texinfo-format-titlespec, texinfo-format-ignore, texinfo-if-set)
5749 (texinfo-if-clear): Use re-search-forward's return value.
5750 (texinfo-sort-startkeyfun, texinfo-format-buffer-1)
5751 (texinfo-format-region): Use line-{end,beginning}-position.
5752 (texinfo-append-refill, texinfo-alias): Use match-string-no-properties.
5754 * emacs-lisp/eldoc.el (eldoc-echo-area-multiline-supported-p)
5755 (eldoc-use-idle-timer-p): Remove.
5756 (timer): Never require. It only works in current Emacs anyway.
5757 (eldoc-mode, eldoc-message, eldoc-display-message-p)
5758 (eldoc-docstring-format-sym-doc, eldoc-remove-command): Simplify.
5760 * ffap.el (ffap-complete-as-file-p):
5761 Use minibuffer-completing-file-name.
5763 * international/mule.el (load-with-code-conversion): Use push.
5765 * font-core.el (font-lock-defontify): Use restore-buffer-modified-p.
5767 * gud.el (gud-gdb-run-command-fetch-lines, gud-display-line):
5768 Use with-current-buffer and simplify.
5770 * help-mode.el (help-xref-on-pp): Only add xref if the text
5773 * pcvs-parse.el (cvs-parse-table): "no longer in repo" does not
5774 make the file dead if we used the -n arg.
5776 * emacs-lisp/cl-macs.el (process-get): Add setf method.
5778 * server.el (server-previous-strings): Remove.
5779 (server-process-filter): Use (process-get 'previous-string) instead.
5780 (server-sentinel): Remove code made superfluous.
5782 2003-02-10 Luc Teirlinck <teirllm@mail.auburn.edu>
5784 * info.el (Info-follow-nearest-node): Implement new behavior.
5786 2003-02-10 Juanma Barranquero <lektu@terra.es>
5788 * progmodes/ebnf-otz.el (ebnf-optimize, ebnf-optimize1): Fix typo.
5790 * progmodes/ebnf2ps.el (ebnf2ps): Fix typo.
5791 (ebnf-syntactic): Change group name and tag from "ebnf-syntatic".
5792 (ebnf-syntax, ebnf-lex-comment-char, ebnf-lex-eop-char)
5793 (ebnf-terminal-regexp, ebnf-case-fold-search)
5794 (ebnf-iso-alternative-p, ebnf-iso-normalize-p)
5795 (ebnf-yac-ignore-error-recovery): Add to group "ebnf-syntactic", not
5797 (ebnf-optimize, ebnf-print-buffer, ebnf-print-region)
5798 (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-buffer)
5799 (ebnf-eps-region, ebnf-syntax-buffer, ebnf-syntax-region)
5800 (ebnf-generate-region): Fix typo.
5802 2003-02-10 KAWABATA, Taichi <kawabata@m17n.org>
5804 * language/ind-util.el (indian-itrans-v5-table): Add entries for
5807 2003-02-10 Martin Stjernholm <bug-cc-mode@gnu.org>
5809 * progmodes/cc-styles.el (c-set-offset): Don't find a default
5810 syntactic element through syntactic analysis if called outside
5813 2003-02-09 Martin Stjernholm <bug-cc-mode@gnu.org>
5815 * progmodes/cc-mode.el (c-basic-common-init):
5816 Install `c-fill-paragraph' on `fill-paragraph-function'.
5817 Although it's not the normal way to call it in a CC Mode buffer it
5818 makes a direct call to `fill-paragraph' work better.
5820 2003-02-08 Kim F. Storm <storm@cua.dk>
5822 * printing.el (pr-get-symbol): Define during compile.
5824 2003-02-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5826 * printing.el: New file.
5828 2003-02-07 Francesco Potortì <pot@gnu.org>
5830 * language/european.el ("French", "Slovenian"): Fix doc strings.
5832 2003-02-06 John Paul Wallington <jpw@gnu.org>
5834 * mail/rmailsum.el (rmail-summary-previous-msg): Add docstring.
5835 (rmail-summary-line-count-flag, rmail-summary-previous-labeled-message)
5836 (rmail-summary-next-labeled-message, rmail-summary-resend)
5837 (rmail-summary-override-mail-send-and-exit): Doc fixes.
5839 2003-02-06 Francesco Potortì <pot@gnu.org>
5841 * language/european.el ("Italian"): New.
5843 2003-02-06 Matthew Swift <swift@alum.mit.edu>
5845 * dired.el (dired-move-to-filename-regexp): Support "K" suffix on
5848 2003-02-05 Juanma Barranquero <lektu@terra.es>
5850 * font-lock.el (font-lock-reference-face): Add obsolescence
5851 declaration and remove redundant info from docstring.
5853 * log-edit.el (cvs-commit-buffer-require-final-newline)
5854 (cvs-changelog-full-paragraphs): Likewise.
5856 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
5857 (mouse-wheel-click-button): Likewise.
5859 * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name): Likewise.
5861 * vc.el (vc-annotate-display, vc-checkout-carefully): Likewise.
5863 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5864 (vc-header-alist): Likewise.
5866 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Likewise.
5868 * textmodes/outline.el (outline-visible): Likewise.
5870 2003-02-05 Kim F. Storm <storm@cua.dk>
5872 * ido.el (ido-define-mode-map):
5873 Undo last change (duplicates part of 2003-02-04 change).
5874 Remap `viper' delete commands only in file or dir mode.
5876 2003-02-05 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
5878 * ido.el (ido-define-mode-map): Interact with Viper.
5880 2003-02-05 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
5882 * net/tramp.el: Version 2.0.29 released.
5883 (tramp-send-region): Protect against tramp-chunksize being nil.
5884 (tramp-chunksize): Set default to 500 as workaround for some ssh
5886 (tramp-handle-directory-file-name): New implementation. Not sure
5888 (tramp-md5-function): Require md5 before checking function md5.
5889 If using md5-encode, put wrapper around it that converts vector of
5890 bytes to ascii text.
5891 (top-level): Avoid byte-compiler warnings of unused variables if
5892 the byte-compiler supports this. This is for the
5893 with-parsed-tramp-file-name macro which is wont to produce such stuff.
5895 2003-02-05 Michael Albinus <Michael.Albinus@alcatel.de>
5897 * net/tramp.el (tramp-handle-directory-file-name): Handle the case
5899 (tramp-completion-handle-file-name-all-completions):
5900 Define `tramp-current-user' locally. See `tramp-parse-passwd'.
5901 (tramp-parse-passwd): For su-alike methods it would be desirable
5902 to return "root@localhost" as default. Unfortunately, we have no
5903 information whether any user name has been typed already. So we
5904 (mis-)use tramp-current-user as indication, assuming it is set in
5905 `tramp-completion-handle-file-name-all-completions'.
5906 (tramp-send-region): Handle the case `tramp-chunksize' is equal 0.
5907 I did it accidentally. Infinite loop ...
5908 (tramp-get-device): `tramp-make-tramp-file-name' must not be
5909 called with NIL path. It fails in case of multi-method.
5910 (tramp-file-name-for-operation): Apply `expand-file-name' for
5911 relative file names only. Otherwise there might be problems if
5912 the default directory is another Tramp directory as the directory
5913 the file is based on.
5914 (tramp-find-foreign-file-name-handler): Check whether FILENAME is
5915 a Tramp file name. It isn't if it comes from an expanded file
5916 name (like "/xx:yy//zz").
5917 (tramp-devices): New variable. Keeps virtual device numbers.
5918 Devices must distinguish physical file systems. The device
5919 numbers provided by "lstat" aren't unique, because we operate on
5920 different hosts. So we use virtual device numbers, generated by
5921 `tramp-get-device'. Both Ange-FTP and EFS use device number -1.
5922 In order to be different, we use device number (-1 x), whereby "x"
5923 is unique for a given (multi-method method user host).
5925 (tramp-perl-file-attributes): Always return device number -1.
5926 There will be a virtual device number set in
5927 `tramp-handle-file-attributes', which replaces this one.
5928 (tramp-handle-file-attributes): Set virtual device number.
5929 (tramp-get-device): New function. Returns the virtual device
5930 number. If it doesn't exist, generate a new one.
5931 (tramp-handle-file-regular-p): Use Emacs file name primitives
5932 instead of calling tramp-handle-* equivalents directly.
5933 Needed for tramp-smb.
5934 (tramp-completion-function-alist-ssh): Add parsing of
5935 "/etc/ssh_config" and "~/.ssh/config". Suggested by Kai.
5936 (tramp-completion-function-alist, tramp-set-completion-function):
5938 (tramp-parse-sconfig, tramp-parse-sconfig-group): New functions.
5939 Provide parsing of "~/.ssh/config" style files.
5940 (tramp-completion-handle-expand-file-name):
5941 Apply `tramp-drop-volume-letter'. Otherwise, there are problems
5943 (tramp-completion-mode): Perform check (integerp last-input-event)
5944 before (event-modifiers last-input-event) -- there might be
5945 problems if `last-input-event' is a mouse event.
5946 (tramp-parse-rhosts, tramp-parse-shosts)
5947 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc):
5948 Use `file-readable-p' instead of `file-exists-p'. Otherwise these
5949 functions might block. Reported by <kin@neoscale.com>.
5951 * net/tramp-ftp.el (top-level): eval-after-load "ange-ftp"
5952 '(tramp-disable-ange-ftp). Suggested by Kai.
5953 (tramp-ftp-file-name-handler): `tramp-disable-ange-ftp' not needed
5955 (top-level): Defaults for `tramp-default-method-alist' must be a list.
5957 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5958 Apply `tramp-handle-directory-file-name'.
5959 (tramp-smb-handle-file-attributes): Apply `tramp-get-device'.
5960 ATIME and CTIME are (0 0) now (= "don't know"), which is more honest.
5961 (tramp-smb-handle-make-directory): Use Emacs file name primitives
5962 instead of calling tramp-smb-handle-* equivalents directly.
5963 (tramp-smb-read-file-entry): Return size as a number, not a string.
5964 (top-level): Defaults for `tramp-default-method-alist' must be a list.
5966 2003-02-05 Stefan Monnier <monnier@cs.yale.edu>
5968 * completion.el (eval-when-compile-load-eval, completion-eval-when)
5969 (cmpl-read-time-eval, minibuffer-window-selected-p): Remove.
5970 (completion-min-length, completion-max-length)
5971 (completion-prefix-min-length): Don't hard-code the default value
5972 when byte-compiling.
5973 (complete): Inline minibuffer-window-selected-p.
5975 2003-02-04 Richard M. Stallman <rms@gnu.org>
5977 * term.el (term-raw-map): Set it up at load time.
5978 (term-char-mode): Don't set up term-raw-map here.
5979 (term-set-escape-char): Don't set up C-x subcommand.
5980 (term-ansi-face-already-done): Renamed from
5981 term-ansi-face-alredy-done.
5982 (term-command-hook): Avoid error if STRING is empty.
5983 (term, term-mode): Doc fixes.
5985 * term.el: Redesign handling of colors and faces.
5986 Delete all the faces that this mode used to make.
5987 (ansi-term-color-vector): New variable.
5988 (ansi-term-fg-faces-vector, ansi-term-bg-faces-vector)
5989 (ansi-term-inv-bg-faces-vector, ansi-term-inv-fg-faces-vector):
5991 (term-default-fg-color, term-default-bg-color): Use defcustom.
5992 (term-handle-colors-array): Use ansi-term-color-vector,
5993 and specify face attributes rather than faces in `face' property.
5995 * term.el (term-ansi-fg-faces-vector, term-ansi-bg-faces-vector)
5996 (term-ansi-inv-fg-faces-vector, term-ansi-inv-bg-faces-vector)
5997 (term-ansi-reverse-faces-vector): Delete unused variables.
5998 (term-ignore-error): Delete macro.
6000 * simple.el (back-to-indentation): Skip all whitespace
6001 except for newlines.
6003 * files.el (find-alternate-file): Handle dired-directory
6004 like buffer-file-name.
6006 * dired.el (dired-find-buffer-nocreate): Avoid error if
6007 dired-directory is nil.
6009 2003-02-04 Juanma Barranquero <lektu@terra.es>
6011 * image.el (image-type-regexps): Fix typo.
6013 * international/characters.el: Restore missing space and put a
6014 comment to protect it from being deleted as trailing whitespace.
6016 * ruler-mode.el (ruler-mode-margins-char): Likewise.
6018 2003-02-04 Francesco Potortì <pot@gnu.org>
6020 * mail/rmailout.el (rmail-output): If preserving MIME-version,
6021 preserve Content-type too.
6023 2003-02-04 Kim F. Storm <storm@cua.dk>
6025 * ido.el (ido-define-mode-map): Remap viper delete char/word
6026 commands to their ido specific equivalents. Disable ESC in
6027 viper mode (to avoid exiting insert mode), since ido doesn't
6028 work in viper command mode.
6029 (ido-delete-backward-updir, ido-delete-backward-word-updir):
6030 Handle remapped viper commands.
6032 2003-02-03 Juanma Barranquero <lektu@terra.es>
6034 * calculator.el (calculator): Don't use the minibuffer even in
6035 electric mode; use a private buffer and display it in the minibuffer
6036 window using `set-window-buffer'.
6038 2003-02-03 Dave Love <fx@gnu.org>
6040 * emacs-lisp/benchmark.el: New.
6042 2003-02-02 Andreas Schwab <schwab@suse.de>
6044 * progmodes/asm-mode.el (asm-font-lock-keywords): Allow arbitrary
6045 words separated by dots. Match optional parenthesized word at
6049 (font-lock-match-c-style-declaration-item-and-skip-to-next):
6050 Don't require underscore in word before double open-paren.
6052 2003-02-02 John Paul Wallington <jpw@gnu.org>
6054 * hexl.el (hexl-mode-map): Bind C-m to `hexl-self-insert-command'.
6056 2003-02-01 Stephen Gildea <gildea@stop.mail-abuse.org>
6058 * time-stamp.el: Tweak doc strings and preamble commentary.
6059 (time-stamp): Fix parsing of "%%a" in time-stamp-pattern (change
6060 regexp subpattern 5)
6061 (time-stamp-pattern): Initialize to nil to avoid regexp work in
6063 (time-stamp-string): Call set-time-zone-rule instead of setenv.
6064 (time-stamp-hhmmss): Remove (not needed after all).
6065 (time-stamp-month-dd-yyyy, time-stamp-dd/mm/yyyy)
6066 (time-stamp-mon-dd-yyyy, time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
6067 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd, time-stamp-yymmdd)
6068 (time-stamp-hh:mm:ss, time-stamp-hhmm): Make obsolete.
6070 2003-01-31 Stefan Monnier <monnier@cs.yale.edu>
6072 * cus-edit.el (custom-unlispify-menu-entry): Use with-current-buffer.
6073 (custom-save-variables): Use dolist, simplify.
6074 Output a message if a `requests' entry looks suspicious.
6075 (custom-save-faces): Use dolist, simplify.
6077 2003-01-31 Christoph Wedler <Christoph.Wedler@sap.com>
6079 * progmodes/antlr-mode.el: Bug fixes, miscellaneous.
6080 (antlr-mode): Make major mode work with cc-mode-5.29 or higher,
6081 make it more robust against changes in cc-mode's style variables
6082 by using `boundp' and function `c-init-language-vars' if defined.
6083 (antlr-c++-mode-extra): Only ask if language is not "Cpp".
6084 (antlr-read-value): With completion, ignore case.
6085 (antlr-run-tool-interactive): New function.
6086 (antlr-run-tool): Use it for `interactive' specification.
6088 * progmodes/antlr-mode.el: Simplify Emacs/XEmacs compatibility.
6089 (cond-emacs-xemacs): New compile-time macro.
6090 (defunx): New compile-time macro.
6091 (ignore-errors-x): New compile-time macro.
6092 (save-buffer-state-x): New compile-time macro.
6094 (antlr-scan-sexps, antlr-simple-scan-sexps): Deletia.
6095 (antlr-scan-lists, antlr-simple-scan-sexps): Deletia.
6096 (antlr-simple-default-directory): Deletia.
6097 (antlr-default-directory): Define directly.
6098 (antlr-simple-read-shell-command): Deletia.
6099 (antlr-read-shell-command): Define directly.
6100 (antlr-simple-with-displaying-help-buffer): Deletia.
6101 (antlr-with-displaying-help-buffer): Define directly.
6102 (antlr-fast-invalidate-context-cache): Deletia.
6103 (antlr-slow-invalidate-context-cache): Deletia.
6104 (antlr-invalidate-context-cache): Define directly.
6105 (antlr-fast-syntactic-context): Deletia.
6106 (antlr-slow-syntactic-context): Deletia.
6107 (antlr-syntactic-context): Define directly.
6109 (antlr-mode-menu): Use new macros.
6110 (antlr-font-lock-additional-keywords): Ditto.
6111 (antlr-skip-sexps): Ditto.
6112 (antlr-end-of-rule): Ditto.
6113 (antlr-beginning-of-rule): Ditto.
6114 (antlr-end-of-body): Ditto.
6115 (antlr-beginning-of-body): Ditto.
6116 (antlr-hide-actions): Ditto.
6117 (antlr-option-kind): Ditto.
6119 * progmodes/antlr-mode.el: In Emacs, use face attribute
6121 (antlr-font-lock-keyword-face): Use new macros.
6122 (antlr-font-lock-syntax-face): Ditto.
6123 (antlr-font-lock-ruledef-face): Ditto.
6124 (antlr-font-lock-tokendef-face): Ditto.
6125 (antlr-font-lock-literal-face): Ditto.
6127 Changes from 2002-05-24:
6129 * progmodes/antlr-mode.el: Version 2.2a.
6131 Changes from 2002-05-03:
6133 * progmodes/antlr-mode.el: Make context parsing faster on Emacs,
6134 for faster syntax highlighting, indentation and imenu support.
6135 Suggested by Aaron Davies <adavies42@users.sourceforge.net>.
6136 (antlr-slow-context-cache): New variable.
6137 (antlr-slow-syntactic-context): Use cache.
6138 (antlr-slow-cache-enabling-symbol): New internal variable.
6139 (antlr-slow-cache-diff-threshold): New variable.
6140 (antlr-fast-invalidate-context-cache): Renamed from
6141 antlr-xemacs-bug-workaround.
6142 (antlr-imenu-create-index-function): Search from beginning.
6144 * progmodes/antlr-mode.el: More sophisticated indentation, i.e.,
6145 use the indentation engine of cc-mode for most actions.
6146 (antlr-c-common-init): Allow nil for `antlr-indent-style'.
6147 (antlr-indent-line): Use indentation engine of cc-mode more often.
6148 (antlr-indent-at-bol-alist): Only used for header actions.
6149 (antlr-disabling-cc-syntactic-symbols): New variable.
6150 (antlr-indent-item-regexp): Delete stuff for actions.
6151 (antlr-indent-at-bol-alist): With language "Java", indent
6152 "package" and "import" at column 0 in header part.
6154 * progmodes/antlr-mode.el (antlr-simple-default-directory): Define.
6155 (antlr-simple-read-shell-command): Define.
6156 (antlr-simple-with-displaying-help-buffer): Define.
6157 (antlr-simple-scan-sexps, antlr-simple-scan-lists):
6158 Renamed from antlr-scan-{sexps,lists}-internal.
6160 Changes from 2002-02-28:
6162 * progmodes/antlr-mode.el: Version 2.2 is released.
6164 * progmodes/antlr-mode.el (antlr): Moved to SourceForge.net
6166 * progmodes/antlr-mode.el: Minor bug fixes: insert options
6168 (antlr-option-location): Don't use point as position where to
6169 insert options if point is in comment.
6170 (antlr-mode): Don't set style here.
6171 (antlr-c-common-init): Set style here. If boundp, set
6172 `c-current-comment-prefix' to not break indentation in comments.
6173 Hm, I should probably split `c-common-init' from cc-mode into two
6174 parts, one of which I could use for antlr-mode.el.
6176 Changes from 2002-01-31:
6178 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6179 Also highlight `~' with `antlr-font-lock-syntax-face'.
6180 Suggested by Helmut Neukirchen <neukirchen@itm.mu-luebeck.de>.
6182 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
6193 * international/mule.el:
6194 * net/browse-url.el:
6198 * woman.el: Added cygwin to system-type comparisons.
6200 2003-01-31 Francesco Potortì <pot@gnu.org>
6202 * mail/undigest.el (rmail-forward-separator-regex): New custom
6204 (unforward-rmail-message): Use it.
6206 2003-01-30 Dave Love <fx@gnu.org>
6208 * textmodes/ispell.el (lookup-words): Fix last change.
6210 2003-01-29 John Paul Wallington <jpw@gnu.org>
6212 * font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'.
6214 * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
6215 `deftheme'. Fix docstring offsets for `define-ibuffer-filter' and
6216 `define-ibuffer-sorter'.
6217 (lisp-imenu-generic-expression): Add `deftheme' to types.
6219 * custom.el (customize-mark-to-save, customize-mark-as-set)
6220 (custom-remove-theme): Doc fixes.
6222 2003-01-29 Didier Verna <didier@xemacs.org>
6224 * cus-edit.el (custom-save-variables): Also save non theme'd ones.
6225 * cus-edit.el (custom-save-faces): Ditto.
6227 2003-01-29 Juanma Barranquero <lektu@terra.es>
6229 * composite.el (decompose-composite-char): Fix docstring.
6231 * select.el (x-set-cut-buffer): Fix docstring. Check type with
6232 `stringp' instead of `substring'.
6234 * textmodes/reftex.el (reftex-TeX-master-file): Use really the buffer
6235 file name if no other master file is located.
6237 * progmodes/cperl-mode.el (cperl-beautify-level)
6238 (cperl-beautify-regexp): Fix use of `prefix-numeric-value'.
6239 (cperl-calculate-indent): Fix typo.
6241 2003-01-29 Taro Kawagishi <tarok@transpulse.org>
6243 * arc-mode.el (archive-lzh-summarize): Fix previous change.
6245 2003-01-29 Kim F. Storm <storm@cua.dk>
6247 * emacs-lisp/authors.el: New format of AUTHORS file; list each
6248 author name once followed by contributed and changed files.
6249 Improve selection of entries to include in list, and generate list
6250 of unrecognized entries indicating syntax errors in ChangeLog files.
6251 (authors-coding-system): New variable.
6252 (authors-many-files): Update doc string.
6253 (authors-aliases): Change format. Now one entry with multiple
6255 (authors-valid-file-names, authors-renamed-files-alist)
6256 (authors-renamed-files-regexps): New variables.
6257 (authors-canonical-file-name): New function. Validates that file
6258 exists or occurs in one of the above lists. Record unrecognized
6259 file names in global authors-invalid-file-names list.
6260 (authors-add): Change to record per-change counts.
6261 (authors-canonical-author-name): Handle new format of
6262 authors-aliases list.
6263 (authors-scan-change-log): Rename FILE arg to LOG-FILE.
6264 Change doc string to describe new entry format.
6265 Only add author entries for valid file names.
6266 (authors-print): Replace by authors-add-to-author-list.
6267 (authors-add-to-author-list): New function which reorders
6268 per-file entries and adds them to global authors-author-list.
6269 (authors): Instead of authors-print to insert in *Authors* buffer,
6270 use authors-add-to-author-list to reorder the list and then
6271 insert result in *Authors* buffer with new format.
6272 Generate *Authors Errors* compilation-mode buffer listing
6273 unrecognized ChangeLog entries.
6275 2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
6277 * term/mac-win.el: Add entries in function-key-map for
6278 [tab], [backspace], [escape].
6280 2003-01-28 Kim F. Storm <storm@cua.dk>
6282 * info.el (Info-extract-menu-node-name): Another fix for
6283 2003-01-24 change. Also stop search if : is followed by TAB.
6285 2003-01-28 John Paul Wallington <jpw@gnu.org>
6287 * ibuf-ext.el (ibuffer-yank-filter-group): Move check for empty
6288 `ibuffer-filter-group-kill-ring' out of `interactive' declaration.
6290 2003-01-28 Martin Stjernholm <bug-cc-mode@gnu.org>
6292 * progmodes/cc-vars.el, progmodes/cc-mode.el
6293 (c-require-final-newline): Made this variable an alist to
6294 specify a value for each language. The default value causes
6295 `require-final-newline' to be set to t only in languages where
6296 the standard requires a final newline.
6298 2003-01-27 Kim F. Storm <storm@cua.dk>
6300 * simple.el (kill-new): Improve doc string for yank-handler.
6301 Signal args-out-of-range error if yank-handler is specified for
6304 * subr.el (insert-for-yank): Remove COMMAND element from yank handler.
6306 2003-01-27 Dave Love <fx@gnu.org>
6308 * dired-x.el (dired-filename-at-point): Fix last change and tidy up.
6310 * thingatpt.el (thing-at-point-file-name-chars):
6311 Include non-ASCII again and re-write the filename ops.
6313 2003-01-27 David Ponce <david@dponce.com>
6315 * makefile.w32-in (update-subdirs-SH): Create lisp/subdirs.el.
6317 2003-01-27 Juanma Barranquero <lektu@terra.es>
6319 * filesets.el (filesets-file-open): Fix typo.
6321 * vcursor.el (vcursor-disable): Likewise.
6323 * eshell/esh-cmd.el (eshell-separate-commands): Likewise.
6325 * progmodes/cc-styles.el (c-make-styles-buffer-local): Likewise.
6327 * progmodes/cc-vars.el (c-offsets-alist): Likewise.
6329 * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Likewise.
6331 2003-01-26 Martin Stjernholm <bug-cc-mode@gnu.org>
6333 * progmodes/cc-vars.el, progmodes/cc-mode.el
6334 (c-require-final-newline): Add a variable to make the
6335 initialization of `require-final-newline' more configurable.
6337 2003-01-26 Jan Djärv <jan.h.d@swipnet.se>
6339 * emacs-lisp/authors.el (authors-aliases): Add Jan D.
6340 Set iso-2022-7bit coding: cookie.
6342 2003-01-26 Kim F. Storm <storm@cua.dk>
6344 * info.el (Info-extract-menu-node-name): Fix 2003-01-24 change.
6345 Don't search for next colon if current colon is followed by
6346 one of ".", ",", ";", or ")".
6347 (info-insert-file-contents) [!MSDOS]: Avoid byte-compiler warning.
6348 (Info-find-node) [!MSDOS]: Avoid byte-compiler warning.
6350 2003-01-26 Richard M. Stallman <rms@gnu.org>
6352 * thingatpt.el (thing-at-point-file-name-chars): Undo previous change.
6354 2003-01-25 Bill Wohler <wohler@newt.com>
6356 * mh-e: Created directory. ChangeLog will appear in a week when we
6357 release version 7.2.
6359 * mail/mh-alias.el, mail/mh-comp.el, mail/mh-customize.el, mail/mh-e.el:
6360 * mail/mh-funcs.el, mail/mh-identity.el, mail/mh-index.el:
6361 * mail/mh-loaddefs.el, mail/mh-mime.el, mail/mh-pick.el:
6362 * mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el:
6363 * mail/mh-xemacs-compat.el: Move to mh-e directory.
6364 Note that reply2.pbm and reply2.xpm, which were created by the
6365 MH-E package, were left in mail since they can probably be used by
6366 other mail packages.
6368 * makefile.w32-in (WINS): Add mh-e.
6370 * makefile.nt (WINS): Add mh-e.
6372 2003-01-25 Richard M. Stallman <rms@gnu.org>
6374 * emacs-lisp/bytecomp.el (byte-compile-file-form-custom-declare-variable):
6375 Compile any lambda-expressions among the args.
6377 * view.el (view-mode): Doc fix.
6379 * ido.el: Many doc fixes.
6380 (ido-complete): Fix message.
6382 2003-01-25 Taro Kawagishi <tarok@transpulse.org>
6384 * arc-mode.el (archive-unixdate): Correct the date field string.
6385 (archive-lzh-summarize): Extend it to allow the LZH level 2 header
6386 type (which is most prevalent now), in addition to the already
6387 supported level 0 and 1 header types.
6389 2003-01-25 Markus Rost <rost@math.ohio-state.edu>
6391 * international/mule-cmds.el (set-language-info)
6392 (current-language-environment): Simplify setting the type of
6393 current-language-environment.
6395 2003-01-25 Kim F. Storm <storm@cua.dk>
6397 * emulation/cua-base.el (cua--init-keymaps): Move C-S-x and C-S-c
6398 bindings from cua--cua-keys-keymap to cua--region-keymap, as they are
6399 only needed when the region is active. This also makes the output
6400 from C-h b look normal when cua-mode is enabled (no C-S-x/c bindings).
6402 2003-01-25 Michael Kifer <kifer@cs.stonybrook.edu>
6404 * ediff.el (ediff-revision): Better defaults.
6406 * ediff-vers.el (ediff-vc-latest-version): New function.
6407 (ediff-vc-internal): Use latest version instead of working version.
6409 2003-01-24 Thien-Thi Nguyen <ttn@gnu.org>
6411 * info.el (Info-extract-menu-node-name): When looking for end of menu
6412 item, don't stop at first ":"; instead, continue until trailing
6413 context is either a space or newline.
6414 (Info-complete-menu-item): Var `pattern': allow ":" in menu item.
6415 (Info-menu): Likewise, for regexp used in backwards search.
6416 (Info-try-follow-nearest-node): Remove case added in previous edit.
6417 Change regexp in the following case to allow ":" in menu item.
6418 (Info-fontify-node): Fix bug: Handle `next-property-change' returning
6419 point-max as "hasn't already been done".
6421 2003-01-24 Thien-Thi Nguyen <ttn@gnu.org>
6423 * info.el (Info-try-follow-nearest-node): Add case: Handle menu item
6424 terminated by ": " as an index entry.
6426 2003-01-24 Juanma Barranquero <lektu@terra.es>
6428 * isearch.el (isearch-forward): Fix typo.
6430 2003-01-24 Kenichi Handa <handa@m17n.org>
6432 * international/mule.el (decode-coding-inserted-region):
6433 Rename from decode-coding-region-as-inserted-from-file to make it fit
6434 well in the Lisp manual.
6436 * jka-compr.el (jka-compr-insert-file-contents):
6437 Call decode-coding-inserted-region.
6439 2003-01-24 John Paul Wallington <jpw@gnu.org>
6441 * ibuffer.el (ibuffer-window-list): Remove.
6442 (ibuffer-confirm-operation-on): Use `window-list' instead.
6443 (ibuffer-load-hook): New customizable variable.
6445 (ibuffer-customize): New command.
6446 (ibuffer-mode-map): Bind it.
6447 (ibuffer-mode-map): Add menu separator in View>Sort menu.
6448 (ibuffer-mode): Tidy.
6449 (ibuffer-fontification-alist, ibuffer-always-show-last-buffer)
6450 (ibuffer-default-directory, ibuffer-default-sorting-mode)
6451 (ibuffer-maybe-show-predicates, ibuffer-hook, ibuffer-mode-hook)
6452 (ibuffer-map-lines): Doc fixes.
6454 * ibuf-ext.el (ibuffer-copy-filename-as-kill): C-u means relative
6455 filenames. Use `kill-new'.
6457 2003-01-23 Dave Love <fx@gnu.org>
6459 * abbrev.el (write-abbrev-file): Simplify, and put a coding cookie
6462 2003-01-23 Masatake YAMATO <jet@gyve.org>
6464 * progmodes/asm-mode.el (asm-mode): Add syntax table entries for
6467 2003-01-23 Kenichi Handa <handa@m17n.org>
6469 * files.el (insert-directory): Read the output of "ls" by
6470 no-conversion, and decode it later while preserving
6471 `dired-filename' property.
6473 2003-01-23 Markus Rost <rost@math.ohio-state.edu>
6475 * descr-text.el (describe-text-mode-hook): Add a group.
6477 2003-01-23 John Paul Wallington <jpw@shootybangbang.com>
6479 * term/mac-win.el (interprogram-paste-function): Handle empty
6482 2003-01-22 Aubrey Jaffer <agj@alum.mit.edu> (tiny change)
6484 * info.el (Info-index): Change pattern so that index entries with
6485 colons can be read properly; also, require at least one space
6486 after the colons, which makeinfo puts in.
6488 2003-01-22 Andreas Schwab <schwab@suse.de>
6490 * jka-compr.el (jka-compr-insert-file-contents): Fix typo in last
6493 2003-01-22 Markus Rost <rost@math.ohio-state.edu>
6495 * Makefile.in (bootstrap-after): New target.
6496 (bootstrap): Move finder-data, custom-deps to bootstrap-after.
6498 2003-01-22 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
6500 * info.el (Info-index-next): Use "(`,' tries to find next)" for
6501 more matches for consistency with standalone info browser.
6503 2003-01-22 Kenichi Handa <handa@m17n.org>
6505 * international/mule.el
6506 (decode-coding-region-as-inserted-from-file): New function.
6508 * jka-compr.el (jka-compr-insert-file-contents): Read a process
6509 output without decoding. Decode the result by
6510 decode-coding-region-as-inserted-from-file.
6512 2003-01-22 Kim F. Storm <storm@cua.dk>
6514 * ido.el (ido-make-file-list, ido-make-dir-list): Don't move
6515 visited directories to end of list; it's the wrong thing to do if
6516 we want to find a file or directory in such directories.
6518 * simple.el: Doc fixes.
6519 * subr.el: Doc fixes.
6521 2003-01-20 Nick Roberts <nick@nick.uklinux.net>
6523 * gud.el (gud-display-line): If the current file is newer than its
6524 buffer, offer to reread the file.
6525 (gud-keep-buffer): New buffer local variable. Ensures offer to
6526 reread file is made just once.
6528 2003-01-20 Stefan Monnier <monnier@cs.yale.edu>
6530 * emacs-lisp/regexp-opt.el (regexp-opt-group): Undo last change.
6531 Fix the docstring instead.
6533 2003-01-20 Glenn Morris <gmorris@ast.cam.ac.uk>
6535 * calendar/calendar.el (calendar-only-one-frame-setup): Autoload it.
6537 2003-01-20 Richard M. Stallman <rms@gnu.org>
6539 * simple.el (completion-setup-function): Set default-directory
6540 in the minibuffer, so it'll be copied into the completion list buffer.
6542 * emacs-lisp/regexp-opt.el (regexp-opt-group): Compute HALF2 properly.
6544 * loadup.el (load-path): Rename `path' local var.
6546 * progmodes/octave-mod.el (octave-mode-map): Change C-c i bindings
6547 to C-c C-i. Duplicate its bindings with last char a ctl char.
6548 Also change C-c f to C-c C-f.
6550 2003-01-20 Markus Rost <rost@math.ohio-state.edu>
6552 * ls-lisp.el (ls-lisp-use-insert-directory-program): Make default
6553 value system dependent.
6554 (ls-lisp-support-shell-wildcards): Add autoload cookie.
6556 2003-01-19 Kim F. Storm <storm@cua.dk>
6558 * msb.el: Use `dir' instead of `path' everywhere.
6560 2003-01-18 Kim F. Storm <storm@cua.dk>
6562 * simple.el (kill-new, kill-append, kill-region):
6563 New optional parameter yank-handler.
6564 (yank-excluded-properties): Add yank-handler to list.
6565 (yank-undo-function): New variable.
6566 (yank): Use it to undo previous yank or yank-pop command.
6567 Allow insert-for-yank to override this-command.
6569 * subr.el (insert-for-yank): Arg list changed; now only accepts one
6570 string rather than any number of strings; no callers needed change.
6571 Use yank-handler text property on the arg string.
6572 Set yank-undo-function variable appropriately for yank-pop.
6574 2003-01-18 Stefan Monnier <monnier@cs.yale.edu>
6576 * textmodes/fill.el (fill-comment-paragraph): Fix simplistic
6577 regexp-concatenation.
6579 * add-log.el (add-change-log-entry): Don't leave space at eol.
6580 (add-log-current-defun): Perl functions names can't have (or {.
6582 * progmodes/sh-script.el (sh-indent-line): Use indent-line-to.
6583 (sh-non-closing-paren): New const.
6584 (sh-case, sh-while-getopts): Use it to make props non-sticky.
6585 (sh-add-completer): Use test-completion.
6587 2003-01-18 Vasily Korytov <deskpot@myrealbox.com> (tiny change)
6589 * progmodes/cperl-mode.el: Don't make faces depend on window-system.
6591 2003-01-18 Markus Rost <rost@math.ohio-state.edu>
6593 * cus-edit.el (customize-changed-options): Undo last doc change.
6595 2003-01-17 Stefan Monnier <monnier@cs.yale.edu>
6597 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
6598 Don't treat \n specially in sub-skeletons.
6600 2003-01-17 Dave Love <fx@gnu.org>
6602 * international/ucs-tables.el: Redo 8859-6 change in the right place.
6604 2003-01-17 Kenichi Handa <handa@m17n.org>
6606 * international/fontset.el: Don't setup the default fontset and
6607 font-encoding-alist at the top level.
6608 (setup-default-fontset): New function.
6609 (create-fontset-from-fontset-spec): Delete autoload cookie.
6611 * term/x-win.el: Require fontset unconditionally again.
6612 Call setup-default-fontset at the top level.
6614 * term/w32-win.el: Call setup-default-fontset.
6616 * term/mac-win.el: Require fontset and call setup-default-fontset.
6618 2003-01-16 Stefan Monnier <monnier@cs.yale.edu>
6620 * textmodes/fill.el (fill-region-as-paragraph): Only erase `hard'
6621 property until end-of-paragraph.
6623 2003-01-16 Kenichi Handa <handa@m17n.org>
6625 * international/ucs-tables.el: Undo the last change.
6627 2003-01-15 Dave Love <fx@gnu.org>
6629 * thingatpt.el (thing-at-point-file-name-chars): Include non-ASCII
6630 and use documented treatment of -.
6632 * dired-x.el (dired-filename-at-point): Fix filename-chars.
6634 * international/ucs-tables.el: Set up tables for 8859-6.
6636 * server.el (server-window): Customize.
6638 (server-unload-hook): Call server-start.
6640 2003-01-15 John Wiegley <johnw@gnu.org>
6642 * eshell/em-hist.el (eshell-save-history-on-exit):
6643 Rename `eshell-ask-to-save-history' to `eshell-save-history-on-exit',
6644 because the former name is somewhat unrelated to the variables'
6647 2003-01-15 Deepak Goel <deego@gnufans.org>
6649 * calc/README: Add new maintainer.
6653 * calc/calc.el (calc-bug-address): Change address to deego@gnufans.org.
6655 2003-01-15 Andrew Innes <andrewi@gnu.org>
6657 * makefile.w32-in (loaddefs.el): Invoke make to build stub file
6658 using appropriate rule for build environment.
6659 (loaddefs.el-SH, loaddefs.el-CMD): New targets. Include small set
6660 of autoloads and defvars, sufficient to dump bootstrap emacs.
6661 (update-subdirs-SH): Use hard-coded list of top-level lisp
6662 subdirs, because find program on Windows is not compatible with
6664 (compile-CMD, compile-SH): Use `batch-byte-compile-if-not-done'.
6665 Explicitly load loaddefs.el so that bootstrap emacs can compile
6667 (bootstrap-clean): Add dependency on loaddefs.el, to ensure
6668 minimal stub sufficient for dumping bootstrap emacs is available.
6670 * loadup.el: Include lisp/textmodes in load-path for bootstrap
6671 emacs, to resolve ispell menu reference.
6673 2003-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> (tiny change)
6675 * international/mule.el (optimize-char-coding-system-table):
6678 * term/mac-win.el: Setup the fontset "fontset-mac" correctly.
6680 2003-01-14 Stefan Monnier <monnier@cs.yale.edu>
6682 * pcvs-info.el (cvs-fileinfo-from-entries): Deal with Solaris'
6683 occasional use of "05" rather than " 5" for day-of-month.
6685 * log-view.el (log-view-message-re): The rev might be locked.
6687 2003-01-14 Nick Roberts <nick@nick.uklinux.net>
6689 * gdb-ui.el: Improve commentary.
6690 (gdb-window-height, gdb-window-width, gdb-display-number-end):
6691 Customize the dimensions of frames for displayed expressions.
6692 (gdb-error-begin): Comment out because it is not used because of
6693 bug/quirk in annotations.
6694 (gdb-reset): Use with-current-buffer.
6696 2003-01-14 Kim F. Storm <storm@cua.dk>
6698 * ido.el (ido-read-internal, ido-file-internal)
6699 (ido-copy-current-file-name, ido-wide-find-dirs-or-files):
6700 Don't use `path' as name of local variables holding a file name.
6702 * arc-mode.el (archive-arc-rename-entry): Fix error message.
6703 (archive-lzh-summarize): Rename local var `path' to `dir'.
6704 (archive-unique-fname) [!MSDOS]: Avoid byte-compiler warning.
6706 * dired.el: Doc fixes.
6707 * dired-aux.el: Rename `whole-path' to `whole-name' throughout.
6708 (dired-mark-read-regexp): Use "Abs." prefix instead of "Path".
6709 * dired-x.el: Doc fixes.
6711 * fast-lock.el (fast-lock-cache-name): Doc fix.
6713 * net/browse-url.el (browse-url-filename-alist): Doc fix.
6715 2003-01-14 John Paul Wallington <jpw@shootybangbang.com>
6717 * apropos.el (apropos): Restore autoload cookie. Fix typo in
6718 "error retrieving function documentation" output.
6720 2003-01-14 Kim F. Storm <storm@cua.dk>
6722 * subr.el (process-put, process-get): New functions.
6724 * simple.el (clone-process): Copy process' plist to new process.
6726 2003-01-13 Markus Rost <rost@math.ohio-state.edu>
6728 * cus-dep.el (custom-make-dependencies): Don't set standard-value
6729 and version numbers for variables. Handle faces.
6731 * cus-edit.el (customize-changed-options): Doc addition. Load the
6732 version deps earlier. Use other tests for groups and variables.
6735 2003-01-14 Kim F. Storm <storm@cua.dk>
6737 * ido.el: Doc fixes.
6738 (ido-max-file-prompt-width): Rename from ido-max-prompt-path.
6739 (ido-rewrite-file-prompt-functions): Rename from
6740 ido-make-file-prompt-hook. Directory name is now in dynamic
6741 variable `dirname' (instead of `path').
6742 (ido-rewrite-file-prompt-rules): Rename from
6743 ido-rewrite-prompt-path-rules.
6744 (ido-make-prompt): Directory name now in `dirname' var.
6745 (ido-complete): Fix error message.
6747 2003-01-13 John Paul Wallington <jpw@shootybangbang.com>
6749 * server.el (server-process-filter): Use `minibufferp' to test
6750 whether we are inside a minibuffer.
6751 (server-process, server-kill-new-buffers): Doc fixes.
6753 2003-01-13 Dave Love <fx@gnu.org>
6755 * international/utf-16.el (mule-utf-16-be, mule-utf-16-le):
6756 Remove pre-write-conversion.
6758 2003-01-13 Kim F. Storm <storm@cua.dk>
6760 * hexl.el (hexl-mode-map): Don't quote remapped command names.
6762 2003-01-13 David Ponce <david@dponce.com>
6764 * ruler-mode.el (ruler-mode): Cleanup buffer local variable
6765 `header-line-format' if it didn't exist when `ruler-mode' was enabled.
6767 2003-01-13 Masatake YAMATO <jet@gyve.org>
6769 * ruler-mode.el (ruler-mode-comment-column-char)
6770 (ruler-mode-goal-column-char, ruler-mode-set-goal-column-ding-flag)
6771 (ruler-mode-mouse-current-grab-object): New variables.
6772 (ruler-mode-comment-column-face, ruler-mode-goal-column-face):
6774 (ruler-mode-mouse-set-fill-column): Remove.
6775 (ruler-mode-mouse-grab-any-column)
6776 (ruler-mode-mouse-drag-any-column-iteration)
6777 (ruler-mode-mouse-drag-any-column): New functions.
6778 (ruler-mode-map) [header-line down-mouse-2]: Bound to
6779 `ruler-mode-mouse-grab-any-column' instead of
6780 `ruler-mode-mouse-set-fill-column'.
6781 (ruler-mode-ruler-help-echo): Update its value.
6782 (ruler-mode-ruler-help-echo-when-goal-column): New help string used
6783 when goal-column is already set.
6784 (ruler-mode-ruler-help-echo-tab): Rename to...
6785 (ruler-mode-ruler-help-echo-when-tab-stops): New.
6786 (ruler-mode-fill-column-help-echo, ruler-mode-comment-column-help-echo)
6787 (ruler-mode-goal-column-help-echo): New help strings.
6788 (ruler-mode-ruler): Use `ruler-mode-ruler-help-echo-when-goal-column'
6789 instead of `ruler-mode-ruler-help-echo' if `goal-column' is set.
6790 Show `comment-column' and `goal-column'. Echo the different help
6791 string for each *-column characters on the ruler.
6793 2003-01-13 Richard M. Stallman <rms@gnu.org>
6795 * apropos.el (apropos-documentation-property): New function.
6796 (apropos): Use apropos-documentation-property.
6798 * files.el (mode-line-process): Mark as risky.
6800 * help.el (where-is): Catch errors in indirect-function.
6802 * server.el (server-process-filter): Comment out -eval.
6803 Don't switch buffers if inside isearch or minibuffer.
6805 * progmodes/compile.el (compilation-revert-buffer):
6806 If buffer has a file, revert it in the normal way.
6808 * term/x-win.el: Require fontset conditionally again.
6810 2003-01-13 Kim F. Storm <storm@cua.dk>
6812 * ido.el (ido-enable-tramp-completion): New defcustom.
6813 (ido-enter-single-matching-directory): Change default to 'slash.
6814 (ido-is-tramp-root): New defun.
6815 (ido-is-root-directory, ido-is-ftp-directory, ido-is-slow-ftp-host)
6816 (ido-may-cache-directory, ido-final-slash, ido-read-internal)
6817 (ido-complete, ido-make-file-list1, ido-make-dir-list1):
6818 Handle tramp completion.
6819 (ido-file-name-all-completions1): New defun for tramp completion.
6820 (ido-file-name-all-completions): Use it.
6821 (ido-set-matches1): Relax matching of text with trailing slash.
6822 (ido-exhibit): Handle tramp completion.
6823 Simplified code using nested cond forms using new `refresh' var.
6824 Fixed handling of /~user/ paths.
6826 2003-01-12 Andreas Schwab <schwab@suse.de>
6828 * arc-mode.el (archive-mode-map): Use command remapping instead of
6829 substitute-key-definition.
6830 * emerge.el (emerge-setup-fixed-keymaps): Likewise.
6831 * msb.el (msb-mode-map): Likewise.
6832 * forms.el (forms--change-commands): Likewise.
6833 * hexl.el (hexl-mode-map): Likewise.
6834 * mail/mailabbrev.el (Commentary): Likewise.
6835 * play/decipher.el (decipher-mode-map): Likewise.
6836 * play/gomoku.el (gomoku-mode-map): Likewise.
6837 * play/landmark.el (lm-mode-map): Likewise.
6838 * play/solitaire.el (solitaire-mode-map): Likewise.
6839 * progmodes/sh-script.el (sh-mode-map): Likewise.
6840 * textmodes/picture.el (picture-substitute): Likewise.
6842 * ielm.el (inferior-emacs-lisp-mode):
6843 Bind comint-dynamic-complete-functions locally.
6845 * buff-menu.el (Buffer-menu-select): Fix for effect of header line.
6847 2003-01-11 Andreas Schwab <schwab@suse.de>
6849 * textmodes/sgml-mode.el (sgml-font-lock-keywords-2): Add flag to
6850 merge with existing fontification.
6852 2003-01-11 Nick Roberts <nick@nick.uklinux.net>
6854 * gud.el (gud-kill-buffer-hook): Save gud-minor-mode type.
6855 (gud-reset): New function. Reset environment at end of debugging.
6856 (gud-sentinel): Call gud-reset or gdb-reset.
6857 (gud-menu-map, gud-tool-bar-map, gdb): Change gud-goto to gud-until.
6859 * gdb-ui.el (gud-display): Use GDB command ptype instead of whatis
6860 to find out if variable should be dereferenced.
6861 (gud-display1): Exit if there is `No symbol'.
6862 (gdb-expressions-mode-map): Correction to key-binding.
6863 (gdb-reset): New function. Reset environment at end of debugging.
6866 2003-01-10 Dave Love <fx@gnu.org>
6868 * international/code-pages.el (cp-make-coding-system): Fix last change.
6870 2003-01-10 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
6872 * dired.el (dired-garbage-files-regexp): Use \\' instead of $ and
6873 use regexp-opt for readability.
6875 2003-01-10 Mark A. Hershberger <mah@everybody.org>
6877 * xml.el (xml-parse-tag, xml-parse-attlist, xml-skip-dtd)
6878 (xml-parse-dtd, xml-parse-elem-type): Be more flexible in recognizing
6881 2003-01-10 Luc Teirlinck <teirllm@mail.auburn.edu>
6883 * progmodes/sh-script.el (sh-set-shell): Make sh-shell-file the default
6886 2003-01-09 John Wiegley <johnw@gnu.org>
6888 * pcomplete.el (pcomplete-termination-string): Add a variable
6889 for modifying the string which is inserted after a completion or
6890 expansion using pcomplete.
6892 2003-01-09 Karl Berry <karl@gnu.org>
6894 * sort.el (sort-regexp-fields): Pass noerror to re-search-forward,
6895 so that we don't fail if no records match record-regexp.
6897 2003-01-09 Markus Rost <rost@math.ohio-state.edu>
6899 * cus-edit.el (customize-group, customize-group-other-window):
6900 Remove unnecessary calls to custom-load-symbol.
6901 (custom-group-value-create):
6902 Load widget deps if state is not hidden. If widget deps are
6903 loaded, load them in advance.
6904 (custom-menu-create): If widget deps are loaded, load them earlier.
6906 2003-01-09 John Paul Wallington <jpw@shootybangbang.com>
6908 * language/ethio-util.el (ethio-gemination)
6909 (exit-ethiopic-environment): Doc fixes.
6911 * language/viet-util.el (viet-encode-viqr-region)
6912 (viet-decode-viqr-region, viet-encode-viqr-buffer)
6913 (viet-decode-viqr-buffer): Doc fixes.
6915 2003-01-09 ShengHuo ZHU <zsh@cs.rochester.edu>
6917 * paths.el: Remove gnus-startup-file.
6919 2003-01-08 Bill Wohler <wohler@newt.com>
6921 * mail/mh-alias.el, mail/mh-customize.el, mail/mh-identity.el,
6922 mail/mh-loaddefs.el, toolbar/alias.pbm, toolbar/alias.xpm: Added.
6924 * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
6925 mail/mh-index.el, mail/mh-mime.el, mail/mh-pick.el,
6926 mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el,
6927 mail/mh-xemacs-compat.el: Upgraded to MH-E version 7.1.
6929 2003-01-08 Kim F. Storm <storm@cua.dk>
6931 * mail/undigest.el (unforward-rmail-message): Don't use global
6934 2003-01-08 Francesco Potortì <pot@gnu.org>
6936 * mail/undigest.el (unforward-rmail-message): Simplified.
6937 No functional change.
6939 2003-01-07 Markus Rost <rost@math.ohio-state.edu>
6941 * custom.el (custom-autoload, custom-variable-p): New functions.
6943 * emacs-lisp/autoload.el (make-autoload):
6944 Generate custom-autoload for autoloaded defcustoms.
6946 * help-fns.el (describe-variable): Use custom-variable-p.
6948 * simple.el (set-variable): Load deps of custom variables without type.
6950 * cus-edit.el (custom-variable-prompt): Doc change.
6951 Use custom-variable-p.
6952 (customize-option): Remove search in loaddefs.el.
6953 (customize-apropos): Use custom-variable-p.
6954 (custom-save-variables): Use custom-variable-p to detect
6955 non-rogue variables.
6957 2003-01-07 Francesco Potortì <pot@gnu.org>
6959 * mail/undigest.el (unforward-rmail-message): Skip all newlines
6960 after the initial separator.
6961 (unforward-rmail-message): Forwarded-From: and Forwarded-Date:
6962 instead of Forwarded-from: and Forwarded-date:.
6964 2003-01-07 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
6966 * dired.el (dired-garbage-files-regexp): Add `.aux$'. These are
6969 2003-01-07 Andre Spiegel <spiegel@gnu.org>
6971 * vc-rcs.el (vc-rcs-checkout): Fix the check whether we are on a
6974 2003-01-06 Dave Love <fx@gnu.org>
6976 * textmodes/ispell.el (lookup-words): Cope with null lookup-dict.
6978 * language/chinese.el ("Chinese-EUC-TW"): New.
6980 2003-01-06 John Paul Wallington <jpw@shootybangbang.com>
6982 * mail/rmail.el (rmail-mmdf-delim1, rmail-mmdf-delim2): Doc fixes.
6984 2003-01-05 Richard M. Stallman <rms@gnu.org>
6986 * obsolete/uncompress.el: Display message that this pkg is obsolete.
6988 * isearch.el (isearch-repeat): Error if try to repeat search and
6989 there was no previous search.
6991 * dired.el (dired-recursive-deletes): Fix custom type.
6993 * dabbrev.el (dabbrev--substitute-expansion):
6994 Convert all whitespace to single spaces,
6995 except when it's carried over from the existing text.
6997 * simple.el (split-line): Clean up implementation.
6999 * mail/rmail.el (rmail-font-lock-keywords): Discard code to match
7001 (rmail-variables): Specify case-insensitive matching for font-lock.
7003 2003-01-05 Alexander Pohoyda <alexander.pohoyda@gmx.net> (tiny change)
7005 * mail/sendmail.el (mail-font-lock-keywords):
7006 * mail/rmail.el (rmail-font-lock-keywords): Match multiline
7007 In-Reply-To and X-*.
7009 2003-01-05 Mark A. Hershberger <mah@everybody.org>
7011 * xml.el (xml-substitute-special): Check for & last.
7013 2003-01-05 Dave Love <fx@gnu.org>
7015 * buff-menu.el (Buffer-menu-execute): Fix for effect of header line.
7017 2003-01-05 Dave Love <fx@gnu.org>
7019 * international/mule-diag.el (non-iso-charset-alist):
7020 Add vietnamese-tcvn.
7022 * international/mule-cmds.el (locale-language-names):
7023 Use Croatian, Swedish.
7025 2003-01-05 Andreas Schwab <schwab@suse.de>
7027 * buff-menu.el (Buffer-menu-buffer+size): Don't clobber buffer name.
7029 2003-01-05 Dave Love <fx@gnu.org>
7031 * language/european.el ("Latin-6", "Croatian"): New.
7032 ("Latin-7"): Fix nonascii-translation. Add input method.
7033 ("Lithuanian", "Latvian"): Add nonascii-translation.
7034 ("German", "Spanish", "Dutch", "Welsh", "Swedish"):
7035 Fix nonascii-translation.
7037 * language/georgian.el ("Georgian"): Fix nonascii-translation.
7039 * international/mule-cmds.el (set-locale-environment):
7040 Ignore empty values of environment variables.
7042 * emacs-lisp/byte-opt.el (byte-optimize-nth)
7043 (byte-optimize-nthcdr): Fix for case of wrong-length forms.
7045 2003-01-04 Nick Roberts <nick@nick.uklinux.net>
7047 * gdb-ui.el: Acknowledge Tom Lord as author of gdba.el.
7048 Use let construction to bind buffer-read-only to nil.
7049 (gdba): 'set height 0' in GDB.
7050 (gdb-display-end, gdb-frame-handler): Corrections to forming
7051 full expression name for header-line in display frame.
7052 (gdb-info-breakpoints-custom): Highlight breakpoints since
7053 they may be clicked on with mouse-2.
7054 (gdb-quit): Delete frames of displayed expressions when quitting.
7055 (gdb-delete-frames): New function.
7056 (gdb-source-info): Don't create stack buffer automatically.
7058 2003-01-04 Thien-Thi Nguyen <ttn@gnu.org>
7060 * xml.el (xml-substitute-special): Move "&" -> "&" last.
7062 2003-01-04 Kim F. Storm <storm@cua.dk>
7064 * simple.el (split-line): If present, copy fill-prefix from
7065 current line to new line. Don't copy if prefix arg.
7066 From Lisp, arg may be an alternative prefix string to copy.
7067 Inspired by Ehud Karni <ehud@unix.mvs.co.il>.
7069 * mail/sendmail.el (mail-split-line): New function.
7070 (mail-mode-map): Remap split-line to mail-split-line.
7072 2003-01-03 Dave Love <fx@gnu.org>
7074 * emacs-lisp/find-func.el (find-variable-noselect): Make it work
7075 with new load-history format.
7077 * international/mule-cmds.el (sort-coding-systems):
7078 Adjust priority of utf-16 and x-ctext.
7080 * international/utf-8.el (utf-translate-cjk):
7081 Call optimize-char-coding-system-table.
7083 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
7084 Call optimize-char-coding-system-table.
7086 * international/mule.el (register-char-codings): Don't call
7087 optimize-char-coding-system-table here.
7088 (keyboard-coding-system): Doc fix. Update :version.
7090 * textmodes/nroff-mode.el (nroff-mode-hook): Customize.
7091 (nroff-imenu-expression): New.
7092 (nroff-mode): Use it.
7094 * autoinsert.el (auto-insert-alist): Add man page skeleton.
7096 2003-01-03 Andre Spiegel <spiegel@gnu.org>
7098 * vc-rcs.el (vc-rcs-revert): Unlock only if the user does have
7101 2003-01-03 Kim F. Storm <storm@cua.dk>
7103 * emulation/cua-base.el (cua--pre-command-handler):
7104 Corrected handling of delete-selection properties.
7106 2003-01-03 John Paul Wallington <jpw@shootybangbang.com>
7108 * emacs-lisp/eldoc.el (eldoc-get-var-docstring): Only return a
7109 documentation string when `sym' is non-nil.
7111 2003-01-02 Steven Tamm <steventamm@mac.com>
7113 * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode):
7114 Have scroll bars correctly default to being on the right for Mac
7115 Carbon port by testing "mac-carbon" feature, not window-system.
7117 2003-01-02 Markus Rost <rost@math.ohio-state.edu>
7119 * cus-edit.el (customize-group, customize-group-other-window):
7120 Call custom-load-symbol unconditionally.
7121 (customize-face, customize-face-other-window): Fix format arg.
7123 2003-01-02 John Paul Wallington <jpw@shootybangbang.com>
7125 * menu-bar.el (menu-bar-left-scroll-bar): Set `scroll-bar-mode'
7128 2003-01-01 Richard M. Stallman <rms@gnu.org>
7130 * mail/rmail.el (rmail-reply): Don't call mail-strip-quoted-names.
7132 * files.el (backup-buffer): Cope if file-modes returns nil.
7134 2002-12-30 Steven Tamm <steventamm@mac.com>
7136 * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode):
7137 Have scroll bars correctly default to being on the right for Mac
7140 2002-12-29 Nick Roberts <nick@nick.uklinux.net>
7142 * gdb-ui.el (gdb-delete-display): Rename (gdb-delete-expression).
7143 (gdb-goto-bp-this-line): Rename (gdb-goto-breakpoint).
7144 (gdb-toggle-bp-this-line): Rename (gdb-toggle-breakpoint).
7145 (gdb-delete-bp-this-line): Rename (gdb-delete-breakpoint).
7146 (gdb-toggle-disp-this-line): Rename (gdb-toggle-display).
7147 (gdb-delete-disp-this-line): Rename (gdb-delete-display).
7148 (gud-gdba-marker-filter): Remove unnecessary save-match-data.
7149 (gdb-mouse-goto-breakpoint, gdb-frames-select): New functions.
7150 (gdb-frames-mouse-select): Simplify.
7151 Make keybindings (gdb-goto-breakpoint, gdb-frames-select, etc)
7152 consistent with other modes in Emacs.
7153 (gdb-display-source-buffer): Return window of source buffer
7154 for (gud-display-line).
7156 2002-12-29 Markus Rost <rost@math.ohio-state.edu>
7158 * button.el (defface button): Add group.
7160 * cus-edit.el (customize-browse): Call `widget-setup'.
7162 2002-12-29 Andreas Schwab <schwab@suse.de>
7164 * Makefile.in: Generate cus-load.el and finder-inf.el in the
7165 source directory. Change dependencies on lisp files to explicitly
7167 (compile-calc): Fix command substitution.
7168 * cus-dep.el (generated-custom-dependencies-file): New variable.
7169 (custom-make-dependencies): Use it instead of hardcoding cus-load.el.
7170 * finder.el (generated-finder-keywords-file): New variable.
7171 (finder-compile-keywords): Use it instead of hardcoding finder-inf.el.
7173 2002-12-28 Richard M. Stallman <rms@gnu.org>
7175 * info-look.el (info-lookup): Fix error message typo.
7177 * comint.el (comint-mode): Locally set scroll-conservatively.
7178 (comint-postoutput-scroll-to-bottom): comint-scroll-show-maximum-output
7179 is active only when point is at end.
7181 * dired.el (dired-goto-file): Handle \ and ^M quoted by backslash.
7184 * files.el (find-file-noselect-1): Kill local value of `cursor-type'.
7186 * simple.el (repeat-complex-command): Signal real error on failure.
7188 2002-12-28 Andreas Schwab <schwab@suse.de>
7190 * progmodes/make-mode.el (makefile-font-lock-keywords):
7191 Highlight automatic variable references enclosed in parens and
7192 optionally suffixed by F or D.
7194 2002-12-27 Miles Bader <miles@gnu.org>
7196 * info.el (Info-complete-menu-item): Make `Info-complete-cache' a
7197 buffer-local variable.
7199 2002-12-26 Markus Rost <rost@math.ohio-state.edu>
7201 * cus-edit.el (customize-group-other-window): Use pop-to-buffer in
7202 the same way as `custom-buffer-create-other-window'.
7203 (customize-variable-other-window, customize-option-other-window):
7204 Definitions moved up.
7206 2002-12-26 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
7208 * net/tramp*.el: Sync with upstream version 2.0.28. Bugfixes.
7209 * net/tramp-ftp.el: Glue code with Ange-FTP, broken out of
7210 tramp.el. From Michael Albinus.
7211 * net/tramp-smb.el: New file for using smbclient to access
7212 Windows shares with Tramp. From Michael Albinus.
7214 2002-12-26 Andreas Schwab <schwab@suse.de>
7216 * international/mule-cmds.el (select-safe-coding-system): Fix typo.
7218 2002-12-26 Andre Spiegel <spiegel@gnu.org>
7220 * vc.el (vc-next-action-on-file): Use t argument to vc-checkout in
7221 order to get the latest version on the current branch.
7222 Update documentation of vc-BACKEND-checkout to explain this.
7224 * vc-rcs.el (vc-rcs-checkout): Handle t argument for REV.
7225 (vc-rcs-checkin): By default, specify the current workfile
7226 branch as the check-in revision.
7228 * vc-cvs.el (vc-cvs-checkout): Handle t argument for REV.
7230 * vc-sccs.el (vc-sccs-checkout): Likewise.
7232 2002-12-26 Nick Roberts <nick@nick.uklinux.net>
7234 * gdb-ui.el (gdb-info-display-custom): Ensure that frames/buffers
7235 of displayed expressions are deleted when the displayed expressions
7237 (gdb-delete-disp-this-line, gdb-delete-display): Frame/buffer
7238 deletion is handled by gdb-info-display-custom now.
7239 (gdb-source-info): Undo earlier change (do create display buffer
7242 2002-12-25 Markus Rost <rost@math.ohio-state.edu>
7244 * cus-edit.el (custom-save-faces): Fix typo.
7246 2002-12-23 Francesco Potortì <pot@gnu.org>
7248 * mail/undigest.el (unforward-rmail-message): Do not assume that
7249 the forwarded message's Date: header comes after From:. Use a
7250 Forwarded-from: rather than a Forwarded-by: header. Add a
7251 Forwarded-date: header.
7253 2002-12-23 Nick Roberts <nick@nick.uklinux.net>
7255 * gdb-ui.el (gdb-display-number-end): Make auto-display of
7256 expressions in GDB work on text-only terminals.
7257 (gdb-post-prompt): Compute current frame properly.
7258 (gdb-get-current-frame, gdb-frame-handler): New functions.
7259 (gdb-source-info): Move last statement into if clause.
7260 Tidy, improve documentation.
7262 2002-12-23 Richard M. Stallman <rms@gnu.org>
7264 * emacs-lisp/checkdoc.el: Don't define a name for the minor mode menu.
7266 * emacs-lisp/easymenu.el (easy-menu-do-define): Handle nil for SYMBOL.
7267 (easy-menu-define): Doc fix, say SYMBOL can be nil.
7269 * window.el (save-selected-window): Save and restore
7270 selected windows of all frames.
7272 * cus-start.el (scroll-up-aggressively, scroll-down-aggressively):
7273 Update custom types.
7275 2002-12-23 Alex Schroeder <alex@emacswiki.org>
7277 Merging Dave Love <fx@gnu.org>'s custom_themes branch containing
7278 Alex Schroeder's adaptation of Jan Vroonhof
7279 <vroonhof@math.ethz.ch>'s code. Doc strings corrected by RMS.
7281 * cus-edit.el (customize-save-variable): Take themes into account.
7282 (custom-variable-save): Take themes into account.
7283 (custom-variable-reset-saved): Add comment-widget.
7284 (custom-variable-reset-standard): Add comment-widget.
7285 (custom-variable-reset-standard): Take themes into account.
7286 (custom-face-save): Take themes into account.
7287 (custom-face-reset-standard): Take themes into account.
7288 (custom-save-variables): Take themes into account.
7289 (custom-save-faces): Take themes into account.
7290 (custom-save-resets): New function.
7291 (custom-save-loaded-themes): New function.
7292 (customize-save-customized): Take themes into account.
7294 * cus-face.el (custom-set-faces): Call custom-theme-set-faces.
7295 (custom-theme-set-faces): New function.
7296 (custom-theme-face-value): New function.
7297 (custom-theme-reset-internal-face): New function.
7298 (custom-theme-reset-faces): New function.
7299 (custom-reset-faces): New function.
7301 * custom.el (custom-known-themes): New variable.
7302 (custom-declare-theme): New function.
7303 (deftheme): New macro.
7304 (custom-make-theme-feature): New function.
7305 (custom-theme-p): New function.
7306 (custom-check-theme): New function.
7307 (custom-push-theme): New function.
7308 (custom-theme-set-variables): Take themes into account.
7309 (custom-loaded-themes): New variable.
7310 (custom-theme-loaded-p): New function.
7311 (provide-theme): New function.
7312 (require-theme): New function.
7313 (custom-remove-theme): New function.
7314 (custom-do-theme-reset): New function.
7315 (custom-theme-load-themes): New function.
7316 (custom-load-themes): New function.
7317 (custom-theme-value): New function.
7318 (custom-theme-variable-value): New function.
7319 (custom-theme-reset-internal): New function.
7320 (custom-theme-reset-variables): New function.
7321 (custom-reset-variables): New function.
7323 * cus-theme.el: New file.
7325 2002-12-23 Matthew Swift <swift@alum.mit.edu>
7327 * emacs-lisp/rx.el (rx-and): Generate a shy group.
7328 Specify `no-group' when calling rx-to-string.
7329 (rx-submatch): Specify `no-group' when calling rx-to-string.
7330 (rx-kleene): Use rx-atomic-p to decide whether to make a group.
7331 (rx-atomic-p): New function.
7333 2002-12-23 Kevin Ryde <user42@zip.com.au>
7335 * info-look.el (info-lookup): For ease of use try item
7336 case-insensitive if not found case-sensitive.
7337 Do case sensitive search in index nodes, so items differing only in
7338 case go correctly to their respective nodes.
7340 2002-12-22 Richard M. Stallman <rms@gnu.org>
7342 * subr.el (add-to-invisibility-spec): If it was t, start it out at (t).
7344 * textmodes/texinfmt.el (tex-start-of-header, tex-end-of-header):
7347 * textmodes/tex-mode.el (tex-print): Call shell-quote-argument
7350 * textmodes/outline.el (outline-next-visible-heading):
7351 When going forward, test outline-invisible-p at start of header.
7353 2002-12-22 Kevin Ryde <user42@zip.com.au>
7355 * textmodes/makeinfo.el (makeinfo-buffer): Display result using
7357 (makeinfo-compilation-sentinel-buffer, makeinfo-current-node):
7359 (makeinfo-compile): Add a sentinel parameter.
7360 (makeinfo-compilation-sentinel-region): Renamed from
7361 makeinfo-compilation-sentinel, and makeinfo-temp-file now never nil.
7362 (makeinfo-region): Use this.
7363 * info.el (Info-revert-find-node): New function.
7365 2002-12-22 Nick Roberts <nick@nick.uklinux.net>
7367 * tooltip.el (tooltip-gud-tips): Output tooltip without switching
7368 process filter (gdba in gdb-ui.el only).
7369 (gdb-tooltip-print): New function.
7370 (tooltip-gud-process-output): Undo previous change.
7371 (tooltip-strip-annotations): Remove.
7373 2002-12-22 Zoltan Kemenczy <zoltan@ieee.org>
7375 * gud.el (gud-menu-map): Add jdb support for "run".
7376 (gud-jdb-find-source-using-classpath): Use 'identity.
7377 (gud-jdb-marker-filter): Marker regexp and filename filtering
7378 change to support a backwards-incompatible change in Sun's jdb
7379 line number display in SDK versions 1.4.
7380 (gud-format-command): gud-find-class now requires two
7381 parameters (file and linenumber).
7382 (gud-find-class): Bulk of the change related to using c-syntactic
7383 symbols to locate nested class declarations in java sources
7384 visited by java-mode (cc-mode).
7386 2002-12-21 Nick Roberts <nick@nick.uklinux.net>
7388 * gdb-ui.el: Remove the concept of an instance. This means that
7389 a lot of functions have been renamed. Accessors are prefixed with
7390 gdb-get, setters with gdb-set and the word instance has been
7391 removed from many function and variable names.
7392 (gdb-display-buffer): Protect source buffer as well
7393 as GUD buffer when requesting new buffers.
7394 (gdb-source-info): Two changes : Don't create display buffer
7395 automatically, compute source window correctly.
7397 2002-12-21 Richard M. Stallman <rms@gnu.org>
7399 * man.el (Man-getpage-in-background): Put GROFF_NO_SGR in env.
7401 * ls-lisp.el (original-insert-directory): Make this a variable,
7402 don't set its function definition.
7403 (insert-directory): Use funcall to call that function.
7405 * bindings.el (help-echo): Change tooltip string.
7407 * chistory.el (command-history-map): Move definition up.
7409 * faces.el (help-xref-stack): Add defvar to avoid warning.
7411 2002-12-21 Andreas Schwab <schwab@suse.de>
7413 * dired.el (dired-insert-directory): Preserve text properties
7416 2002-12-20 Francesco Potortì <pot@gnu.org>
7418 * mail/undigest.el (rmail-mail-separator): Renamed from
7419 rmail-digest-mail-separator. All users changed.
7420 (unforward-rmail-message): Rewritten to be more robust and to
7421 additionally account for the common style of forwarding messages
7422 by citing them entirely with headers.
7424 2002-12-18 Dave Love <fx@gnu.org>
7426 * international/utf-8-subst.el: Deleted.
7428 * international/ucs-tables.el (ucs-fragment-8859): Don't modify
7429 char-coding-system-table elements destructively.
7430 Use optimize-char-coding-system-table.
7432 * international/mule.el (optimize-char-coding-system-table): New.
7433 (register-char-codings): Use it.
7435 * international/utf-8.el (ucs-mule-cjk-to-unicode)
7436 (ucs-unicode-to-mule-cjk): Revert last change.
7437 (utf-subst-table-for-encode): Initially use ucs-mule-cjk-to-unicode.
7438 (utf-subst-table-for-decode): Initially use ucs-unicode-to-mule-cjk.
7439 (utf-fragment-on-decoding, utf-translate-cjk): Don't modify
7440 char-coding-system-table elements destructively.
7441 (utf-translate-cjk): Set ucs-mule-cjk-to-unicode,
7442 ucs-unicode-to-mule-cjk to new hash tables with realistic parameters.
7444 2002-12-18 John Paul Wallington <jpw@shootybangbang.com>
7446 * info.el (Info-dir-remove-duplicates): Avoid infloop when
7447 deleting last entry.
7449 2002-12-17 Nick Roberts <nick@nick.uklinux.net>
7451 * gdb-ui.el (gdba-marker-filter, gdb-output-burst): Merge and
7452 rename gud-gdba-marker-filter.
7453 (gdb-append-to-inferior-io): Only pop up IO buffer if there is output.
7454 (gdb-make-instance): Remove (put into gdba).
7455 Use gdb-instance-enqueue-input instead of
7456 gdb-instance-enqueue-idle-input for user functions.
7457 (gdb-instance-target-string): Simplify.
7458 (in-gdb-instance-context): Remove.
7461 2002-12-17 Kenichi Handa <handa@m17n.org>
7463 * international/mule.el (set-file-name-coding-system): New function.
7465 * international/mule-cmds.el (mule-keymap, set-coding-system-map):
7466 Add bindings for set-file-name-coding-system.
7468 2002-12-17 Kenichi Handa <handa@m17n.org>
7470 * international/mule-cmds.el (universal-coding-system-argument):
7471 Bind coding-system-require-warning to t.
7472 (select-safe-coding-system): Handle t in the arg
7473 DEFAULT-CODING-SYSTEM specially. Use read-coding-system to read a
7474 coding-system to allow users to specify unsafe coding system on
7477 2002-12-16 Francesco Potortì <pot@gnu.org>
7479 * mail/undigest.el (rmail-digest-methods)
7480 (rmail-digest-mail-separator): New variables.
7481 (rmail-digest-parse-mime, rmail-digest-parse-rfc1153strict)
7482 (rmail-digest-parse-rfc1153sloppy, rmail-digest-rfc1153)
7483 (rmail-digest-parse-rfc934): New functions.
7484 (undigestify-rmail-message): Completely rewritten.
7486 2002-12-16 Kim F. Storm <storm@cua.dk>
7488 * ido.el (ido-read-file-name): Remove debug message.
7490 2002-12-16 Daniel Pfeiffer <occitan@esperanto.org>
7492 * buff-menu.el (Buffer-menu, Buffer-menu-use-header-line)
7493 (Buffer-menu-buffer-face, Buffer-menu-buffer+size-width)
7494 (Buffer-menu-mode-width): New customization.
7495 (Buffer-menu-sort-column): New var.
7496 (Buffer-menu-no-header): New function for not changing header line and
7497 recognizing swapped M&R columns, used by modifying commands in Buffer
7499 (Buffer-menu-buffer+size): New function for variable width buffer name.
7500 (list-buffers-noselect): Rewritten for nicer menu.
7502 2002-12-16 Markus Rost <rost@math.ohio-state.edu>
7504 * filesets.el (filesets-build-menu-now): Don't clear messages.
7506 * allout.el: Avoid name conflicts with outline.el.
7507 Replace globally string "outline-" with string "allout-".
7508 Replaced 1446 occurrences; there was no string "allout-" before the
7509 change and there seems to be no dependency on outline.el.
7510 Put `quotes' around many function and variable names.
7511 Doc changes to adjust to the change to prefix "allout-".
7512 Don't provide `outline'. Use " Allout" as mode line string,
7513 not " Outl". Put group `allout' in group `editing'.
7514 Update Copyright notice. Autoload `allout-init'.
7515 (allout-init): Give report also in case auto-activation was inhibited.
7516 (my-mark-marker): Test for feature `xemacs' instead of a string parse.
7518 2002-12-16 Stefan Monnier <monnier@cs.yale.edu>
7520 * xml.el (xml-parse-tag): Allow spaces between / and >.
7522 2002-12-15 David Kastrup <David.Kastrup@t-online.de>
7524 * emacs-lisp/autoload.el (autoload-ensure-default-file):
7525 Insert missing space in file end comment.
7527 2002-12-15 Simon Josefsson <jas@extundo.com>
7529 * mail/smtpmail.el (smtpmail-via-smtp): Fall back to
7530 user-mail-address as sender.
7532 2002-12-15 Dave Love <fx@gnu.org>
7534 * international/mule-cmds.el (standard-keyboard-coding-systems):
7536 (set-locale-environment): Don't use it.
7538 * international/utf-8.el (ucs-mule-cjk-to-unicode)
7539 (utf-subst-table-for-encode, ucs-unicode-to-mule-cjk)
7540 (utf-subst-table-for-decode): Specify :size, :rehash-size.
7541 (utf-translate-cjk): :set rewritten to load subst-... files.
7543 (ccl-decode-mule-utf-8): Consider CJK translation for r3<#x3400.
7545 2002-12-15 Gustav HÃ¥llberg <gustav@virtutech.se> (tiny change)
7547 * progmodes/compile.el (compile-reinitialize-errors): Don't mark the
7548 buffer as modified unless it really is.
7550 2002-12-14 Andreas Schwab <schwab@suse.de>
7552 * wid-edit.el (widget-move): Don't loop infinitely when there is
7555 2002-12-13 Stefan Monnier <monnier@cs.yale.edu>
7557 * uniquify.el (uniquify-rationalize-file-buffer-names, rename-buffer)
7558 (uniquify-delay-rationalize-file-buffer-names, kill-buffer-hook):
7559 Undo 2002/09/27 change because kill-buffer-hook is not
7562 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7563 Optimize the remaining part of for-effect and/or expressions.
7565 2002-12-13 Markus Rost <rost@math.ohio-state.edu>
7567 * emacs-lisp/easy-mmode.el (define-minor-mode):
7568 Use `custom-current-group'. Pass all groups to the hook.
7569 (easy-mmode-define-global-mode): Use `custom-current-group'.
7571 * international/mule-cmds.el (current-language-environment):
7572 Set type according to `language-info-alist' also here.
7574 * progmodes/compile.el (compilation-menu-map):
7575 Use `kill-compilation' to stop compilation.
7577 2002-12-13 Kenichi Handa <handa@m17n.org>
7579 * language/european.el (encode-mac-roman): Fix last change.
7581 * language/cyrillic.el (ccl-encode-koi8, ccl-encode-koi8-u)
7582 (ccl-encode-alternativnyj): Fix last change.
7584 2002-12-13 Nick Roberts <nick@nick.uklinux.net>
7586 * gdb-ui.el: Improve documentation strings.
7587 (gdb-many-windows): Set default value to nil.
7589 2002-12-12 Dave Love <fx@gnu.org>
7591 * international/subst-big5.el, international/subst-gb2312.el:
7592 * international/subst-jis.el, international/subst-ksc.el: New.
7594 * custom.el (defcustom, custom-set-variables): Doc fix.
7596 * emacs-lisp/bytecomp.el (byte-compile-if): Suppress warnings from
7597 things protected by `(if (fboundp ...' or `(if (boundp ...'.
7599 * emacs-lisp/byte-opt.el (byte-optimize-featurep): New.
7601 2002-12-12 Glenn Morris <gmorris@ast.cam.ac.uk>
7603 * progmodes/fortran.el (fortran-mode-abbrev-table):
7604 Handle `define-abbrev' with either 5 or 6 arguments.
7606 2002-12-12 Markus Rost <rost@math.ohio-state.edu>
7608 * international/mule-cmds.el (set-language-info):
7609 Update custom-type of `current-language-environment'.
7610 (current-language-environment): Fix custom type.
7612 2002-12-11 Pavel JanÃk <Pavel@Janik.cz>
7614 * progmodes/antlr-mode.el (antlr): New URL.
7616 2002-12-10 R. Bernstein <rocky@panix.com>
7618 * gud.el (bashdb): Prompt now included parenthesis for subshell levels.
7619 Fix erroneous print expression command, and fix typos.
7620 (perldb): Undo previous change in prompt regexp.
7622 2002-12-10 Steven Tamm <steventamm@mac.com>
7624 * generic-x.el (javascript-generic-mode): Added C style block
7625 comments as used in ECMA-262 standard.
7627 2002-12-10 Kenichi Handa <handa@m17n.org>
7629 * language/european.el ("Swedish"): Change tutorial file name to
7630 TUTORIAL.sv in this language environment.
7632 2002-12-09 John Paul Wallington <jpw@shootybangbang.com>
7634 * ibuffer.el (ibuffer-mode): If `show-paren-mode' is enabled,
7635 disable it buffer-locally.
7636 (ibuffer-mouse-popup-menu): Use `=' instead of `eq' to compare
7637 `eventpt' and point.
7639 * ibuf-ext.el (ibuffer-remove-duplicates): New function.
7640 (ibuffer-set-filter-groups-by-mode): Use it instead of
7641 `delete-duplicates' so we don't require cl library at runtime.
7642 (ibuffer-insert-filter-group-before): Don't use `position' so we
7643 don't require cl library at runtime.
7645 * chistory.el (command-history-mode): Add interactive spec.
7648 2002-12-09 Richard M. Stallman <rms@gnu.org>
7650 * isearch.el (isearch-no-upper-case-p): \\ only quotes one character.
7652 2002-12-09 Markus Rost <rost@math.ohio-state.edu>
7654 * mwheel.el (mouse-wheel-scroll-amount): Revert previous change -
7655 customize type 'float is now defined.
7657 2002-12-09 Dave Love <fx@gnu.org>
7659 * international/code-pages.el (mik, pt154): New coding systems.
7661 * international/ucs-tables.el: Fix properly.
7663 2002-12-09 Andreas Schwab <schwab@suse.de>
7665 * international/ucs-tables.el: Fix last change.
7667 2002-12-09 Kenichi Handa <handa@m17n.org>
7669 * international/titdic-cnv.el (titdic-convert): Process the
7670 header part in multibyte mode.
7672 2002-12-08 Dave Love <fx@gnu.org>
7674 * international/code-pages.el (mule-diag): Move where it's required.
7676 * international/ucs-tables.el: Add latin-jisx0201 characters.
7677 Fix translation-table-for-input for lao, thai, tibetan.
7679 2002-12-08 Andreas Schwab <schwab@suse.de>
7681 * files.el (insert-directory): Insert free space only when
7682 listing a full directory.
7684 2002-12-08 Nick Roberts <nick@nick.uklinux.net>
7686 * gdb-ui.el : Remove inappropriate key-bindings.
7687 (gdb-info-breakpoints-custom, gdb-goto-bp-this-line):
7688 Parse correctly when breakpoint has no line number.
7689 (def-gdb-auto-update-handler, gdb-info-locals-handler)
7690 (gdb-display-end): Avoid using insert-buffer.
7691 (gdb-frames-select-by-mouse): Rename gdb-frames-mouse-select.
7693 2002-12-07 Richard M. Stallman <rms@gnu.org>
7695 * progmodes/compile.el (compilation-enter-directory-regexp-alist)
7696 (compilation-leave-directory-regexp-alist): Match byte compiler output.
7698 * emacs-lisp/cl-macs.el: Add local variable list
7699 to turn off cl-function warnings.
7701 * emacs-lisp/bytecomp.el (byte-compile-eval): Handle (t . SYMBOL)
7702 elements in load-history.
7703 (byte-compile-cl-warn): No cl warnings for cl-defsubst-expand
7704 and cl-struct-setf-expander.
7706 * emacs-lisp/autoload.el (autoload-print-form-outbuf):
7708 (autoload-print-form): Use autoload-print-form-outbuf.
7709 (generate-file-autoloads): Bind autoload-print-form-outbuf.
7711 * calendar/calendar.el (calendar-day-name): Move defn down.
7713 * speedbar.el (speedbar-directory-buttons-follow):
7714 Don't use directory-sep-char.
7716 2002-12-06 Masatake YAMATO <jet@gyve.org> (tiny change)
7718 * register.el (describe-register-1): Use window-width
7719 to truncate string in a register. Check whether the string
7720 in a register is an empty string or a sequence of white spaces.
7722 2002-12-07 Andreas Schwab <schwab@suse.de>
7724 * faces.el (face-font-selection-order)
7725 (face-font-family-alternatives, face-font-registry-alternatives):
7726 Remove period from :tag value.
7728 * cus-edit.el (custom-face-edit-fix-value): Change :reverse-video
7731 2002-12-07 Markus Rost <rost@math.ohio-state.edu>
7733 * wid-edit.el (define-widget number): Clarify doc and error message.
7734 (define-widget float): New widget.
7736 2002-12-07 Andreas Schwab <schwab@suse.de>
7738 * eshell/em-ls.el (eshell-ls-product-regexp): Fix typo.
7740 * files.el (find-file-read-args): Reenable wildcard processing
7743 2002-12-06 Robert J. Chassell <bob@rattlesnake.com>
7745 * textmodes/texinfmt.el (texinfo-format-scan): Handle new
7746 functions for copyright notice and copying permissions.
7747 (texinfo-copying, texinfo-insertcopying): New functions.
7749 2002-12-03 TAKAHASHI Kaoru <kaoru@kaisei.org>
7751 * textmodes/texinfmt.el (texinfo-format-ifxml)
7752 (texinfo-format-xml): New function.
7753 (ifxml, ifnotxml): New aliases.
7755 2002-12-06 Dave Love <fx@gnu.org>
7757 * international/utf-8-subst.el: Revert last change.
7759 2002-12-06 Miles Bader <miles@gnu.org>
7761 * info.el (Info-insert-dir): Make dir-node-cache variables
7762 buffer-local, so that killing the *info* buffer forces the
7763 dir-node to be rebuilt.
7765 2002-12-06 Markus Rost <rost@math.ohio-state.edu>
7767 * finder.el (finder-compile-keywords): Don't insert a keyword to
7770 2002-12-05 Andreas Schwab <schwab@suse.de>
7772 * speedbar.el (speedbar-highlight-face): Fix face spec.
7774 2002-12-05 Stefan Monnier <monnier@cs.yale.edu>
7776 * gdb-ui.el: Replace uses of (gdb-get-instance-buffer 'gdba) and
7777 gdb-proc with gud-comint-buffer instead.
7779 (def-gdb-var): Simplify.
7780 (gdb-get-create-instance-buffer): Avoid make-variable-buffer-local.
7781 Set gud-comint-buffer as well as gud-minor-mode and tool-bar-map.
7782 (gdb-goto-bp-this-line): Select the window while doing the goto-line.
7783 (gdb-info-locals-handler): Avoid replace-regexp.
7785 * calendar/calendar.el (facemenu-unlisted-faces): Only update
7786 after facemenu is loaded.
7787 (calendar-font-lock-keywords): Accept non-ASCII month names.
7790 * gdb-ui.el (gud-gdb-complete-string, gud-gdb-complete-break)
7791 (gud-gdb-complete-list, gud-gdb-complete-in-progress): Remove.
7792 (gdba): Call `gdb' and then make modifications.
7793 Always call gdb-clear-inferior-io rather than just "the first time".
7794 (gud-break, gud-remove): Definitions moved to inside gdba.
7795 (gdb-target-name): Remove. Use gud-target-name instead.
7796 (gdba-complete-filter, gdba-common-init): Remove.
7797 The changes were integrated into the generic code.
7799 * gud.el: Use match-string.
7800 (gud-menu-map): Re-fix gdb-running to gud-running.
7801 Activate up/down and finish for pdb.
7802 (gud-def): Use backquotes.
7803 (gdb, sdb, dbx, xdb, pdb, jdb, bashdb): Remove redundant menu bindings.
7804 (gud-gdb-complete-in-progress, gud-gdb-complete-string)
7805 (gud-gdb-complete-break, gud-gdb-complete-list):
7806 Rename to gud-gdb-fetch-lines-in-progress, gud-gdb-fetch-lines-string,
7807 gud-gdb-fetch-lines-break and gud-gdb-fetched-lines.
7808 (gud-gdb-fetch-lines-filter): Rename from gud-gdb-complete-filter.
7809 Add a `filter' argument and run it on `string'.
7810 (gud-gdb-run-command-fetch-lines): Use it instead of
7811 gud-gdb-speedbar-stack-filter. Add a `skip' arg.
7812 Return the fetched lines.
7813 (gud-gdb-complete-command): Use it instead of cooking up
7814 something by hand using gud-gdb-complete-filter.
7815 (gud-gdb-get-stackframe): Use the new calling convention of
7816 gud-gdb-run-command-fetch-lines.
7817 (gud-gdb-fetched-stack-frame-list): Remove.
7818 (gud-gdb-speedbar-stack-filter): Remove.
7819 (gud-jdb-marker-filter): Change RE for easier extraction of submatches.
7820 (gud-bashdb-command-name): Add "--debugger" argument here.
7821 (bashdb): Use default gud-find-file and don't bother with
7822 a massage-args function now that --debugger is make explicit.
7823 (gud-bashdb-massage-args, gud-bashdb-find-file): Remove.
7824 (bashdb): Don't provide.
7825 (gud-target-name): New var.
7826 (gud-common-init): Set it.
7827 Also reset gud-running and gud-last-last-frame.
7829 2002-12-05 Dave Love <fx@gnu.org>
7831 * international/utf-8-subst.el: Update safe-chars of mule-utf-8,
7832 mule-utf-16-le, mule-utf-16-be.
7834 2002-12-05 Richard M. Stallman <rms@gnu.org>
7836 * textmodes/outline.el (outline-mode): Doc fix.
7838 2002-12-05 Edward M. Reingold <reingold@emr.cs.iit.edu>
7840 * calendar/solar.el (solar-atn2): Give correct quadrant for arctan.
7842 2002-12-05 Kenichi Handa <handa@m17n.org>
7844 * international/titdic-cnv.el (quail-misc-package-ext-info):
7845 Remove duplicate entry for chinese-b5-quick.
7846 (batch-miscdic-convert): Don't try to call miscdic-convert on
7847 files in the directory just following the arg "-dir".
7849 2002-12-04 Stefan Monnier <monnier@cs.yale.edu>
7851 * gdb-ui.el: Fold top-level `setq's and `define-key's into their
7852 corresponding defvar.
7853 (gdb-inferior-io-mode-map): New var.
7854 Add bindings to it rather than to comint-mode-map.
7855 (gdb-display-number-end): Use dolist. Remove always-true test.
7856 (gdb-delete-line): Move and simplify.
7857 (gdb-display-end): Don't bother going to beg-of-line since we're there.
7858 (gdb-array-format1): Use dolist.
7859 (gdb-make-windows-menu, gdb-make-frames-menu):
7860 Move to top-level code. Move the menus to within the GUD menu.
7861 Make the menus only appear in gdba mode.
7863 * gdb-ui.el (gdb-inferior-io-mode-map): Remove (unused).
7864 (gdb-inferior-io-mode): Use define-minor-mode.
7865 (gdb-source-info): Don't burp if there's no source file.
7866 (gdb-inferior-io-interrupt, gdb-inferior-io-quit)
7867 (gdb-inferior-io-stop, gdb-inferior-io-eof)
7868 (gdb-display-breakpoints-buffer, gdb-frame-breakpoints-buffer)
7869 (gdb-display-stack-buffer, gdb-frame-stack-buffer)
7870 (gdb-display-registers-buffer, gdb-frame-registers-buffer)
7871 (gdb-display-locals-buffer, gdb-frame-locals-buffer)
7872 (gdb-display-display-buffer, gdb-frame-display-buffer)
7873 (gdb-display-gdb-buffer, gdb-frame-gdb-buffer)
7874 (gdb-display-assembler-buffer, gdb-frame-assembler-buffer):
7875 Remove the spurious left over arg from the "big reorg".
7877 2002-12-04 Richard M. Stallman <rms@gnu.org>
7879 * gud.el (gud-menu-map): Update for bashdb.
7880 (perldb): Change prompt regexp.
7881 (gud-bashdb-history, gud-bashdb-massage-args, gud-bashdb-marker-filter)
7882 (gud-bashdb-find-file, gud-bashdb-command-name, bashdb): New.
7884 * progmodes/cc-vars.el: Simply require wid-edit and custom
7885 in eval-when-compile.
7887 * progmodes/cc-menus.el: Don't require imenu.
7889 * progmodes/cc-langs.el: Don't require cl.
7890 (c-delete-duplicates): New function. Use instead of delete-duplicates.
7892 * progmodes/cc-bytecomp.el (cc-bytecomp-obsolete-var):
7893 Add an else-clause to the if to avoid confused compiler warning.
7895 * tooltip.el (tooltip-gud-tips-p): Undo previous change.
7897 2002-12-03 Stefan Monnier <monnier@cs.yale.edu>
7899 * gdb-ui.el: Get rid of (quote ..); use match-string and ignore.
7901 * gdb-ui.el (gdba, gdb-starting, gdb-stopped, gdb-quit):
7902 Update gdb-running -> gud-running.
7903 (gdba): Use the default for gud-find-file.
7904 (def-gdb-variable): Remove: fold into def-gdb-var.
7905 (def-gdb-var): Use buffer-local-value and with-current-buffer.
7907 * gud.el (gud-running): Rename from gdb-running. Update uses.
7908 (gud-tool-bar-map): Use tool-bar-local-item-from-menu rather than
7909 tool-bar-add-item-from-menu to avoid let binding tool-bar-map
7910 which fails if tool-bar.el is loaded in the mean time.
7911 (gud-file-name): New fun.
7912 (gud-find-file): Use it as default value for gud-find-file.
7913 (gud-speedbar-buttons): Discriminate on gud-minor-mode rather than
7915 (gud-gdb-find-file, gud-dbx-file-name, gud-dbx-find-file)
7916 (gud-xdb-file-name, gud-xdb-find-file, gud-perldb-find-file)
7917 (gud-pdb-find-file, gud-jdb-find-file): Remove.
7918 (gud-query-cmdline): Don't stuff the whole cwd in the command.
7919 (gdb, dbx, xdb, perldb, pdb, jdb): Use the default for gud-find-file.
7920 (gud-mipsdbx-massage-args): Remove.
7921 (gud-dbx-command-name): New var. Do what gud-mipsdbx-massage-args did.
7922 (gud-irixdbx-marker-filter): Use match-string and gud-file-name.
7923 (gud-jdb-command-name): New var.
7924 (gud-common-init): Re-instate RMS code of 11/13.
7926 2002-12-03 Dave Love <fx@gnu.org>
7928 * international/ucs-tables.el (ucs-unify-8859, ucs-unify-8859)
7929 (ucs-fragment-8859): Don't use set-buffer-major-mode-hook.
7930 (ucs-set-table-for-input): Use optional arg. Check for null `cs'.
7932 2002-12-03 Andreas Schwab <schwab@suse.de>
7934 * cus-edit.el (custom-display): Add checkbox for type mac.
7936 * whitespace.el (whitespace-highlight-face): Fix face spec.
7938 2002-12-02 Stefan Monnier <monnier@cs.yale.edu>
7940 * simple.el (completion-setup-function): Fix last change to use
7941 minibuffer-completing-file-name instead.
7943 * add-log.el (change-log-mode): Set indent-line-function explicitly
7944 to what it was before indent-line-function's default was changed.
7946 2002-12-02 Richard M. Stallman <rms@gnu.org>
7948 * textmodes/ispell.el (ispell-dict-map): Move specific
7949 dictionary selection into a submenu.
7951 * textmodes/fill.el (fill-indent-to-left-margin): New function.
7952 (fill-newline, fill-region-as-paragraph): Use that.
7954 * simple.el (completion-setup-function):
7955 Handle ffap-read-file-or-url-internal specially like
7956 read-file-name-internal.
7958 2002-12-02 Simon Marshall <marshals@perth>
7960 * font-lock.el (c++-font-lock-extra-types): Fix previous change.
7962 2002-12-02 François Pinard <pinard@iro.umontreal.ca>
7964 * progmodes/make-mode.el (makefile-font-lock-keywords): Highlight
7965 more make keywords: defined, endef, override, export, unexport
7968 2002-12-02 Dave Love <fx@gnu.org>
7970 * autoarg.el (autoarg-kp-mode): Give it a :group.
7972 2002-12-02 Noah Friedman <friedman@splode.com>
7974 * complete.el (PC-do-completion): Do not add wildcards to pattern
7975 unless filename is non-nil.
7977 2002-12-02 Andreas Schwab <schwab@suse.de>
7979 * mwheel.el (mouse-wheel-scroll-amount): Fix customize type.
7981 * paren.el (show-paren-mismatch-face): Fix face spec.
7983 2002-11-30 Nick Roberts <nick@nick.uklinux.net>
7985 * gdb-ui.el (gdb-many-windows): Define as a minor mode.
7986 (toggle-gdb-windows): Remove. (Patch from Stefan Monnier)
7988 * tooltip.el (tooltip-gud-process-output): Handle annotations that
7989 are output with gdba in gdb-ui.el.
7990 (tooltip-strip-annotations): New function.
7992 2002-11-29 Dave Love <fx@gnu.org>
7994 * autoarg.el (autoarg-mode): Give it a :group.
7996 2002-11-29 Bill Wohler <wohler@newt.com>
7998 * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
7999 mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el,
8000 mail/mh-utils.el, mail/mh-xemacs-compat.el: Upgraded to MH-E
8003 * mail/mh-index.el, mail/mh-speed.el: New files for indexed
8004 searches and speedbar support in MH-E version 7.0.
8006 * toolbar/reply-all.pbm, toolbar/reply-all.xpm,
8007 toolbar/reply-from.pbm, toolbar/reply-from.xpm,
8008 toolbar/reply-to.pbm, toolbar/reply-to.xpm: New toolbar images for
8011 2002-11-29 Markus Rost <rost@math.ohio-state.edu>
8013 * mwheel.el (mouse-wheel-inhibit-click-time): Fix custom type.
8015 2002-11-29 Richard M. Stallman <rms@gnu.org>
8017 * mail/rmail.el (rmail-convert-to-babyl-format):
8018 Make search for message delimiter case-sensitive.
8020 * simple.el (yank-window-start): New variable.
8021 (yank): Record yank-window-start.
8022 (yank-pop): Use yank-window-start.
8024 * info.el (Info-additional-directory-list): Doc fix.
8026 * indent.el (indent-according-to-mode, indent-region): Doc fix.
8028 * tooltip.el (tooltip-gud-tips-p): Doc fix.
8030 * eshell/em-script.el: Require eshell.
8032 * eshell/esh-ext.el, eshell/em-cmpl.el: Require esh-util.
8034 2002-11-29 Kim F. Storm <storm@cua.dk>
8036 * mwheel.el: Avoid accidental yanking of text while scrolling with
8037 the mouse wheel. This adds a short period after each mouse wheel
8038 scroll event where a click on the mouse wheel button is ignored.
8039 (mouse-wheel-click-event, mouse-wheel-inhibit-click-time): New customs.
8040 (mouse-wheel-click-button, mwheel-inhibit-click-event-timer): New vars.
8041 (mwheel-inhibit-click-timeout,mwheel-filter-click-events): New defuns.
8042 (mwheel-scroll): Add mwheel-filter-click-events as pre-command-hook.
8043 Start mwheel-inhibit-click-event-timer with timeout handler
8044 mwheel-inhibit-click-timeout.
8046 2002-11-28 Nick Roberts <nick@nick.uklinux.net>
8048 * tooltip.el (tooltip-gud-tips-setup): Remove.
8049 (tooltip-gud-debugger): Remove.
8050 (tooltip-gud-print-command): Use gud-minor mode instead of
8051 tooltip-gud-tips-setup and tooltip-gud-debugger.
8053 * gdb-ui.el (gdb-starting): Set gdb-running to t.
8054 (gdb-stopped): Set gdb-running to nil.
8055 (gdb-quit): Reset some variables including tool-bar-map.
8057 * gud.el (gdb-running): New variable.
8058 (gud-menu-map): Use gdb-running to gray out toolbar buttons
8059 with gdba in gdb-ui.el.
8060 (gud-tool-bar-map): Move to avoid byte compiler warning.
8062 2002-11-27 Jason Rumney <jasonr@gnu.org>
8064 * files.el (file-truename): Canonicalize non-existent names on w32.
8066 2002-11-28 Kim F. Storm <storm@cua.dk>
8068 * ido.el (ido-xemacs): Remove defvar. All uses changed to
8069 check (featurep 'xemacs) instead.
8070 (ido-visit-buffer): Use select-frame-set-input-focus unconditionally.
8072 2002-11-27 Dave Love <fx@gnu.org>
8074 * emacs-lisp/cl-macs.el: Move `predicates for analyzing Lisp
8075 forms' block to top (before uses).
8076 (help-fns): Don't require at top level. (Recursively.)
8077 (cl-transform-lambda): Require help-fns.
8079 2002-11-26 Dave Love <fx@gnu.org>
8081 * language/european.el (encode-mac-roman): Deal with unencodable
8084 * language/cyrillic.el (ccl-encode-koi8, ccl-encode-koi8-u)
8085 (ccl-encode-alternativnyj): Deal with unencodable characters.
8087 * international/code-pages.el (cp-make-coding-system): Deal with
8088 unencodable characters.
8090 2002-11-24 Richard M. Stallman <rms@gnu.org>
8092 * mail/sendmail.el (mail-signature): Handle case where
8093 value of mail-signature is a string.
8095 * menu-bar.el (menu-bar-describe-menu): Add "What's This?" item.
8097 * faces.el (face-set-after-frame-default): Ignore errors
8098 in face-spec-face-set.
8100 * cus-face.el (custom-declare-face): Add face-defface-spec
8101 prop after applying the face spec.
8103 2002-11-23 Nick Roberts <nick@nick.uklinux.net>
8105 * tooltip.el (tooltip-gud-print-command): Add server prefix to the
8106 print command for gdb to keep it out of the command history.
8108 * gdb-ui.el: Major re-organization. Simplify legacy gdba
8109 code to allow only one gdb process.
8111 2002-11-23 Markus Rost <rost@math.ohio-state.edu>
8113 * scroll-all.el (scroll-all-mode): Move arg LIGHTER to the right
8116 2002-11-22 Simon Marshall <marshals@perth>
8118 * font-lock.el (c++-font-lock-extra-types): Add various STL classes.
8120 2002-11-21 Nick Roberts <nick@nick.uklinux.net>
8122 * gdb-ui.el : General tidying. Patches from Stefan Monnier.
8124 2002-11-20 Simon Josefsson <jas@extundo.com>
8126 * play/morse.el (morse-code): Add non-ASCII characters, according
8127 to table at http://www.soton.ac.uk/~scp93ch/morse/.
8129 2002-11-21 Richard M. Stallman <rms@gnu.org>
8131 * dired.el (dired-sort-inhibit): New variable.
8132 (dired-sort-toggle-or-edit): Err if dired-sort-inhibit non-nil.
8134 * find-dired.el (find-dired): Set dired-sort-inhibit to t
8137 2002-11-21 Eugene Exarevsky <zheka@relex.ru>
8139 * progmodes/sql.el: Added LINTER support.
8140 (sql-linter-program): New variable.
8141 (sql-linter-options): New variable.
8142 (sql-mode-menu): Added Linter keywords.
8143 (sql-mode-linter-font-lock-keywords): New variable.
8144 (sql-highlight-linter-keywords): New function.
8145 (sql-linter): New function.
8146 (sql-ms-options): New variable.
8149 2002-11-21 John Paul Wallington <jpw@shootybangbang.com>
8151 * ibuffer.el (ibuffer-formats): Change default value; bump width
8152 of size column in first format to 7.
8154 2002-11-20 Stefan Monnier <monnier@cs.yale.edu>
8156 * help-fns.el (describe-variable): Look for (defvar . <sym>) in the
8157 load-history since `defvar' now uses this format.
8159 * custom.el (custom-declare-variable): Use push.
8160 Use the (defvar . <sym>) format in load-history like `defvar' does.
8162 * subr.el (symbol-file): Accept a non-atomic `function' arg.
8163 (with-local-quit): Add debug and indentation info.
8165 2002-11-20 John Paul Wallington <jpw@shootybangbang.com>
8167 * subr.el (symbol-file): Remove unused variable `functions'.
8169 2002-11-20 Markus Rost <rost@math.ohio-state.edu>
8171 * Makefile.in (setwins_almost): Renamed from finder_setwins.
8172 (custom-deps): Use it.
8173 (finder-data): Adjust to that name change.
8175 2002-11-19 Stefan Monnier <monnier@cs.yale.edu>
8177 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8178 Turn errors into messages so they don't get ignored.
8179 (eldoc-get-fnsym-args-string): Use help-split-fundoc.
8180 (eldoc-beginning-of-sexp): Simplify.
8181 (eldoc-function-arglist): Remove.
8182 (eldoc-function-argstring): Use help-function-arglist instead.
8183 (eldoc-function-argstring-from-docstring-method-table)
8184 (eldoc-function-argstring-from-docstring): Remove.
8186 * emacs-lisp/cl.el (multiple-value-call): Add docstring.
8188 2002-11-19 Dave Love <fx@gnu.org>
8190 * emacs-lisp/bytecomp.el (maphash, map-char-table):
8191 Use byte-compile-funarg.
8193 * emacs-lisp/byte-opt.el (side-effect-free-fns): Several additions.
8195 2002-11-19 Markus Rost <rost@math.ohio-state.edu>
8197 * progmodes/vhdl-mode.el (defgroup vhdl-related): Declare the
8198 members here rather than with custom-add-to-group. This is the
8199 intended way of using defgroup and also lets
8200 custom-make-dependencies do its job.
8201 (defgroup vhdl-highlight-faces): Ditto.
8203 * emacs-lisp/shadow.el (defgroup lisp-shadow): New group name.
8204 Previous group name shadow is used in shadowfile.el.
8205 (shadows-compare-text-p): Use group lisp-shadow.
8207 2002-11-19 Stefan Monnier <monnier@cs.yale.edu>
8209 * emacs-lisp/cl.el (multiple-value-call): Add docstring.
8211 2002-11-19 Masatake Yamato <jet@gyve.org> (tiny change)
8213 * register.el (describe-register-1): Don't assign to val the value
8214 returned by `remove-list-of-text-properties'.
8216 2002-11-18 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
8218 * calendar/diary-lib.el (fancy-diary-font-lock-keywords):
8219 Grok month numbers, too.
8221 2002-11-18 Juanma Barranquero <lektu@terra.es>
8223 * mail/smtpmail.el (smtpmail-send-queued-mail): Add autoload cookie.
8225 2002-11-18 Markus Rost <rost@math.ohio-state.edu>
8227 * pcvs.el (cvs-minor-mode, cvs-mode-commit-hook): Add group.
8229 * textmodes/refill.el (defgroup refill): New group.
8231 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Add group.
8233 * textmodes/sgml-mode.el (html-autoview-mode): Add group.
8235 * textmodes/paragraphs.el (use-hard-newlines): Add group.
8237 * progmodes/compile.el (compilation-shell-minor-mode): Add group.
8238 (compilation-minor-mode): Add group.
8240 * reveal.el (global-reveal-mode): Add group.
8242 * bookmark.el (bookmark-menu-length): Fix group name.
8244 2002-11-17 Richard M. Stallman <rms@gnu.org>
8246 * mail/rmail.el (rmail-ignored-headers): Add more headers.
8248 * calendar/parse-time.el (parse-time-elt): Var renamed from `elt'.
8249 (parse-time-val): Var renamed from `val'. All uses changed.
8251 * files.el (parse-time-rules): Mark it as risky.
8253 * finder.el (finder-commentary): Use buffer *Finder-package*.
8255 * menu-bar.el (menu-bar-options-menu): Improve tooltip string.
8257 * simple.el (indicate-unused-lines)
8258 (default-indicate-unused-lines): New variable aliases.
8260 2002-11-18 Kenichi Handa <handa@m17n.org>
8262 * progmodes/cc-vars.el: Undo previous change.
8264 2002-11-18 Kenichi Handa <handa@m17n.org>
8266 * language/cyrillic.el (cyrillic-iso-8bit): Make it safe.
8268 * language/european.el (iso-latin-1): Make it safe.
8269 (iso-latin-2, iso-latin-3, iso-latin-4, iso-latin-5, iso-latin-8)
8270 (iso-latin-9): Likewise.
8272 * language/greek.el (greek-iso-8bit): Make it safe.
8274 * language/hebrew.el (hebrew-iso-8bit): Make it safe.
8276 * language/lao.el (lao): Make it safe.
8278 * language/thai.el (thai-tis620): Make it safe.
8280 2002-11-17 Markus Rost <rost@math.ohio-state.edu>
8282 * speedbar.el (defgroup speedbar): Use group 'etags instead of
8283 nonexistent group 'tags.
8285 * emacs-lisp/re-builder.el: Add provide call.
8287 * mail/feedmail.el (feedmail-fiddle-headers-upwardly)
8288 (feedmail-fiddle-plex-user-list): Fix typo in group name.
8290 * progmodes/make-mode.el (makefile-space-face): Fix group name.
8292 * textmodes/ispell.el (defgroup ispell): Arrange that definition
8293 starts at beginning of line.
8295 * textmodes/table.el (defgroup table-hooks): New group.
8296 (table-cell-map-hook): Fix typo in group name.
8298 * calendar/diary-lib.el (diary-button-face): Add group and version
8301 * warnings.el (defgroup warnings): New group.
8303 2002-11-16 Markus Rost <rost@math.ohio-state.edu>
8305 * emacs-lisp/autoload.el (update-autoloads-from-directories):
8306 Sort the list of files with no autoloads.
8308 2002-11-16 Alan Shutko <ats@acm.org>
8310 * calendar/diary-lib.el (list-diary-entries): Pass a marker
8311 indicating source of entry to add-to-diary-list.
8312 (diary-button-face, diary-entry, diary-goto-entry): New, to
8313 support click to diary file.
8314 (fancy-diary-display): Buttonize diary entries. Use new mode
8315 fancy-diary-display-mode.
8316 (list-sexp-diary-entries): Pass a marker indicating source of
8317 entry to add-to-diary-list.
8318 (diary-date): Return mark as well as entry.
8319 (add-to-diary-list): Add new marker argument, appended to
8321 (diary-mode, fancy-diary-display-mode): New derived modes, for
8322 diary file and fancy diary buffer respectively.
8323 (fancy-diary-font-lock-keywords, diary-font-lock-keywords): New
8325 (font-lock-diary-sexps, font-lock-diary-date-forms): New
8326 functions, used in diary-font-lock-keywords.
8328 * calendar/calendar.el (diary-face): New.
8329 (european-calendar-display-form, describe-calendar-mode)
8330 (mark-visible-calendar-date, calendar-mark-today): Tidy doc string.
8331 (calendar-mode): Set up font-lock mode, using new variable
8332 calendar-font-lock-keywords.
8333 (generate-calendar-window): Fontify if font-lock-mode is on.
8334 (calendar-font-lock-keywords): New variable.
8336 2002-11-16 Ivan Zakharyaschev <imz@altlinux.org> (tiny change)
8338 * international/codepage.el (cp866-decode-table): Fix the
8341 2002-11-16 Martin Stjernholm <bug-cc-mode@gnu.org>
8343 * progmodes/cc-bytecomp.el (cc-bytecomp-defun): Fixed bug that
8344 caused existing function definitions to be overridden by
8345 phonies when the bytecomp environment is restored.
8347 2002-11-15 Nick Roberts <nick@nick.uklinux.net>
8349 * toolbar/gud-break.pbm, toolbar/gud-cont.pbm, toolbar/gud-display.pbm,
8350 toolbar/gud-down.pbm, toolbar/gud-finish.pbm, toolbar/gud-goto.pbm,
8351 toolbar/gud-next.pbm, toolbar/gud-print.pbm, toolbar/gud-remove.pbm,
8352 toolbar/gud-run.pbm, toolbar/gud-step.pbm, toolbar/gud-up.pbm:
8353 Icons for debugger (pbm files).
8355 2002-11-15 Richard M. Stallman <rms@gnu.org>
8357 * international/mule.el (set-buffer-file-coding-system): Redo prev chg.
8359 2002-11-15 John Paul Wallington <jpw@shootybangbang.com>
8361 * ibuffer.el (ibuffer-use-other-window, ibuffer-use-header-line)
8362 (ibuffer-visit-buffer, ibuffer-redisplay, ibuffer-update): Doc fix.
8363 (ibuffer-mode-hooks): Remove spurious defvar.
8364 (ibuffer): Run `ibuffer-hook' instead of `ibuffer-hooks'.
8365 (ibuffer-mode): Run `ibuffer-mode-hook' instead of
8366 `ibuffer-mode-hooks'.
8368 2002-11-15 Markus Rost <rost@math.ohio-state.edu>
8370 * mail/rmailedit.el: Add provide call.
8372 * play/bruce.el: Add provide call.
8374 * emacs-lisp/gulp.el: Add provide call.
8376 2002-11-14 Richard M. Stallman <rms@gnu.org>
8378 * international/mule.el (set-buffer-file-coding-system): Undo prv chg.
8380 2002-11-14 Markus Rost <rost@math.ohio-state.edu>
8382 * custom.el (custom-declare-group): Remove unnecessary line of code.
8384 * cus-dep.el (custom-make-dependencies): Bind load-file-name.
8386 2002-11-14 Edward M. Reingold <reingold@emr.cs.iit.edu>
8388 * calendar/diary-lib.el (make-diary-entry): Allow for local variables
8389 at end of diary file.
8391 2002-11-14 Kim F. Storm <storm@cua.dk>
8393 * files.el (mode-name): Mark it as risky-local-variable like the
8394 other mode-line elements (moved from bindings.el).
8396 * bindings.el (mode-name): Moved mark as risky-local-variable to
8399 2002-11-14 Juanma Barranquero <lektu@terra.es>
8401 * gud.el: Fix feature name in `provide'.
8403 * gdb-ui.el: Fix feature name in `require'.
8405 2002-11-14 Per Cederqvist <ceder@lysator.liu.se> (tiny change)
8407 * progmodes/etags.el (find-tag-default): Copy text at point without
8410 2002-11-14 Kenichi Handa <handa@m17n.org>
8412 * progmodes/cc-vars.el: Don't cc-bytecomp-defun char-table-p.
8414 2002-11-14 Kim F. Storm <storm@cua.dk>
8416 * textmodes/fill.el (fill-nobreak-invisible): New var.
8417 (fill-nobreak-p): Test it; return t if set and point invisible.
8418 (fill-newline): Test it; remove invisible prop on newline if set.
8420 * info.el (Info-fontify-node): New local list paragraph-markers.
8421 Record markers for mangled *note references on that list.
8422 When done, go back through those markers and fill each mangled
8423 paragraph with `fill-nobreak-invisible' let-bound to t.
8424 Don't use `display' property; insert "see" directly in buffer.
8426 2002-11-14 Nick Roberts <nick@nick.uklinux.net>
8428 * gdb-ui.el: New file, User Interface for running GDB
8430 * gud.el:(gud-find-file): Set up GDB tool bar.
8431 (gud-menu-map): New commands: run, goto.
8432 Enable some commands for gdba.
8433 (gud-query-cmdline): Pass default directory to gdba.
8434 (gdb): Define gud-goto and gud-run.
8435 (gud-gdb-complete-command): Maybe use gdba-complete-filter.
8436 (gud-mode): Set up local tool bar.
8437 (gud-display-line): For gdba, call gdb-display-source-buffer.
8438 (gud-basic-call): For gdba, maybe delete the current prompt.
8439 (gud-tool-bar-map): New variable.
8440 (gud-read-address): Correction.
8442 * toolbar/gud-break.xpm, toolbar/gud-cont.xpm, toolbar/gud-display.xpm,
8443 toolbar/gud-down.xpm, toolbar/gud-finish.xpm, toolbar/gud-goto.xpm,
8444 toolbar/gud-next.xpm, toolbar/gud-print.xpm, toolbar/gud-remove.xpm,
8445 toolbar/gud-run.xpm, toolbar/gud-step.xpm, toolbar/gud-up.xpm:
8448 2002-11-13 Stefan Monnier <monnier@cs.yale.edu>
8450 * pcvs.el (cvs-mode-run): Don't pass "." if not needed.
8452 2002-11-13 Andre Spiegel <spiegel@gnu.org>
8454 * vc-rcs.el (vc-rcs-registered): Improve comment.
8456 * vc-sccs.el (vc-sccs-registered): Improve comment.
8458 2002-11-13 Tim Van Holder <tim.vanholder@anubex.com> (tiny change)
8460 * progmodes/compile.el (compilation-error-regexp-alist):
8461 Don't include colon and space after a file name as part of the name.
8463 2002-11-13 Richard M. Stallman <rms@gnu.org>
8465 * gud.el (gdb): Undo 10-26 change.
8467 2002-11-13 Kenichi Handa <handa@m17n.org>
8469 * replace.el (occur-engine): Set buffer-file-coding-system of
8470 OUT-BUF to that of one of BUFFERS if they locally bind that variable.
8472 2002-11-13 Markus Rost <rost@math.ohio-state.edu>
8474 * custom.el (custom-handle-all-keywords): Fix arg passed to
8475 custom-add-to-group.
8477 2002-11-12 Stefan Monnier <monnier@cs.yale.edu>
8479 * pcvs-defs.el (cvs-mode-map): Remove M-f binding.
8480 (cvs-minor-mode-map): Add e binding in log-view-mode.
8482 * progmodes/perl-mode.el (perl-hanging-paren-p): New fun.
8483 (perl-indent-line): Look at the open-paren to indent a close-paren.
8484 (perl-calculate-indent): Try to better indent args after hanging paren.
8485 Remove special code for open-paren-in-column-0.
8487 * textmodes/sgml-mode.el (sgml-namify-char): New cmd.
8488 (sgml-name-char): Use it.
8489 (sgml-tag-last, sgml-tag-history): New vars.
8490 (sgml-tag): Use them.
8491 (sgml-skip-tag-forward): Use sgml-tag-syntax-table.
8492 (sgml-delete-tag): Remove resulting empty lines.
8493 (sgml-tag) <symbol-plist>: Don't make intangible.
8494 (sgml-parse-tag-backward): Add limit argument.
8495 (html-autoview-mode): Use define-minor-mode.
8497 2002-11-12 Markus Rost <rost@math.ohio-state.edu>
8499 * vc-rcs.el (vc-rcs-registered): Handle the autoload cookie so
8500 that the definition is found by `find-function-search-for-symbol'
8503 * vc-sccs.el (vc-sccs-registered): Ditto.
8505 * emulation/edt.el (defgroup edt): Arrange that definition starts
8506 at beginning of line.
8508 * ls-lisp.el (defgroup ls-lisp): Remove autoload cookie.
8510 * hi-lock.el (defgroup hi-lock-interactive-text-highlighting):
8511 Remove autoload cookie.
8513 * newcomment.el (defgroup comment): Remove autoload cookie.
8515 2002-11-11 Markus Rost <rost@math.ohio-state.edu>
8517 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button):
8518 Declare with defvar, not with defcustom.
8520 * cus-dep.el: Don't require 'autoload.
8521 (custom-make-dependencies): Handle :version also for autoloaded
8524 * winner.el (defgroup winner): Arrange that definition starts at
8527 * emulation/edt.el: Simplify Emacs 19 compatibility.
8529 2002-11-11 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr> (tiny change)
8531 * dired-aux.el (dired-show-file-type): Format filename with "%s" to
8532 escape any format-like sequences it could contain.
8534 2002-11-11 Per Abrahamsen <abraham@dina.kvl.dk>
8536 * cus-edit.el (custom-save-delete): Force emacs-lisp-mode.
8538 2002-11-11 Juanma Barranquero <lektu@terra.es>
8540 * bindings.el (mode-name): Mark it as risky-local-variable.
8542 2002-11-09 Dave Love <fx@gnu.org>
8544 * international/mule-cmds.el (current-language-environment):
8547 * international/ucs-tables.el: Revert to using
8548 translation-table-for-input instead of keyboard-translate-table.
8550 * international/quail.el (quail-input-string-to-events):
8553 * simple.el (quoted-insert): Bind translation-table-for-input,
8554 not keyboard-translate-table.
8556 2002-11-08 Stefan Monnier <monnier@cs.yale.edu>
8558 * arc-mode.el (archive-zip-summarize): Don't hardcode (point-min) = 1.
8560 * complete.el (PC-do-completion): Make partial-completion work
8561 with incomplete directory names.
8563 * textmodes/tex-mode.el (latex-standard-block-names): Rename from
8564 standard-latex-block-names.
8565 (tex-font-lock-keywords-1): Add providecommand, renewenvironment,
8566 and renewtheorem. Highlight \it and \bf separately since they
8568 (tex-font-lock-suscript, tex-font-lock-unfontify-region): New funs.
8569 (tex-font-lock-keywords-3, tex-verbatim-environments)
8570 (tex-font-lock-syntactic-keywords): New vars.
8571 (superscript, subscript, tex-verbatim-face): New faces.
8572 (tex-font-lock-syntactic-face-function): Handle \verb construct.
8573 (tex-common-initialization): Update font-lock-defaults setting.
8574 (tex-insert-braces): Make it into a skeleton.
8575 (latex-fill-nobreak-predicate): Don't break after \.
8576 (latex-insert-block): Rename from tex-latex-block.
8577 (latex-down-list): Use tex-mode-syntax-table when skipping parens
8578 rather than the indentation syntax-table.
8579 (latex-close-block): Rename from tex-close-latex-block.
8580 (latex-split-block): New fun.
8581 (latex-indent): Don't indent inside a verbatim block.
8582 (latex-find-indent): Stick \begin{verbatim} to the margin.
8584 2002-11-08 John Wiegley <johnw@gnu.org>
8586 * calendar/timeclock.el (timeclock-modeline-display): Use assq as
8587 well as memq to find `global-mode-string' within
8588 `mode-line-format'. The structure of that variable has changed in
8591 2002-11-07 Stefan Monnier <monnier@cs.yale.edu>
8593 * format.el (format-decode): Be careful with the order in `format'.
8595 * eshell/esh-cmd.el (function-p-func): Avoid `xemacs-p'.
8597 * eshell/em-glob.el: Require esh-util.
8598 (eshell-glob-initialize): Don't assume
8599 eshell-special-chars-outside-quoting is available.
8601 * textmodes/fill.el (fill-paragraph): Consider a comment-start as
8602 a paragraph starter when filling non-comments.
8603 (fill-comment-paragraph): Don't narrow while doing the fill.
8604 Recognize paragraph starters and separators within comments.
8605 Use adaptive-fill-prefix when it works. Use comment-search-forward.
8607 * progmodes/compile.el (grep-default-command): New fun.
8609 (compilation-menu-map): New var.
8610 (compilation-minor-mode-map, compilation-shell-minor-mode-map): Use it.
8611 (compilation-mode-map): Simplify.
8612 (compilation-shell-minor-mode, compilation-minor-mode):
8613 Use define-minor-mode.
8615 * elide-head.el (elide-head): Don't make intangible.
8617 * help.el (where-is): Rename map to defs (a list of syms is not a map).
8618 Test fboundp first, to speed things up. Use push.
8620 * isearch.el (isearch-hidden): New var.
8621 (isearch-search-and-update): Test it.
8622 (isearch-range-invisible): Set it.
8624 * progmodes/tcl.el (tcl-mode): Don't set paragraph-start,
8625 paragraph-separate, comment-column, and fill-paragraph-function.
8626 Simplify outline-regexp.
8627 (tcl-do-fill-paragraph): Remove.
8629 2002-11-07 Markus Rost <rost@math.ohio-state.edu>
8631 * mail/sendmail.el (mail-default-directory): Set the version to 21.4.
8633 * progmodes/compile.el (grep-compute-defaults): Undo previous change.
8634 Definition moved down.
8635 (grep-command, grep-find-command, grep-tree-command): Allow value nil.
8636 Do not declare :get property.
8637 (grep-use-null-device): Fix type. Do not declare :get property.
8639 * emacs-lisp/checkdoc.el (checkdoc-find-error):
8640 Use get-file-buffer instead of get-buffer.
8642 * cus-dep.el (custom-make-dependencies): Fix comment inserted in
8645 2002-11-07 Juanma Barranquero <lektu@terra.es>
8647 * help.el (where-is): Report also aliases of the passed command.
8649 2002-11-06 Dave Love <fx@gnu.org>
8651 * simple.el (quoted-insert): Bind keyboard-translate-table around
8654 * international/ucs-tables.el: Use keyboard-translate-table coding
8655 system property, not translation-table-for-input, for
8656 vietnamese-viscii & al.
8657 (translation-table-for-input): Set,
8658 don't defvar, and make permanent-local.
8659 (ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859): Add/remove
8660 set-buffer-major-mode-hook, not quail-activate-hook.
8661 (ucs-set-table-for-input): Renamed from ucs-quail-activate.
8662 (ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859):
8663 Setup keyboard-translate-table, not translation-table-for-input.
8664 Modify set-buffer-major-mode-hook, not quail-activate-hook.
8665 (ucs-fragment-8859): Don't use translation-table-for-input coding
8667 (ucs-quail-activate): Deleted.
8668 (ucs-set-table-for-input): New.
8669 (ucs-minibuffer-setup): Use it.
8671 * international/quail.el (quail-input-string-to-events):
8672 Use keyboard-translate-table, not translation-table-for-input.
8674 * files.el (normal-mode): Call ucs-set-table-for-input.
8676 * international/mule.el (set-buffer-file-coding-system):
8677 Call ucs-set-table-for-input.
8679 2002-11-06 Richard M. Stallman <rms@gnu.org>
8681 * replace.el (query-replace, query-replace-regexp): Doc fixes.
8683 * emacs-lisp/bytecomp.el (byte-compile-lambda):
8684 Handle progn like let, inside interactive spec.
8686 * textmodes/tex-mode.el (tex-dvi-view-command): Value can be sexp.
8687 Initialize to a suitable sexp.
8688 (tex-view): Evaluate tex-dvi-view-command and use the value.
8690 2002-11-06 Kenichi Handa <handa@m17n.org>
8692 * international/mule.el (coding-system-eol-type-mnemonic):
8693 Use eol-mnemonic-undecided if CODING-SYSTEM is nil.
8695 2002-11-06 Kim F. Storm <storm@cua.dk>
8697 * info.el (Info-fontify-node): Fixed hiding of *note references
8698 with embedded file names like (xxx.yyy).
8699 Avoid making any lines visibly longer if hiding newlines inside
8700 note references by wrapping line after references if it contained
8701 a newline (unfortunately this makes more lines appear "shorter").
8702 Properly reindent multi-line menu entry descriptions.
8704 2002-11-05 Juanma Barranquero <lektu@terra.es>
8706 * language/cyrillic.el ("Bulgarian"): Fix typo.
8708 * international/mule.el (coding-system-eol-type-mnemonic):
8709 Move from mule-util.el.
8711 * international/mule-util.el (coding-system-eol-type-mnemonic):
8714 2002-11-04 Juanma Barranquero <lektu@terra.es>
8716 * files.el (find-buffer-visiting): Accept new optional PREDICATE
8717 argument to return only a buffer that satisfies the predicate.
8718 (insert-file-1): New function.
8719 (insert-file-literally): Use it.
8720 (insert-file): Use it.
8722 2002-11-04 Robert Fenk <Robert.Fenk@gmx.de> (tiny change)
8724 * desktop.el (desktop-relative-file-names): New variable.
8725 (desktop-save): Use it.
8727 2002-11-03 Andre Spiegel <spiegel@gnu.org>
8729 * vc.el (vc-dired-mode): Adapt dired-move-to-filename-regexp to
8730 its current version in dired.el.
8732 2002-11-03 Stefan Monnier <monnier@cs.yale.edu>
8734 * emacs-lisp/autoload.el (generate-file-autoloads)
8735 (update-file-autoloads): Strip .gz and other such extensions.
8736 (update-autoloads-from-directories): Also consider compressed files.
8738 * info.el (Info-streamline-headings): New var.
8739 (Info-dir-remove-duplicates): New fun.
8740 (Info-insert-dir): Use it. Simplify the code with push,mapc,dolist.
8741 (Info-select-node): Simplify handling of Info-header-line.
8742 (Info-forward-node): Undo 2000/12/15 since we don't narrow any more.
8743 (Info-mode): Set header-line-format once and for all.
8744 (Info-fontify-node): Accept bogus first line with `File:' missing.
8745 Only make first line invisible if Info-use-header-line.
8746 Don't use `intangible': it's evil. Use inhibit-read-only.
8747 (Info-follow-reference, Info-next-reference, Info-prev-reference)
8748 (Info-try-follow-nearest-node): Don't bind inhibit-point-motion-hooks
8749 since we don't use intangible any more.
8751 * image.el (insert-image): Don't make intangible since
8752 adjust_point_for_property should be sufficient by default.
8754 2002-11-02 Stefan Monnier <monnier@cs.yale.edu>
8756 * textmodes/fill.el (fill-paragraph-handle-comment): New var.
8757 (fill-comment-paragraph): New fun (generalizes of lisp-fill-paragraph).
8758 (fill-paragraph): Use them.
8760 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph):
8761 Use fill-comment-paragraph.
8763 2002-11-02 Stefan Monnier <monnier@cs.yale.edu>
8765 * bindings.el (mode-line-change-eol)
8766 (mode-line-eol-desc-cache, mode-line-eol-desc): New.
8767 (mode-line-mule-info): Use them for the EOL part of the modeline.
8769 * server.el (server-sentinel): Kill buffers if applicable.
8770 (server-temp-file-p): Make arg optional.
8771 (server-done): Use it to simplify.
8772 (server-switch-buffer): If server-window is a function, use it.
8774 * mail/undigest.el (rmail-digest-end-regexps): Simplify.
8775 (undigestify-rmail-message): Fix paren-bug and simplify.
8777 2002-11-02 Kim F. Storm <storm@cua.dk>
8779 * info.el (Info-hide-note-references): nil value now does no
8780 reformatting at all. New choice 'tag reformats tag but shows
8781 the section reference.
8782 (Info-fontify-node): Use it.
8784 2002-11-01 Stefan Monnier <monnier@cs.yale.edu>
8786 * textmodes/tex-mode.el (tex-common-initialization):
8787 comment-start-skip shouldn't match on the next line.
8789 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Use match-string.
8790 Don't bother making paragraph-start a superset of paragraph-separate.
8791 Use line-beginning-position.
8793 * textmodes/sgml-mode.el (sgml-skip-tag-backward)
8794 (sgml-skip-tag-forward): Deal with xml-style <foo/> empty tags.
8796 2002-11-01 Kim F. Storm <storm@cua.dk>
8798 * info.el (Info-hide-note-references): New defcustom.
8799 (Info-fontify-node): Use it.
8801 2002-10-31 Kim F. Storm <storm@cua.dk>
8803 * shell.el (explicit-bash-args): Bash 1.x doesn't grok
8804 --noediting option; added run-time check to exclude it.
8806 * info.el (Info-follow-reference, Info-next-reference)
8807 (Info-prev-reference, Info-try-follow-nearest-node):
8808 Bind inhibit-point-motion-hooks to t while parsing reference.
8809 (Info-fontify-node): When font-lock-mode is enabled, display
8810 "*note" and "* menu" references in a more user friendly format.
8812 2002-10-30 Stefan Monnier <monnier@cs.yale.edu>
8814 * textmodes/fill.el (fill-move-to-break-point): Skip white space
8815 _before_ checking to see if we're hitting the margin.
8816 (fill-region-as-paragraph): Don't fiddle with the undo-list any more:
8817 it's now done by the C primitives. Don't use narrowing.
8818 Reorganize the line-breaking part of the code to simplify the control
8819 flow and make it work in the absence of narrowing.
8820 (fill-region): Don't use narrowing.
8822 2002-10-30 Dave Love <fx@gnu.org>
8824 * textmodes/po.el (po-content-type-charset-alist): Delete most entries.
8825 (po-find-charset): Doc fix. Remove interactive spec.
8827 (po-find-file-coding-system-guts): Re-written to use
8828 coding-system-alist, and code-pages, not codepage stuff.
8830 * term/x-win.el: Remove some ancient compatibility code.
8831 Populate x-keysym-table.
8833 2002-10-30 Andreas Schwab <schwab@suse.de>
8835 * subr.el (replace-regexp-in-string): Doc fix.
8837 2002-10-29 Dave Love <fx@gnu.org>
8839 * cus-start.el (selection-coding-system, scalable-fonts-allowed): Add.
8841 * progmodes/scheme.el (syntax-case): Define scheme-indent-function.
8843 * international/mule-conf.el: Doc fixes.
8845 2002-10-29 Richard M. Stallman <rms@gnu.org>
8847 * server.el (server-switch-buffer): Say when no server buffers remain.
8849 * net/goto-addr.el (goto-address-url-regexp): Don't match `mailto'.
8851 2002-10-28 Masayuki Ataka <ataka@milk.freemail.ne.jp> (tiny change)
8853 * progmodes/make-mode.el (makefile-warn-continuations):
8854 Call re-search-forward with NOERROR t.
8856 2002-10-29 Kim F. Storm <storm@cua.dk>
8858 * ido.el (ido-wide-find-dirs-or-files): Fixed problem that caused
8859 incomplete list of matches to be returned.
8861 2002-10-29 Masayuki Ataka <ataka@milk.freemail.ne.jp> (tiny change)
8863 * textmodes/texinfo.el (texinfo-environments): Add environment;
8864 copying, documentdescription, ifplaintext, ifnotplaintext, and
8867 * textmodes/texinfmt.el (texinfo-format-ifplaintext): New function.
8868 (ifplaintext, ifnotplaintext)
8869 (afourpaper, afivepaper, afourlatex, afourwide)
8870 (documentlanguage, documentencoding): New aliases.
8872 2002-10-29 John Paul Wallington <jpw@shootybangbang.com>
8874 * ibuffer.el (ibuffer-mouse-popup-menu): Set point before popping
8875 up filter groups menu. Preserve point unless a menu command has
8876 moved it from point clicked.
8878 2002-10-29 David Kastrup <dak@lola.goethe.zz>
8880 * calc/calc.el (calc-any-evaltos): Initialize to nil, since
8881 calc-refresh-evaltos appears to need this.
8883 2002-10-28 Dave Love <fx@gnu.org>
8885 * international/mule-diag.el (non-iso-charset-alist): Move to
8886 avoid compilation warning.
8887 (mule-diag): Provide.
8889 * international/code-pages.el (cp-make-coding-system):
8890 Use utf-translation-table-for-decode, not
8891 utf-8-translation-table-for-decode.
8892 (mule-diag): Require.
8894 * language/thai-util.el (thai-composition-function): Don't use prog1.
8896 * language/lao-util.el (lao-composition-function): Don't use prog1.
8898 * language/european.el (diacritic-composition-function):
8899 Modify confused prog1 form.
8901 * international/quail.el (quail-keyboard-layout-alist): Fix pc105-uk.
8902 (quail-keyboard-layout): Customize.
8903 Move after quail-keyboard-layout-alist.
8905 2002-10-28 Miles Bader <miles@gnu.org>
8907 * progmodes/make-mode.el (makefile-warn-continuations):
8908 Don't barf when there _aren't_ any suspicious continuations.
8910 2002-10-28 Matthew Swift <swift@alum.mit.edu>
8912 * progmodes/compile.el (grep-find-use-xargs): Fix docstring.
8914 2002-10-27 Michael Kifer <kifer@cs.stonybrook.edu>
8916 * ediff-wind.el (ediff-control-frame-parameters): Add scrollbar-height.
8918 2002-10-27 Andreas Schwab <schwab@suse.de>
8920 * progmodes/sh-script.el (sh-mode-syntax-table): Don't make ^L
8921 end-of-comment syntax.
8923 2002-10-27 Kim F. Storm <storm@cua.dk>
8925 * ido.el (ido-cannot-complete-command): New defcustom, default to
8926 ido-completion-help (similar to iswitchb-cannot-complete-hook).
8927 (ido-complete): Call value of ido-cannot-complete-command rather
8928 than ido-completion-help when no common completion.
8930 2002-10-27 Dave Love <fx@gnu.org>
8932 * international/code-pages.el (iso-8859-11): New.
8934 2002-10-27 Kim F. Storm <storm@cua.dk>
8936 * pcvs.el (cvs-checkout): Use read-directory-name.
8937 (cvs-query-directory): Likewise.
8939 2002-10-26 Richard M. Stallman <rms@gnu.org>
8941 * progmodes/make-mode.el (makefile-cleanup-continuations):
8942 Default for variable is nil.
8943 (makefile-warn-continuations): New function.
8944 (makefile-mode): Put it on write-file-functions.
8946 * international/mule-cmds.el (select-safe-coding-system):
8947 Delete debugging setq.
8949 * shell.el (shell): Look for .emacs_SHELL under ~/.emacs.d
8952 * startup.el (command-line): Look for .emacs under ~/.emacs.d
8955 * simple.el (toggle-truncate-lines): When turning off truncation,
8956 clear out the hscroll value in this buffer's windows.
8958 * simple.el (display-message-or-buffer): Don't display empty
8959 output in the echo area.
8961 * man.el (Man-default-man-entry): Don't look for all word chars,
8962 look only for characters that are normally part of a shell command.
8964 * gud.el (gdb): Pass default-directory to GDB via -cd option.
8966 * font-lock.el (c++-font-lock-keywords...): Add `restrict' keyword.
8968 * find-file.el (ff-find-related-file): Fix autoload cookie.
8970 * emacs-lisp/unsafep.el (unsafep-variable): Pass second arg to
8971 risky-local-variable-p.
8973 * files.el (risky-local-variable-p): VAL=nil has special meaning.
8975 * Makefile.in (compile-always): Avoid error in old Bash versions.
8977 2002-10-26 John Paul Wallington <jpw@shootybangbang.com>
8979 * textmodes/picture.el (picture-mouse-set-point): New command.
8980 (picture-mode-map): Bind it.
8981 (picture-motion-reverse): Doc fix.
8983 2002-10-25 Stefan Monnier <monnier@cs.yale.edu>
8985 * textmodes/outline.el (outline-next-heading): Make sure the match-data
8986 is really correct where returning.
8988 2002-10-24 Matthew Swift <swift@alum.mit.edu>
8990 * textmodes/outline.el (outline-minor-mode): Add customization group.
8992 2002-10-23 Richard M. Stallman <rms@gnu.org>
8994 * files.el (risky-local-variable-p): New arg VAL.
8995 (compile-command): Use `stringp' for `safe-local-variable' prop.
8996 (hack-one-local-variable): Pass VAL to `risky-local-variable-p'.
8998 2002-10-23 Francis J. Wright <F.J.Wright@qmul.ac.uk>
9000 * woman.el (woman-version): Update to 0.551 (beta).
9001 (woman-parse-colon-path): Add support for current Cygwin mount
9003 (woman-Cyg-to-Win): New function to convert absolute filename from
9004 Cygwin to Windows form by executing external program cygpath if
9006 (woman-man.conf-path): Update default to current common locations
9007 and to support Cygwin; update documentation.
9008 (woman-parse-man.conf): Generalize regexp to "man.*\\.conf" to
9009 match possible names of man.conf file; tidy code and documentation.
9010 (woman-manpath): Simplify default and documentation; essentially
9011 move code that was here into `woman-parse-colon-path'.
9012 (woman-default-indent): Change Linux to GNU in documentation.
9013 (woman-addition-face): Make documentation consistent with other
9015 (woman-emulate-tbl): New variable, determines whether tbl
9016 emulation is required.
9017 (woman-decode-region): Add check for preprocessor requests.
9018 (woman0-process-escapes, woman-special-characters)
9019 (woman-get-next-char, woman-parse-numeric-value): Add support for
9020 long groff names of the form [xxx].
9021 (woman-strings, woman-change-fonts): Now call `woman-match-name'.
9022 (woman2-PD, woman2-na): Doc fix.
9023 (woman-match-name): New function.
9024 (woman2-TS): New function.
9025 (woman2-TE): New alias for `woman2-fi'.
9027 2002-10-23 Kim F. Storm <storm@cua.dk>
9029 * ido.el (ido-restrict-to-matches): New command.
9030 (ido-define-mode-map): Bind it to C-SPC and C-@ in ido-mode-map.
9032 2002-10-22 Bob Halley <halley@play-bow.org> (tiny change)
9034 * eshell/esh-io.el (eshell-set-output-handle): Fix so that
9035 multiple redirection can work.
9037 2002-10-21 Stefan Monnier <monnier@cs.yale.edu>
9039 * ielm.el (inferior-emacs-lisp-mode): If hexl not found, use cat.
9040 Don't hardcode point-min == 1.
9042 * hexl.el (hexl-mode-old-write-contents-hooks): Remove.
9043 (hexl-mode, hexl-current-address, hexl-address-to-marker)
9044 (hexl-insert-char): Don't hardcode point-min == 1.
9045 (hexl-isearch-search-function): New fun.
9046 (hexl-mode-old-isearch-search-fun-function): New var.
9047 (hexl-mode): Use them.
9048 (hexl-mode, hexl-mode-exit, hexl-maybe-dehexlify-buffer):
9049 Use write-contents-functions rather then write-contents-hooks.
9051 * textmodes/text-mode.el (text-mode-syntax-table): Make ' a prefix.
9052 (paragraph-indent-text-mode-abbrev-table)
9053 (paragraph-indent-text-mode-syntax-table): Remove.
9054 (paragraph-indent-text-mode): Use the :abbrev and :syntax-table args.
9056 2002-10-21 Juanma Barranquero <lektu@terra.es>
9058 * eshell/esh-util.el (directory-files-and-attributes): Copy docstring
9059 from Emacs 21. Arg DIR renamed to DIRECTORY for consistency.
9061 2002-10-20 Andreas Schwab <schwab@suse.de>
9063 * apropos.el (apropos-group): Use customize-group-other-window.
9065 2002-10-18 Stefan Monnier <monnier@rum.cs.yale.edu>
9067 * progmodes/perl-mode.el (perl-mode-syntax-table): Change $ back
9068 to just "/" instead of "/ p".
9069 (perl-font-lock-syntactic-keywords): Use ". p" for the `$'.
9071 2002-10-18 Juanma Barranquero <lektu@terra.es>
9073 * textmodes/artist.el (artist-ff-is-bottommost-line): Fix misplaced
9074 ELSE expression on IF.
9076 2002-10-17 Juanma Barranquero <lektu@terra.es>
9078 * align.el (align-rules-list, align-exclude-rules-list): Fix typos.
9080 * subr.el (remq): Likewise.
9082 * vc-cvs.el (vc-cvs-sticky-tag-display): Likewise.
9084 * vc-hooks.el (vc-insert-file): Likewise.
9086 * vcursor.el (vcursor-other-window): Likewise.
9088 * wid-edit.el (widget-choose): Likewise.
9090 * calendar/diary-lib.el (diary-name-pattern): Likewise.
9092 * emacs-lisp/elint.el (elint-error, elint-warning): Likewise.
9094 * emacs-lisp/lisp.el (beginning-of-defun): Likewise.
9096 * emulation/edt-mapper.el (top-level): Likewise.
9098 * eshell/esh-var.el (eshell/define): Likewise.
9100 * mail/feedmail.el (feedmail-nuke-body-in-fcc)
9101 (feedmail-queue-draft-directory): Likewise.
9103 * net/netrc.el (netrc-parse): Likewise.
9105 * obsolete/cplus-md.el (c++-empty-arglist-indent): Likewise.
9107 * progmodes/ebrowse.el (ebrowse-ts)
9108 (ebrowse-view/find-file-and-search-pattern)
9109 (ebrowse-draw-file-member-info): Likewise.
9111 * progmodes/idlwave.el (idlwave-region-active-p): Likewise.
9113 * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
9115 * progmodes/sh-script.el (sh-indent-for-then): Likewise.
9117 * textmodes/bibtex.el (bibtex-find-entry-location): Likewise.
9119 * textmodes/sgml-mode.el (sgml-close-tag, html-imenu-index): Likewise.
9121 2002-10-17 Dave Love <fx@gnu.org>
9123 * international/mule-diag.el (non-iso-charset-alist): Add koi8-u.
9125 * international/code-pages.el (cp-make-translation-table): Use
9126 ucs-mule-to-mule-unicode.
9127 (cp-fix-safe-chars): Fix typo.
9128 (non-iso-charset-alist): Don't define.
9129 (cp-make-coding-system): Use utf-8-translation-table-for-decode.
9130 Define translation-table-for-input.
9132 (alternativnj): Don't define alias.
9135 * language/european.el ("Slovenian"): Use slovenian input-method.
9136 (encode-mac-roman): Use ucs-mule-to-mule-unicode.
9138 * language/cyrillic.el (cyrillic-alternativnyj-decode-table): Fix
9140 (cyrillic-alternativnyj): Don't give it `mime-charset' property.
9141 (cp866): Delete this alias.
9142 ("Bulgarian"): Fix the value of `input-method'.
9144 2002-10-16 Luc Teirlinck <teirllm@mail.auburn.edu>
9146 * dired-aux.el (dired-add-entry): Put point in correct position
9147 before inserting marker char.
9149 2002-10-16 Andreas Schwab <schwab@suse.de>
9151 * dired.el (dired-readin-insert): Expand dired-directory.
9153 * dired-aux.el (dired-insert-subdir-doinsert): Preserve point.
9155 2002-10-16 Markus Rost <rost@math.ohio-state.edu>
9157 * textmodes/reftex-vars.el: Move reftex-set-dirty here from
9158 reftex.el. Move the provide call to end of file.
9160 * textmodes/reftex.el: Move reftex-set-dirty to reftex-vars.el.
9162 2002-10-15 Dave Love <fx@gnu.org>
9164 * man.el (Man-getpage-in-background): Set width in environment.
9166 2002-10-15 Kenichi Handa <handa@m17n.org>
9168 * mail/sendmail.el (sendmail-send-it): Call
9169 select-message-coding-system before changing the current buffer to
9172 2002-10-14 Andre Spiegel <spiegel@gnu.org>
9174 * files.el (insert-directory): Handle //SUBDIRED// lines in
9175 recursive listings from ls --dired.
9177 * vc.el (vc-dired-reformat-line): Simplified. Handles text
9178 properties correctly now.
9180 2002-10-14 Juanma Barranquero <lektu@terra.es>
9182 * international/mule.el (set-selection-coding-system): Fix spacing.
9184 2002-10-13 Richard M. Stallman <rms@gnu.org>
9186 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9187 Treat `ignore' specially--prevent warnings about functions
9188 called for effect, in its args.
9189 Don't warn when `pop' is used for effect.
9191 * emacs-lisp/autoload.el (autoload-print-form): Cleanup.
9193 * uniquify.el (uniquify-get-proposed-name):
9194 Don't use directory-sep-char.
9196 * thingatpt.el (read-from-whole-string): Add call to `ignore'.
9198 * find-file.el (ff-related-file-alist): New alias.
9199 (ff-find-related-file): New alias.
9201 2002-10-13 Andreas Schwab <schwab@suse.de>
9203 * dired.el (dired-insert-directory): When looking for existing
9204 indentation, goto OPOINT instead of beginning of buffer.
9206 2002-10-12 Stefan Monnier <monnier@cs.yale.edu>
9208 * cus-dep.el (custom-make-dependencies): Ignore preloaded files.
9210 2002-10-12 Michael Kifer <kifer@cs.stonybrook.edu>
9212 * ediff-init.el (ediff-frame-char-height): Use frame-selected-window.
9214 * ediff-util.el (ediff-file-checked-in-p): Changed progn with and.
9216 * ediff-wind.el (ediff-skip-unsuitable-frames): Distinguish selected
9217 frame from frame of selected window.
9218 (ediff-frame-has-dedicated-windows): Don't select any frames to avoid
9219 changing selected windows.
9220 (ediff-setup-control-frame): Make sure auto-raise is properly set for
9223 2002-10-10 Simon Josefsson <jas@extundo.com>
9225 * browse-url.el (browse-url-mozilla): Doc fix.
9227 2002-10-10 Steve Youngs <youngs@xemacs.org>
9229 * browse-url.el (browse-url-mozilla-new-window-is-tab): New.
9230 (browse-url-mozilla): Use it.
9232 2002-10-11 Miles Bader <miles@gnu.org>
9234 * vc-cvs.el (vc-cvs-parse-entry): Don't barf when an `Entries'
9235 files contains an invalid timestamp.
9237 2002-10-11 Simon Josefsson <jas@extundo.com>
9239 * mail/sendmail.el (mail-envelope-from): New option `header' to
9240 use RFC 2822 From: header as the envelope address.
9241 (mail-envelope-from): New function, this should be used instead of
9242 looking at the `mail-envelope-from' variable.
9243 (sendmail-send-it): Use it.
9245 * mail/smtpmail.el (smtpmail-via-smtp): Use it.
9247 2002-10-11 Andre Spiegel <spiegel@gnu.org>
9249 * dired.el (dired-insert-directory): Fix check for indentation
9252 * vc.el (vc-dired-reformat-line): As a temporary fix, remove all text
9253 properties from the reformatted line.
9255 2002-10-10 Stefan Monnier <monnier@cs.yale.edu>
9257 * textmodes/paragraphs.el (forward-paragraph): Keep track of
9258 remaining paragraphs to skip more carefully.
9260 * add-log.el (add-change-log-entry): Don't call find-file at all
9261 if we're already in the proper buffer.
9262 (change-log-resolve-conflict): New fun.
9263 (change-log-mode): Use it and use define-derived-mode.
9264 (change-log-merge): Allow other-log to be a buffer.
9265 Don't add a \n if there are already enough \n's.
9267 * finder-inf.el, subdirs.el, cus-load.el: Remove.
9269 * finder.el ("finder-inf"): Don't fail if the file is absent.
9271 * cus-dep.el (custom-make-dependencies): Don't use find-file.
9272 Use feature names rather than file names if applicable.
9274 * cus-edit.el (customize-mode): New command.
9276 * custom.el (custom-group-of-mode): New fun.
9277 (custom-load-symbol): Don't use preloaded-file-list now that
9278 load-history is always complete. Don't look up the expanded file
9279 name in load-history (looked like an XEmacsism).
9281 * smerge-mode.el (smerge-ediff): Autoload.
9282 (smerge-match-conflict): Don't assume as much about smerge-begin-re.
9283 (smerge-resolve-function): New var.
9284 (smerge-resolve): New command.
9285 (smerge-basic-map): Bind it.
9287 2002-10-10 Andre Spiegel <spiegel@gnu.org>
9289 * vc-cvs.el (vc-cvs-parse-entry): Parse the time stamp found in
9290 CVS/Entries, rather than comparing it textually.
9292 2002-10-10 Markus Rost <rost@math.ohio-state.edu>
9294 * international/encoded-kb.el: Add `provide' call.
9296 2002-10-09 David Kastrup <David.Kastrup@t-online.de>
9298 * calc/calc-alg.el (calcFunc-ln): In symbolic manipulations,
9299 ln(-1) should be i*pi, not pi.
9301 2002-10-09 Markus Rost <rost@math.ohio-state.edu>
9303 * vc-cvs.el (vc-cvs-registered): In the autoload version use load
9304 instead of require to avoid loops when loaddefs.el is loaded after
9307 * cus-edit.el (Custom-reset-current): Don't test for default-boundp.
9308 (Custom-reset-saved): Don't test for saved-value.
9310 2002-10-08 Stefan Monnier <monnier@cs.yale.edu>
9312 * vc.el (vc-find-version): Use the new backend op `find-version'.
9313 (vc-default-find-version): Provide the new backend op `find-version'
9314 in terms of the old `checkout' op.
9316 * vc-rcs.el (vc-rcs-find-version): New fun.
9317 (vc-rcs-checkout): Remove `workfile' arg and simplify.
9319 * vc-sccs.el (vc-sccs-find-version): New fun.
9320 (vc-sccs-checkout): Remove `workfile' arg and simplify.
9322 * vc-cvs.el (vc-cvs-find-version): New fun.
9324 2002-10-08 John Paul Wallington <jpw@shootybangbang.com>
9326 * info.el (Info-next-menu-item, Info-last-menu-item)
9327 (info-emacs-manual): Add docstrings.
9328 (Info-index): Use `string-to-number' instead of `string-to-int'.
9330 2002-10-08 Kenichi Handa <handa@m17n.org>
9332 * international/ucs-tables.el (ucs-translation-table-for-decode):
9333 Define it as a translation-table.
9335 2002-10-07 Richard M. Stallman <rms@gnu.org>
9337 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9339 * progmodes/compile.el (grep-compute-defaults): Set the standard-value
9340 properties of the variables being initialized.
9342 * thingatpt.el (thing-at-point-url-path-regexp): Doc fix.
9344 2002-10-07 Kim F. Storm <storm@cua.dk>
9346 * emulation/cua-base.el (cua-normal-cursor-color):
9347 Fixed initialization to make "Erase Customization" work.
9349 2002-10-07 Stefan Monnier <monnier@cs.yale.edu>
9351 * vc.el (vc-maybe-resolve-conflicts): Always call vc-resolve-conflicts
9352 in case some other package redefined it.
9353 (vc-resolve-conflicts): Make it into an alias for smerge-ediff.
9355 * textmodes/fill.el (fill-paragraph): Go to BOL before calling
9356 forward-paragraph to make sure its return value is meaningful.
9358 2002-10-06 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9360 * net/tramp.el: Version 2.0.25 released.
9361 (tramp-handle-file-truename): If it's a directory,
9362 append slash only if result doesn't end in a slash already.
9363 (tramp-handle-file-truename): Restructure logic. If list of steps
9364 is nil, return "/" as the real name.
9365 (tramp-completion-mode): Add "\\(" and "\\)". Otherwise,
9366 `match-string' doesn't make sense. From Michael Albinus.
9367 (tramp-host-with-port-regexp): New defcustom. Equal to previous
9368 `tramp-host-regexp'. From Michael Albinus.
9369 (tramp-host-regexp): Taken off hashes in host names. Otherwise,
9370 scanning files like .rhosts would take comments as host names.
9371 From Michael Albinus.
9372 (tramp-file-name-structure, tramp-multi-file-name-hop-structure):
9373 Replace `tramp-host-regexp' by `tramp-host-with-port-regexp'.
9374 From Michael Albinus.
9375 (tramp-action-terminal): New function.
9376 (tramp-terminal-prompt-regexp): New variable, matches "tset" prompts.
9377 (tramp-actions-before-shell): Use them.
9378 (tramp-handle-shell-command): Logic error. From Ivan
9379 Zakharyaschev <imz@altlinux.org>.
9381 2002-10-06 Markus Holmberg <markush@acc.umu.se> (tiny change)
9383 * thingatpt.el (thing-at-point-uri-schemes): New variable.
9384 (thing-at-point-url-regexp): Use it.
9386 2002-10-06 Glenn Morris <gmorris@ast.cam.ac.uk>
9388 * progmodes/fortran.el (fortran-beginning-do): Ignore labeled DO
9391 2002-10-05 Stefan Monnier <monnier@cs.yale.edu>
9393 * vc.el (vc-log-mode-map): Explicitly inherit from text-mode.
9394 (vc-maybe-resolve-conflicts): Don't check smerge-mode and smerge-ediff.
9395 (vc-print-log): Don't check log-view-mode.
9396 (vc-default-show-log-entry): Don't check log-view-goto-rev.
9397 (vc-log-mode): Remove.
9398 (vc-log-edit): Don't check log-edit.
9400 2002-10-04 Stefan Monnier <monnier@cs.yale.edu>
9402 * vc-cvs.el (vc-cvs-show-log-entry):
9403 * vc-rcs.el (vc-rcs-show-log-entry): Delete.
9405 * smerge-mode.el (smerge-ediff): Add name-{mine,other,base} args.
9407 2002-10-04 Markus Rost <rost@math.ohio-state.edu>
9409 * vc.el (vc-default-show-log-entry): Fix typo.
9411 2002-10-04 Steven Tamm <steventamm@mac.com>
9413 * term/mac-win.el: Add lines to handle the new [return] event.
9415 2002-10-03 Stefan Monnier <monnier@cs.yale.edu>
9417 * textmodes/fill.el (fill-paragraph): Give up if there's no
9418 paragraph at or after point.
9420 * textmodes/paragraphs.el (forward-paragraph): Return the steps left.
9422 * vc.el (vc-print-log): Unconditionally use `show-log-entry'.
9423 (vc-default-show-log-entry): New fun.
9425 * subr.el (read-key-auxiliary-map, read-key): Remove.
9426 (read-quoted-char): Undo the `read-key' change of 2002-06-23.
9428 2002-10-03 Markus Rost <rost@math.ohio-state.edu>
9430 * progmodes/ada-stmt.el (ada-stmt-add-to-ada-menu): Handle the
9431 menu pseudo-keys generated by easymenu which are lowercase in
9434 * progmodes/ada-xref.el (ada-xref-update-project-menu)
9435 (ada-add-ada-menu): Ditto.
9437 2002-10-03 John Paul Wallington <jpw@shootybangbang.com>
9439 * frame.el (delete-frame-hook): Variable alias for
9440 `delete-frame-functions'. Mark obsolete.
9442 2002-10-02 Stefan Monnier <monnier@cs.yale.edu>
9444 * textmodes/outline.el (outline-1, outline-2, outline-3, outline-4)
9445 (outline-5, outline-6, outline-7, outline-8): New faces.
9446 (outline-font-lock-faces, outline-font-lock-levels): New vars.
9447 (outline-font-lock-face): New fun.
9448 (outline-font-lock-keywords): Use it.
9449 (outline-font-lock-level): Remove.
9450 (outline-mode, outline-next-preface, outline-next-heading)
9451 (outline-previous-heading, outline-next-visible-heading):
9453 (outline-level) <var>: Update calling convention.
9454 (outline-level) <fun>: Take advantage of it.
9455 (outline-demote): Don't assume the match-data is still uptodate.
9456 (outline-up-heading): Simplify and make sure the match data is
9457 properly set at the end.
9459 2002-10-02 Markus Rost <rost@math.ohio-state.edu>
9461 * progmodes/sh-script.el (sh-alias-alist): Use append instead of
9464 * startup.el (normal-top-level): Reset standard-value property of
9465 `user-full-name' here.
9467 2002-10-02 Per Abrahamsen <abraham@dina.kvl.dk>
9469 * wid-edit.el (widget-default-get): Change to return external
9471 (widget-choice-action): Update caller.
9472 (widget-editable-list-entry-create): Update caller.
9474 * wid-edit.el (widget-types-copy): New function.
9475 (default): Added :copy keyword.
9476 (menu-choice): Ditto.
9478 (radio-button-choice): Ditto.
9479 (editable-list): Ditto.
9481 (widget-copy): New function.
9482 (widget-create-child): Use it.
9483 (widget-create-child-value): Use it.
9485 2002-10-01 Bill Wohler <wohler@newt.com>
9487 * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
9488 mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el,
9489 mail/mh-utils.el, mail/mh-xemacs-compat.el, mail/reply2.pbm,
9490 mail/reply2.xpm, toolbar/execute.pbm, toolbar/execute.xpm,
9491 toolbar/page-down.pbm, toolbar/page-down.xpm, toolbar/refile.pbm,
9492 toolbar/refile.xpm, toolbar/repack.pbm, toolbar/repack.xpm,
9493 toolbar/rescan.pbm, toolbar/rescan.xpm, toolbar/show.pbm,
9494 toolbar/show.xpm, toolbar/widen.pbm, toolbar/widen.xpm:
9495 Upgraded to mh-e version 6.1.1. Full ChangeLog available in
9496 http://prdownloads.sourceforge.net/mh-e/mh-e-6.1.tgz?download .
9497 There were no user-visible changes in 6.1.1 from 6.1--only the
9498 section of the Makefile that installs the files into Emacs was changed.
9500 2002-10-01 Stefan Monnier <monnier@cs.yale.edu>
9502 * pcvs.el (cvs-mode-find-file): Look up font-lock-face so it also
9503 works when font-lock is turned off.
9505 * jit-lock.el (jit-lock-fontify-now): Don't widen.
9506 Let the jit-lock-functions do it if they want to.
9508 2002-10-01 Juanma Barranquero <lektu@terra.es>
9510 * eshell/esh-module.el (eshell-load-defgroups):
9511 Add "no-byte-compile: t" to subdirs.el.
9513 * makefile.w32-in (update-subdirs-CMD): Likewise.
9521 * international/mule-conf.el:
9522 * language/czech.el:
9523 * language/devanagari.el:
9524 * language/english.el:
9525 * language/georgian.el:
9526 * language/greek.el:
9527 * language/hebrew.el:
9528 * language/japanese.el:
9529 * language/korean.el:
9531 * language/misc-lang.el:
9532 * language/romanian.el:
9533 * language/slovak.el:
9535 * language/utf-8-lang.el:
9536 * emacs-lisp/cl-specs.el:
9537 * eshell/esh-maint.el:
9538 * mail/blessmail.el:
9544 * term/iris-ansi.el:
9559 * term/wyse50.el: Add "no-byte-compile: t" in first line.
9561 2002-10-01 Kenichi Handa <handa@m17n.org>
9563 * international/utf-16.el: Don't provide utf-16.
9565 * international/utf-8.el (ccl-decode-mule-utf-8):
9566 Remove unnecessary line.
9568 2002-09-30 Kenichi Handa <handa@m17n.org>
9570 * language/thai.el (thai-tis620): Add `mime-charset' property.
9572 * language/indian.el: Don't register "ISO10646.*-1" in
9573 font-ccl-encoder-alist.
9575 * language/cyrillic.el (ccl-decode-koi8): Refer to
9576 ucs-translation-table-for-decode.
9577 (ccl-decode-koi8-u): Likewise.
9578 (ccl-decode-alternativnyj): Likewise.
9579 (cyrillic-koi8): Put `dependency' property.
9581 (cyrillic-alternativnyj): Likewise.
9583 * international/utf-8.el (ucs-mule-to-mule-unicode): Don't define
9584 this translation-table name here.
9585 (utf-translation-table-for-encode): New translation-table name.
9586 (utf-fragmentation-table): Renamed from utf-8-fragmentation-table.
9587 (utf-defragmentation-table): New variable.
9588 (ucs-mule-cjk-to-unicode): Renamed from utf-8-subst-rev-table.
9589 (utf-subst-table-for-encode): New translation-table name.
9590 (ucs-unicode-to-mule-cjk): Renamed from utf-8-subst-table.
9591 (utf-subst-table-for-decode): New translation-table name.
9592 (utf-fragment-on-decoding): Renamed from
9593 utf-8-fragment-on-decoding. Correctly handle the case that
9594 unify-8859-on-encoding-mode is off. Handle mule-utf-16-le and
9596 (utf-translate-cjk): Renamed from utf-8-translate-cjk.
9597 Handle mule-utf-16-le and mule-utf-16-be too.
9598 (ccl-decode-mule-utf-8): Refer to utf-translation-table-for-decode
9599 and utf-subst-table-for-decode.
9600 (ccl-encode-mule-utf-8): Refer to utf-translation-table-for-encode
9601 and utf-subst-table-for-encode.
9602 (mule-utf-8): Fix `safe-charsets' property, put `dependency' property.
9604 * international/utf-8-subst.el: Setup ucs-unicode-to-mule-cjk and
9605 ucs-mule-cjk-to-unicode, not utf-8-subst-table and
9606 utf-8-subst-rev-table.
9608 * international/utf-16.el (utf-16-decode-ucs): Look up
9609 utf-subst-table-for-decode. Fix for the case that the looking up
9611 (ccl-decode-mule-utf-16-le): Translate characters by
9612 utf-translation-table-for-decode.
9613 (ccl-decode-mule-utf-16-be): Likewise.
9614 (ccl-encode-mule-utf-16-le): Look up utf-subst-table-for-encode
9615 at first. Translate characters by utf-translation-table-for-encode.
9616 (ccl-encode-mule-utf-16-be): Likewise.
9617 (mule-utf-16-le, mule-utf-16-be): Add `dependency' property.
9619 * loadup.el: Preload international/utf-16. Don't call ucs-unify-8859.
9621 * international/ucs-tables.el: Don't bind
9622 utf-8-translation-table-for-decode while setting up
9623 ucs-mule-8859-to-ucs-table, etc. Add `dependency' property to
9624 iso-8859-* coding systems.
9625 (ucs-unify-8859): Arguments changed to FOR-ENCODE and FOR-DECODE.
9626 If FOR-DECODE is non-nil, make ucs-mule-8859-to-mule-unicode
9627 populate the translation table named
9628 ucs-translation-table-for-decode. If FOR-ENCODE is non-nil, make
9629 ucs-mule-to-mule-unicode populates the translation table named
9630 utf-translation-table-for-encode. Call register-char-codings for
9631 mule-utf-16-be and mule-utf-16-le too.
9632 (ucs-fragment-8859): Arguments changed to FOR-ENCODE and
9633 FOR-DECODE. If FOR-DECODE is non-nil, make the translation table
9634 named ucs-translation-table-for-decode vacant. If FOR-ENCODE is
9635 non-nil, make a proper char-table populates the translation table
9636 name utf-translation-table-for-encode. Call register-char-codings
9637 for all mule-utf-* to reset their status to the original.
9638 (unify-8859-on-encoding-mode): Call ucs-unify-8859 and
9639 ucs-fragment-8859 with fixed arguments. Set the version to 21.3.
9640 (unify-8859-on-decoding-mode): Likewise. Remove dependency.
9641 (ccl-encode-unicode-font): Delete.
9642 (ucs-tables-unload-hook): Delete.
9644 * international/mule.el (decode-char): Refer to the translation
9645 hash table named utf-subst-table-for-decode. Refer to the
9646 translation table named utf-translation-table-for-decode instead
9647 of utf-8-translation-table-for-decode.
9648 (encode-char): Refer to the translation hash table named
9649 utf-subst-table-for-encode. Refer to the translation table named
9650 utf-translation-table-for-encode instead of
9651 utf-8-translation-table-for-encode.
9653 * international/mule-diag.el (describe-coding-system):
9654 Describe `dependency' property.
9656 * international/mule-conf.el (emacs-mule): Add property `composition'.
9658 * international/fontset.el (ucs-mule-to-mule-unicode): Define this
9659 translation table name here.
9660 (ucs-mule-cjk-to-unicode): New translation table name.
9661 (ccl-encode-unicode-font): Merge the code in ucs-tables.el.
9662 (font-ccl-encoder-alist): Change the font registry pattern to
9665 2002-09-30 Colin Walters <walters@gnu.org>
9667 * calc/calc-stuff.el (calc-flush-caches): Add optional arg
9670 * calc/calc-prog.el (calc-kbd-report, calc-kbd-query): Don't bind
9671 `executing-kbd-macro' and `defining-kbd-macro'.
9673 * calc/calc-ext.el (calc-reset): Don't bind `executing-kbd-macro'.
9674 Call `calc-flush-caches' with inhibit-msg arg.
9675 (calc-change-mode): Remove extra arg for `calc-save-modes'.
9677 * calc/calc-mode.el (calc-save-modes): Remove `quiet' arg.
9678 Don't bind `executing-kbd-macro'.
9680 2002-09-29 Noah Friedman <friedman@splode.com>
9682 * subr.el (read-key): Use read-key-auxiliary-map, not read-key-aux-map.
9684 2002-09-29 Richard M. Stallman <rms@gnu.org>
9686 * startup.el (user-mail-address): Initialize to a useful value
9687 once Emacs is started up; initialize to "" at loadup time.
9688 (command-line): "", not nil, means user-mail-address not set yet.
9690 2002-09-29 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9692 * net/tramp.el: Version 2.0.24 released.
9693 (tramp-methods, tramp-completion-function-alist):
9694 Rename "*-old" methods to "*_old". From Michael Albinus.
9695 (tramp-completion-function-alist):
9696 Use `tramp-completion-function-alist-ssh' for the "fcp" method.
9697 From Michael Albinus.
9698 (tramp-default-method-alist): Use "su" for "root@localhost".
9699 (tramp-host-regexp): Allow "#" for "host#port" kludge.
9700 (tramp-ange-ftp-file-name-p): If METHOD is nil, find the right
9701 default method. Require additional args USER and HOST for this.
9703 (tramp-handle-file-local-copy): More local bindings. Bind results
9704 of tramp-get-{remote,local}-{de,en}coding earlier to avoid nasty
9705 "are you awake" problem.
9706 (tramp-action-password): Protect against clobbered match data.
9707 (tramp-open-connection-setup-interactive-shell): Explicitly set
9708 tramp-last-cmd-time before invoking tramp-send-command the first
9709 time. Otherwise, tramp-send-command would issue "echo are you
9710 awake" right at the first time, which is not what we want.
9711 Reported by Douglas Gray Stephens.
9712 (tramp-find-inline-encoding): Don't redirect stdout to
9713 /dev/null to avoid "chmode go-rwx" operation from "mimencode
9714 >/dev/null" as root(!), and to check the output of the decoding
9716 (tramp-maybe-open-connection): Don't send "are you awake" if
9719 2002-09-29 Colin Walters <walters@gnu.org>
9721 * calc/calc.el (calc-dispatch-map): Actually set to keymap.
9723 2002-09-29 Mike Williams <mdub@bigfoot.com>
9725 * textmodes/sgml-mode.el (sgml-guess-indent): Handle tabs correctly.
9727 2002-09-29 Richard M. Stallman <rms@gnu.org>
9729 * custom.el (defcustom): Doc fix.
9731 2002-09-28 Richard M. Stallman <rms@gnu.org>
9733 * loadhist.el (unload-feature): When undefining a variable,
9734 delete its buffer-local bindings.
9736 2002-09-28 Luc Teirlinck <teirllm@mail.auburn.edu>
9738 * subr.el (remove-yank-excluded-properties): Fix bugs in
9739 handling of category properties.
9741 2002-09-28 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9743 * ps-print.el (ps-print-emacs-type): Error if ps-print is
9744 activated in Epoch, inLucid or in Emacs v19 or lesser.
9745 Value can no longer be `lucid'.
9746 (ps-print-version): New version number (6.5.8).
9747 (faces): Never do (require 'faces).
9749 2002-09-28 Simon Josefsson <jas@extundo.com>
9751 * mail/smtpmail.el (smtpmail-via-smtp): Only negotiate STARTTLS on
9752 streams that were opened using STARTTLS.
9754 2002-09-28 Paul Reilly <pmr@pajato.com>
9756 * files.el (auto-mode-alist): Add support for Java Enterprise
9757 ARchive (ear/EAR) and Web ARchive (war/WAR) files.
9759 2002-09-28 John Paul Wallington <jpw@shootybangbang.com>
9761 * progmodes/m4-mode.el (m4-font-lock-keywords)
9762 (m4-mode-syntax-table, m4-mode-abbrev-table, m4-m4-buffer)
9763 (m4-m4-region): Doc fixes.
9765 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>
9767 * emacs-lisp/cl-macs.el: Use the new usage-in-docstring syntax.
9768 (cl-push, cl-pop): Remove.
9769 Use pop and push throughout the file instead.
9770 (cl-transform-lambda): Add usage info to docstring if the arglist
9773 * emacs-lisp/autoload.el (make-autoload): Add usage info to docstring.
9774 (autoload-print-form): Also quote open-[-in-column 0.
9776 * help-fns.el (help-with-tutorial): Use minibuffer-completion-help.
9777 (help-split-fundoc): Don't support old syntax any more.
9778 (help-add-fundoc-usage): New fun.
9780 * emacs-lisp/cl-extra.el (cl-push, cl-pop): Remove.
9781 Use pop and push throughout the file instead.
9782 (cl-hash-lookup): Remove.
9783 (cl-make-hash-table, cl-hash-table-p, cl-gethash, cl-puthash)
9784 (cl-remhash, cl-clrhash, cl-maphash, cl-hash-table-count): Simplify.
9786 * emacs-lisp/cl-seq.el (cl-push, cl-pop): Remove.
9787 Use pop and push throughout the file instead.
9789 * emacs-lisp/edebug.el: Don't precompute menu shortcuts during
9790 loading since the current keymaps might be all weird.
9792 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't add properties
9793 to the name since they're added by mode-line-format already.
9794 (define-minor-mode): Run (,mode -1) when needed.
9796 * tar-mode.el (tar-untar-buffer): Handle dir-entries.
9797 (tar-summarize-buffer, tar-mode, tar-extract, tar-copy, tar-expunge)
9798 (tar-alter-one-field, tar-subfile-save-buffer, tar-mode-write-file):
9799 Don't hardcode 1 == point-min.
9801 * abbrev.el (write-abbrev-file): Don't hardcode point-min == 1.
9803 * subr.el (read-key-auxiliary-map): New var.
9805 (make-temp-file): Make the file have mode 600.
9806 (add-minor-mode): Don't add properties to the name since it's
9807 added by mode-line-format already.
9808 Be more careful with the mode-line-menu entry name.
9810 * userlock.el (ask-user-about-supersession-threat): Don't abort
9811 when the user hits mouse-2.
9813 * register.el (set-register): Use push.
9814 (point-to-register): Set kill-buffer-hook in this buffer.
9815 (register-swap-out): Use dolist.
9816 (kill-buffer-hook): Don't change globally.
9818 * server.el (server-select-display): New function.
9819 (server-process-filter): Add support for `-display' and `-eval' args.
9820 (server-visit-files): Use save-current-buffer, push, and dolist.
9821 Add server-kill-buffer to kill-buffer-hook.
9822 (kill-buffer-hook): Don't modify globally.
9823 (server-switch-buffer): Be a bit more careful with multiple displays.
9824 (server-socket-name): Always use /tmp and non-qualified hostname.
9826 * uniquify.el (uniquify-rationalize-file-buffer-names):
9827 Add to kill-buffer-hook for buffers with conflict.
9828 (rename-buffer): Check kill-buffer-hook to see if there was a conflict.
9829 (uniquify-delay-rationalize-file-buffer-names): Remove useless check.
9830 (kill-buffer-hook): Don't change globally.
9832 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>
9834 * calc/calc.el (calc-bug-address, calc-scan-for-dels, calc-stack)
9835 (calc-stack-top, calc-always-load-extensions)
9836 (calc-line-numbering, calc-line-breaking, calc-display-just)
9837 (calc-display-origin, calc-number-radix, calc-leading-zeros)
9838 (calc-group-digits, calc-group-char, calc-point-char)
9839 (calc-frac-format, calc-prefer-frac, calc-hms-format)
9840 (calc-date-format, calc-float-format, calc-complex-format)
9841 (calc-full-float-format, calc-complex-mode, calc-infinite-mode)
9842 (calc-display-strings, calc-matrix-just, calc-break-vectors)
9843 (calc-full-vectors, calc-full-trail-vectors, calc-vector-commas)
9844 (calc-vector-brackets, calc-matrix-brackets, calc-language)
9845 (calc-language-option, calc-function-open, calc-function-open)
9846 (calc-function-close, calc-language-output-filter)
9847 (calc-language-input-filter, calc-radix-formatter)
9848 (calc-left-label, calc-right-label, calc-word-size)
9849 (calc-previous-modulo, calc-simplify-mode, calc-auto-recompute)
9850 (calc-display-raw, calc-internal-prec, calc-inverse-flag)
9851 (calc-hyperbolic-flag, calc-keep-args-flag, calc-angle-mode)
9852 (calc-algebraic-mode, calc-incomplete-algebraic-mode)
9853 (calc-symbolic-mode, calc-matrix-mode, calc-shift-prefix)
9854 (calc-window-height, calc-display-trail, calc-show-selections)
9855 (calc-use-selections, calc-assoc-selections)
9856 (calc-display-working-message, calc-auto-why, calc-timing)
9857 (calc-display-sci-high, calc-display-sci-low, calc-other-modes)
9858 (calc-other-modes, calc-Y-help-msgs, calc-loaded-settings-file):
9859 Make into real defvars.
9860 (calc-mode-var-list): Delete.
9861 (calc-mode-save-mode, calc-standard-date-formats)
9862 (calc-autorange-units, calc-was-keypad-mode, calc-full-mode)
9863 (calc-user-parse-tables, calc-gnuplot-default-device)
9864 (calc-gnuplot-default-output, calc-gnuplot-print-device)
9865 (calc-gnuplot-print-output, calc-gnuplot-geometry)
9866 (calc-graph-default-resolution, calc-graph-default-resolution-3d)
9867 (calc-invocation-macro, calc-show-banner): Make into defvars,
9868 taken from `calc-mode-var-list'.
9869 (calc-emacs-type-epoch, calc-emacs-type-19)
9870 (calc-emacs-type-lucid, calc-emacs-type-gnu19): Make into defvars.
9871 (calc-version, calc-version-date, calc-trail-pointer)
9872 (calc-trail-overlay, calc-undo-list, calc-redo-list)
9873 (calc-main-buffer, calc-trail-buffer, calc-why, calc-next-why)
9874 (calc-inverse-flag, calc-hyperbolic-flag, calc-keep-args-flag)
9875 (calc-last-kill, calc-previous-alg-entry, calc-dollar-values)
9876 (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
9877 (calc-said-hello, calc-executing-macro, calc-any-selections)
9878 (calc-help-phase, calc-full-help-flag, calc-refresh-count)
9879 (calc-display-dirty, calc-prepared-composition)
9880 (calc-selection-cache-default-entry, calc-embedded-info)
9881 (calc-embedded-active, calc-standalone-flag, var-EvalRules)
9882 (math-eval-rules-cache-tag, math-radix-explicit-format)
9883 (math-expr-function-mapping, math-expr-variable-mapping)
9884 (math-read-expr-quotes, math-working-step, math-working-step-2)
9885 (var-i, var-pi, var-e, var-phi, var-gamma, var-Modes): Make into
9886 defvars, from toplevel setq.
9887 (calc-mode-map): Set up keymap in more modern fashion.
9888 (calc-dispatch-map): Ditto.
9889 (calc-command-flags, calc-final-point-line)
9890 (calc-final-point-column): Defvar.
9891 (calc-do): Use `save-current-buffer' instead of `save-excursion'.
9893 (calc-any-evaltos): Ditto.
9894 (calc-buffer, calc-prev-char, calc-prev-prev-char)
9895 (calc-digit-value): Ditto.
9896 (math-eval-rules-cache, math-eval-rules-cache-other): Ditto.
9897 (math-sub-bignum): Bind `diff'.
9898 (calc-selection-cache-entry): Defvar.
9899 (calc-count-lines): Reference `pos' instead of `newpos'.
9901 2002-09-27 Simon Josefsson <jas@extundo.com>
9903 * mail/mail-hist.el (mail-hist-next-input): Fix docstring.
9905 2002-09-26 Richard M. Stallman <rms@gnu.org>
9907 * mail/unrmail.el (unrmail): Do the work directly,
9908 without actually selecting the messages in the from file.
9909 (unrmail-unprune): New subroutine.
9911 * files.el (backup-buffer): Bind local var MODES.
9912 Don't use renaming for a suid or sgid file.
9913 Use backup-buffer-copy to do copying.
9914 (backup-buffer-copy): New subroutine.
9915 Clear suid and sgid bits for the copy.
9917 2002-09-26 Edward M. Reingold <reingold@emr.cs.iit.edu>
9919 * calendar/solar.el (solar-equinoxes-solstices):
9920 Use time properly adjusted for DST in the result.
9922 2002-09-26 Richard M. Stallman <rms@gnu.org>
9924 * follow.el (follow-generic-filter): Simply bind deactivate-mark.
9925 Bind inhibit-read-only; don't mess with buffer-read-only.
9927 * speedbar.el (speedbar-refresh): Simply bind deactivate-mark.
9929 2002-09-26 Luc Teirlinck <teirllm@mail.auburn.edu>
9931 * ielm.el (inferior-emacs-lisp-mode): Treat the header as
9932 output, if comint-use-prompt-regexp-instead-of-fields is nil.
9934 2002-09-26 John Paul Wallington <jpw@shootybangbang.com>
9936 * ibuffer.el (ibuffer-update): Call `minibufferp' with argument
9937 instead of within `with-current-buffer'.
9939 2002-09-26 Stephen Eglen <stephen@gnu.org>
9941 * iswitchb.el (iswitchb-completions): Test that
9942 iswitchb-common-match-string is a string, before printing common
9945 2002-09-25 Stefan Monnier <monnier@cs.yale.edu>
9947 * server.el: Use built-in network primitives.
9948 (server-program, server-previous-string): Remove.
9949 (server-previous-strings): New var.
9950 (server-socket-name): New var.
9951 (server-log): Minor change to the output format.
9952 (server-sentinel): Clean up global state when a client disconnects.
9953 (server-unquote-arg): New fun.
9954 (server-start): Use server-socket-name and make-network-process.
9955 (server-process-filter): Now talks to the clients directly.
9956 Normalize file name after unquoting and decoding.
9957 (server-buffer-done): Just close the connection.
9958 (server-switch-buffer): Handle the case where all windows are
9959 dedicated or minibuffers.
9961 * font-lock.el (fast-lock-mode, lazy-lock-mode, jit-lock-mode):
9962 Don't bind them variables.
9963 (font-lock-turn-off-thing-lock, font-lock-after-fontify-buffer)
9964 (font-lock-after-unfontify-buffer): Check that the vars are bound.
9965 (font-lock-dont-widen): New var.
9966 (font-lock-default-fontify-region): Use it.
9968 * emacs-lisp/find-func.el (find-library-name):
9969 Correctly find "file.el.gz" from "file.elc" or "file.elc.gz".
9971 2002-09-25 Kenichi Handa <handa@etl.go.jp>
9973 * international/mule-cmds.el (select-safe-coding-system):
9974 Handle safe but rejected default coding systems and unsafe default
9975 coding systems differently.
9977 * international/mule-diag.el (list-character-sets): Use the buffer
9978 name "*Character Set List*", not "*Help*". List also indirectly
9979 supported character sets.
9980 (list-charset-chars): Use the buffer name "*Character List*", not
9981 "*Help*". Display the current charset name in the modeline.
9982 (non-iso-charset-alist): Add mapped charset list for `mac-roman'.
9983 (sort-listed-character-sets): Don't alter the region showing
9984 indirectly supported charsets.
9986 2002-09-24 Simon Josefsson <jas@extundo.com>
9988 * mail/mail-extr.el (mail-extr-ignore-single-names): Change default.
9989 (mail-extract-address-components): Doc fix.
9991 2002-09-24 Markus Rost <rost@math.ohio-state.edu>
9993 * simple.el (edit-and-eval-command): Protect command-history.
9994 (repeat-complex-command): Protect command-history.
9996 2002-09-24 Juanma Barranquero <lektu@terra.es>
9998 * replace.el (occur-find-match): New function.
9999 (occur-next, occur-prev): Use it.
10001 * progmodes/sh-script.el (sh-mark-init): Don't set `occur-buffer'.
10002 (sh-mark-line): Likewise. Use 'occur-target and 'occur-match
10003 instead of 'occur and 'occur-point.
10005 * eshell/em-unix.el (eshell-occur-mode-mouse-goto)
10006 (eshell-poor-mans-grep): Remove references to `occur-buffer'.
10008 2002-09-24 Stefan Monnier <monnier@cs.yale.edu>
10010 * descr-text.el (describe-text-category): Use *Help*.
10012 (describe-text-properties, describe-char):
10013 Delay self-inspection test. Use *Help*.
10014 Use syntax-after. Use `pos' rather than (point).
10015 Distinguish the before/after part of a composition.
10017 2002-09-23 Kenichi Handa <handa@etl.go.jp>
10019 * international/quail.el (quail-completion): Be sure to scroll
10020 quail-completion-buf.
10022 2002-09-23 Richard M. Stallman <rms@gnu.org>
10024 * ielm.el (*1): Fix previous change.
10026 2002-09-23 Juanma Barranquero <lektu@terra.es>
10028 * net/tramp.el (tramp-unified-filenames): Autoload it.
10030 2002-09-23 Michael Kifer <kifer@cs.stonybrook.edu>
10032 * ediff-init.el (ediff-get-next-window): Bug fix.
10034 2002-09-22 Oliver Scholz <alkibiades@gmx.de>
10036 * play/gamegrid.el (gamegrid-face): New variable to emulate a
10037 buffer-local default face.
10038 (gamegrid-xbm): New variable; XBM image as a replacement for
10039 `gamegrid-xpm' on Emacsen compiled without XPM-support.
10040 (gamegrid-colorize-glyph): Ported XEmacs-code for the generation
10041 of images to Emacs.
10042 (gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to
10043 convert XEmacs-type image descriptors.
10044 (gamegrid-color-display-p): Remove (use `display-colors-p' instead.)
10045 (gamegrid-make-image-from-vector): New function. Convert XEmacs'
10047 (gamegrid-display-type): Use Emacs' standard `display-.*-p'
10048 functions to check for display capabilities. Fix the recognition
10049 of image-support in Emacs 21 by this way.
10050 (gamegrid-hide-cursor): Removed.
10051 (gamegrid-setup-default-font): Ported the code from XEmacs to
10052 Emacs: create a new face and assign the variable `gamegrid-face'
10053 to it. Make sure that the face is not higher than the smallest
10054 image used by the game.
10055 (gamegrid-initialize-display): Use `(setq cursor-type nil)'
10056 instead of `gamegrid-hide-cursor'.
10057 (gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an
10058 image in the buffer, instead of applying a face. [This is because
10059 Emacs display-tables are not as capable as the display-tables in
10060 XEmacs. Maybe this function should be renamed to reflect the change?]
10061 (gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put
10062 the face held by `gamegrid-face' in an overlay over the whole
10063 buffer to emulate a buffer-local default-face.
10065 2002-09-22 Markus Triska <triska@gmx.at> (tiny change)
10067 * play/doctor.el (doctor-doc): Add 2 question words.
10068 (doctor-getnoun): Parse and save the complete object phrase.
10070 2002-09-22 Richard M. Stallman <rms@gnu.org>
10072 * international/mule-cmds.el (select-safe-coding-system): Cope if
10073 default-coding-system gives nil which was then used in `min'.
10075 * mail/sendmail.el (sendmail-send-it): If user's buffer
10076 is unibyte, make tembuf unibyte.
10078 2002-09-22 Kai Großjohann <grossjoh@ls6.informatik.uni-dortmund.de>
10080 * net/tramp.el: Version 2.0.22 released.
10081 (tramp-parse-rhosts, tramp-parse-shosts)
10082 (tramp-parse-hosts, tramp-parse-passwd): Apply `push' but
10083 `add-to-list' for performance reasons.
10084 (tramp-get-completion-user-host): Return `nil' in case both `user'
10085 and 'host' are empty (not necessarily `nil'.
10086 (tramp-parse-netrc, tramp-parse-netrc-group): New functions.
10087 (tramp-user-regexp): " \t" are not user regexp characters.
10088 (tramp-completion-handle-file-name-all-completions):
10089 Remove Ange-FTP completion. It has a bug not handling the "/ftp:"
10090 prefix completely, and it returns local completions as well.
10091 (tramp-completion-function-alist-ftp): New constant.
10092 (tramp-completion-function-alist): Add completion function for "ftp".
10093 From Michael Albinus <Michael.Albinus@alcatel.de>.
10095 2002-09-22 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10097 * net/tramp.el: Version 2.0.21 released.
10098 (tramp-handle-file-newer-than-file-p): If mtime of both files is
10099 known, return a useful result. Better error message in case one
10100 is a Tramp file and one isn't.
10101 (tramp-handle-file-local-copy, tramp-handle-write-region)
10102 (tramp-find-shell, tramp-open-connection-telnet)
10103 (tramp-open-connection-rsh, tramp-open-connection-su)
10104 (tramp-open-connection-setup-interactive-shell)
10105 (tramp-post-connection, tramp-maybe-open-connection)
10106 (tramp-method-out-of-band-p): Correct number of args for
10107 `tramp-get-rsh-program' and similar functions.
10109 2002-09-22 Kai Großjohann <grossjoh@ls6.informatik.uni-dortmund.de>
10111 * net/tramp.el: Version 2.0.20 released.
10113 2002-09-20 Kai Großjohann <grossjoh@ls6.informatik.uni-dortmund.de>
10115 * net/tramp.el (tramp-completion-function-alist): Escape open
10116 paren in docstring.
10117 (tramp-user-regexp, tramp-host-regexp): Allow empty strings.
10118 (tramp-handle-insert-file-contents): Call tramp-message-for-buffer
10119 instead of tramp-message.
10120 (tramp-open-connection-rsh): Handle empty string as user name.
10121 (tramp-open-connection-su): Handle empty string as host name.
10122 Handle nil user name.
10123 (tramp-handle-file-local-copy, tramp-handle-write-region)
10124 (tramp-completion-handle-file-name-all-completions)
10125 (tramp-open-connection-telnet, tramp-open-connection-rsh)
10126 (tramp-open-connection-su, tramp-post-connection)
10127 (tramp-maybe-open-connection, tramp-method-out-of-band-p)
10128 (tramp-get-connection-function, tramp-get-remote-sh)
10129 (tramp-get-rsh-program, tramp-get-rsh-args)
10130 (tramp-get-rcp-program, tramp-get-rcp-args)
10131 (tramp-get-rcp-keep-date-arg, tramp-get-su-program)
10132 (tramp-get-su-args, tramp-get-telnet-program)
10133 (tramp-get-telnet-args): Use `tramp-find-method', perhaps require
10134 additional args USER, HOST.
10135 (tramp-action-password, tramp-open-connection-telnet)
10136 (tramp-open-connection-su, tramp-open-connection-multi)
10137 (tramp-method-out-of-band-p): `tramp-method-out-of-band-p' now
10138 takes USER and HOST arguments, to be able to use
10139 `tramp-find-method'. Update callers.
10140 (tramp-find-method): New function.
10142 2002-09-20 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10144 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
10145 in SWITCHES (by removing it).
10147 2002-09-18 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10149 * net/tramp.el (tramp-file-name-handler): Add `file-remote-p' property.
10151 2002-09-17 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10153 * net/tramp.el (top-level): Maybe autoload uudecode-decode-region.
10155 2002-09-16 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10157 * net/tramp.el (tramp-bug): Add tramp-methods.
10159 2002-09-16 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10161 * net/tramp.el (tramp-methods): Update docstring:
10162 tramp-encoding-command, tramp-decoding-command,
10163 tramp-encoding-function and tramp-decoding-function are not
10164 parameters anymore.
10165 (tramp-uuencode-region): Autoload it.
10167 2002-09-13 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10169 * net/tramp.el: Version 2.0.19 released.
10171 * net/tramp-uu.el: New file, implements uuencode in Lisp.
10173 * net/tramp.el (tramp-coding-commands):
10174 Use `tramp-uuencode-region' as local encoder for the uuencode based
10177 2002-09-13 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10179 * net/tramp.el (tramp-handle-write-region): Wrong parens.
10181 2002-09-13 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10183 * net/tramp.el: Version 2.0.18 released.
10185 * net/tramp.el (tramp-perl-decode): Perl changes to accommodate
10186 older versions of Perl. Now tested with 5.004. Suggestion from
10189 2002-09-12 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10191 * net/tramp.el (tramp-find-inline-encoding):
10192 Call tramp-call-local-coding-command with nil for INPUT and OUTPUT.
10193 (tramp-call-local-coding-command): OUTPUT equals nil means to
10194 discard the output. INPUT equals nil means /dev/null.
10196 2002-09-12 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10198 * net/tramp.el (tramp-encoding-shell): Default to environment
10199 variable COMSPEC on Windows.
10200 (tramp-handle-write-region): More debugging output.
10201 (tramp-find-inline-encoding): Ditto.
10203 2002-09-11 Michael Albinus <Michael.Albinus@alcatel.de>
10205 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10207 (tramp-parse-hosts-group): Discard IPv6 entries.
10209 2002-09-11 Kai Großjohann <grossjoh@ls6.informatik.uni-dortmund.de>
10211 * net/tramp.el (tramp-post-connection): Only send Perl
10212 mime-encode/decode implementations when using inline method.
10213 (tramp-handle-file-local-copy)
10214 (tramp-handle-write-region, tramp-post-connection)
10215 (tramp-coding-commands, tramp-find-inline-encoding): For the
10216 inline encodings, distinguish between local and remote commands,
10217 instead of between commands and functions. (The local commands
10218 can be functions, too.) If the local host is a Windows machine,
10219 we can't expect the same commands to work there as on the remote host.
10220 (tramp-call-local-coding-command): New function for calling local
10221 encoding and decoding commands.
10222 (tramp-set-remote-encoding, tramp-get-remote-encoding)
10223 (tramp-set-remote-decoding, tramp-get-remote-decoding)
10224 (tramp-set-local-encoding, tramp-get-local-encoding)
10225 (tramp-set-local-decoding, tramp-get-local-decoding): New functions.
10226 (tramp-get-encoding-command, tramp-set-encoding-command)
10227 (tramp-get-decoding-command, tramp-set-decoding-command)
10228 (tramp-get-encoding-function, tramp-set-encoding-function)
10229 (tramp-get-decoding-function, tramp-set-decoding-function):
10230 Old functions, removed.
10232 2002-09-10 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10234 * net/tramp.el (tramp-open-connection-setup-interactive-shell):
10235 Change command to invoke /bin/sh slightly to make it compatible
10236 with the `rc' shell. Suggested by Daniel Pittman.
10238 2002-09-10 Michael Albinus <Michael.Albinus@alcatel.de>
10240 * net/tramp.el (tramp-handle-write-region): Added missing
10241 `)'. Hope it's the right place.
10243 2002-09-09 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10245 * net/tramp.el (tramp-open-connection-setup-interactive-shell):
10246 Do "exec env PS1='$ ' /bin/sh" instead of just "exec /bin/sh" in
10247 order to get a sane shell prompt. If people have ${CWD}, say, in
10248 their shell prompt, then the default login shell might display
10249 something harmless, but the /bin/sh will display a dollar sign
10250 which confused the subsequent prompt recognition.
10251 (tramp-multi-action-password): More debugging output.
10252 (tramp-encoding-shell): Renamed from tramp-sh-program.
10253 More documentation. Default to cmd.exe on Windows NT.
10254 (tramp-encoding-command-switch): New variable. Use instead of
10255 hard-wired "-c" which is only good for /bin/sh.
10256 (tramp-encoding-reads-stdin): New variable. If t, commands are
10257 called like "/bin/sh -c COMMAND <INPUT", if nil, they are called
10258 like "/bin/sh -c COMMAND INPUT", ie the input file is the last arg.
10259 (tramp-multi-sh-program): Always default to tramp-encoding-shell.
10260 (tramp-handle-file-local-copy, tramp-handle-write-region):
10261 Respect tramp-encoding-shell and friends.
10262 (tramp-find-inline-encoding): Use new-style calls for checking if
10263 the local commands work.
10265 2002-09-07 Michael Albinus <Michael.Albinus@alcatel.de>
10267 * net/tramp.el (tramp-methods): Remove `tramp-completion-function'
10268 entries. They are handled now by `tramp-completion-function-alist'.
10269 (tramp-completion-function): Defvar removed. I've never used it. Hmm.
10270 (tramp-get-completion-function)
10271 (tramp-get-completion-rsh, tramp-get-completion-ssh)
10272 (tramp-get-completion-telnet, tramp-get-completion-su):
10273 Functions removed as well. Not necessary any longer due to extended
10274 customization means.
10275 (tramp-completion-function-alist): New defcustom. Holds all
10276 FUNCTION FILE pairs used for user and host name completion
10277 relevant for METHOD.
10278 (tramp-completion-function-alist-rsh)
10279 (tramp-completion-function-alist-ssh)
10280 (tramp-completion-function-alist-telnet)
10281 (tramp-completion-function-alist-su): Defconst for initializing
10282 `tramp-completion-function-alist'. Unfortunately, mainly UNIX-like
10283 values are known for me until now. Needs to be completed for at
10284 least VMS++ like operating systems.
10285 (tramp-set-completion-function)
10286 (tramp-get-completion-function): New functions for configuration
10287 of `tramp-completion-function-alist'. The old definition of
10288 `tramp-get-completion-function' has been discarded.
10289 (tramp-completion-handle-file-name-all-completions):
10290 Change function call for user/host completion according to definition
10291 in `tramp-completion-function-alist'.
10292 (tramp-parse-passwd): Added exception handling for "root", because
10293 `tramp-get-completion-su' (the previous place for this stuff)
10294 doesn't exist any longer.
10296 2002-09-07 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10298 * net/tramp.el (tramp-enter-password):
10299 Use `tramp-password-end-of-line' to terminate the line.
10300 (tramp-bug): Include new variable `tramp-password-end-of-line'.
10301 (tramp-password-end-of-line): New variable. People who use plink
10302 under Windows might have to issue "\r\n" after the password, but
10303 they need to send just "\n" after the other commands. So this
10304 variable was introduced to complement `tramp-rsh-end-of-line'.
10305 (tramp-wait-for-output, tramp-post-connection): Allow "\r" at end
10306 of line of the output delimiter.
10308 2002-09-06 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10310 * net/tramp.el (tramp-handle-file-local-copy, tramp-find-shell)
10311 (tramp-open-connection-setup-interactive-shell): Add some comments
10312 about Douglas Grey Stephen's suggestions to make Tramp work better
10313 with plink under Windows. I'm not sure what to think of them, but
10314 now I have a guinea pig to try it out on. Said guinea pig is
10315 having other problems, though... Also remove some commented-out code.
10317 2002-09-06 Michael Albinus <Michael.Albinus@alcatel.de>
10319 * net/tramp.el (tramp-get-completion-methods): Algorithm slightly
10321 (tramp-get-completion-user-host): Accept user names as they are if
10323 (tramp-completion-mode): Replace `last-input-char' by modern
10324 `last-input-event'. Check for `event-modifiers'.
10326 2002-09-06 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10328 * net/tramp.el (file-expand-wildcards): Corrected check to see if
10329 advising is necessary.
10331 2002-09-05 Michael Albinus <Michael.Albinus@alcatel.de>
10333 * net/tramp.el (tramp-postfix-single-method-format)
10334 (tramp-postfix-multi-method-format)
10335 (tramp-postfix-multi-hop-format)
10336 (tramp-postfix-user-format): New format strings.
10337 (tramp-postfix-single-method-regexp)
10338 (tramp-postfix-multi-method-regexp)
10339 (tramp-postfix-multi-hop-regexp)
10340 (tramp-postfix-user-regexp)
10341 (tramp-make-multi-tramp-file-format)
10342 (tramp-make-tramp-file-name): Apply them.
10343 (tramp-completion-handle-file-name-all-completions): Fix for
10344 invoking ange-ftp in case of "/ftp:xxx" file names.
10346 2002-09-04 Michael Albinus <Michael.Albinus@alcatel.de>
10348 * net/tramp.el (tramp-prefix-format)
10349 (tramp-postfix-host-format): New format strings.
10350 (tramp-prefix-regexp, tramp-method-regexp)
10351 (tramp-postfix-single-method-regexp)
10352 (tramp-postfix-multi-method-regexp)
10353 (tramp-postfix-multi-hop-regexp)
10354 (tramp-user-regexp, tramp-postfix-user-regexp)
10355 (tramp-host-regexp, tramp-postfix-host-regexp)
10356 (tramp-path-regexp): New atomar regular expressions.
10357 If corresponding format strings exist, derived from them.
10358 (tramp-file-name-structure)
10359 (tramp-multi-file-name-structure)
10360 (tramp-multi-file-name-hop-structure)
10361 (tramp-make-multi-tramp-file-format)
10362 (tramp-completion-mode)
10363 (tramp-completion-dissect-file-name)
10364 (tramp-parse-rhosts-group)
10365 (tramp-parse-shosts-group)
10366 (tramp-parse-hosts-group)
10367 (tramp-parse-passwd-group): Apply these expressions.
10368 (tramp-file-name-structure-unified)
10369 (tramp-file-name-structure-separate)
10370 (tramp-make-tramp-file-format-unified)
10371 (tramp-make-tramp-file-format-separate)
10372 (tramp-make-tramp-file-format)
10373 (tramp-make-tramp-file-user-nil-format-unified)
10374 (tramp-make-tramp-file-user-nil-format-separate)
10375 (tramp-make-tramp-file-user-nil-format)
10376 (tramp-multi-file-name-structure-unified)
10377 (tramp-multi-file-name-structure-separate)
10378 (tramp-multi-file-name-hop-structure-unified)
10379 (tramp-multi-file-name-hop-structure-separate)
10380 (tramp-make-multi-tramp-file-format-unified)
10381 (tramp-make-multi-tramp-file-format-separate): Removed.
10382 (tramp-make-tramp-file-name): Allow partial tramp file
10383 names. Generate tramp file format on-the-fly depending on
10384 parameters. Apply atomar format strings resp expressions.
10385 (tramp-get-completion-methods)
10386 (tramp-get-completion-user-host): Apply `tramp-make-tramp-file-name'.
10387 (tramp-parse-hosts-group): Take all host names and IP addresses
10389 (tramp-bug): Remove `tramp-make-tramp-file-format'.
10391 2002-09-01 Michael Albinus <Michael.Albinus@alcatel.de>
10393 * net/tramp.el (tramp-methods): Add `tramp-completion-function'
10394 for "su" and "sudo".
10395 (tramp-get-completion-telnet): Implement it.
10396 (tramp-parse-hosts)
10397 (tramp-parse-hosts-group)
10398 (tramp-get-completion-su)
10399 (tramp-parse-passwd)
10400 (tramp-parse-passwd-group): New functions.
10402 2002-08-31 Michael Albinus <Michael.Albinus@alcatel.de>
10404 * net/tramp.el (tramp-completion-mode): Check for `last-input-char'.
10405 (tramp-completion-file-name-handler-alist): Add handler for
10407 (tramp-completion-handle-file-exists-p): New function.
10408 (tramp-completion-handle-file-name-completion): Simplified.
10409 (tramp-completion-dissect-file-name): Regexp's reorganized.
10410 (tramp-completion-handle-file-name-all-completions):
10411 Call completion-function only if `user' or `host' is given.
10412 (tramp-get-completion-user-host): New function.
10413 (tramp-get-completion-rsh)
10414 (tramp-get-completion-ssh): Apply it.
10416 2002-08-29 Michael Albinus <Michael.Albinus@alcatel.de>
10418 * net/tramp.el (tramp-completion-file-name-handler-alist):
10419 Add handler for `expand-file-name'.
10420 (tramp-completion-handle-expand-file-name): New function.
10422 2002-08-26 Michael Albinus <Michael.Albinus@alcatel.de>
10424 * net/tramp.el (tramp-completion-mode): New function.
10425 (tramp-completion-handle-file-name-directory)
10426 (tramp-completion-handle-file-name-all-completions): Apply it.
10427 (tramp-methods): Remove double definition of `ssh1-old' and `ssh2-old'.
10428 (tramp-point-at-eol): New defalias.
10429 (tramp-parse-rhosts-group)
10430 (tramp-parse-shosts-group): Apply it.
10432 2002-08-25 Michael Albinus <Michael.Albinus@alcatel.de>
10434 * net/tramp.el (tramp-get-completion-methods)
10435 (tramp-get-completion-rsh)
10436 (tramp-get-completion-ssh): Add "[" for XEmacs.
10437 (tramp-completion-file-name-regexp-separate): Expression adapted.
10438 (tramp-completion-file-name-handler-alist): Add handler for
10439 `file-name-directory' and `file-name-nondirectory'.
10440 (tramp-completion-handle-file-name-directory)
10441 (tramp-completion-handle-file-name-nondirectory)
10442 (tramp-completion-run-real-handler): New functions.
10443 (tramp-completion-file-name-handler)
10444 (tramp-completion-handle-file-name-all-completions):
10445 Apply `tramp-completion-run-real-handler'.
10446 (tramp-parse-rhosts)
10447 (tramp-parse-shosts): Use `with-temp-buffer'. `result' renamed to
10448 `res' (otherwise side effects in XEmacs).
10450 2002-08-24 Michael Albinus <Michael.Albinus@alcatel.de>
10452 * net/tramp.el (tramp-completion-file-name-regexp)
10453 (tramp-completion-file-name-handler-alist)
10454 (tramp-flatten-list)
10455 (tramp-completion-dissect-file-name)
10456 (tramp-get-completion-rsh)
10457 (tramp-parse-rhosts)
10458 (tramp-parse-rhosts-group)
10459 (tramp-get-completion-ssh): Doc string tuned.
10460 (tramp-methods): Doc string and custom type extended for
10461 `tramp-completion-function'.
10462 (tramp-completion-function): Variable added. Is it really used?
10463 Other variables like `tramp-completion-function' aren't used.
10464 (tramp-completion-file-name-handler-alist): Add handler for
10465 `file-name-completion'.
10466 (tramp-completion-handle-file-name-completion): New function.
10468 2002-08-18 Michael Albinus <Michael.Albinus@alcatel.de>
10470 * net/tramp.el (tramp-parse-rhosts)
10471 (tramp-parse-rhosts-group)
10472 (tramp-parse-shosts)
10473 (tramp-parse-shosts-group): New functions.
10475 2002-08-17 Michael Albinus <Michael.Albinus@alcatel.de>
10477 * net/tramp.el (tramp-completion-dissect-file-name)
10478 (tramp-completion-dissect-file-name1): New functions.
10480 2002-08-16 Michael Albinus <Michael.Albinus@alcatel.de>
10482 * net/tramp.el (tramp-get-completion-function)
10483 (tramp-get-completion-rsh)
10484 (tramp-get-completion-ssh)
10485 (tramp-get-completion-telnet): New functions.
10486 (tramp-methods): Add `tramp-completion-function' for all methods.
10488 2002-08-15 Michael Albinus <Michael.Albinus@alcatel.de>
10490 * net/tramp.el (tramp-get-completion-methods): New function.
10491 (tramp-find-default-method): Allow host to be nil (like user).
10493 2002-08-14 Michael Albinus <Michael.Albinus@alcatel.de>
10495 * net/tramp.el (tramp-completion-file-name-regexp-unified)
10496 (tramp-completion-file-name-regexp-separate)
10497 (tramp-completion-file-name-regexp)
10498 (tramp-completion-file-name-handler-alist): New defcustoms.
10499 (tramp-completion-file-name-handler): New function.
10500 Add `tramp-completion-file-name-handler' to `file-name-handler-alist'.
10501 (tramp-run-real-handler): Add `tramp-completion-file-name-handler'
10502 to `inhibit-file-name-handlers'.
10503 (tramp-completion-handle-file-name-all-completions)
10504 (tramp-completion-handle-file-name-completion): New functions.
10506 2002-08-12 Michael Albinus <Michael.Albinus@alcatel.de>
10508 * net/tramp.el (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp'
10509 must be called again after activating `ange-ftp'.
10510 (tramp-ange-ftp-file-name-p): Check for XEmacs.
10512 2002-08-08 Michael Albinus <Michael.Albinus@alcatel.de>
10514 * net/tramp.el (tramp-do-copy-or-rename-file): Don't pass
10515 KEEP-DATE to tramp-invoke-ange-ftp 'rename.
10516 (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
10517 tramp-invoke-ange-ftp 'write-region.
10518 (tramp-handle-set-file-modes): Change order of FILENAME and MODE
10519 passing to tramp-invoke-ange-ftp 'set-file-modes.
10520 (tramp-flatten-list): New function. Maybe this functionality does
10521 exist already elsewhere in the libraries.
10522 (tramp-invoke-ange-ftp): Apply `tramp-flatten-list' to parameter
10523 list in order to avoid nested lists, f.e. when invoked from
10524 `tramp-handle-dired-call-process'.
10526 2002-09-05 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10528 * net/tramp.el (tramp-chunksize): New kluge variable.
10529 (tramp-send-region): If tramp-chunksize is non-nil, send region in
10530 parts and sleep 0.1 seconds between chunks.
10532 2002-09-03 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10534 * net/tramp.el (tramp-handle-insert-directory):
10535 Use `insert-buffer-substring' instead of `insert-buffer', which is not
10536 supposed to be used from Lisp. Remember old point in a variable
10537 instead of using `mark'. Suggestion from Stefan Monnier.
10538 (tramp-unified-filenames): New variable. Use it in default value
10539 of other filename variables.
10540 (file-expand-wildcards): Don't advise unless "[" and "]" are used
10541 in the filename format.
10543 2002-09-01 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10545 * net/tramp.el (tramp-methods): Remove duplicate definition of
10546 ssh1-old and ssh2-old.
10548 2002-09-22 Kai Großjohann <grossjoh@ls6.informatik.uni-dortmund.de>
10550 * dired.el (dired-insert-directory): Always add "--dired" to
10551 SWITCHES for remote files.
10552 * files.el (insert-directory): Comment saying that "--dired"
10553 might be in the SWITCHES.
10554 * net/ange-ftp.el (ange-ftp-ls): Handle "--dired" in LSARGS.
10555 (ange-ftp-insert-directory): Comment explaining "--dired" handling.
10557 2002-09-21 Markus Rost <rost@math.ohio-state.edu>
10559 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Give %!._-
10560 word constituent syntax.
10562 2002-09-21 Richard M. Stallman <rms@gnu.org>
10564 * cus-dep.el (custom-make-dependencies): Bind to t
10565 around evaluating the def-form.
10567 * custom.el (custom-dont-initialize): New variable.
10568 (custom-declare-variable): Don't init the variable
10569 if custom-dont-initialize is non-nil.
10571 2002-09-21 John Paul Wallington <jpw@shootybangbang.com>
10573 * net/eudc.el (eudc-install-menu): Use `define-key' and
10574 `easy-menu-create-menu' to avoid duplication of menu.
10576 2002-09-20 Kim F. Storm <storm@cua.dk>
10578 * kmacro.el (kmacro-step-edit-query): Use RET to execute rest of
10579 macro and terminate editing.
10580 (kmacro-step-edit-macro): Push previous macro onto ring if changed
10583 2002-09-19 Tom Tromey <tromey@redhat.com>
10585 * play/blackbox.el (bb-right): Respect prefix argument.
10586 (bb-left, bb-up, bb-down): Likewise.
10588 2002-09-19 Richard M. Stallman <rms@gnu.org>
10590 * cus-dep.el (custom-make-dependencies): Fix previous change.
10592 2002-09-19 Juanma Barranquero <lektu@terra.es>
10594 * ielm.el (ielm-eval-input): Call `error-message-string' instead
10595 of the non-existent `ielm-format-error'.
10597 2002-09-19 Stefan Monnier <monnier@cs.yale.edu>
10599 * emacs-lisp/easymenu.el (easy-menu-remove):
10600 * emacs-lisp/ewoc.el (ewoc--node-branch): Add docstring.
10602 * international/mule-diag.el (describe-coding-system):
10603 Remove unused `coding-spec' variable.
10604 (list-input-methods): Be more careful when setting up the help buffer.
10606 * international/ucs-tables.el (unify-8859-on-encoding-mode):
10607 Set init value to t to reflect reality.
10608 (ucs-minibuffer-setup): Use minibuffer-selected-window.
10610 2002-09-18 Stefan Monnier <monnier@cs.yale.edu>
10612 * progmodes/make-mode.el (makefile-cleanup-continuations-p):
10613 Rename to makefile-cleanup-continuations.
10614 (makefile-mode): Use write-file-functions.
10615 (makefile-fill-paragraph): Use match-string-no-properties.
10616 (makefile-fill-paragraph): Use line-end-position.
10617 (makefile-add-log-defun): Simplify.
10619 2002-09-18 Richard M. Stallman <rms@gnu.org>
10621 * dired.el (dired-mark-pop-up): Doc fix.
10623 * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Put the
10624 definition straight into loaddefs.el as well as executing it here.
10626 2002-09-18 Colin Walters <walters@debian.org>
10628 * calc/calc.el (calc-mode): Add font-lock-defontify to
10629 change-major-mode-hook.
10631 2002-09-18 Richard M. Stallman <rms@gnu.org>
10633 * Makefile.in (bootstrap-clean): Use cd to shorten arg strings.
10634 Don't ignore errors in rm line.
10636 * menu-bar.el (menu-bar-search-menu): Nicer help string.
10638 * replace.el (occur-engine-add-prefix): Use 7 spaces.
10639 (occur-engine): Use 7 digits to align tabs in the data.
10641 * emacs-lisp/bytecomp.el (byte-compile-output-docform):
10642 Don't make the definition dynamic if it shares structure
10645 * gud.el (gud-pdb-marker-regexp): Allow : and \ in file name.
10646 (pdb): In gud-remove, pass down the file name.
10648 * cus-dep.el (custom-make-dependencies): Sort MEMBERS before use.
10650 2002-09-18 Luc Teirlinck <teirllm@mail.auburn.edu>
10652 * ielm.el (*1, *2, *3): New variables.
10653 (ielm-eval-input): Make temporary buffers current on entry and
10654 exit to the let bindings for *, ** and ***.
10655 (inferior-emacs-lisp-mode): Mention *1, *2 and *3 in the docstring.
10656 Do not overrule global bindings for *, ** and ***.
10658 2002-09-18 Tom Tromey <tromey@redhat.com>
10660 * progmodes/make-mode.el (makefile-fill-paragraph): Find comment
10661 boundaries before filling.
10663 2002-09-18 Stefan Monnier <monnier@cs.yale.edu>
10665 * server.el (server-done): Fix harmlessly wrong arg to save-buffer.
10666 (server-switch-buffer): Only select a different window if
10667 next-buffer is non-nil. Don't switch in a dedicated window.
10668 If next-buffer is already displayed, reuse that window.
10670 * diff-mode.el (diff-mode): Use compilation-minor-mode.
10671 Don't unbind compilation-last-buffer after autoloading compile.el.
10672 Hide the compilation-minor-mode bindings altogether.
10674 2002-09-18 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10676 * dired.el (dired-insert-directory): Never add "--dired" when
10677 listing remote directories.
10679 2002-09-18 Michael Kifer <kifer@cs.stonybrook.edu>
10681 * ediff-hook.el: Put back the autoloads (for XEmacs compatibility).
10683 * ediff-init.el: Use defalias instead of fset.
10685 * ediff-util.el: Use defalias instead of fset.
10687 * viper-util.el (viper-chars-in-region): Simplification.
10689 * viper.el (viper-emacs-state-mode-list): Added modes.
10691 2002-09-18 Jonathan Yavner <jyavner@engineer.com>
10693 * emacs-lisp/testcover.el: New file. Uses edebug to instrument a
10694 module of code, with graphical display of poor-coverage spots.
10696 * emacs-lisp/testcover-ses.el: New file. Demonstrates use of
10697 testcover on a interactive module like ses.
10699 * emacs-lisp/testcover-unsafep.el: New file. Demonstrates use of
10700 testcover on a noninteractive module like unsafep.
10702 2002-09-18 Miles Bader <miles@gnu.org>
10704 * diff-mode.el (diff-mode): Don't evaluate `compilation-last-buffer'
10707 2002-09-17 Stefan Monnier <monnier@cs.yale.edu>
10709 * server.el (server-log): Add `client' arg.
10710 (server-start): Don't bother canceling the sentinel.
10711 (server-process-filter): Use replace-regexp-in-string and
10712 handle the new &n quoting. Use push. Use server-log's new arg.
10713 Don't output the C-x # message if `nowait'.
10714 (server-buffer-done): Use server-log's new arg.
10716 2002-09-16 Jonathan Yavner <jyavner@engineer.com>
10718 * ses.el: New file.
10720 * emacs-lisp/unsafep.el: New file.
10722 * files.el (auto-mode-alist): Add ".ses" for ses-mode.
10723 (inhibit-quit): This is risky for unsafep, doesn't matter much for
10725 (risky-local-variable-p): New function. Split off from
10726 hack-one-local-variable so unsafep can use it. Add \|-history$ to
10727 the list of disallowed local variable names (malicious user could
10728 stuff a `display' property in there that would be activated when
10729 naïve user called up the history).
10731 2002-09-16 Markus Rost <rost@math.ohio-state.edu>
10733 * ls-lisp.el (ls-lisp-format-time-list): Fix type and provide :tag's.
10735 2002-09-16 Richard M. Stallman <rms@gnu.org>
10737 * play/gomoku.el (gomoku-move-up, gomoku-move-down):
10738 Use forward-line and move-to-column.
10740 * cus-edit.el (custom-variable-backup-value): New function.
10741 (custom-variable-reset-backup): New function.
10742 (custom-variable-menu): Add item for custom-variable-reset-backup.
10743 (custom-variable-set, custom-variable-reset-saved)
10744 (custom-variable-reset-standard): Call custom-variable-backup-value.
10746 2002-09-16 Stefan Monnier <monnier@cs.yale.edu>
10748 * dired.el (dired-font-lock-keywords): Use regexp-opt.
10749 (dired-move-to-filename): Better message when we fail to find the file.
10750 (dired-sort-toggle): Minor optimization.
10752 2002-09-16 Juanma Barranquero <lektu@terra.es>
10754 * dired-aux.el (dired-add-entry): Add missing argument to
10757 2002-09-16 John Paul Wallington <jpw@shootybangbang.com>
10759 * xscheme.el (scheme-interaction-mode): Doc fix.
10761 * net/eudc.el (eudc-plist-get): Doc fix.
10763 2002-09-16 Kim F. Storm <storm@cua.dk>
10765 * menu-bar.el (menu-bar-last-search-type): New var.
10766 (nonincremental-repeat-search-forward)
10767 (nonincremental-repeat-search-backward): Repeat string or
10768 regexp search depending on menu-bar-last-search-type.
10769 (nonincremental-search-forward, nonincremental-re-search-forward)
10770 (nonincremental-search-backward, nonincremental-re-search-backward):
10771 Set menu-bar-last-search-type to string or regexp.
10772 (nonincremental-repeat-re-search-forward): Removed.
10773 (nonincremental-repeat-re-search-backward): Removed.
10774 (menu-bar-replace-menu): New keymap for "Edit->Replace" submenu.
10775 (menu-bar-i-search-menu): New keymap for "Incremental Search" submenu.
10776 (menu-bar-adv-search-menu): Removed.
10777 (menu-bar-search-menu): Reorganized.
10778 (menu-bar-edit-menu): Added "Replace" submenu.
10780 2002-09-15 Richard M. Stallman <rms@gnu.org>
10782 * scroll-bar.el (scroll-bar-mode): Specify :initialize.
10784 * menu-bar.el (menu-bar-make-mm-toggle): Don't put a quote before FNAME
10785 when it's not being evaluated.
10787 2002-09-15 Markus Rost <rost@math.ohio-state.edu>
10789 * dired.el (dired-move-to-filename): Fix previous change.
10791 2002-09-14 Kim F. Storm <storm@cua.dk>
10793 * emulation/keypad.el (keypad-setup, keypad-shifted-setup)
10794 (keypad-numlock-setup, keypad-numlock-shifted-setup):
10795 Change `Remove Binding' option to `Unspecified/User-defined'.
10796 (keypad-setup): Enhance explanation of setup type `none'.
10798 2002-09-14 Richard M. Stallman <rms@gnu.org>
10800 * time.el (display-time-mode): Set display-time-load-average here.
10801 (display-time-load-average): Initialize to nil.
10802 (display-time-default-load-average): Add "None" alternative.
10803 (display-time-update): Handle "None" alternative for load-average.
10805 * dired-aux.el (dired-bunch-files): Put the arg FILES
10806 back as it was after temporary destructive mods.
10807 (dired-add-entry): Use dired-insert-directory to handle indentation.
10808 Explicitly restore the line's marker character.
10809 Preserve the old file name's text properties.
10810 (dired-add-entry-do-indentation): Function deleted.
10811 (dired-relist-file): Doc fix.
10812 (dired-rename-file): Change argument names.
10813 (foo-rename-file): New function.
10814 (dired-do-hardlink): Use dired-hardlink.
10815 (dired-hardlink): New function.
10816 (dired-insert-subdir-doinsert): Use dired-insert-directory;
10817 that handles indentation, text props and header line.
10818 dired-readin-insert gets no args.
10819 Use `last' instead of `reverse'.
10821 * dired.el (dired-use-ls-dired): New variable.
10822 (dired-directory): Document the rules better.
10824 * dired.el (dired-insert-headerline): Function deleted.
10825 (dired-revert): Pass no args to dired-readin.
10826 (dired-move-to-filename): First try using dired-filename property.
10827 (dired-move-to-end-of-filename): Likewise.
10828 (dired-why): Try to show the start of this page of warnings.
10829 (dired-log): Insert the buffer name at start of page, not end.
10830 (dired-log-summary): If just one failure, explain it in echo area.
10832 * dired.el (dired-internal-noselect):
10833 Always set dired-directory, when buffer is not new.
10834 Pass dir-or-list, not dirname, to dired-mode.
10835 Call dired-readin with no args.
10836 Don't call dired-after-readin-hook here.
10837 (dired-find-buffer-nocreate): Expand dirname.
10838 Expand the dir from dired-directory to compare with dirname.
10840 (dired-readin): Take no args. Get the directory from dired-directory.
10841 Run dired-before-reading hook inside save-excursion.
10842 Run dired-after-readin-hook here.
10843 Don't make undo entries at all.
10844 Call dired-readin-insert with no args.
10845 Don't change indentation here.
10846 Don't insert headerline here.
10848 (dired-readin-insert): Take no args.
10849 Get dir and file-list from dired-directory.
10850 Call dired-insert-directory the new way.
10851 Don't insert "wildcard" info here.
10853 (dired-insert-directory): New arg FILE-LIST.
10854 First arg now DIR, always just the directory.
10855 This function fully handles setting up the buffer text:
10856 update indentation, insert headerline and "wildcard" info.
10857 Pass --dired arg if appropriate; put info in dired-filename props.
10858 Don't expand file names here.
10860 * warnings.el (display-warning): In batch mode,
10861 exclude the final newline from the arg to `message'.
10863 2002-09-13 Markus Rost <rost@math.ohio-state.edu>
10865 * files.el (diff-buffer-with-file): Check whether associated file
10866 exists. Display message for 1 second. Always return nil.
10868 2002-09-13 Stefan Monnier <monnier@cs.yale.edu>
10870 * diff-mode.el (diff-mode): Turn on compilation-minor-mode
10871 support again, but more carefully this time.
10873 * progmodes/perl-mode.el (perl-mode-syntax-table): Mark $, % and @
10874 such that backward-sexp correctly skips them.
10875 (perl-font-lock-keywords-2): Use regexp-opt.
10876 (perl-font-lock-syntactic-keywords)
10877 (perl-font-lock-syntactic-face-function): Better handle PODs.
10878 Handle package names with ' in them and ($$) in `sub' declarations.
10879 Handle format statements. Handle regexp and quote-like ops.
10880 (perl-empty-syntax-table): New var.
10881 (perl-quote-syntax-table): New fun.
10883 * pcvs.el (cvs-mode-find-file): Work even if point is at beg-of-line.
10884 (cvs-do-removal): Bind inhibit-read-only while modifying the buffer.
10886 * newcomment.el (comment-with-narrowing): Use the `declare' thingy.
10888 * derived.el (define-derived-mode): Properly ignore unknown args.
10890 * emacs-lisp/easy-mmode.el (define-minor-mode): Add a :require arg.
10891 Don't call the function during init if mode is on by default.
10893 * simple.el: Provide `simple'.
10894 (transient-mark-mode, line-number-mode, column-number-mode):
10895 Pass an explicit `:require nil' argument.
10897 2002-09-13 Francesco Potortì <pot@gnu.org>
10899 * play/tetris.el (tetris-blank-options, tetris-cell-options):
10900 Remove various redundant `(t nil)'.
10902 * play/snake.el (snake-border-options): Use color on tty if available.
10904 * play/tetris.el (tetris-border-options): Likewise.
10906 * play/pong.el (pong-border-options): Likewise, plus reset
10907 color on tty to be [0.5 0.5 0.5].
10909 2002-09-13 Kim F. Storm <storm@cua.dk>
10911 * kmacro.el (kmacro-start-macro): Doc fix.
10913 2002-09-13 Juanma Barranquero <lektu@terra.es>
10915 * progmodes/idlw-shell.el (idlwave-shell-cleanup): Fix reference
10916 to `idlwave-idlwave_routine_info-compiled'.
10918 * whitespace.el (whitespace-unload-hook): Call `remove-hook' with
10919 three arguments, not four.
10921 2002-09-13 Kim F. Storm <storm@cua.dk>
10923 * kmacro.el (kmacro-keymap): Changed bindings:
10924 C-x C-k s to kmacro-start-macro, C-x C-k b to kmacro-bind-to-key.
10926 2002-09-12 Richard M. Stallman <rms@gnu.org>
10928 * international/mule-cmds.el (universal-coding-system-argument):
10929 Read the coding system inside `interactive' spec, for command-history.
10931 2002-09-12 Stefan Monnier <monnier@cs.yale.edu>
10933 * emacs-lisp/find-func.el (find-library-name): Don't forget
10934 the empty suffix. Fix stale variable name.
10936 * gud.el (gud-gdb-massage-args, gud-sdb-massage-args)
10937 (gud-pdb-massage-args): Delete.
10938 (gdb, sdb, pdb): Don't pass gud-*-massage-args any more.
10939 (gud-gdb-command-name): New var. Put "--fullname" in there.
10940 (gud-query-cmdline): Use the most recent executable as the default.
10941 Don't add "--fullname" (it's only valid/meaningful for GDB).
10942 (gud-xdb-marker-filter): Use match-string.
10943 (gud-perldb-massage-args): Don't add "-d".
10944 (gud-perldb-command-name): Add "-d".
10945 (gud-common-init): If `massage-args' is nil, don't call it.
10946 (gud-format-command): Don't hardcode point-min==1.
10948 * derived.el: Require CL when compiling.
10950 2002-09-12 Simon Josefsson <jas@extundo.com>
10952 * mail/smtpmail.el (smtpmail-send-it): Don't use : in filenames
10953 (for cygwin). Suggested by Andrew Senior <aws@watson.ibm.com>.
10954 Use expand-file-name. Also don't require time-stamp.
10956 2002-09-11 Richard M. Stallman <rms@gnu.org>
10958 * derived.el (define-derived-mode): When making new abbrev table,
10959 don't try to copy the parent's abbrev table.
10961 * ruler-mode.el (ruler-mode-left-scroll-bar-cols):
10962 Always round scroll-bar-width parameter up.
10963 If it is nil, use 14.
10965 * abbrev.el (copy-abbrev-table): New function.
10967 2002-09-11 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10969 * ps-print.el: Adjust ps-print-color-p, ps-default-fg and
10970 ps-default-bg setting.
10971 (ps-print-version): New version number (6.5.7).
10972 (ps-mark-active-p): New fun.
10973 (ps-print-preprint-region): Adjust code.
10975 2002-09-11 Dave Love <fx@gnu.org>
10977 * international/mule.el (non-standard-designations-alist)
10978 (ctext-pre-write-conversion): Don't generate invalid extended
10979 segments for iso8859.
10981 * language/cyrillic.el ("Ukrainian"): Fix nonascii-translation.
10982 (cyrillic-alternativnyj-decode-table): Fix some entries.
10984 * international/ucs-tables.el: Fix last change.
10986 * international/utf-8.el (utf-8-fragment-on-decoding): Fix last
10989 2002-09-11 Kim F. Storm <storm@cua.dk>
10991 * edmacro.el (edit-kbd-macro): Recognize new C-x e binding,
10992 kmacro-end-and-call-macro.
10994 2002-09-11 Juanma Barranquero <lektu@terra.es>
10996 * newcomment.el (uncomment-region): Fix let/let* use.
10998 2002-09-11 Simon Josefsson <jas@extundo.com>
11000 * time-stamp.el (time-stamp-hhmmss): New function.
11002 * gud.el (gud-gdb-massage-args): Don't secretly add -fullname.
11003 (gud-query-cmdline): Add --fullname to the user cmdline.
11005 * mail/smtpmail.el (smtpmail-default-smtp-server): Doc fix.
11007 2002-09-11 Kim F. Storm <storm@cua.dk>
11009 * kmacro.el (kmacro-call-macro): Rephrase repeat prompt.
11010 (kmacro-step-edit-map): Bind "A" to `append-end'.
11011 (kmacro-step-edit-prompt): Fix prompt.
11012 (kmacro-step-edit-query): Handle `append-end' response.
11013 (kmacro-step-edit-pre-command): Activate `append-end' at end of
11014 macro when required.
11016 2002-09-11 Stefan Monnier <monnier@cs.yale.edu>
11018 * derived.el (define-derived-mode): Fix typo.
11020 * menu-bar.el (line-number-mode, column-number-mode)
11021 (transient-mark-mode): Use minor mode directly.
11022 (menu-bar-make-toggle): Remove `props' arg.
11023 Move customize-mark-as-set directly into the toggle function.
11025 * whitespace.el (whitespace-global-mode): Use define-minor-mode.
11026 Use the new file hook names.
11027 (whitespace-describe): Remove. Move the text to `Commentary:'.
11028 (whitespace-unload-hook): Use the new file hook names.
11030 * finder.el (finder-find-library): Remove.
11031 (finder-commentary): Use find-library-name and add completion.
11033 * simple.el (transient-mark-mode, line-number-mode)
11034 (column-number-mode): Use define-minor-mode.
11035 (define-mail-user-agent): Delete. Moved to subr.el.
11037 * loadup.el ("simple.el"): Move to after loaddefs.el.
11039 * subr.el (define-mail-user-agent): Moved from simple.el.
11041 2002-09-10 Richard M. Stallman <rms@gnu.org>
11043 * pcvs-info.el (cvs-check-fileinfo): Don't use boolp.
11044 (boolp): Function deleted.
11046 2002-09-10 Dave Love <fx@gnu.org>
11048 * international/utf-8.el (ucs-mule-to-mule-unicode):
11049 Define unconditionally.
11050 (utf-8-fragmentation-table): New. Use it in top-level mapc.
11051 (utf-8-fragment-on-decoding): Use it to keep
11052 utf-8-translation-table-for-decode variable and translation table
11055 * international/ucs-tables.el: Bind utf-8-translation-table-for-decode
11056 when setting up tables and remove useless optimize-char-table.
11057 (ucs-mule-to-mule-unicode): Deleted.
11058 (ucs-unify-8859): Maybe optimize ucs-mule-to-mule-unicode.
11060 * international/utf-16.el (utf-16-le-pre-write-conversion)
11061 (utf-16-be-pre-write-conversion): Deleted.
11062 (mule-utf-16-le, mule-utf-16-be): Register encoding translation table.
11064 2002-09-10 Richard M. Stallman <rms@gnu.org>
11066 * files.el (diff-buffer-with-file): Simplify.
11067 Don't signal an error if buffer has no file.
11068 Call sit-for after `diff' returns.
11070 * play/gamegrid.el (gamegrid-make-color-tty-face):
11071 Handle string as COLOR arg.
11072 (gamegrid-display-type): Don't assume display-color-p
11073 implies a color-x terminal.
11074 (gamegrid-hide-cursor): Set `cursor-type' local variable.
11076 * descr-text.el (describe-text-mode): Add font-lock-defontify to
11077 change-major-mode-hook.
11079 * ibuffer.el (ibuffer-mode): Add font-lock-defontify to
11080 change-major-mode-hook.
11082 * comint.el (comint-mode): Add font-lock-defontify to
11083 change-major-mode-hook.
11085 * info.el (Info-mode): Add font-lock-defontify to
11086 change-major-mode-hook.
11088 * replace.el (occur-mode): Add font-lock-defontify to
11089 change-major-mode-hook.
11091 * font-core.el (font-lock-defontify): New function.
11093 2002-09-10 Richard M. Stallman <rms@gnu.org>
11095 * ps-print.el (ps-printer-name-option): Doc fix.
11097 2002-09-10 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11099 * ps-print.el: Adjust ps-postscript-code-directory setting.
11100 XEmacs version check was adjusted.
11101 (ps-print-version): New version number (6.5.6).
11102 (ps-print-color-p, ps-page-dimensions-database): Autoload var.
11103 (ps-print-code, ps-print-preprint-region): Adjust code.
11105 2002-09-10 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11107 * files.el (auto-mode-alist): ~/.gnus, ~/.viper are in
11108 emacs-lisp-mode, like ~/.emacs.
11110 2002-09-10 Stefan Monnier <monnier@cs.yale.edu>
11112 * newcomment.el (uncomment-region): Be more careful with `='.
11114 2002-09-10 Deepak Goel <deego@glue.umd.edu>
11116 * play/doctor.el (doc//): Rename from `//'. Update callers.
11117 (doc$): Rename from `$'. Update callers.
11119 2002-09-10 Miles Bader <miles@gnu.org>
11121 * simple.el (do-auto-fill): `fill-indent-according-to-mode' is a
11122 variable, not a function.
11124 * kmacro.el (kmacro-call-macro): Deal with a non-numeric prefix arg.
11126 2002-09-10 Kim F. Storm <storm@cua.dk>
11128 * macros.el (apply-macro-to-region-lines): Let-bind mark-active to
11129 nil while executing macro to avoid triggering delete-selection-mode.
11131 * simple.el (keyboard-quit): Set defining-kbd-macro to nil to
11132 cancel defining keyboard macro when applicable.
11134 2002-09-09 Markus Rost <rost@math.ohio-state.edu>
11136 * simple.el (transient-mark-mode, line-number-mode)
11137 (column-number-mode): Undo previous change because of bootstrapping.
11139 2002-09-09 Stefan Monnier <monnier@cs.yale.edu>
11141 * derived.el (define-derived-mode): Add keyword arguments.
11142 (derived-mode-make-docstring): Take abbrev and syntax table names.
11144 * font-core.el (font-lock-change-mode): Just turn off font-lock-mode.
11145 (font-lock-default-function): Change arg name.
11147 * cus-start.el (transient-mark-mode): Delete. Done in simple.el.
11149 * paren.el (show-paren-function): Use syntax-after.
11151 * emacs-lisp/syntax.el (syntax-after): Delete. Moved to subr.el.
11153 * subr.el (symbol-file): Also work for autoloaded funcs.
11154 (syntax-after): New fun moved from syntax.el.
11156 * find-file.el (ff-pre-find-hook, ff-pre-load-hook, ff-post-load-hook)
11157 (ff-not-found-hook, ff-file-created-hook): Rename from *-hooks.
11158 Update callers (but still run the old hooks as well).
11160 * emacs-lisp/find-func.el (find-library-suffixes, find-library-name)
11161 (find-library): New funs.
11162 (find-function-search-for-symbol): Use it.
11164 * emacs-lisp/bytecomp.el (byte-compile-file): Don't switch buffer.
11166 * isearch.el (isearch-cmds): Add docstring.
11167 (isearch-mouse-2): Lookup binding in the proper buffer.
11168 Use call-interactively and remove the now useless `arg'.
11169 (isearch-search-fun-function): New var.
11170 (isearch-search-fun): New fun.
11171 (isearch-search, isearch-lazy-highlight-search): Use it.
11173 2002-09-09 Stefan Monnier <monnier@cs.yale.edu>
11175 * simple.el (what-line): Don't hard-code 1.
11176 (transient-mark-mode, line-number-mode, column-number-mode):
11177 Use define-minor-mode.
11178 (do-auto-fill): Only ignore prefix if it's really empty.
11180 2002-09-09 Markus Rost <rost@math.ohio-state.edu>
11182 * files.el (save-some-buffers-action-alist): Use lower case for
11183 help string of diff-buffer-with-file.
11185 2002-09-09 Richard M. Stallman <rms@gnu.org>
11187 * calendar/calendar.el (mouse-scroll-calendar-left)
11188 (mouse-scroll-calendar-right, mouse-calendar-other-month):
11190 (calendar-mode-line-format): Use them.
11192 * emacs-lisp/bytecomp.el (byte-recompile-directory):
11193 Set and then bind default-directory.
11195 * startup.el (fancy-splash-head, normal-splash-screen):
11196 Change the messages that explain about GNU or GNU/Linux.
11198 * info.el (Info-search): Add (point-min) to subfile positions
11199 to get them right. Skip the current subfile using forward-line.
11201 * files.el (make-backup-file-name-1): When make-directory fails,
11202 ignore backup-directory-alist.
11203 (make-directory): Expand DIR before looking for handler.
11205 2002-09-09 Jari Aalto <jari.aalto@poboxes.com>
11207 * progmodes/cperl-mode.el (cperl-noscan-files-regexp):
11208 In addition to RCS, exclude CVS directories.
11210 * ls-lisp.el (ls-lisp-format-time-list): New variable.
11211 (ls-lisp-format-time): Use it.
11213 * files.el (auto-mode-alist): Use sh-mode for .bash files.
11215 2002-09-09 Dave Love <d.love@dl.ac.uk>
11217 * ps-print.el: Many doc fixes.
11219 2002-09-09 John Paul Wallington <jpw@shootybangbang.com>
11221 * play/doctor.el (doctor-cadr, doctor-caddr, doctor-cddr): Remove.
11224 2002-09-08 Markus Rost <rost@math.ohio-state.edu>
11226 * diff.el (diff): Doc fix.
11228 2002-09-08 Richard M. Stallman <rms@gnu.org>
11230 * emacs-lisp/bytecomp.el (byte-compile-delete-errors): Default to nil.
11232 * simple.el (undo-elt-in-region): Fix one-off error at END.
11233 (forward-visible-line): Handle invisibility by ignoring
11234 invisible newlines. Also include entire invisible lines beyond
11235 the stopping point.
11237 * cus-edit.el (custom-save-variables, custom-save-faces):
11238 Clarify the comments written into .emacs.
11240 2002-09-08 Markus Triska <triska@gmx.at>
11242 * play/doctor.el (doctor-doc): Recognize question words
11243 and use qlist. Use doctor-shorten's return value.
11244 (doctor-shorten): Compute a return value, don't alter `sent'.
11245 (doctor-hates1): Add a question mark.
11246 (doctor-strangelove): Unused function deleted.
11248 2002-09-08 Kim F. Storm <storm@cua.dk>
11250 * kmacro.el (kmacro-end-and-call-macro): New command to end and
11251 call keyboard macro in one step. Bind it to C-x e by default.
11252 (kmacro-call-macro): Use format-kbd-macro.
11253 (kmacro-step-edit-macro): New command to interactively step edit
11254 and execute last keyboard macro.
11255 (kmacro-keymap): Bind SPC [C-x C-k SPC] to kmacro-step-edit-macro.
11256 (kmacro-step-edit-mini-window-height): New custom var.
11257 (kmacro-step-edit-map): New keymap (parent is query-replace-map).
11258 (kmacro-step-edit-prefix-commands): New var.
11259 (kmacro-step-edit-prompt, kmacro-step-edit-query)
11260 (kmacro-step-edit-insert, kmacro-step-edit-pre-command)
11261 (kmacro-step-edit-minibuf-setup, kmacro-step-edit-post-command):
11262 New aux functions for step editing keyboard macros.
11264 * subr.el (read-quoted-char): Apply listify-key-sequence to vector
11265 returned by this-single-command-raw-keys before appending it to
11266 unread-command-event.
11268 2002-09-07 Colin Walters <walters@debian.org>
11270 * progmodes/compile.el (compile-internal): Add optional argument
11273 * diff.el (diff): Add optional argument no-async, and use the
11276 * files.el (diff-buffer-with-file): Call diff synchronously, so we
11277 don't delete the temporary file before diff has a chance to read
11280 * ibuf-ext.el (ibuffer-diff-with-file): Just call
11281 `diff-buffer-with-file'.
11283 2002-09-07 John Paul Wallington <jpw@shootybangbang.com>
11285 * emacs-lisp/cl-indent.el (extended-loop-p): Doc fix.
11287 * emacs-lisp/find-func.el (find-function-recenter-line):
11288 Add custom type. Doc fix.
11290 2002-09-06 Stefan Monnier <monnier@cs.yale.edu>
11292 * menu-bar.el (menu-bar-make-mm-toggle): New macro.
11293 (showhide-menu-bar, showhide-toolbar, menu-bar-toggle-auto-compression)
11294 (toggle-highlight-paren-mode, toggle-global-lazy-font-lock-mode):
11295 Remove. Use the minor mode function directly instead.
11296 (menu-bar-mode): Add message and customize-mark-as-set and return
11297 the new value as do other minor modes.
11299 * edmacro.el (edmacro-subseq): Don't use cl-push/cl-pop.
11301 2002-09-06 Simon Marshall <simon@gnu.org>
11303 * progmodes/etags.el (find-tag-tag, complete-tag):
11304 Bind completion-ignore-case based on tags-case-fold-search, so that
11305 case-sensitivity of tag completion matches that of tag search.
11307 2002-09-06 Juanma Barranquero <lektu@terra.es>
11309 * calendar/solar.el (calendar-time-display-form): Fix spacing.
11311 * double.el (double-prefix-only): Likewise.
11313 * emacs-lisp/easymenu.el (easy-menu-define): Likewise.
11315 * emacs-lisp/find-func.el (find-function-search-for-symbol): Likewise.
11317 * emacs-lisp/float.el (string-to-float): Likewise.
11319 * emacs-lisp/rx.el (rx): Likewise.
11321 * faces.el (copy-face): Likewise.
11323 * hilit-chg.el (highlight-changes-colours)
11324 (highlight-changes-active-string)
11325 (highlight-changes-passive-string)
11326 (highlight-changes-rotate-faces, global-highlight-changes): Likewise.
11328 * international/mule.el (decode-char): Likewise.
11330 * progmodes/idlwave.el (idlwave-support-inheritance)
11331 (idlwave-routine-entry-compare): Likewise.
11333 * progmodes/idlw-shell.el (idlwave-shell-use-breakpoint-glyph):
11336 * progmodes/pascal.el (pascal-start-keywords): Likewise.
11338 * progmodes/sh-script.el (sh-indent-for-fi, sh-indent-for-done):
11341 * progmodes/vhdl-mode.el (vhdl-progress-interval)
11342 (vhdl-corresponding-begin): Likewise.
11344 * simple.el (choose-completion-string-functions): Likewise.
11346 * textmodes/reftex.el (reftex-TeX-master-file): Likewise.
11348 * textmodes/fill.el (fill-nonuniform-paragraphs)
11349 (fill-individual-paragraphs): Likewise.
11351 * vcursor.el (vcursor-toggle-vcursor-map): Likewise.
11353 * warnings.el (warning-level-aliases): Likewise.
11355 * speedbar.el (speedbar-mode): Fix spacing and typos.
11357 * textmodes/reftex-vars.el (reftex-label-menu-flags): Fix typo.
11359 2002-09-05 Markus Rost <rost@math.ohio-state.edu>
11361 * textmodes/table.el (table-command-prefix): Fix type.
11363 2002-09-05 Andre Spiegel <spiegel@gnu.org>
11365 * vc-hooks.el: Don't require vc.el at compile-time; it causes
11366 recursive requirements during bootstrap.
11368 2002-09-05 Kenichi Handa <handa@etl.go.jp>
11370 * international/mule.el (decode-char): Cancel the previous change.
11372 2002-09-04 Mats Lidell <matsl@contactor.se> (tiny change)
11374 * language/european.el ("Swedish"): New set-language-info-alist call.
11376 2002-09-04 Richard M. Stallman <rms@gnu.org>
11378 * help-fns.el (help-with-tutorial): Properly set up
11379 completion-reference-buffer in the *Completion* buffer.
11381 2002-09-04 John Paul Wallington <jpw@shootybangbang.com>
11383 * startup.el (use-fancy-splash-screens-p): If `fancy-splash-frame'
11384 returns nil, return nil.
11386 2002-09-04 Andre Spiegel <spiegel@gnu.org>
11388 * vc-hooks.el: Require vc.el at compile-time.
11389 (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
11390 Moved here from vc.el.
11392 * vc.el (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
11393 Moved to vc-hooks.el.
11395 * vc-rcs.el (vc-rcs-state): Don't require vc.el.
11397 2002-09-04 Kenichi Handa <handa@etl.go.jp>
11399 * international/mule.el (decode-char): Translate a character by
11400 utf-8-translation-table-for-decode only when
11401 utf-8-fragment-on-decoding is non-nil.
11403 2002-09-02 Stefan Monnier <monnier@cs.yale.edu>
11405 * textmodes/text-mode.el (paragraph-indent-text-mode-abbrev-table)
11406 (paragraph-indent-text-mode-syntax-table, paragraph-indent-text-mode):
11407 Use text-mode's syntax-table and abbrev-table.
11408 (text-mode): Set require-final-newline to t.
11410 * newcomment.el (comment-make-extra-lines): Only use the
11411 dummy `=' char when there's really nothing else.
11412 Don't remove spaces if it leads to an incorrect comment.
11414 * pcvs.el (cvs-run-process): Use a pty rather than a pipe to work
11415 around the cvs/ssh/libc bug.
11416 (cvs-update-header): Understand `cvs admin -m<rev>:<msg>' syntax.
11417 (defun-cvs-mode): Use the new `declare' thingy.
11418 (cvs-edit-log-text-at-point, cvs-mode-edit-log, cvs-do-edit-log)
11419 (cvs-edit-log-minor-wrap, cvs-edit-log-filelist): New funs.
11420 (cvs-mode-undo): Use `cvs add' for (CONFLICT. REMOVED).
11422 * pcvs-parse.el (cvs-parse-table): Create a `need-update'
11423 node rather than a message for new directories.
11424 (cvs-parse-status): Add support for `Entry Invalid'.
11426 * smerge-mode.el (smerge-diff-buffer-name): Default to *vc-diff*.
11427 (smerge-combine-with-next): New function.
11428 (smerge-diff): Don't output `wrote /tmp/foo' messages.
11429 Insert message if no diffs were found.
11431 * mail/sendmail.el (mail-mode): Don't set local-abbrev-table.
11432 (mail-mode-abbrev-table): Set to text-mode-abbrev-table.
11434 2002-09-02 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11436 * net/tramp.el: Version 2.0.15 released.
11437 (require 'base64): Most modern Emacsen have the base64
11438 encode/decode functions built in, so test to see if they are bound
11439 before we go blindly requiring base64.el.
11440 From Steve Youngs <youngs@xemacs.org>.
11441 (tramp-feature-write-region-fix): XEmacs doesn't have a
11442 'find-operation-coding-system' and this variable doesn't seem to
11443 be used anywhere so wrap it in (unless (featurep 'xemacs)).
11444 From Steve Youngs <youngs@xemacs.org>.
11445 (tramp-methods): Remove duplicate definition of ssh1-old and ssh2-old.
11446 (tramp-open-connection-su): Use user name "root" if no user name
11449 From Michael Albinus <Michael.Albinus@alcatel.de>:
11450 * net/tramp.el (tramp-invoke-ange-ftp):
11451 (tramp-ange-ftp-file-name-p): Check for XEmacs.
11452 (tramp-do-copy-or-rename-file): Don't pass KEEP-DATE to
11453 tramp-invoke-ange-ftp 'rename.
11454 (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
11455 tramp-invoke-ange-ftp 'write-region.
11456 (tramp-handle-set-file-modes): Change order of FILENAME and MODE
11457 passing to tramp-invoke-ange-ftp 'set-file-modes.
11458 (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp' must be called
11459 again after activating `ange-ftp'.
11461 2002-09-02 Kim F. Storm <storm@cua.dk>
11463 * ido.el (ido-ignore-item-temp-list): New variable.
11464 (ido-read-internal): Don't set ido-default-item if the default is
11465 member of ido-ignore-item-temp-list.
11466 Don't return first match for C-j if no text is entered.
11467 (ido-buffer-internal): Check for empty string return.
11468 (ido-make-buffer-list1): Use member instead of memq.
11469 (ido-window-buffer-p): Likewise.
11470 (ido-get-bufname): Ignore buffers on ido-ignore-item-temp-list.
11471 (ido-ignore-item-p): Ignore items on ido-ignore-item-temp-list.
11473 * replace.el (multi-occur): Made "ido-aware":
11474 Changed prompt to use C-j instead of RET to end.
11475 Set ido-ignore-item-temp-list to the selected buffers so far, so
11476 they are automatically excluded from the list of choices.
11477 Use add-to-list instead of push.
11479 2002-09-01 Richard M. Stallman <rms@gnu.org>
11481 * term/x-win.el (function-key-map): Define S-iso-lefttab.
11483 2002-09-01 Kim F. Storm <storm@cua.dk>
11485 * edmacro.el (edit-kbd-macro): Recognize new default binding for
11486 C-x e in addition to old binding.
11488 2002-09-01 Mario Lang <mlang@debian.org>
11490 * files.el (save-some-buffers-action-alist): New variable.
11491 (save-some-buffers): Use that.
11492 (diff-buffer-with-file): New function.
11494 2002-09-01 Richard M. Stallman <rms@gnu.org>
11496 * ruler-mode.el (defgroup ruler-mode): Use `convenience' as parent.
11498 * dired.el (defgroup dired): Use `files' as parent.
11499 (dired-get-filename): Ignore handler if it has safe-magic prop.
11501 * jka-compr.el (jka-compr-handler): Add safe-magic property.
11503 2002-08-31 Richard M. Stallman <rms@gnu.org>
11505 * simple.el (kill-line): Use end-of-visible-line to determine
11506 if rest of line is blank.
11507 (end-of-visible-line): Cope if end-of-line moved back over
11508 invisible intangible chars at end of line.
11510 * simple.el (completion-setup-function): Don't use directory-sep-char.
11512 2002-09-01 Glenn Morris <gmorris@ast.cam.ac.uk>
11514 * progmodes/f90.el (f90-menu): Remove ":active" keyword where not
11516 (f90-menu, f90-add-imenu-menu): Use lookup-key.
11517 Remove (eval-when-compile) for free variables.
11519 2002-08-31 Andreas Schwab <schwab@suse.de>
11521 * font-core.el (font-lock-change-mode): Avoid changing buffer
11524 2002-08-30 Stefan Monnier <monnier@cs.yale.edu>
11526 * emacs-lisp/easymenu.el (easy-menu-filter-return):
11527 Handle the case where the filter returns a single menu entry.
11528 (easy-menu-add): Improve docstring.
11529 (easy-menu-current-active-maps): Remove.
11530 (easy-menu-get-map): Use current-active-maps.
11532 * cus-edit.el (custom-unlispify-menu-entry): Don't remove
11533 the -p prefix from variables since they shouldn't have it anyway.
11534 (custom-group-menu-create, customize-menu-create):
11535 Only cdr if applicable, since custom-menu-create might return
11536 a vector (i.e. a single menu entry).
11538 2002-08-30 Edward M. Reingold <reingold@emr.cs.iit.edu>
11540 * calendar/diary-lib.el (diary-mail-entries): Don't overwrite
11541 user's value of diary-list-include-blanks, but generate message
11542 instead if there are no entries.
11544 2002-08-30 ARISAWA Akihiro <ari@mbf.sphere.ne.jp> (tiny change)
11546 * ps-print.el (ps-lp-system): Fixed typo in `usg-unix-v'.
11548 2002-08-30 Markus Rost <rost@math.ohio-state.edu>
11550 * menu-bar.el (menu-bar-read-mail): Doc fix.
11552 2002-08-30 John Paul Wallington <jpw@shootybangbang.com>
11554 * ibuffer.el (ibuffer-update): Revert expansion of `caddr'.
11555 (ibuffer-fontification-alist): Check hidden buffer case isn't
11556 visiting a file and change its face to italic.
11558 2002-08-30 Juanma Barranquero <lektu@terra.es>
11560 * replace.el (occur-mode): Add interactive declaration.
11562 * bs.el (bs-message-without-log): Fix typo.
11564 * font-core.el (font-lock-defaults): Likewise.
11566 * font-lock.el (font-lock-add-keywords): Likewise.
11568 * mouse-copy.el (mouse-copy-work-around-drag-bug): Likewise.
11570 * textmodes/bibtex.el (bibtex-mode): Likewise.
11572 * emulation/viper-ex.el (ex-compile-command): Likewise.
11574 * progmodes/idlwave.el (idlwave-max-extra-continuation-indent):
11577 * progmodes/dcl-mode.el (dcl-calc-cont-indent-relative): Likewise.
11579 * allout.el (my-mark-marker): Likewise.
11581 2002-08-30 Simon Josefsson <jas@extundo.com>
11583 * mail/smtpmail.el (smtpmail-via-smtp): Delete process buffer
11584 unless s-debug-info is enabled.
11586 2002-08-29 John Paul Wallington <jpw@shootybangbang.com>
11588 * ibuffer.el (ibuffer-update): Use `minibufferp'. Expand `caddr'.
11590 * mwheel.el (mouse-wheel-up-button): Doc fix.
11592 2002-08-29 Juanma Barranquero <lektu@terra.es>
11594 * replace.el (occur-mode-hook): New hook.
11595 (occur-mode): Use it.
11596 (occur-hook): Set default to nil.
11598 2002-08-29 Stefan Monnier <monnier@cs.yale.edu>
11600 * net/ange-ftp.el: Use match-string and drop useless `function's.
11601 (ange-ftp-get-process): Bind `ange-ftp-this-user' and
11602 `ange-ftp-this-host' before running ange-ftp-process-startup-hook.
11603 (ange-ftp-ls-parser): Use `switches' arg instead of dynamic binding.
11604 (ange-ftp-parse-dired-listing): Update the calls.
11605 (dired-local-variables-file): Declare to shut quieten the compiler.
11606 (ange-ftp-file-entry-active-p): Remove.
11607 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
11608 Don't exclude dangling symlinks.
11609 (ange-ftp-file-name-completion-1): Make predicate optional.
11610 (ange-ftp-parse-list-func-alist): Use add-to-list to update.
11611 (ange-ftp-fix-name-for-bs2000): Use subst-char-in-string.
11612 (ange-ftp-bs2000-posix-hook-installed): Remove.
11613 (ange-ftp-add-bs2000-posix-host): Don't use it anymore.
11614 (ange-ftp-bs2000-cd-to-posix): Use `ange-ftp-this-user' and
11615 `ange-ftp-this-host' instead of `user' and `host'.
11617 2002-08-29 Richard M. Stallman <rms@gnu.org>
11619 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
11620 Decide here whether to print which form we're compiling.
11621 If we do that, still print file and line. Make file name
11622 relative to default-directory. Print fewer newlines.
11623 (byte-compile-log-file): Print something even if no file.
11624 Print messages for entering and leaving directories,
11625 and set default-directory.
11626 (displaying-byte-compile-warnings): Only sometimes bind warning-series.
11627 (byte-compile-warning-series): New function.
11628 (byte-compile-file): Set byte-compile-last-logged-file, don't bind it.
11629 (byte-compile-display-log-head-p): Function deleted.
11631 * warnings.el (warning-series): Now can be a marker, not an integer.
11632 (display-warning): Handle new value for warning-series.
11634 * emacs-lisp/bytecomp.el (byte-compile-log-file): Use \f.
11635 (byte-compile-cl-warn): Add cl-macroexpand-all, cl-compiling-file
11636 to don't-warn list.
11638 2002-08-29 Kim F. Storm <storm@cua.dk>
11640 * kmacro.el: Change default bindings from F7/F8 to F3/F4.
11641 Change default binding of C-x e to kmacro-end-or-call-macro.
11642 (kmacro-call-repeat-key, kmacro-call-repeat-with-arg): New custom
11644 (kmacro-get-prefix-arg): New function.
11645 (kmacro-repeat-on-last-key): Rename from kmacro-repeat-loop and
11646 improve. Callers changed.
11647 (kmacro-call-macro): Repeat macro by repeating last key or
11648 key defined in kmacro-call-repeat-key. New third arg non-nil
11649 means to end current macro.
11650 (kmacro-end-or-call-macro): Call kmacro-call-macro appropriately
11651 to get repeat last key functionality.
11652 (kmacro-start-macro-or-insert-counter): Improve doc string.
11654 2002-08-28 Luc Teirlinck <teirllm@mail.auburn.edu>
11656 * files.el (find-buffer-visiting): Compare file attributes
11657 using buffer-file-truename.
11659 2002-08-28 Richard M. Stallman <rms@gnu.org>
11661 * files.el (make-auto-save-file-name, make-backup-file-name-1):
11662 Don't use directory-sep-char.
11664 2002-08-28 Juanma Barranquero <lektu@terra.es>
11666 * replace.el (occur-hook): Renamed from `occur-mode-hook'.
11667 (occur-mode): Remove call to `occur-mode-hook'.
11668 (occur-rename-buffer): Fix reference to `occur-mode-hook' in docstring.
11669 (occur-1): Add call to `occur-hook'.
11671 * subr.el (make-variable-frame-localizable): Alias for
11672 `make-variable-frame-local'.
11674 2002-08-28 Miles Bader <miles@gnu.org>
11676 * rfn-eshadow.el (read-file-name-electric-shadow-properties)
11677 (read-file-name-electric-shadow-tty-properties)
11678 (read-file-name-electric-shadow-mode): Remove compatibility defs.
11680 * comint.el (comint-carriage-motion): Start at START.
11682 2002-08-27 Francesco Potortì <pot@gnu.org>
11684 * net/ange-ftp.el (ange-ftp-skip-msgs): Skip the 530 response
11685 given by vsFTPd when accessed with a kerberized FTP client.
11687 2002-08-27 Richard M. Stallman <rms@gnu.org>
11689 * files.el (find-alternate-file):
11690 Bind kill-buffer-query-functions locally, don't set it.
11692 2002-08-27 Andreas Schwab <schwab@suse.de>
11694 * kmacro.el (kmacro-start-macro): Doc fix.
11696 2002-08-27 Carsten Dominik <dominik@sand.science.uva.nl>
11698 * textmodes/reftex-ref.el (reftex-goto-label): New command.
11700 * textmodes/reftex-vars.el (reftex-part-resets-chapter): New option.
11702 * textmodes/reftex-parse.el (reftex-roman-number): New function.
11703 (reftex-section-number): Better handling of parts: No chapter
11706 * textmodes/reftex.el (reftex-highlight-overlays): Added a third
11708 (reftex-mode-menu): Added entry for `reftex-toc-recenter.
11709 Also moved `reftex-reset-mode' to top level.
11711 * textmodes/reftex-toc.el (reftex-toc-recenter): New command.
11712 (reftex-toc-pre-command-hook): Don't remove highlight overlay.
11713 (reftex-toc-post-command-hook): Use overlay no 2 for highlighting.
11715 * textmodes/reftex-sel.el (reftex-get-offset): Get offset of
11716 document pointer *before* position, not after.
11717 (reftex-insert-docstruct): Get offset of document pointer *before*
11718 position, not after.
11720 * textmodes/reftex-parse.el (reftex-where-am-I): Prefer marker
11721 match over section title match.
11723 * textmodes/reftex-cite.el (reftex-bib-or-thebib): New function
11724 which determines on a per-file-basis if BibTeX is being used
11725 locally for citations.
11726 (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
11727 cooperation with chapterbib.
11728 (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
11729 better cooperation with chapterbib.
11731 * textmodes/reftex-dcr.el (reftex-view-cr-cite):
11732 Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
11734 2002-08-26 Kim F. Storm <storm@cua.dk>
11736 * subr.el (suppress-keymap): Use command remapping instead of
11737 substitute-key-definition to undefine self-inserting keys.
11739 2002-08-26 Juanma Barranquero <lektu@terra.es>
11741 * makefile.w32-in (WINS): Add calc and obsolete.
11743 2002-08-26 Stefan Monnier <monnier@cs.yale.edu>
11745 * emacs-lisp/easy-mmode.el (define-minor-mode):
11746 Use customize-mark-as-set for global minor modes.
11748 2002-08-25 Miles Bader <miles@gnu.org>
11750 * rfn-eshadow.el (file-name-shadow-properties-custom-type):
11751 Renamed from `read-file-name-electric-shadow-properties-custom-type'.
11752 Change name of face.
11753 (file-name-shadow-properties): Renamed from
11754 `read-file-name-electric-shadow-properties'.
11755 (file-name-shadow-tty-properties): Renamed from
11756 `read-file-name-electric-shadow-tty-properties'.
11757 (file-name-shadow): Renamed from `read-file-name-electric-shadow'.
11758 (rfn-eshadow-setup-minibuffer): Update references to renamed variables.
11759 (file-name-shadow-mode): Renamed from
11760 `read-file-name-electric-shadow-mode'. Update references to
11763 2002-08-24 Sam Steingold <sds@gnu.org>
11765 * subr.el (eval-after-load): Do not call
11766 load-symbol-file-load-history (deleted yesterday).
11768 2002-08-24 John Paul Wallington <jpw@shootybangbang.com>
11770 * startup.el (normal-splash-screen): Ensure splash buffer is
11771 killed. Use tabs in output. Fix test whether previous buffer was
11774 * progmodes/simula.el (simula-abbrev-keyword-default)
11775 (simula-abbrev-keyword, simula-abbrev-stdproc-default)
11776 (simula-abbrev-stdproc): Doc fix - escape open parens in column 0.
11778 * apropos.el (command-apropos): Use `defalias' instead of `fset'.
11780 * mail/rmail.el (rmail-speedbar-match-folder-regexp): Doc fix.
11782 2002-08-24 Glenn Morris <gmorris@ast.cam.ac.uk>
11784 * progmodes/f90.el (f90-xemacs-flag, f90-xemacs-menu)
11785 (f90-menu-bar-menu, f90-change-case-menu, f90-font-lock-on)
11786 (f90-font-lock-off, f90-font-lock-menu): Delete.
11787 Use easy-menu-define instead.
11788 (f90-mode): Use easy-menu-add.
11789 No longer (require 'imenu) when compiling.
11790 (f90-mark-subprogram, f90-indent-region, f90-fill-region)
11791 (f90-abbrev-start): Use fboundp.
11792 (f90-imenu-flag): Delete - use imenu--index-alist instead.
11794 2002-08-23 Richard M. Stallman <rms@gnu.org>
11796 * loadhist.el (unload-feature): Distinguish functions from
11797 variables in load-history.
11798 (feature-symbols): Doc fix.
11800 * files.el (ange-ftp-completion-hook-function): Add safe-magic prop.
11802 * subr.el (symbol-file-load-history-loaded)
11803 (load-symbol-file-load-history): Deleted.
11804 (symbol-file): Don't call load-symbol-file-load-history.
11806 2002-08-23 Andre Spiegel <spiegel@gnu.org>
11808 * vc-hooks.el (vc-kill-buffer-hook): Add it to kill-buffer-hook again.
11810 2002-08-22 Katsumi Yamaoka <yamaoka@jpl.org>
11812 * frame.el (select-frame-by-name, select-frame-set-input-focus):
11813 Always call x-focus-frame, if using x.
11814 Use set-mouse-position on all systems, if focus-follows-mouse.
11816 2002-08-22 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11818 * net/tramp.el: Version 2.0.14 released.
11819 (tramp-shell-prompt-pattern): New variable.
11820 (tramp-actions-before-shell, tramp-multi-actions)
11821 (tramp-find-shell, tramp-open-connection-multi)
11822 (tramp-open-connection-setup-interactive-shell): Use it.
11823 (tramp-open-connection-telnet, tramp-open-connection-rsh)
11824 (tramp-open-connection-su): Mention `tramp-shell-prompt-pattern'
11826 (tramp-bug): Report `tramp-shell-prompt-pattern'.
11827 (tramp-process-one-multi-action, tramp-process-one-action):
11828 Make message clearer so people don't confuse it with Emacs asking
11829 them a question if the regexp happens to end with "?".
11830 (tramp-verbose): Change default value from 10 to 9. Also change
11831 some logging levels so that 10 is reserved for stuff which is
11832 needed for debugging only, but 9 catches everything that people
11833 might like to see in order to see that Tramp is actually working.
11835 2002-08-22 Kim F. Storm <storm@cua.dk>
11837 * emacs-lisp/authors.el (authors-aliases, authors-fixed-entries):
11838 Corrected spelling mistakes (for Joseph Arceneaux).
11840 2002-08-21 Glenn Morris <gmorris@ast.cam.ac.uk>
11842 * progmodes/f90.el: eval-when-compile a few defvars.
11843 (f90-xemacs-flag): Wrap in eval-and-compile.
11844 (f90-font-lock-keywords): Doc fix.
11845 (f90-mode-abbrev-table): Work with or without 6th arg of define-abbrev.
11846 (f90-mark-subprogram-overlay): Variable deleted.
11847 (f90-mark-subprogram): Remove overlay bit. Don't be silent about
11849 (f90-abbrev-start): unread-command-event is obsolete in XEmacs.
11851 2002-08-21 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11853 * net/tramp.el: Version 2.0.13 released.
11854 (tramp-handle-write-region): Don't check to see if remote end is
11855 awake after sending data to remote host: we want to send "EOF" not
11856 "echo are you awake"...
11857 (tramp-maybe-open-connection): Swap args for tramp-time-diff.
11858 (tramp-yn-prompt-regexp): New variable.
11859 (tramp-action-yn): New function, using it.
11860 (tramp-feature-write-region-fix): New internal variable. Not yet
11861 used. Should be used in `tramp-handle-write-region'.
11863 2002-08-21 Kim F. Storm <storm@cua.dk>
11865 * bindings.el (mode-line-format): Moved global-mode-string last.
11866 (mode-line-position): Moved %p first. Added padding to %l/%c to
11867 eliminate jumpiness in modeline. Use (%l,%c) format if both
11868 line-number-mode and column-number-mode are enabled.
11870 2002-08-20 Martin Stjernholm <bug-cc-mode@gnu.org>
11872 * progmodes/cc-engine.el (c-forward-syntactic-ws): Fixed a bug
11873 that could cause an infinite loop if something that looks like
11874 a macro begins in the middle of a line.
11876 * progmodes/cc-engine.el (c-parse-state): Fixed a bug that
11877 could cause `c-state-cache' to contain two conses in sequence
11878 when there's an unbalanced open paren in a macro.
11880 2002-08-20 Glenn Morris <gmorris@ast.cam.ac.uk>
11882 * progmodes/fortran.el (fortran-current-defun): Use save-excursion.
11884 * imenu.el (imenu--generic-function): Use mapc.
11885 (imenu-syntax-alist): Doc fix.
11887 2002-08-20 Richard M. Stallman <rms@gnu.org>
11889 * font-core.el (font-lock-change-mode): New function.
11890 (font-lock-mode): Use font-lock-change-mode instead of
11891 font-lock-unfontify-buffer.
11892 (font-lock-maximum-size, font-lock-verbose): Add defvars.
11894 2002-08-20 Carsten Dominik <dominik@astro.uva.nl>
11896 * textmodes/reftex-cite.el (reftex-bib-or-thebib): New function
11897 which determines on a per-file-basis if BibTeX is being used
11898 locally for citations.
11899 (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
11900 cooperation with chapterbib.
11901 (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
11902 better cooperation with chapterbib.
11904 * textmodes/reftex-dcr.el (reftex-view-cr-cite):
11905 Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
11907 2002-08-20 Kim F. Storm <storm@cua.dk>
11909 * kmacro.el: Major rework based on discussions with RMS.
11910 Most important change is that C-x C-k is now bound to a keymap
11911 with keyboard macro related commands. The original binding on
11912 C-x C-k is moved to C-x C-k e.
11914 * bindings.el: Remove macro related bindings (now in kmacro.el).
11916 * edmacro.el: Remove C-x C-k binding (now in kmacro.el).
11918 2002-08-19 Stefan Monnier <monnier@cs.yale.edu>
11920 * help-fns.el (help-split-fundoc): Replace the function name
11921 from the docstring with the one that should be displayed.
11922 (help-make-usage): Understand CL style arglists.
11923 (describe-function-1): Adapt to the new behavior of help-split-fundoc.
11924 (describe-variable): Use delete-region.
11926 2002-08-19 Kenichi Handa <handa@etl.go.jp>
11928 * international/mule.el (sgml-xml-auto-coding-function):
11929 Call re-search-forward with NOERROR t.
11931 2002-08-19 Miles Bader <miles@gnu.org>
11933 [original idea from Luc Teirlinck <teirllm@mail.auburn.edu>]
11934 * comint.el (comint-inhibit-carriage-motion): New variable.
11935 (comint-carriage-motion): Argument STRING removed. New arguments
11936 START and END; interpret characters between START and END rather
11937 than using special comint state.
11938 (comint-output-filter): Call `comint-carriage-motion'.
11939 (comint-output-filter-functions): Don't add `comint-carriage-motion'.
11940 * ielm.el (inferior-emacs-lisp-mode):
11941 Give `comint-inhibit-carriage-motion' a local value of t.
11943 2002-08-18 Richard M. Stallman <rms@gnu.org>
11945 * textmodes/table.el: New file.
11947 * font-core.el (font-lock-mode): Set change-major-mode-hook locally.
11949 2002-08-18 Andreas Schwab <schwab@suse.de>
11951 * ibuf-ext.el (ibuffer-list-buffer-modes): Doc fix.
11953 2002-08-17 Carsten Dominik <dominik@astro.uva.nl>
11955 * textmodes/reftex.el (reftex-mode): Create special syntax tables.
11956 (reftex-syntax-table): Set a default in case this is being used
11957 outside a LaTeX file.
11958 (reftex-syntax-table-for-bib): Set a default in case this is being
11959 used outside a LaTeX file.
11961 2002-08-17 Richard M. Stallman <rms@gnu.org>
11963 * tar-mode.el (tar-subfile-mode): Use add-hook and remove-hook,
11964 and use write-file-functions instead of local-write-file-hooks.
11965 (tar-untar-buffer): Don't try to extract directories.
11967 * menu-bar.el (fringe-mode): Set to nil.
11969 * mail/rmail.el (rmail-search-mime-header-function): Doc fix.
11971 2002-08-15 Richard M. Stallman <rms@gnu.org>
11973 * calendar/appt.el (appt-delete): Use substring-no-properties.
11974 (appt-make-list): Don't use prin1-to-string; use the string unchanged.
11976 2002-08-15 Jan Nieuwenhuizen <janneke@gnu.org>
11978 * server.el (server-process-filter): Simplify code.
11979 (server-goto-line-column): New function.
11980 (server-visit-files): Use server-goto-line-column.
11981 Offer to revert only if file has changed.
11983 2002-08-15 Richard M. Stallman <rms@gnu.org>
11985 * files.el (recover-this-file): New function.
11986 (after-find-file): Recommend recover-this-file.
11988 * font-core.el (font-lock-mode): Add font-lock-unfontify-buffer
11989 to change-major-mode-hook when font lock is enabled.
11991 * simple.el (toggle-truncate-lines): Force redisplay.
11992 Display status message.
11994 2002-08-15 Carsten Dominik <dominik@sand.science.uva.nl>
11996 * textmodes/reftex.el (reftex-mode): Moved the creation of special
11997 syntax tables to top-level.
11999 2002-08-15 David Kastrup <David.Kastrup@t-online.de>
12001 * net/ange-ftp.el (ange-ftp-wipe-file-entries): Fix type mismatch;
12002 use `hash-table-size' instead of `length'.
12004 2002-08-14 Stefan Monnier <monnier@cs.yale.edu>
12006 * help-fns.el (locate-library): Use locate-file(-completion).
12007 (help-split-fundoc): Tighten the regexp and recognize a usage-info
12008 where the function name is `fn'.
12009 (help-function-arglist): Follow aliases and macros.
12010 (describe-function-1): Use keymapp.
12011 If the docstring contains a usage info, use it even if the function is
12012 not a subroutine. Find usage info in aliases' docstring if necessary.
12013 (describe-variable): Get the value before setting up the *Help* buffer.
12015 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
12016 Use find-file-hook instead of find-file-hooks.
12017 (define-minor-mode): Get rid of this silly `togglep'.
12018 Add an explicit `toggle' argument (used for interactive calls).
12019 Emit a warning when a nil argument turns the mode off.
12021 * language/ethio-util.el (setup-ethiopic-environment-internal)
12022 (exit-ethiopic-environment): Use find-file-hook and
12023 write-file-functions instead of find-file-hooks and write-file-hooks.
12025 * window.el (handle-select-window): Don't do anything if the window
12026 has disappeared since the event was generated.
12027 (split-window-save-restore-data): Use push and with-current-buffer.
12031 * obsolete/hilit19.el:
12032 * completion.el (dynamic-completion-mode):
12033 * emacs-lisp/find-func.el (find-function-search-for-symbol):
12034 Use find-file-hook instead of find-file-hooks.
12036 * imenu.el (imenu-always-use-completion-buffer-p): Make obsolete.
12037 (imenu-use-popup-menu, imenu-eager-completion-buffer): New vars.
12038 (imenu-space-replacement): Allow nil value.
12039 (imenu--completion-buffer): Use new vars and simplify.
12040 Fix handling of minibuffer-setup-hook.
12041 Use minibuffer-completion-help instead of rolling our own.
12042 (imenu-choose-buffer-index): Use the new var.
12044 * startup.el (command-line): Load custom-file if not done yet.
12046 2002-08-14 Kenichi Handa <handa@etl.go.jp>
12048 * select.el (xselect-convert-to-string): If TYPE is non-nil, encode
12049 the selection data string. Always return cons of type and string.
12050 (selection-converter-alist): Add (UTF8_STRING .
12051 xselect-convert-to-string).
12053 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
12055 * newcomment.el (comment-region): Force `lines' when `block' is set.
12057 2002-08-12 Richard M. Stallman <rms@gnu.org>
12059 * menu-bar.el (menu-bar-next-tag-other-window, menu-bar-next-tag)
12060 (menu-bar-right-scroll-bar, menu-bar-left-scroll-bar)
12061 (menu-bar-no-scroll-bar, menu-bar-toggle-auto-compression)
12062 (menu-bar-toggle-cua-mode, menu-bar-read-mail)
12063 (menu-bar-help-extra-packages, help-with-tutorial-spec-language)
12064 (menu-bar-text-mode-auto-fill): New commands, used
12065 in menu bar menus instead of lambda expressions.
12067 (menu-bar-showhide-fringe-menu-customize-left)
12068 (menu-bar-showhide-fringe-menu-customize-right)
12069 (menu-bar-showhide-fringe-menu-customize-disable)
12070 (menu-bar-showhide-fringe-menu-customize-reset): Doc fixes.
12072 (menu-bar-options-menu): Use toggle-truncate-lines.
12073 (showhide-date-time): Call customize-mark-as-set.
12075 * emacs-lisp/find-func.el (find-function-search-for-symbol):
12076 Obey `definition-name' properties.
12078 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
12079 Put `definition-name' properties on the functions whose
12080 names are constructed.
12082 * textmodes/page-ext.el (pages-target-buffer): Add defvar.
12083 Renamed from target-buffer.
12084 (pages-directory, pages-copy-header-and-position): Uses changed.
12086 * calendar/appt.el (appt-make-list): Correct the parsing of
12087 each appointment from time-string.
12089 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
12091 * scroll-all.el (scroll-all-mode): Use define-minor-mode.
12092 (scroll-all-mode) <defcustom>: Delete.
12093 (running-xemacs): Delete.
12094 (minor-mode-alist): Don't manipulate it directly.
12096 2002-08-10 Kenichi Handa <handa@etl.go.jp>
12098 * international/mule-cmds.el (search-unencodable-char): New function.
12099 (select-safe-coding-system): Show unencodable characters.
12100 (unencodable-char-position): Deleted, and implemented in C in coding.c.
12102 2002-04-09 John Wiegley <johnw@gnu.org>
12104 * eshell/em-cmpl.el (eshell-cmpl-ignore-case):
12105 * eshell/em-dirs.el (eshell/cd):
12106 * eshell/em-glob.el (eshell-glob-case-insensitive):
12107 * eshell/em-hist.el (eshell-previous-matching-input-string-position):
12108 * eshell/esh-ext.el (eshell-binary-suffixes):
12109 * eshell/esh-util.el: Remove eshell-under-cygwin-p, and all uses of it.
12111 2002-08-09 Richard M. Stallman <rms@gnu.org>
12113 * textmodes/page-ext.el (pages-directory-mode): Undo previous change.
12115 * simple.el (set-variable): Give locality status in prompt.
12117 2002-08-09 Benjamin Rutt <rutt@cis.ohio-state.edu>
12119 * simple.el (set-variable): If given a prefix argument, set
12120 variable buffer-locally.
12122 2002-08-09 John Paul Wallington <jpw@shootybangbang.com>
12124 * font-core.el (font-lock-function): Make it buffer-local.
12126 2002-08-08 Richard M. Stallman <rms@gnu.org>
12128 * emacs-lisp/checkdoc.el (checkdoc, checkdoc-interactive)
12129 (checkdoc-message-interactive, checkdoc-interactive-loop)
12130 (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments)
12132 Update checkdoc-spellcheck-documentation-flag correctly.
12133 (checkdoc-ispell-docstring-engine): Don't test for
12134 checkdoc-autofix-flag = nil.
12136 2002-08-07 John Paul Wallington <jpw@shootybangbang.com>
12138 * xt-mouse.el (xterm-mouse-mode): Make it a global mode.
12140 * wid-browse.el (widget-minor-mode): Fix doc typo.
12142 2002-08-07 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12144 * net/tramp.el: Version 2.0.12 released.
12145 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12146 Comment out possibly obsolete "echo hello" commands.
12147 (tramp-run-real-handler): If operation is
12148 `ange-ftp-hook-function', use first arg as the real operation.
12149 (tramp-check-ls-commands): Use / instead of \ as directory
12150 separator. (Relevant for XEmacs on Windows.)
12151 (tramp-maybe-open-connection): Use tramp-wait-for-output when
12152 waiting for the "are you awake" command. Use a different string
12153 for the "are you awake" command.
12154 (tramp-send-command): New optional arg NEVEROPEN means to never
12155 invoke tramp-maybe-open-connection.
12156 (tramp-maybe-open-connection): Use it
12158 2002-08-07 Richard M. Stallman <rms@gnu.org>
12160 * warnings.el (warning-prefix-function, warning-series)
12161 (warning-fill-prefix, warning-group-format): Add autoload cookies.
12163 2002-08-07 Kenichi Handa <handa@etl.go.jp>
12165 * international/mule-cmds.el (select-safe-coding-system):
12166 Call pop-to-buffer inside save-window-excursion and save-excursion.
12168 2002-08-06 John Paul Wallington <jpw@shootybangbang.com>
12170 * help-fns.el (describe-function-1): Skip arglist note if
12171 function's definition is a keymap.
12173 2002-08-06 Sam Steingold <sds@gnu.org>
12175 * calendar/diary-lib.el (diary-mail-entries): Use `compose-mail'
12176 and `mail-user-agent' instead of straight sendmail.
12177 (diary-modified, diary-entries-list, displayed-year)
12178 (displayed-month, entry, date, number, date-string, d-file)
12179 (original-date): Defvar without binding to avoid compiler warnings.
12181 2002-08-05 Alan Shutko <ats@acm.org>
12183 * ibuffer.el (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
12184 (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
12185 (ibuffer-mode): Added ibuffer-filter-by-used-mode to doc string.
12187 * ibuf-ext.el (ibuffer-list-buffer-modes): New.
12188 (ibuffer-filter-by-used-mode): New.
12190 2002-08-05 John Paul Wallington <jpw@shootybangbang.com>
12192 * ediff-util.el (ediff-copy-list): Use `defalias' instead of
12193 `fset' and `symbol-function'.
12195 2002-08-05 John Wiegley <johnw@gnu.org>
12197 * pcomplete.el (pcomplete-entries): Don't set `above-cutoff' to a
12198 value unless pcomplete-cycle-cutoff-length is non-nil.
12200 2002-04-09 John Paul Wallington <jpw@shootybangbang.com>
12202 * eshell/esh-util.el (eshell-under-cygwin-p): New function.
12203 * eshell/em-cmpl.el (eshell-cmpl-ignore-case):
12204 * eshell/em-dirs.el (eshell/cd):
12205 * eshell/em-glob.el (eshell-glob-case-insensitive):
12206 * eshell/em-hist.el (eshell-previous-matching-input-string-position):
12207 * eshell/esh-ext.el (eshell-binary-suffixes): Use it.
12209 2002-08-05 Richard M. Stallman <rms@gnu.org>
12211 * international/mule-cmds.el (select-safe-coding-system): Check for
12212 non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS.
12214 * net/ange-ftp.el (ange-ftp-smart-gateway): Doc fix.
12216 2002-08-05 Gerd Moellmann <gerd@gnu.org>
12218 * image.el (image-jpeg-p): Accept "Exif" marker.
12220 2002-08-05 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12222 * net/tramp.el: Version 2.0.11 released.
12223 (tramp-perl-file-attributes): Print uid and gid as signed integers.
12224 (tramp-invoke-ange-ftp): Correct check for Ange-FTP being loaded.
12225 Invoke Ange-FTP with tramp-run-real-handler to avoid Ange-FTP
12226 calling Tramp again.
12227 (tramp-find-file-exists-command): Check for `ls -d' last, after
12228 all the variants on `test -e'.
12229 (tramp-post-connection): Erase buffer before finding a command to
12230 check if file exists.
12232 2002-08-05 David Kastrup <David.Kastrup@t-online.de>
12234 * calc/calc.el (math-format-stack-value): Revert a broken
12235 if->when replacement and reformat so that this does not happen
12236 again. Fixes a pretty lethal line formatting/yanking bug.
12238 2002-08-04 John Paul Wallington <jpw@shootybangbang.com>
12240 * startup.el (fancy-splash-frame): Check selected frame last.
12242 2002-08-04 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12244 * net/tramp.el: Version 2.0.10 released.
12245 (tramp-uudecode): New shell function `tramp_uudecode' to decode to
12246 standard output even if `uudecode -p' and `uudecode -o -' don't work.
12247 (tramp-post-connection): After finding the right shell, wait a
12248 bit. This is a kludge to avoid a race condition, even though I
12249 don't understand why there is a race condition in the first place.
12250 (tramp-post-connection): Install the `tramp_uudecode' shell
12251 function on the remote host.
12252 (tramp-coding-commands): Add an alternative for `tramp_uudecode'.
12253 (tramp-bug): Include more variables in the report.
12255 2002-08-04 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12257 * net/tramp.el: Version 2.0.9 released.
12258 (tramp-bug): Add wording about additional info to include in bug
12260 (tramp-find-shell): Set $PS1 for invocation of second shell (for
12262 (tramp-find-shell): Shell prompt must match at end of buffer.
12263 Do this also for fallback shell prompt.
12264 (tramp-find-shell): More debugging output.
12265 (tramp-find-inline-encoding): When checking the decoding command,
12266 some commands fail when reading from /dev/null. So we pass a
12267 known string through the encoding command and pass that through
12268 the decoding command. So we know whether the decoding command can
12269 deal with some real input.
12271 2002-08-04 Andreas Schwab <schwab@suse.de>
12273 * net/tramp.el (tramp-perl-encode, tramp-perl-decode): Doc fix.
12275 2002-08-03 Andrew Choi <akochoi@shaw.ca>
12277 * term/mac-win.el: Set keys to enable mouse wheel support.
12279 2002-08-03 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12281 * net/tramp.el: Version 2.0.8.
12282 (tramp-perl-encode, tramp-perl-encode): Double the backslashes.
12284 2002-08-03 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12286 * net/tramp.el: Version 2.0.7.
12287 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
12288 (tramp-perl-encode, tramp-perl-decode): Escape `%' characters
12289 because of `format' and say so in the docstring.
12291 2002-08-03 Glenn Morris <gmorris@ast.cam.ac.uk>
12293 * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of
12295 (f90-font-lock-keywords-2): Fix `implicit type(foo)' case.
12296 (f90-type-def-re): Fix value.
12298 2002-08-03 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12300 * net/tramp.el: Version 2.0.6.
12301 (tramp-default-method): Change to "ssh" from "sm".
12302 (tramp-wrong-passwd-regexp): Restructure. Add additional alternative.
12303 (tramp-su-program): New internal variable for method parameter.
12304 (tramp-perl-encode-with-module, tramp-perl-decode-with-module):
12305 New variables. Very short Perl one-liner, but requires Perl
12306 module MIME::Base64 to be installed on the remote site.
12307 (tramp-perl-encode, tramp-perl-decode): New base64
12308 encoder/decoder. From Juanma Barranquero <lektu@terra.es>.
12309 (tramp-handle-file-truename): Invoke Ange-FTP properly (even
12310 though Ange-FTP doesn't do anything for this operation).
12311 (tramp-handle-set-visited-file-modtime): Comment change.
12312 (tramp-handle-make-directory): Save-excursion.
12313 (tramp-handle-expand-many-files): Don't try to invoke Ange-FTP
12314 twice, once is enough.
12315 (tramp-action-permission-denied): Show *tramp/foo* buffer so the
12316 user knows what's wrong.
12317 (tramp-post-connection): Support the two Perl encoders and decoders.
12318 (tramp-coding-commands): Ditto. Add some todo items.
12320 2002-08-02 Richard M. Stallman <rms@gnu.org>
12322 * international/mule.el (merge-coding-systems): New function.
12323 (set-buffer-file-coding-system): Use merge-coding-systems.
12324 Change prompt for args.
12325 (revert-buffer-with-coding-system): New command.
12327 * international/mule-cmds.el (mule-keymap, set-coding-system-map):
12328 Add bindings for revert-buffer-with-coding-system.
12329 (set-coding-system-map): Clarify menu item info for
12330 set-buffer-file-coding-system.
12331 (set-coding-system-map): Reorder and add separators.
12333 * emacs-lisp/edebug.el (edebug-eval-top-level-form):
12334 Use eval-expression.
12336 * subr.el (atomic-change-group): Doc fix.
12338 2002-07-31 Colin Walters <walters@debian.org>
12340 * ibuffer.el (ibuffer-hooks): Rename to `ibuffer-hook'; Add
12341 defvaralias for compatibility.
12342 (ibuffer-mode-hooks): Rename to `ibuffer-mode-hook'; Add
12343 defvaralias for compatibility.
12345 2002-07-31 John Paul Wallington <jpw@shootybangbang.com>
12347 * ibuffer.el (ibuffer-fontification-alist):
12348 Use `font-lock-constant-face' instead of `font-lock-reference-face'.
12350 2002-07-31 John Wiegley <johnw@gnu.org>
12352 * pcomplete.el (pcomplete-comint-setup): Use `add-to-list', to
12353 prevent adding the symbol `pcomplete' to
12354 shell-dynamic-complete-functions to many times.
12356 2002-07-31 Markus Rost <rost@math.ohio-state.edu>
12358 * help-fns.el (describe-function-1): Test function for
12359 obsolescence only if it is a symbol.
12361 * ediff.el (ediff-backup): New autoloaded command.
12363 2002-07-31 Richard M. Stallman <rms@gnu.org>
12365 * makefile.w32-in (compile-after-backup): Renamed from `compile'.
12366 Use `compile-always'.
12367 (bootstrap): Use `compile', not `compile-files'. Use `update-subdirs'.
12368 (compile): Renamed from `compile-files'.
12369 (compile-CMD, compile-SH): Renamed from `compile-files-*'.
12371 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
12372 Check that (car elt) is a string.
12374 * pcomplete.el (pcomplete-entries): Doc fix.
12376 * international/mule.el (non-standard-icccm-encodings-alist): Doc fix.
12378 2002-07-31 Andreas Schwab <schwab@suse.de>
12380 * dired.el: Hide disabling of dired-find-alternate-file behind
12383 2002-07-31 Tak Ota <Takaaki.Ota@am.sony.com>
12385 * makefile.w32-in: Revert some changes from 2002-07-23 because they
12386 don't work on MSVC/nmake builds.
12387 (update-subdirs-CMD): Generate the right list of subdirectories.
12389 2002-07-30 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12391 * net/tramp.el: New version 2.0.5.
12392 (tramp-methods): Remove inline encoding method parameters.
12393 The encoding is now autodetected. Also shorten the list of
12394 methods (u/m distinction gone) and rename the remaining methods to
12395 have longer, but more mnemonic, names.
12396 (tramp-login-prompt-regexp, tramp-password-prompt-regexp)
12397 (tramp-wrong-passwd-regexp): Trailing `$' not needed, regexp is
12398 matched at end of buffer anyway.
12399 (tramp-yesno-prompt-regexp): New variable, for questions where the
12400 user should say "yes" or "no".
12401 (tramp-file-name-structure-unified)
12402 (tramp-file-name-structure-separate): Allow dash in method names.
12403 (tramp-actions-before-shell): New variable, contains list of
12404 pattern/action pairs. Output sent by remote end is scanned for
12405 the patterns, then the actions are executed.
12406 (tramp-multi-actions): Like `tramp-actions-before-shell', but
12407 executed for each hop in a multi-hop connection.
12408 (tramp-last-cmd-time): New variable. If nothing has been sent to
12409 remote end for 60 seconds, look to see if the remote end is still
12411 (tramp-perl-mime-encode, tramp-perl-mime-decode): Remove.
12413 (tramp-perl-encode, tramp-perl-decode): New variables, these
12414 require the MIME::Base64 module on the remote end.
12415 (tramp-handle-file-attributes): Restructure logic.
12416 (tramp-handle-file-attributes-with-ls)
12417 (tramp-handle-file-attributes-with-perl): More debugging.
12418 (tramp-handle-directory-files): Grok fifth arg `files-only' for XEmacs.
12419 (tramp-handle-make-directory, tramp-handle-delete-directory)
12420 (tramp-handle-delete-file, tramp-handle-insert-directory):
12422 (tramp-handle-shell-command): Use `when', not `if'.
12423 (tramp-handle-file-local-copy, tramp-handle-write-region):
12424 Adapt to autodetection of inline encoding.
12425 (tramp-invoke-ange-ftp): Require ange-ftp to make sure that
12426 variable ange-ftp-name-format is defined before binding it.
12427 (tramp-action-login, tramp-action-password, tramp-action-succeed)
12428 (tramp-action-permission-denied, tramp-action-yesno):
12429 Functions called from `tramp-actions-before-shell'.
12430 (tramp-multi-action-login, tramp-multi-action-password)
12431 (tramp-multi-action-succeed, tramp-multi-action-permission-denied):
12432 Functions called from `tramp-multi-actions'.
12433 (tramp-process-one-action, tramp-process-actions):
12434 Pattern matching and action invocation code for
12435 `tramp-actions-before-shell'.
12436 (tramp-process-one-multi-action, tramp-process-multi-actions):
12437 Same for `tramp-multi-actions'.
12438 (tramp-open-connection-telnet, tramp-open-connection-rsh)
12439 (tramp-open-connection-su): Process actions instead of hardwired logic.
12440 (tramp-multi-connect-telnet, tramp-multi-connect-rlogin)
12441 (tramp-multi-connect-su): Ditto.
12442 (tramp-post-connection): New method for tramp_encode and
12443 tramp_decode scripts.
12444 (tramp-post-connection): Invoke inline autodetection code.
12445 (tramp-coding-commands): List of inline codings.
12446 (tramp-find-inline-encoding): This is the inline autodetection code.
12447 (tramp-maybe-open-connection): If nothing was sent to connection
12448 for 60 seconds, look if it connection is still alive.
12449 (tramp-send-command): Remember that something was sent to the
12451 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
12452 Use backticks for constructing alist.
12453 (tramp-get-encoding-command, tramp-set-encoding-command)
12454 (tramp-get-decoding-command, tramp-set-decoding-command)
12455 (tramp-get-encoding-function, tramp-set-encoding-function)
12456 (tramp-get-decoding-function, tramp-set-decoding-function):
12457 Use for results of inline autodetection.
12458 (tramp-get-encoding-command, tramp-get-decoding-command)
12459 (tramp-get-encoding-function, tramp-get-decoding-function):
12460 Remove these old functions.
12462 2002-07-30 Kenichi Handa <handa@etl.go.jp>
12464 * language/indian.el (in-is13194): Give correct `safe-chars' property.
12465 (devanagari): Define it as an alias of in-is13194.
12467 * international/mule.el (safe-chars):
12468 Put `char-table-extra-slots' property with value 0.
12470 * files.el (revert-buffer): Fix previous change.
12472 2002-07-29 Richard M. Stallman <rms@gnu.org>
12474 * bindings.el (help-echo): If global-mode-string is non-nil,
12475 display some spaces after it.
12477 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
12478 Don't call string-match on non-string.
12480 * textmodes/ispell.el (check-ispell-version): Bind default-directory
12481 to avoid errors. Kill the old temp buffer at the beginning.
12483 2002-07-29 Glenn Morris <gmorris@ast.cam.ac.uk>
12485 * scroll-all.el (scroll-all-mode): Make argument optional. Doc fix.
12487 2002-07-29 John Paul Wallington <jpw@shootybangbang.com>
12489 * scroll-all.el (scroll-all-mode): Handle numeric arg. Use `if'
12492 2002-07-29 Kenichi Handa <handa@etl.go.jp>
12494 * international/mule.el (ctext-post-read-conversion): Add support
12495 for embedded utf-8 encoding (ESC % G ... ESC % @).
12497 2002-07-28 Kenichi Handa <handa@etl.go.jp>
12499 * files.el (revert-buffer): Before calling insert-file-contents,
12500 kill the local variable buffer-file-coding-system.
12502 2002-07-28 Richard M. Stallman <rms@gnu.org>
12504 * bindings.el (mode-line-format): Handle vc-mode specially.
12505 Move mode-line-position to after global-mode-string.
12506 (mode-line-modes): Move the starting 3 spaces out of here.
12507 (mode-line-position): Separate with a space, not dashes.
12509 * vc-hooks.el: Don't add to minor-mode-alist.
12511 * emacs-lisp/edebug.el (edebug-debugger):
12512 If inside redisplay, just return.
12514 * emacs-lisp/debug.el (debug): If inside redisplay, just return.
12516 * info.el (Info-find-index-name): Improve last change.
12518 2002-07-27 Richard M. Stallman <rms@gnu.org>
12520 * files.el (file-name-sans-extension): Avoid expanding DIRECTORY.
12522 * calendar/cal-hebrew.el (diary-rosh-hodesh): Cons mark on
12525 2002-07-27 Markus Rost <rost@math.ohio-state.edu>
12527 * ps-print.el: Update copyright year.
12528 (ps-begin-cut-regexp, ps-end-cut-regexp): Fix type.
12530 2002-07-26 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12532 * eshell/eshell.el (eshell): Numeric prefix arg means to switch
12533 to the session with that number. Old behavior still available
12534 with nonumeric prefix args.
12536 2002-07-08 Simon Josefsson <jas@extundo.com>
12538 * mail/mail-extr.el (mail-extr-all-top-level-domains): Update names.
12540 2002-07-26 Juanma Barranquero <lektu@terra.es>
12542 * warnings.el (lwarn, warn, warning-levels): Doc fix.
12543 (warning-suppress-log-types): Fix typo.
12544 (display-warning): Fix typo. Remove useless assignment to free variable
12547 2002-07-25 Markus Rost <rost@math.ohio-state.edu>
12549 * ediff-wind.el (ediff-window-setup-function): Extend type declaration.
12551 2002-07-25 Sam Steingold <sds@gnu.org>
12553 * replace.el (occur-rename-buffer): New command.
12554 (occur-mode-map): Bind "r" to it. Added keybindings for
12555 `kill-this-buffer', `clone-buffer' and `quit-window'.
12557 2002-07-25 Kevin Ryde <user42@zip.com.au>
12559 * info.el (Info-find-index-name): Search for a function definition
12560 with a return type.
12562 2002-07-25 David Ponce <david@dponce.com>
12564 * emacs-lisp/bytecomp.el (byte-compile-set-symbol-position):
12565 Don't recompute `entry' on each iteration.
12566 (byte-compile-delete-first): Make it defsubst.
12568 2002-07-25 Sam Steingold <sds@gnu.org>
12570 * progmodes/cc-engine.el (c-search-uplist-for-classkey):
12571 When `search-end' is a cons, use its car.
12573 2002-07-25 Dave Love <fx@gnu.org>
12575 * obsolete/c-mode.el: Deleted.
12577 2002-07-25 Carsten Dominik <dominik@astro.uva.nl>
12579 * textmodes/reftex.el (reftex-compile-variables):
12580 Simplified regular expression.
12582 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
12583 Simplified the regexp.
12585 * textmodes/reftex-cite.el (reftex-get-bibkey-default): New function.
12586 (reftex-extract-bib-entries-from-thebibliography):
12587 Use `reftex-get-bibkey-default' to get a default regex.
12588 (reftex-extract-bib-entries): Use `reftex-get-bibkey-default' to
12589 get a default regex.
12591 * textmodes/reftex-toc.el (reftex-toc-mode): Use `make-local-hook' for
12592 XEmacs compatibility (got OK from RMS).
12594 * textmodes/reftex-index.el (reftex-index-mode): Likewise.
12596 * textmodes/reftex-sel.el (reftex-select-label-mode): Likewise.
12597 (reftex-select-bib-mode): Likewise.
12599 2002-07-25 Colin Walters <walters@debian.org>
12601 * ibuffer.el (ibuffer-mouse-popup-menu): Allow point to be moved
12604 2002-07-24 Dave Love <fx@gnu.org>
12606 * international/mule.el (set-auto-coding): Doc fix.
12608 * international/utf-16.el: New file.
12610 * language/european.el ("German", "French", "Spanish", "Turkish"):
12611 Add alternative coding systems.
12612 ("Dutch"): Likewise. Add input method.
12613 ("Welsh", "Latin-7"): Add nonascii-translation.
12615 * language/georgian.el ("Georgian"): Add nonascii-translation.
12617 * international/titdic-cnv.el: Doc fixes.
12618 (tit-process-header): Add coding cookie.
12619 (titdic-convert): Force writing as iso-2022-7bit.
12621 * international/ja-dic-cnv.el (skkdic-convert): Add coding cookie.
12623 * international/mule-cmds.el: Doc fixes.
12624 (unencodable-char-position): New.
12625 (select-safe-coding-system): Use it to indicate problematic
12626 characters and add extra explanation. Avoid checking auto-coding
12627 for compressed files.
12628 (leim-list-header): Add coding cookie.
12629 (input-method-verbose-flag): Modify :type.
12630 (locale-language-names): Add bs, wa. Modify cy.
12632 2002-07-24 Richard M. Stallman <rms@gnu.org>
12634 * emacs-lisp/bytecomp.el (byte-compile-log-warning):
12635 Bind warning-group-format.
12637 * emacs-lisp/bytecomp.el (byte-compile-cl-functions): New variable.
12638 (byte-compile-cl-warn): Use that variable.
12639 (byte-compile-find-cl-functions): New function.
12640 (displaying-byte-compile-warnings):
12641 Call byte-compile-find-cl-functions.
12643 * warnings.el (warning-levels): Add %s to the strings.
12644 (warning-group-format): New variable.
12645 (warning-suppress-log-types): Renamed from warning-suppress-log.
12646 (warning-suppress-types): Renamed from warning-suppress.
12647 (display-warning): Implement those changes.
12649 2002-07-23 Richard M. Stallman <rms@gnu.org>
12651 * warnings.el: Add `provide' call.
12653 * files.el (basic-save-buffer-2): If there's an error writing the file,
12654 unrename the backup file if it was just made.
12655 (backup-buffer, basic-save-buffer-2, basic-save-buffer-1)
12656 (basic-save-buffer): Value now has form (MODES . BACKUPNAME)
12657 when a backup was just made by renaming. Otherwise it's nil.
12659 * wid-edit.el (widget-convert): Handle an argument that's a keyword.
12660 Recognize explicit :args specification.
12662 * international/mule-cmds.el (select-safe-coding-system):
12663 Don't ask for confirmation of mismatch if find-file-literally was used.
12665 2002-07-23 Markus Rost <rost@math.ohio-state.edu>
12667 * add-log.el (add-log-current-defun): Fix typo in documentation.
12669 2002-07-22 Markus Rost <rost@math.ohio-state.edu>
12671 * add-log.el (add-log-mailing-address): Fix type. Can be a string.
12673 * ido.el (ido-separator): Fix type.
12675 2002-07-23 Andrew Innes <andrewi@gnu.org>
12677 * makefile.w32-in (DONTCOMPILE): Remove cus-start.el.
12678 (DONTCOMPILE): Add various language files.
12679 (DONTCOMPILE): Remove term/xterm.el.
12680 (finder-inf.el): Remove.
12681 (update-authors): New target.
12682 (TAGS-LISP): Remove $(lispsource).
12683 (compile-always): Renamed from `compile-files'.
12684 (compile): New target, adapted from `compile-files'.
12685 (compile-calc): New target.
12686 (recompile): Change `.' to $(lisp).
12687 (bootstrap): Add update-subdirs and finder-data
12688 to dependencies; change compile-files to compile.
12690 2002-07-22 Andre Spiegel <spiegel@gnu.org>
12692 * vc.el (vc-next-action-on-file): Preserve find-file-literally.
12694 2002-07-22 Dan Nicolaescu <dann@ics.uci.edu>
12696 * simple.el (undo, undo-more): Adjust messages when undoing in a
12699 2002-07-22 John Paul Wallington <jpw@shootybangbang.com>
12701 * net/browse-url.el (browse-url-lynx-input-attempts): Use defcustom.
12702 (browse-url-lynx-input-delay): Add custom type and group.
12704 * cus-start.el (double-click-fuzz): Added.
12706 2002-07-22 Alan Shutko <ats@acm.org>
12708 * calendar/solar.el (diary-sabbath-candles): Add optional MARK
12709 parameter, specifying what face or character to use in the
12710 calendar display. These will now return (MARK . ENTRY).
12712 * calendar/lunar.el (diary-phases-of-moon): Add optional MARK
12713 parameter, specifying what face or character to use in the
12714 calendar display. These will now return (MARK . ENTRY).
12716 * calendar/cal-hebrew.el (diary-omer, diary-yahrzeit)
12717 (diary-rosh-hodesh, diary-parasha, diary-parasha): Add optional
12718 MARK parameter, specifying what face or character to use in the
12719 calendar display. These will now return (MARK . ENTRY).
12721 * calendar/diary-lib.el (mark-sexp-diary-entries): Retrieve mark
12722 from diary-sexp-entry and pass it to mark-visible-calendar-date.
12723 (list-sexp-diary-entries): Update doc string for new docs for ....
12724 If diary-sexp-entry returns a cons, only add the text to the diary
12726 (diary-sexp-entry): Allow sexps to return a cons of the form (MARK
12727 . STRING) to specify what face or character mark should be used in
12728 the calendar display.
12729 (diary-date, diary-block, diary-float, diary-anniversary)
12730 (diary-cyclic): Add optional MARK parameter, specifying what face
12731 or character to use in the calendar display. These will now
12732 return (MARK . ENTRY).
12734 * calendar/diary-lib.el (check-calendar-holidays, diary-iso-date)
12735 (calendar-holiday-list, diary-french-date, diary-mayan-date)
12736 (diary-julian-date, diary-astro-day-number, diary-chinese-date)
12737 (diary-islamic-date, list-islamic-diary-entries)
12738 (mark-islamic-diary-entries, mark-islamic-calendar-date-pattern)
12739 (diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha)
12740 (diary-rosh-hodesh, list-hebrew-diary-entries)
12741 (mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
12742 (diary-coptic-date, diary-persian-date, diary-phases-of-moon)
12743 (diary-sunrise-sunset, diary-sabbath-candles):
12744 Remove interactive flag from autoloads.
12746 2002-07-22 Carsten Dominik <dominik@astro.uva.nl>
12748 * textmodes/reftex-vars.el (reftex-index-verify-function): New option.
12749 (reftex-bibliography-commands): New option.
12750 (reftex-toc-split-windows-horizontally): New option.
12751 (reftex-toc-split-windows-horizontally-fraction): New option.
12752 (reftex-include-file-commands): New option.
12753 (reftex-cite-format-builtin): Added ?n for nocite.
12755 * textmodes/reftex-index.el (reftex-query-index-phrase):
12756 Use `reftex-index-verify-function'.
12758 * textmodes/reftex-toc.el (reftex-re-enlarge):
12759 Handle horizontal splitting.
12760 (reftex-toc): Handle horizontal splitting.
12761 (reftex-last-window-width): New variable.
12763 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
12764 Use `reftex-bibliography-commands'.
12765 (reftex-locate-bibliography-files): Regexp relaxed to allow for
12766 cases where \bibliography is not the first thing on the line.
12768 * textmodes/reftex.el (reftex-compile-variables):
12769 Use `reftex-include-file-commands'.
12770 (reftex-type-query-prompt): Changed defconst to defvar.
12771 (reftex-type-query-help, reftex-typekey-to-format-alist)
12772 (reftex-typekey-to-prefix-alist, reftex-env-or-mac-alist)
12773 (reftex-special-env-parsers, reftex-label-mac-list)
12774 (reftex-label-env-list, reftex-typekey-list)
12775 (reftex-words-to-typekey-alist, reftex-key-to-index-macro-alist)
12776 (reftex-query-index-macro-prompt, reftex-query-index-macro-help)
12777 (reftex-no-follow-message, reftex-no-info-message): Likewise.
12778 (reftex-mode): Define systax table for bibtex parsing.
12779 (reftex-syntax-table-for-bib): Syntax table for bibtex parsing.
12781 * textmodes/reftex-cite.el (reftex-format-names): %a as name
12782 format lists all names.
12783 (reftex-parse-bibtex-entry): Use `reftex-syntax-table-for-bib'.
12784 (reftex-with-special-syntax-for-bib): New macro.
12786 2002-07-21 Richard M. Stallman <rms@gnu.org>
12788 * international/ucs-tables.el (ucs-quail-activate):
12789 Cope if buffer-file-coding-system is nil.
12791 * bindings.el (last-buffer): Use buffer-list with frame arg.
12792 Create *scratch* if no other choice exists. Fix bugs.
12794 2002-07-21 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12796 * net/tramp.el: Bump version to 2.0.2.
12797 (tramp-methods): Rename methods invoking "ssh1" or "ssh2" to
12798 longer names. Use old names "sm1", "sm2" and so on for methods
12799 invoking "ssh -1" or "ssh -2".
12800 (tramp-multi-file-name-structure-separate): Typo, its name was set
12801 to "tramp-file-name-structure-separate". Trivial patch.
12802 From Steve Youngs <youngs@xemacs.org>.
12803 (tramp-multi-sh-program): New variable.
12804 (tramp-open-connection-multi): Use it. Now you can use multi
12805 methods from Windows (at least in principle).
12806 (tramp-do-copy-or-rename-via-buffer): New function.
12807 (tramp-do-copy-or-rename-file): Use it. Change and simplify
12808 logic. Omit special case of invoking rcp directly to copy the files.
12809 (tramp-open-connection-su, tramp-multi-connect-telnet)
12810 (tramp-multi-connect-rlogin, tramp-multi-connect-su)
12811 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
12812 Use backticks in format-spec for brevity and to avoid
12813 character/number confusion in XEmacs.
12815 2002-07-20 Richard M. Stallman <rms@gnu.org>
12817 * wid-edit.el (widget-documentation-string-value-create):
12818 Say "Hide Rest", not just "Hide".
12820 * cus-edit.el (custom-variable-value-create):
12821 Say "Show Value", not just "Show". Also "Hide Value".
12822 Output a newline before the doc string.
12823 (custom-face-value-create): Say "Show Face" and "Hide Face".
12825 * files.el (toggle-read-only): Clean up the hint message.
12827 * emacs-lisp/bytecomp.el: Use warnings.el.
12828 (byte-compile-warning-prefix): New function.
12829 (byte-compile-log-file): Return page start position.
12830 (byte-compile-log-warning): New function.
12831 (byte-compile-warn): Use byte-compile-log-warning.
12832 (byte-compile-report-error): Likewise. Also use error-message-string.
12833 (displaying-byte-compile-warnings): Bind warning-series.
12834 Don't bind or use byte-compile-warnings-point-max.
12835 Don't display the log buffer at the end.
12836 (byte-compile-warnings-point-max): Variable deleted.
12837 (byte-compile-log-1): Rewrite for trace info, not used for warnings.
12838 (byte-compile-last-warned-form, byte-compile-last-logged-file):
12841 * warnings.el: New file.
12843 2002-07-19 Richard M. Stallman <rms@gnu.org>
12845 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Delete `values'
12846 and `values-list' from list of CL functions.
12848 2002-07-19 John Paul Wallington <jpw@shootybangbang.com>
12850 * emacs-lisp/bytecomp.el (compile-defun):
12851 Bind `read-with-symbol-positions' to current buffer.
12853 2002-07-19 Andre Spiegel <spiegel@gnu.org>
12855 * vc-hooks.el (vc-insert-file): When called with a LIMIT regexp,
12856 delete anything that comes after LIMIT from the buffer.
12858 * vc-rcs.el (vc-rcs-fetch-master-state): Be more careful to check
12859 if this is really an RCS master file.
12861 * vc.el: Improve comment of vc-BACKEND-workfile-unchanged-p.
12863 2002-07-19 Juanma Barranquero <lektu@terra.es>
12865 * emacs-lisp/bytecomp.el (dot, dot-max, dot-min, dot-marker)
12866 (buffer-flush-undo, baud-rate, compiled-function-p, define-function)
12867 (unread-command-char, executing-macro, post-command-idle-hook)
12868 (post-command-idle-delay): Move obsolescence declarations to subr.el.
12870 * subr.el (dot, dot-max, dot-min, dot-marker, buffer-flush-undo)
12871 (baud-rate, compiled-function-p, define-function, unread-command-char)
12872 (executing-macro, post-command-idle-hook, post-command-idle-delay):
12873 Move obsolescence declarations from emacs-lisp/bytecomp.el.
12874 (directory-sep-char, mode-line-inverse-video):
12875 Add obsolescence declaration.
12877 2002-07-18 J.D. Smith <jdsmith@as.arizona.edu>
12879 * progmodes/idlwave.el: Updated to IDLWAVE version 4.14. Too many
12880 changes to list them here.
12882 * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.14.
12883 Too many changes to list them here.
12885 * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.14.
12886 Too many changes to list them here.
12888 * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.14 with
12889 only minor documentation changes.
12891 2002-07-18 Dave Love <fx@gnu.org>
12893 * info-look.el: Support current auto{conf,make} manuals.
12895 2002-07-18 Juanma Barranquero <lektu@terra.es>
12897 * bindings.el (last-buffer): Add missing frame argument.
12899 2002-07-18 Richard M. Stallman <rms@gnu.org>
12901 * timer.el (timer-inc-time): Doc fix.
12903 * replace.el (keep-lines, flush-lines): Interactively report
12904 read-only error before reading regexp argument.
12906 * dabbrev.el (dabbrev--search): Use inhibit-point-motion-hooks.
12908 * bindings.el (last-buffer): Handle buffer-list and buffer-predicate
12909 frame parameters like bury-buffer.
12911 * simple.el (choose-completion-delete-max-match):
12912 Handle minibuffer prompts explicitly.
12914 2002-07-18 Juanma Barranquero <lektu@terra.es>
12916 * international/mule-util.el (string-to-sequence, truncate-string):
12917 Add autoload cookie to obsolescence declaration.
12919 * rect.el (move-to-column-force): Likewise.
12921 * composite.el (decompose-composite-char): Likewise; also remove
12924 2002-07-18 Kim F. Storm <storm@cua.dk>
12926 * loadup.el: Load international/utf-8 before international/characters.
12928 2002-07-17 Dave Love <fx@gnu.org>
12930 * international/ucs-tables.el: Optimize tables. Deal with some
12932 (ucs-mule-to-mule-unicode): New.
12933 (ucs-unify-8859): Use utf-8-fragment-on-decoding, set up Quail
12935 (ucs-fragment-8859): Modified consistent with ucs-unify-8859.
12936 (unify-8859-on-encoding-mode): Doc mod. Fix custom version.
12937 (unify-8859-on-decoding-mode): Doc mod. Change code. Fix custom
12938 version. Add custom dependencies.
12939 (ucs-insert): Check for null from decode-char.
12940 (translation-table-for-input, ucs-quail-activate)
12941 (ucs-minibuffer-setup, ccl-encode-unicode-font)
12942 (ucs-tables-unload-hook): New.
12944 * international/mule.el (define-translation-hash-table): New.
12945 (decode-char): Use utf-8-translation-table-for-decode.
12946 (encode-char): Use ucs-mule-to-mule-unicode.
12948 * international/characters.el: Fix settings of U+2000-U+2027.
12951 * international/mule-cmds.el (locale-language-names): Fix be, add
12952 sr_YU@cyrillic, modify tg.
12953 (locale-charset-language-names): Put @euro last.
12955 * language/cyrillic.el (cyrillic-koi8-r-decode-table)
12956 (cyrillic-alternativnyj-decode-table): Fill out with mule-unicode.
12957 (cyrillic-koi8-r-decode-table): Make unbound after use.
12958 (ccl-decode-koi8, ccl-decode-alternativnyj): Change expansion
12959 factor. Use utf-8-translation-table-for-decode.
12960 (ccl-encode-koi8, ccl-encode-koi8): Don't check r0.
12961 (cyrillic-unify-encoding): New function.
12962 (cyrillic-koi8): Modify safe-chars, valid-codes.
12963 Remove charset-origin-alist.
12964 (Cp878, cp866): New alias.
12965 (ccl-encode-8859-5-font): New.
12966 (font-ccl-encoder-alist): Add ccl-encode-8859-5-font.
12967 (ccl-encode-koi8-font, ccl-encode-alternativnyj-font):
12968 Remove redundant parens.
12969 ("Cyrillic-KOI8"): Add cyrillic-iso-8bit to coding-priority.
12970 (cyrillic-koi8-u-decode-table, ccl-decode-koi8-u)
12971 (ccl-encode-koi8-u, koi8-u, ccl-encode-koi8-u-font, "Ukrainian"): New.
12972 (cyrillic-alternativnyj): Modify safe-chars, add mime-charset.
12973 ("Cyrillic-ALT"): Change input method.
12974 ("Windows-1251", "Tajik", "Bulgarian", "Belarusian"): New.
12976 * international/utf-8.el (utf-8-subst-table)
12977 (utf-8-subst-rev-table, utf-8-translation-table-for-decode)
12978 (utf-8-fragment-on-decoding, ccl-untranslated-to-ucs)
12979 (utf-8-ccl-regs, utf-8-translate-cjk): New.
12980 (ccl-encode-mule-utf-8): Use utf-8-subst-rev-table.
12981 (ccl-decode-mule-utf-8, ccl-untranslated-to-ucs)
12982 (utf-8-untranslated-to-ucs, utf-8-compose): Rewritten.
12983 (mule-utf-8): Remove pre-write-conversion.
12984 (utf-8-post-read-conversion): Comment out.
12986 * international/ccl.el (ccl-command-table): Add lookup-integer,
12988 (ccl-extended-code-table): Add lookup-int-const-tbl,
12989 lookup-char-const-tbl.
12990 (ccl-compile-lookup-integer, ccl-compile-lookup-character)
12991 (ccl-dump-lookup-int-const-tbl, ccl-dump-lookup-char-const-tbl):
12993 (define-ccl-program): Doc update.
12995 * international/utf-8-subst.el: Populate utf-8-subst-rev-table.
12996 (utf-8-subst-table): Don't set.
12998 2002-07-17 Kenichi Handa <handa@etl.go.jp>
13000 * international/mule.el (define-coding-system-alias):
13001 Don't append ALIAS in the property `alias-coding-systems' if ALIAS's
13002 eol-type is not auto-detection.
13004 * international/mule-diag.el (print-coding-system-briefly):
13005 Fix the handling of an alias of which eol-type is not auto-detection.
13007 * international/mule-conf.el (us-ascii): Define it as an alias of
13010 2002-07-17 Juanma Barranquero <lektu@terra.es>
13012 * help-fns.el (describe-function-1): Put empty line before "Not
13015 * timer.el (timer-set-time-with-usecs): Mark obsolete.
13017 2002-07-16 Stefan Monnier <monnier@cs.yale.edu>
13019 * toolbar/tool-bar.el (tool-bar-add-item-from-menu):
13020 Make sure to change the global tool-bar-map.
13022 * vc.el (vc-default-comment-history): Hard code *vc*.
13023 This is because print-log always prints there now.
13024 (vc-annotate-font-lock-keywords): New var.
13025 (vc-annotate-mode): Use it. Set truncate-lines as well.
13026 (vc-annotate-display-select): Unify the two error reports.
13027 (vc-annotate-offset): New var.
13028 (vc-annotate-lines): New fun extracted from vc-annotate-display.
13029 (vc-annotate-display): Use it, via font-lock.
13031 * help-fns.el (help-split-fundoc, help-function-arglist)
13032 (help-make-usage): New funs, extracted from describe-function-1.
13033 (describe-function-1): Use them.
13035 * help.el (help-key-description): Show the untranslated keys
13036 when they start with ESC and the ESC was not translated.
13038 * help-mode.el (view): Always require.
13039 (help-xref-mule-regexp): Don't use defconst for variables.
13040 (help-setup-xref): Keep the last 10 elements of the stack.
13041 (help-xref-override-view-map): New var.
13042 (help-make-xrefs): Use it instead of building a new map each time.
13043 (help-function-def): Allow help-fun to take a buffer as arg.
13045 * diff-mode.el (diff-reverse-direction): Simplify.
13046 (diff-after-change-function): Fix typo.
13047 (diff-post-command-hook): Take care of edge cases.
13048 (diff-current-defun): Do `goto-char' after setting the mode.
13050 * mouse-sel.el (mouse-sel-mode): Use define-minor-mode.
13051 Fold mouse-sel-bindings into it.
13052 (mouse-sel-bound-events): Turn it into an alist.
13053 (mouse-insert-selection): Delegate to mouse-yank-at-click if
13054 mouse-sel-default-bindings asks for it.
13056 2002-07-16 Andre Spiegel <spiegel@gnu.org>
13058 * files.el: Bind toggle-read-only to C-x C-q.
13059 (toggle-read-only): Display a warning message if the file is under
13062 * vc-hooks.el: Don't bind vc-toggle-read-only to C-x C-q.
13063 (vc-toggle-read-only): Explain in the doc string that users can bind
13065 (vc-checkout-model): Change doc string to refer to vc-next-action,
13066 not vc-toggle-read-only.
13068 * vc.el (vc-next-action-on-file): Ignore buffer-read-only while
13069 comparing to file on disk. Fix the case when claiming the lock
13070 on a file that has unlocked changes.
13071 (vc-log-mode): Don't mention vc-toggle-read-only in the doc string.
13073 2002-07-16 Richard M. Stallman <rms@gnu.org>
13075 * simple.el (choose-completion-string): Doc fix.
13077 * cus-edit.el: New operation :custom-standard-value.
13078 (Custom-reset-standard): Use it.
13079 (custom-variable, custom-face): Define it.
13080 (custom-variable-standard-value, custom-face-standard-value): New fns.
13081 (custom-face-save): Don't save a face whose value is standard.
13082 (custom-save-faces): Use SYMBOL, not 'default, to set NOW and COMMENT.
13084 * cus-edit.el (custom-face-edit-fix-value):
13085 If VALUE is not a list, pass it thru.
13087 * compare-w.el (compare-windows-whitespace): Always allow newline
13088 even if it does not have whitespace syntax.
13090 2002-07-16 Juanma Barranquero <lektu@terra.es>
13092 * timer.el (timer-set-time, timer-set-time-with-usecs): Fix docstring.
13094 2002-07-15 Juanma Barranquero <lektu@terra.es>
13096 * help-fns.el (describe-variable): Show documentation for aliased
13097 variable if alias does not have its own.
13099 2002-07-15 Mike Williams <mdub@bigfoot.com>
13101 * mouse-sel.el (mouse-sel-bindings): Save/restore interprogram
13102 cut/paste functions.
13104 2002-07-14 Richard M. Stallman <rms@gnu.org>
13106 * files.el (find-alternate-file): Offer to save a modified buffer.
13107 Handle kill-buffer-query-functions better.
13109 * startup.el (normal-splash-screen, fancy-splash-text):
13110 Update name of help menu item for ordering printed manuals.
13112 * emacs-lisp/checkdoc.el: Fix doc typos.
13114 2002-07-14 Stefan Monnier <monnier@cs.yale.edu>
13116 * textmodes/tex-mode.el: Set encoding to utf-8.
13117 (tex-start-options): Make it into always-a-string.
13118 Remove silly custom options that are covered by the other var.
13119 (tex-start-commands): Fix docstring.
13120 (tex-open-quote, tex-close-quote): Add options.
13121 (tex-command): Provide default.
13122 (tex-font-lock-keywords-1): Highlight $$...$$.
13123 (tex-font-lock-keywords-2): Fix latin-1 chars.
13124 (tex-mode-map): Remove redundant \t binding.
13125 (tex-mode): Add `subsection' and `newcommand' to known latex cmds.
13126 (latex-mode): Use add-hook for fill-nobreak-predicate.
13127 (tex-common-initialization): Set indent-tabs-mode to nil.
13128 (tex-insert-quote): Undo magic if invoked twice in a row.
13129 (latex-fill-nobreak-predicate): Don't use narrowing.
13130 (tex-latex-block): Don't cons uselessly.
13131 (tex-last-unended-begin): Signal user-friendlier error.
13132 (tex-goto-last-unclosed-latex-block): Don't catch signal.
13133 (tex-start-tex): Switch order of tex-start-options and
13134 tex-start-commands to make it obey docstrings.
13136 2002-07-14 Mike Williams <mdub@bigfoot.com>
13138 * mouse-sel.el (mouse-sel-bound-events): New constant.
13139 (mouse-sel-bindings): Save/restore original mouse-bindings.
13141 2002-07-13 Stefan Monnier <monnier@cs.yale.edu>
13143 * emacs-lisp/cl.el (cl-set-substring): Fix thinko.
13144 (cl-hack-byte-compiler): Avoid infinite require loop.
13146 * net/ange-ftp.el: Use hash-tables.
13147 (ange-ftp-make-hashtable, ange-ftp-map-hashtable)
13148 (ange-ftp-make-hash-key, ange-ftp-get-hash-entry)
13149 (ange-ftp-put-hash-entry, ange-ftp-del-hash-entry): Remove.
13150 Replace with make-hash-table, maphash, gethash, puthash and remhash.
13151 (ange-ftp-hash-entry-exists-p): Rewrite.
13152 (ange-ftp-vms-delete-file-entry, ange-ftp-vms-add-file-entry):
13153 Change mapatom -> maphash.
13154 (ange-ftp-file-entry-active-p, ange-ftp-file-entry-not-ignored-p):
13155 Update to new calling mode.
13157 * progmodes/ebrowse.el (ebrowse-symbol-regexp): Avoid cl-set-substring.
13158 (ebrowse-hash-table-to-alist): Delete.
13159 (ebrowse-tags-read-name, ebrowse-tags-list-members-in-file)
13160 (ebrowse-tags-complete-symbol): Use the hashtable for completion.
13162 * textmodes/sgml-mode.el (sgml-quote): Use narrowing.
13163 Improve the regexp used when unquoting.
13164 (sgml-pretty-print): New function.
13165 (sgml-get-context): Better handling of improperly nested tags.
13166 (sgml-show-context): Don't use the FULL arg of sgml-get-context.
13168 2002-07-13 Andreas Schwab <schwab@suse.de>
13170 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Check the
13171 inherited table entry.
13173 2002-07-13 Glenn Morris <gmorris@ast.cam.ac.uk>
13175 * calendar/timeclock.el (timeclock-in): Handle the case where no
13176 log file exists (ie the very first call).
13178 2002-07-13 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13180 * net/ange-ftp.el: Do not hook into file-name-handler-alist, this
13183 * net/tramp.el (tramp-multi-file-name-structure-unified):
13184 Add missing slash and move colon from start to end of each hop.
13185 (tramp-multi-file-name-hop-structure-unified): Move colon from
13186 start to end of each hop.
13188 2002-07-13 Kim F. Storm <storm@cua.dk>
13190 * progmodes/compile.el (grep-tree): Fixed autoload.
13191 Corrected use of undefined variable `match-files-aliases'.
13193 2002-07-12 Glenn Morris <gmorris@ast.cam.ac.uk>
13195 * calendar/timeclock.el (timeclock-get-workday-function):
13196 `timeclock-workday' is not a valid option, rather a possible
13199 2002-07-12 Richard M. Stallman <rms@gnu.org>
13201 * net/ange-ftp.el (ange-ftp-write-region):
13202 Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg
13203 to ange-ftp-real-write-region.
13205 * replace.el (flush-lines, keep-lines): Convert REND to a marker.
13207 * help-fns.el (help-with-tutorial): Display completion list right away.
13209 * ediff-ptch.el (ediff-test-patch-utility): Catch error and return nil.
13211 * startup.el (command-line): Set memory-signal-data.
13212 (fancy-splash-text, normal-splash-screen):
13213 Mention "Read the Emacs Manual" or C-h r.
13214 Rearrange the initial help to put the help cmds on left
13215 and the actions (exit, undo) on the right. Other small
13216 text clarifications.
13217 (fancy-splash-text, actions page): Add blank line to balance help page.
13219 * help.el (help-map): Add binding for info-emacs-manual.
13220 (print-help-return-message): Doc fix.
13222 * strokes.el (strokes-help): Call print-help-return-message
13223 while inside with-output-to-temp-buffer.
13225 * info.el (info-emacs-manual): New function.
13226 (Info-use-header-line): Doc fix.
13228 * emacs-lisp/cl.el (multiple-value-call): Add alias.
13230 * progmodes/compile.el (compilation-normalize-filename):
13231 New subroutine, taken out of compilation-parse-errors.
13232 (compilation-parse-errors): Use that, and for directories too.
13233 Don't check whether a directory really exists.
13235 2002-07-12 Juanma Barranquero <lektu@terra.es>
13237 * help-fns.el (describe-variable): Remove useless "Documentation:"
13240 * timer.el (timer-set-time-with-usecs): Fix documentation.
13241 Simplify extraction of time data.
13243 2002-07-12 John Paul Wallington <jpw@shootybangbang.com>
13245 * help-fns.el (describe-variable): Mention if the variable is an
13246 alias. Put `defvaralias' info before the documentation.
13248 2002-07-12 Kenichi Handa <handa@etl.go.jp>
13250 * international/mule-cmds.el (locale-language-names): Change "mk"
13251 (Macedonian), "ru" (Russian), and "sp" (Serbian with Cyrillic
13252 alphabet) to "Cyrillic-ISO".
13254 2002-07-11 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13256 * net/tramp.el (tramp-default-method): New default method "sm"
13257 which I guess to be good for most people.
13258 (tramp-default-method-alist): Use "ftp" method (ie, forwarding to
13259 Ange-FTP) for some user/host combinations.
13260 (tramp-file-name-structure, tramp-file-name-regexp)
13261 (tramp-make-tramp-file-format, tramp-make-tramp-file-user-nil-format)
13262 (tramp-multi-file-name-structure, tramp-multi-file-name-hop-structure)
13263 (tramp-make-multi-tramp-file-format): New default value which
13264 unifies the filename syntax between Tramp and Ange-FTP. The new
13265 syntax is "/method:user@host:path". Note the colon after the method.
13266 (tramp-handle-file-name-directory): Don't return "/" when
13267 completing a remote root directory (where the filename looks like
13268 "/method:user@host:/").
13269 (tramp-handle-ange-ftp): Deleted.
13270 (tramp-disable-ange-ftp): New function, called at toplevel,
13271 deletes Ange-FTP from file-name-handler-alist.
13272 (tramp-handle-make-symbolic-link): Implement.
13274 2002-07-10 Juanma Barranquero <lektu@terra.es>
13276 * ido.el (ido-enter-single-matching-directory): Delete leftover comment.
13278 * speedbar.el (speedbar-tag-hierarchy-method): Fix typos.
13279 (speedbar-vc-do-check): Likewise.
13280 (speedbar-obj-do-check): Likewise.
13281 (speedbar-mouse-hscroll): Likewise.
13282 (speedbar-file-lists): Likewise.
13284 * emacs-lisp/authors.el (authors-obsolete-file-p): Fix typo.
13286 2002-07-09 Ole Aamot <ole@gnu.org>
13288 * compile.el (compilation-error-regexp-alist):
13289 Recognize Valgrind messages.
13291 2002-07-09 Juanma Barranquero <lektu@terra.es>
13293 * faces.el (face-id): Fix typo.
13295 * hexl.el (hexl-mode): Likewise.
13297 * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
13299 * progmodes/ebnf-yac.el (ebnf-yac-error): Likewise.
13301 * speedbar.el (speedbar-make-specialized-keymap): Fix docstring.
13302 (speedbar-desired-buffer): Likewise.
13303 (speedbar-line-file): Likewise.
13304 (speedbar-special-mode-key-map): Fix typo.
13305 (speedbar-dynamic-tags-function-list): Likewise.
13306 (speedbar-use-images): Likewise.
13307 (speedbar-up-directory): Likewise.
13308 (speedbar-item-info): Likewise.
13309 (speedbar-set-timer): Likewise.
13310 (speedbar-insert-button): Likewise.
13311 (speedbar-make-button): Likewise.
13312 (speedbar-make-tag-line): Likewise.
13313 (speedbar-insert-files-at-point): Likewise.
13314 (speedbar-update-special-contents): Likewise.
13315 (speedbar-find-selected-file): Likewise.
13316 (speedbar-add-indicator): Likewise.
13317 (speedbar-do-function-pointer): Likewise.
13318 (speedbar-goto-this-file): Likewise.
13319 (speedbar-line-path): Likewise.
13320 (speedbar-mouse-event-p): Likewise.
13321 (speedbar-dir-follow): Likewise.
13322 (speedbar-tag-find): Likewise.
13323 (speedbar-fetch-etags-command): Likewise.
13324 (speedbar-fetch-etags-arguments): Likewise.
13325 (speedbar-toggle-etags): Likewise.
13326 (speedbar-extract-one-symbol): Likewise.
13327 (speedbar-parse-c-or-c++tag): Likewise.
13328 (speedbar-unhighlight-one-tag-line): Likewise.
13329 (speedbar-directory-face): Likewise.
13330 (defimage-speedbar): Likewise.
13331 (speedbar-convert-emacs21-imagespec-to-xemacs): Likewise.
13333 2002-07-09 Miles Bader <miles@gnu.org>
13335 * hexl.el (hexl-find-file): Bind `completion-ignored-extensions'
13336 to nil when prompting for a filename.
13338 2002-07-09 Kenichi Handa <handa@etl.go.jp>
13340 * files.el (insert-directory): Be sure to bind
13341 coding-system-for-write to the just decided coding-system-for-read.
13343 2002-07-09 Kim F. Storm <storm@cua.dk>
13345 * ido.el (ido-make-merged-file-list): Move fully matching item to
13347 (ido-find-common-substring): Return substring instead of t.
13349 2002-07-08 Juanma Barranquero <lektu@terra.es>
13351 * info.el (Info-directory-list): Fix docstring.
13353 2002-07-08 Miles Bader <miles@gnu.org>
13355 * comint.el (comint-dynamic-list-completions): Sort COMPLETIONS
13358 2002-07-08 Kim F. Storm <storm@cua.dk>
13360 * files.el (after-find-file): Don't check for read-only status
13361 of files just created (and not yet saved on disk).
13363 * ido.el (ido-completion-help): Changed XEmacs specific code to
13364 avoid byte compiler warning in GNU Emacs.
13365 (ido-set-matches1): Use regexp-quote instead of identity.
13366 (ido-complete-space): New function.
13367 (ido-define-mode-map): Bind it to SPACE.
13369 2002-07-07 Stefan Monnier <monnier@cs.yale.edu>
13371 * font-lock.el (font-lock-default-unfontify-region):
13372 Use remove-list-of-text-properties.
13373 (font-lock-extra-managed-props): Doc fix.
13375 * facemenu.el: Move `provide' to the end.
13376 (facemenu-read-color): Don't cons unnecessarily.
13378 * language/ind-util.el (indian-make-hash):
13379 * language/devan-util.el (dev-char-glyph-hash, dev-glyph-glyph-hash)
13380 (dev-glyph-glyph-2-hash): Switch makehash -> make-hash-table.
13382 * subr.el (insert-string): Update the obsolete info.
13383 (makehash): Move from C and mark obsolete.
13385 * emacs-lisp/debug.el (debug-on-entry): Fix the wrapper used for
13386 aliases to also work for interactive functions.
13387 Use the same wrapper for subroutines.
13388 (cancel-debug-on-entry): Get rid of the now-useless wrapper.
13389 (debug-on-entry-1): Correctly skip docstrings and interactive forms.
13391 * textmodes/texinfo.el (texinfo-font-lock-keywords): Disable the
13392 automatic environment name update.
13393 (texinfo-clone-environment): Fix it not to incorrectly match prefixes.
13395 2002-07-07 Richard M. Stallman <rms@gnu.org>
13397 * emacs-lisp/easymenu.el (easy-menu-popup-menu): Function deleted.
13399 * emacs-lisp/advice.el (ad-compile-function):
13400 Disable cl-function warnings if cl is loaded.
13402 * files.el (safe-local-eval-forms): New user option.
13403 (hack-one-local-variable-eval-safep): Support it.
13404 Also allow `safe-local-eval-function' property to be a function
13405 or a list of functions.
13406 (c-add-style): Delete `safe-local-eval-function' property.
13408 * files.el (after-find-file): Make buffer read-only if file is
13409 marked that way, even for root.
13411 * files.el (save-some-buffers): Doc fix.
13413 * bindings.el (completion-ignored-extensions): Add .gmo and .mo.
13415 2002-07-06 Francesco Potortì <pot@gnu.org>
13417 * dos-w32.el (file-name-buffer-file-type-alist): Add knowledge of
13418 .sx[dmicw] file suffixes for Open office data files.
13420 * files.el (auto-mode-alist): Likewise.
13422 * international/mule.el (auto-coding-alist): Likewise.
13424 2002-07-05 Kim F. Storm <storm@cua.dk>
13426 * emulation/cua-rect.el (cua--rectangle-operation): Don't call
13427 FCT if current column is outside rectangle.
13428 (cua--delete-rectangle): Do nothing if zero width or out of bounds.
13430 2002-07-04 Stefan Monnier <monnier@cs.yale.edu>
13432 * net/ange-ftp.el: Use add-hook and find-file-hook.
13433 (ange-ftp-parse-netrc): Use run-hooks and find-file-hook.
13434 (ange-ftp-ls-parser): Make it into a function.
13435 Ignore trailing @ in symlink targets.
13436 (ange-ftp-file-entry-p): Ignore FTP errors.
13437 (ange-ftp-insert-directory): Use ange-ftp-expand-symlink
13438 to correctly expand "/flint:/bla -> ./etc" to /flint:/etc.
13440 2002-07-04 Per Abrahamsen <abraham@dina.kvl.dk>
13442 * simple.el (toggle-truncate-lines): New command.
13444 2002-07-04 Miles Bader <miles@gnu.org>
13446 * comint.el (comint-displayed-dynamic-completions): New variable.
13447 (comint-dynamic-list-completions): Be more careful about choosing
13448 when to scroll an existing completions window.
13450 2002-07-03 Andreas Schwab <schwab@suse.de>
13452 * net/tramp.el (tramp-handle-ange-ftp): Move interactive spec
13455 2002-07-03 Juanma Barranquero <lektu@terra.es>
13457 * net/tramp.el (tramp-send-eof): Fix typo.
13458 (tramp-kill-process): Likewise.
13460 * play/dunnet.el (dun-physobj-desc): Likewise.
13462 * textmodes/reftex-vars.el (reftex-label-alist): Likewise.
13464 * calendar/timeclock.el (timeclock-workday-remaining): Likewise.
13465 (timeclock-workday-elapsed): Likewise.
13467 * allout.el (outline-goto-prefix): Likewise.
13469 * emulation/tpu-edt.el (tpu-delete-to-eol): Likewise.
13470 (tpu-delete-to-bol): Likewise.
13472 * subr.el (chars-in-region): Add obsolescence declaration for
13475 2002-07-03 Miles Bader <miles@gnu.org>
13477 * faces.el (header-line): Don't use a `common' clause for
13478 inheriting from the mode-line face, since we can't override it,
13479 and we don't want it for ttys.
13481 2002-07-02 Richard M. Stallman <rms@gnu.org>
13483 * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop.
13485 * files.el (hack-one-local-variable-constantp): New function.
13486 (hack-one-local-variable-eval-safep): New function.
13487 Check for `eval:' calling fn with `safe-local-eval-function' property.
13488 (hack-one-local-variable): Use hack-one-local-variable-eval-safep.
13489 (c-add-style, c-set-style): Add safe-local-eval-function property.
13491 * files.el (insert-directory): Handle --dired option to ls.
13493 * files.el (file-remote-p): New function.
13495 * emacs-lisp/easymenu.el (easy-menu-popup-menu): New function.
13497 * startup.el (fancy-splash-screens): Switch to a chosen frame.
13498 (fancy-splash-frame): Choose the right frame to use.
13499 (use-fancy-splash-screens-p): Check dimensions of the right frame
13500 in order to decide.
13502 * emacs-lisp/bytecomp.el (byte-compile-warning-types):
13503 Rename cl-func to cl-functions. Enable it by default.
13504 (byte-compile-file-form-eval-boundary): Turn off cl-functions warnings
13505 if the file loads cl.
13506 (byte-compile-initial-macro-environment): For eval-and-compile,
13507 use byte-compile-eval-before-compile to eval.
13508 (byte-compile-eval-before-compile): New function to turn off
13509 cl-functions when appropriate, for eval-and-compile.
13510 (byte-compile-warnings): Doc fix.
13512 2002-07-02 Dave Love <fx@gnu.org>
13514 * emacs-lisp/bytecomp.el (byte-compile-warnings): Add cl-func option.
13515 (byte-compile-cl-warn): New function.
13516 (byte-compile-form): Use it, to warn about calling cl functions.
13517 (byte-compile-warning-types): Doc fix.
13519 2002-07-02 Juanma Barranquero <lektu@terra.es>
13521 * mail/rmailsum.el (rmail-user-mail-address-regexp): Fix typo.
13523 * textmodes/reftex-cite.el (reftex-citation): Fix typo.
13525 * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent):
13528 2002-07-02 Kim F. Storm <storm@cua.dk>
13530 * emacs-lisp/bindat.el: New file.
13532 2002-07-01 Sam Steingold <sds@gnu.org>
13534 * textmodes/tex-mode.el (tex-file): Call `save-some-buffers'
13535 before `tex-main-file' because if the current buffer is new, its
13536 file might not exist yet, and then `tex-main-file' will
13537 incorrectly return "foo.tex.tex".
13539 2002-07-01 Juanma Barranquero <lektu@terra.es>
13541 * ido.el (ido-minibuffer-setup-hook): Doc fix.
13543 2002-07-01 Dave Love <fx@gnu.org>
13545 Make strokes a proper minor mode, and don't try to overload
13546 mouse-2, which doesn't work satisfactorily.
13548 * strokes.el: Doc fixes.
13549 (strokes-mode): Defcustom deleted; replaced by minor mode def with
13550 re-written function.
13551 (strokes-while-inhibiting-garbage-collector): Comment out.
13552 (define-stroke, strokes-fix-button2-command, strokes-insinuated)
13553 (strokes-insinuate, global-set-stroke, describe-stroke)
13554 (load-user-strokes, save-strokes, strokes-bug-address)
13555 (strokes-click-command): Deleted.
13556 (strokes-execute-stroke): Remove strokes-click-p case.
13557 (strokes-describe-stroke): Remove strokes-click-p stuff.
13558 (strokes-help): Fix.
13559 (strokes-report-bug): Alias to report-emacs-bug.
13560 (strokes-prompt-user-save-strokes): Modify format of the file.
13561 (strokes-mode-map, strokes-unload-hook): New.
13562 (strokes-buffer-name): Don't customize.
13564 2002-07-01 Richard M. Stallman <rms@gnu.org>
13566 * info.el (Info-index): Get immediate error if used in `dir'.
13568 * textmodes/picture.el (picture-forward-column)
13569 (picture-move-down): Never deactivate the mark.
13571 2002-06-30 Simon Josefsson <jas@extundo.com>
13573 * menu-bar.el (menu-bar-options-menu): Move elisp mode names from
13574 menu entry into balloon help.
13576 2002-06-30 Andreas Schwab <schwab@suse.de>
13578 * files.el (directory-free-space-args): Don't use `-P' on Darwin.
13579 * term/mac-win.el: Don't set it here.
13581 2002-06-29 Stefan Monnier <monnier@cs.yale.edu>
13583 * pcvs-defs.el (cvs-mode-map): Bind ! to `force'.
13585 2002-06-29 Andreas Schwab <schwab@suse.de>
13587 * term/mac-win.el: Use directory-free-space-program instead of
13588 obsolete variable dired-free-space-program. On Darwin, don't set
13589 directory-free-space-program, shell-file-name and
13590 process-connection-type; set directory-free-space-args to not
13591 include `-P' and use utf-8 for file name coding system.
13593 * simple.el (shell-command-on-region): Handle errors and signals
13594 from shell command execution.
13595 (display-message-or-buffer): Fix last change.
13596 (shell-command-default-error-buffer): Doc fix.
13598 * dired.el (dired-view-file): Quote file name for
13599 dired-run-shell-command.
13601 2002-06-29 Kim F. Storm <storm@cua.dk>
13603 * kmacro.el: New file.
13605 2002-06-28 John Wiegley <johnw@gnu.org>
13607 * pcmpl-cvs.el: Added my name as the maintainer of this file.
13609 2002-06-28 Andreas Schwab <schwab@suse.de>
13611 * shell.el (explicit-bash-args): New user option.
13613 2002-06-28 Kim F. Storm <storm@cua.dk>
13615 * ido.el: New file.
13617 2002-06-28 Stefan Monnier <monnier@cs.yale.edu>
13619 * derived.el (define-derived-mode): Preserve the `mode-class' rather
13620 than the `special' symbol property.
13621 (derived-mode-class): Make it obsolete.
13623 2002-06-27 Andreas Schwab <schwab@suse.de>
13625 * net/tramp.el (tramp-handle-ange-ftp): Fix typo.
13627 2002-06-27 Juanma Barranquero <lektu@terra.es>
13629 * emacs-lisp/bytecomp.el (baud-rate): Fix obsolescence declaration.
13630 (meta-flag): Likewise.
13632 * international/mule-util.el (string-to-sequence): Likewise.
13634 * subr.el (char-bytes): Likewise.
13635 (make-local-hook): Likewise.
13636 (baud-rate): Remove redundant info from docstring.
13638 * faces.el (frame-update-faces): Fix obsolescence declaration.
13639 (internal-get-face): Remove redundant info from docstring and
13640 fix obsolescence declaration.
13642 * rect.el (move-to-column-force): Likewise.
13644 * help-fns.el (describe-function-1): Use semicolon instead of dot.
13645 (describe-variable): Likewise.
13647 2002-06-27 Stefan Monnier <monnier@cs.yale.edu>
13649 * mwheel.el (mouse-wheel-change-button): Deactivate before changing.
13650 (mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
13651 (mouse-wheel-up-event, mouse-wheel-down-event): New vars.
13652 (mouse-wheel-follow-mouse): Change default to t.
13653 (mwheel-event-button): Return the basic event symbol.
13654 (mwheel-scroll): Work with non-mouse events.
13655 (mouse-wheel-mode): Use the new vars.
13656 (mwheel-install): Obey `uninstall'.
13658 * term/xterm.el (function-key-map): Add some bindings.
13660 * uniquify.el (uniquify-delay-rationalize-file-buffer-names):
13661 Rename from delay-uniquify-rationalize-file-buffer-names.
13662 Only rationalize if the buffer is under uniquify control.
13663 (uniquify-delayed-rationalize-file-buffer-names):
13664 Rename from delayed-uniquify-rationalize-file-buffer-names.
13666 2002-06-27 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13668 * net/tramp.el (tramp-file-name-structure)
13669 (tramp-multi-file-name-hop-structure): Split for easier readability.
13670 (tramp-handle-make-symbolic-link): Use user/host/method/... from
13671 LINKNAME, not FILENAME.
13672 (tramp-handle-verify-visited-file-modtime):
13673 Call tramp-ange-ftp-file-name-p with right parameters.
13674 (tramp-handle-verify-visited-file-modtime): `insert' does not
13675 work for integers, convert them to strings first.
13676 (tramp-handle-ange-ftp): New function to perform setup for
13677 replacing Ange-FTP with Tramp.
13678 (tramp-repair-jka-compr): New function to factor out some
13679 previously top-level code. Call the function at top-level.
13681 2002-06-27 Juanma Barranquero <lektu@terra.es>
13683 * composite.el (decompose-composite-char): Fix docstring.
13685 * faces.el (describe-face): Capitalize "not documented" message.
13687 * help-fns.el (describe-variable): Likewise.
13688 (describe-function-1): Likewise. Also, document the obsolescence
13689 of the function, if applicable.
13691 2002-06-26 Juanma Barranquero <lektu@terra.es>
13693 * info.el (info-menu-5): Fix documentation.
13694 (Info-fontify-maximum-menu-size): Remove reference to `Info-fontify'.
13696 2002-06-26 Richard M. Stallman <rms@gnu.org>
13698 * emacs-lisp/cl.el (values): Simplify definition.
13700 * simple.el (shell-command): Match & only at end of whole command.
13701 (display-message-or-buffer): Don't use the echo area
13702 if output buffer is visible.
13704 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Doc fixes.
13706 * progmodes/cperl-mode.el: Many trivial doc fixes.
13707 (cperl-non-problems): Definition deleted.
13708 (cperl-menu): Don't refer to cperl-non-problems.
13709 (cperl-word-at-point): Add doc string.
13710 (cperl-beautify-regexp-piece): Fix error message.
13711 (cperl-invert-if-unless): Fix error message.
13713 * dired.el (dired-find-alternate-file): Mark as disabled.
13715 2002-06-25 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13717 * net/tramp.el (tramp-ftp-method): New user option.
13718 (tramp-invoke-ange-ftp): New function to forward calls to Ange-FTP.
13719 (with-parsed-tramp-file-name): New macro for the usual big `let'
13720 statement to dissect a file-name.
13721 (tramp-handle-make-symbolic-link, tramp-handle-load)
13722 (tramp-handle-file-name-directory)
13723 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
13724 (tramp-handle-file-truename, tramp-handle-file-directory-p)
13725 (tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
13726 (tramp-handle-file-writable-p, tramp-handle-file-writable-p):
13727 Use the new macro and forward call to Ange-FTP if applicable.
13728 (tramp-make-ange-ftp-file-name): New helper function to convert a
13729 file name into an Ange-FTP file name, used by `tramp-invoke-ange-ftp'.
13730 (tramp-default-method-alist): New user option.
13731 (tramp-find-default-method): Use it.
13732 (tramp-sh-extra-args): New variable.
13733 (tramp-find-shell): Use it.
13734 (tramp-open-connection-rsh): Support a kludgy feature for the
13735 "-p" option to ssh. If host name is given as "host#42", uses the
13738 2002-06-25 Andreas Schwab <schwab@suse.de>
13740 * replace.el (occur-1): Avoid invalid message format string.
13742 2002-06-24 Stefan Monnier <monnier@cs.yale.edu>
13744 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn):
13745 Check for `noruntime' even if the function has a known sig.
13746 (byte-compile-file, byte-compile-output-docform):
13747 Don't hard code point-min = 1.
13749 * pcvs.el (cvs-parse-process): Don't save/restore point.
13750 Fix last change not to introduce spurious dir FIs.
13751 (cvs-move-to-goal-column): New function extracted from
13752 cvs-mode-previous-line.
13753 (cvs-mode-previous-line, cvs-mode-next-line): Use it.
13754 (cvs-addto-collection): Use it to preserve point.
13755 (cvs-vc-command-advice): Ad-hoc workaround for `cvs -q add'.
13757 * mwheel.el (mouse-wheel-scroll-amount,mwheel-scroll,mouse-wheel-mode):
13758 Don't require the first element to be modifier-free.
13760 * pcvs-parse.el (cvs-parse-table):
13761 Handle `nothing known about' with more care.
13763 * pcvs.el (cvs-fileinfo-kill): Remove.
13764 (cvs-parse-process): Add `old-fis' argument.
13765 (cvs-mode-run): Use it instead of cvs-fileinfo-kill.
13767 * descr-text.el (describe-property-list): Make sure there's
13768 a space between the property name and its value.
13769 (describe-text-properties): Don't kill a pre-existing buffer.
13771 * mwheel.el: Undo last patch from Stephen Gildea for now.
13773 2002-06-24 Kim F. Storm <storm@cua.dk>
13775 * emulation/keypad.el: Added :require 'keypad to defcustoms.
13777 2002-06-23 Stefan Monnier <monnier@cs.yale.edu>
13779 * subr.el (event-start, event-end, event-click-count):
13780 Accept non-mouse events as well.
13781 (read-key): New function.
13782 (read-quoted-char): Use it. Use this-single-command-raw-keys as well.
13784 * files.el: Rename (and mark as obsolete)
13785 find-file-hooks to find-file-hook,
13786 find-file-not-found-hooks to find-file-not-found-functions,
13787 write-file-hooks to write-file-functions,
13788 write-contents-hooks to write-contents-functions.
13789 Mark local-write-file-hooks as obsolete.
13790 (locate-file-completion): Don't cons uselessly. Use test-completion.
13791 (basic-save-buffer): Use (point-min) rather than 1.
13792 (basic-save-buffer-2): Obey the `setmodes' returned by backup-buffer.
13794 * help-fns.el (describe-variable): Only use `buffer' is still live.
13795 Use `delete-region' instead of save-excursion + delete-char.
13796 Document the obsolescence of the variable, if applicable.
13798 2002-06-23 Glenn Morris <gmorris@ast.cam.ac.uk>
13800 * progmodes/f90.el (f90-do-auto-fill): Respect the value of
13801 comment-auto-fill-only-comments.
13803 2002-06-21 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13805 * net/ange-ftp.el (backup-buffer): Delete `ange-ftp' property.
13806 This is not a handled operation.
13808 2002-06-21 Kim F. Storm <storm@cua.dk>
13810 * emulation/cua-base.el (cua--prefix-arg): Make register prefixes
13811 work again. Corrected error in check for C-u initiated prefix.
13813 * emulation/keypad.el (keypad-setup): Handle kp-begin like kp-space.
13815 2002-06-21 Richard M. Stallman <rms@gnu.org>
13817 * net/browse-url.el (browse-url-at-mouse): Don't pass an arg
13818 to browse-url-at-point.
13820 * play/zone.el (zone-idle): Var deleted.
13822 * international/iso-acc.el (iso-languages) <french>:
13823 `~ ' now generates `~', `~,' definition deleted.
13825 * format.el (format-annotate-function): Copy multibyte flag
13826 and selective-display into the new temp buffer.
13828 * edmacro.el (edmacro-fix-menu-commands):
13829 Discard `help-echo' events. Handle (menu-bar) events.
13830 Simplify by converting key sequence to a list and then back to vector.
13832 2002-06-21 Stephen Gildea <gildea@stop.mail-abuse.org>
13834 * mwheel.el: Allow arbitrary keys for scrolling, add a third
13835 scrolling speed, fix an unwind-protect.
13836 (mouse-wheel-scroll-amount): Now a three-element list.
13837 (mouse-wheel-scroll-down-slow, mouse-wheel-scroll-up-slow)
13838 (mouse-wheel-scroll-down-normal, mouse-wheel-scroll-up-normal)
13839 (mouse-wheel-scroll-down-fast, mouse-wheel-scroll-up-fast):
13842 2002-06-21 Andreas Schwab <schwab@suse.de>
13844 * files.el (find-file-read-args): Add new argument `mustmatch' and
13845 pass it down to read-file-name.
13846 (find-file, find-file-other-window, find-file-other-frame)
13847 (find-file-read-only, find-file-read-only-other-window)
13848 (find-file-read-only-other-frame): Use it and fix prompts.
13850 2002-06-21 Stefan Monnier <monnier@cs.yale.edu>
13852 * pcvs-defs.el (cvs-version): Use cvs-program rather than "cvs".
13854 2002-06-20 Emmanuel Briot <briot@act-europe.fr>
13856 * progmodes/ada-mode.el: Update copyright notice.
13857 Synchronize with GNAT release 3.15a1.
13858 Do not attempt to load ada-support, which is only for compatibility
13859 with older Emacs versions, and is not needed for Emacs 21.
13860 Fix various calls to count-lines, that didn't work correctly when the
13861 buffer was narrowed.
13862 (ada-continuation-indent): New variable.
13863 (ada-contextual-menu): New entry "List local references", faster than
13865 (ada-mode): New alignment rules provided by S. Leake.
13866 Add support for which-function-mode.
13867 (ada-get-current-indent): Fix indentation of named parameter lists and
13868 nested boolean expressions.
13869 (ada-indent-on-previous-lines): Fix indentation of labels.
13870 (ada-search-prev-end-stmt): Fix searching of the previous
13871 end-statement, specially with regards to nested subprograms.
13872 (comment-region advice): Initially disabled, for better compatibility
13874 (ada-fill-comment-paragraph): Fixed (no longer worked with Emacs 21).
13876 * progmodes/ada-xref.el: Update copyright notice.
13877 (ada-xref-create-ali): The default is now not to create automatically
13878 the ALI files by compiling the unit, since this isn't always reliable
13879 and requires an up-to-date project file.
13880 (ada-prj-default-comp-cmd): No longer use gcc directly to compile
13881 a file, but use gnatmake instead, since this gives access to the GNAT
13883 (ada-xref-search-with-egrep): New variable, suggested by P. Waroquiers.
13884 (ada-load-project-hook): New variable, for support of GNAT
13886 (ada-update-project-menu): Fix the detection of the project file name.
13887 (ada-add-keymap): Change key binding for ada-find-file, that conflicted
13888 with another binding in ada-mode.el.
13889 (ada-add-menu): New menu "List Local References", to list the reference
13890 to the entity only in the current file, instead of looking in the whole
13891 project. Much faster.
13892 (ada-find-references): New parameters arg and local-only.
13893 (ada-find-any-references): New parameters local-only and append.
13894 (ada-goto-declaration): Fix handling of predefined entities in xref.
13895 (ada-get-all-references): Updated to the new xref format in GNAT 3.15,
13896 still compatible with GNAT 3.14 of course. Fix various calls to
13897 count-lines, that didn't work correctly when the buffer was narrowed.
13899 * progmodes/ada-prj.el: Update copyright.
13900 (ada-prj-load-directory): Make sure we do not use one of the new Emacs
13901 21 dialogs to select the file, since we want a directory name only.
13902 (ada-customize): Add support for the new GNAT project files.
13904 2002-06-20 Francesco Potortì <pot@gnu.org>
13906 * progmodes/etags.el (tag-implicit-name-match-p): New function.
13907 (etags-recognize-tags-table): Use it for implicit tag names.
13909 2002-06-20 Miles Bader <miles@gnu.org>
13911 * comint.el (comint-get-old-input-default): Strip text properties
13914 * comint.el (comint-output-filter): Run output-filter functions
13915 before setting up the prompt.
13917 * international/characters.el: Re-enable code giving word syntax
13918 to certain japanese-jisx0208 characters.
13920 2002-06-19 Glenn Morris <gmorris@ast.cam.ac.uk>
13922 * progmodes/f90.el (f90-type-def-re): Fix value.
13923 (f90-looking-at-type-like): Adapt for new `f90-type-def-re' value.
13925 2002-06-18 Stefan Monnier <monnier@cs.yale.edu>
13927 * international/quail.el (quail-help): Don't assume the buffer
13928 is displayed in the same frame.
13930 * emacs-lisp/debug.el (cancel-debug-on-entry):
13931 * emacs-lisp/regexp-opt.el (regexp-opt-group): Don't cons uselessly.
13933 * pcvs.el (cvs-vc-command-advice): Handle the case where args
13934 are passed to `cvs' before the command name.
13935 (cvs-fileinfo-kill): Mark old FIs as up-to-date rather than dead.
13937 * pcvs-info.el (cvs-add-face): Minor rewrite.
13938 (cvs-fileinfo-pp): Use `cvs-goal-column' with directory entries.
13940 * newcomment.el (comment-normalize-vars): Refresh the comment-foo-skip
13941 regexp when they don't match comment-foo any more.
13943 2002-06-18 Juanma Barranquero <lektu@terra.es>
13945 * filesets.el (filesets-update-pre010505): Fix typo.
13947 * eshell/em-pred.el (eshell-modifier-help-string): Fix typos.
13949 * emulation/edt.el (edt-substitute): Fix typo.
13951 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Fix typo.
13953 * comint.el (comint-next-prompt, comint-previous-prompt): Fix typos.
13955 * progmodes/sh-script.el (sh-electric-rparen-needed): Remove.
13957 2002-06-17 Richard M. Stallman <rms@gnu.org>
13959 * facemenu.el (facemenu-map): Rename to Describe Text
13960 to Describe Properties and use describe-text-properties.
13962 * simple.el (what-cursor-position): Use describe-char.
13964 * descr-text.el (describe-char): Moved from mule-diag.el, renamed
13965 from describe-char-after. Now calls describe-text-properties.
13966 (describe-property-list): Renamed from describe-text-properties.
13967 (describe-text-properties): Renamed from describe-text-at.
13968 New arg OUTPUT-BUFFER.
13969 (describe-text-properties-1):
13970 New subroutine, broken out from describe-text-properties.
13971 Output a newline before each section of the output.
13973 * international/mule-diag.el (describe-char-after):
13974 Moved to descr-text.el.
13976 2002-06-17 Eli Zaretskii <eliz@is.elta.co.il>
13978 * international/mule.el (ctext-pre-write-conversion): Fix the values
13979 of FROM and TO if we create a new buffer.
13981 2002-06-17 John Paul Wallington <jpw@shootybangbang.com>
13983 * comint.el (comint-insert-clicked-input): Insert clicked-on
13984 previous input without properties.
13986 2002-06-16 Andrew Choi <akochoi@shaw.ca>
13988 * term/mac-win.el (scalable-fonts-allowed): Set to t.
13990 2002-06-15 Colin Walters <walters@debian.org>
13992 * pcvs-info.el (global-font-lock-mode, font-lock-auto-fontify):
13994 (cvs-highlight): Delete.
13995 (cvs-add-face): Use `font-lock-face'. Always add properties.
13997 * ibuffer.el (ibuffer-movement-cycle): New variable.
13998 (ibuffer-backward-line, ibuffer-forward-line): Use it.
14000 2002-06-15 Richard M. Stallman <rms@gnu.org>
14002 * emacs-lisp/bytecomp.el (byte-recompile-directory): Doc fix.
14003 (batch-byte-recompile-directory): Undo previous change.
14005 * comint.el (comint-skip-input): New function.
14006 (comint-interrupt-subjob, comint-kill-subjob, comint-quit-subjob)
14007 (comint-stop-subjob): Use comint-skip-input.
14009 * ielm.el (ielm-eval-input): Use error-message-string.
14010 (ielm-format-error, ielm-format-errors): Functions deleted.
14012 2002-06-14 Kim F. Storm <storm@cua.dk>
14014 * progmodes/compile.el (grep-tree): Doc fixes.
14015 Added SUBDIRS arg for non-interactive use.
14017 2002-06-14 Juanma Barranquero <lektu@terra.es>
14019 * comint.el (comint-snapshot-last-prompt):
14020 Bind `inhibit-read-only' to t to support read-only prompts.
14021 (comint-output-filter): Likewise.
14023 2002-06-14 Miles Bader <miles@gnu.org>
14025 * subr.el (copy-tree): Use `nconc' and `nreverse' instead of `nreconc'.
14026 (pop): Move the call to `car' outside the prog1, as the compiler
14027 then generates better code.
14029 2002-06-13 Richard M. Stallman <rms@gnu.org>
14031 * play/zone.el (zone-timer): New variable holds the idle timer.
14032 (zone): Don't fiddle with the idle timer at all.
14033 (zone-when-idle): Put the idle timer in zone-timer.
14034 If one is already set up, cancel it and make a new one.
14035 (zone-leave-me-alone): Likewise.
14037 2002-06-13 Jason Rumney <jasonr@gnu.org>
14039 * w32-fns.el (w32-charset-info-alist): Reorder.
14041 2002-06-13 Andreas Schwab <schwab@suse.de>
14043 * files.el (auto-mode-alist): Move entry for ".in" to the end.
14045 2002-06-13 Miles Bader <miles@gnu.org>
14047 * comint.el (comint-mode): Don't set `font-lock-defaults'.
14048 (comint-mode-hook): Turn on font-lock by default.
14050 2002-06-12 Karl Fogel <kfogel@red-bean.com>
14052 * bookmark.el (bookmark-file-or-variation-thereof):
14053 Restore vc-backend check, thanks to Robert Thorpe for noticing.
14055 2002-06-12 Eli Zaretskii <eliz@is.elta.co.il>
14057 * textmodes/bibtex.el: Change the maintainer to "none".
14059 2002-06-12 Juanma Barranquero <lektu@terra>
14061 * term/w32-win.el (x-handle-switch): Fix handling of
14062 x-invocation-args for switches with arguments.
14064 2002-06-12 Stefan Monnier <monnier@cs.yale.edu>
14066 * menu-bar.el (menu-bar-showhide-fringe-menu): Don't use `fringe-mode'
14067 without first making sure it's bound.
14069 2002-06-12 Richard M. Stallman <rms@gnu.org>
14071 * info.el (Info-fontify-node): Compute header line specially
14072 if node has no next, previous or up links.
14073 Hide the part of the first line that is used in the header.
14074 Use Info-next-link-keymap, etc.
14075 (Info-next-link-keymap, Info-prev-link-keymap)
14076 (Info-up-link-keymap): New variables.
14078 * international/mule-diag.el (describe-char-after): Doc fix.
14080 * view.el (view-mode-enter): Clarify echo area message.
14082 * info.el (Info-select-node): Turn header line on or off here.
14083 (Info-setup-header-line): Function deleted.
14084 (Info-mode): Make Info-header-line local.
14085 (Info-fontify-node): Ignore Info-use-header-line.
14086 Unconditionally compute what the header line should be, and
14087 store it on the `header-line' property of the node's first char.
14088 Bind [header-line down-mouse-1].
14089 Use `keymap' property, not `local-map'.
14090 Bind [mouse-2] for mouse clicks on the node line in the text.
14092 * font-lock.el (font-lock-beginning-of-syntax-function): Doc fix.
14094 2002-06-12 Miles Bader <miles@gnu.org>
14096 * comint.el (comint-send-input): Properly handle empty and
14097 no-newline input regions.
14099 2002-06-12 Colin Walters <walters@gnu.org>
14101 * calc/calc.el: Use `when', `unless'.
14102 (calc-trail-mode): Use an italic `font-lock-face'.
14103 (calc-refresh): Ditto.
14105 2002-06-12 Colin Walters <walters@debian.org>
14107 * font-core.el (font-lock-core-only): Variable deleted.
14109 (font-lock-set-defaults): Variable alist settings moved back into
14110 font-lock-set-defaults-1.
14111 (turn-on-font-lock-if-enabled): Always turn on font-lock unless it
14112 is specifically excluded by the user.
14114 * font-lock.el (font-lock-set-defaults-1): Set variable alist here.
14116 * help-mode.el (help-mode): Don't set `font-lock-defaults'.
14118 * ibuffer.el (ibuffer-mode): Don't set `font-lock-defaults'.
14120 * info.el (Info-mode): Don't set `font-lock-defaults'.
14122 * replace.el (occur-mode): Don't set `font-lock-defaults'.
14124 * help-mode.el (help-highlight-p, help-highlight-face):
14125 Variable was unused; delete.
14126 (help-make-xrefs): Doc fix.
14128 2002-06-11 Richard M. Stallman <rms@gnu.org>
14130 * format.el (format-alist): Document new element PRESERVE.
14131 (format-write-file): Implement PRESERVE elt for a format.
14133 * files.el (make-auto-save-file-name): Rename local `filename' to
14136 2002-06-10 Richard M. Stallman <rms@gnu.org>
14138 * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Use copy-sequence.
14139 (ebrowse-copy-list): Function deleted.
14141 * eshell/em-unix.el (eshell/diff): Use copy-sequence.
14143 * eshell/esh-mode.el (eshell-mode, eshell-mode): Use copy-sequence.
14145 * eshell/esh-util.el (eshell-copy-list): Function deleted.
14146 (eshell-sublist): Use copy-sequence.
14147 (eshell-copy-tree): Make it an alias for copy-tree.
14149 * emacs-lisp/cl.el (copy-list): Moved back from subr.el.
14151 * subr.el (copy-list): Moved to cl.el.
14152 (copy-tree): Don't use copy-list or cl-pop.
14154 2002-06-10 Miles Bader <miles@gnu.org>
14156 Make comint use text properties for highlighting instead of overlays:
14157 * comint.el (comint-last-output-overlay): Variable removed.
14158 (comint-send-input, comint-output-filter): Use text properties
14159 instead of overlays.
14160 (comint-insert-clicked-input): Rewrite to work with text
14161 properties as well as overlays.
14162 (comint-snapshot-last-prompt): Snapshot using text properties.
14163 (comint-get-old-input-default, comint-extract-string): Don't copy
14166 * simple.el (line-move-finish): Inhibit field motion when
14167 computing `line-end'.
14169 * files.el (revert-buffer): Correct typo: variable name is
14170 `buffer-file-format', not `buffer-file-formats'.
14172 * comint.el (comint-send-input, comint-output-filter): Use the
14173 `font-lock-face' property instead of `face'. Don't check the
14174 highlight-enabling variables anymore.
14175 (comint-highlight-input, comint-highlight-prompt): Variables removed.
14177 * faces.el (display-supports-face-attributes-p): New function.
14178 (face-spec-set-match-display): Support `supports' predicate.
14179 (italic): Try underlining for displays that don't support real italics.
14180 * cus-edit.el (custom-display): Add support for `supports' predicate.
14181 * term/tty-colors.el (color-name-rgb-alist): Use 16-bit RGB values
14182 instead of 8-bit, for consistency with the rest of Emacs.
14183 (tty-color-canonicalize): Only copy COLOR if we need to change it.
14184 (tty-color-approximate): Scale values from `color-name-rgb-alist'
14185 appropriately. Return the whole color description, rather than
14186 just the RGB values.
14187 (tty-color-standard-values): New function. Code mostly taken from
14188 `tty-color-translate'.
14189 (tty-color-translate, tty-color-values): Use `tty-color-desc' to
14191 (tty-color-desc): Do color lookup here instead of calling
14192 `tty-color-translate' and `tty-color-by-index'; this is now the
14193 main place to do it.
14195 2002-06-09 Martin Stjernholm <bug-cc-mode@gnu.org>
14197 * progmodes/cc-styles.el (c-set-style, c-set-style-1):
14198 Add another state for the `dont-override' flag where it only keeps
14199 globally set variables.
14201 2002-06-08 Colin Walters <walters@gnu.org>
14203 * descr-text.el (describe-text-properties): Sort the output by the
14204 size of the values. Put `font-lock-face' property on property names.
14205 (toplevel): Provide `descr-text'.
14207 * international/mule-diag.el (describe-char-after): When there are
14208 text properties, require `descr-text', and just call
14209 `describe-text-properties'.
14211 * international/mule.el (sgml-html-meta-auto-coding-function):
14213 (auto-coding-from-file-contents): Delete; merge functionality into
14215 (set-auto-coding): Move tests from `auto-coding-functions' so that
14216 they have a lower priority than coding: tags.
14217 Put `auto-coding-regexp-alist' tests before coding: tag tests.
14218 (sgml-xml-auto-coding-function): Simply `intern' the match, and
14219 test if it's a valid coding system.
14220 (auto-coding-functions): Add `sgml-html-meta-auto-coding-function'.
14222 2002-06-08 Colin Walters <walters@verbum.org>
14224 * subr.el (copy-list): Moved here from cl.el.
14225 (copy-tree): Renamed here from `cl-copy-tree' in cl-extra.el.
14227 * emacs-lisp/cl-extra.el (cl-copy-tree): Moved to `copy-tree' in
14228 subr.el. Add a defalias with the old name.
14230 * emacs-lisp/cl.el (copy-list): Moved to subr.el.
14232 * replace.el (occur-mode): Don't set up categories. Do set
14233 `font-lock-defaults', and be sure to set `font-lock-core-only'.
14234 (occur-1): Pass `list-matching-lines-face' and
14235 `list-matching-lines-buffer-name-face'.
14236 (occur-engine): Use `font-lock-face' instead of categories.
14238 * info.el (Info-mode): Don't set up categories. Do set
14239 `font-lock-defaults', and be sure to set `font-lock-core-only'.
14240 (Info-fontify-menu-headers): Use `font-lock-face' instead of
14242 (Info-fontify-node): Ditto.
14244 * ibuffer.el (ibuffer-category-alist): Delete.
14245 (ibuffer-get-category): Delete.
14246 (ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
14248 (ibuffer-compile-format): Don't treat `name' category specially.
14249 (ibuffer-column name): Use `font-lock-face'.
14250 (filename-and-process): Ditto.
14251 (ibuffer-buffer-name-category): Renamed to
14252 `ibuffer-buffer-name-face'. Don't use categories.
14253 (ibuffer-update-title-and-summary): Use `font-lock-face'.
14254 (ibuffer-insert-filter-group): Ditto.
14255 (ibuffer-mode): Don't set up categories. Do set
14256 `font-lock-defaults', and be sure to set `font-lock-core-only'.
14257 (ibuffer-compile-format): Don't pass third argument
14258 to column functions.
14259 (filename-and-process): Ditto.
14261 * ibuf-macs.el (define-ibuffer-column): Don't create a third
14262 argument for the generated function.
14264 * font-core.el (font-lock-category-alist): Delete.
14265 (turn-on-font-lock-if-enabled): Don't use it.
14266 (font-lock-symbol-category-alist): Delete.
14267 (font-lock-default-function): Use new `char-property-alias-alist'
14268 to make `font-lock-face' an alias for `face' when font-lock mode
14270 (font-lock-core-only): New variable.
14271 (font-lock-set-defaults): Use it.
14273 2002-06-08 Richard M. Stallman <rms@gnu.org>
14275 * files.el (find-file-noselect-1): Undo previous change.
14277 * bookmark.el (bookmark-file-or-variation-thereof): Doc fix.
14279 2002-06-07 Karl Fogel <kfogel@red-bean.com>
14281 * bookmark.el (bookmark-file-or-variation-thereof): Just use
14282 Info-suffix-list, as suggested by Stefan Monnier.
14284 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il>
14286 * select.el (xselect-convert-to-string): If VALUE is a string,
14287 return a cons of TYPE and the string.
14289 2002-06-05 Pavel JanÃk <Pavel@Janik.cz>
14291 * language/cyrillic.el (cyrillic-alternativnyj-decode-table):
14292 Fix the table to contain correct characters.
14294 2002-06-04 Richard M. Stallman <rms@gnu.org>
14296 * simple.el: Don't require cl.
14298 2002-06-03 Richard M. Stallman <rms@gnu.org>
14300 * dired.el (dired-do-shell-command): Doc fix in autoload.
14302 * info.el (Info-extract-pointer): Ignore Info-header-line.
14304 * progmodes/cc-mode.el (c-postprocess-file-styles):
14305 Do nothing except in CC modes.
14307 * international/mule-cmds.el (select-safe-coding-system):
14308 When computing auto-cs, narrow to FROM...TO.
14309 Put save-excursion outside save-restriction.
14310 New arg FILE; use that for set-auto-coding.
14312 2002-06-01 Richard M. Stallman <rms@gnu.org>
14314 * simple.el (choose-completion-string-functions): Doc fix.
14315 (choose-completion-string): Add doc string.
14317 2002-06-01 Kim F. Storm <storm@cua.dk>
14319 * simple.el: Reworked previous change.
14320 (choose-completion-string1): Merge back into choose-completion-string.
14321 (choose-completion-string): Run choose-completion-string-functions
14322 after checking for proper minibuffer window. Added mini-p arg to
14323 the hook functions. Insert choice if all hook functions return nil.
14324 (choose-completion-string-functions): Doc update.
14326 2002-06-01 Sam Steingold <sds@gnu.org>
14328 * files.el (auto-mode-alist): Strip trailing ".in" from the file
14329 name when deciding the mode (for config.h.in, Makefile.in etc).
14331 2002-06-01 Thien-Thi Nguyen <ttn@gnu.org>
14333 * progmodes/prolog.el (prolog-mode-syntax-table): Add flags to
14334 ?/ and ?* entries to support /* */ style comments.
14335 (prolog-font-lock-keywords): New var.
14336 (prolog-mode): Enable font-locking; set `font-lock-defaults'.
14338 2002-06-01 Kim F. Storm <storm@cua.dk>
14340 * simple.el (choose-completion-string-functions): New special hook.
14341 (choose-completion-string1): Rename from choose-completion-string.
14342 (choose-completion-string): Run choose-completion-string-functions
14343 until success, and only call choose-completion-string1 if it fails.
14345 2002-05-31 Stefan Monnier <monnier@cs.yale.edu>
14347 * textmodes/ispell.el (autoloaded toplevel): Don't use
14348 ispell-library-directory without checking that it's bound.
14350 2002-05-31 Kim F. Storm <storm@cua.dk>
14352 * emulation/cua-base.el (cua--last-deleted-region-pos)
14353 (cua--last-deleted-region-text): New aux variables.
14354 (cua-delete-region): Set them.
14355 (cua-repeat-replace-region): Use them to find the replacement text.
14357 2002-05-31 Juanma Barranquero <lektu@terra.es>
14359 * emulation/viper-cmd.el (viper-smart-suffix-list, viper-ask-level):
14362 2002-05-31 Kim F. Storm <storm@cua.dk>
14364 * progmodes/compile.el (grep-tree-command, grep-tree-files-aliases)
14365 (grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
14366 New custom variables.
14367 (grep-compute-defaults): Compute grep-tree-command's default value.
14368 (grep-expand-command-macros): New aux function.
14369 (grep-tree-last-regexp, grep-tree-last-files): New aux variables.
14370 (grep-tree): New command like grep-find but extended prompting.
14372 2002-05-30 Richard M. Stallman <rms@gnu.org>
14374 * files.el (find-file-default): Add defvar for var already used.
14376 * menu-bar.el (menu-bar-showhide-fringe-menu): Use defvar.
14378 * subr.el (open-network-stream, open-network-stream-nowait)
14379 (open-network-stream-server, process-kill-without-query):
14380 Moved from simple.el.
14382 * simple.el (open-network-stream, open-network-stream-nowait)
14383 (open-network-stream-server, process-kill-without-query):
14386 * simple.el (byte-compiling-files-p): Function deleted.
14388 * textmodes/ispell.el (ispell-library-directory): Renamed from
14389 ispell-library-path. If Ispell is not installed, init to nil.
14390 (check-ispell-version): Doc fix.
14391 (ispell-menu-map): Get rid of byte-compiling-files-p hackery;
14392 initialize this unconditionally when ispell-menu-map-needed is t.
14393 Local `path' renamed to `dir'.
14395 2002-05-30 Miles Bader <miles@gnu.org>
14397 * calc/calc.el (calc-show-banner): New variable.
14398 (calc-refresh): Only show banner if `calc-show-banner' is non-nil.
14399 (calc-mode-var-list): Add `calc-show-banner'.
14400 * calc/calc-ext.el (calc-init-extensions): Add binding for `d@'.
14401 (calc-toggle-banner): New function.
14402 * calc/calc-help.el (calc-d-prefix-help): Add `@'.
14404 2002-05-29 Richard M. Stallman <rms@gnu.org>
14406 * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
14407 When recognizing a def... construct, make that indentation
14408 tentative, so that it can be overridden if the list in question
14409 is not actually an expression.
14410 (common-lisp-indent-call-method): New subroutine.
14412 * emacs-lisp/bytecomp.el (batch-byte-compile-file):
14413 Delete the output file if we get a file-error.
14415 * tooltip.el (tooltip-mouse-motions-active): New variable.
14416 (tooltip-activate-mouse-motions): Don't kill track-mouse local
14417 if it was not made by us.
14419 * mouse.el (mouse-set-font): Avoid misleading error message
14420 if user makes no selection.
14422 * info.el (Info-setup-header-line): Don't hide the links line.
14424 * files.el (find-file-noselect-1): Return the buffer we created
14425 even if it has been killed within `after-find-file'.
14427 * files.el (auto-mode-alist): Use ada-mode for .ad[bs].dg files.
14429 2002-05-29 Kim F. Storm <storm@cua.dk>
14431 * simple.el (open-network-stream-server): Pass on optional args
14432 sentinel and filter to make-network-process (from Luke Gorrie).
14434 2002-05-28 Colin Walters <walters@gnu.org>
14436 * textmodes/sgml-mode.el (xml-mode): New alias for `sgml-mode'.
14438 * emacs-lisp/bytecomp.el (byte-compile-last-line): Deleted.
14439 (byte-compile-delete-first): New function.
14440 (byte-compile-read-position): New variable.
14441 (byte-compile-last-position): New variable.
14442 (byte-compile-current-buffer): New variable.
14443 (byte-compile-log-1): Use it.
14444 (byte-compile-set-symbol-position): New function.
14445 (byte-compile-obsolete, byte-compile-callargs-warn)
14446 (byte-compile-arglist-warn, byte-compile-arglist-warn)
14447 (byte-compile-print-syms, byte-compile-file-form-defmumble)
14448 (byte-compile-check-lambda-list, byte-compile-lambda)
14449 (byte-compile-form, byte-compile-variable-ref)
14450 (byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
14451 (byte-compile-condition-case, byte-compile-defun)
14452 (byte-compile-defvar, byte-compile-autoload)
14453 (byte-compile-lambda-form): Use it.
14454 (byte-compile-from-buffer): Set it, and bind
14455 `read-with-symbol-positions' and `read-symbol-positions-list'.
14457 * emacs-lisp/bytecomp.el (byte-compile-debug): New variable.
14459 2002-05-28 Kim F. Storm <storm@cua.dk>
14461 * files.el (read-directory-name): New function.
14462 (cd): Use it instead of read-file-name.
14464 2002-05-27 Kim F. Storm <storm@cua.dk>
14466 * simple.el (push-mark-command): Added optional NOMSG arg.
14468 * emulation/cua-base.el (cua-set-mark): Align pop to mark
14469 behavior with standard set-mark-command.
14470 (cua--pre-command-handler): Use push-mark-command.
14471 (cua-repeat-replace-region): Improve functionality when
14472 repeated after moving point or changing buffer.
14474 2002-05-26 Colin Walters <walters@verbum.org>
14476 * startup.el (command-line): Use `when', `unless'.
14477 (command-line-1): New argument "--nosplash". Handle it.
14479 * startup.el (inhibit-splash-screen): New variable alias for
14480 `inhibit-startup-message'.
14482 * replace.el (perform-replace): Document return value. Use `pop'.
14484 2002-05-26 Glenn Morris <gmorris@ast.cam.ac.uk>
14486 * progmodes/f90.el (f90-previous-block, f90-next-block): New names,
14487 and slightly changed behavior, for `f90-previous-block-start' and
14488 `f90-next-block-end'.
14489 (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
14491 2002-05-26 Simon Josefsson <jas@extundo.com>
14493 * fringe.el (set-fringe-mode): Work when updating
14494 `default-frame-alist'.
14496 2002-05-26 Kim F. Storm <storm@cua.dk>
14498 * emulation/cua-base.el (cua--repeat-replace-text): New variable.
14499 (cua-repeat-replace-region): New command.
14500 (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
14501 Misc improvements to the commentary.
14503 2002-05-26 Simon Josefsson <jas@extundo.com>
14505 * fringe.el (fringe-query-style): New fringe style "minimal".
14507 2002-05-24 Simon Josefsson <jas@extundo.com>
14509 * rot13.el (rot13-translate-table): New variable.
14510 (rot13, rot13-string, rot13-region): New functions.
14512 2002-05-25 Martin Stjernholm <bug-cc-mode@gnu.org>
14514 * progmodes/cc-engine.el (c-add-stmt-syntax): Fix some cases
14515 of wrong anchoring, e.g. for else-if compounds.
14517 2002-05-25 Miles Bader <miles@gnu.org>
14519 * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
14520 (menu-bar-showhide-fringe-menu-customize-right)
14521 (menu-bar-showhide-fringe-menu-customize-disable):
14522 Use proper calling convention for `customize-set-value'.
14523 Require `fringe' before setting variable.
14525 2002-05-25 Kim F. Storm <storm@cua.dk>
14527 * emulation/cua-base.el (cua--self-insert-char-p): New function.
14529 * emulation/cua-gmrk.el (cua--init-global-mark): Install default
14530 binding in cua--global-mark-keymap using cua--self-insert-char-p
14531 to handle all global self inserting characters in gmark mode.
14533 * emulation/cua-rect.el (cua--init-rectangles): Install default
14534 binding in cua--rectangle-keymap using cua--self-insert-char-p
14535 to handle all global self inserting characters in rectangle mode.
14537 2002-05-24 Stefan Monnier <monnier@cs.yale.edu>
14539 * net/ange-ftp.el (read-file-name-internal): Remove the
14540 `ange-ftp' property.
14541 (ange-ftp-real-read-file-name-internal): Remove.
14543 2002-05-24 Glenn Morris <gmorris@ast.cam.ac.uk>
14545 * progmodes/f90.el (f90-end-of-subprogram): Remove the final
14547 (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
14548 (f90-previous-block-start): New navigation commands.
14550 2002-05-20 Simon Josefsson <jas@extundo.com>
14552 * fringe.el: New file.
14554 * menu-bar.el (menu-bar-options-save): Add fringe-mode.
14555 (menu-bar-showhide-fringe-menu): New menu.
14556 (menu-bar-showhide-menu): Add Fringe sub-menu.
14558 2002-05-23 Colin Walters <walters@verbum.org>
14560 * replace.el (occur-engine): Include all text properties except
14561 mouse-face on the newline at the end of occurrences.
14563 2002-05-23 Kim F. Storm <storm@cua.dk>
14565 * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
14566 (apropos-false-hit-str, apropos-true-hit-doc): New functions.
14567 (apropos-command, apropos-value, apropos-documentation-internal)
14568 (apropos-documentation-check-doc-file)
14569 (apropos-documentation-check-elc-file): Use them to filter out
14570 false matches where only one keyword matches, but more than once.
14572 * apropos.el (apropos-show-scores, apropos-orig-regexp)
14573 (apropos-all-regexp, apropos-synonyms, apropos-words)
14574 (apropos-all-words): New variables.
14575 (apropos-words-to-regexp, apropos-rewrite-regexp)
14576 (apropos-calc-scores, apropos-score-str, apropos-score-doc)
14577 (apropos-score-symbol): New functions.
14578 (apropos-command, apropos, apropos-value, apropos-documentation):
14579 Allow keywords in addition to regexp. Added scoring.
14580 (apropos-documentation-check-doc-file)
14581 (apropos-documentation-check-elc-file): Added scoring.
14582 (apropos-print): Sort according to score.
14584 2002-05-22 Colin Walters <walters@cis.ohio-state.edu>
14586 * info.el (Info-mode-hook): Change `font-lock-mode' to
14587 `turn-on-font-lock'.
14589 * font-core.el (font-lock-function): New variable.
14590 (font-lock-default-function): New function, created from
14592 (font-lock-mode): Just funcall `font-lock-function'.
14593 (font-lock-symbol-category-alist): New variable.
14595 2002-05-22 Markus Rost <rost@math.ohio-state.edu>
14597 * files.el (file-newest-backup): Use file-name-sans-versions.
14599 * diff.el (diff-latest-backup-file): Replace the main code by
14600 a call of file-newest-backup.
14602 2002-05-22 Mike Williams <mdub@bigfoot.com>
14604 * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
14607 2002-05-21 Stefan Monnier <monnier@cs.yale.edu>
14609 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
14610 the last patch works around the wu-ftpd misfeature that prompted
14611 the disabling of this optimization.
14613 2002-05-21 Colin Walters <walters@gnu.org>
14615 * international/mule.el (make-coding-system): Doc fixes.
14617 * international/mule.el (auto-coding-functions): New variable.
14618 (auto-coding-from-file-contents): Use it.
14619 (set-auto-coding): Update docs.
14620 (sgml-xml-auto-coding-function): New function.
14622 * international/mule-util.el (truncate-string-to-width):
14623 New optional argument `ellipsis'. Add commented-out test suite, and
14624 change coding to iso-2022-7bit.
14626 2002-05-21 Colin Walters <walters@verbum.org>
14628 * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
14629 (font-lock-multiline, font-lock-fontified, font-lock-mode)
14630 (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
14631 (font-lock-global-modes): Move to font-core.el.
14632 (font-lock-set-defaults-1): Partially moved to font-core.el.
14634 * font-core.el: New file, with functions taken from font-lock.el.
14635 (font-lock-category-alist): New variable.
14636 (font-lock-mode): Use it.
14637 (font-lock-set-defaults): Partially taken from font-lock.el.
14638 Only load font-lock.el when necessary.
14640 * loadup.el: Add font-core.el.
14642 * replace.el (occur-mode-hook): New variable.
14643 (occur-fontify-region-function): Delete.
14644 (occur-mode): Don't use it. Set up `font-lock-category-alist'
14646 (occur-fontify-on-property): Delete.
14647 (occur-engine): Use categories from `font-lock-category-alist'.
14649 * info.el (Info-fontify): Delete.
14650 (Info-select-node): Don't use it.
14651 (Info-mode-hook): New variable.
14652 (Info-mode): Set up categories.
14653 (Info-fontify-menu-headers, Info-fontify-node): Use categories.
14655 * ibuffer.el (ibuffer-formats): Update docs.
14656 (ibuffer-category-alist): New variable.
14657 (ibuffer-get-category): New function.
14658 (ibuffer-compile-make-eliding-form): Use category property instead
14660 (ibuffer-compile-format): Pass current ibuffer buffer to column
14662 (ibuffer-buffer-name-category): New function.
14663 (ibuffer-compile-format): If the current column is a `name'
14664 column, figure out the appropriate category to put on it.
14665 (filename-and-process): Use category property.
14666 (ibuffer-fontify-region-function): Deleted.
14667 (ibuffer-unfontify-region-function): Deleted.
14668 (ibuffer-update-title-and-summary): Use category properties.
14669 (ibuffer-insert-filter-group): Ditto.
14670 (ibuffer-mode): Set up category properties.
14672 2002-05-21 Colin Walters <walters@debian.org>
14674 * replace.el (occur-engine): Increment globalcount all at once
14675 after searching a buffer.
14676 (occur-mode-map): Don't escape plain "o".
14678 * ibuf-macs.el (define-ibuffer-column): Add third argument
14681 * ibuffer.el (toplevel): Require font-lock, to get the face
14683 (ibuffer-use-fontification): Deleted.
14684 (column filename-and-process): New column.
14685 (ibuffer-formats): Use it by default.
14686 (ibuffer-name-map, ibuffer-mode-name-map)
14687 (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
14688 (ibuffer-do-save, ibuffer-do-toggle-modified)
14689 (ibuffer-do-toggle-read-only, ibuffer-do-delete)
14690 (ibuffer-do-kill-on-deletion-marks): Include name in definition.
14691 (ibuffer): New optional argument `formats'.
14693 2002-05-21 Eli Zaretskii <eliz@is.elta.co.il>
14695 * indent.el (indent-rigidly): Mention how to remove all indentation.
14697 2002-05-21 Colin Walters <walters@gnu.org>
14699 * international/mule-diag.el (describe-char-after): Order display
14700 of text properties by the size of their value, for clarity.
14702 2002-05-20 Stefan Monnier <monnier@cs.yale.edu>
14704 * net/ange-ftp.el (ange-ftp-generate-root-prefixes)
14705 (ange-ftp-file-name-completion): Don't cons unnecessarily.
14706 (ange-ftp-send-cmd): Always `cd' before doing `ls'.
14708 * wid-edit.el (widget-color-complete):
14709 * progmodes/etags.el (tags-complete-tags-table-file):
14710 * progmodes/cpp.el (cpp-choose-symbol): Don't cons unnecessarily.
14712 * textmodes/outline.el (outline-reveal-toggle-invisible):
14713 Reverse the meaning of the second arg.
14715 * reveal.el (reveal-post-command): Reverse the semantics of
14716 reveal-toggle-invisible and support isearch-open-invisible-temporary.
14718 2002-05-20 Markus Rost <rost@math.ohio-state.edu>
14720 * mail/sendmail.el (mail-recover-1): Remove (debug).
14721 (mail-signature): Fix :type.
14722 (mail-default-directory): New user option.
14723 (mail, mail-recover): Use that option.
14725 2002-05-20 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14727 * international/mule.el (auto-coding-alist): Use emacs-mule
14728 for auto-save files.
14730 2002-05-20 Miles Bader <miles@gnu.org>
14732 * files.el (find-file-read-args): Don't trash existing value of
14733 `minibuffer-setup-hook', just add our hook to it.
14735 2002-05-19 Markus Rost <rost@math.ohio-state.edu>
14737 * international/ucs-tables.el (unify-8859-on-encoding-mode)
14738 (unify-8859-on-decoding-mode): Change :version attributes to strings.
14740 * simple.el (yank-excluded-properties): Change :version attribute
14743 * dired.el (dired-view-command-alist): Change :version attribute
14746 * xscheme.el (xscheme-start-hook): Change :version attribute to a
14749 * find-dired.el (find-dired): Implement revert-buffer-function.
14751 * mail/emacsbug.el (report-emacs-bug-hook): Do another save-excursion.
14753 2002-05-19 Glenn Morris <gmorris@ast.cam.ac.uk>
14755 * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
14756 (f90-get-present-comment-type): Fix earlier change.
14757 (f90-comment-indent): Doc fix.
14758 (f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
14759 (f90-looking-at-if-then): Remove lets.
14760 (f90-looking-at-where-or-forall): Handle if split over lines.
14761 (f90-change-keywords): Doc fix.
14763 2002-05-19 Richard M. Stallman <rms@gnu.org>
14765 * indent.el (indent-region): Make COLUMN arg optional.
14767 * files.el (find-file-read-args): New function.
14768 (find-file, find-file-other-window, find-file-other-frame)
14769 (find-file-read-only, find-file-read-only-other-window)
14770 (find-file-read-only-other-frame): Use it.
14772 * custom.el (custom-load-symbol): Verify that LOADED is a string.
14774 * arc-mode.el (archive-zip-use-pkzip): Variable deleted.
14775 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
14776 (archive-zip-update-case): Use locate-file to decide whether
14778 (archive-zip-extract): Test for pkzip in value of archive-zip-extract.
14780 * files.el (locate-file): Doc fix.
14782 2002-05-19 John Paul Wallington <jpw@shootybangbang.com>
14784 * mail/rmail.el (rmail-show-message-hook): Offer `goto-address'
14787 2002-05-18 Stefan Monnier <monnier@cs.yale.edu>
14789 * uniquify.el (uniquify-rationalize-file-buffer-names):
14790 Always strip the trailing / even if the file is not a directory.
14792 2002-05-18 Glenn Morris <gmorris@ast.cam.ac.uk>
14794 * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
14795 initialization in the defvar.
14796 (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
14797 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
14798 (f90-font-lock-4): Move the doc strings.
14799 (f90-menu-bar-menu): New internal variable to hold the top-level menu.
14800 (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
14801 (f90-mode-abbrev-table): Initialize in the defvar, with
14802 define-abbrev-table.
14804 2002-05-18 Eli Zaretskii <eliz@is.elta.co.il>
14806 * tar-mode.el (tar-octal-time): Fix last change.
14808 2002-05-18 Markus Rost <rost@math.ohio-state.edu>
14810 * mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
14811 (report-emacs-bug): Store the prompt in
14812 `report-emacs-bug-text-prompt'. Move Configuration/Important
14813 settings information after the user's report.
14814 (report-emacs-bug-hook): Unclutter by deleting the content of
14815 `report-emacs-bug-text-prompt'.
14817 2002-05-17 Thomas Morgan <tlm@pocketmail.com>
14819 * forms.el (forms-jump-record, forms-insert-record)
14820 (forms-delete-record): Calculate lines from the beginning of the
14821 accessible portion rather than from the beginning of the buffer.
14823 2002-05-16 Eli Zaretskii <eliz@is.elta.co.il>
14825 * ps-mule.el (eval-and-compile): Add a trivial replacement for a
14826 possibly missing encode-char.
14827 (ps-mule-font-info-database-bdf): Add associations for Unicode
14829 (ps-mule-font-info-database-ps-bdf): Doc fix.
14830 (ps-mule-encode-ucs2): New function for encoding Unicode characters.
14832 * tar-mode.el (tar-octal-time): Fix the last argument of logior.
14834 2002-05-16 Stefan Monnier <monnier@cs.yale.edu>
14836 * emacs-lisp/find-func.el (find-function-search-for-symbol):
14837 Find funs defined with defun-cvs-mode.
14838 (find-function-space-re): New const. Skips comments as well.
14839 (find-function-regexp, find-variable-regexp): Use it.
14841 * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
14842 (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
14843 (cvs-mode-set-flags): Don't cons unnecessarily.
14845 2002-05-16 Colin Walters <walters@debian.org>
14847 * menu-bar.el (menu-bar-tools-menu) <calculator>: Rename to
14848 "Simple Calculator".
14849 (menu-bar-tools-menu) <calc>: New.
14851 2002-05-16 Juanma Barranquero <lektu@terra.es>
14853 * progmodes/hideshow.el (hs-adjust-block-beginning): Fix typo.
14855 * filesets.el (filesets-ormap): Fix typo.
14857 * faces.el (describe-face): Fix typo.
14859 2002-05-15 Stefan Monnier <monnier@cs.yale.edu>
14861 * emacs-lisp/easymenu.el (easy-menu-make-symbol):
14862 Don't treat (lambda () ...) as an expression.
14864 2002-05-15 John Paul Wallington <jpw@shootybangbang.com>
14866 * replace.el (occur-read-primary-args): Handle a bare 'C-u' correctly.
14868 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il>
14870 * emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
14872 2002-05-14 Glenn Morris <gmorris@ast.cam.ac.uk>
14874 * progmodes/fortran.el (fortran-directive-re): New name for
14875 fortran-preprocessor-re. All usage updated.
14876 (fortran-calculate-indent): Give directives zero indentation.
14878 2002-05-14 Jason Rumney <jasonr@gnu.org>
14880 * emacs-lisp/easymenu.el (easy-menu-name-match): Match both
14881 displayed text and internal name as string.
14883 2002-05-14 Kim F. Storm <storm@cua.dk>
14885 * emulation/cua-rect.el (cua--rectangle-operation):
14886 Don't highlight empty lines in rectangles.
14888 * emulation/keypad.el: Improved commentary.
14889 (keypad-setup, keypad-shifted-setup): Add choice to setup
14890 Numeric keypad with decimal key; value is selected character.
14891 (keypad-decimal-key, keypad-shifted-decimal-key): Remove options.
14892 (keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
14893 (keypad-setup): Arg list changed to support the new options.
14895 2002-05-14 Richard M. Stallman <rms@gnu.org>
14897 * dabbrev.el (dabbrev-case-distinction): New option.
14898 (dabbrev--try-find): Handle dabbrev-case-distinction.
14899 (dabbrev--search): Clean up the code.
14900 (dabbrev-upcase-means-case-search): Doc fix.
14901 (dabbrev-case-replace): Fix custom tags and docs.
14903 2002-05-14 Jochen Küpper <jochen@jochen-kuepper.de>
14905 * calc/calc-units.el (math-standard-units): Update from CODATA.
14907 2002-05-14 Stefan Monnier <monnier@cs.yale.edu>
14909 * skeleton.el (skeleton-transformation): Default to `identity'.
14910 (skeleton-insert): Use `move-after' markers and `insert' rather
14911 than rely on insert-before-markers.
14912 (skeleton-internal-1): Handle `> \n' specially so that the newline
14913 is inserted before the first line is indented.
14915 2002-05-14 Mike Williams <mdub@bigfoot.com>
14917 * textmodes/sgml-mode.el (sgml-tag):
14918 Default skeleton-transformation to `identity'.
14920 2002-05-14 Francesco Potortì <pot@gnu.org>
14922 * shell.el (shell-mode): Make second part of initialization
14923 depend on whether comint-input-ring is empty, rather than depend
14926 2002-05-14 Richard M. Stallman <rms@gnu.org>
14928 * files.el (make-auto-save-file-name):
14929 Delete the auto-save file after make-temp-file creates it.
14931 2002-05-13 Kim F. Storm <storm@cua.dk>
14933 * emulation/cua-base.el (cua-enable-cursor-indications): Default off.
14934 (cua-mode): Print Enabled/Disabled messages if interactive.
14935 Disable delete-selection-mode and pc-selection-mode when cua-mode
14936 is enabled; reenable if cua-mode is turned off.
14937 Remember setting of transient-mark-mode when cua-mode is enabled;
14938 restore if cua-mode is disabled.
14940 2002-05-13 Richard M. Stallman <rms@gnu.org>
14942 * mail/emacsbug.el (report-emacs-bug): Change the "English please" msg.
14944 2002-05-13 Colin Walters <walters@gnu.org>
14946 * ibuf-ext.el (ibuffer-format-filter-group-data): New function.
14948 * ibuffer.el (ibuffer-insert-filter-group): New argument filter-string.
14949 (ibuffer-redisplay-engine): Handle it.
14951 * add-log.el (add-log-mailing-address): Can be a list, too.
14952 (add-change-log-entry): If `add-log-mailing-address' is a list,
14955 2002-05-12 Colin Walters <walters@debian.org>
14957 * replace.el (occur-1): New optional argument `buf-name'.
14958 (occur-revert-function): Use it.
14960 (occur-1): Handle plurals.
14962 (occur-engine): If there are no more matches, then finish
14963 searching the current buffer.
14965 2002-05-12 Pavel JanÃk <Pavel@Janik.cz>
14967 * net/ange-ftp.el (ange-ftp-try-passive-mode)
14968 (ange-ftp-passive-host-alist): Change :version attributes to be
14971 2002-05-12 Markus Rost <rost@math.ohio-state.edu>
14973 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Define it with
14976 * emacs-lisp/find-func.el (find-function-search-for-symbol):
14977 Handle more whitespace/newline combinations in symbol definitions.
14979 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il>
14981 * w32-vars.el (w32)
14982 * vc-cvs.el (vc-cvs-global-switches)
14983 (vc-cvs-sticky-date-format-string, vc-cvs-sticky-tag-display)
14984 * textmodes/sgml-mode.el (sgml-xml-mode)
14985 * ruler-mode.el (ruler-mode)
14986 * replace.el (query-replace-skip-read-only)
14987 * progmodes/fortran.el (fortran-preprocessor-re)
14988 * net/ange-ftp.el (ange-ftp-passive-host-alist)
14989 * mail/sendmail.el (mail-use-dsn)
14990 * faces.el (mode-line-inactive, minibuffer-prompt)
14991 * add-log.el (add-log-always-start-new-record): Change all
14992 post-21.1 :version attributes to 21.4.
14994 2002-05-12 Richard M. Stallman <rms@gnu.org>
14996 * mail/smtpmail.el (smtpmail-mail-address): New variable.
14997 (smtpmail-send-it): Bind and use that instead of `mail-address'.
14998 (smtpmail-via-smtp): Likewise.
15000 * ansi-color.el (ansi-color-get-face): Avoid add-to-list on local var.
15001 (ansi-color-apply-sequence): Avoid duplicates in combined face list.
15003 * dired-aux.el (dired-show-file-type): Use -- to say FILE's not option.
15005 * subr.el (functionp): Catch errors in indirect-function.
15007 2002-05-12 Pavel JanÃk <Pavel@Janik.cz>
15009 * net/ldap.el (ldap-search-internal): Unfold folded lines before
15012 * cus-edit.el (customize-set-value): Rename `var' to `variable'
15013 and `val' to `value'.
15014 (customize-save-variable): Rename `var' to `'variable.
15016 2002-05-12 Glenn Morris <gmorris@ast.cam.ac.uk>
15018 * progmodes/fortran.el (fortran-preprocessor-re): New variable.
15019 Use it for font-locking and indentation.
15020 (fortran-previous-statement, fortran-next-statement): Make them
15021 skip over preprocessor lines.
15022 (fortran-calculate-indent): Use fortran-preprocessor-re.
15024 2002-05-10 Kim F. Storm <storm@cua.dk>
15026 * emulation/cua-base.el (cua-enable-cua-keys)
15027 (cua-enable-register-prefix): Add value for `other' choice.
15029 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il>
15031 * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
15032 (menu-bar-showhide-menu): Use display-graphic-p, not window-system.
15033 (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
15034 Run a named function.
15035 (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
15036 (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
15039 2002-05-10 Kim F. Storm <storm@cua.dk>
15041 * emulation/cua-base.el (cua-mode): Misc. changes to use
15042 emulation-mode-map-alists instead of minor-mode-map-alist.
15044 2002-05-09 Richard M. Stallman <rms@gnu.org>
15046 * mail/rmail.el (rmail-show-message):
15047 Catch error in check-coding-system.
15049 * progmodes/compile.el (compilation-error-regexp-alist):
15050 New element to recognize Python error messages.
15052 * shell.el (shell-replace-by-expanded-directory):
15053 If there's already a / at the end, don't add one.
15055 2002-05-09 Colin Walters <walters@verbum.org>
15057 * ibuffer.el (ibuffer-mode-map): Add :enable guards for
15058 `ibuffer-filter-disable', `ibuffer-pop-filter',
15059 `ibuffer-or-filter', `ibuffer-negate-filter',
15060 `ibuffer-decompose-filter', `ibuffer-save-filters',
15061 `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
15062 `ibuffer-save-filter-groups',
15063 `ibuffer-switch-to-saved-filter-groups',
15064 `ibuffer-delete-saved-filter-groups'.
15066 * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
15068 2002-05-09 Markus Rost <rost@math.ohio-state.edu>
15070 * woman.el (woman-menu): Move symbol before the comment so that
15071 find-function-search-for-symbol finds it.
15073 2002-05-10 Miles Bader <miles@gnu.org>
15075 * facemenu.el (list-colors-display): Don't use
15076 `display-color-cells' unless the display class is one for which
15077 that info is relevant.
15079 2002-05-09 Simon Josefsson <jas@extundo.com>
15081 * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
15083 (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
15086 2002-05-09 Kim F. Storm <storm@cua.dk>
15088 * wid-edit.el (checkbox): New check-mark image.
15090 2002-05-08 Pavel JanÃk <Pavel@Janik.cz>
15092 * filesets.el (filesets-running-xemacs): Fix last change.
15094 2002-05-08 Markus Rost <rost@math.ohio-state.edu>
15096 * help-fns.el (describe-function-1): If the source is
15097 `loaddefs.el', look for the real source. This is necessary only
15100 * emacs-lisp/find-func.el (find-function-search-for-symbol):
15101 Add autoload cookie.
15102 (find-function-regexp): Include
15103 "\(quote " to match the defaliases in loaddefs.el.
15105 * filesets.el (filesets-conditional-sort): Use copy-sequence,
15107 (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
15108 Defvar them to nil if running in Emacs.
15110 2002-05-08 Pavel JanÃk <Pavel@Janik.cz>
15112 * textmodes/flyspell.el (make-flyspell-overlay): Add help text
15113 to flyspell overlays.
15115 * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
15117 2002-05-08 Richard M. Stallman <rms@gnu.org>
15119 * diff.el (diff-regexp-alist): Doc fix.
15121 * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
15123 2002-05-08 Simon Marshall <simon@gnu.org>
15125 * msb.el (msb-menu-bar-update-buffers): Fix frame menu to use
15126 the frame name as the car of a menu entry, rather than the frame.
15128 2002-05-08 Juanma Barranquero <lektu@terra.es>
15130 * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
15133 2002-05-07 Colin Walters <walters@verbum.org>
15135 * replace.el (occur-unfontify-region-function): Delete.
15136 (occur-mode): Don't use it.
15137 (occur-engine): Respect `keep-props'.
15138 (occur-accumulate-lines): If we're moving forward, decrement;
15139 don't increment, and vice versa.
15141 2002-05-08 Toru Tomabechi <Toru.Tomabechi@orient.unil.ch>
15143 * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
15144 (tibetan-canonicalize-for-unicode-regexp): New variables.
15145 (tibetan-canonicalize-for-unicode-region): New function.
15146 (tibetan-strict-unicode): New variable.
15147 (tibetan-pre-write-canonicalize-for-unicode): New function.
15149 2002-05-07 Markus Rost <rost@math.ohio-state.edu>
15151 * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
15152 the autoload-cookie. Remove comment.
15154 * ffap.el (ffap): Don't hide it behind the autoload-cookie.
15156 * rect.el (close-rectangle): Don't hide it behind the
15159 2002-05-07 Juanma Barranquero <lektu@terra.es>
15161 * windmove.el (windmove-default-keybindings): Add optional
15162 parameter to allow using a modifier other than 'shift.
15164 2002-05-07 Thomas Link <t.link@gmx.at>
15167 (filesets-external-viewers): Fix customization problem.
15168 (filesets-some): Replaces cl's `some'. Calls changed.
15169 (filesets-member): Replaces cl's `member*'. Calls changed.
15170 (filesets-ormap): New function.
15172 2002-05-07 John Paul Wallington <jpw@shootybangbang.com>
15174 * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
15177 2002-05-07 Colin Walters <walters@gnu.org>
15179 * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
15180 (ibuffer-clear-filter-groups): Likewise.
15181 (ibuffer-kill-filter-group): Likewise.
15182 (ibuffer-kill-line): Likewise.
15183 (ibuffer-read-filter-group-name): New function.
15184 (ibuffer-jump-to-filter-group): Use it.
15185 (ibuffer-kill-filter-group): Likewise.
15186 (ibuffer-yank-filter-group): Likewise.
15187 (ibuffer-decompose-filter-group): New function.
15189 * ibuffer.el (ibuffer-mode-map): Bind it. Add :enable guard
15190 around `ibuffer-filters-to-filter-group' menu item. Fix :enable
15191 guards for `ibuffer-pop-filter-group' and
15192 `ibuffer-clear-filter-groups'.
15194 2002-05-06 Markus Rost <rost@math.ohio-state.edu>
15196 * emacs-lisp/find-func.el (find-function-search-for-symbol):
15197 Use with-syntax-table.
15199 2002-05-06 Francesco Potortì <pot@gnu.org>
15201 * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
15203 2002-05-05 Markus Rost <rost@math.ohio-state.edu>
15205 * time-stamp.el (time-stamp-format): Doc fix: escape open
15206 parenthesis in column 0.
15208 2002-05-04 Richard M. Stallman <rms@gnu.org>
15210 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
15211 Handle both cases: when the menu item has cached info
15212 and when it doesn't.
15214 * filesets.el (filesets-browse-dir-function): Rename from ...-fn.
15215 (filesets-open-file-function, filesets-save-buffer-function): Likewise.
15216 (filesets-tree-max-level): Doc fix.
15217 (filesets-commands, filesets-external-viewers)
15218 (filesets-ingroup-patterns): Mark as risky.
15219 (filesets-cache-hostname-flag): Doc fix.
15220 (filesets-menu-cache-file): Doc fix. Mark as risky.
15221 (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
15222 Don't defcustom them if running in Emacs.
15224 2002-05-04 Thomas Link <t.link@gmx.at>
15226 * filesets.el (filesets-ingroup-collect-files):
15227 Fix problem with inclusion groups' :scan-depth property.
15229 2002-05-04 Colin Walters <walters@verbum.org>
15231 * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
15232 "Default" group earlier. Push killed group on
15233 `ibuffer-filter-group-kill-ring'.
15234 (ibuffer-kill-line): Document. Don't push killed group ourselves.
15235 (ibuffer-yank-filter-group): Rename from `ibuffer-yank'.
15236 (ibuffer-insert-filter-group-before): New function, broken out
15237 from `ibuffer-yank'.
15238 (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
15240 * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
15241 (ibuffer-mode-view-menu): Unused variables; delete.
15242 (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
15244 2002-05-04 John Paul Wallington <jpw@shootybangbang.com>
15246 * ibuffer.el (ibuffer-mode-groups-popup): New variable.
15247 (toplevel): Bind filter group menu entries in it. Add :enable
15248 forms for some menu items.
15249 (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
15250 to `ibuffer-mouse-popup-menu'.
15251 (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
15252 group name, and if so, pop up a filter group menu.
15254 2002-05-04 Jason Rumney <jasonr@gnu.org>
15256 * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
15257 (mwheel-scroll): Recognize nil scroll amount as documented.
15259 * term/w32-win.el (mouse-wheel-scroll-line)
15260 (mouse-wheel-scroll-screen): Remove.
15261 ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
15263 * w32-vars.el (mouse-wheel-scroll-amount): Remove.
15265 2002-05-04 Markus Rost <rost@math.ohio-state.edu>
15267 * emacs-lisp/find-func.el (find-function-search-for-symbol):
15268 Bind case-fold-search when searching.
15270 2002-05-04 Eli Zaretskii <eliz@is.elta.co.il>
15272 * apropos.el (apropos-print): Fix the reference to mouse-2.
15274 2002-05-04 Daniel Pfeiffer <occitan@esperanto.org>
15276 * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
15278 2002-05-04 Kim F. Storm <storm@cua.dk>
15280 * cus-edit.el (custom-buffer-verbose-help): New variable.
15281 (custom-buffer-create-internal): Remove verbose introduction
15282 in customization buffer when it is nil.
15284 2002-05-03 Dave Love <fx@gnu.org>
15286 * international/mule-cmds.el (select-safe-coding-system):
15287 Don't offer coding systems that use locking shift.
15288 Ask for confirmation if chosen coding system disagrees with
15289 a `coding:' spec in the file.
15291 2002-05-03 John Wiegley <johnw@gnu.org>
15293 * eshell/esh-var.el (eshell-modify-global-environment): Added this
15294 customization variable, which will cause any "export" commands
15295 within any eshell buffer to modify the global Emacs environment.
15296 It defaults to nil, which means that such commands will only
15297 modify that Eshell buffer's environment.
15298 (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
15300 * eshell/em-cmpl.el (eshell-command-completions-alist):
15301 Improve default completion targets for objdump, nm and readelf.
15303 2002-05-03 Colin Walters <walters@verbum.org>
15305 * play/gamegrid.el (gamegrid-user-score-file-directory): New variable.
15306 (gamegrid-add-score-with-update-game-score):
15307 Use `shared-game-score-directory'. Correctly handle non-setuid case.
15309 2002-05-02 Colin Walters <walters@verbum.org>
15311 * replace.el (occur-mode-map): Bind "q" to `delete-window'.
15312 (occur-1): If one of the buffers we're searching is the *Occur*
15313 buffer itself, handle it by creating a temporary buffer. If any
15314 of the buffers being searched are killed, note that in the search
15315 result message. Also, set local variables before we possibly kill
15318 2002-05-02 Kim F. Storm <storm@cua.dk>
15320 * menu-bar.el (menu-bar-make-toggle): Add optional PROPS arg.
15321 (menu-bar-options-save): Add cua-mode.
15322 (menu-bar-options-menu): Add toggle for cua-mode.
15323 Disable toggle for transient-mark-mode if cua-mode is enabled.
15325 * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local var.
15327 2002-05-01 Richard M. Stallman <rms@gnu.org>
15329 * help.el (view-todo): New function.
15330 (help-map): Bind C-h C-t to view-todo.
15331 (help-for-help): Change the text.
15333 2002-05-01 Glenn Morris <gmorris@ast.cam.ac.uk>
15335 * progmodes/f90.el: Yet more doc string, comment and whitespace
15337 (f90-imenu-flag): New name for internal variable f90-imenu.
15338 (f90-blocks-re, f90-program-block-re, f90-end-if-re)
15339 (f90-no-break-re): Use regexp-opt.
15340 (f90-end-type-re): Add closing "\\>".
15341 (f90-indent-region): Correctly indent comments embedded in
15343 (f90-indent-new-line): Make it indent the current line, as it should.
15344 (f90-line-continued, f90-get-present-comment-type)
15345 (f90-looking-at-if-then, f90-indent-line, f90-indent-new-line)
15346 (f90-indent-region, f90-indent-subprogram, f90-do-auto-fill)
15347 (f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end)
15348 (f90-change-keywords): Minor code tidying.
15350 * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
15351 typo `fortran-strip-sqeuence-nos'.
15353 2002-05-01 Eli Zaretskii <eliz@is.elta.co.il>
15355 * simple.el (clone-indirect-buffer-other-window): Fix a typo in
15358 2002-05-01 Kim F. Storm <storm@cua.dk>
15360 * emulation/cua-base.el (cua--pre-command-handler):
15361 Only interpret delete-selection property if mark-active.
15362 (cua-mode): Fix require in defcustom.
15364 2002-05-01 Pavel JanÃk <Pavel@Janik.cz>
15366 * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
15369 2002-05-01 Colin Walters <walters@verbum.org>
15371 * textmodes/tex-mode.el (tex-validate-buffer):
15372 Use `occur-revert-arguments' instead of setting `occur-nlines' and
15373 `occur-buffer'. Don't test for `input-pending-p' in loop.
15374 Set text property `occur-target' instead of `occur'.
15376 2002-04-30 John Wiegley <johnw@gnu.org>
15378 * align.el (align-region): Fix the fix to align-region, because
15379 the "name" argument was appearing twice.
15381 2002-05-01 Martin Stjernholm <bug-cc-mode@gnu.org>
15383 * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
15384 to handle protection labels, one which doesn't get confused by
15387 * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
15388 functions that have "class" or "struct" in the return type as
15389 classes or structs.
15391 2002-04-30 Kim F. Storm <storm@cua.dk>
15393 * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
15394 Options" to "New Options..."; rephrase tooltip.
15395 Rephrase tooltip for "Specific Option...".
15396 Added "Saved Options" item. [from Simon Marshall]
15398 2002-04-30 Richard M. Stallman <rms@gnu.org>
15400 * time.el (display-time-mail-directory)
15401 (display-time-mail-function): Doc fixes.
15403 * ediff-hook.el: Remove autoload cookies.
15405 * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
15407 * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
15409 * align.el (align-region): Fix call to `message'.
15410 Check that (car rule) is a symbol.
15412 * autoinsert.el (auto-insert-directory): Doc fix.
15414 * facemenu.el (describe-text-at and stuff): Move to descr-text.el.
15416 * descr-text.el: New file, broken out of facemenu.el.
15418 * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
15420 2002-04-29 Markus Rost <rost@math.ohio-state.edu>
15422 * mail/emacsbug.el (report-emacs-bug-hook):
15423 Use replace-match only if search was successful.
15425 2002-04-29 Richard M. Stallman <rms@gnu.org>
15427 * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
15429 * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
15430 if the user edits the Emacs version number in the text.
15432 * filesets.el (filesets-running-xemacs): Make defvar unconditional.
15433 (filesets-ingroup-files): Rename from filesets-ingroup-paths.
15434 (filesets-error): Simplify definition and make conditional
15435 on filesets-running-xemacs.
15436 (filesets-find-file-using): Rename from fsfind-file-using.
15438 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
15440 * info.el (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
15441 (Info-read-node-name-1): Complete file names.
15442 (Info-complete-menu-item): Don't cons unnecessarily.
15444 * files.el (locate-file): New fun.
15445 (locate-file-completion): Rename from load-completion and generalize.
15446 (load-library): Use it.
15447 (make-auto-save-file-name): Expand caddr.
15449 * newcomment.el (comment-fill-column): New var.
15450 (comment-indent): Use it.
15451 (comment-or-uncomment-region): New fun.
15452 (comment-dwim): Use it.
15454 2002-04-29 Colin Walters <walters@verbum.org>
15456 * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
15457 (ibuffer-kill-line): Copy the filter group data structure when killing.
15458 (ibuffer-yank): Handle case where we're yanking on the default
15460 (ibuffer-delete-saved-filter-groups): Doc fix.
15462 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15463 Test whether or not update-game-score is setuid, and do the right
15466 2002-04-29 Kim F. Storm <storm@cua.dk>
15468 * subr.el (remove-yank-excluded-properties): New helper function.
15469 (insert-for-yank, insert-buffer-substring-as-yank): Use it.
15471 * simple.el (yank-excluded-properties): Added help-echo to list.
15473 2002-04-29 Glenn Morris <gmorris@ast.cam.ac.uk>
15475 * autoinsert.el (auto-insert-directory): Doc fix.
15477 * progmodes/f90.el: Add/change doc strings for many inline
15478 functions. Whitespace changes.
15479 (f90-indent-line-no, f90-update-line): Minor code changes.
15481 2002-04-29 Kim F. Storm <storm@cua.dk>
15483 * emulation/cua-base.el: New file.
15485 * emulation/cua-rect.el: New file.
15487 * emulation/cua-gmrk.el: New file.
15489 * emulation/keypad.el: New file.
15491 2002-04-29 Triet Hoai Lai <thlai@ee.usyd.edu.au>
15493 * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
15494 (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn):
15495 New Vietnamese coding system.
15497 * language/viet-util.el: Update Commentary section.
15499 2002-04-29 Pavel JanÃk <Pavel@Janik.cz>
15501 * filesets.el (filesets-data): Doc fix.
15502 (filesets-running-xemacs): Define even when compiling.
15504 * recentf.el (recentf-cancel-dialog): Remove dot at the end of
15507 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
15509 * textmodes/fill.el (fill-context-prefix): Fix last change with
15510 yet-another-approach.
15512 2002-04-28 Markus Rost <rost@math.ohio-state.edu>
15514 * net/ange-ftp.el (ange-ftp-passive-host-alist)
15515 (ange-ftp-bs2000-additional-pubsets): Fix custom type.
15517 * files.el (small-temporary-file-directory): Fix custom type.
15519 2002-04-28 Glenn Morris <gmorris@ast.cam.ac.uk>
15521 * progmodes/f90.el (f90-xemacs-flag): New variable.
15522 (f90-mark-subprogram-overlay): New variable.
15523 (f90-mark-subprogram): Now it highlights the subprogram.
15524 (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
15525 Fix highlighting of various "type" forms.
15527 2002-04-28 Colin Walters <walters@verbum.org>
15529 * ibuffer.el (ibuffer-mode): Additional documentation on filter
15532 2002-04-28 John Paul Wallington <jpw@shootybangbang.com>
15534 * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
15535 ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
15537 2002-04-28 Richard M. Stallman <rms@gnu.org>
15539 * mail/sendmail.el (mail-recover-1): Decrease non-random-len
15540 by 1 for the newly-readded #.
15542 * files.el (make-auto-save-file-name): Specify # as suffix
15543 in the non-file-visiting case.
15545 * subr.el (make-temp-file): New arg SUFFIX.
15547 * filesets.el: New file.
15549 * replace.el (occur-accumulate-lines): Avoid incf and decf.
15550 (occur-engine-add-prefix): New function.
15551 (occur-engine): Avoid using macrolet, incf and decf.
15552 Use occur-engine-add-prefix instead.
15553 Rename `l' to `lines' and `c' to `matches'.
15555 * replace.el (occur-engine, occur-mode-mouse-goto)
15556 (occur-mode-find-occurrence, occur-mode-goto-occurrence)
15557 (occur-mode-goto-occurrence-other-window)
15558 (occur-mode-display-occurrence): A position is just a marker,
15561 * replace.el (occur-revert-arguments):
15562 Renamed from occur-revert-properties. All uses changed.
15564 2002-04-28 Pavel JanÃk <Pavel@Janik.cz>
15566 * recentf.el (recentf-menu-before): Use string to specify path in
15569 * international/mule-cmds.el (read-language-name): Take care of
15572 2002-04-27 Richard M. Stallman <rms@gnu.org>
15574 * custom.el (custom-load-symbol): Move from cus-edit.el.
15575 (custom-load-recursion): Likewise.
15577 * cus-edit.el (custom-load-symbol): Move to custom.el.
15578 (custom-load-recursion): Likewise.
15580 * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
15581 generated by easymenu are now lowercase.
15583 2002-04-27 Richard M. Stallman <rms@gnu.org>
15585 * menu-bar.el (menu-bar-update-buffers): Add menu items
15586 Next Buffer and Previous Buffer.
15588 * simple.el (next-buffer, prev-buffer): New commands.
15589 Bind C-x left and C-x right to them.
15591 * info.el (Info-header-line): Mark it as risky-local-variable.
15593 * subr.el (insert-for-yank): Replace `category' property
15594 with whatever properties it stands for.
15596 * subr.el (member-ignore-case): Ignore non-strings in LIST.
15598 2002-04-27 Miles Bader <miles@gnu.org>
15600 * faces.el (read-face-name): Format the prompt correctly when
15601 there's no default.
15603 2002-04-26 Andrew Choi <akochoi@shaw.ca>
15605 * term/mac-win.el: Don't call ediff-toggle-multiframe.
15606 Set default directory. Set process-connection-type to nil.
15608 2002-04-26 Richard M. Stallman <rms@gnu.org>
15610 * loadup.el: Explicitly load cus-face and timer.
15612 * isearch.el: Don't require timer.
15614 * faces.el: Don't require cus-face.
15616 * cus-edit.el (customize-face): Use read-face-name
15617 and handle multiple faces.
15618 (customize-face-other-window): Make it work similarly.
15620 * faces.el (read-face-name): New defaulting features.
15621 New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
15622 (list-faces-display): Use the face, not its name string,
15623 as arg when running customize-face.
15624 Put a `read-face-name' prop on the entire line.
15625 (describe-face): Handle multiple faces via read-face-name.
15627 * textmodes/tex-mode.el (tex-start-options): New variable.
15628 (tex-start-commands): New variable.
15629 (tex-start-options-string): Variable deleted.
15630 (tex-start-tex): Use tex-start-options and tex-start-commands,
15631 not tex-start-options-string.
15632 (tex-command): Doc fix.
15634 2002-04-26 Sam Steingold <sds@gnu.org>
15636 * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
15637 not in the authinfo/netrc, keep `cred' at nil.
15639 2002-04-26 Gerd Moellmann <gerd@gnu.org>
15641 * find-file.el: Remove Ada-specific example code.
15643 2002-04-25 Michael Kifer <kifer@cs.stonybrook.edu>
15645 * ediff-hook.el: Put back the autoloads.
15647 2002-04-25 Colin Walters <walters@verbum.org>
15649 * ibuffer.el (define column process): Use `ibuffer-aif'.
15651 * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
15653 (ibuffer-yank): Be sure to `setq' after we use `nconc'.
15654 (ibuffer-save-filter-groups): Correctly structure filter groups.
15655 (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
15658 2002-04-25 Simon Josefsson <jas@extundo.com>
15660 * mail/sendmail.el (mail-use-dsn): New variable to request
15661 delivery status notification from MTA.
15662 (sendmail-send-it): Use it.
15664 * mail/smtpmail.el (smtpmail-queue-counter): New variable.
15665 (smtpmail-send-it): Use it to construct new queue filenames (needed
15666 if you send more than one message per second, which is possible if
15667 you use Gnus Agent).
15669 * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
15671 (smtpmail-try-auth-methods): Support netrc data.
15672 (netrc-parse): Autoload netrc.
15674 2002-04-25 Colin Walters <walters@verbum.org>
15676 * replace.el (multi-occur-by-filename-regexp): Doc fix.
15677 (occur-engine): Go to `point-min'. Make nlines argument actually
15678 mean number of context lines. Handle it. Pad digits to the right.
15680 * ibuf-ext.el (ibuffer-filtering-groups): Rename to
15681 `ibuffer-filter-groups'. Update all users.
15682 (ibuffer-show-empty-filter-groups): New variable.
15683 (ibuffer-saved-filter-groups): New variable.
15684 (ibuffer-maybe-save-stuff): Rename from
15685 `ibuffer-maybe-save-saved-filters'. Update callers.
15686 Handle `ibuffer-saved-filter-groups'.
15687 (ibuffer-hidden-filtering-groups): Rename to
15688 `ibuffer-hidden-filter-groups'.
15689 (ibuffer-filter-group-kill-ring): New variable.
15690 (ibuffer-save-with-custom): Doc fix.
15691 (ibuffer-set-filter-groups-by-mode): New function.
15692 (ibuffer-clear-filter-groups): New function.
15693 (ibuffer-current-filter-groups-with-position): Rename from
15694 `ibuffer-current-filter-groups'. Update callers.
15695 (ibuffer-kill-filter-group): New function.
15696 (ibuffer-kill-line): New function.
15697 (ibuffer-yank): New function.
15698 (ibuffer-save-filter-groups): New function.
15699 (ibuffer-delete-saved-filter-groups): New function.
15700 (ibuffer-switch-to-saved-filter-groups): New function.
15701 (ibuffer-mark-on-buffer): Add optional arguments for adding a
15702 specific mark, and marking on a specific group.
15704 * ibuffer.el (ibuffer-formats): Doc fix.
15705 (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
15706 Bind new functions from ibuf-ext.el. Add menu entries for them.
15707 Remove superfluous tooltips.
15708 (ibuffer-toggle-marks): If on a group name, then toggle marks just
15710 (ibuffer-mark-interactive): Handle filter groups.
15711 (ibuffer-mark-forward, ibuffer-unmark-forward)
15712 (ibuffer-mark-for-delete, ibuffer-unmark-backward)
15713 (ibuffer-mark-for-delete-backwards): Update docs.
15714 (ibuffer-current-filter-groups): Move to ibuf-ext.el, and renamed
15715 to `ibuffer-current-filter-groups-with-position'.
15716 (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
15717 (ibuffer-mode): Add some documentation about filter groups.
15719 2002-04-25 Andreas Schwab <schwab@suse.de>
15721 * find-dired.el (find-name-dired): Don't quote pattern twice.
15723 2002-04-26 Miles Bader <miles@gnu.org>
15725 * cus-edit.el (customize-face, customize-face-other-window):
15726 Use default instead of initial-input for suggested face.
15728 2002-04-25 Gerd Moellmann <gerd@gnu.org>
15730 * cus-edit.el (customize-face-other-window, customize-face):
15731 Interactively, when point is on text with a face, suggest to
15732 customize that face.
15734 2002-04-25 Glenn Morris <gmorris@ast.cam.ac.uk>
15736 * progmodes/f90.el: General tidy-up of commentary and some doc strings.
15738 2002-04-24 Glenn Morris <gmorris@ast.cam.ac.uk>
15740 * scroll-all.el (scroll-all-function-all) New function to do the
15742 (scroll-all-scroll-down-all, scroll-all-scroll-up-all)
15743 (scroll-all-page-down-all, scroll-all-page-up-all)
15744 (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
15745 Make them use scroll-all-function-all.
15747 * progmodes/f90.el (f90-get-beg-of-line): Remove and replace
15748 with line-beginning-position.
15749 (f90-get-end-of-line): Remove and replace with line-end-position.
15750 (f90-match-piece): Remove and replace with match-string.
15751 (f90-current-indentation): Remove `current-column'.
15752 (f90-get-present-comment-type): Use match-string rather than
15754 (f90-match-end): Use line-beginning-position, line-end-position
15755 rather than beginning-of-line, end-of-line.
15756 (f90-startup-message): Variable removed.
15758 2002-04-24 Colin Walters <walters@verbum.org>
15760 * replace.el (occur-accumulate-lines): Add optional argument
15761 `no-props'. Handle it.
15762 (occur-engine): Use it.
15764 * ibuf-ext.el (toplevel): Remove byte-compile-dynamic. Try to set
15765 up autoloads manually.
15766 (ibuffer-split-list): New function.
15767 (ibuffer-filtering-groups): New variable.
15768 (ibuffer-hidden-filtering-groups): New variable.
15769 (ibuffer-mouse-toggle-filter-group): New function.
15770 (ibuffer-toggle-filter-group): New function.
15771 (ibuffer-toggle-filter-group-1): New function.
15772 (ibuffer-forward-filter-group): New function.
15773 (ibuffer-backward-filter-group): New function.
15774 (ibuffer-generate-filter-groups): New function.
15775 (ibuffer-filters-to-filter-group): New function.
15776 (ibuffer-pop-filter-group): New function.
15777 (ibuffer-jump-to-filter-group): New function.
15778 (ibuffer-do-occur): Just use `occur-read-primary-args'
15780 * ibuffer.el (ibuffer-filter-group-name-face): New.
15781 (ibuffer-mode-map): Bind and add menu entries for most new
15782 functions; also, bind the arrow keys to the movement functions.
15783 (ibuffer-mode-filter-group-map): New.
15784 (ibuffer-mouse-toggle-mark): Handle group names.
15785 (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
15786 (ibuffer-skip-properties): New function.
15787 (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
15788 group names. Also, handle new properties.
15789 (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
15790 Move error handling to `ibuffer-current-buffer'.
15791 (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
15792 (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
15793 (ibuffer-toggle-marks): Add optional group argument.
15794 (ibuffer-mark-interactive): Skip group names.
15795 (ibuffer-current-buffer): Clean up error handling.
15796 (ibuffer-fontify-region-function): Fontify group names.
15797 (ibuffer-map-lines): Add extra group argument. Handle it.
15798 (ibuffer-current-filter-groups): New function.
15799 (ibuffer-redisplay): Handle hidden filtering groups.
15800 (ibuffer-sort-bufferlist): New function, taken from
15801 `ibuffer-insert-buffers-and-marks'.
15802 (ibuffer-insert-filter-group): New function.
15803 (ibuffer-redisplay-engine): Rename from
15804 `ibuffer-insert-buffers-and-marks'. Handle new filtering groups.
15805 (ibuffer): Add filter-groups argument. Handle it.
15806 Use `save-selected-window'.
15807 (ibuffer-mode): Make `ibuffer-filtering-groups' and
15808 `ibuffer-hidden-filtering-groups' buffer-local.
15810 * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
15812 2002-04-24 Richard M. Stallman <rms@gnu.org>
15814 * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
15815 (easy-menu-define-key-intern): Function deleted; callers intern
15816 and then call easy-menu-define-key.
15817 (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
15818 (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
15819 (easy-menu-name-match): New function.
15820 (add-submenu): New function.
15821 (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
15823 2002-04-24 Eli Zaretskii <eliz@is.elta.co.il>
15825 * menu-bar.el (menu-bar-adv-search-menu)
15826 (menu-bar-adv-search-menu): Improve the help text.
15828 2002-04-24 Simon Josefsson <jas@extundo.com>
15830 * net/netrc.el: New file.
15832 2002-04-24 Thomas DeWeese <tdeweese@rochester.rr.com>
15834 * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
15835 Check if any of the available selection sources has new content
15836 and if so it will return that content.
15838 2002-04-24 Miles Bader <miles@gnu.org>
15840 * menu-bar.el (buffers-menu-show-directories)
15841 (buffers-menu-show-status): New variables.
15842 (menu-bar-update-buffers-1): Use them.
15844 2002-04-24 Martin Stjernholm <bug-cc-mode@gnu.org>
15846 * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
15847 from `c-do-auto-fill' and point is at or near the limit of the
15848 comment. Fixed bug when the prefix from `c-guess-fill-prefix'
15849 is longer than the text on the first line of the comment when
15852 2002-04-24 Miles Bader <miles@gnu.org>
15854 * menu-bar.el (menu-bar-update-buffers-1): Make sure
15855 `uniquify-buffer-name-style' is bound.
15857 2002-04-23 Colin Walters <walters@verbum.org>
15859 * replace.el (toplevel): Require `cl' while compiling.
15860 (occur-buffer, occur-nlines): Delete.
15861 (occur-revert-properties): Rename to `occur-revert-properties'.
15862 (occur-mode): Handle it. Set up font lock.
15863 (occur-revert-function): Simply apply `occur-1'.
15864 (occur-mode-find-occurence, occur-mode-mouse-goto)
15865 (occur-mode-goto-occurrence-other-window)
15866 (occur-mode-display-occurrence): Handle buffer property.
15867 (list-matching-lines-face): Use defcustom.
15868 (list-matching-lines-buffer-name-face): New variable.
15869 (occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
15871 (occur-read-primary-args): Move out of `occur'.
15872 (occur): Delete. Now simply call `occur-1'.
15873 (multi-occur, multi-occur-by-filename-regexp): New functions.
15874 (occur-1): New function.
15875 (occur-engine): Renamed from `ibuffer-occur-engine' to replace the
15876 previous implementation of `occur'; taken from ibuf-ext.el.
15877 (occur-fontify-on-property): New function.
15878 (occur-fontify-region-function, occur-unfontify-region-function):
15881 * ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
15883 * ibuf-ext.el (ibuffer-depropertize-string): Delete.
15884 (ibuffer-occur-match-face): Delete.
15885 (ibuffer-occur-props, ibuffer-occur-mode): Delete.
15886 (ibuffer-occur-mouse-display-occurence): Delete.
15887 (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
15888 (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
15889 (ibuffer-occur-engine): Moved to replace.el.
15890 (ibuffer-do-occur): Simply call `occur-1'.
15892 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15893 Handle the case where we're already viewing the score file.
15895 2002-04-23 Andreas Schwab <schwab@suse.de>
15897 * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
15900 2002-04-23 Miles Bader <miles@gnu.org>
15902 * menu-bar.el (menu-bar-update-buffers-1): Don't display a
15903 directory separator if there's no directory. Don't display
15904 directories at all if uniquify is active. Some code cleanup.
15905 (uniquify-buffer-name-style): Declare (but don't initialize).
15907 * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
15908 for command menu entries, since the low-level menu code modifies
15909 them. Cache the resulting list.
15910 (menu-bar-buffers-menu-command-entries): New variable.
15912 * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
15913 Add separator line before commands
15914 Remove old crufty code that tried to line things up by adding
15915 spaces to entries (it doesn't work).
15916 Move `Frames' submenu after the normal buffers, and add a
15917 separator line before it.
15918 (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
15920 2002-04-22 Richard M. Stallman <rms@gnu.org>
15922 * files.el (after-find-file): Use %s to output MSG.
15924 * dired.el (dired-mouse-find-file-other-window):
15925 Handle events that move out of the window.
15927 2002-04-23 Martin Stjernholm <bug-cc-mode@gnu.org>
15929 * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
15930 was moved to the following line when it was at the first line
15931 of a block comment where comment-start-skip matched to eol.
15933 2002-04-22 Richard M. Stallman <rms@gnu.org>
15935 * simple.el (line-move-finish): Find beg and end of line
15936 before calling line-move-to-column. Do consider intangible
15937 when finding the end. Take more care in analyzing the results
15938 of intangibility after line-move-to-column.
15940 2002-04-22 Pavel JanÃk <Pavel@Janik.cz>
15942 * international/mule-diag.el (list-input-methods-1): Doc fix (LEIM is
15943 now part of the standard distribution).
15945 * tmm.el (tmm-completion-prompt): Doc fix.
15947 * hilit-chg.el (global-highlight-changes): Capitalize status texts.
15949 2002-04-22 Edward M. Reingold <reingold@emr.cs.iit.edu>
15951 * diary-lib.el (include-other-diary-files): Allow modifying
15952 included buffer, to turn off selective display.
15954 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
15956 * progmodes/cc-mode.el (c-define-abbrev-table): New function to
15957 pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
15958 emacsen that doesn't support it.
15960 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
15962 * progmodes/cc-align.el, progmodes/cc-engine.el,
15963 * progmodes/cc-styles.el, progmodes/cc-vars.el
15964 (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
15965 Find correct anchor for statement-cont in top level constructs.
15966 Analyze variable initializations in top level constructs as
15967 topmost-intro-cont instead of statement-cont. That is an
15968 incompatible change but it gives better consistency. The new
15969 lineup function c-lineup-topmost-intro-cont' compensates for
15970 it and is now put on topmost-intro-cont by default.
15972 * progmodes/cc-align.el, progmodes/cc-engine.el,
15973 progmodes/cc-langs.el (c-lineup-argcont): Lineup function
15974 contributed by Kevin Ryde.
15976 (c-in-gcc-asm-p): Function to recognize asm statements.
15977 Contributed by Kevin Ryde.
15979 (c-opt-asm-stmt-key): New language variable to recognize the
15980 beginning of asm statements.
15982 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
15984 * progmodes/cc-engine.el (c-guess-basic-syntax):
15985 Detect variable declarations after class and struct declarations
15986 correctly. Fixed limit error when finding the anchor for
15987 template-args-cont and topmost-intro-cont.
15989 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
15991 * progmodes/cc-cmds.el (c-beginning-of-defun)
15992 (c-declaration-limits): Find the "line oriented" declaration
15993 start too, just like the "line oriented" end is found.
15995 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
15997 * progmodes/cc-vars.el (c-offsets-alist): A more sane default
15998 for `inexpr-statement'. This is not compatible, though.
15999 I think the benefit of a good default style outweights that in
16000 this case. Besides, `inexpr-statement' is not very common.
16002 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16004 * progmodes/cc-cmds.el (c-electric-delete-forward):
16005 Fix silly bug that caused it to delete backwards in hungry delete
16006 mode. (It's amazing that this bug hasn't been reported.)
16008 * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
16009 Extracted the code to get the declaration limits from
16010 `c-mark-function' to a new `c-declaration-limits'.
16012 (c-indent-defun): Use the same method to get the limits of the
16013 declaration or macro as `c-mark-function'.
16015 * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
16016 list initializers correctly (but costly; it ought to be
16017 integrated into `c-beginning-of-statement-1').
16019 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16021 * progmodes/cc-cmds.el, progmodes/cc-engine.el
16022 (c-beginning-of-defun, c-end-of-defun, c-mark-function):
16023 Rewritten to detect the declaration limits better.
16024 Now handles K&R argdecls, class definitions followed by variables etc.
16026 (c-in-knr-argdecl): Broke out the K&R argdecl test in
16027 `c-beginning-of-decl-1' to this new function.
16029 (c-end-of-statement-1, c-end-of-decl-1):
16030 Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
16031 handles declarations that continue after the block.
16033 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
16034 Added an option to restrict matching to the top level of the
16035 current paren sexp.
16037 * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
16038 New regexp to recognize declarations that continue after the block.
16040 (c-syntactic-eol): New regexp to match a "syntactic" eol.
16042 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16044 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
16045 that often caused the backward limit to be lost at the top
16046 level. This improves performance a bit.
16048 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
16049 New function that works like `re-search-forward' but only returns
16050 matches in syntactically significant text.
16052 * progmodes/cc-engine.el: Fixed a faster and more accurate way
16053 to recognize K&R argdecls.
16055 (c-beginning-of-decl-1): New function that put point at the
16056 beginning of the declaration. It handles K&R argdecl blocks.
16058 (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
16059 code with one that doesn't depend on the current indentation.
16060 The anchor position for `knr-argdecl' has also changed, but in
16061 a way that is unlikely to cause compatibility problems.
16063 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16065 * progmodes/cc-defs.el, progmodes/cc-engine.el
16066 (c-forward-comment): `forward-comment' in XEmacs skips over
16067 line continuations in the backward direction. Correct for
16068 that. Also made this a defun since it has grown too large now
16071 * progmodes/cc-langs.el: More convenient and decentralized
16072 setup of the language specific variables. The regexp-opt
16073 mangling is also done at compile time now.
16075 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16077 * progmodes/cc-cmds.el (c-indent-line-or-region):
16078 Call `c-indent-line' directly instead of through
16079 `indent-according-to-mode' so that this function always
16080 indents syntactically.
16082 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
16083 where a class beginning with a nested class could cause an
16084 infinite loop (the state outside the narrowed out class is
16087 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16089 * progmodes/cc-align.el, progmodes/cc-cmds.el,
16090 progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
16091 the context sensitive analysis inside macros is restricted to
16092 the bodies of #define's; other things, like #if expressions,
16093 never have anything in common with their surroundings.
16094 The old `cpp-macro-cont' syntax is now used in situations where
16095 the syntactic analysis isn't applicable, and a new syntactic
16096 element `cpp-define-intro' is used to add indentation in
16099 (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
16100 better reflect its use.
16102 * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
16103 continuation backslashes in the detection of `arglist-cont-nonempty'.
16105 * progmodes/cc-align.el: Use the vector form in the return
16106 value in all cases where lineup functions return absolute columns.
16108 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16110 * progmodes/cc-engine.el (c-add-stmt-syntax)
16111 (c-guess-basic-syntax): Anchor `brace-list-intro' and
16112 `bracec-list-close' better for brace lists nested inside expressions.
16114 * progmodes/cc-engine.el, progmodes/cc-langs.el,
16115 progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
16116 various language specific variables and their initialization.
16117 The keyword regexps are now lists that are combined with
16118 regexp-opt. Some variables have changed names to fit better
16119 with the naming convention.
16121 * progmodes/cc-defs.el, progmodes/cc-vars.el
16122 (c-buffer-is-cc-mode): The value is the mode symbol of the
16123 original CC Mode mode.
16125 (c-major-mode-is): Compare against the buffer local variable
16126 `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
16128 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16130 * progmodes/cc-engine.el (c-forward-syntactic-ws)
16131 (c-backward-syntactic-ws, c-forward-token-1)
16132 (c-backward-token-1, c-in-literal, c-literal-limits)
16133 (c-collect-line-comments, c-literal-type, c-on-identifier)
16134 (c-guess-basic-syntax): These functions are now considered part
16135 of the "CC Mode API" and may be used by other code.
16136 That's signified by making their documentation into docstrings.
16138 (c-whack-state, c-hack-state, c-skip-case-statement-forward):
16139 Removed these internal functions since they aren't used.
16141 (c-forward-to-cpp-expression): Classified this function as internal.
16143 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16145 * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
16146 Simplified these regexps; the class keywords they contain
16147 ought to be enough to avoid false matches, so checking for
16148 following identifiers etc is just unnecessary (and might also
16149 fail for oddly formatted code).
16151 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16153 * progmodes/cc-engine.el, progmodes/cc-cmds.el
16154 (c-forward-comment-lc): New function that behaves like
16155 `c-forward-comment', with the exception that line
16156 continuations are treated as whitespace.
16158 (c-beginning-of-statement): Use `c-forward-comment-lc', to
16159 work correctly in macros and other places where line
16160 continuations should be treated as whitespace.
16162 * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
16163 normal label in a switch block as a case label, to get
16164 consistent lineup with the case labels.
16166 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
16167 in skipping over a macro that ends with an empty line.
16169 * progmodes/cc-styles.el: Require cc-align since styles added
16170 with `c-add-style' often contains references to functions
16171 defined there, and so the `c-valid-offset' check might
16172 otherwise complain on them.
16174 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16176 * progmodes/cc-align.el, progmodes/cc-mode.el:
16177 * progmodes/cc-vars.el: Added two new lineup functions:
16179 (c-lineup-knr-region-comment): A new lineup function to get
16180 (what most people think is) better indentation of comments in
16181 the "K&R region" between the function header and its body.
16183 (c-lineup-gcc-asm-reg): New lineup function for better
16184 indentation inside gcc asm blocks. Contributed by Kevin Ryde.
16186 (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
16187 `c-lineup-knr-region-comment' in the default offset
16188 configuration, since these two functions have little impact
16189 outside their intended use, and they generally do the right
16190 thing when they kick in.
16192 * progmodes/cc-engine.el (c-guess-continued-construct)
16193 (c-guess-basic-syntax): Handle nested functions in all
16194 languages, not just Pike. In C and C++ there's a gcc
16195 extension for this, and it also gives better treatment of
16196 macros that are followed by blocks.
16198 * progmodes/cc-langs.el (c-symbol-key): Made this variable
16199 mode specific, to handle Pike special symbols like `== better.
16201 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16203 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
16204 progmodes/cc-vars.el (c-report-syntactic-errors): A new
16205 variable to control the syntactic error messages. It defaults
16206 to off; since CC Mode ignores most syntactic errors it might
16207 as well ignore them all for the sake of consistency.
16209 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16211 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
16212 Optimization. Can give a noticeable speedup if there's a
16213 large preceding function or class body.
16215 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16217 * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
16218 efficient and correct insertion functions in many places.
16219 Always inherit text properties correctly if the text is
16220 permanent. Also do it for speed in temporary insertions,
16221 since I figure it's less work to continue the surrounding text
16222 properties than to break them.
16224 * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
16225 completion to make it easier to enter lists.
16227 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16229 * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
16230 c-state-cache was clobbered.
16232 * progmodes/cc-cmds.el, progmodes/cc-engine.el
16233 (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
16236 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16238 * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
16239 open parens in macros (if point isn't in the same one).
16241 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16243 * progmodes/cc-cmds.el (c-context-open-line): New function
16244 that is the `open-line' equivalent to `c-context-line-break'.
16246 * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
16247 for Emacs 21 since `indent-new-comment-line' has been changed
16248 to `comment-indent-new-line' there.
16250 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16252 * progmodes/cc-engine.el, progmodes/cc-langs.el
16253 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
16254 New variables containing the character sets used to recognize
16255 statement/declaration boundaries. These variables might help
16256 to support languages like javascript and awk, where newlines
16257 sometimes delimits statements.
16259 (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
16260 the set of statement delimiting characters, to allow it to be
16261 changed dynamically and per-mode.
16263 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16265 * progmodes/cc-engine.el (c-looking-at-bos)
16266 (c-looking-at-inexpr-block, c-add-stmt-syntax)
16267 (c-guess-basic-syntax): Treat blocks directly inside function
16268 calls like "bare" statements inside function calls, and not
16269 like in-expression statements. This to make indentation of
16270 such blocks consistent with other statements inside macro calls.
16272 * progmodes/cc-engine.el (c-guess-basic-syntax):
16273 Made arglist-cont anchor correctly in arglists that contain statements.
16275 * progmodes/cc-engine.el (c-guess-basic-syntax):
16276 Fixed consistent anchoring of defun-block-intro in defuns in code
16277 blocks (can only occur in Pike).
16279 * progmodes/cc-engine.el (c-looking-at-inexpr-block)
16280 (c-looking-at-inexpr-block-backward): Changed the arguments to
16281 require containing sexps and paren state, for better efficiency.
16283 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16285 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
16286 progmodes/cc-vars.el: Improved anchoring of statement and
16287 handling of labels in front of substatements.
16289 (c-guess-continued-construct, c-guess-basic-syntax):
16290 Improved and unified anchoring at statements. Statements beginning
16291 with comments or labels are now avoided, by going out of
16292 blocks and containing statements if necessary. This nesting
16293 handling also fixes the case when there's a statement after a
16294 block open brace. Added the syntactic symbol `substatement-label'.
16296 (c-electric-colon): Map the new `substatement-label' to
16297 `label' when consulting `c-hanging-colons-alist'.
16299 (c-offsets-alist): Added substatement-label. Updated the
16300 comments for the new anchoring positions at statements.
16302 * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
16303 anchor points for knr-argdecl-intro and access-label.
16304 They used to refer to some point on the same line, a bug which was
16305 neutralized by a kludge in `c-get-syntactic-indentation' which
16306 ignored such anchor points.
16308 (c-get-syntactic-indentation): Removed the kludge that was
16309 necessary due to buggy anchor points.
16311 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
16312 the absence of a comma before arglist-close (case 7A) in any
16313 language, since there's nothing better to do that case anyway.
16314 Added special case to make in-expression statements be
16315 recognized as normal arglist-cont if we're directly in a macro
16316 arglist, for consistency with other "bare" statements.
16318 * progmodes/cc-engine.el (c-looking-at-bos): Added optional
16319 limit arg for backward searches.
16321 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
16322 Anchor gcc in-expression statements at the surrounding open
16323 parenthesis. Treat a class body as an in-expression class if
16324 it's used in an object clone expression in Pike.
16326 * progmodes/cc-engine.el (c-get-offset)
16327 (c-get-syntactic-indentation): Allow several anchor positions
16328 in the list of syntactic symbols. Only the first is used as
16329 the base for the offset calculation.
16331 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16333 * progmodes/cc-cmds.el (c-indent-defun): Indent the current
16334 macro if inside one at the top level. Do not throw an error
16335 if used at the top level outside a macro.
16337 * progmodes/cc-cmds.el (c-backslash-region): Do tab width
16338 alignment only if the backslashes can't be aligned with
16339 surrounding backslashes.
16341 * progmodes/cc-engine.el (c-end-of-macro): New function.
16343 * progmodes/cc-engine.el (c-least-enclosing-brace):
16344 Rewritten to not be destructive.
16346 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16348 * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
16349 line break when point is inside the content of it; if it's in
16350 the cpp keyword a normal line break is done.
16352 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
16353 cpp-macro-cont inside the argument list to a #define.
16355 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16357 * progmodes/cc-defs.el (c-forward-comment): Implemented a
16358 kludge to avoid the problem most forward-comment incarnations
16359 have with `\' together with comment parsing.
16361 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16363 * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
16364 which could cause the state returned by `c-parse-state' to
16365 lack a closed paren element. That in turn could result in
16366 very long searches, since it's common that they start from the
16367 last preceding close brace.
16369 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16371 * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
16372 treat else-if as a single continuation, since that'd make it
16373 hard to get the right anchor point when there's a line break
16374 between the two keywords. This change causes else-clause to
16375 be anchored on the closest preceding else-if and not always on
16376 the starting if, but that doesn't affect the indentation for
16377 any reasonably sane style. Also introduced a noerror flag.
16379 (c-beginning-of-closest-statement): Removed;
16380 c-beginning-of-statement-1 now avoids the problem this one solved.
16382 * progmodes/cc-engine.el (c-guess-continued-construct)
16383 (c-guess-basic-syntax): Better and more uniform anchor points
16384 for 'statement-cont and 'substatement. The effect is
16385 noticeable mostly when there's a label on the same line as the
16386 beginning of the statement, or when there are more stuff
16387 before the start of the statement.
16389 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
16390 Added flag to disable looking at the type of the surrounding paren
16391 since that confuses c-beginning-of-statement-1 and a couple of
16394 * progmodes/cc-engine.el (c-guess-basic-syntax):
16395 Avoid stepping to the previous statement in case 18.
16396 Improvements in recognition of statement blocks on the top level.
16398 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16400 * progmodes/cc-engine.el (c-beginning-of-statement-1)
16401 (c-crosses-statement-barrier-p): Rewritten to get a well
16402 defined and documented behavior. This fixes some tricky cases
16403 in recognition of do-while constructs.
16405 (c-backward-to-start-of-do, c-backward-to-start-of-if):
16406 Removed; use c-beginning-of-statement-1 instead.
16408 (c-guess-continued-construct, c-guess-basic-syntax):
16409 Various fixes to not depend on the bugs previously in
16410 c-beginning-of-statement-1. Cleanups in cases 18 and 17 to
16411 use the new behavior of c-beginning-of-statement-1 better.
16412 Fixed recognition of catch blocks inside macros.
16414 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
16415 in skipping over a macro.
16417 * progmodes/cc-langs.el (c-label-kwds): New variable to
16418 contain the appropriate c-*-label-kwds value.
16420 * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
16421 evaluation bug that caused the widget for
16422 c-block-comment-prefix to bug out.
16424 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16426 * progmodes/cc-engine.el (c-guess-basic-syntax):
16427 Improved recognition of statements: They are now recognized in
16428 contexts where they normally can't occur, e.g. on the top level or
16429 in function call arguments. This is mainly useful to recognize
16430 statements in macros at the top level, and in arguments to
16431 macros. The cases has been moved around quite a bit, and case
16432 10 has been copied to case 18. (The cases has not been
16433 renumbered because of this.)
16435 (c-guess-continued-construct): New function which has the
16436 rules which are common between cases 10 and 18.
16438 * progmodes/cc-engine.el (c-beginning-of-statement-1)
16439 (c-backward-to-start-of-do, c-backward-to-start-of-if):
16440 Fixes so that they really obey the passed limits.
16442 (c-safe-position): Return nil if the state doesn't contain a
16445 (c-guess-basic-syntax): Fixes some too short limits in calls
16446 to c-beginning-of-statement-1. Some fixes for top level
16447 analysis in ObjC mode.
16449 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16450 Fixed bug in do-while statements where the body is not a block.
16452 * progmodes/cc-styles.el (c-set-style):
16453 Reset c-special-indent-hook to its global value if in override mode.
16454 Fixes problem where functions on that hook remained after
16457 * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
16458 Use c-benign-error to report the c-strict-syntax-p error.
16460 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16462 * progmodes/cc-align.el, progmodes/cc-defs.el:
16463 * progmodes/cc-cmds.el, progmodes/cc-engine.el, progmodes/cc-vars.el:
16464 Several fixes to treat macros as code and not literals and to
16465 handle line continuations transparently.
16467 (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
16468 through whitespace and line continuations, but not comments
16471 (c-in-literal): No longer recognizes macros as literals by
16472 default. An extra flag argument is required to do that.
16474 (c-macro-start, c-query-macro-start)
16475 (c-query-and-set-macro-start): Added a cache for the macro
16478 (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
16479 more speed when limits are given. Workaround for bad behavior
16480 in forward-comment in some emacsen when it hits a buffer limit
16481 with a large repeat count.
16483 (c-lineup-macro-cont): Improved behavior when
16484 c-syntactic-indentation-in-macros is nil.
16486 (c-syntactic-indentation-in-macros, c-backslash-max-column)
16487 (c-auto-align-backslashes): New customization variables to
16488 control macro handling.
16490 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
16491 Fixes to handle line continuations.
16493 * progmodes/cc-defs.el, progmodes/cc-styles.el
16494 (c-get-style-variables, c-set-offset): Report style errors
16495 with message and ding instead of error signal. This to avoid
16496 interrupted mode init if there's some style problem.
16498 (c-benign-error): New macro to report errors that doesn't need
16499 to interrupt the operation.
16501 * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
16503 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16505 * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
16506 Removed most of the c-state-cache fiddling, since the global
16507 state cache now handles this.
16509 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
16510 when there's an open paren at the very first char of the
16511 visible buffer region.
16513 * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
16514 Cache the state globally and invalidate it below every buffer
16515 change with the new after change function
16516 `c-check-state-cache'. This gives a considerable performance
16517 boost when editing large functions or classes.
16519 * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
16521 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16523 * progmodes/cc-engine.el, progmodes/cc-langs.el,
16524 progmodes/cc-align.el: Improvements to syntactic analysis
16527 (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
16528 by `c-guess-basic-syntax'.
16530 (c-parse-state): Fixed bug with braces inside macros when
16531 using cached state info.
16533 (c-forward-to-cpp-expression): New function to aid in
16534 syntactic analysis inside macros.
16536 (c-beginning-of-statement-1, c-backward-syntactic-ws):
16537 Fixes to work better inside macros.
16539 (c-forward-syntactic-ws): Whitespace between the # and the
16540 command should be allowed in preprocessor directives.
16542 (c-lineup-macro-cont): New lineup function to get context
16543 sensitive indentation inside macros.
16545 (c-offsets-alist): Made `c-lineup-macro-cont' the default for
16548 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16550 * progmodes/cc-engine.el (c-beginning-of-statement-1)
16551 (c-forward-syntactic-ws): Fixes to handle continued lines.
16553 (c-backward-to-start-of-if, c-guess-basic-syntax):
16554 Do syntactic analysis inside macros.
16556 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16558 * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
16559 possible by the more flexible state cache.
16561 * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
16562 (c-whack-state-after, c-hack-state)
16563 (c-narrow-out-enclosing-class, c-guess-basic-syntax):
16564 Improved the state cache system. It now can use partial info from
16565 an old cached state to calculate a new one at a different
16566 position. Removed some kludges to avoid the state cache.
16567 The new functions `c-whack-state-before' and `c-whack-state-after'
16568 replace the now obsolete `c-whack-state'.
16570 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16571 Optimized backing through a macro. This can speed things up
16572 quite a bit when there are long macros before point.
16574 (c-beginning-of-macro): Do not ignore the limit.
16576 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16578 * progmodes/cc-cmds.el (c-electric-continued-statement):
16579 Fixed a bug where the keyword wasn't reindented correctly if
16580 followed by another keyword or identifier.
16582 * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
16583 pairs that are in macros. Fixes some cases where e.g. the
16584 second of two "do { } while (0)" macros after each other
16585 indented differently.
16587 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16589 * progmodes/cc-engine.el (c-beginning-of-macro)
16590 (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
16591 directive when it begins a line, to allow for script
16592 interpreter lines like "#!/usr/bin/pike" at the beginning of
16595 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16597 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
16598 Recognize brace blocks inside a parenthesis expression as
16599 inexpr-statement. Useful when writing statements as macro arguments.
16601 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16603 * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
16604 (c-mask-comment): Broke out the comment masking code from
16605 `c-fill-paragraph' to a new function `c-mask-comment', to be
16606 able to do the same thing in `c-do-auto-fill'. This should
16607 make auto-fill-mode behave better.
16609 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16611 * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
16612 Check `executing-macro' to avoid blinking parens when macros
16615 * progmodes/cc-mode.el, progmodes/cc-styles.el
16616 (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
16617 consistency with `c-setup-paragraph-variables' (which was
16618 placed there due to the dependency from `c-set-style').
16620 * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
16621 incomplete initialization from the style variable fallbacks if
16622 there already is a style called "user" defined when CC Mode
16623 starts up for the first time.
16625 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16627 * progmodes/cc-cmds.el, progmodes/cc-vars.el
16628 (c-comment-indent, c-indent-comment-alist): Added new variable
16629 `c-indent-comment-alist' to allow better control over
16630 `c-comment-indent'.
16632 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16634 * progmodes/cc-align.el (c-lineup-C-comments): Try to match
16635 both `comment-start-skip' and the comment prefix on the
16636 current line with the comment starter, so that we line up
16637 comments which matches `c-comment-prefix-regexp' on the first
16638 line (after the `/') without the need to make
16639 `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
16641 * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
16642 (c-set-style-1, c-setup-paragraph-variables): Moved the
16643 variable initialization based on `c-comment-prefix-regexp' to
16644 a new function `c-setup-paragraph-variables', which is now
16645 used both at mode init and when a style that sets
16646 `c-comment-prefix-regexp' is activated.
16648 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16650 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
16651 Better handling of C++ template args to avoid confusion with
16652 `<' and `>' used as operators in member init expressions.
16654 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16656 * progmodes/cc-engine.el (c-most-enclosing-brace)
16657 (c-least-enclosing-brace): Added optional second arg to limit
16658 the search to before a certain point.
16660 * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug which
16661 could cause incorrect analysis if a cached state is used (usually
16662 only happens when an electric key reindents a line).
16664 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16666 * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
16667 insulation. This time for XEmacs 21.
16669 * progmodes/cc-engine.el, progmodes/cc-langs.el:
16670 Improved handling of inheritance lists:
16672 (c-beginning-of-inheritance-list): Rewritten to use a more
16673 syntactically correct method that doesn't get confused by
16674 badly placed linebreaks and comments.
16676 (c-guess-basic-syntax): Several fixes to the handling of
16677 inheritance lists in combination with templates. 'inher-intro
16678 is now anchored on the start of the class declaration and not
16679 the indentation of the current line. Switched places on cases
16680 5D.3 and 5D.4 and made them use more syntactically correct methods.
16682 (c-inher-key): Removed since the code in
16683 `c-guess-basic-syntax' now uses token-based search.
16685 * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
16686 Added a submenu to access some toggles.
16688 (c-toggle-syntactic-indentation): New function to toggle the
16689 variable `c-syntactic-indentation'.
16691 * progmodes/cc-styles.el (c-set-style): Improved the error
16692 message for incorrect offsets a bit.
16694 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16696 * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
16697 sexp follows point immediately, instead find the closest
16698 following open paren that ends on another line.
16700 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16702 * progmodes/cc-align.el (c-lineup-cascaded-calls):
16703 New indentation function.
16705 * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
16706 directives with whitespace between the '#' and the name.
16708 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16710 * progmodes/cc-engine.el (c-forward-syntactic-ws)
16711 (c-backward-syntactic-ws): Handle line continuations as
16712 whitespace. Don't move past a macro if that'd take us past
16715 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16717 * progmodes/cc-engine.el (c-beginning-of-macro)
16718 (c-forward-syntactic-ws): Multiline strings begin with `#"' in
16719 Pike, and that shouldn't be confused with a preprocessor directive.
16721 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16723 * progmodes/cc-cmds.el: Extended the kludge to interoperate
16724 with the delsel and pending-del packages wrt to the new
16725 function `c-electric-delete-forward'.
16727 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16729 * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
16730 the block itself, i.e. only indent the contents in it.
16732 * progmodes/cc-styles.el (c-set-style): Use the default
16733 argument to completing-read instead of initial-contents, if
16734 the function is recent enough to support it.
16736 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16738 * progmodes/cc-mode.el (c-mode-help-address):
16739 Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
16740 I've almost never seen a bug reported this way that should go
16741 to that list, but it's rather common that the reports concern
16742 the combination CC Mode and XEmacs instead.
16744 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16746 * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
16747 brace-elseif-brace and brace-catch-brace are active and
16748 there's a "else if"-block before the catch block.
16750 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
16751 Detect function headers that span lines.
16753 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16755 * progmodes/cc-cmds.el (c-electric-brace)
16756 (c-electric-semi&comma, c-electric-colon, c-electric-paren):
16757 Check for last on line only for doing the auto-newline-mode
16758 stuff, not for the reindentation.
16760 * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
16761 handling of c-syntactic-indentation: When it's nil, indent the
16762 new lines but don't reindent the current one. Reindent the
16763 line only when the inserted brace comes first on it, instead
16766 * progmodes/cc-cmds.el (c-electric-brace)
16767 (c-electric-semi&comma): Fixed two places where
16768 c-syntactic-indentation wasn't heeded.
16770 * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
16773 * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
16774 little harder to find a fallback position when an orphan else
16775 is found. Fixed case where an else following a do-while
16776 statement could be associated with an if inside the do-while.
16778 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16780 * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
16781 for the fallback to add a single space after the comment prefix.
16783 * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
16784 behavior in some special cases, especially for single-line comments.
16785 Avoid breaking up a comment starter or ender.
16787 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16789 * progmodes/cc-cmds.el (c-outline-level): Applied patch from
16790 the Emacs sources to make this work in invisible text.
16792 * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
16793 not be confused by a later ':' on the same line as the label.
16795 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16797 * progmodes/cc-cmds.el, progmodes/cc-mode.el
16798 (c-electric-delete, c-electric-delete-forward):
16799 Split `c-electric-delete' into two functions where
16800 `c-electric-delete-forward' always deletes forward and
16801 `c-electric-delete' only contains the code necessary for
16802 XEmacs to choose between backward and forward deletion.
16803 `c-electric-delete-forward' is now bound to C-d to get the
16804 electric behavior on that key too.
16806 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16808 * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
16809 use of c-comment-prefix-regexp, which caused an error when
16812 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16814 * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
16815 (c-default-style): Removed the hardcoded switch to "java" style
16816 in Java mode. It's instead taken care of by the default value
16817 for c-default-style.
16819 2002-04-22 Martin Stjernholm <bug-cc-mode@gnu.org>
16821 * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
16822 was triggered by equal signs in string literals.
16824 2002-04-21 Kim F. Storm <storm@cua.dk>
16826 * subr.el (insert-buffer-substring-no-properties): New function.
16827 (insert-buffer-substring-as-yank): New function.
16829 2002-04-21 Glenn Morris <gmorris@ast.cam.ac.uk>
16831 * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
16832 (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
16833 prefix from scroll commands. Ignore end-of-buffer errors from
16835 (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
16837 (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
16840 * files.el (auto-mode-alist): .f95 files in f90-mode.
16842 * progmodes/fortran.el (fortran-beginning-do): Make regexp match
16843 a DO statement irrespective of numeric label.
16845 2002-04-20 Glenn Morris <gmorris@ast.cam.ac.uk>
16847 * files.el (auto-save-file-name-transforms): Doc fix.
16848 Add third element to "uniquify" filenames.
16849 (make-auto-save-file-name): Use new element of
16850 auto-save-file-name-transforms.
16851 * startup.el (command-line): Add third element to
16852 auto-save-file-name-transforms.
16854 2002-04-19 Stefan Monnier <monnier@cs.yale.edu>
16856 * files.el (file-name-non-special): Don't mangle the 0'th arg and the
16857 return value of file-name-completion and file-name-all-completions.
16859 2002-04-19 Glenn Morris <gmorris@ast.cam.ac.uk>
16861 * progmodes/f90.el: Update maintainer.
16862 (f90-line-continued): Recognize blank/comment lines embedded in
16863 continuation lines.
16864 (f90-looking-at-program-block-start): No extra indentation after
16865 function or subroutine keyword appears in single quotes.
16867 2002-04-19 Miles Bader <miles@gnu.org>
16869 * custom.el (customize-mark-to-save, customize-mark-as-set)
16870 (custom-quote): Moved here from `cus-edit.el'.
16871 * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
16872 (custom-quote): Moved to `custom.el'.
16874 2002-04-18 Richard M. Stallman <rms@gnu.org>
16876 * facemenu.el (list-text-properties-at): Command deleted.
16878 * rect.el (insert-rectangle): Use insert-for-yank.
16880 * register.el (insert-register): Use insert-for-yank.
16881 (describe-register-1): Discard text props in yank-excluded-properties.
16883 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
16884 Fix parts in construction of `menu-item' item at end.
16886 * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
16888 * subr.el (insert-for-yank): New function.
16890 * simple.el (yank-excluded-properties): New user option.
16891 (yank-pop, yank): Use insert-for-yank.
16893 2002-04-19 Kim F. Storm <storm@cua.dk>
16895 * simple.el (pop-to-mark-command): Do not set this-command.
16896 (set-mark-command): Always jump to mark when called with arg.
16898 2002-04-18 Francesco Potortì <pot@gnu.org>
16900 * comint.el (comint-watch-for-password-prompt): Remove whitespace
16901 at the beginning of password prompts.
16903 2002-04-18 Andrew Innes <andrewi@gnu.org>
16905 * facemenu.el: Remove require of wid-edit.
16907 2002-04-17 Colin Walters <walters@verbum.org>
16909 * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
16911 (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
16912 (ibuffer-current-state-list): Reinstate optional argument; now
16913 just call `point' inside the mapping function.
16915 2002-04-17 Francesco Potortì <pot@gnu.org>
16917 * dired-aux.el (dired-star-subst-regexp)
16918 (dired-quark-subst-regexp): New constants.
16919 (dired-do-shell-command, dired-shell-stuff-it): Use them.
16920 (dired-do-shell-command): Raise an error if both `*' and `?'
16921 substitution marks are used in the same command.
16922 (dired-shell-stuff-it): Substitute all instances of `*' and `?'
16923 in a command given via dired-do-shell-command.
16925 * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
16927 2002-04-16 Jason Rumney <jasonr@gnu.org>
16929 * international/mule-cmds.el (locale-preferred-coding-systems):
16932 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
16934 * term.el (term-emulate-terminal): Fix last change.
16936 2002-04-16 Pavel JanÃk <Pavel@Janik.cz>
16938 * bindings.el (mode-line-mode-menu): Update names to reflect
16941 2002-04-16 Mike Williams <mdub@bigfoot.com>
16943 * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
16946 2002-04-16 Michael Kifer <kifer@cs.stonybrook.edu>
16948 * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
16949 (viper-ex-print-buf-name): New variable.
16950 (viper-ex-print-buf): New variable.
16951 (ex-token-alist): Invoke ex-print on ":print" Ex commands.
16952 (ex-g-marks): New variable.
16953 (ex-print): New function.
16954 (ex-print-display-lines): New function.
16956 * viper.el (viper-set-hooks): Add window-setup-hook, which sets
16959 * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
16960 when the window is not in its own frame.
16961 (ediff-clone-buffer-for-region-comparison): More robust window
16962 arrangement while prompting for regions to compare.
16963 (ediff-make-cloned-buffer): Use generate-new-buffer-name.
16964 (ediff-inferior-compare-regions): Deleted unused vars
16965 ctl-buf and quit-now.
16967 2002-04-15 Richard M. Stallman <rms@gnu.org>
16969 * facemenu.el (facemenu-add-new-face): Use this only for faces.
16971 (facemenu-add-new-color): New function.
16972 (facemenu-set-foreground, facemenu-set-background):
16973 Use facemenu-add-new-color.
16975 2002-04-15 Eli Zaretskii <eliz@is.elta.co.il>
16977 * ediff-init.el (ediff-current-diff-face-A)
16978 (ediff-current-diff-face-B, ediff-current-diff-face-C)
16979 (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
16980 (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
16981 (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
16982 (ediff-even-diff-face-B, ediff-even-diff-face-C)
16983 (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
16984 (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
16985 (ediff-odd-diff-face-Ancestor): Add special color definitions for
16986 tty and MS-DOS displays.
16988 2002-04-15 Andrew Innes <andrewi@gnu.org>
16990 * facemenu.el: Require wid-edit.
16992 2002-04-15 Miles Bader <miles@gnu.org>
16994 * faces.el (highlight): Force foreground to be black on a tty, so
16995 this face is readable on a dark-background tty.
16996 * wid-edit.el (widget-field-face, widget-single-line-field-face):
16999 2002-04-14 Kim F. Storm <storm@cua.dk>
17001 * simple.el (pop-to-mark-command, push-mark-command): New commands.
17002 (set-mark-command): Use them.
17003 Enhanced functionality when command is repeated:
17004 - If first command set the mark (no prefix arg), repeat temporarily
17005 enables transient-mark-mode.
17006 - If first command jumped to mark off ring (with argument),
17007 repeat (with or without arg) jump to next mark off ring.
17008 - Use C-u C-u prefix to set mark after jump.
17009 (exchange-point-and-mark): Temporarily enable transient-mark-mode
17012 2002-04-14 Pavel JanÃk <Pavel@Janik.cz>
17014 * speedbar.el (speedbar-tag-hierarchy-method)
17015 (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
17017 2002-04-14 Mike Williams <mdub@bigfoot.com>
17019 * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
17020 beginning of buffer.
17022 2002-04-14 Pavel JanÃk <Pavel@Janik.cz>
17024 * speedbar.el (speedbar-generic-item-info)
17025 (speedbar-sort-tags): Doc fix.
17026 (speedbar-add-supported-extension): Fix typo in interactive spec.
17028 2002-04-13 Colin Walters <walters@verbum.org>
17030 * ibuffer.el (ibuffer-forward-line): Just skip header if we're
17031 only moving one line forward.
17032 (ibuffer-map-lines): Preserve point position even if we delete
17033 lines. Only call mapping functions with buffer and mark
17034 arguments; the other two were unused.
17035 (ibuffer-redisplay, ibuffer-update): Always skip special areas.
17037 * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
17039 * calc/calc-bin.el (math-format-radix-float): Use `when'.
17041 * calc/calc.el (math-format-number): Load `calc-ext' before we
17042 call `math-group-float'.
17044 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17045 Renamed from `gamegrid-add-score'.
17046 (gamegrid-add-score-insecure): Restored from the old
17047 `gamegrid-add-score'.
17048 (gamegrid-add-score): Just dispatch on `system-type' to one of the
17049 previous two functions.
17051 2002-04-13 Pavel JanÃk <Pavel@Janik.cz>
17053 * iswitchb.el: Update commentary to include new function
17054 iswitchb-exclude-nonmatching.
17056 2002-04-12 John Wiegley <johnw@gnu.org>
17058 * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
17059 operating systems to the regexp used to detect a script's interpreter.
17061 2002-04-12 Eli Zaretskii <eliz@is.elta.co.il>
17063 * frame.el (frames-on-display-list): Use `equal' to compare the
17064 `display' frame parameter to the argument DISPLAY.
17066 2002-04-12 Dave Love <fx@gnu.org>
17068 * help.el (string-key-binding): Deal with margin events.
17070 2002-04-12 Francesco Potortì <pot@gnu.org>
17072 * comint.el (comint-password-prompt-regexp): Match " SMB password".
17074 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
17076 * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
17078 * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
17080 * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
17081 (buffer-syntactic-context-depth): New funs.
17083 * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
17086 * emacs-lisp/debug.el (debug-on-entry): Use push.
17087 (debugger-make-xrefs): Don't assume point-min == 1.
17089 * progmodes/cc-engine.el (c-backward-to-start-of-if):
17090 Don't assume point-min == 1.
17092 * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
17093 (etags-list-tags, etags-tags-apropos, select-tags-table):
17094 Don't assume point-min == 1.
17096 2002-04-12 Mike Williams <mdub@bigfoot.com>
17098 * textmodes/sgml-mode.el (sgml-guess-indent): New function.
17100 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
17102 * textmodes/fill.el (fill-context-prefix): Fix up last change.
17104 * simple.el (line-move): Use memq rather than or.
17105 (transpose-sexps): Don't presume as much of forward-sexp's behavior.
17106 (do-auto-fill): Use fill-move-to-break-point.
17107 (syntax-code-table): Remove.
17109 * textmodes/fill.el (canonically-space-region): Obey sentence-end.
17110 Don't add spaces at end of sentences at end of line.
17111 (fill-move-to-break-point): Make sure the result is always greater
17112 than linebeg, so we ensure forward progress.
17113 (fill-region-as-paragraph): Compare to `to' rather than eobp.
17114 (fill-paragraph): Don't rebind fill-paragraph-function.
17116 2002-04-11 Pavel JanÃk <Pavel@Janik.cz>
17118 * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
17120 2002-04-11 Andreas Schwab <schwab@suse.de>
17122 * files.el (file-name-non-special): Handle return value of t from
17123 `file-name-completion'.
17125 2002-04-10 Stefan Monnier <monnier@cs.yale.edu>
17127 * textmodes/fill.el (fill-context-prefix): Match the two prefixes
17128 differently to avoid pathological exponential-time case.
17129 (adaptive-fill-regexp): Add ! and %.
17130 (fill-delete-prefix): Remove indentation while removing prefix.
17131 (fill-delete-newlines): Obey sentence-end.
17132 (fill-move-to-break-point, fill-newline): New functions extracted
17133 from fill-region-as-paragraph.
17134 (fill-region-as-paragraph): Use them.
17135 Don't fiddle with fill-indent-according-to-mode.
17137 2002-04-10 Colin Walters <walters@verbum.org>
17139 * play/snake.el (snake-score-file): Default to just "snake-scores".
17141 * play/tetris.el (tetris-score-file): Likewise.
17143 * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
17144 use `update-game-score'.
17146 * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
17147 (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
17148 ourselves; take it as an argument. Caller updated.
17149 (ibuffer-mode): Make mode-class special.
17151 2002-04-10 Richard M. Stallman <rms@gnu.org>
17153 * dired.el (dired-view-command-alist): New variable.
17154 (dired-view-file): Use external viewers for some files names.
17156 * mouse.el (mouse-drag-region-1): Display region highlight
17157 only in the selected window.
17159 * subr.el (remove-hook): When there are no more local hooks,
17160 kill the buffer-local value.
17162 * isearch.el (isearch-mode): Don't call make-frame-visible
17163 if frame is already visible.
17165 * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
17167 2002-04-09 Emmanuel Briot <briot@act-europe.fr>
17169 * progmodes/ada-prj.el: Add support for the new project file
17170 fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd.
17171 Fix widget handling for Emacs 21. ada-mode now only supports a single
17172 active project file, instead of one per buffer. This is far less
17175 * progmodes/ada-stmt.el: Menu changed from Statements to Templates.
17176 (ada-func-or-proc-name): Get real subprogram name, after change in
17179 * progmodes/ada-xref.el: Ada-mode no longer supports a different
17180 project file per buffer. This was too complex. Instead, there is
17181 now a single active project file at any given time, and the user
17182 can switch the active one through the Ada menu. This revision
17183 also provides better handling of the Windows command line, and the
17184 various available shells on that platform. ada-mode is now fully
17185 integrated with the GNU visual debugger gvd, see
17186 http://libre.act-europe.fr.
17187 (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.
17188 This is only available with GNAT 3.14.
17189 (ada-prj-gnatfind-switches, ada-cd-command): New variable.
17190 (ada-quote-cmd): New function.
17191 (ada-initialize-runtime-library): Get the location of the actual
17192 runtime the compiler will be using, including support for
17193 cross-platform environments.
17194 (ada-treat-cmd-string): Add support for the new variable
17195 ${full_current} add support for debug-pre-cmd and debug-post-cmd,
17196 two commands to run just prior to running the debugger, and just
17197 after starting it. This provide better support for cross-platform
17198 and remote debugging.
17199 (ada-get-absolute-dir): Remove, replace with expand-file-name.
17200 (ada-gdb-application): New parameter executable-name.
17201 (ada-get-ali-file-name): Better handling of separate packages.
17202 Checkin on behalf of the ada-mode maintainer.
17204 * progmodes/ada-mode.el (ada-case-exception-file)
17205 (ada-indent-handle-comment-special): New variables.
17206 (ada-case-exception-substring): New variable. Casing exceptions
17207 can now also be defined for substrings, in addition to full
17208 identifier names. This provides more flexibility.
17209 (ada-align-list): New fun, provide support for align.el in ada-mode.
17210 (ada-procedure-start-regexp): Add support for operators and
17211 generic formal subprograms and packages.
17212 (ada-imenu-comment-re): New variable.
17213 (ada-imenu-generic-expression): Add support for protected types.
17214 (ada-mode): Set comment-start only after running ada-mode-hook, so
17215 that the user can change ada-comment-start in the hook.
17216 Add support for ispell in comments. Add support for align.el.
17217 (ada-save-exception-file, ada-create-case-exception-substring)
17218 (ada-adjust-case-substring): New functions.
17219 (ada-get-current-indent): Properly handles keywords with uppercases.
17220 (ada-goto-matching-end): Rewritten, fixes problems in the handling
17222 (ada-untab-hard): Do not touch the contents of comments and strings.
17224 2002-04-09 Mike Williams <mdub@bigfoot.com>
17226 * textmodes/sgml-mode.el (sgml-lexical-context):
17227 Use sgml-parse-tag-backward to find start point.
17228 (sgml-looking-back-at): Doc fix.
17230 2002-04-09 Pavel JanÃk <Pavel@Janik.cz>
17232 * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
17235 2002-04-08 Stefan Monnier <monnier@cs.yale.edu>
17237 * autorevert.el (auto-revert-mode, global-auto-revert-mode):
17238 Use define-minor-mode.
17239 (auto-revert-buffers): Use with-current-buffer.
17240 Avoid changing the minor modes.
17242 * international/iso-acc.el (iso-accents-accent-key): Use `vector'
17243 rather than char-to-string since last-input-char can be any event.
17245 * international/titdic-cnv.el (tit-dictionary):
17246 Use defvar for non-constants.
17248 * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
17249 (global-cwarn-mode): Use easy-mmode-define-global-mode.
17250 (cwarn-font-lock-keywords): New function.
17251 Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
17252 (cwarn-font-lock-match): New macro.
17253 (cwarn-font-lock-match-assignment-in-expression)
17254 (cwarn-font-lock-match-dangerous-semicolon)
17255 (cwarn-font-lock-match-reference): Use it.
17257 * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
17258 Use defvar rather than defconst since it's meant to be settable.
17259 (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
17260 (cperl-fix-line-spacing): Add missing \ in [ t].
17262 * loadup.el: Call ucs-unify-8859 directly rather than
17263 unify-8859-on-encoding-mode.
17264 (fns-*.el): Don't use it anymore. Keep the load-history in purespace.
17266 * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
17267 (sgml-mode): Use it for comment-line-break-function.
17269 2002-04-08 Jason Rumney <jasonr@gnu.org>
17271 * international/mule-cmds.el (reset-language-environment):
17272 Handle coding-systems not being defined yet.
17274 2002-04-08 Sam Steingold <sds@gnu.org>
17276 * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
17277 (vc-cvs-checkin): Use it.
17279 2002-04-08 Pavel JanÃk <Pavel@Janik.cz>
17281 * files.el (display-time-string): Fix last change.
17283 2002-04-07 Sam Steingold <sds@gnu.org>
17285 * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
17287 2002-04-07 Jason Rumney <jasonr@gnu.org>
17289 * international/mule-cmds.el (set-default-coding-systems)
17290 (reset-language-environment): Preserve eols on
17291 default-process-coding-system.
17292 (coding-system-change-text-conversion): Fix case where CODING is nil.
17294 2002-04-07 Pavel JanÃk <Pavel@Janik.cz>
17296 * subr.el (play-sound): Move here from simple.el.
17298 * simple.el (play-sound): Move to subr.el.
17300 2002-04-06 Richard M. Stallman <rms@gnu.org>
17302 * files.el (display-time-string-forms): Mark as risky.
17304 * enriched.el (enriched-decode-foreground, enriched-decode-background):
17305 Use proper format for desired elts of `face' property.
17306 Don't test display-color-p; make the properties unconditionally.
17308 * progmodes/compile.el (compilation-error-regexp-alist):
17309 New alternatives for FILE:LINE.COL and for ranges of columns and lines.
17311 2002-04-06 Per Abrahamsen <abraham@dina.kvl.dk>
17313 * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
17314 for customization type.
17315 Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
17317 2002-04-06 Mike Williams <mdub@bigfoot.com>
17319 * textmodes/xml-lite.el: Remove.
17321 2002-04-05 Pavel JanÃk <Pavel@Janik.cz>
17323 * simple.el (play-sound): New function (uses play-sound-internal).
17325 2002-04-04 Richard M. Stallman <rms@gnu.org>
17327 * files.el (mode-line-format, mode-line-modified)
17328 (mode-line-mule-info, mode-line-buffer-identification)
17329 (mode-line-modes, mode-line-position): Explicitly mark as risky.
17330 (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
17332 * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
17334 * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
17335 Use (syntax-table), not old-syntax-table.
17337 * enriched.el (enriched-decode-foreground)
17338 (enriched-decode-background): Don't call facemenu-get-face.
17340 2002-04-04 Mike Williams <mdub@bigfoot.com>
17342 * textmodes/sgml-mode.el: Add missing require.
17343 (sgml-lexical-context): Fix up CDATA detection for boundary cases.
17345 2002-04-03 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
17347 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
17348 spot indicated by text property `cvs-goal-column', if present.
17350 * pcvs-info.el (cvs-fileinfo-pp): Use text property
17351 `cvs-goal-column' to indicate position of file name (if present).
17353 2002-04-03 Richard M. Stallman <rms@gnu.org>
17355 * mail/mailabbrev.el (mail-abbrev-complete-alias):
17356 Call mail-abbrev-make-syntax-table.
17358 * format.el (format-deannotate-region): Doc fix.
17360 * enriched.el (enriched-face-ans): Delete special treatment
17361 for fg:... and bg:... faces.
17362 (enriched-decode-foreground): Return a list that specifies
17363 the foreground color, rather than creating a face.
17364 (enriched-decode-background): Likewise.
17366 * shell.el (shell-mode): Don't reinit comint-input-ring
17367 if that was already done.
17369 2002-04-03 Edward M. Reingold <reingold@emr.cs.iit.edu>
17371 * solar.el (solar-spring-or-summer-season): Delete.
17372 (solar-northern-spring-or-summer-season): New variable.
17373 (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
17376 * solar.el (diary-sabbath-candles-minutes): New variable.
17377 (diary-sabbath-candles): Use it instead of fixed 18 minutes.
17379 * calendar.el (update-calendar-mode-line): Force mode-line update.
17380 Make date under the cursor available as `date' in
17381 calendar-mode-line-format.
17382 Eval items in calendar-mode-line-format list.
17384 * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
17385 (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
17387 * cal-tex.el (cal-tex-latexify-list): Fix doc string.
17389 * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
17390 (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
17391 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17392 (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
17394 * cal-tex.el: Change all instances (interactive "P") to
17396 (cal-tex-cursor-month): Add hfill and newline at end of month that
17398 (cal-tex-preamble): Change to LaTeX2e.
17399 (cal-tex-cursor-filofax-year): Don't use default month names in
17400 LaTeX macros in case user changes them.
17401 (cal-tex-month-name): New function. Used throughout in case user
17402 has done something funny with month names.
17404 * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
17405 (diary-rosh-hodesh): Spelling correction.
17407 2002-04-03 Mike Williams <mdub@bigfoot.com>
17409 * textmodes/sgml-mode.el (sgml-lexical-context)
17410 (sgml-parse-tag-backward): Extend support for CDATA to include
17411 conditional sections.
17413 2002-04-03 Pavel JanÃk <Pavel@Janik.cz>
17415 * cus-start.el: Rename `autoselect-window' to
17416 `mouse-autoselect-window'.
17418 2002-04-02 Richard M. Stallman <rms@gnu.org>
17420 * files.el (hack-one-local-variable):
17421 Clear text props from string value.
17423 2002-04-02 Stefan Monnier <monnier@cs.yale.edu>
17425 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17426 (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
17428 (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
17430 (f90-procedures-re): Add `null' and `cpu_time' from F95.
17431 (f90-font-lock-keywords-1): Minor reorganization so we don't need
17432 `override' any more.
17433 (f90-font-lock-keywords-3): Use `keep' rather than `override'.
17434 (f90-indent-subprogram): Use indent-region.
17435 (f90-break-line): Use indent-according-to-mode.
17437 2002-04-02 Mike Williams <mdub@bigfoot.com>
17439 * textmodes/sgml-mode.el (sgml-close-tag): Rename from
17440 sgml-insert-end-tag. Simplify by using sgml-lexical-context.
17441 (sgml-get-context): Remove use of sgml-inside-tag-p.
17442 (sgml-inside-tag-p): Remove.
17443 (sgml-looking-back-at): Short-circuit at beg of buffer.
17444 (sgml-lexical-context, sgml-calculate-indent): Add support for
17447 2002-04-01 Stefan Monnier <monnier@cs.yale.edu>
17449 * help.el (help-key-description): New fun.
17450 (describe-key-briefly, describe-key): Use it and
17451 this-single-command-raw-keys plus new arg `untranslated'.
17453 * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
17454 (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
17455 (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
17456 (sgml-insert-end-tag): New funs taken from xml-lite.el.
17457 (sgml-calculate-indent): Use them.
17458 (sgml-slash-matching): Rename from sgml-slash.
17459 (sgml-slash): Copied from xml-lite and changed to use
17460 sgml-slash-matching and sgml-quick-keys.
17462 * international/mule-cmds.el (standard-keyboard-coding-systems):
17463 Add koi8-u and koi8-r.
17465 * eshell/.cvsignore: New file.
17467 * eshell/esh-groups.el: Remove.
17469 * progmodes/tcl.el: Change maintainer.
17470 (tcl-electric-hash-style): Change default to nil.
17471 (tcl-imenu-generic-expression): Use tcl-proc-regexp.
17472 (tcl-do-auto-fill): Remove.
17473 (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
17475 2002-04-01 Mike Williams <mdub@bigfoot.com>
17477 * textmodes/sgml-mode.el: Doc fixes.
17478 (sgml-mode): Set indent-line-function to sgml-indent-line.
17479 (sgml-calculate-indent): Add an explicit check for 'text syntax,
17480 to protect against future enhancements to sgml-lexical-context.
17481 (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
17483 * textmodes/xml-lite.el: Removed much redundant stuff.
17484 (xml-lite-parse-tag-backward): Simplify parsing by assuming we
17485 always start within text. Make use of sgml-unclosed-tag-p.
17487 2002-04-01 Ville Skyttä <ville.skytta@xemacs.org>
17489 * progmodes/tcl.el (tcl-imenu-generic-expression): New value.
17490 (tcl-imenu-create-index-function): Function deleted.
17491 (tcl-mode): Check for filladapt-mode.
17492 Use tcl-imenu-generic-expression instead of
17493 tcl-imenu-create-index-function.
17494 (inferior-tcl-mode): Doc fix.
17495 Change not legally significant.
17497 2002-04-01 Pavel JanÃk <Pavel@Janik.cz>
17499 * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
17501 * window.el (handle-select-window): New function.
17504 2002-04-01 Richard M. Stallman <rms@gnu.org>
17506 * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
17508 * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
17509 tool-bar-add-item, and new arg MAP.
17510 (tool-bar-add-item): Now calls tool-bar-local-item.
17511 (tool-bar-local-item-from-menu): Renamed from
17512 tool-bar-add-item-from-menu, and new arg IN-MAP.
17513 (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
17515 * help-fns.el (help-with-tutorial): Allow various ways
17516 to specify the text in the [...] line, in handling the <...> line.
17518 * progmodes/idlw-rinfo.el (idlwave-system-routines):
17519 WOLRDTITLE => WORLDTITLE. SUPRESS_VALUE => SUPPRESS_VALUE.
17521 * subr.el (redraw-modeline): Define alias.
17523 2002-03-31 Richard M. Stallman <rms@gnu.org>
17525 * files.el (file-expand-wildcards): Use save-match-data.
17527 * files.el (format-alist): Mark as risky.
17529 * simple.el (kill-new): Doc fix.
17531 * emacs-lisp/byte-opt.el (side-effect-free-fns)
17532 (side-effect-and-error-free-fns): Add many functions, remove some.
17534 2002-03-30 Richard M. Stallman <rms@gnu.org>
17536 * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
17538 2002-03-30 Eli Zaretskii <eliz@gnu.org>
17540 * font-lock.el (save-buffer-state): Fix last change.
17542 * files.el (auto-save-file-name-transforms): Fix last change.
17544 * startup.el (command-line): Fix last change.
17546 2002-03-29 Richard M. Stallman <rms@gnu.org>
17548 * subr.el (play-sound-file): Moved to simple.el.
17550 * simple.el (play-sound-file): Moved from subr.el, made unconditional.
17552 2002-03-29 Colin Walters <walters@verbum.org>
17554 * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
17555 instead of `forward-line'.
17556 (ibuffer-forward-line): Be sure to skip over special properties
17557 before moving, too.
17559 * calc/calc.el (calc-was-split): Var deleted.
17560 (calc): Remove reference to it.
17562 (calc-quit): Ditto.
17563 (calc-init-base): Ditto.
17565 * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
17567 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
17569 * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
17570 instead of nil when point is outside of any tag.
17571 (sgml-beginning-of-tag): Adjust to the change.
17572 (sgml-calculate-indent): Use the new info returned by
17573 sgml-lexical-context. Try to handle unclosed tags.
17575 * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
17576 at unclosed tags unless it is at indentation.
17577 Kill nested unclosed tags.
17578 (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
17579 (xml-lite-mode): Use sgml-indent-line instead.
17581 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
17583 * files.el (auto-save-file-name-transforms): Don't run "\\2" via
17586 * startup.el (command-line): Recompute auto-save-file-name-transforms
17587 using the updated value of temporary-file-directory.
17589 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
17591 * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
17592 even with an empty context. Don't save excursion any more.
17593 Don't complain about unmatched start-tags in sgml-unclosed-tags.
17594 Ignore end-tags in sgml-empty-tags.
17595 (xml-lite-get-context, xml-lite-calculate-indent)
17596 (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
17597 (xml-lite-indent-line): Use back-to-indentation.
17599 * textmodes/sgml-mode.el (sgml-basic-offset): New var.
17600 (sgml-name-re, sgml-attrs-re): New consts.
17601 (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
17602 (sgml-mode): Use them.
17603 (sgml-lexical-context): Default to (point-min) if nothing else works.
17604 (sgml-calculate-indent): Indent slightly differently.
17605 (sgml-indent-line): Use back-to-indentation.
17606 (sgml-parse-dtd): New function.
17607 (sgml-unclosed-tags): New var.
17608 (html-mode): Set it.
17610 2002-03-29 Simon Marshall <simon.marshall@misys.com>
17612 * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
17614 2002-03-29 Richard M. Stallman <rms@gnu.org>
17616 * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
17617 Use FILTER arg in dired-get-marked-files to exclude directories.
17618 (dired-nondirectory-p): New function.
17620 * dired.el (dired-get-marked-files): New arg FILTER
17621 allows selection of some files.
17623 * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
17625 2002-03-29 Eric M. Ludlam <eric@siege-engine.com>
17627 * speedbar.el (speedbar-default-directory-list): Made robust
17628 against deleted directories.
17630 2002-03-28 Richard M. Stallman <rms@gnu.org>
17632 * dired.el (dired-toggle-marks): Renamed from dired-do-toggle.
17635 * progmodes/compile.el (compilation-handle-exit):
17636 If compilation-window-height is 0, display status in echo area.
17638 * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
17640 * rect.el (replace-rectangle): Add autoload.
17642 * files.el: Mark many more variables as risky.
17643 (hack-one-local-variable): Recognize several additional
17646 * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
17648 2002-03-28 Stefan Monnier <monnier@cs.yale.edu>
17650 * textmodes/xml-lite.el (xml-lite-in-string-p):
17651 Use sgml-lexical-context.
17652 (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
17653 (xml-lite-get-context): Check that open/close tags match.
17654 Don't stop scanning while we're ignoring matching tags.
17656 * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
17657 (sgml-mode-syntax-table): Use it.
17658 (sgml-tag-syntax-table, sgml-tag-name-re): New const.
17659 (sgml-tags-invisible): Use it.
17660 (sgml-lexical-context): New fun.
17661 (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
17662 (sgml-quote): Accept \n as entity reference terminator.
17663 (sgml-calculate-indent, sgml-indent-line): New funs.
17665 2002-03-28 Andre Spiegel <spiegel@gnu.org>
17667 * vc-cvs.el (vc-cvs-global-switches): New user option.
17668 (vc-cvs-command): New function. Update all callers of
17669 `vc-do-command' in vc-cvs.el to use this instead.
17671 2002-03-27 Andrew Innes <andrewi@gnu.org>
17673 * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
17674 relying on shell globbing.
17676 2002-03-27 Colin Walters <walters@debian.org>
17678 * ibuffer.el (ibuffer-help-buffer-modes): New variable.
17679 (ibuffer-fontification-alist): Use it.
17680 (ibuffer-backward-line): Handle `ibuffer-summary' area.
17681 (ibuffer-forward-line): Ditto.
17683 * ibuf-ext.el (sorter mode-name): Doc fix.
17684 (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
17685 (operation query-replace): Use new `noerror' arg for
17686 `query-replace-read-args'.
17687 (operation query-replace-regexp): Ditto.
17689 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
17691 * textmodes/xml-lite.el: Fix copyright notice.
17692 (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
17693 (xml-lite-indent-comment-offset): Remove.
17694 (xml-lite-calculate-indent): Use new name. Use natural alignment
17696 (xml-lite-in-string-p): Simplify.
17698 2002-03-27 Pavel JanÃk <Pavel@Janik.cz>
17700 * allout.el (outline-layout): Doc fix.
17702 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
17704 * textmodes/xml-lite.el: Don't require `custom'.
17705 (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
17706 (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
17707 (xml-lite-get-context): Drop nested tags not just for comments.
17708 (xml-lite-indent-line): Be more careful about moving point.
17709 (xml-lite-insert-end-tag, xml-lite-slash):
17710 Use indent-according-to-mode instead of xml-lite-indent-line.
17711 (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
17712 Set sgml-xml-mode. Don't call force-mode-line-update.
17713 (xml-lite-mode-map): Don't bind TAB.
17715 2002-03-27 Zoltan Kemenczy <zoltan@ieee.org>
17717 * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
17719 (gud-jdb-build-source-files-list): Comment clarification.
17720 (gud-jdb-massage-args): Reworked into loop-based argument list
17721 processing in order to support -classpath and -sourcepath argument
17723 (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
17724 to gud-jdb-classpath to obtain search list.
17725 (gud-jdb-parse-classpath-string): Remove any trailing slashes from
17726 directory names in classpath/sourcepath lists, update comment.
17727 (jdb): Add setting of gud-jdb-sourcepath, update comment.
17728 (gud-find-class): Add gud-jdb-sourcepath use, and correct
17729 behavior for the case when classpath is not used--backward
17732 2002-03-27 Eli Zaretskii <eliz@is.elta.co.il>
17734 * Makefile.in (compile, compile-always): Don't try to compile
17735 non-existent files or files in empty directories.
17737 2002-03-26 Michael Ernst <mernst@alum.mit.edu>
17739 * compare-w.el (compare-windows-whitespace): Match all whitespace.
17741 * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
17742 copy of standard Lisp directories.
17744 * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
17745 Support "next has longname" link type.
17747 2002-03-26 Stefan Monnier <monnier@cs.yale.edu>
17749 * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
17750 (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
17752 (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
17753 (end-of-xml-tag): Remove.
17754 (xml-lite-get-context): Better handling of comments.
17755 (xml-lite-calculate-indent): Use xml-lite-in-string-p.
17756 (xml-lite-parse-tag-backward): Rewrite.
17758 2002-03-26 Juanma Barranquero <lektu@terra.es>
17760 * makefile.w32-in (WINS): Add the toolbar directory.
17762 2002-03-26 Richard M. Stallman <rms@gnu.org>
17764 * subr.el (substring-no-properties): Function deleted (now in C).
17766 2002-03-25 Pavel JanÃk <Pavel@Janik.cz>
17768 * mwheel.el (mouse-wheel-mode): Use global-set-key and
17771 2002-03-24 Richard M. Stallman <rms@gnu.org>
17773 * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
17775 * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
17776 to query-replace-read-args.
17778 * progmodes/compile.el (compilation-forget-errors):
17779 Don't adjust compilation-parsing-end if it's nil.
17781 * replace.el (query-replace-read-args): New optional arg NOERROR.
17782 (perform-replace): Use save-window-excursion around recursive edit.
17784 2002-03-24 Colin Walters <walters@verbum.org>
17786 * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
17787 non-nil, then always use another window.
17789 2002-03-24 Gerd Moellmann <gerd@gnu.org>
17791 * subr.el (macro-declaration-function): New function. Set the
17792 variable macro-declaration-function to it.
17794 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17795 Handle declarations in macro definitions.
17797 2002-03-24 Eli Zaretskii <eliz@is.elta.co.il>
17799 * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
17801 * enriched.el (enriched-face-ans): Support FACE of the form
17802 (:foreground COLOR) and (:background COLOR).
17803 (enriched-decode-foreground, enriched-decode-background): Set the
17804 fore- and background colors of the faces we create, since facemenu
17807 2002-03-24 Pavel JanÃk <Pavel@Janik.cz>
17809 * mwheel.el (mouse-wheel-mode): Use the result of
17810 current-global-map instead of the variable `global-map'.
17812 2002-03-23 Richard M. Stallman <rms@gnu.org>
17814 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
17815 broken out of sendmail-pre-abbrev-expand-hook.
17816 (sendmail-pre-abbrev-expand-hook): Use it.
17818 2002-03-22 Stefan Monnier <monnier@cs.yale.edu>
17820 * Makefile.in (finder-inf.el): Remove.
17821 (finder-data): Don't depend on finder-inf.el any more.
17822 (compile, compile-always): Handle the case where some files
17823 from DONTCOMPILE are missing (it tried to compile them).
17824 (bootstrap-clean): Use src/emacs only if executable.
17825 (bootstrap): Update subdirs.el and finder-inf.el.
17827 * finder.el: Don't load finder-inf.el during byte-compilation.
17829 * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
17830 Don't consider cvs-removed files as under VC control.
17831 VC wouldn't handle them properly anyway and it confuses
17832 vc-file-not-found-hook.
17834 * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
17835 Add autoload cookie.
17837 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il>
17839 * calendar/calendar.el (calendar): Doc fix.
17841 2002-03-22 Juanma Barranquero <lektu@terra.es>
17843 * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
17844 (gomoku-font-lock-X-face): Likewise.
17845 (gomoku-font-lock-keywords): Use faces instead of variables.
17847 2002-03-21 Stefan Monnier <monnier@cs.yale.edu>
17849 * Makefile.in (bootstrap): Make sure subdirs.el is ready.
17851 2002-03-21 Kim F. Storm <storm@cua.dk>
17853 * simple.el (open-network-stream, open-network-stream-nowait)
17854 (open-network-stream-server): Use featurep to test for
17855 supported networking features.
17857 2002-03-21 Thien-Thi Nguyen <ttn@gnu.org>
17859 * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
17860 directions as the last action.
17862 2002-03-21 Pavel JanÃk <Pavel@Janik.cz>
17864 * startup.el (fancy-splash-tail, normal-splash-screen):
17867 * novice.el (disabled-command-hook): Clarify output text to match
17870 2002-03-20 Jason Rumney <jasonr@gnu.org>
17872 * frame.el (display-images-p): Do not explicitly check display type.
17874 2002-03-20 Paul Reilly <pmr-sav@hamm.pajato.com>
17877 Eliminate compilation warnings due to `rfc822-addresses'.
17878 (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
17879 warning free compile.
17881 2002-03-20 Michael Kifer <kifer@cs.stonybrook.edu>
17883 * ediff-diff.el (ediff-install-fine-diff-if-necessary):
17884 Take the current highlighting style into account.
17885 (ediff-forward-word-function,ediff-whitespace,ediff-word-1)
17886 (ediff-word-2,ediff-word-3,ediff-word-4): Make them buffer local.
17888 * ediff-init.el (ediff-patch-job): New macro.
17890 * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
17891 (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
17893 * ediff-ptch.el (ediff-map-patch-buffer):
17894 Use ediff-make-new-meta-list-header.
17895 (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
17897 * ediff-util.el (ediff-toggle-hilit): Fix toggling of highlighting.
17898 (ediff-select-difference): Take highlighting style into account.
17899 (ediff-clone-buffer-for-region-comparison): New function.
17900 (ediff-inferior-compare-regions): Added comparison of current diff
17903 * ediff.el (ediff-clone-buffer-for-region-comparison)
17904 (ediff-clone-buffer-for-window-comparison): Moved to ediff-util.el.
17906 2002-03-19 Paul Reilly <pmr-sav@hamm.pajato.com>
17908 * mail-utils.el (rmail-dont-reply-to):
17909 Overhaul to correctly apply the regular
17910 expressions in the variable `rmail-dont-reply-to-names' to the list of
17911 destination addresses. Contributed by lorentey@elte.hu.
17913 * rmail.el (rmail-dont-reply-to-names):
17914 Modify the documentation to make it email
17915 address centric rather than login name centric. Contributed by
17918 2002-03-18 Colin Walters <walters@verbum.org>
17920 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
17921 we don't require `cl' at runtime.
17922 (sorting mode mode-name): Don't take the symbol-name of a string.
17924 * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
17925 line after setting the mark.
17926 (ibuffer-insert-buffers-and-marks): Invert the test for
17927 `ibuffer-sorting-reversep'.
17929 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
17931 * international/ucs-tables.el (unify-8859-on-decoding-mode)
17932 (unify-8859-on-encoding-mode): Remove autoload cookie.
17934 2002-03-18 Andre Spiegel <spiegel@gnu.org>
17936 * vc-rcs.el (vc-rcs-register): Fix handling of
17937 vc-[rcs-]register-switches.
17938 (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
17939 Variables removed, since they weren't used yet.
17941 * vc-cvs.el (vc-cvs-register): Fix handling of
17942 vc-[cvs-]register-switches.
17944 * vc-sccs.el (vc-sccs-register): Fix handling of
17945 vc-[sccs-]register-switches.
17947 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
17949 * loadup.el ("emacs-lisp/backquote"): Load earlier.
17950 ("international/ucs-tables"): Load and turn on
17951 unify-8859-on-encoding-mode unconditionally.
17952 (emacs-version): Use `defconst' rather than `setq'.
17954 * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
17956 2002-03-18 Richard M. Stallman <rms@gnu.org>
17958 * menu-bar.el (menu-bar-options-menu): Cope if
17959 text-mode-hook is not a list.
17961 2002-03-17 Richard M. Stallman <rms@gnu.org>
17963 * emulation/pc-select.el (pc-selection-mode):
17964 Alter the existing global map, don't replace it.
17966 * files.el (list-directory): Set default-directory at the end.
17968 * dabbrev.el (dabbrev--goto-start-of-abbrev):
17969 Put a limit on field-beginning search.
17971 2002-03-17 Simon Josefsson <jas@extundo.com>
17973 * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
17974 (browse-url-mosaic): Use it.
17976 * net/browse-url.el (browse-url-filename-alist): Don't begin
17977 docstring with *, you don't want to set this one with M-x set-variable.
17979 * net/browse-url.el: Put * in user option doc strings.
17981 2002-03-17 Stefan Monnier <monnier@cs.yale.edu>
17983 * textmodes/sgml-mode.el (sgml-xml-mode): Renamed from sgml-xml.
17984 (sgml-xml-guess): Simplify.
17985 (sgml-mode-common): Remove (move into sgml-mode).
17986 (sgml-mode): Add code from sgml-mode-common.
17987 Remove redundant setting of indent-line-function.
17988 Don't set skeleton-transformation when in XML mode.
17990 * international/mule-diag.el (describe-char-after):
17991 Use `internal-describe-syntax-value' again (got lost somewhere).
17993 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
17994 Use unify-8859-on-decoding-mode.
17995 (unify-8859-on-decoding-mode): Also set translation-table-for-input.
17996 (ucs-insert): Give an error if the Unicode char can't be created.
17998 * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
17999 (cvs-parse-status): Handle the "used to have a conflict" marker.
18001 2002-03-17 Kim F. Storm <storm@cua.dk>
18003 The following changes are related to the enhanced network process
18006 * simple.el: Update copyright.
18007 (clone-process): Use make-network-process to clone network
18008 processes. Get command list via (process-contact ... t).
18009 Use set-process-query-on-exit-flag and process-query-on-exit-flag
18010 instead of process-kill-without-query.
18011 (open-network-stream): Replaces C-version from process.c.
18012 (open-network-stream-nowait, open-network-stream-server): New funs.
18013 (process-kill-without-query): Replaces C-version from process.c.
18015 * files.el: Update copyright.
18016 (save-buffers-kill-emacs): Also check for active server
18017 processes. Use process-query-on-exit-flag. Only list processes
18018 which has the query-on-exit flag set in connection with user query.
18020 * shadowfile.el: Update copyright.
18021 (shadow-save-buffers-kill-emacs): Also check for active server
18022 processes. Use process-query-on-exit-flag.
18024 2002-03-16 Simon Marshall <simon.marshall@misys.com>
18026 * imenu.el (imenu-menubar-modified-tick): Renamed from
18027 imenu-update-menubar-modified-tick.
18028 (imenu-update-menubar): Update imenu-menubar-modified-tick
18029 whenever outer condition succeeds.
18031 * lazy-lock.el (save-buffer-state):
18032 Bind inhibit-modification-hooks and buffer-file-truename
18033 instead of before-change-functions and after-change-functions.
18035 2002-03-16 Eli Zaretskii <eliz@is.elta.co.il>
18037 * international/codepage.el (codepage-setup): Don't define a
18038 codepage if it is already defined.
18040 * textmodes/po.el (po-content-type-charset-alist): Convert the
18041 car of each association to a string.
18042 (po-find-file-coding-system-guts): If the charset matches a name
18043 of a codepage, set up that codepage and return it as a coding
18044 system to decode the file.
18045 (po-find-charset): Search for the Charset= header even if we've
18046 read less than 4KB.
18047 <top-level>: Remove the setup for all known codepages: it seems
18048 to cause crashes in the CCL driver.
18050 2002-03-16 Pavel JanÃk <Pavel@Janik.cz>
18052 * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
18053 (bibtex-entry-field-alist): Doc fix.
18055 2002-03-16 Richard M. Stallman <rms@gnu.org>
18057 * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
18058 Move definition above cperl-outline-regexp.
18060 * bindings.el (mode-line-mule-info): In computing help-echo prop,
18061 avoid using save-window-excursion. And compile the function.
18063 2002-03-15 Stefan Monnier <monnier@cs.yale.edu>
18065 * files.el (load-completion): New function.
18066 (load-library): Use it.
18068 2002-03-15 Pavel JanÃk <Pavel@Janik.cz>
18070 * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
18071 to match the actual code.
18073 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
18075 * textmodes/po.el (po-find-file-coding-system-guts):
18076 Use with-temp-buffer instead of po-with-temp-buffer.
18078 * international/mule-conf.el (file-coding-system-alist): Add an
18079 association for PO files.
18081 * textmodes/po.el: New file.
18083 2002-03-15 Gerd Moellmann <gerd@gnu.org>
18085 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18086 Fix simple loop indentation.
18088 2002-03-14 Miles Bader <miles@gnu.org>
18090 * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
18092 2002-03-14 Richard M. Stallman <rms@gnu.org>
18094 * textmodes/picture.el (picture-insert)
18095 (picture-clear-column, picture-draw-rectangle):
18096 Use move-to-column, not move-to-column-force.
18098 * dired.el (dired-readin): Clear out undo list.
18099 (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
18100 (dired-delete-entry): New function.
18101 (dired-internal-do-deletions): Use dired-fun-in-all-buffers
18102 and dired-delete-entry, to update this buffer (and others).
18104 * dired-aux.el (dired-fun-in-all-buffers): Moved to dired.el.
18106 * facemenu.el (facemenu-add-new-face):
18107 Pass region args to facemenu-set-face, when there is a region.
18108 (facemenu-set-foreground, facemenu-set-background)
18109 (facemenu-add-face): Doc fixes.
18111 * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
18113 2002-03-14 Miles Bader <miles@gnu.org>
18115 * emacs-lisp/debug.el: Require `button'.
18116 (debugger-mode-map): Set the parent keymap to `button-buffer-map',
18117 to get TAB and <backtab> bindings.
18119 * net/rlogin.el (rlogin-carriage-filter): Function removed.
18120 (rlogin): Don't install the `rlogin-carriage-filter' filter, as
18121 comint removes carriage returns itself now.
18123 * rfn-eshadow.el (rfn-eshadow-update-overlay):
18124 Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
18125 getting hosed by our own intangible property.
18127 2002-03-13 Stefan Monnier <monnier@cs.yale.edu>
18129 * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
18130 Add fortran-comment-line-start-skip to comment-start-skip.
18131 (fortran-comment-indent): Keep whole-line comments in column 0.
18132 (fortran-find-comment-start-skip): New arg `all'.
18133 If ALL is nil, make sure we only match comment-start-skip if we
18134 can't match fortran-comment-line-start-skip.
18135 Fix bug that made it return t but without moving point when
18136 matching '!'! (a false-comment followed by a real comment).
18137 (fortran-indent-comment): Use new `all' argument above.
18138 Be careful not to add an incorrect comment-starter like "C"
18140 (fortran-split-line): When splitting a comment, reuse the comment
18141 starter from the current line rather than fortran-comment-line-start.
18142 (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
18143 cleaner behavior of fortran-find-comment-start-skip.
18144 (fortran-fill): Don't be confused by ! inside a comment.
18145 (fortran-break-line): Minor cleanup and simplification.
18147 2002-03-13 Francesco Potortì <pot@gnu.org>
18149 * progmodes/etags.el (tag-exact-file-name-match-p)
18150 (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
18153 2002-03-12 Colin Walters <walters@debian.org>
18155 * ibuffer.el (ibuffer-redisplay-current): Don't move point when
18156 redisplaying a line.
18158 2002-03-12 Jan Djärv <jan.h.d@swipnet.se>
18160 * term/x-win.el (emacs-session-restore): Take previous id as
18162 (emacs-session-save): Add comment that return t means cancel shutdown
18164 * startup.el (command-line): Must check that x-session-previous-id
18165 is bound also, for non-X platforms.
18167 2002-03-12 Gerd Moellmann <gerd@gnu.org>
18169 * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
18170 (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
18172 (extended-loop-p, common-lisp-loop-part-indentation): New functions.
18173 (common-lisp-indent-function-1): Renamed from
18174 common-lisp-indent-function.
18175 (common-lisp-indent-function): Handle loop forms specially.
18176 (lisp-indent-defmethod): Use car/cdr instead of first/rest.
18177 (lisp-backquote-indentation): New user option.
18179 2002-03-12 Francesco Potortì <pot@gnu.org>
18181 * progmodes/etags.el (tag-exact-file-name-match-p)
18182 (tag-file-name-match-p, tag-partial-file-name-match-p):
18183 Assume that the header of a tags section has either a number
18184 or nothing after the last comma.
18186 2002-03-11 Richard M. Stallman <rms@gnu.org>
18188 * imenu.el (imenu-update-menubar-modified-tick): New variable.
18189 (imenu-update-menubar): Don't call imenu--make-index-alist
18190 if buffer has not changed since last time.
18192 * desktop.el (desktop-buffer-handlers): Doc fix.
18193 (desktop-buffer-file): Explicitly return BUF.
18195 * paren.el (show-paren-function): Move back in other direction
18196 to verify the match is correct.
18198 * mail/supercite.el (sc-select-attribution): Accept whatever value
18199 we get in CHOICE; there is no value meaning "try again".
18201 2002-03-11 Colin Walters <walters@verbum.org>
18203 * shell.el (toplevel): Revert previous change to use pcomplete.
18204 (shell-mode): Ditto.
18205 (shell-pcomplete-setup-done): Remove.
18206 (shell-pcomplete): Ditto.
18207 (shell-pcomplete-reverse): Ditto.
18209 * comint.el: Remove documentation on setting up pcomplete.
18211 2002-03-11 Pavel JanÃk <Pavel@Janik.cz>
18213 * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
18216 * image.el (image-type-from-file-header): Make temporary buffer
18219 * subr.el (add-to-list): Doc fix.
18221 2002-03-11 Miles Bader <miles@gnu.org>
18223 * pcomplete.el (pcomplete-entries): Expand environment variables
18226 2002-03-10 Daniel Pfeiffer <occitan@esperanto.org>
18228 * play/mpuz.el: Use defface instead of facemenu-get-face.
18230 2002-03-10 Jan Djärv <jan.h.d@swipnet.se>
18232 * startup.el (command-line): Add call to emacs-session-restore if
18233 both x-session-id and x-session-previous-id are strings.
18235 * term/x-win.el (x-handle-smid): New function.
18236 (emacs-session-filename): New function.
18237 (emacs-session-save): New function.
18238 (emacs-save-session-functions): New variable.
18239 (emacs-session-restore): New function.
18241 2002-03-09 Eli Zaretskii <eliz@is.elta.co.il>
18243 * simple.el (shell-command-on-region): Call push-mark with
18244 non-nil second arg, to suppress the "Mark set" message.
18246 2002-03-08 Richard M. Stallman <rms@gnu.org>
18248 * textmodes/picture.el (picture-forward-column): New arg `interactive'
18249 is non-nil for an interactive call. Use instead of interactive-p.
18250 (picture-backward-column): Likewise.
18252 * tar-mode.el (tar-untar-buffer): New function.
18254 * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
18255 Put the mouse-face on the entire xref, like the local keymap.
18257 * find-dired.el (find-name-dired): Use shell-quote-argument.
18259 2002-03-08 Daniel Pfeiffer <occitan@esperanto.org>
18261 * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
18262 (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
18263 (mpuz-allow-double-multiplicator): New options for nicer look and
18265 (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
18266 (mpuz-check-all-solved, mpuz-random-puzzle)
18267 (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
18268 (mpuz-show-solution): Functions streamlined and removed french
18269 style space before punctuation, added face support and optional
18270 solving of trivial results.
18272 2002-03-07 Colin Walters <walters@verbum.org>
18274 * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
18276 * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
18277 instead of "recency" for clarity.
18278 (ibuffer-compile-format): Document more. Handle new "summarizer"
18280 (ibuffer-fontify-region-function): Ditto.
18281 (ibuffer-insert-buffer-line): Ditto.
18282 (ibuffer-map-lines): Ditto.
18283 (ibuffer-insert-buffers-and-marks): Ditto.
18284 (ibuffer-update-title-and-summary): Renamed from
18285 `ibuffer-update-title'. Handle "summarizer" columns.
18286 (ibuffer-clear-summary-columns): New function.
18288 * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
18290 2002-03-07 Gerd Moellmann <gerd@gnu.org>
18292 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
18293 Use the other-window instead of the other-frame functions when
18294 the window is dedicated.
18296 2002-03-06 ShengHuo ZHU <zsh@cs.rochester.edu>
18298 * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
18299 with SILENT so that a new field can be added.
18301 2002-03-06 Eli Zaretskii <eliz@is.elta.co.il>
18303 * files.el (make-auto-save-file-name): Make sure the produced file
18304 name does not contain characters that are invalid for DOS/Windows
18307 * dos-fns.el, w32-fns.el (make-auto-save-file-name):
18308 Remove replacement functions.
18310 2002-03-06 Gerd Moellmann <gerd@gnu.org>
18312 * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
18315 * vc.el (vc-branch-part): Add autoload cookie. This function can
18316 be called from vc-rcs-find-most-recent-rev when visiting a file
18317 checked into RCS in a CVS sandbox.
18319 2002-03-06 Andreas Schwab <schwab@suse.de>
18321 * progmodes/hideif.el: Augment expression parser to handle
18322 conditional expressions.
18323 (hif-token-regexp): Also match `?' and `:'.
18324 (hif-tokenize): Handle `?' and ':' as tokens.
18325 (hif-expr): Parse conditional expressions.
18326 (hif-or-expr): Parse `||' expressions.
18327 (hif-and-expr): Renamed from hif-term.
18328 (hif-conditional): New function to evaluate a conditional
18331 2002-03-06 Pavel JanÃk <Pavel@Janik.cz>
18333 * language/czech.el ("Czech"): Fix the documentation.
18335 * language/slovak.el ("Slovak"): Likewise.
18337 2002-03-05 ShengHuo ZHU <zsh@cs.rochester.edu>
18339 * xml.el (xml-parse-attlist): Accept empty strings.
18341 2002-03-05 Eli Zaretskii <eliz@is.elta.co.il>
18343 * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
18344 all terminals now support highlighting of some kind.
18346 * language/european.el (mac-roman): Fix the safe-chars property.
18348 2002-03-05 Andre Spiegel <spiegel@gnu.org>
18350 * vc.el (vc-transfer-file): Use `make-temp-file'.
18351 (vc-default-update-changelog): Remove conditional use of
18354 * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
18356 2002-03-05 Michael Kifer <kifer@cs.stonybrook.edu>
18358 * ediff-init.el: Comments.
18360 * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
18363 * ediff-mult.el (ediff-intersect-directories)
18364 (ediff-prepare-meta-buffer,ediff-get-directory-files-under-revision):
18366 (ediff-draw-dir-diffs): Now supports the "C" command in directory
18368 (ediff-dir-diff-copy-file): New function that implements copying
18369 of files from one Ediff dir to another.
18370 (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
18371 (ediff-append-custom-diff): Better error msgs.
18373 * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
18374 (ediff-inferior-compare-regions): Use
18375 ediff-clone-buffer-for-region-comparison. Better and simpler interface.
18377 * ediff.el (ediff-directories-internal): Cleanup.
18378 (ediff-clone-buffer-for-region-comparison): Better interface.
18380 2002-03-04 Richard M. Stallman <rms@gnu.org>
18382 * emacs-lisp/easy-mmode.el (define-minor-mode):
18383 Use "P" in interactive spec of minor mode commands.
18385 2002-03-04 Stefan Monnier <monnier@cs.yale.edu>
18387 * faces.el (face-spec-choose): Allow `t' to appear before the end.
18388 (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
18389 (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
18390 (variable-pitch, trailing-whitespace): Don't use the old-style entries.
18391 (mode-line-inactive, header-line): Move the `t' section to the
18392 beginning so the `:inherit' setting can be shared.
18394 2002-03-04 Pavel JanÃk <Pavel@Janik.cz>
18396 * net/snmp-mode.el: Require tempo when compiling to prevent
18397 warnings. Update copyright notice.
18399 * help.el (describe-key-briefly, describe-key): Interpret `undefined'
18400 like not defined at all.
18402 2002-03-03 Stefan Monnier <monnier@cs.yale.edu>
18404 * textmodes/sgml-mode.el: Change maintainer to FSF.
18405 (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
18406 (sgml-tags-invisible, sgml-beginning-of-tag):
18407 Allow _ : and non-ASCII in tag names, as required for XML.
18408 (sgml-name-char): Don't assume anything about charsets handled by
18411 * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
18412 where one of the buffers is narrowed.
18414 * hexl.el (hexlify-command, dehexlify-command): Remove.
18415 (hexlify-buffer, dehexlify-buffer): Use call-process-region
18416 rather than shell-command-on-region.
18418 * newcomment.el (comment-forward): Use forward-comment to skip
18419 over whitespace (or comments) even when comment-use-syntax is nil.
18421 * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
18423 * textmodes/xml-lite.el: New file.
18425 2002-03-03 Richard M. Stallman <rms@gnu.org>
18427 * textmodes/artist.el (artist-system): Use make-temp-file.
18429 * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
18431 * mail/sendmail.el (mail-recover-1): Increase non-random-len
18432 by 1 since we changed make-auto-save-file-name to add one
18433 fewer character to the buffer name.
18434 (mail-recover): Really show point at the right place
18435 in the *Directory* buffer.
18437 * files.el (make-auto-save-file-name): Use make-temp-file.
18439 * terminal.el (te-create-terminfo): Use make-temp-file
18440 to create the source file in a safe way.
18442 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il>
18444 * cus-start.el: Rename automatic-hscroll-step and
18445 automatic-hscroll-margin into hscroll-step and hscroll-margin.
18447 * frame.el (auto-hscroll-mode): Renamed from automatic-hscrolling.
18448 (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
18450 * mouse.el (mouse-region-delete-keys): Add deletechar.
18452 2002-03-03 Sam Steingold <sds@gnu.org>
18454 * play/snake.el (snake-score-file): Fixed parens (broken by the
18456 * play/tetris.el (tetris-score-file): Ditto.
18458 2002-03-03 Richard M. Stallman <rms@gnu.org>
18460 * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
18462 * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
18464 * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
18465 (gamegrid-make-mono-tty-face): Fix usage of condition-case.
18467 2002-03-03 Thien-Thi Nguyen <ttn@gnu.org>
18469 * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
18470 instead of `buffer-substring-no-properties' to support enriched mode.
18472 2002-03-02 Richard M. Stallman <rms@gnu.org>
18474 * find-dired.el (find-grep-dired): Call shell-quote-argument.
18475 Specify the -e option.
18476 Rename arg to `regexp'.
18478 2002-03-02 Milan Zamazal <pdm@zamazal.org>
18480 * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
18482 2002-03-02 Miles Bader <miles@gnu.org>
18484 * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
18485 event-modifiers before looking up in `mouse-wheel-scroll-amount'.
18486 If there's no applicable modifiers entry in the alist in
18487 `mouse-wheel-scroll-amount', fall back to the default, not to
18488 nil (which causes full screen scrolls).
18490 2002-03-01 Andreas Schwab <schwab@suse.de>
18492 * textmodes/texnfo-upd.el (texinfo-start-menu-description):
18493 Remove extra paren in regexp.
18495 2002-03-01 Eli Zaretskii <eliz@is.elta.co.il>
18497 * mouse.el (mouse-show-mark): Use display-mouse-p, not
18498 display-graphic-p, to decide whether to move point or use the
18501 2002-02-28 Colin Walters <walters@verbum.org>
18503 * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
18505 * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
18506 `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
18507 (calc-temp-file-name): Use `make-temp-file'.
18509 2002-02-28 Richard M. Stallman <rms@gnu.org>
18511 * font-lock.el (java-font-lock-extra-types):
18512 Match java.net.URL, etc.
18514 2002-02-28 Pavel JanÃk <Pavel@Janik.cz>
18516 * hexl.el (hexl-options): Doc fix.
18517 Update Commentary section.
18519 * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
18522 2002-02-28 Andre Spiegel <spiegel@gnu.org>
18524 * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
18525 the user to do that first.
18526 (vc-update): New function.
18528 * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
18529 which calls vc-update. Use the term "Base Version" instead of
18530 "Last Version" for the entries "Revert" and "Compare".
18532 2002-02-28 Kim F. Storm <storm@cua.dk>
18534 * simple.el (shell-command-on-region): Report non-zero exit
18535 status in mode line instead of buffer.
18537 2002-02-27 Richard M. Stallman <rms@gnu.org>
18539 * comint.el (comint-preoutput-filter-functions): Doc fix.
18540 (comint-output-filter-functions, comint-input-filter-functions)
18541 (comint-redirect-filter-functions): Likewise.
18543 (comint-redirect-preoutput-filter): Do the local-hook
18544 handling of t when running comint-redirect-filter-functions.
18545 (comint-output-filter): Likewise for comint-preoutput-filter-functions.
18547 2002-02-26 Richard M. Stallman <rms@gnu.org>
18549 * paths.el (remote-shell-program): Add doc string.
18551 2002-02-26 Colin Walters <walters@debian.org>
18553 * ibuf-ext.el (sorter mode-name): New.
18554 (ibuffer-do-occur): Don't quote ibuffer-marked-char.
18556 * calc/calc-ext.el (calc-scroll-left): Call scroll-left
18557 interactively, so they do something.
18558 (calc-scroll-right): Ditto.
18560 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
18562 * international/mule.el (ctext-pre-write-conversion): Handle the
18563 case when FROM is a string, and when we are called from
18564 build_annotations_2.
18566 2002-02-26 Richard M. Stallman <rms@gnu.org>
18568 * rect.el (clear-rectangle-line): Reindent to the same column
18569 that move-to-column reached when it tried to go to endcol.
18571 * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
18573 2002-02-26 Ivar Rummelhoff <ivarru@math.uio.no>
18575 * winner.el (winner-boring-buffers, winner-set): A window which
18576 displays a buffer whose name is in the list
18577 `winner-boring-buffers', will no longer be restored by `winner-undo'.
18578 (winner-sorted-window-list): Used to improve comparison between
18579 window configurations.
18580 (winner-win-data): Simplified and moved.
18581 (winner-conf): Simplified (now uses `winner-win-data').
18582 (winner-change-fun, winner-save-old-configurations)
18583 (winner-save-(un)conditionally, winner-redo): Changes made while in
18584 the minibuffer will be ignored. (Such changes are undone upon
18585 exit for the minibuffer, anyway.)
18586 (winner-set-conf): Preserve selected window whenever possible.
18587 (winner-make-point-alist): Simplified.
18588 (winner-mode, winner-save-unconditionally): Save current window
18589 configuration on entering minibuffer.
18590 (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
18591 since it does not change the overall behavior of Emacs.
18593 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
18595 * international/mule-conf.el (compound-text): Renamed back from
18596 compound-text-no-extensions.
18597 (ctext-no-compositions): Remove the mime-charset property.
18598 (compound-text-with-extensions): Renamed from compound-text.
18599 (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
18601 2002-02-26 Juanma Barranquero <lektu@terra.es>
18603 * faces.el (list-faces-display): Fix typo.
18605 2002-02-25 Richard M. Stallman <rms@gnu.org>
18607 * frame.el (focus-follows-mouse): Doc fix.
18609 2002-02-26 Miles Bader <miles@gnu.org>
18611 * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
18612 to `define-key', since it no longer accepts the latter.
18614 2002-02-25 Jason Rumney <jasonr@gnu.org>
18616 * term/w32-win.el (mouse-wheel-scroll-line): Use car of
18617 mouse-wheel-scroll-amount.
18619 * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
18622 * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
18624 2002-02-25 Andre Spiegel <spiegel@gnu.org>
18626 * vc.el (vc-diff-switches-list): Fix prev change, making the macro
18627 consistent with the others that take a backend name as a symbol.
18629 * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
18631 2002-02-25 Kim F. Storm <no-spam@cua.dk>
18633 * comint.el (comint-replace-by-expanded-filename): Do nothing if
18634 comint-match-partial-filename returns nil.
18636 * shell.el (shell-pcomplete-setup-done): New variable.
18637 (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
18638 (shell-pcomplete-reverse): Ditto.
18640 2002-02-25 Per Abrahamsen <abraham@dina.kvl.dk>
18642 * ps-print.el (ps-print-printer): Added `lpr' customize group member.
18644 2002-02-25 Juanma Barranquero <lektu@terra.es>
18646 * subr.el (save-match-data): Doc fix.
18648 * ielm.el (ielm-prompt): Allow customization; make it read-only.
18650 2002-02-25 Kim F. Storm <storm@cua.dk>
18652 * shell.el (shell-mode-map): Add "Complete" header so completion
18653 menu is shown on the menu bar in shell mode.
18655 2002-02-25 Stefan Monnier <monnier@cs.yale.edu>
18657 * ielm.el (ielm-match-data): New var.
18658 (inferior-emacs-lisp-mode): Make it buffer-local.
18659 (ielm-eval-input): Use it to preserve match-data between inputs.
18661 2002-02-24 Juanma Barranquero <lektu@terra.es>
18663 * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
18665 2002-02-24 Per Abrahamsen <abraham@dina.kvl.dk>
18667 * cus-edit.el (custom-unlispify-remove-prefixes): Add to
18668 `custom-buffer' customize group.
18670 2002-02-23 Kim F. Storm <storm@cua.dk>
18672 * help.el (where-is): Use remap-command.
18674 * help-fns.el (describe-function-1): Use remap-command.
18676 * subr.el (global-set-key, local-set-key): Undo 2002-02-06
18677 change (no longer accept a symbol for the KEY argument).
18679 2002-02-23 Colin Walters <walters@debian.org>
18681 * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
18682 * calc/calcalg2.el (math-solve-get-sign): Ditto.
18684 * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
18685 in generated function.
18687 * ibuf-ext.el (ibuffer-old-time): Change to hours.
18688 (ibuffer-mark-old-buffers): Handle it.
18690 * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
18691 (toplevel): Bind them.
18692 (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
18693 not necessary now that we use pcomplete.
18695 * comint.el: Document how use new pcomplete completion facility.
18697 2002-02-23 Richard M. Stallman <rms@gnu.org>
18699 * mail/rmailsum.el (rmail-summary-output): Properly advance
18700 to next message, by calling rmail-summary-goto-msg.
18702 * net/browse-url.el (browse-url-galeon): Specify --existing
18703 for an existing window. Use --noraise rather than --no-raise.
18706 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
18708 * progmodes/etags.el (find-tag-noselect, find-tag)
18709 (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
18710 Fix a typo in doc strings.
18712 2002-02-20 Deepak Goel <deego@glue.umd.edu>
18714 * play/snake.el (snake-velocity-queue, snake-update-velocity)
18715 (snake-final-x-velocity, snake-final-y-velocity):
18716 New variable and functions. Store user's keypresses
18717 into a queue and pop from the queue each subsequent turn.
18718 (snake-update-game, snake-move-left)
18719 (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
18720 (snake-start-game): Use that queue.
18721 (snake-use-glyphs-flag): Renamed from snake-use-glyphs.
18722 (snake-use-color-flag): Likewise.
18723 (snake-mode): Rename uses of those variables.
18725 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
18727 Support for ICCCM Extended Segments in X selections:
18729 * international/mule-conf.el (ctext-no-compositions): New coding
18731 (compound-text-no-extensions): Renamed from compound-text.
18732 (x-ctext-no-extensions, ctext-no-extensions): Aliases for
18733 compound-text-no-extensions.
18734 (compound-text): Redefined using post-read and pre-write conversions.
18736 * international/mule.el (non-standard-icccm-encodings-alist)
18737 (non-standard-designations-alist): New variables.
18738 (ctext-post-read-conversion, ctext-pre-write-conversion):
18741 2002-02-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
18743 * vc.el (vc-default-init-version): Update documentation to
18744 indicate that the backend can override the default init version.
18745 (vc-register): Use the backend init-version function, if it
18746 exists, to determine the initial version of a file.
18747 (vc-diff-switches-list): Don't symbol-quote backend, since it's
18748 already a symbol. Don't fail if vc-BACKEND-diff-switches isn't bound.
18750 * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
18751 not version-controlled. This is necessary, e.g., if the file has
18752 just been reverted, and thus was previously under version control
18753 but isn't any longer.
18754 (vc-find-file-hook): Likewise.
18756 2002-02-21 Martin Lorentzson <Martin.Lorentzson@telia.com>
18758 * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
18759 (vc-cvs-sticky-tag-display): New variable.
18760 (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
18761 (vc-cvs-checkin): If the input revision is a valid symbolic tag
18762 name, we create it as a branch, commit and switch to it.
18763 (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
18764 (vc-cvs-valid-symbolic-tag-name-p): New function.
18765 (vc-cvs-parse-sticky-tag): New function.
18766 (vc-cvs-parse-entry): Add parsing of sticky tags.
18768 2002-02-21 Per Abrahamsen <abraham@dina.kvl.dk>
18770 * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
18771 nil, and then explicitly set the standard-value to t.
18773 2002-02-20 Sam Steingold <sds@gnu.org>
18775 * textmodes/flyspell.el (flyspell-mode): Autoload the variable
18776 since it is used in the menu bar.
18778 2002-02-20 Richard M. Stallman <rms@gnu.org>
18780 * simple.el (shell-command-on-region): Display the exit status
18781 when a command fails.
18783 * subr.el (add-hook): Doc fix.
18785 * frame.el (other-frame): Doc fix.
18787 * simple.el (yank): Clear `field' property.
18789 2002-02-20 Tom Tromey <tromey@cachet>
18791 * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
18792 natural paragraph boundaries. Don't fail at beginning of buffer.
18794 2002-02-20 Pavel JanÃk <Pavel@Janik.cz>
18796 * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
18797 call the argument "arg" to match plain next-line and
18798 previous-line. From Kevin Ryde <user42@zip.com.au>.
18800 2002-02-19 Sam Steingold <sds@gnu.org>
18802 * mwheel.el (mouse-wheel-scroll-amount): Can specify different
18803 scroll amounts for different modifiers now.
18804 (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
18806 (mouse-wheel-mode): Ditto.
18808 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il>
18810 * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
18811 around function body.
18813 * net/browse-url.el (browse-url-maybe-new-window): Reverse the
18814 sense of the comparison, to match the doc strings of functions
18815 that use this macro.
18817 2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
18819 * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
18821 * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
18822 * menu-bar.el (menu-bar-mode): Ditto.
18824 2002-02-18 Andreas Schwab <schwab@suse.de>
18826 * replace.el (query-replace-regexp-eval): Doc fix.
18828 2002-02-18 Colin Walters <walters@verbum.org>
18830 * calc/calcalg2.el (math-solve-get-int): Convert return value from
18831 `math-get-from-counter' to a string before calling `concat' on it.
18833 * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
18834 (calc-public-autoloads): Obsolete; remove.
18835 (calc-private-autoloads): Ditto.
18836 (calc-add-autoloads): Ditto.
18838 * calc/calc-macs.el (calc-with-default-simplification): Use &rest
18841 2002-02-17 Jason Rumney <jasonr@gnu.org>
18843 * w32-win.el (x-option-alist, x-long-option-alist)
18844 (x-switch-definitions): Remove, use command-line-x-option-alist
18845 instead to be consistent with X.
18846 (x-handle-initial-switch): New function.
18848 2002-02-17 Eli Zaretskii <eliz@is.elta.co.il>
18850 * faces.el (mode-line-inactive, header-line): Add the :inherit
18851 attribute for the tty case.
18853 2002-02-17 stanislav shalunov <shalunov@internet2.edu>
18855 * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
18856 invoked from Rmail with full headers displayed.
18858 2002-02-17 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
18860 * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
18862 * textmodes/paragraphs.el (mark-paragraph): Ditto.
18864 2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
18866 * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
18867 (menu-bar-tools-menu): Removed speedbar.
18869 * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
18870 and `flyspell-mode' entries.
18872 * textmodes/flyspell.el (flyspell): Add to ispell group.
18874 2002-02-17 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
18876 * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
18878 (mark-defun): Mark more if repeated.
18880 2002-02-17 Colin Walters <walters@verbum.org>
18882 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
18884 * ibuffer.el (ibuffer-truncate-lines): New option.
18885 (ibuffer-mode): Use it.
18887 2002-02-17 Kim F. Storm <storm@cua.dk>
18889 * cus-start.el: Add mouse-highlight.
18891 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
18893 * Makefile.in (DONTCOMPILE): Remove cus-start.el.
18895 * cus-start.el: Add automatic-hscroll-margin and
18896 automatic-hscroll-step.
18898 2002-02-16 Pavel JanÃk <Pavel@Janik.cz>
18900 * cus-start.el (x-autoselect-window): Allow customization.
18902 * eshell/em-alias.el (eshell-alias-initialize): Do not use
18905 * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
18907 * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
18909 * eshell/em-glob.el (eshell-glob-initialize): Likewise.
18911 * eshell/em-hist.el (eshell-hist-initialize): Likewise.
18913 * eshell/em-pred.el (eshell-pred-initialize): Likewise.
18915 * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
18917 * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
18919 * eshell/em-smart.el (eshell-smart-initialize): Likewise.
18921 * eshell/em-unix.el (eshell-unix-initialize): Likewise.
18923 * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
18925 * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
18927 * eshell/esh-io.el (eshell-io-initialize): Likewise.
18929 * eshell/esh-mode.el (eshell-mode): Likewise.
18931 * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
18933 * eshell/esh-var.el (eshell-var-initialize): Likewise.
18935 * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
18937 * progmodes/idlwave.el (idlwave-mode): Likewise.
18939 * textmodes/reftex-sel.el (reftex-select-label-mode)
18940 (reftex-select-bib-mode): Likewise.
18942 2002-02-16 John Wiegley <johnw@gnu.org>
18944 * eshell/em-hist.el (eshell-hist-initialize): When in the
18945 minibuffer, use the global value of `eshell-history-ring', and
18946 never save it to disk, or ask to save it to disk. This allows
18947 users of session.el to control whether its global state should be
18949 (eshell-add-command-to-history): Don't write Eshell's history out
18950 to disk, let the governing mode control that upon exit.
18952 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
18954 * eshell/eshell.el (eshell-command): Before reading from the
18955 minibuffer, add eshell-add-command-to-history to
18956 minibuffer-exit-hook, and remove it after read-from-minibuffer
18959 * eshell/em-hist.el (eshell-add-input-to-history): New function,
18960 with most of the code from eshell-add-to-history.
18961 (eshell-add-command-to-history): New function, to record in
18962 eshell-history the commands run via eshell-command.
18963 (eshell-add-to-history): Call eshell-add-command-to-history to do
18966 2002-02-16 John Wiegley <johnw@gnu.org>
18968 * eshell/esh-ext.el (eshell-external-command): Added a fix for
18969 XEmacs' new dired.el, which adds a global entry in the
18970 `file-name-handler-alist'.
18972 2002-02-16 John Wiegley <johnw@gnu.org>
18974 * align.el (align-region): Added a missing name argument.
18976 2002-02-16 John Wiegley <johnw@gnu.org>
18978 * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
18979 after the #! of a shell interpreter specification.
18981 2002-02-15 Richard M. Stallman <rms@gnu.org>
18983 * help.el (describe-key-briefly): Make output in INSERT case
18984 look just like what is displayed in the normal case.
18986 2002-02-15 Andreas Schwab <schwab@suse.de>
18988 * textmodes/tex-mode.el (tex-font-lock-keywords-2):
18989 Require non-letter after specials.
18991 2002-02-15 Eli Zaretskii <eliz@is.elta.co.il>
18993 * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
18995 2002-02-15 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
18997 * simple.el (mark-word): Mark more if repeated.
18998 * textmodes/paragraphs.el (mark-paragraph): Ditto.
18999 (mark-end-of-sentence): Ditto.
19001 2002-02-15 Per Abrahamsen <abraham@dina.kvl.dk>
19003 * wid-edit.el (widgetp): Made it more robust.
19005 2002-02-14 Per Abrahamsen <abraham@dina.kvl.dk>
19007 * facemenu.el (describe-text-done): New function.
19008 (describe-text-mode-map): New variable.
19009 (describe-text-mode-hook): New option.
19010 (describe-text-mode): New function.
19011 (describe-text-widget): New function.
19012 (describe-text-sexp): New function.
19013 (describe-text-properties): New function.
19014 (describe-text-category): New command.
19015 (describe-text-at): New command.
19016 (facemenu-menu): Replace `list-text-properties-at' with
19017 `describe-text-at' in the menu.
19019 * wid-edit.el (widgetp): New function.
19020 * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
19022 * emacs-lisp/pp.el (pp-to-string): Autoloaded.
19024 * wid-browse.el: Removed version and x-url keywords.
19026 2002-02-13 Kim F. Storm <storm@cua.dk>
19028 * cus-start.el (mode-line-in-non-selected-windows):
19029 Allow customization.
19031 2002-02-13 Richard M. Stallman <rms@gnu.org>
19033 * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
19034 Tell bibtex-parse-keys to output no progress messages.
19036 2002-02-12 Eli Zaretskii <eliz@is.elta.co.il>
19038 * progmodes/pascal.el (pascal-imenu-generic-expression):
19039 Add menu-title and fix parentheses.
19041 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
19043 * menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
19044 (menu-bar-options-menu): Don't set default value for `truncate-lines'.
19046 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
19048 * menu-bar.el (menu-bar-options-save): Only save
19049 `current-language-environment' and `default-input-method' when
19050 marked as customized.
19052 * international/mule-cmds.el (setup-specified-language-environment):
19053 Mark `current-language-environment' as customized.
19054 (set-input-method): Mark `default-input-method' as customized when
19055 called interactively.
19056 (toggle-input-method): Ditto.
19058 2002-02-11 Colin Walters <walters@verbum.org>
19060 * ibuffer.el (ibuffer-switch-format): Supply required argument for
19061 `ibuffer-current-formats'.
19063 2002-02-11 Miles Bader <miles@gnu.org>
19065 * faces.el (mode-line-inactive): Add dark-background variant.
19067 2002-02-11 Per Abrahamsen <abraham@dina.kvl.dk>
19069 * toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
19070 * menu-bar.el (menu-bar-mode): Ditto.
19071 * cus-edit.el (customize-mark-to-save): Always save variables
19072 without a standard value.
19074 * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
19075 (menu-bar-options-save): Ditto.
19076 (menu-bar-showhide-menu): Ditto.
19077 (menu-bar-options-menu): Ditto.
19078 (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
19079 (menu-bar-scroll-bar-none): Remove.
19080 (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
19081 expressions instead.
19083 * cus-edit.el (customize-set-value): Return value.
19084 (customize-set-variable): Ditto.
19085 (customize-save-variable): Ditto.
19086 (customize-set-variable): Load dependencies before setting value.
19087 (custom-load-symbol): Autoload it.
19088 (customize-mark-as-set): New function.
19090 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il>
19092 * cus-start.el: Don't warn about "x-*" symbols when building a
19095 2002-02-11 Pavel JanÃk <Pavel@Janik.cz>
19097 * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
19099 (strokes-help): Do not use doubled with-output-to-temp-buffer.
19100 Fix the help string.
19101 (strokes-prompt-user-save-strokes): Fix typo.
19102 (strokes-list-strokes): Use proper exit-action argument for
19103 view-buffer. Update copyright notice.
19105 * international/mule-diag.el: Various doc and message fixes.
19106 (non-iso-charset-alist): Add mac-roman. Don't add entries for
19107 codepages already present.
19108 (list-block-of-chars): Display space for null entries in
19109 translation table. Display tab specially.
19110 (list-non-iso-charset-chars): Check for null charsets. Use pop
19111 for clarity. Don't break 8-bit sets into sections between ranges.
19112 (list-charset-chars): Avoid indent-tabs-mode.
19113 (describe-char-after): Maybe use the text property for syntax
19114 table information. Maybe report char-code-property-table info.
19115 Maybe report character's unicode. Tweak printing of list info.
19116 (list-input-methods): Add xref buttons.
19117 (dump-charsets, dump-codings): Deleted (obsolete).
19118 From Dave Love <fx@gnu.org>.
19120 2002-02-10 Pavel JanÃk <Pavel@Janik.cz>
19122 * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
19124 2002-02-10 Stephen J. Turnbull <stephen@xemacs.org>
19126 * ediff-init.el (ediff-has-gutter-support): What was this?
19128 2002-02-10 Michael Kifer <kifer@cs.stonybrook.edu>
19130 * viper-util.el (viper-read-key-sequence): Fix so it'll read
19131 fast key sequences in Emacs native mode.
19132 (viper-events-to-keys): Delete.
19134 * viper.el (describe-key, describe-key-briefly): Get rid of
19135 viper-events-to-keys.
19137 * ediff-wind.el (ediff-setup-control-frame):
19138 Use ediff-has-gutter-support.
19140 * ediff-util.el (ediff-dispose-of-variant-according-to-user):
19141 Check if buff is alive.
19143 * ediff.el: Typo in comment.
19145 2002-02-09 Pavel JanÃk <Pavel@Janik.cz>
19147 * menu-bar.el (menu-bar-options-save): Take care of
19148 line-number-mode and column-number-mode variables.
19149 (menu-bar-showhide-menu): New menu-items "Show Line Number" and
19150 "Show Column Number" in "Show/Hide" menu.
19152 2002-02-09 Richard M. Stallman <rms@gnu.org>
19154 * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
19156 2002-02-09 Kim F. Storm <storm@cua.dk>
19158 * faces.el (mode-line-inactive): New face for mode-line for
19159 non-selected windows.
19160 (mode-line): Doc fix: Only used for selected window.
19162 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
19164 * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
19165 name to "Insert Diary Entry".
19167 2002-02-08 Stefan Monnier <monnier@cs.yale.edu>
19169 * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
19170 (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
19172 2002-02-08 Richard M. Stallman <rms@gnu.org>
19174 * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
19176 2002-02-08 Andreas Schwab <schwab@suse.de>
19178 * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
19181 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
19183 * net/ange-ftp.el (ange-ftp-process-handle-line)
19184 (ange-ftp-set-xfer-size): If the file's size is a float, divide
19185 by 1024 instead of using ash.
19187 * international/mule-cmds.el (select-safe-coding-system):
19188 State the buffer's name in the message popped in the *Warning* buffer,
19189 and make sure the offending buffer is displayed.
19191 2002-02-07 Markus Rost <rost@math.ohio-state.edu>
19193 * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
19195 2002-02-07 Richard M. Stallman <rms@gnu.org>
19197 * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
19199 * register.el (list-registers): New command.
19200 (describe-register-1): New subroutine, taken out of view-register.
19202 * emacs-lisp/copyright.el (copyright-regexp):
19203 Delete the unibyte copyright symbol; it's redundant.
19204 Fix a spazz in the multibyte encoding here.
19206 2002-02-07 Dave Love <fx@gnu.org>
19208 * language/cyril-util.el (cyrillic-encode-koi8-r-char)
19209 (cyrillic-encode-alternativnyj-char): Get translation tables from
19210 symbol properties, not as variables.
19211 (standard-display-cyrillic-translit): Include Unicode characters.
19213 2002-02-06 Kim F. Storm <storm@cua.dk>
19215 * help.el (where-is): Report remapped commands.
19217 * help-fns.el (describe-function-1): Ditto.
19219 * subr.el (global-set-key, local-set-key): Accept a symbol for the
19220 KEY argument (like define-key).
19222 2002-02-06 Pavel JanÃk <Pavel@Janik.cz>
19224 * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
19226 2002-02-06 Richard M. Stallman <rms@gnu.org>
19228 * mail/mailabbrev.el: Require sendmail only at compile time.
19229 (mail-mode-header-syntax-table): Var deleted.
19230 (mail-abbrev-syntax-table): Init to nil, will compute when needed.
19231 (sendmail-pre-abbrev-expand-hook): Only temporarily change
19232 local-abbrev-table and the syntax table.
19233 Compute mail-abbrev-syntax-table if that has not been done.
19235 * progmodes/compile.el (grep-compute-defaults): Definition moved up.
19237 * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
19238 (debugger-frame-number): Figure out the offset directly.
19239 (debugger-setup-buffer): Don't use debugger-frame-offset.
19240 (debugger-frame, debugger-frame-clear): Likewise.
19241 (debugger-jump): Don't alter debugger-frame-offset.
19243 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
19244 Replace foo-p as var name with foo-flag, not foo-p-flag.
19246 * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
19247 (highlight-changes-passive-string): Default to -Chg.
19248 (highlight-changes-global-modes): Doc fix.
19250 * dired.el (dired-get-filename): Add /: when appropriate
19251 to avoid taking a local name as remote.
19253 * files.el (file-name-non-special): Add special handling for
19254 file-name-sans-versions, file-name-completion, and
19255 file-name-all-completions.
19257 * isearch.el (isearch-update): Don't update display in kbd macro.
19258 (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
19260 * subr.el (force-mode-line-update): Doc fix.
19262 * subr.el (atomic-change-group, prepare-change-group)
19263 (activate-change-group, accept-change-group, cancel-change-group):
19266 * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
19267 (transpose-subr-1): Use atomic-change-group.
19269 * subr.el (add-minor-mode): Include the mode's lighter string
19270 in the minor mode menu item name.
19272 * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
19273 rmail-count-screen-lines starting from (point-min).
19275 * startup.el (use-fancy-splash-screens-p): Need 19 lines,
19276 beyond the image height, to use the fancy splash screen.
19278 * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
19279 (text-mode): Set text-mode-variant here.
19281 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il>
19283 * play/pong.el (pong-height): Don't use height that exceeds the
19285 (pong-border-options): Make the border colors slightly more bright.
19287 * play/gamegrid.el (gamegrid-display-type): Treat any
19288 color-capable display as color-x, if display-color-p is fboundp.
19289 (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
19290 (gamegrid-make-color-tty-face): Use the value of color, not the
19291 symbol itself. Don't call gamegrid-color.
19293 2002-02-05 Eli Zaretskii <eliz@is.elta.co.il>
19295 * gud.el (gud-refresh): Call recenter only after we are sure we
19296 are in the right window.
19298 2002-02-05 Per Abrahamsen <abraham@dina.kvl.dk>
19300 * cus-edit.el (customize-mark-to-save): New function.
19301 * menu-bar.el (menu-bar-options-save): Rewrote.
19303 2002-02-05 Pavel JanÃk <Pavel@Janik.cz>
19305 * cus-start.el (x-use-underline-position-properties):
19306 Allow customization.
19308 2002-02-04 Simon Josefsson <jas@extundo.com>
19310 * dired.el (dired-load-hook, dired-mode-hook)
19311 (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
19313 2002-02-03 Colin Walters <walters@verbum.org>
19315 * ibuf-ext.el (ibuffer-filter-format-alist)
19316 (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
19318 * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
19319 is now the Emacs CVS tree.
19320 (ibuffer-formats): Doc fix.
19321 (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
19322 (ibuffer-current-format): Use them.
19323 (ibuffer-recompile-formats, ibuffer-check-formats)
19324 (ibuffer-switch-format, ibuffer-update-title):
19325 Add support for ibuffer-filter-format-alist.
19326 (define-ibuffer-column process): Remove unnecessary consing.
19328 * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
19329 for a summary column.
19331 2002-02-03 Andreas Schwab <schwab@suse.de>
19333 * window.el (save-selected-window): Move macro before first use.
19334 (balance-windows): Fix misplaced parenthesis.
19336 2002-02-03 Pavel JanÃk <Pavel@Janik.cz>
19338 * calculator.el (calculator-displayers): Doc fixes.
19340 2002-02-03 Pavel JanÃk <Pavel@Janik.cz>
19342 * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
19343 (menu-bar-options-save): Save also the value of `display-time-mode'.
19344 (showhide-date-time): New function.
19345 (menu-bar-showhide-menu): New menu-item "Date and time".
19347 2002-02-03 Eli Zaretskii <eliz@is.elta.co.il>
19349 * mail/rmail.el (rmail): Use find-buffer-visiting instead of
19350 get-file-buffer to check for rmail buffer existence.
19352 * term.el (term-emulate-terminal): Extract proper command string
19353 which is supplied to term-command-hook.
19355 2002-02-03 Richard M. Stallman <rms@gnu.org>
19357 * international/quail.el (quail-help): Don't call help-setup-xref.
19359 * international/mule-cmds.el (describe-input-method):
19360 Call help-setup-xref here.
19361 (describe-current-input-method): Doc fix.
19363 * novice.el (disabled-command-hook): Clarify output text.
19364 Indent the paragraph from the command's doc string.
19366 * dabbrev.el (dabbrev--goto-start-of-abbrev):
19367 Exit loop on beginning of field rather than bobp.
19369 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
19371 * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
19372 the message text into the *mail* buffer, and restore the pruned
19375 * mail/rmail.el (rmail-redecode-body): Prune the headers before
19376 looking for X-Coding-System header, and restore the pruned state
19379 2002-02-02 Pavel JanÃk <Pavel@Janik.cz>
19381 * cus-edit.el (customize-save-variable): Fix typo in prompt.
19383 These changes integrate new version of flyspell.el from its
19384 maintainer, Manuel Serrano:
19386 * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
19387 (flyspell-mode-on, flyspell-notify-misspell)
19388 (flyspell-small-region, flyspell-external-point-words)
19389 (flyspell-large-region): Use it.
19390 (flyspell-before-incorrect-word-string)
19391 (flyspell-after-incorrect-word-string): New user options.
19392 (make-flyspell-overlay): Use them.
19393 (flyspell-version): New function.
19394 (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
19395 definitions to use :weight.
19396 (flyspell-insert-function): New user option.
19397 (flyspell-auto-correct-word, flyspell-correct-word)
19398 (flyspell-xemacs-correct): Use it.
19399 (flyspell-define-abbrev): New function.
19400 (flyspell-auto-correct-word, flyspell-correct-word)
19401 (flyspell-xemacs-correct): Use it.
19402 (make-flyspell-overlay): Use `evaporate' property.
19403 (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
19404 (flyspell-emacs-popup): Use `session' instead of `accept'.
19405 (flyspell-auto-correct-previous-pos): New variable.
19406 (flyspell-auto-correct-previous-hook)
19407 (flyspell-auto-correct-previous-word): New functions.
19409 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
19411 * novice.el (enable-command): If Emacs was invoked as "emacs -q",
19412 don't alter the user's ~/.emacs.
19413 (disable-command): If user-init-file is nil or does not exist,
19414 default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
19415 But don't alter the init file if Emacs was invoked as "emacs -q"
19417 2002-02-01 Stefan Monnier <monnier@cs.yale.edu>
19419 * mail/sendmail.el (mail-mode): Undo half of last change.
19421 * indent.el (indent-for-tab-command): Remove spurious code.
19423 * hi-lock.el (hi-lock-find-patterns): Save restriction.
19425 2002-02-01 Eli Zaretskii <eliz@is.elta.co.il>
19427 * calendar/time-date.el: Moved from lisp/gnus.
19429 * calendar/parse-time.el: Ditto.
19431 2002-01-31 Richard M. Stallman <rms@gnu.org>
19433 * international/iso-acc.el (iso-languages): Fix ", " in French.
19435 * cus-start.el (history-length): Specify customization for it.
19437 * emacs-lisp/debug.el (debugger-setup-buffer):
19438 When an eval-buffer frame was reading from a buffer,
19439 insert indication of the buffer position.
19440 (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
19441 (debugger-frame-clear, debugger-frame): Error on non-frame line.
19443 * simple.el (shell-command-on-region): Err if no mark
19444 before reading the command string.
19446 * hl-line.el (hl-line-highlight, hl-line-unhighlight):
19447 Definitions moved down after hl-line-mode var's definition.
19449 * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
19450 (hilit-chg-set-face-on-change): Rename arg.
19451 (hilit-chg-make-ov): Detect error earlier.
19453 * ediff-hook.el: Delete autoload cookies.
19455 * comint.el (comint-scroll-show-maximum-output): Default is t.
19457 * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
19458 (batch-byte-compile-if-not-done): New function.
19460 * Makefile.in (compile): New target.
19461 (compile-always): Renamed from compile-files.
19462 (compile-after-backup): Renamed from compile.
19463 (bootstrap): Depend on compile-always, not compile-files.
19465 * emulation/pc-select.el (pc-select-save-and-set-mode):
19466 Properly use MODE-VAR.
19468 2002-01-29 Pavel JanÃk <Pavel@Janik.cz>
19470 * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
19471 Version" to "About Emacs".
19472 (menu-bar-options-save): Add `default-frame-alist'
19473 to saved variables.
19474 (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
19475 of the variable `scroll-bar-mode'.
19477 * startup.el (normal-splash-screen, display-splash-screen):
19478 New functions (separated from command-line-1).
19479 (command-line-1): Use them.
19481 2002-01-28 Eli Zaretskii <eliz@is.elta.co.il>
19483 * calendar/calendar.el (generate-calendar-month): Doc fix.
19485 2002-01-27 Pavel JanÃk <Pavel@Janik.cz>
19487 * time.el (display-time-mail-directory): New option.
19488 (display-time-mail-function): Update doc-string.
19489 (display-time-mail-icon): Use XPM image when available.
19490 (display-time-string-forms): Use more descriptive text as
19491 help-echo property.
19492 (display-time-mail-check-directory): New function.
19493 (display-time-update): Use it.
19495 * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
19496 Quote `window-system'.
19498 * tmm.el (tmm-get-keymap): Honor :visible in `menu-item'.
19499 Add Keywords header. Update Commentary section.
19500 Update copyright notice.
19502 * menu-bar.el (menu-bar-scroll-bar-right)
19503 (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
19504 (showhide-menu-bar): New functions.
19505 (menu-bar-showhide-menu): New submenu "Show/Hide".
19506 (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
19508 Update copyright notice.
19510 2002-01-27 Eli Zaretskii <eliz@is.elta.co.il>
19512 * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
19514 2002-01-26 Evgeny Roubinchtein <evgenyr@cs.washington.edu>
19516 * pc-select.el (pc-selection-mode-hook)
19517 (pc-select-saved-settings-alist, pc-select-map)
19518 (pc-select-saved-global-map, pc-select-key-bindings-alist)
19519 (pc-select-default-key-bindings, pc-select-extra-key-bindings)
19520 (pc-select-meta-moves-sexps-key-bindings)
19521 (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
19523 (pc-select-define-keys, pc-select-restore-keys): New functions.
19524 (pc-select-add-to-alist, pc-select-save-and-set-var)
19525 (pc-select-save-and-set-mode, pc-select-restore-var)
19526 (pc-select-restore-mode): New macros.
19527 (pc-selection-mode): Completely rewrote the body of the function;
19528 the main goal was to make pc-selection-mode "turn-off"-able, like
19529 other minor modes. Use define-minor-mode instead of just a
19530 defun. Store the key bindings into four alists:
19531 pc-select-default-key-bindings, pc-select-extra-key-bindings,
19532 pc-select-meta-moves-sexps-key-bindings, and
19533 pc-select-tty-key-bindings; then have the pc-select-define-keys
19534 function walk those alists instead of calling define-key
19535 repeatedly. When the mode is turned on, set the
19536 keybindings in global-map and remember the old keybindings; when
19537 the mode is turned off, restore the previously-saved keybindings.
19538 (pc-selection-mode defcustom): Reflect the fact that the mode is
19539 now "turn-off"-able.
19541 2002-01-26 Eli Zaretskii <eliz@is.elta.co.il>
19543 * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
19544 returns t, don't treat that as an error.
19546 2002-01-25 Jason Rumney <jasonr@gnu.org>
19548 * faces.el (face-font-registry-alternatives) [windows-nt]:
19549 Add ms-oemlatin as an alternative for iso8859-1.
19551 2002-01-25 Stefan Monnier <monnier@cs.yale.edu>
19553 * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
19554 args and the absence of an entry. Don't add -f each time.
19556 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il>
19558 * emacs-lisp/cl-seq.el (mismatch): Doc fix.
19560 Support for more than 8 colors on character terminals:
19562 * term/rxvt.el: New file.
19564 * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
19566 * term/xterm.el (xterm-standard-colors): New variable.
19567 (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
19568 (xterm-rxvt-set-background-mode): New functions.
19569 (toplevel): Call xterm-register-default-colors,
19570 xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
19571 Add support for more keys from xterm's terminfo entry.
19573 * facemenu.el (list-colors-display): If the argument is nil, don't
19574 show more colors that the number returned by display-color-cells.
19576 * term/pc-win.el (msdos-color-values): Reverse the order of the
19577 colors, since tty-color-define now preserves the registration order.
19579 * w32-fns.el (w32-tty-standard-colors): Reverse the order.
19581 * term/tty-colors.el (tty-standard-colors): Reverse the order.
19582 (tty-register-default-colors): New function; code moved from
19583 startup.el's command-line.
19584 (tty-modify-color-alist): Use nconc instead of cons, to preserve
19585 the order the colors where registered.
19587 * frame.el (display-color-cells): Use tty-display-color-cells.
19589 * startup.el (command-line): Call tty-register-default-colors.
19591 2002-01-25 Richard M. Stallman <rms@gnu.org>
19593 * subr.el (remove): Doc fix.
19595 2002-01-24 Richard M. Stallman <rms@gnu.org>
19597 * progmodes/compile.el (compilation-handle-exit):
19598 Add a compilation-handle-exit property to the "finished" message.
19599 (compilation-parse-errors): Stop parsing when that property is seen.
19601 * subr.el (substring-no-properties): New function.
19602 (copy-without-properties): Function deleted.
19604 * term/x-win.el (x-handle-geometry): Put sizes on both
19605 initial-frame-alist and default-frame-alist.
19607 * cus-edit.el (custom-save-all): Bind file-precious-flag to t
19610 * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
19612 * calendar/calendar.el (generate-calendar-month): Doc fix.
19614 2002-01-23 Richard M. Stallman <rms@gnu.org>
19616 * play/tetris.el (tetris): New defgroup.
19617 (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
19618 (tetris-default-tick-period): Convert to defcustom.
19619 Added * in docstring to indicate user variable.
19620 (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
19621 (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
19622 (tetris-buffer-height, tetris-width, tetris-height)
19623 (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
19625 2002-01-22 Stefan Monnier <monnier@cs.yale.edu>
19627 * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
19628 and is already matched by adaptive-fill-regexp.
19630 2002-01-22 Richard M. Stallman <rms@gnu.org>
19632 * bindings.el (mode-line-copied-mode-name): New variable.
19633 (mode-line-mode-name): Don't modify mode-name itself!
19634 Instead, make a copy and reuse it.
19636 * subr.el (copy-without-properties): New function.
19638 * progmodes/sh-script.el (sh-set-shell): Doc fix.
19640 * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
19641 slash if DIR is just slash.
19643 * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
19645 2002-01-21 Richard M. Stallman <rms@gnu.org>
19647 * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
19649 * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
19652 * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
19654 * ibuffer.el: Don't require ibuf-ext at load time.
19655 (ibuffer): Require ibuf-ext here.
19657 2002-01-21 Francesco Potortì <pot@gnu.org>
19659 * generic-x.el (apache-conf-generic-mode): Highlight the first
19660 word in a line even if preceded by blanks.
19662 2002-01-21 Richard M. Stallman <rms@gnu.org>
19664 * window.el (window-body-height): Handle minibuffer window specially.
19665 Otherwise, don't return less than 1.
19667 2002-01-20 Thomas Dorner <Thomas.Dorner@start.de>
19669 * ange-ftp.el: Added support for BS2000, and for raw ftp
19670 login commands (needed in some circumstances).
19671 (ange-ftp-raw-login): New custom var.
19672 (ange-ftp-normal-login): Perform login with raw ftp commands, if
19673 ange-ftp-raw-login is set and account password is needed.
19674 (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
19675 (ange-ftp-bs2000-filename-pubset-regexp)
19676 (ange-ftp-bs2000-filename-username-regexp)
19677 (ange-ftp-bs2000-filename-prefix-regexp)
19678 (ange-ftp-bs2000-name-template): New consts.
19679 (ange-ftp-bs2000-short-filename-regexp)
19680 (ange-ftp-bs2000-fix-name-regexp-reverse)
19681 (ange-ftp-bs2000-fix-name-regexp): New consts.
19682 (ange-ftp-bs2000-special-prefix): New custom var.
19683 (ange-ftp-fix-name-for-bs2000)
19684 (ange-ftp-fix-dir-name-for-bs2000): New funs.
19685 (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
19686 (ange-ftp-bs2000-posix-hook-installed): New vars.
19687 (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
19688 (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
19689 (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
19690 (ange-ftp-bs2000-filename-regexp): New const.
19691 (ange-ftp-bs2000-additional-pubsets): New custom var.
19692 (ange-ftp-bs2000-cd-to-posix): New fun.
19694 2002-01-20 Colin Walters <walters@verbum.org>
19696 * ibuffer.el (toplevel): Require `ibuf-ext', which is now compiled
19697 with `byte-compile-dynamic'.
19698 (ibuffer-default-directory, toplevel): Doc files.
19700 2002-01-20 Pavel JanÃk <Pavel@Janik.cz>
19702 * tempo.el (tempo-define-template): Doc fix.
19704 * scroll-bar.el (scroll-bar-mode): Make argument optional.
19706 2002-01-20 Jason Rumney <jasonr@gnu.org>
19708 * w32-vars.el: New file.
19710 * loadup.el [windows-nt]: Load it.
19712 * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
19713 and make them defcustoms.
19715 * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
19717 2002-01-19 Pavel JanÃk <Pavel@Janik.cz>
19719 * language/tibet-util.el (tibetan-decompose-region)
19720 (tibetan-decompose-string): Fix typo in docstring.
19722 * ruler-mode.el (ruler-mode): New keyword. Fix :version.
19724 2002-01-18 Richard M. Stallman <rms@gnu.org>
19726 * comint.el (comint-redirect-send-command-to-process):
19727 Restore previous current buffer.
19729 * window.el (window-body-height): New function.
19731 2002-01-18 Zoltan Kemenczy <kemenczy@rogers.com>
19733 * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
19734 "Finish Function" menu map entries for jdb mode.
19735 (gud-jdb-use-classpath): New customization variable.
19736 (gud-jdb-command-name): Add customization.
19737 (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
19738 (gud-jdb-classpath-string): New variable.
19739 (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
19740 (gud-jdb-build-source-files-list): Likewise.
19741 (gud-jdb-massage-args): Record any command argument classpath
19742 string in `gud-jdb-classpath-string'.
19743 (gud-jdb-lowest-stack-level): New function, finds bottom of current
19744 java call stack in jdb output.
19745 (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
19746 (gud-jdb-parse-classpath-string): New functions.
19747 (gud-jdb-marker-filter): Search/detect classpath information in
19748 jdb's output. marker regexp updated to match oldjdb and jdb output
19749 formats. Expand search for source files to include new/old methods
19750 using new functions above. Do not allow `gud-marker-acc' to grow
19752 (jdb): Set classpath information (if available) as jdb is started.
19753 Change `gud-break' and `gud-remove'
19754 to use new %c ("class") escape in format strings.
19755 Add `gud-finish', `gud-up', `gud-down' command string functions, and
19756 add them to the local menu map. Update `comint-prompt-regexp' for
19757 jdb and oldjdb. If attaching to an already running java VM and
19758 configured to use classpath, send command to query for classpath,
19759 else use previous method for finding and parsing java
19760 sources. Set `gud-jdb-find-source' function accordingly.
19761 (gud-mode): Doc fix.
19762 (gud-format-command): Add support for new %c ("class") escape.
19763 (gud-find-class): New function in support of %c escape.
19765 2002-01-17 Richard M. Stallman <rms@gnu.org>
19767 * ibuf-ext.el: Enable byte-compile-dynamic.
19769 2002-01-17 Jason Rumney <jasonr@gnu.org>
19771 * term/w32-win.el: Restore conditional require of fontset.
19773 2002-01-16 Richard M. Stallman <rms@gnu.org>
19775 * mouse.el (mouse-drag-region-1): Renamed from mouse-drag-region,
19777 (mouse-drag-region): New function. For a click in the echo area,
19780 * ibuf-ext.el: Delete the autoloads for functions defined with
19781 ibuffer-specific commands.
19783 * help.el (describe-distribution): Really call view-file.
19785 * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
19786 (ange-ftp-get-process): Pass that arg.
19788 * comint.el (comint-simple-send): Fix previous change.
19790 * net/telnet.el (telnet-simple-send): Fix previous change.
19792 * progmodes/sql.el (sql-escape-newlines-and-send)
19793 (sql-query-placeholders-and-send): Fix previous change.
19795 2002-01-16 Colin Walters <walters@verbum.org>
19797 * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
19798 URL, Compatibility headers. Update copyright notice.
19799 * ibuf-macs.el (toplevel): Require `cl' when compiling.
19801 2002-01-16 Andrew Choi <akochoi@cse.cuhk.edu.hk>
19803 * startup.el (command-line): Set EOL mnemonics for the Mac.
19805 2002-01-16 Andreas Schwab <schwab@suse.de>
19807 * mail/feedmail.el (feedmail): Fix :link spec.
19809 2002-01-16 Pavel JanÃk <Pavel@Janik.cz>
19811 * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
19814 * net/eudc.el: New maintainer. Change author's address.
19815 (eudc-pre-select-window-configuration, eudc-insertion-marker):
19817 (eudc-insert-selected): Function removed.
19818 (eudc-select): Reimplemented.
19819 (eudc-expand-inline): Delete the strings only after its expansion
19820 is chosen not before.
19822 * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
19823 Minor coding style fixes.
19825 * net/eudcb-ldap.el: New maintainer. Change author's address.
19826 (eudc-attribute-display-method-alist): Display mail with
19829 * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
19830 * net/eudc-vars.el: New maintainer. Change author's address.
19832 * net/eudc-bob.el: New maintainer. Change author's address.
19833 (eudc-bob-mail-keymap): New keymap for e-mail addresses.
19834 (eudc-display-mail): New function.
19835 (eudc-bob-play-sound-at-point): Remove XEmacs case.
19837 2002-01-15 Richard M. Stallman <rms@gnu.org>
19839 * emacs-lisp/autoload.el (make-autoload):
19840 Don't handle define-ibuffer-column, define-ibuffer-filter,
19841 define-ibuffer-sorter, and define-ibuffer-op.
19843 2002-01-14 Richard M. Stallman <rms@gnu.org>
19845 * calendar/calendar.el (diary-date-forms): Doc fix.
19847 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
19849 * startup.el (command-line): Register the default tty colors even
19850 if the terminal doesn't seem to support colors.
19851 <tty-long-option-alist>: New option --color.
19852 (tty-handle-args): Parse the --color arg.
19854 * term/tty-colors.el (tty-color-mode-alist): New variable.
19856 2002-01-14 Stefan Monnier <monnier@cs.yale.edu>
19858 * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
19859 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
19861 (ange-ftp-hook-function): Preserve match-data.
19862 (ange-ftp-insert-directory): Typo.
19863 (ange-ftp-shell-command): Check if regexp matched.
19865 2002-01-13 Richard M. Stallman <rms@gnu.org>
19867 * international/mule-cmds.el: help-map bindings moved to help.el.
19869 * help.el (view-echo-area-messages): New function.
19870 (help-map): Add `e' binding. Delete obsolete `d' binding.
19871 Change old Info bindings C-f, C-k and C-i to F, K, S.
19872 Move view-emacs-FAQ from F to C-f.
19873 Move view-emacs-problems from P to C-e.
19874 Bindings moved here from mule-cmds.el.
19875 C-l binding for describe-language-environment deleted.
19876 (help-for-help): Update for all these changes.
19878 * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
19880 2002-01-13 Dave Love <fx@gnu.org>
19882 * emacs-lisp/copyright.el: Doc fixes.
19883 (copyright-regexp): Add Latin-9 copyright sign.
19884 Match comment delimiters in year lists.
19885 (copyright-current-year): Initialize to load-time year.
19887 2002-01-13 Andreas Schwab <schwab@suse.de>
19889 * dired-aux.el (dired-do-shell-command): Doc fix.
19891 2002-01-13 Jan Djärv <jan.h.d@swipnet.se>
19893 * startup.el (command-line-x-option-alist): New options "-fs",
19894 "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
19896 * term/x-win.el (x-handle-initial-switch): New function.
19898 2002-01-13 Colin Walters <walters@debian.org>
19900 * emacs-lisp/autoload.el (make-autoload): Handle define-ibuffer-column,
19901 define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
19903 * emacs-lisp/lisp-mode.el (toplevel): Ditto.
19905 * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
19907 2002-01-12 Richard M. Stallman <rms@gnu.org>
19909 * net/browse-url.el (browse-url-grail):
19910 Use browse-url-maybe-new-window.
19912 * net/telnet.el (telnet-simple-send):
19913 Handle comint-input-sender-no-newline like comint-simple-send.
19915 * progmodes/sql.el (sql-query-placeholders-and-send):
19916 Handle comint-input-sender-no-newline like comint-simple-send.
19917 (sql-escape-newlines-and-send): Likewise.
19919 * comint.el (comint-input-sender): Doc fix.
19920 (comint-input-sender-no-newline): New variable.
19921 (comint-simple-send): If comint-input-sender-no-newline,
19922 don't output newline, but maybe send eof.
19923 (comint-send-input): New arg NO-NEWLINE.
19924 (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
19926 2002-01-12 Pavel JanÃk <Pavel@Janik.cz>
19928 * textmodes/flyspell.el (flyspell-check-pre-word-p):
19929 Prevent delaying when executing keyboard macros.
19931 2002-01-12 Richard M. Stallman <rms@gnu.org>
19933 * simple.el (line-move): If we can't move enough lines,
19934 go to beginning or end of line.
19936 * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
19939 * help.el (describe-mode): Call help-setup-xref in the help buffer.
19940 Switch buffers only after calling `help-buffer'.
19942 * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
19943 only when they are surrounded by whitespace.
19944 Use dired-mark-separator when adding one file name to a command.
19945 (dired-do-shell-command): Verify that * is surrounded by whitespace.
19946 Ask for confirmation if * or ? is not surrounded by whitespace.
19947 (dired-bunch-files): Re-reverse the partial file list when it is used.
19949 2002-01-12 Richard M. Stallman <rms@gnu.org>
19951 * comint.el (comint-dynamic-list-completions): Repeating the command
19952 after displaying a completion list scrolls the list.
19954 2002-01-12 Eli Zaretskii <eliz@is.elta.co.il>
19956 * files.el (find-file-noselect): Don't consider a buffer as
19957 visiting a file literally if it is in hexl-mode.
19959 * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
19961 2002-01-11 Richard M. Stallman <rms@gnu.org>
19963 * startup.el (initial-scratch-message): Fix custom type, add group.
19965 * mail/rmail.el (rmail-decode-babyl-format): Disable undo
19966 around the decode-coding-region call.
19968 * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
19969 after displaying a completion list scrolls the list.
19971 2002-01-11 Eli Zaretskii <eliz@is.elta.co.il>
19973 * version.el (emacs-version): Bump to 21.2.50.
19975 2002-01-10 Thien-Thi Nguyen <ttn@giblet.glug.org>
19977 * play/zone.el (zone-timeout): New var.
19978 (zone-hiding-modeline): New macro.
19979 (zone-call): New func.
19981 (zone): Init `modeline-hidden-level' symbol property.
19982 Use `zone-call' instead of `funcall'.
19984 (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 2001-10-26T20:11:25Z!monnier@iro.umontreal.ca).
19986 (zone-pgm-stress): Use `zone-hiding-modeline'.
19988 (zone-pgm-stress-destress): New zone program.
19990 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
19992 * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
19994 2002-01-09 Richard M. Stallman <rms@gnu.org>
19996 * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
19998 2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu>
20000 * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
20001 flyspell-mouse-map.
20003 2002-01-08 Richard M. Stallman <rms@gnu.org>
20005 * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
20007 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
20009 * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
20011 2002-01-08 Pavel JanÃk <Pavel@Janik.cz>
20013 * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
20014 Do not use make-local-hook.
20016 2002-01-08 Eli Zaretskii <eliz@is.elta.co.il>
20018 * international/quail.el (quail-start-translation)
20019 (quail-start-conversion): Bind last-command-event, last-command,
20020 and this-command in the first let. This fixes the change from
20023 2002-01-08 Michael Kifer <kifer@cs.stonybrook.edu>
20025 * ediff-hook.el: Add an autoload cookie.
20027 2002-01-08 Pavel JanÃk <Pavel@Janik.cz>
20029 * net/eudcb-ph.el, net/ldap.el: New maintainer. New e-mail
20030 address of the author.
20032 2002-01-08 Richard M. Stallman <rms@gnu.org>
20034 * replace.el (occur-mode-goto-occurrence-other-window): New command.
20035 (occur-mode-map): Bind `o' to that.
20037 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
20039 * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
20040 New macro that replaces viper-emacs-p and viper-xemacs-p in many
20041 cases. Used to reduce the number of warnings.
20043 * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
20044 (viper-standard-value): Move here from viper.el.
20045 (viper-set-unread-command-events): Move to viper-util.el.
20046 (viper-check-minibuffer-overlay): Make sure
20047 viper-minibuffer-overlay is moved to cover the entire input field.
20049 * viper-util.el: Use viper-cond-compile-for-xemacs-or-emacs.
20050 (viper-read-key-sequence, viper-set-unread-command-events)
20051 (viper-char-symbol-sequence-p, viper-char-array-p): Moved here.
20053 * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
20055 * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
20057 * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
20059 * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
20060 (viper-event-vector-p): Move to viper-util.el
20062 * viper.el (viper-standard-value): Move to viper-cmd.el.
20063 Use viper-cond-compile-for-xemacs-or-emacs.
20065 * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20067 * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20069 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
20070 New macro designed to be used in many places where ediff-emacs-p or
20071 ediff-xemacs-p was previously used. Reduces the number of warnings.
20072 Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
20074 (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
20075 (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
20076 (ediff-whitespace-diff-region-p, ediff-get-region-contents):
20077 Move to ediff-util.el.
20078 (ediff-event-key): Moved here.
20080 * ediff-merge.el: Got rid of unreferenced variables.
20082 * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20084 * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20085 (ediff-cleanup-mess): Improve the way windows are set up after
20087 (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
20088 (ediff-dispose-of-variant-according-to-user): New function
20089 designed to be smarter and also understands indirect buffers.
20090 (ediff-highlight-diff-in-one-buffer)
20091 (ediff-unhighlight-diff-in-one-buffer)
20092 (ediff-unhighlight-diffs-totally-in-one-buffer)
20093 (ediff-highlight-diff, ediff-highlight-diff)
20094 (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
20095 (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
20096 (ediff-get-region-contents, ediff-make-current-diff-overlay):
20098 (ediff-format-bindings-of): New function by Hannu Koivisto
20100 (ediff-setup): Make sure the merge buffer is always widened and
20102 (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
20103 result of a merge into a file visited by another buffer.
20104 (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
20105 is visited by another buffer and ask to save/delete that buffer.
20106 (ediff-verify-file-merge-buffer): New function to do the above.
20108 * ediff-vers.el: Load ediff-init.el at compile time.
20110 * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20112 * ediff.el (ediff-windows, ediff-regions-wordwise)
20113 (ediff-regions-linewise): Use indirect buffers to improve
20114 robustness and make it possible to compare regions of the same
20115 buffer (even overlapping regions).
20116 (ediff-clone-buffer-for-region-comparison)
20117 (ediff-clone-buffer-for-window-comparison): New functions.
20118 (ediff-files-internal): Refuse to compare identical files.
20119 (ediff-regions-internal): Get rid of the warning about comparing
20120 regions of the same buffer.
20122 * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Moved here.
20123 Plus the following fixes courtesy of Dave Love: Doc fixes.
20124 (ediff-word-1): Use word class and move - to the
20125 front per regexp documentation.
20126 (ediff-wordify): Bind forward-word-function outside loop.
20127 (ediff-copy-to-buffer): Use insert-buffer-substring rather than
20128 consing buffer contents.
20129 (ediff-goto-word): Move syntax table setting outside loop.
20131 2002-01-07 Richard M. Stallman <rms@gnu.org>
20133 * dired.el (dired-copy-filename-as-kill): Call kill-append
20134 if following a kill command.
20136 * help-fns.el (describe-variable, describe-function):
20139 2002-01-06 Pavel JanÃk <Pavel@Janik.cz>
20141 * net/ldap.el (ldap-search-internal): Skip error message from
20142 ldapsearch. Allow listing attribute names only. Do not open
20143 non-existent files.
20145 * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
20146 call non-existent function.
20148 * net/eudc.el (top-level): Revert previous change.
20150 * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
20151 variables to prevent warning from byte-compiler.
20153 * net/eudc.el (top-level): Use eudc-xemacs-p instead of
20154 string-match on emacs-version again.
20156 * enriched.el (enriched-make-annotation): Fix the change from
20158 (enriched-handle-display-prop): Return proper values.
20160 * net/eudcb-ldap.el (eudc-attribute-display-method-alist):
20161 Use proper attribute name labeledUri instead of deprecated labeledUrl.
20163 2002-01-05 Pavel JanÃk <Pavel@Janik.cz>
20165 * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
20166 editing an empty hotlist.
20168 * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
20169 Use buffer-string instead of buffer-substring for the whole buffer.
20171 * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
20174 * net/eudc-bob.el (eudc-bob-can-display-inline-images)
20175 (eudc-bob-display-jpeg): Use fboundp instead of boundp.
20176 (eudc-bob-save-object): Make the buffer unibyte.
20177 (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
20178 object to external program.
20180 2002-01-05 Andre Spiegel <spiegel@gnu.org>
20182 * vc.el (vc-branch-part): Return nil if there's no `.'.
20183 (vc-default-previous-version): Renamed from vc-previous-version.
20184 New args BACKEND and FILE. Return nil for revision numbers
20186 (vc-version-diff): Call vc-BACKEND-previous-version.
20187 (vc-steal-lock): Steal lock before composing mail, so that no mail
20188 is sent when the stealing goes wrong. And we'll actually see the
20189 error in that case now.
20190 (vc-finish-steal): Removed.
20192 * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
20193 the lock, so that we see expanded headers.
20194 (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p)
20195 (vc-rcs-minor-part, vc-rcs-previous-version): Removed. These are
20196 available from vc.el. Updated all callers.
20198 2002-01-05 Richard M. Stallman <rms@gnu.org>
20200 * enriched.el (enriched-make-annotation): Doc fix.
20202 * format.el (format-replace-strings, format-subtract-regions)
20203 (format-annotate-region, format-annotate-location)
20204 (format-annotate-atomic-property-change)
20205 (format-annotate-single-property-change): Doc fixes.
20207 2002-01-05 Jason Rumney <jasonr@gnu.org>
20209 * term/w32-win.el: Require fontset unconditionally.
20210 (w32-handle-scroll-bar-event): Remove.
20212 2002-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20214 * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
20215 copyrights to be updated.
20217 2002-01-04 Eli Zaretskii <eliz@is.elta.co.il>
20219 * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
20222 * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
20224 2002-01-04 Pavel JanÃk <Pavel@Janik.cz>
20226 * net/ldap.el (ldap-host-parameters-alist): Remove duplicated entry.
20227 (ldap-ignore-attribute-codings): Change the default value to allow
20228 encoding/decoding of attributes.
20229 (ldap-coding-system): Use UTF-8 as the coding-system. Doc fix.
20231 2002-01-03 Richard M. Stallman <rms@gnu.org>
20233 * files.el (basic-save-buffer): Undo previous change.
20235 * calendar/diary-lib.el (diary-block): Doc fix.
20237 * custom.el (defcustom): Fix syntax of previous change.
20239 2002-01-03 Per Abrahamsen <abraham@dina.kvl.dk>
20241 * custom.el (defcustom): Documented :tag, :link and :load.
20243 2002-01-03 Eli Zaretskii <eliz@is.elta.co.il>
20245 * mail/sendmail.el (mail-recover-1): New function.
20246 (mail-recover): Switch to the *mail* buffer right away.
20247 Use buffer-auto-save-file-name instead of calling
20248 make-auto-save-file-name. Call dired-noselect instead of invoking
20249 `ls' directly. Bind coding-system-for-read to emacs-mule-unix
20250 before reading the auto-save file. If the buffer's auto-save file
20251 does not exist, call mail-recover-1 to allow recovery from past
20254 2002-01-03 Pavel JanÃk <Pavel@Janik.cz>
20256 * time.el (display-time-load-average-threshold):
20257 Fix defcustom (add type and group).
20259 * net/ange-ftp.el (ange-ftp-shell-command): Remove port
20260 specification from the hostname.
20262 2002-01-02 Richard M. Stallman <rms@gnu.org>
20264 * facemenu.el (facemenu-active-faces):
20265 Use face-attributes-as-vector, not face-attributes-vector.
20267 2002-01-02 Chris Hanson <cph@aarau.ai.mit.edu>
20269 * xscheme.el: Eleven years of updates on a private copy.
20271 Extensive changes to support multiple xscheme buffers:
20272 (run-scheme): Break up into new functions to facilitate starting
20273 processes in other buffers.
20274 (xscheme-start, xscheme-read-command-line): New functions.
20275 (start-scheme, select-scheme)
20276 (default-xscheme-runlight)
20277 (global-set-scheme-interaction-buffer)
20278 (local-set-scheme-interaction-buffer)
20279 (local-clear-scheme-interaction-buffer)
20280 (exit-scheme-interaction-mode)
20281 (verify-xscheme-buffer): New functions.
20282 (xscheme-process-name, xscheme-buffer-name)
20283 (xscheme-runlight): New internal vars.
20284 (default-xscheme-runlight): New const.
20285 (xscheme-start-process): Add args for the process/buffer names.
20286 (reset-scheme): Pass process/buffer names.
20287 (scheme-interaction-mode): Initialize new local vars.
20288 (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
20289 (xscheme-select-process-buffer, xscheme-process-buffer)
20290 (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
20291 (xscheme-goto-output-point, xscheme-write-message-1): Use new
20292 var xscheme-process-name.
20293 (xscheme-start-process): Initialize xscheme-process-name and
20294 xscheme-buffer-name in the process buffer. Pass buffer name to
20295 xscheme-modeline-initialize.
20296 (xscheme-modeline-initialize): Add argument to specify buffer name
20297 for mode-line vars.
20298 (xscheme-process-sentinel): Make sure sentinel is run in the
20299 process buffer so it sees its local vars.
20300 (xscheme-process-filter-initialize, xscheme-set-runlight):
20301 More elaborate logic to handle multiple-buffer mode lines.
20303 (xscheme-enter-input-wait): Re-enable control-G handler upon
20304 entering input wait.
20306 (scheme-interaction-mode): Add arg to preserve local vars.
20307 (xscheme-enter-interaction-mode)
20308 (xscheme-enter-debugger-mode): Preserve local vars.
20309 (xscheme-start-process): Clobber local vars.
20311 (scheme-interaction-mode-commands): Allow end user to add commands
20312 to scheme-interaction-mode keymap.
20313 (scheme-interaction-mode-commands-alist): New variable.
20315 (xscheme-send-string): Don't use insert-before-markers.
20317 Implement a per-buffer kill ring:
20318 (xscheme-insert-expression)
20319 (xscheme-rotate-yank-pointer, xscheme-yank)
20320 (xscheme-yank-pop, xscheme-yank-push): New functions.
20321 (xscheme-expressions-ring)
20322 (xscheme-expressions-ring-yank-pointer)
20323 (xscheme-expressions-ring-max): New variables.
20324 (xscheme-send-string-1): Call xscheme-insert-expression to save
20325 expression in ring.
20326 (xscheme-yank-previous-send): Now an alias for xscheme-yank.
20327 (xscheme-previous-send): Deleted variable.
20329 (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed)
20330 (xscheme-send-control-g-interrupt): Use process-send-string rather
20333 (xscheme-send-region): Insert a newline after an expression that
20334 is submitted in the interaction buffer, for consistency with
20335 recent changes to Edwin.
20337 (xscheme-delete-output): New function mimics comint-delete-output.
20338 (xscheme-last-input-end): New internal variable.
20339 (xscheme-process-filter-output): Update xscheme-last-input-end.
20341 (xscheme-send-control-g-interrupt): Make sure that
20342 xscheme-control-g-disabled-p is looked up in the right buffer.
20344 (xscheme-enable-control-g): Clear C-g message if visible.
20345 (xscheme-control-g-message-string): New internal var.
20346 (xscheme-send-control-g-interrupt): Use new var.
20348 (xscheme-send-control-g-interrupt, xscheme-send-interrupt):
20349 Delay after sending interrupt in order to work around race condition.
20351 (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
20352 (xscheme-send-char): Use xscheme-send-char rather than send-string
20353 to send single char.
20355 (xscheme-process-filter, xscheme-process-filter-alist):
20356 Add support for evaluating expressions outside of the call-excursion.
20357 (xscheme-process-filter:string-action-noexcursion): New func.
20359 (xscheme-write-value): Change output string to match that used by
20362 (xscheme-coerce-prompt): Don't write a space after a command
20363 prompt. The PROMPT-FOR-COMMAND- procedures will take care of this
20366 (reset-scheme): Delete process after killing it.
20368 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
20370 * bindings.el (function-key-map): Don't bind shifted keypad
20373 2002-01-02 Pavel JanÃk <Pavel@Janik.cz>
20375 * enriched.el (enriched-handle-display-prop): Remove unused variables.
20376 (enriched-mode): Doc fix.
20378 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
20380 * international/ucs-tables.el (ucs-8859-8-alist): Comment away
20383 2002-01-01 Richard M. Stallman <rms@gnu.org>
20385 * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
20387 2001-12-31 Richard M. Stallman <rms@gnu.org>
20389 * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
20390 * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
20391 * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
20392 * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
20393 * progmodes/cperl-mode.el, progmodes/idlwave.el:
20394 * progmodes/sh-script.el, progmodes/vhdl-mode.el:
20395 Adapt face definitions to use :weight and :slant.
20397 * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
20399 * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
20401 * font-lock.el (initializing from font-lock-face-attributes):
20402 Use :weight and :slant, not :bold and :italic.
20404 2001-12-31 Per Abrahamsen <abraham@dina.kvl.dk>
20406 * cus-edit.el (custom-face-edit-fix-value): New function.
20407 (custom-face-edit): Use it, to convert :italic and :bold to new forms.
20409 2001-12-30 Pavel JanÃk <Pavel@Janik.cz>
20411 * progmodes/octave-mod.el (octave-abbrev-table):
20412 * progmodes/idlwave.el (idlwave-mode-abbrev-table):
20413 * progmodes/fortran.el (fortran-mode-abbrev-table):
20414 * progmodes/f90.el (f90-mode-abbrev-table):
20415 * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
20416 * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
20417 predefined abbrevs as "system" abbrevs.
20419 2001-12-30 Richard M. Stallman <rms@gnu.org>
20421 * info.el (Info-fontify-node): For a **** underline line, put the
20422 invisible and intangible props on the following newline, but not
20423 on the previous newline or the last char of the previous line.
20425 * faces.el (face-set-after-frame-default): Don't change `default' face.
20427 * faces.el (minibuffer-prompt): Adopt some default colors.
20429 * replace.el (query-replace-read-args): Immediate error if read-only.
20431 * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
20432 Display the output buffer in a more intelligent way.
20434 2001-12-30 Eli Zaretskii <eliz@is.elta.co.il>
20436 * ls-lisp.el (insert-directory): Modify the "total" line wording,
20437 in accordance with files.el's insert-directory.
20439 2001-12-29 Richard M. Stallman <rms@gnu.org>
20441 * files.el (basic-save-buffer): If a before-write hook displays
20442 an echo area message, pause before calling basic-save-buffer-1.
20444 2001-12-29 Markus Rost <rost@math.ohio-state.edu>
20446 * textmodes/reftex-global.el (reftex-query-replace-document)
20447 (reftex-change-label): Doc fix.
20449 * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
20451 * progmodes/etags.el (tags-query-replace): Doc fix.
20453 2001-12-29 Richard M. Stallman <rms@gnu.org>
20455 * progmodes/compile.el (compile-internal): Fix previous change.
20457 2001-12-28 Richard M. Stallman <rms@gnu.org>
20459 * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
20460 shrink the windows above as necessary to get space.
20461 (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
20463 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
20464 This fixes a bug that treated all files as directories.
20465 (ange-ftp-insert-directory): Explicitly follow symlinks.
20467 * international/iso-transl.el (iso-transl-char-map) Eliminate the
20468 alias symbols--put the translated sequences here directly.
20470 * progmodes/cc-mode.el (c-mode-abbrev-table)
20471 (c++-mode-abbrev-table, objc-mode-abbrev-table)
20472 (java-mode-abbrev-table, pike-mode-abbrev-table):
20473 Mark all the predefined abbrevs as "system" abbrevs.
20475 * mail/sendmail.el (mail-envelope-from): Fix custom type.
20476 (sendmail-send-it): Check mail-specify-envelope-from
20477 and mail-envelope-from in the mail buffer at start.
20479 2001-12-28 Simon Josefsson <jas@extundo.com>
20481 * mail/sendmail.el (mail-envelope-from): Fix :type.
20482 (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
20484 2001-12-28 Richard M. Stallman <rms@gnu.org>
20486 * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
20488 * simple.el (line-move-invisible): New subroutine.
20489 (line-move-to-column): New subroutine--smarter about advancing over
20490 invisible parts of a line, or lines, but only as long as hpos grows.
20491 (line-move-finish): New subroutine: repeatedly processes desired
20492 column, intangibility, and fields.
20493 (line-move): Use those subroutines.
20494 When moving lines downward, skip invisible text first rather than last.
20496 2001-12-27 Richard M. Stallman <rms@gnu.org>
20498 * international/mule-diag.el (describe-char-after):
20499 Describe the text properties of the char after point.
20501 * help.el (describe-key): Doc fix.
20503 2001-12-26 Markus Rost <rost@math.ohio-state.edu>
20505 * find-dired.el (find-dired-sentinel): Precede exit message by
20506 two spaces, to match the regexp in dired-between-files.
20508 2001-12-28 Miles Bader <miles@gnu.org>
20510 * wid-edit.el (widget-toggle-value-create): Don't eval actual
20511 images (which are lists too).
20513 2001-12-27 Eli Zaretskii <eliz@is.elta.co.il>
20515 * language/european.el: Fix the doc string of "Latin-5" language
20518 2001-12-26 Richard M. Stallman <rms@gnu.org>
20520 * textmodes/flyspell.el (flyspell-mode-map): New keymap,
20521 defined as before 2001-11-09.
20522 (add-minor-mode call): Specify the keymap.
20524 * progmodes/compile.el (compile-internal):
20525 Set TERM variable in process-environment.
20527 2001-12-25 Richard M. Stallman <rms@gnu.org>
20529 * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
20532 * startup.el (command-line): Convert command line args
20533 to Emacs internal representation using locale-coding-system.
20535 2001-12-25 Eli Zaretskii <eliz@is.elta.co.il>
20537 * international/fontset.el: Don't require ind-util when compiling.
20539 2001-12-25 Pavel JanÃk <Pavel@Janik.cz>
20541 * emulation/tpu-edt.el (tpu-reset-screen-size):
20542 Use set-frame-height and set-frame-width instead of set-screen-height
20543 and set-screen-width.
20545 * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
20546 of obsolete set-screen-width.
20548 * locate.el (locate): Remove dot at the end of error argument.
20550 * emerge.el (emerge-show-file-name): Use frame-height instead of
20551 obsolete screen-height.
20553 * mail/mh-utils.el (mh-show-msg): Likewise.
20554 (mh-handle-process-error): Use frame-width instead of obsolete
20557 2001-12-25 Richard M. Stallman <rms@gnu.org>
20559 * window.el (balance-windows): Use new PRESERVE-BEFORE arg
20560 to enlarge-window. Use save-selected-window. Don't try
20561 to resize windows that end at the bottom "level".
20562 Retry changing the sizes until the windows get the desired sizes.
20563 Discount the minibuffer when computing total height available.
20565 * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
20566 (debugger-make-xrefs): Only make a button for the first symbol
20569 2001-12-24 Eli Zaretskii <eliz@is.elta.co.il>
20571 * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
20572 Call IT-setup-unicode-display here instead of adding it to
20573 dos-codepage-setup-hook, so that Unicode display tables are set
20574 before dos-codepage-setup-hook runs.
20576 2001-12-24 Richard M. Stallman <rms@gnu.org>
20578 * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
20579 (nslookup-mode-abbrev-table): Don't define it.
20580 (smbclient-mode-abbrev-table): Don't define it.
20581 (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
20582 (nslookup-mode, smbclient-mode): Likewise.
20583 (network-connection-service-abbrev-alist): Variable deleted.
20584 (network-connection-mode-setup): Don't set up abbrev table.
20586 * faces.el (minibuffer-prompt): New face.
20587 (minibuffer-prompt-properties): Add `face' property.
20589 * replace.el (occur-mode-display-occurrence): New function.
20590 (occur-mode-map): Bind C-o to it.
20592 2001-12-24 Michael Kifer <kifer@cs.sunysb.edu>
20594 * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
20595 (viper-special-read-and-insert-char): Make C-m work right in the r
20597 (viper-buffer-search-enable): Fixed format string.
20599 * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
20600 instead of viper-info-on-file.
20601 (ex-set-visited-file-name): New function.
20603 * viper.el (viper-emacs-state-mode-list): Added mail-mode.
20605 * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
20608 * ediff-init.el: Fixed some doc strings.
20610 * ediff-util.el (ediff-after-quit-hook-internal): New variable.
20611 Got rid of make-local-hook.
20613 * ediff-wind.el (ediff-setup-control-frame): Got rid of
20616 2001-12-23 Richard M. Stallman <rms@gnu.org>
20618 * term/x-win.el (x-handle-geometry): Put height and width
20619 on default-frame-alist, left and top on initial-frame-alist.
20620 * term/w32-win.el (x-handle-geometry): Likewise.
20622 * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
20624 * play/yow.el (yow): Use an arg to distinguish interactive calls,
20627 2001-12-22 Pavel JanÃk <Pavel@Janik.cz>
20629 * emacs-lisp/elint.el (elint-unknown-builtin-args):
20630 Remove mocklisp entries.
20632 * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
20635 * emulation/mlconvert.el: File removed.
20637 * emulation/mlsupport.el: Moved to obsolete.
20639 * obsolete/mlsupport.el: Moved there from lisp/emulation.
20641 * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
20643 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
20644 Remove mocklisp case.
20646 * help-fns.el (describe-function-1): Remove mocklisp function case.
20648 2001-12-22 Miles Bader <miles@gnu.org>
20650 * textmodes/refill.el (refill-mode): Don't barf when redundantly
20651 turning refill-mode off.
20653 2001-12-22 Pavel JanÃk <Pavel@Janik.cz>
20655 * time.el (display-time-load-average-threshold): New variable.
20656 (display-time-update): Use it.
20658 These changes allow cycling through past 1, 5 and 15 minutes
20659 load-average displayed in the mode-line.
20661 * time.el (display-time-default-load-average): New customizable option.
20662 (display-time-load-average): New variable.
20663 (display-time-cycle-load-average): New function.
20664 (display-time-update): Use them.
20666 2001-12-21 Richard M. Stallman <rms@gnu.org>
20668 * apropos.el (apropos-print): SPACING is now nil or a separator string.
20669 (apropos-documentation, apropos-value): Pass a suitable string.
20671 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
20673 * dired.el (dired-free-space-program, dired-free-space-args):
20674 Aliases for back-compatibility.
20676 * info.el (Info-select-node): If Info-use-header-line is nil, set
20677 header-line-format to nil.
20678 (Info-fontify-node): Don't put a keymap text property on the
20679 heading if we are not going to display the header line. Remove
20680 any such text properties left over from past visits to this node.
20682 * ls-lisp.el (insert-directory): Insert the amount of free disk
20683 space, like files.el's insert-directory does.
20685 * files.el (directory-free-space-program):
20686 Mention file-system-info in the doc string.
20687 (get-free-disk-space): New function; code moved from insert-directory.
20688 (insert-directory): Call get-free-disk-space to get the amount of
20691 2001-12-21 Richard M. Stallman <rms@gnu.org>
20693 * help.el (view-order-manuals, view-emacs-news, describe-copying)
20694 (describe-distribution, describe-project): Use view-file.
20696 * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
20698 * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
20700 * emacs-lisp/easy-mmode.el (define-minor-mode):
20701 Make no arg by default in an interactive call,
20702 so that repeating the command toggles again.
20704 * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
20706 2001-12-21 Christoph Wedler <Christoph.Wedler@sap.com>
20708 * progmodes/antlr-mode.el: More sophisticated indentation
20710 (antlr-indent-at-bol-alist): New user option.
20711 (antlr-indent-line): Use it.
20712 (antlr-indent-style): New user option.
20713 (antlr-mode): Use it.
20714 (antlr-indent-item-regexp): Customize.
20716 * progmodes/antlr-mode.el: Syntax highlighting changes.
20717 (antlr-font-lock-literal-regexp): New user option.
20718 (antlr-font-lock-syntax-face): New face used for :, |, ....
20719 (antlr-font-lock-default-face): New face.
20720 (antlr-font-lock-additional-keywords): Use them.
20722 * progmodes/antlr-mode.el: New command to insert options -- variables.
20723 (antlr-mode-map): New binding [C-c C-o].
20724 (antlr-mode-menu): New submenus.
20725 (antlr-options-use-submenus): New user option.
20726 (antlr-tool-version): New user option.
20727 (antlr-options-auto-colon): New user option.
20728 (antlr-options-style): New user option.
20729 (antlr-options-push-mark): New user option.
20730 (antlr-options-assign-string): New user option.
20731 (antlr-options-headings): New variable.
20733 * progmodes/antlr-mode.el: New command to insert options -- specific.
20734 (antlr-options-alists): New variable.
20735 (antlr-read-value): New function.
20736 (antlr-read-boolean): New function.
20737 (antlr-language-option-extra): New function.
20738 (antlr-language-limit-n-regexp): Change default to higher LIMIT.
20739 (antlr-c++-mode-extra): New function.
20740 (antlr-grammar-tokens): New function.
20741 (antlr-imenu-create-index-function): New optional argument.
20743 * progmodes/antlr-mode.el: New command to insert options -- functions.
20744 (antlr-insert-option): New command.
20745 (antlr-insert-option-interactive): New function.
20746 (antlr-options-menu-filter): New function.
20747 (antlr-option-kind): New function.
20748 (antlr-scan-lists): New alias.
20749 (antlr-scan-lists-internal): New function.
20750 (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
20751 (antlr-option-level): New function.
20752 (antlr-syntactic-grammar-depth): New function.
20753 (antlr-option-location): New function.
20754 (antlr-insert-option-do): New function.
20755 (antlr-option-spec): New function.
20756 (antlr-version-string): New function.
20757 (antlr-insert-option-existing): New function.
20758 (antlr-insert-option-space): New function.
20759 (antlr-insert-option-area): New function.
20761 * progmodes/antlr-mode.el: New electric keys ":;|&(){}", TAB works better
20762 with narrowing. Menu change. Miscellaneous.
20763 (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
20764 (antlr-mode-map): New bindings for characters in ":;|&(){}".
20765 (antlr-electric-character): New command.
20766 (antlr-class-header-regexp): New variable.
20767 (antlr-font-lock-additional-keywords): Use it.
20768 (antlr-imenu-create-index-function): Use it.
20769 (antlr-file-dependencies): Use it.
20770 (antlr-indent-line): Also works with restrictions.
20771 (antlr-indent-command): Interactive spec - changes the buffer.
20772 (antlr-language-for-option): Deletia.
20773 (antlr-language-option): New function, defined instead.
20774 (antlr-mode): Use it.
20776 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
20778 * jka-compr.el (jka-compr-partial-uncompress): Use null-device
20779 instead of a literal /dev/null.
20781 * Makefile.in (distclean): Remove Makefile in the build
20782 directory, not in the source directory.
20784 2001-12-21 Simon Josefsson <jas@extundo.com>
20786 * mail/smtpmail.el (smtpmail-send-queued-mail):
20787 Use with-temp-buffer instead of find-file-noselect, and bind
20788 coding-system-for-read to no-conversion when reading the queued
20789 messages. (Simon's code modified slightly by Eli Zaretskii.)
20791 2001-12-20 Werner Lemberg <wl@gnu.org>
20793 * international/mule-diag.el (describe-coding-system)
20794 (print-coding-system-briefly): Make printed output have a similar
20795 format as describe-character-set.
20797 2001-12-20 Pavel JanÃk <Pavel@Janik.cz>
20799 * play/blackbox.el (bb-member): Remove, use member instead.
20800 (bb-delete): Remove, use delete instead.
20801 Update copyright notice. Defvar for bb-board, bb-x, bb-y,
20802 bb-score, bb-detour-count and bb-balls-placed.
20803 Propertize results of rays.
20805 2001-12-19 Karl Fogel <kfogel@red-bean.com>
20807 * isearch.el (isearch-forward, isearch-edit-string): Make doc
20808 strings mention keybinding for `isearch-yank-word-or-char',
20809 rather than `isearch-yank-word', since the former is bound now
20810 and the latter is not.
20811 (isearch-yank-word-or-char): Fix formatting.
20813 2001-12-19 Werner Lemberg <wl@gnu.org>
20815 * language/czech.el, language/european.el, language/slovak.el:
20816 More fixes for language info doc strings.
20818 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il>
20820 * loadup.el: Add "language" to the load-path.
20822 2001-12-19 Richard M. Stallman <rms@gnu.org>
20824 * international/mule-cmds.el (describe-language-environment):
20825 Fix calls to help-xref-button.
20827 2001-12-19 Miles Bader <miles@gnu.org>
20829 * international/fontset.el: Require `ind-util' when compiling.
20831 2001-12-18 Pavel JanÃk <Pavel@Janik.cz>
20833 * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
20834 instead of decompose-composite-char.
20836 2001-12-18 Richard M. Stallman <rms@gnu.org>
20838 * simple.el (eval-expression-print-level)
20839 (eval-expression-print-length): Doc fixes.
20841 * international/mule-diag.el (describe-character-set):
20842 Fix the arg to help-xref-button.
20844 * files.el (directory-free-space-program): New variable.
20845 (directory-free-space-args): New variable.
20846 (insert-directory): Use those two variables for getting free space.
20847 Use file-system-info instead, if that is defined.
20849 * dired.el (dired-free-space-program): Variable deleted.
20850 (dired-free-space-args): Variable deleted.
20851 (dired-insert-directory): Don't try to determine free space.
20853 * files.el (font-lock-defaults): Add risky-local-variables prop.
20854 (hack-one-local-variable): Treat various font-lock variables as risky.
20856 2001-12-18 Werner Lemberg <wl@gnu.org>
20858 * language/chinese.el, language/cyrillic.el:
20859 * language/czech.el, language/european.el, language/greek.el:
20860 * language/hebrew.el, language/indian.el, language/japanese.el:
20861 * language/korean.el, language/lao.el, language/slovak.el:
20862 * language/thai.el, language/tibetan.el, language/vietnamese.el:
20863 Improve documentation strings of coding systems and language infos.
20865 2001-12-18 Werner LEMBERG <wl@gnu.org>
20867 Add support for EUC-TW decoding/encoding.
20869 * language/china-util.el (big5-to-flat-code, flat-code-to-big5)
20870 (euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
20871 New auxiliary functions to build `big5-to-cns'.
20872 (big5-to-cns): New translation alist.
20874 * language/chinese.el: Added new coding system `euc-tw' and its
20875 alias `euc-taiwan'.
20876 Updated language `Chinese-CNS' to include euc-tw encoding also.
20877 (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
20880 2001-12-18 Dave Love <fx@gnu.org>
20882 * loadup.el: Add language/utf-8-lang, language/georgian.
20884 * image-file.el (image-file-name-extensions): Add pnm. Doc fix.
20885 (image-file-name-regexps): Doc fix.
20887 * server.el (server-unload-hook): New function.
20889 * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
20890 (lm-crack-copyright): Cope with multi-line copyright `lines'.
20892 * simple.el (newline): Doc fix.
20893 (eval-expression-print-level, eval-expression-print-length): Doc
20895 (next-line, previous-line): Make arg optional.
20896 (newline): Doc fix.
20898 * Makefile.in (DONTCOMPILE): Add various language files.
20900 * international/quail.el (quail-input-string-to-events): Don't use
20903 * progmodes/f90.el (f90-break-line): Avoid infinite recursion
20906 2001-12-17 Richard M. Stallman <rms@gnu.org>
20908 * comint.el (comint-dynamic-list-input-ring-select): New function.
20909 Switches back to the old window configuration.
20910 (comint-dynamic-list-input-ring): Bind RET to that function.
20911 (comint-dynamic-list-input-ring-window-conf): New variable.
20913 2001-12-17 Werner Lemberg <wl@gnu.org>
20915 * international/mule-conf.el: Improve documentation strings of
20918 2001-12-16 Richard M. Stallman <rms@gnu.org>
20920 * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
20921 (dired-mode-map): Bind w to dired-copy-filename-as-kill.
20923 * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
20925 * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
20926 Add a DESCRIPTION for the makefile item.
20928 * find-file.el (ff-other-file-name): New function.
20930 2001-12-16 Eli Zaretskii <eliz@is.elta.co.il>
20932 * international/quail.el (quail-input-string-to-events): Fix last
20935 2001-12-16 Richard M. Stallman <rms@gnu.org>
20937 * isearch.el (isearch-edit-string): When we set isearch-string
20938 to the default, also set isearch-message.
20940 * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
20942 * startup.el (command-line-1): Display startup screen
20943 even if there are command line args.
20944 Add a note about how to go to editing your files.
20945 (fancy-splash-head): Add a note about how to go to your files.
20946 (fancy-splash-outer-buffer): New variable.
20947 (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
20949 * subr.el (with-temp-message): At the end, always discard
20950 the temp message, even by clearing the echo area.
20952 * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
20954 2001-12-16 Stefan Monnier <monnier@cs.yale.edu>
20956 * log-view.el (log-view-message-re, log-view-current-tag):
20957 Recognize Subversion's log output format.
20959 * international/fontset.el: Build the list L at compile time.
20961 * language/ind-util.el (mapthread): Make a closure.
20963 2001-12-15 Richard M. Stallman <rms@gnu.org>
20965 * isearch.el (isearch-start-hscroll): New variable.
20966 (isearch-mode): Set isearch-start-hscroll.
20967 (isearch-update): Restore original hscrolling if possible.
20969 * isearch.el (isearch-edit-string):
20970 Treat isearch-yank-word-or-char specially, like isearch-yank-word.
20972 * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
20973 (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
20974 rather than regexp search and (2) copying text properties
20975 already set up on text unchanged from the previous backtrace.
20977 * case-table.el (set-case-syntax-pair):
20978 Detect invalid calls and signal an error.
20980 2001-12-15 Richard M. Stallman <rms@gnu.org>
20982 * language/ind-util.el (range): Function deleted.
20983 (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
20986 * language/devan-util.el (devanagari-range): Renamed from `range'.
20988 (devanagari-regexp-of-hashtbl-keys):
20989 Renamed from `regexp-of-hashtbl-keys'. All calls changed.
20991 2001-12-15 Dave Love <fx@gnu.org>
20993 * language/ind-util.el: Don't require cl.
20994 (indian-glyph-char, indian-glyph-max-char)
20995 (indian-char-glyph): Moved from indian.el.
20996 (indian--puthash-char, mapthread): Don't quote lambda.
20997 (indian--map): New function.
20998 (indian--puthash-v, indian--puthash-c, indian--puthash-m)
20999 (indian--puthash-cv): Use it.
21001 * language/indian.el (indian-glyph-char, indian-glyph-max-char)
21002 (indian-char-glyph): Moved to ind-util.el
21004 * language/devan-util.el (devanagari-post-read-conversion):
21007 * language/georgian.el: New file.
21009 * international/mule-cmds.el (locale-language-names): Add various
21010 entries. Remove utf-8 special case.
21011 (locale-charset-language-names, locale-preferred-coding-systems):
21013 (set-language-environment): Process required-features earlier.
21015 * international/quail.el (quail-keyboard-layout-alist):
21017 (quail-keyboard-layout-type): Fix :type.
21018 (quail-choose-completion-string): Simplify.
21019 (quail-update-leim-list-file): Don't get fooled by commented-out code.
21020 (quail-input-string-to-events): Run events through
21021 translation-table-for-input.
21023 * international/mule-conf.el (translation-table-for-input):
21025 (latin-iso8859-14): Amend description.
21026 (file-coding-system-alist): Add entry for utf-8.
21028 * language/utf-8-lang.el: New file.
21030 * international/code-pages.el: New file.
21032 * language/hebrew.el ("Windows-1255"): New language.
21034 * language/european.el ("Welsh", "Latin-7", "Lithuanian")
21035 ("Latvian"): New languages.
21037 2001-12-14 Stefan Monnier <monnier@cs.yale.edu>
21039 * xml.el: Use setq rather than (set 'foo bar).
21040 Use push+nreverse rather than append.
21041 (xml-node-name, xml-node-attributes, xml-node-children):
21042 Use defsubst rather than macros.
21043 (xml-parse-region): Handle a nil return value from xml-parse-tag.
21044 (xml-parse-tag): Don't skip white space. Return nil for a comment.
21045 Concat the two strings surrounding a comment into a single string.
21047 * newcomment.el (comment-indent): Jump to the middle of empty comments.
21049 2001-12-14 Pavel JanÃk <Pavel@Janik.cz>
21051 * select.el (xselect-convert-to-class, xselect-convert-to-name):
21054 2001-12-14 Andre Spiegel <spiegel@gnu.org>
21056 * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
21057 Return nil if FILE is not registered.
21058 (vc-check-master-templates, vc-default-make-version-backups-p):
21061 2001-12-13 David Ponce <david@dponce.com>
21063 * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
21064 (ruler-mode-left-fringe-cols): New macro.
21065 (ruler-mode-right-fringe-cols): New macro.
21066 (ruler-mode-left-scroll-bar-cols): New macro.
21067 (ruler-mode-right-scroll-bar-cols): New macro.
21068 (ruler-mode-ruler): Use above new macros.
21070 2001-12-13 Richard M. Stallman <rms@gnu.org>
21072 * files.el (set-auto-mode): Fix previous change.
21074 2001-12-13 Stefan Monnier <monnier@cs.yale.edu>
21076 * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
21077 (easy-menu-do-define, easy-menu-convert-item-1)
21078 (easy-menu-define-key-intern, easy-menu-get-map): Use it.
21079 (easy-menu-return-item): Only return nil if there is no binding.
21081 2001-12-13 Rajesh Vaidheeswarran <rv@gnu.org>
21083 * whitespace.el (whitespace-version): 3.2
21084 * whitespace.el (whitespace-force-mode-line-update): Replace with
21085 `whitespace-mode-line-update', which is an alias to the correct
21086 function in various emacsen.
21087 * whitespace.el (whitespace-{un,}highlight-the-space):
21088 Add colorized highlighting of the bogus whitespaces in a buffer/file,
21089 using the `whitespace-highlight-face' if
21090 `whitespace-display-spaces-in-color' is set.
21092 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
21094 * international/mule.el (set-auto-coding): Don't search for
21095 "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
21097 2001-12-13 Pavel JanÃk <Pavel@Janik.cz>
21099 * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
21101 * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
21103 * mail/rmailsum.el (rmail-summary-mode): Likewise.
21105 2001-12-13 Richard M. Stallman <rms@gnu.org>
21107 * simple.el (undo): Always set this-command to `undo',
21108 so that the next undo after an error will not begin redoing.
21110 * simple.el (shell-command): Doc fix.
21111 (shell-command-on-region): If there is output and an error,
21112 add "...Shell command failed" to the output.
21114 2001-12-13 David Ponce <david@dponce.com>
21116 * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
21117 (ruler-mode-left-fringe-cols): Function replaced by more efficient
21118 implementation `ruler-mode-extra-left-cols'.
21119 (ruler-mode-ruler): Use above new function. Take into account
21120 that the fringe areas can now be resized.
21122 2001-12-12 Richard M. Stallman <rms@gnu.org>
21124 * international/characters.el (Unicode): Comment out
21125 the specifications for kelvin and angstrom signs.
21127 * international/mule.el (make-translation-table-from-vector):
21128 Allow null elements in VEC.
21130 * international/ucs-tables.el (unify-8859-on-encoding-mode)
21131 (unify-8859-on-decoding-mode): Swap the code in their bodies.
21134 2001-12-11 Richard M. Stallman <rms@gnu.org>
21136 * derived.el (derived-mode-p): Function moved to subr.el.
21138 * subr.el (derived-mode-p): Moved here from derived.el.
21140 * international/mule.el (set-auto-coding): Use set-auto-mode-1.
21142 * files.el (set-auto-mode-1): New subroutine, broken out of
21144 (set-auto-mode, hack-local-variables-prop-line): Use that.
21146 2001-12-11 Dave Love <fx@gnu.org>
21148 * language/thai-util.el, language/thai.el: Add Unicode equivalents.
21150 * language/european.el: Remove autoload cookies. Fix registration
21151 of diacritic composition function.
21153 2001-12-11 Pavel JanÃk <Pavel@Janik.cz>
21155 * calendar/todo-mode.el: Require time-stamp.
21157 * net/zone-mode.el (zone-mode): Don't use make-local-hook.
21159 2001-12-11 Richard M. Stallman <rms@gnu.org>
21161 * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
21163 * textmodes/ispell.el (ispell-buffer-local-parsing):
21164 Match xml like sgml.
21166 * emacs-lisp/advice.el (ad-compile-function):
21167 Byte compile the function under another (uninterned) name.
21169 * gud.el (gdb): Define and bind gud-jump.
21171 * font-lock.el (font-lock-mode):
21172 Put our function at the end of after-change-functions.
21174 * ediff-diff.el (ediff-cmp-options): Doc fix.
21176 * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
21178 2001-12-10 Richard M. Stallman <rms@gnu.org>
21180 * isearch.el (isearch-yank-word-or-char): New function.
21181 (isearch-mode-map): Bind C-w to that.
21183 * menu-bar.el (menu-bar-mode): Make arg optional.
21185 * simple.el (line-move): Cope if next-single-property-change
21186 or previous-single-property-change returns nil.
21188 * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
21189 Don't use interactive-p; instead, pass the proper args
21190 in (interactive...). Clean up most of the trouble-report strings.
21192 2001-12-10 Eli Zaretskii <eliz@is.elta.co.il>
21194 * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
21195 enqueued messages literally.
21197 2001-12-10 Noah Friedman <friedman@splode.com>
21199 * battery.el (battery-insert-file-contents): Obsolete function
21201 (battery-read-function): Obsolete function removed.
21202 (battery-linux-proc-apm): Use insert-file-contents.
21204 2001-12-07 Stephen Eglen <stephen@gnu.org>
21206 * iswitchb.el (iswitchb-visit-buffer):
21207 Use `select-frame-set-input-focus'--needed when window manager
21208 uses "click to focus" policy.
21210 2001-12-09 Pavel JanÃk <Pavel@Janik.cz>
21212 * COPYING: Moved back.
21214 2001-12-07 Eli Zaretskii <eliz@is.elta.co.il>
21216 * term/internal.el (IT-character-translations): Add entries for
21219 * international/characters.el: Resurrect the Hebrew category
21220 settings for all Hebrew characters removed by the last change.
21221 Add code for setting the Hebrew category of the Unicode Hebrew
21222 characters. Set syntax entries for Hebrew punctuation characters.
21224 * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
21225 points and directional formatting control characters.
21227 2001-12-07 Dave Love <fx@gnu.org>
21229 * language/lao-util.el: Add Unicode equivalents for rules.
21230 (lao-post-read-conversion): New function.
21232 * language/lao.el: Add Unicode equivalents.
21233 (lao): Add post-read conversion.
21235 * international/latin1-disp.el: Fix some 8-bit-graphic characters.
21236 Use iso2022 encoding.
21237 (latin1-char-displayable-p): Doc fix.
21238 (latin1-display-ucs-per-lynx): New option.
21239 (latin1-display-ucs-per-lynx): New command.
21240 (latin1-display-reset): Special-case arabic.
21241 (ucs-tables): Require.
21242 (latin1-display-sets, latin1-display-setup): Add arabic.
21243 (latin1-display) <variable>: Use function latin1-display.
21244 (latin1-display) <function>: Add mule-unicode stuff.
21245 (latin1-display-check-font): Don't lose if `info' is nil.
21247 * international/iso-transl.el: Insert Latin-1 characters, not
21250 * language/european.el (diacritic-composition-pattern): New constant.
21251 (diacritic-compose-region, diacritic-compose-string)
21252 (diacritic-compose-buffer, diacritic-post-read-conversion)
21253 (diacritic-composition-function): New functions.
21255 * international/utf-8.el (ucs-mule-to-mule-unicode):
21256 New translation table.
21257 (ccl-encode-mule-utf-8): Use it.
21258 (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
21259 (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
21260 (utf-8-subst-table): New variable.
21261 (utf-8-compose-scripts): New option.
21262 (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
21264 * international/ucs-tables.el, international/utf-8-subst.el:
21267 * international/characters.el: Don't set word syntax (the default)
21268 explicitly. Add a diacritic category. Add info for Unicode
21269 equivalents of characters in various Mule charsets and for extra
21270 Unicode characters. Don't define specific categories for
21271 Indian/Devanagari, since they aren't used.
21273 2001-12-06 Richard M. Stallman <rms@gnu.org>
21275 * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
21276 (set-justification-left, set-justification-right): Doc fix.
21278 * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
21279 (bug-f90-mode): Variable deleted.
21281 2001-12-06 Stefan Monnier <monnier@cs.yale.edu>
21283 * indent.el (indent-line-function): Default is indent-relative again.
21285 2001-12-07 Miles Bader <miles@gnu.org>
21287 * progmodes/compile.el (compilation-error-regexp-alist):
21288 Added regexps for RXP.
21290 2001-12-05 Eli Zaretskii <eliz@is.elta.co.il>
21292 * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
21293 Add shift-assignment operators to those highlighted, and highlight
21294 the whole operator rather than just the "=".
21296 2001-12-04 Juanma Barranquero <lektu@terra.es>
21298 * files.el (save-abbrevs, save-some-buffers): Don't ask the user
21299 before saving abbrevs if `save-abbrevs' has the value `silently'.
21301 2001-12-04 Andreas Schwab <schwab@suse.de>
21303 * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
21305 2001-12-04 Colin Walters <walters@debian.org>
21307 * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
21308 for `defmacro*' forms.
21310 * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
21313 2001-12-03 Stefan Monnier <monnier@cs.yale.edu>
21315 * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
21317 2001-12-02 Richard M. Stallman <rms@gnu.org>
21319 * files.el (insert-directory): If the df output does not look right,
21320 don't try to use it. Other cleanups in overall code structure.
21322 2001-12-02 Stefan Monnier <monnier@cs.yale.edu>
21324 * textmodes/outline.el (outline-mode-prefix-map):
21325 Add bindings for outline-promote and outline-demote.
21326 (outline-minor-mode-menu-bar-map): New var.
21327 (outline-minor-mode): Use it.
21328 (outline-heading-alist): New var (renamed from outline-level-heading).
21329 (outline-level): Use it.
21330 (outline-insert-heading, outline-promote, outline-demote):
21331 Update to use outline-heading-alist.
21333 * disp-table.el (standard-display-european):
21334 Simplify since the function is not interactive any more.
21335 Don't set the existing buffers to unibyte.
21337 * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
21339 * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
21341 * reveal.el (reveal-mode): Fix reveal-mode's lighter.
21343 * shell.el (shell): Use shell-file-name.
21344 Pop to buffer before calling comint to set COLUMNS properly.
21346 * emacs-lisp/cl.el (svref): New alias.
21348 * progmodes/antlr-mode.el (antlr-c-common-init):
21349 Don't inhibit adaptive-fill-mode any more.
21351 * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
21353 * progmodes/etags.el (tags-with-face): Use make-symbol.
21354 (tags-search, tags-query-replace): Use backquotes.
21356 * textmodes/picture.el (picture-mode-map): Don't use defconst
21359 2001-12-02 Pavel JanÃk <Pavel@Janik.cz>
21361 * textmodes/reftex-index.el (reftex-index-mode):
21362 Remove make-local-hook.
21364 * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
21366 2001-12-02 Kim F. Storm <storm@cua.dk>
21368 * isearch.el (isearch-resume-enabled): New variable.
21369 (isearch-done): Use that variable.
21371 2001-12-01 Richard M. Stallman <rms@gnu.org>
21373 * wid-edit.el (widget-button-click): Don't move point permanently:
21374 Avoid mouse-set-point--instead select the window,
21375 then do save-excursion, then move point.
21376 Specify the buffer for get-char-property.
21377 Don't use `@' in interactive.
21379 * indent.el (indent-line-function):
21380 Default is indent-to-left-margin again.
21382 * replace.el (query-replace-read-args): Display message
21383 if FROM contains `\n' or `\t'.
21385 2001-12-01 Stefan Monnier <monnier@cs.yale.edu>
21387 * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
21389 * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
21391 * emacs-lisp/regexp-opt.el (regexp-opt):
21392 Bind completion-regexp-list to nil.
21394 * progmodes/hideif.el (hif-nexttoken): Move to before first def.
21396 2001-12-01 Eli Zaretskii <eliz@is.elta.co.il>
21398 * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
21399 * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
21402 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
21404 * mail/smtpmail.el: Use with-current-buffer.
21405 (message-make-date, message-make-message-id): Autoload when needed.
21406 (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
21407 headers when missing.
21409 * international/encoded-kb.el (encoded-kbd-mode):
21410 Use define-minor-mode.
21412 * enriched.el (enriched-mode): Use define-minor-mode.
21413 Use dolist and pop and push.
21415 * info.el (Info-find-node-2): Don't call info-insert-file-contents
21416 with the `visit' argument.
21417 (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
21419 * progmodes/hideif.el (hide-ifdef-mode): Only modify
21420 `change-major-mode-hook' locally. Reset invisibility spec.
21422 * man.el (Man-build-section-alist): Remove last Man-match-substring.
21424 2001-11-30 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
21426 * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
21427 Clarify error message.
21429 2001-11-29 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
21431 * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
21433 2001-11-30 Andre Spiegel <spiegel@gnu.org>
21435 * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
21436 don't just return it.
21438 2001-11-30 Eli Zaretskii <eliz@is.elta.co.il>
21440 * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
21441 (menu-bar-read-emacs-man, search-emacs-glossary)
21442 (emacs-index-search, elisp-index-search): New functions.
21443 (apropos-documentation, apropos, apropos-value, apropos-variable)
21444 (apropos-commands): Modify menu item names and help text.
21445 (elisp-index-search, emacs-index-search, emacs-glossary):
21447 (menu-bar-manuals-menu): Move the Ordering Manuals item to a
21449 (info-elisp, info-elintro): New menu items.
21450 (apropos): Modify the menu item name.
21452 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
21454 * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
21456 * textmodes/outline.el (outline-promote, outline-demote): Typo.
21458 * man.el (man-follow-mouse): New function.
21459 (Man-mode-map): Bind mouse-2 to it.
21460 (Man-match-substring): Remove. Replace with `match-string'.
21461 (man): Use the `default-value' argument to `read-string'.
21462 (Man-fontify-manpage): Add mouse-face to cross references.
21464 * emacs-lisp/cl-macs.el (shiftf): Fix more. Simplify.
21466 2001-11-29 Stefan Monnier <monnier@cs.yale.edu>
21468 * emacs-lisp/crm.el (completing-read-multiple): Better preserve
21469 the value of require-match in minibuffer-completion-confirm.
21470 Use crm-local-completion-map.
21472 * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
21473 (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
21474 (cl-make-type-test): Use char-valid-p for `character'.
21476 * info.el (Info-complete-next-re, Info-complete-cache): New vars.
21477 (Info-complete-menu-item): Rewrite. Add the ability to search
21478 several sequential nodes. Add a simple caching mechanism.
21479 (Info-goto-index): New function extracted from Info-index.
21480 (Info-index): Use it. Add completion to the interactive spec.
21481 (Info-menu-update): Simplify call to `Info-complete-menu-item'.
21483 2001-11-29 Pavel JanÃk <Pavel@Janik.cz>
21485 * COPYING: Removed.
21487 2001-11-29 Dave Love <fx@gnu.org>
21489 * progmodes/fortran.el: Fontify rewind, backspace. Doc fixes.
21490 (fortran-window-create, fortran-window-create-momentarily):
21491 Rewrite, moving error condition.
21492 (fortran-beginning-do, fortran-beginning-if): Fix regexps.
21493 (fortran-mode-syntax-table): Revert last change.
21495 * international/mule.el: Doc fixes.
21496 (map-charset-chars): New function.
21497 (register-char-codings): Use it to cope with generic chars in
21500 2001-11-29 Pavel JanÃk <Pavel@Janik.cz>
21502 * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
21504 * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
21506 * play/studly.el (studlify-word, studlify-region)
21507 (studlify-buffer): Fix doc-string.
21508 (studlify-buffer): Add autoload cookie.
21510 2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
21512 * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
21513 (outline-up-heading-all): Remove.
21514 (hide-sublevels): Move to end-of-heading before calling flag-region.
21515 (outline-copy-overlay, outline-discard-overlays): Remove.
21516 (outline-flag-region): Use `remove-overlays'.
21517 Don't move to end-of-heading.
21518 (outline-next-visible-heading, outline-back-to-heading)
21519 (outline-on-heading-p): Use outline-invisible-p.
21520 (outline-font-lock-level): Use outline-up-heading's new arg.
21521 (outline-minor-mode): Simplify.
21522 (outline-map-tree, outline-reveal-toggle-invisible): New funs.
21523 (outline): Put a `reveal-toggle-invisible' property.
21524 (outline-level-heading): New var.
21525 (outline-insert-heading, outline-promote, outline-demote)
21526 (outline-toggle-children): New commands.
21528 * progmodes/hideif.el (hif-end-of-line): New function.
21529 (hide-ifdef-mode): Set line-move-ignore-invisible.
21530 (hide-ifdef-region-internal): New function.
21531 (hide-ifdef-region): Use it.
21532 (hif-defined): Return an integer.
21533 (hif-infix-to-prefix): Remove.
21534 (hif-tokenize): Parse from the buffer rather than from a string.
21535 Correctly tokenize integers. Use forward-comment.
21536 (hif-expr): Use hif-or.
21537 (hif-term): Use hif-and.
21538 (hif-factor): Use hif-not. Handle numbers properly.
21539 Don't require parenthesis around `defined's argument.
21540 (hif-and, hif-or, hif-not): New funs.
21541 (hif-canonicalize): Pass a region to hif-tokenize. Use hif-not.
21542 (hif-hide-line): Don't hide the \n before the line.
21543 (hif-possibly-hide): Correctly handle numeric evaluation results.
21545 * progmodes/make-mode.el: Use line-(end|beginning)-position.
21546 (makefile-mode): Set indent-line-function.
21547 (makefile-browser-insert-continuation): Use with-current-buffer.
21548 (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
21550 2001-11-28 Karl Fogel <kfogel@red-bean.com>
21552 * isearch.el (isearch-yank-internal): New helper function.
21553 (isearch-yank-char): New function.
21554 (isearch-yank-word, isearch-yank-line): Rewrite to use
21555 isearch-yank-internal.
21557 2001-11-28 Eli Zaretskii <eliz@is.elta.co.il>
21559 * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
21560 aren't supported. Print a message to that effect if invoked.
21562 2001-11-27 Stephen Eglen <stephen@gnu.org>
21564 * locate.el (locate): Put point at first matching file rather
21565 than top of buffer.
21567 2001-11-27 Stefan Monnier <monnier@cs.yale.edu>
21569 * reveal.el: New file.
21571 * progmodes/hideif.el: Misc cleanup.
21572 (hide-ifdef-mode-submap): Put the def in the defvar.
21573 Use substitute-key-definition.
21574 (hide-ifdef-mode): Use define-minor-mode.
21575 (hif-outline-flag-region): Remove.
21576 (hif-show-all): Define in terms of hif-show-ifdef-region.
21577 (hif-after-revert-function): Rename from hif-before-revert-function.
21578 (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
21579 (hif-tokenize): Use with-syntax-table.
21580 (hif-make-range): Use `else' also for `else-p'.
21581 (hif-range-else-p): Remove.
21582 (hif-find-range): Simplify.
21583 (hif-hide-line): Don't bother preserving buffer-modified-p.
21584 (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
21585 Don't use selective-display and inhibit-read-only.
21587 * subr.el (copy-overlay, remove-overlays): New funs.
21589 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
21591 2001-11-27 Sam Steingold <sds@gnu.org>
21593 * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
21594 * lazy-lock.el, mouse-sel.el, mail/feedmail.el
21595 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
21596 * obsolete/c-mode.el, obsolete/cplus-md.el
21597 * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
21598 * term/sun-mouse.el, textmodes/artist.el:
21599 Converted backquote to the new style.
21600 * mouse.el, reposition.el: Likewise (in comments).
21601 * expand.el: Likewise (in a string).
21603 2001-11-27 Richard M. Stallman <rms@gnu.org>
21605 * cus-edit.el (custom-load-symbol): Don't always load locate-library.
21607 2001-11-26 Richard M. Stallman <rms@gnu.org>
21609 * wid-edit.el (widget-toggle-value-create): On graphic terminal,
21610 if :on-glyph or :off-glyph is a list, eval it and store it back.
21611 (checkbox): Quote the values for :on-glyph and :off-glyph.
21613 * cus-start.el (recursive-load-depth-limit): Delete item.
21615 2001-11-26 Stefan Monnier <monnier@cs.yale.edu>
21617 * help-fns.el (describe-categories, help-describe-category-set): New.
21618 describe-categories moved here from src/category.c.
21620 2001-11-26 Sam Steingold <sds@gnu.org>
21622 * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
21623 arguments to `insert' are strings.
21625 2001-11-26 Richard M. Stallman <rms@gnu.org>
21627 * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
21629 2001-11-26 Eli Zaretskii <eliz@is.elta.co.il>
21631 * international/mule-diag.el: Require help-fns instead of
21634 * help-fns.el: Renamed from help-funs.el.
21636 * startup.el (command-line-1): Don't try to call process-list if
21639 2001-11-26 Sam Steingold <sds@gnu.org>
21641 * frame.el (show-trailing-whitespace): Remove :set argument (the
21642 value was essentially identical to the default).
21644 2001-11-26 Pavel JanÃk <Pavel@Janik.cz>
21646 * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
21648 * icomplete.el (icomplete-minibuffer-setup): Likewise.
21650 * hilit-chg.el (hilit-chg-set): Likewise.
21652 * speedbar.el (speedbar-mode): Likewise.
21654 * calendar/calendar.el (calendar-mode): Likewise.
21656 * play/yow.el (psychoanalyze-pinhead): Use insert instead of
21659 * play/gamegrid.el (gamegrid-init-buffer): Likewise.
21661 * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
21663 * term/sun-mouse.el (sun-yank-selection): Likewise.
21665 * textmodes/bib-mode.el (return-key-bib): Likewise.
21667 * calendar/appt.el (appt-disp-window): Likewise.
21669 * calendar/diary-lib.el (list-diary-entries): Likewise.
21671 * array.el (array-reconfigure-rows): Likewise.
21673 * filecache.el (file-cache-minibuffer-complete): Likewise.
21675 * obsolete/cplus-md.el (fill-c++-comment): Likewise.
21677 * strokes.el (strokes-prompt-user-save-strokes): Likewise.
21679 * allout.el (outline-version, outline-open-topic)
21680 (outline-rebullet-heading, outline-insert-listified)
21681 (outline-latex-verbatim-quote-curr-line)
21682 (outline-latexify-one-item, outlineify-sticky): Likewise.
21684 * vc.el (vc-next-action-on-file): Likewise.
21685 (vc-dired-mode): Remove make-local-hook.
21687 2001-11-26 Andre Spiegel <spiegel@gnu.org>
21689 * vc.el (vc-find-version): New function.
21690 (vc-version-other-window): Redefined in terms of the above.
21692 * log-view.el (log-view-find-version): New function.
21693 (log-view-mode-map): Bind it to `f'.
21695 2001-11-26 Gerd Moellmann <gerd@gnu.org>
21697 * language/devan-util.el (dev-char-glyph): Escape `"' in
21699 (dev-glyph-glyph, dev-glyph-glyph-2)
21700 (devanagari-compose-syllable-region): Likewise.
21702 2001-11-26 Richard M. Stallman <rms@gnu.org>
21704 * window.el (save-selected-window): No error if saved window is dead.
21706 * help-funs.el (describe-syntax): Put (interactive) after doc string.
21708 2001-11-26 Pavel JanÃk <Pavel@Janik.cz>
21710 * international/quail.el (quail-help): Require help-mode in
21713 * iswitchb.el (iswitchb-exhibit): Use insert instead of
21716 * icomplete.el (icomplete-exhibit): Likewise.
21718 2001-11-25 Stefan Monnier <monnier@cs.yale.edu>
21720 * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
21721 (diff-hunk-kill): Simplify.
21722 (diff-post-command-hook): Only apply to a single hunk.
21723 (diff-hunk-text): Make `char-offset' non-optional.
21724 (diff-find-text): Return a cons cell.
21725 (diff-find-approx-text): New fun.
21726 (diff-find-source-location): Use it.
21727 (diff-apply-hunk, diff-test-hunk, diff-goto-source):
21728 Adapt to new retval of diff-find-text.
21730 * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
21731 rather than integer- representation of dates.
21733 * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
21735 * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
21736 (syntax-after): New fun.
21738 * help-funs.el (describe-syntax): New fun.
21740 * font-lock.el (font-lock-cache-state, font-lock-cache-position)
21741 (font-lock-ppss-stats, font-lock-ppss): Remove.
21742 (font-lock-fontify-syntactically-region): Remove tuning code.
21743 (font-lock-compile-keywords): Fix off-by-one bug.
21744 (font-lock-set-defaults): Don't set removed vars.
21745 (c-keywords): Add `inline'.
21746 (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
21748 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
21749 Set syntax-begin-function.
21750 (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
21751 (lisp-interaction-mode): Don't set local-abbrev-table any more.
21752 (lisp-mode-auto-fill): Use syntax-ppss and obey
21753 comment-auto-fill-only-comments.
21754 (lisp-fill-paragraph): Use syntax-ppss.
21756 2001-11-25 ShengHuo ZHU <zsh@cs.rochester.edu>
21758 * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
21759 version of rmail-enable-mime.
21760 (rmail-forward): Use it.
21762 2001-11-25 Richard M. Stallman <rms@gnu.org>
21764 * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
21766 * international/quail.el (quail-keyboard-layout-button):
21767 Define button type.
21768 (quail-keyboard-customize-button): Likewise.
21769 (quail-help): Use those button types. Require `help-mode'.
21770 Avoid altering the argument `package'.
21772 * help-mode.el (help-function, help-variable, help-face)
21773 (help-coding-system, help-input-method, help-character-set):
21774 Define each button type with its own explicit define-button-type.
21776 * language/devan-util.el: Comment out parts of the file
21777 which apparently are garbled.
21779 2001-11-25 Pavel JanÃk <Pavel@Janik.cz>
21781 * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
21784 2001-11-25 Pavel JanÃk <Pavel@Janik.cz>
21786 * play/snake.el (snake-mode): Remove make-local-hook.
21788 * play/tetris.el (tetris-mode): Likewise.
21790 * play/decipher.el (decipher-mode): Likewise.
21792 * tmm.el (tmm-add-prompt): Likewise.
21794 2001-11-25 Sam Steingold <sds@gnu.org>
21796 * menu-bar.el (menu-bar-apropos-menu): New variable.
21797 Moved all `apropos' bindings to this menu.
21798 (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
21800 2001-11-24 KAWABATA, Taichi <batta@beige.ocn.ne.jp>
21802 The following changes are for new indian languages support based
21803 on Unicode charset and CDAC fonts.
21805 * international/mule-conf.el: Change indian-1-column charset to
21806 indian-glyph charset.
21808 * international/characters.el: Adjusted for the change of
21809 indian-1-column -> indian-glyph.
21811 * international/fontset.el: Delete the setting for indian-1-column
21812 and add the setting for indian-glyph in the default fontset.
21814 * language/indian.el: Completely re-written.
21816 * language/devanagari.el: Completely re-written.
21818 * language/devan-util.el: Completely re-written.
21820 * language/ind-util.el: New file.
21822 2001-11-24 Richard M. Stallman <rms@gnu.org>
21824 * startup.el (command-line-1): Don't do startup screen
21825 if a subprocess is running. Call the startup screen buffer
21826 "GNU Emacs". Make a special mode-line-format for it.
21828 * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
21829 (browse-url-galeon): Use that variable.
21831 * mail/supercite.el (sc-toggle-var): Don't use set-variable or
21832 eval-expression. Eval and set the variable simply.
21834 * files.el (temporary-file-directory): Use defcustom.
21835 (small-temporary-file-directory): Likewise.
21836 (normal-backup-enable-predicate): Move down in file
21837 after definition of temporary-file-directory.
21839 * bindings.el (last-buffer, unbury-buffer): Doc fixes.
21841 2001-11-24 Colin Walters <walters@debian.org>
21843 * calc/calc-ext.el (calc-init-extensions): Update the rest of the
21844 autoload names to match files renamed on initial calc import.
21846 * calc/calc.el (Commentary): Cleanup, and add logistic curve
21847 fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
21849 2001-11-23 Colin Walters <walters@debian.org>
21851 * Makefile.in (finder_setwins, setwins): Include Calc again.
21853 * calc/calc-rules.el: Add header comment.
21855 2001-11-23 Andre Spiegel <spiegel@gnu.org>
21857 * vc.el (with-vc-properties): Don't bind `filename' locally.
21858 (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
21859 to avoid name clashes. Fix `lisp-indent-function' property for
21862 2001-11-23 Francesco Potortì <pot@gnu.org>
21864 * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
21866 2001-11-22 Colin Walters <walters@debian.org>
21868 * calc/calc-misc.el (report-calc-bug):
21869 Use `reporter-prompt-for-summary-p'.
21871 * calc/INSTALL, calc/Makefile: Remove.
21873 2001-11-22 Miles Bader <miles@gnu.org>
21875 * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
21876 (reb-match-2, reb-match-3): Add dark-background variants.
21878 2001-11-22 Colin Walters <walters@debian.org>
21880 * calc/calc-misc.el (calc-info): Don't perform voodoo,
21881 just (info "Calc").
21882 (report-calc-bug): Use reporter.el.
21884 * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
21886 2001-11-21 Richard M. Stallman <rms@gnu.org>
21888 * which-func.el (which-function): Call imenu--make-index-alist
21889 if necessary to get a list of functions.
21890 (which-function-imenu-failed): New variable.
21891 (which-func-update): Handle all visible windows.
21892 (which-func-update-1): New subroutine broken out of which-func-update.
21894 * files.el (temporary-file-directory, null-device)
21895 (small-temporary-file-directory): Definitions moved up.
21897 * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
21898 (cperl-non-problems, cperl-praise): Doc fixes.
21900 * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
21901 (sh-mode-syntax-table): Function restored.
21902 Variable set up for use by function sh-mode-syntax-table.
21903 (sh-set-shell): Set the syntax table.
21905 * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
21907 * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
21909 * international/encoded-kb.el: Don't alter minor-map-alist.
21911 2001-11-20 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
21913 * files.el (auto-save-file-name-transforms): Put remote files in
21914 temporary-file-directory rather than /tmp.
21916 2001-11-21 Colin Walters <walters@debian.org>
21918 * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
21919 of (function ...) wrapper.
21921 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
21923 * derived.el (define-derived-mode): Create the abbrev-table
21924 from inside the `defvar'.
21926 * jit-lock.el (jit-lock-defer-time): New var.
21927 (jit-lock-defer-timer, jit-lock-buffers): New vars.
21928 (jit-lock-mode): Initialize them. Cancel the timers more carefully.
21929 (jit-lock-function): Defer fontification if requested.
21930 (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
21931 (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
21933 (jit-lock-deferred-fontify): New fun.
21935 2001-11-20 Richard M. Stallman <rms@gnu.org>
21937 * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
21938 Set local-abbrev-table to lisp-mode-abbrev-table.
21940 * emacs-lisp/re-builder.el (reb-mode):
21941 Don't use define-derived-mode. Call kill-all-local-variables.
21943 * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
21944 Don't use define-derived-mode.
21946 * help-mode.el (help-mode): Undo 2001-10-07 change.
21948 * replace.el (occur-mode): Undo 2001-5-20 change.
21950 2001-11-20 Jason Rumney <jasonr@gnu.org>
21952 * w32-fns.el (w32-system-coding-system): Change to an alias for
21953 locale-coding-system.
21954 (set-w32-system-coding-system): Document the above change.
21955 Set locale-coding-system instead.
21957 2001-11-20 Richard M. Stallman <rms@gnu.org>
21959 * ruler-mode.el: Add pagination.
21960 (ruler-mode-toggle-show-tab-stops): No need to
21961 test `ruler-mode' variable.
21963 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
21965 * play/landmark.el: Mark lm-mode as special.
21967 * play/gomoku.el: Mark gomoku-mode as special.
21969 2001-11-20 Juanma Barranquero <lektu@terra.es>
21971 * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
21972 (top-level): Bind it to C-c C-b.
21973 (re-builder): Don't re-enter RE Builder Mode.
21975 * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
21977 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
21979 * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
21982 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
21983 to a line without a comment.
21985 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
21987 * dired.el (dired-listing-switches): Mention in the doc string
21988 that some switches are not supported by ls-lisp.el
21990 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
21992 * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
21993 (imenu--create-keymap-2): Remove.
21994 (imenu--create-keymap-1): Simplify, remove third argument.
21995 (imenu--generic-function): Use dolist.
21996 (imenu-find-default): New function.
21997 (imenu--completion-buffer): Use it.
21998 (imenu--mouse-menu): Use popup-menu.
21999 (imenu--menubar-select): Return t rather than calling imenu.
22001 * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
22002 New functions, extracted from fill-region-as-paragraph.
22003 (fill-region-as-paragraph): Use them.
22004 Use an end marker instead of eob.
22005 Ignore whitespace-only fill-prefixes when indenting according to mode.
22006 Simplify the loop that searches for spaces backwards.
22008 * textmodes/picture.el (picture-vertical-step)
22009 (picture-horizontal-step): Don't use defconst for variables.
22011 * mail/mail-extr.el: Use backquote/dolist/mapc/when. Docstring fixes.
22012 (mail-extract-address-components): Downcase domain names.
22013 (mail-extr-delete-char): Remove. Use delete-char instead.
22015 * emulation/pc-select.el: Doc string fixes.
22016 (pc-selection-mode): Don't treat macos as a tty.
22018 * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
22020 * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
22022 * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
22023 (mouse-wheel-progressive-speed): New var.
22024 (mwheel-scroll): Use it and handle float values.
22026 * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
22028 * iswitchb.el (iswitchb-mode): Use define-minor-mode.
22029 (iswitchb): Fix the case where the result was selected with the mouse.
22030 (iswitchb-completion-help): Use the normal *Completions* now that
22031 mouse selection works.
22032 (iswitchb-minibuffer-setup): Simplify.
22034 * newcomment.el (comment-column, comment-style, comment-multi-line)
22035 (comment-auto-fill-only-comments): Remove :group arg.
22036 (comment-padding): Add :type.
22037 (comment-indent-new-line): Ignore comment-auto-fill-only-comments
22038 if called interactively.
22040 2001-11-19 Colin Walters <walters@verbum.org>
22042 * calc/calc.el (toplevel): Add comment and version header.
22043 (calc-init-base): Bump version to 2.02f, update date.
22045 2001-11-19 Richard M. Stallman <rms@gnu.org>
22047 * net/browse-url.el: Support Mozilla and Galeon.
22048 By default, find the installed browser whichever it is.
22049 (browse-url-mozilla): New function.
22050 (browse-url-mozilla-sentinel): New function.
22051 (browse-url-galeon, browse-url-galeon-sentinel): New functions.
22052 (browse-url-default-browser): New function.
22053 (browse-url-process-environment): Use browse-url-browser-display.
22054 (browse-url-browser-display): Renamed from browse-url-netscape-display.
22055 (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
22056 (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
22057 (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
22058 (browse-url-browser-function): New default, new options.
22060 2001-11-19 Sam Steingold <sds@gnu.org>
22062 * bindings.el (last-buffer, unbury-buffer): New function.
22063 (mode-line-unbury-buffer): Use `unbury-buffer'.
22065 2001-11-18 Stephen Eglen <stephen@gnu.org>
22067 * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
22068 control behavior when no further completion is possible.
22070 2001-11-19 Colin Walters <walters@verbum.org>
22072 * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
22073 (math-showing-full-precision, math-with-extra-prec, math-working)
22074 (calc-with-default-simplification)
22075 (calc-with-trail-buffer): Use backtick.
22076 (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
22077 (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
22078 (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
22079 (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
22080 (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
22081 (Math-num-integerp, Math-bignum-test, Math-equal-int)
22082 (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
22083 (calc-record-compilation-date-macro): Deleted. Callers updated.
22084 (math-format-radix-digit): Move to calc-bin.el.
22086 * calc/calc.el (calc-record-compilation-date): Remove.
22087 (calc-bug-address): Update.
22088 (calc-settings-file): Use `user-init-file'.
22090 * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
22091 Handle null `calc-settings-file'.
22093 * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
22094 * calc/calc-keypd.el (calc-keypad-mode): New.
22095 (calc-do-keypad): Use it.
22096 (calc-keypad-map): Move into `calc-keypad-mode'.
22098 * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
22099 to defalias argument.
22101 * calc/calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
22102 (calcFunc-floor): Ditto.
22104 * calc/calc-units.el (calcFunc-usimplify): Ditto.
22106 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-incom.el:
22107 * calc/calc-misc.el, calc/calc-sel.el, calc/calc-vec.el:
22108 * calc/calc-alg.el, calc/calc-fin.el, calc/calc-keypd.el:
22109 * calc/calc-mode.el, calc/calc-stat.el, calc/calc-yank.el:
22110 * calc/calc-arith.el, calc/calc-forms.el, calc/calc-lang.el:
22111 * calc/calc-mtx.el, calc/calc-store.el, calc/calc.el:
22112 * calc/calc-bin.el, calc/calc-frac.el, calc/calc-macs.el:
22113 * calc/calc-poly.el, calc/calc-stuff.el, calc/calcalg2.el:
22114 * calc/calc-comb.el, calc/calc-funcs.el, calc/calc-maint.el:
22115 * calc/calc-prog.el, calc/calc-trail.el, calc/calcalg3.el:
22116 * calc/calc-cplx.el, calc/calc-graph.el, calc/calc-map.el:
22117 * calc/calc-rewr.el, calc/calc-undo.el, calc/calccomp.el:
22118 * calc/calc-embed.el, calc/calc-help.el, calc/calc-math.el:
22119 * calc/calc-rules.el, calc/calc-units.el, calc/calcsel2.el:
22120 Change all toplevel `setq' forms to `defvar' forms,
22121 and move them before their first use. Use `when', `unless'.
22122 Remove trailing periods from error forms. Add description and
22123 headers suggested by Emacs Lisp coding conventions.
22125 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
22127 * newcomment.el (comment-indent):
22128 Fix misindentation for comment-only lines.
22129 (comment-indent-new-line): Only obey comment-multi-line if the
22130 comment-ender is not the end-of-line.
22132 2001-11-19 Richard M. Stallman <rms@gnu.org>
22134 * net/net-utils.el (network-connection-service-abbrev-alist):
22137 * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
22138 Advance to start of 3rd sexp by moving fwd and backing over it.
22139 At first three elements, act like defun.
22141 * delsel.el (delete-selection-pre-hook): Handle and resignal
22142 file-supersession errors to interact properly with userlock.el.
22144 2001-11-18 Richard M. Stallman <rms@gnu.org>
22146 * progmodes/fortran.el (fortran-mode-syntax-table):
22147 Specify punctuation syntax for backslash.
22149 * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
22152 * international/mule-util.el (string-to-sequence): Make it obsolete.
22153 (string-to-list, string-to-vector): Implement them directly
22154 using append and vconcat, not with string-to-sequence.
22156 * startup.el (command-line): Set abbrevs-changed to nil after
22157 reading the init file and the abbrevs file.
22159 * isearch.el (isearch): Use magenta2 as bg for (background light)
22161 2001-11-17 Richard M. Stallman <rms@gnu.org>
22163 * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
22165 * simple.el (minibuffer-history-sexp-flag): Doc fix.
22167 2001-11-17 Stefan Monnier <monnier@cs.yale.edu>
22169 * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
22170 If set and if applicable, add a regexp to highlight defun-like
22171 text inside comments and strings.
22172 (font-lock-fontify-keywords-region): Pass that new arg.
22173 (font-lock-set-defaults): Move the code to set `font-lock-keywords'
22174 to the end and pass that new arg.
22175 (c-font-lock-keywords-2): Fix regex for labels.
22176 (font-lock-match-c++-style-declaration-item-and-skip-to-next):
22177 Make it work when LIMIT is several lines further.
22178 (c-font-lock-keywords-3, c++-font-lock-keywords-3)
22179 (objc-font-lock-keywords-3, java-font-lock-keywords-3):
22180 Use backquote and make the regexes for `int a, b, c;' work on
22183 * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
22184 (font-lock-defaults-alist): Don't change it any more.
22185 (reb-subexp-mode-map): Cleanup.
22187 * custom.el (custom-current-group-alist): New var.
22188 (custom-declare-group): Set it.
22189 (custom-current-group): New fun.
22190 (custom-declare-variable, custom-handle-all-keywords):
22191 Use it as a default if no :group argument is specified.
22193 * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
22194 (standard-keyboard-coding-systems): New var.
22195 (set-locale-environment): Use it to decide whether or not to call
22196 set-keyboard-coding-system.
22197 (locale-language-names): Use \"French\" for "fr".
22199 2001-11-17 Richard M. Stallman <rms@gnu.org>
22201 * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
22202 (add-to-list): Delete compatibility code.
22203 (checkdoc-next-message-error): Doc fix.
22205 2001-11-17 Stephen Eglen <stephen@gnu.org>
22207 * locate.el (locate): Show default locate pattern within the
22208 prompt, but don't insert it into the minibuffer contents.
22209 Catch the case when pattern is the empty string.
22211 2001-11-17 Eli Zaretskii <eliz@is.elta.co.il>
22213 * language/european.el ("French"): New language environment.
22215 2001-11-16 Richard M. Stallman <rms@gnu.org>
22217 * calendar/todo-mode.el (todo-save): Fix previous change.
22219 * subr.el (functionp): Do use cdr-safe on object.
22221 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
22223 * bindings.el (mode-line-mode-name): Only put the help-echo property
22224 if the local-map property was put as well.
22225 (global-map): Bind switch-frame, delete-frame, iconify-frame
22226 and make-frame-visible events.
22228 * emacs-lisp/elp.el (elp-not-profilable): New var.
22229 (elp-not-profilable-p): New function.
22230 (elp-instrument-function): Use it. Use backquotes and push.
22232 * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
22233 (byte-stack+-info, byte-compile-last-warned-form)
22234 (byte-compile-last-logged-file): Don't defconst a variable.
22235 (no-byte-compile): Declare.
22236 (byte-compile-file): Don't boundp-check no-byte-compile any more.
22237 (byte-compile-defvar): Leave defconst as is.
22239 * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
22240 (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
22241 (edebug-current-offset, edebug-old-def-name, edebug-error-point)
22242 (edebug-best-error): Don't defconst a variable.
22243 (edebug-read-syntax-table): Use a char-table.
22244 (edebug-lemacs-specific): Remove.
22245 Toplevel: Eliminate check for Lucid Emacs.
22247 * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
22249 * rect.el (move-to-column-force): Mark obsolete.
22250 (operate-on-rectangle, delete-extract-rectangle-line)
22251 (insert-rectangle, delete-whitespace-rectangle-line)
22252 (open-rectangle-line, clear-rectangle-line): Use move-to-column.
22253 (string-rectangle-history): New var.
22254 (string-rectangle, string-insert-rectangle): Use it.
22255 (delete-rectangle-line): Fix pos/column mixup and simplify.
22257 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
22258 (normal-top-level, command-line, command-line-1): Simplify.
22260 * tar-mode.el (tar-mode): Use define-derived-mode.
22262 * view.el (view-mode-enable): Don't use make-local-hook.
22264 * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
22266 2001-11-16 Richard M. Stallman <rms@gnu.org>
22268 * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
22269 if it doesn't make sense as anything else.
22270 Don't recognize a "telephone number" at the beginning of the name.
22271 (mail-extr-leading-garbage): Match non-word characters only.
22273 2001-11-16 Pavel JanÃk <Pavel@Janik.cz>
22275 * startup.el (command-line-processed): Doc fix.
22277 * apropos.el (apropos-next-label-button): Doc fix.
22279 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
22281 * comint.el (comint-mode): Simplify.
22282 (make-comint-in-buffer): Run `comint-mode' only if necessary.
22284 * subr.el (eval-after-load): Make it work with features as well.
22286 * log-view.el (log-view-mode): Don't mark the buffer unmodified.
22288 * international/mule-cmds.el (describe-input-method): Setup xref.
22289 (set-language-environment): Use functionp.
22290 (locale-language-names, locale-charset-language-names)
22291 (locale-preferred-coding-systems): Defconst and purecopy.
22293 * language/european.el (mac-roman): Add mime-charset property.
22295 2001-11-15 Richard M. Stallman <rms@gnu.org>
22297 * emacs-lisp/cl.el (values, values-list, multiple-value-list)
22298 (multiple-value-apply, nth-value): Use defsubst rather than defalias
22299 to get better doc strings.
22301 2001-11-15 Pavel JanÃk <Pavel@Janik.cz>
22303 * derived.el: Fix autoload cookie.
22305 2001-11-15 Richard M. Stallman <rms@gnu.org>
22307 * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
22309 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
22311 * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
22313 2001-11-15 Richard M. Stallman <rms@gnu.org>
22315 * dired.el (dired-undo): Display a message to explain
22316 that this does not undo file system changes.
22318 2001-11-15 David Kastrup <David.Kastrup@t-online.de>
22320 * mouse-drag.el (mouse-drag-throw): Push back non-drag events
22321 into `unread-command-events' instead of trying keymap
22322 lookups ourselves. This makes mouse-clicks do the right
22323 thing even when keymaps of overlays are involved.
22324 (mouse-drag-drag): Likewise.
22326 2001-11-15 Andreas Schwab <schwab@suse.de>
22328 * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
22329 characters and append anchor to pattern added to auto-mode-alist.
22331 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
22333 * server.el (server-process-filter): Run pre/post-comment-hook
22334 before/after visiting the file.
22336 * info-look.el (makefile-mode): Add info for automake.
22337 (autoconf-mode): Fix the name of the index for automake.
22339 * international/latin-9.el: Give pilcrow punctuation syntax.
22341 2001-11-15 Andre Spiegel <spiegel@gnu.org>
22343 * vc.el: Documentation fixes.
22345 2001-11-14 Stefan Monnier <monnier@cs.yale.edu>
22347 * smerge-mode.el (smerge-match-conflict): Fix typo.
22348 (smerge-diff): Be careful to read match-data early enough.
22350 2001-11-14 Colin Walters <walters@verbum.org>
22352 * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
22353 (calcFunc-subst): Use `defalias' instead of `fset' and
22356 * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
22357 (calcFunc-ceil, calcFunc-round): Ditto.
22359 * calc/calc-bin.el (calcFunc-clip): Ditto.
22361 * calc/calc-ext.el (calcFunc-evalv): Ditto.
22363 * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
22365 * calc/calc-misc.el (math-fixnump, math-fixnatnump)
22366 (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
22368 * calc/calc-units.el (calcFunc-unsimplify): Ditto.
22370 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-incom.el:
22371 * calc/calc-misc.el, calc/calc-sel.el, calc/calc-vec.el:
22372 * calc/calc-alg.el, calc/calc-fin.el, calc/calc-keypd.el:
22373 * calc/calc-mode.el, calc/calc-stat.el, calc/calc-yank.el:
22374 * calc/calc-arith.el, calc/calc-forms.el, calc/calc-lang.el:
22375 * calc/calc-mtx.el, calc/calc-store.el, calc/calc.el, calc/calc-bin.el:
22376 * calc/calc-frac.el, calc/calc-macs.el, calc/calc-poly.el:
22377 * calc/calc-stuff.el, calc/calcalg2.el, calc/calc-comb.el:
22378 * calc/calc-funcs.el, calc/calc-maint.el, calc/calc-prog.el:
22379 * calc/calc-trail.el, calc/calcalg3.el, calc/calc-cplx.el:
22380 * calc/calc-graph.el, calc/calc-map.el, calc/calc-rewr.el:
22381 * calc/calc-undo.el, calc/calccomp.el, calc/calc-embed.el:
22382 * calc/calc-help.el, calc/calc-math.el, calc/calc-rules.el:
22383 * calc/calc-units.el, calc/calcsel2.el: Style cleanup;
22384 don't put closing parens on their own line,
22385 add "foo.el ends here" to each file, and update copyright date.
22387 * calc/README: Update maintainer.
22389 2001-11-13 Richard M. Stallman <rms@gnu.org>
22391 * progmodes/compile.el (recompile): Use compilation-arguments if
22392 set, so as to be able to M-x recompile the exact command which
22393 created a compilation-mode buffer.
22395 * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
22397 2001-11-13 Gerd Moellmann <gerd@gnu.org>
22399 * mouse.el (mouse-drag-region): Don't run the up-event
22400 handler if window start changed due to the down-mouse event.
22402 2001-11-13 Richard M. Stallman <rms@gnu.org>
22404 * mouse.el (mouse-show-mark): Either move point to the mark
22405 or use highlighting, never both.
22406 (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
22408 2001-11-13 Simon Josefsson <jas@extundo.com>
22410 * mail/smtpmail.el (top-level): Change maintainer to Simon
22411 Josefsson, cleanup the smtpmail.el header.
22413 * mail/smtpmail.el (top-level): Don't require cl or base64.
22414 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
22415 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
22416 Defsubst instead of defmacro.
22417 (smtpmail-intersection): Return value in reverse order.
22418 (smtpmail-open-stream): Use stringp instead of string-to-list.
22419 (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
22420 separated from smtpmail-via-smtp.
22422 * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
22423 rfc2104. Require base64 and cl.
22424 (smtpmail-smtp-service): Doc fix. :type fix.
22425 (smtpmail-debug-info): Doc fix.
22426 (smtpmail-debug-verb, smtpmail-auth-credentials)
22427 (smtpmail-starttls-credentials, smtpmail-auth-supported):
22429 (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
22430 mail-utils (it is autoloaded).
22431 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
22432 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
22433 (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
22434 (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
22435 (smtpmail-via-smtp): Support AUTH.
22436 (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
22438 2001-11-13 Richard M. Stallman <rms@gnu.org>
22440 * ebuff-menu.el (electric-buffer-update-highlight): New function.
22441 (electric-buffer-overlay): New variable.
22442 (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
22443 (electric-buffer-list): Likewise.
22445 * isearch.el (isearch-whitespace-chars): Doc fix.
22446 (isearch-mode): Handle negative search-slow-window-lines correctly.
22448 2001-11-13 Stefan Monnier <monnier@cs.yale.edu>
22450 * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
22452 * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
22453 From Emmanuel Briot <briot@act-europe.fr>.
22455 2001-11-13 Colin Walters <walters@debian.org>
22457 * calc/calc.el (calc-unread-command): Use `unread-command-events'.
22459 * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
22460 "~/.emacs"; use `read-file-name'.
22462 * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
22463 * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
22464 * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
22465 * calc/calc.el: Use `frame-width' instead of `screen-width',
22466 `frame-height' instead of `screen-height', and,
22467 `executing-kbd-macro' instead of `executing-macro'.
22469 * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
22470 correct number of arguments.
22472 * calc/calc-aent.el (calc-do-alg-entry):
22473 Use `blink-paren-function' instead of `blink-paren-hook'.
22475 2001-11-12 Richard M. Stallman <rms@gnu.org>
22477 * calendar/todo-mode.el (todo-save): Add save-excursion
22478 and save-restriction.
22480 * server.el (server-edit, server-done): Doc fix.
22482 * simple.el (clone-indirect-buffer): Error if major mode symbol
22483 has a no-clone-indirect property.
22484 (clone-buffer): Check for obvious errors before reading clone name.
22486 * info.el (Info-mode): Add a no-clone-indirect property.
22488 2001-11-12 Sam Steingold <sds@gnu.org>
22490 * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
22491 set-buffer-modified-p to nil after `vc-exec-after'.
22492 * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
22493 (log-view-mode): Make read-only.
22494 (log-view-current-file): Do final `expand-file-name' in the
22495 current `default-directory'.
22496 (log-view-current-tag): Take an optional `where' arg.
22497 (log-view-diff): New user command.
22499 2001-11-12 Pavel JanÃk <Pavel@Janik.cz>
22501 * progmodes/cpp.el (cpp-choose-face): Fix typo.
22503 2001-11-12 Sam Steingold <sds@gnu.org>
22505 * emacs-lisp/cl-indent.el (toplevel): Indent properly
22506 `generic-flet', `generic-labels', `with-accessors',
22507 `with-condition-restarts'.
22509 2001-11-12 Richard M. Stallman <rms@gnu.org>
22511 * dired.el: Many trivial doc fixes.
22512 (dired-get-file-for-visit): New function.
22513 (dired-find-alternate-file, dired-mouse-find-file-other-window)
22514 (dired-view-file, dired-find-file-other-window, dired-display-file)
22515 (dired-find-file): Use dired-get-file-for-visit.
22517 2001-11-12 Alex Schroeder <kensanata@yahoo.com>
22519 * sql.el (sql-mode): Doc change.
22521 * sql.el (sql-mode-syntax-table): The backslash is no longer an
22524 2001-11-12 Colin Walters <walters@debian.org>
22526 * calc/calc-keypd.el (toplevel): Bind mouse buttons.
22527 (calc-do-keypad): Don't attempt to use nonexistent global
22528 mouse-map, use calc-keypad-map.
22529 (calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
22530 (calc-keypad-left-click): Don't use mouse-map; update to new event
22532 (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
22533 (calc-keypad-press): Use `unread-command-events' instead of
22534 `unread-command-char'.
22536 * calc/calc-ext.el (calc-init-extensions): Update autoload names
22537 to match files renamed on initial calc import.
22539 2001-11-12 Pavel JanÃk <Pavel@Janik.cz>
22541 * textmodes/flyspell.el (flyspell-default-dictionary):
22542 Fix previous change.
22544 2001-11-12 Richard M. Stallman <rms@gnu.org>
22546 * textmodes/flyspell.el (flyspell-default-dictionary):
22549 2001-11-11 Richard M. Stallman <rms@gnu.org>
22551 * calendar/solar.el (solar-sunrise-and-sunset):
22552 Exchange the two extreme values of day-length.
22554 * progmodes/sh-script.el (sh-must-be-shell-mode):
22555 Allow modes derived from sh-mode.
22557 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
22558 Turn off error in some re-search-forward calls.
22560 * replace.el (query-replace-skip-read-only): New variable.
22561 (perform-replace): If that variable is non-nil, ignore matches
22562 that have a read-only property.
22564 * derived.el (define-derived-mode): Doc fix.
22566 * server.el (server-buffer-done): Test of server-existing-buffer
22568 (server-existing-buffer): Doc fix.
22570 * textmodes/flyspell.el (flyspell-default-dictionary):
22571 Allow nil as value, and make nil the default.
22573 2001-11-11 Eli Zaretskii <eliz@is.elta.co.il>
22575 * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
22577 (clipboard-yank): Ditto.
22579 2001-11-11 Colin Walters <walters@verbum.org>
22581 The following changes are based on patches from
22582 Eli Zaretskii <eliz@is.elta.co.il>, Kai Großjohann
22583 <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
22585 * calc/calc.el (toplevel): Require calc-macs.
22586 (calc-minibuffer-size): New.
22587 (calcDigit-nondigit): Use it instead of `buffer-size'.
22588 (calcDigit-backspace): Likewise.
22589 (calcDigit-nondigit): Use `minibuffer-contents' instead of
22591 (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
22593 (calcDigit-key): Use `calc-minibuffer-contains' instead of a
22596 * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
22597 simple `setq' form.
22599 * calc/calc-ext.el (toplevel): Require calc.
22600 (calc-fancy-prefix-map): New.
22601 (calc-fancy-prefix): Use it.
22602 (calc-fancy-prefix-other-key): New.
22604 * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
22605 (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
22606 (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
22607 (calcAlg-enter): Likewise.
22608 (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
22610 2001-11-10 Richard M. Stallman <rms@gnu.org>
22612 * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
22613 (quietly-read-abbrev-file): Doc fix.
22615 * startup.el (command-line): Read standard abbrev
22616 file (abbrev-file-name), if it exists.
22618 * files.el (save-abbrevs): Default value is t.
22620 * progmodes/compile.el (compile-goto-error): Fix previous change
22621 in the case where subsequent errors have not been parsed yet
22622 because they are in a different source file.
22624 2001-11-10 Peter Kleiweg <kleiweg@let.rug.nl>
22626 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
22627 Merge two regular expressions into one.
22628 (ps-mode): Make local bindings for `comment-start' and
22629 `comment-start-skip'.
22630 (ps-mode-looking-at-nested): Simplify an if-else construct;
22631 use `set-match-data' to set the result.
22633 2001-11-10 Richard M. Stallman <rms@gnu.org>
22635 * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
22637 (flyspell-correct-word): Old definition deleted.
22638 (flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
22639 All references renamed too.
22641 2001-11-10 Gerd Moellmann <gerd@gnu.org>
22643 * Makefile.in (finder_setwins, setwins): Exclude Calc.
22645 2001-11-09 Per Abrahamsen <abraham@dina.kvl.dk>
22647 * wid-edit.el (checklist): Removed `:menu-tag'.
22648 (radio-button-choice): Ditto.
22649 (editable-list): Ditto.
22651 2001-11-09 Pavel JanÃk <Pavel@Janik.cz>
22653 * play/gomoku.el: Move definitions of constants to the beginning
22654 of file, before their use.
22656 2001-11-09 Richard M. Stallman <rms@gnu.org>
22658 * textmodes/flyspell.el: Use the keymap property
22659 instead of local-map, and don't use a minor-mode map.
22660 (flyspell-mode-map): Variable deleted.
22661 Don't mess with minor-mode-map-alist.
22662 (calling add-minor-mode): Specify nil for keymap.
22663 And always use add-minor-mode, now that it exists.
22664 (flyspell-overlay-keymap-property-name): Set it to `keymap'.
22665 (flyspell-mode-on): Don't locally bind flyspell-mouse-map
22666 or flyspell-local-mouse-map.
22667 (make-flyspell-overlay): Use flyspell-mouse-map directly.
22668 (flyspell-mode): Doc fix.
22669 (flyspell-mode-on): Don't call make-local-hook.
22671 2001-11-09 Sam Steingold <sds@gnu.org>
22673 * emacs-lisp/debug.el (debugger-make-xrefs):
22674 Add buttons to all symbols.
22676 2001-11-09 Andre Spiegel <spiegel@gnu.org>
22678 * vc.el: Add John David Smith to credits.
22680 Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
22682 * vc-hooks.el (vc-error-occurred): Backquotified.
22683 (vc-file-prop-obarray): Use prime length for better efficiency.
22685 * vc.el (vc-clear-context): Fill obarray with 0, not nil.
22687 2001-11-09 Eli Zaretskii <eliz@is.elta.co.il>
22689 * info.el (Info-file-list-for-emacs): Add entries for Calc.
22691 2001-11-09 Miles Bader <miles@gnu.org>
22693 * subr.el (functionp): Don't consider macros as functions.
22695 2001-11-08 Miles Bader <miles@gnu.org>
22697 * subr.el (functionp): Make work correctly for macros and unbound
22700 * comint.el (comint-send-input): Fix description of
22701 `comint-process-echoes' in the doc-string.
22703 2001-11-08 Eli Zaretskii <eliz@is.elta.co.il>
22705 * international/mule.el (make-translation-table): Doc fix.
22706 Suggested by Alex Schroeder <alex@gnu.org>.
22708 2001-11-07 Richard M. Stallman <rms@gnu.org>
22710 * info.el (Info-fontify-node): Highlight every third menu item.
22712 2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk>
22714 * cus-edit.el (custom-face-value-create): Don't ignore the
22715 `customized-face' attribute when finding the current face spec.
22717 2001-11-07 Stefan Monnier <monnier@cs.yale.edu>
22719 * subr.el (with-local-quit): New macro.
22720 (make-syntax-table): Always inherit.
22721 (functionp): Be more careful when `object' is a symbol.
22723 * dabbrev.el (dabbrev-completion): Use "*Completions*".
22725 2001-11-07 Paul Eggert <eggert@twinsun.com>
22727 * dired.el (dired-move-to-filename-regexp):
22728 Do not distinguish between ASCII letters and non-ASCII characters.
22729 Don't allow comma except in the form "month day, year".
22730 Don't allow space between month name and comma.
22731 Clean up the code that checks for trailing period, comma, and space.
22732 Remove now-obsolete comments, and add more commentary about
22734 Always gobble up trailing spaces, instead of doing it only sometimes.
22736 2001-11-07 Miles Bader <miles@gnu.org>
22738 * paren.el (show-paren-match-face): Add dark-background variant.
22740 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
22742 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
22743 (lisp-mode-variables): Don't set paragraph-{start,separate}.
22744 Don't disable adaptive-fill-mode.
22745 (lisp-fill-paragraph): Use tab-width rather than 8.
22746 Prevent filling the first line of docstrings.
22748 2001-11-06 Richard M. Stallman <rms@gnu.org>
22750 * play/gomoku.el (gomoku): Doc fix.
22752 * jka-compr.el (jka-compr-partial-uncompress):
22753 Support an alternative of not using dd.
22754 (jka-compr-dd-program): Use defcustom to define this.
22755 (jka-compr-load-suffixes): Use defcustom.
22756 (jka-compr-mode-alist-additions): Use defcustom.
22758 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
22760 * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
22761 Also work when LIMIT is further than the end of line.
22763 2001-11-06 Eli Zaretskii <eliz@is.elta.co.il>
22765 * international/quail.el (quail-update-leim-list-file): Print the
22766 offending file name if some of its quail-define-package forms is broken.
22768 2001-11-05 Richard M. Stallman <rms@gnu.org>
22770 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
22771 of the evaluated form.
22773 2001-11-05 Paul Eggert <eggert@twinsun.com>
22775 * ls-lisp.el (ls-lisp-time-to-seconds): New function.
22776 (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
22777 stamps always line up by default. Also, it uses a slightly
22778 different window to determine whether files are "recent".
22780 2001-11-05 Andrew Innes <andrewi@gnu.org>
22782 * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
22783 Don't attempt to remake autoloads before nuking .elc files.
22785 2001-11-04 Richard M. Stallman <rms@gnu.org>
22787 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
22788 previous-single-property-change or next-single-char-property-change
22791 * international/mule-cmds.el (set-locale-environment):
22792 Make it interactive; make arg optional.
22794 * international/mule-diag.el (help-funs): Require help-funs.
22796 2001-11-04 Eli Zaretskii <eliz@is.elta.co.il>
22798 * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
22800 2001-11-04 Miles Bader <miles@gnu.org>
22802 * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
22803 shadow of the splash image gray on a dark background instead of black.
22805 2001-11-03 Stefan Monnier <monnier@cs.yale.edu>
22807 * term.el (all faces): Don't (copy-face 'default <foo>).
22809 * term/xterm.el (function-key-map):
22810 Add entry for `ESC [ 3 ~' -> <delete>
22811 Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
22812 Use inheritance so that .emacs and terminfo take precedence.
22814 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
22816 * tooltip.el (tooltip-delay): Decrease to 0.7.
22817 (tooltip-hide-delay): Enlarge to 10.
22819 2001-11-03 Richard M. Stallman <rms@gnu.org>
22821 * startup.el (fancy-splash-tail): Explain how to recover
22822 from a crash, if there was a crash.
22823 (command-line-1): Reorganize display of startup screen,
22824 to simplify the logic. Use a temp buffer for it.
22826 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
22828 * frame.el (set-background-color, set-foreground-color):
22829 Call face-set-after-frame-default, to propagate the new colors to
22830 the frame's parameters alist.
22832 * calendar/timeclock.el (timeclock-out): Signal an error if
22833 timeclock-last-event is nil.
22835 2001-11-02 Stefan Monnier <monnier@cs.yale.edu>
22837 * textmodes/fill.el (fill-context-prefix): Fix braino.
22839 * international/quail.el (quail-help):
22840 Use `help-buffer' and move `help-setup-xref' to beginning.
22842 * international/mule-cmds.el (describe-language-environment):
22843 Use `help-buffer' and move `help-setup-xref' to beginning.
22845 * international/mule-diag.el (list-character-sets)
22846 (sort-listed-character-sets, describe-character-set)
22847 (describe-coding-system, describe-fontset, list-fontsets):
22848 Use `help-buffer' and move `help-setup-xref' to beginning.
22849 (describe-char-after): Use `internal-describe-syntax-value'.
22851 2001-11-02 Richard M. Stallman <rms@gnu.org>
22853 * mouse.el (popup-menu): If the user refuses to select
22854 from a menu, don't try to invoke the menu.
22856 2001-11-02 Miles Bader <miles@gnu.org>
22858 * help-mode.el (help-xref): New button type.
22859 (help-function, help-variable, help-face, help-coding-system)
22860 (help-input-method, help-character-set, help-type, help-symbol)
22861 (help-back, help-info, help-customize-variable, help-customize-face)
22862 (help-function-def, help-variable-def): Use it as a supertype.
22863 Remove `action' property.
22865 * international/mule-diag.el (describe-character-set)
22866 (describe-coding-system): Pass correct args to `help-xref-button'.
22867 (sort-listed-character-sets): New button type.
22868 (list-character-sets): Use it.
22869 (list-charset-chars): New button type.
22870 (list-character-sets-1): Use it.
22872 2001-11-01 Stefan Monnier <monnier@rum.cs.yale.edu>
22874 * indent.el (tab-always-indent, indent-for-tab-command):
22875 Remove redundant `never' setting.
22877 * fill.el (fill-region-as-paragraph): Don't forget to skip
22878 over current whitespace before looking for a preceding space.
22880 2001-11-01 Richard M. Stallman <rms@gnu.org>
22882 * files.el (file-newest-backup): Don't pass backup file name
22883 thru file-name-sans-versions, because it never has version numbers.
22885 * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
22886 to avoid ambiguous nested loops.
22888 * files.el (find-file-noselect): Offer to change buffer-read-only
22889 only when the file's read-only status has changed from before
22890 as well as disagreeing with the buffer's current status.
22891 (buffer-file-read-only): New var, local in all buffers.
22893 * buff-menu.el (buffer-menu): Doc fix.
22894 (buffer-menu-other-window): Doc fix.
22895 (list-buffers, list-buffers-noselect): Doc fix.
22897 2001-11-01 Gerd Moellmann <gerd@gnu.org>
22899 * startup.el (command-line): If the terminal Emacs is running on
22900 has erase char set to ^H, use the Backspace key for deleting
22901 backward, and the Delete key for deleting forward.
22903 2001-11-01 Miles Bader <miles@gnu.org>
22905 * button.el (define-button-type): Make sure every user-defined
22906 button type has a supertype.
22908 2001-10-31 Jason Rumney <jasonr@gnu.org>
22910 * international/mule-cmds.el (locale-language-names): Add chs and
22911 cht as aliases for Chinese-GB and Chinese-BIG5.
22913 2001-10-31 Richard M. Stallman <rms@gnu.org>
22915 * bindings.el (mode-line-frame-identification): Add doc string.
22916 (mode-line-position, mode-line-modes): New variables.
22917 (mode-line-format): Use mode-line-position for the part
22918 that displays the position-in-buffer info.
22919 Use mode-line-modes for the part that displays major and minor modes.
22921 2001-10-31 Sam Steingold <sds@gnu.org>
22923 * emacs-lisp/debug.el (debugger-make-xrefs): New function.
22924 (debugger-setup-buffer): Call it.
22925 (debugger-mode-map): Bind RET and mouse-2.
22927 2001-10-31 Pavel JanÃk <Pavel@Janik.cz>
22929 * startup.el: Document command line option --no-window-system
22930 instead of --no-windows.
22932 2001-10-30 David Ponce <david.ponce@wanadoo.fr>
22934 * font-lock.el (java-font-lock-syntactic-face-function): New fun.
22935 (font-lock-defaults-alist): Use it.
22937 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
22939 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
22941 * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
22942 output of `char-after'.
22944 * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
22946 * simple.el (reindent-then-newline-and-indent): Insert the newline
22947 before indenting the first line.
22948 (undo-get-state, undo-revert-to-state): New funs.
22949 (shell-command): Don't kill the buffer even if empty.
22950 (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
22951 (transpose-subr-end2): Remove.
22952 (transpose-subr): Add `special' arg and simplify.
22953 (transpose-subr-1): Rewrite.
22954 (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
22955 (rfc822-goto-eoh): Simplify.
22957 2001-10-30 Richard M. Stallman <rms@gnu.org>
22959 * enriched.el (enriched-face-ans): Fix previous change.
22961 2001-10-30 Gerd Moellmann <gerd@gnu.org>
22963 * international/iso-acc.el (iso-accents-compose): Remove a
22966 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il>
22968 * buff-menu.el (list-buffers-noselect): If the buffer's name
22969 starts with a blank, but it visits a file, do show it (for files
22970 whose names start with a blank).
22972 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
22974 * textmodes/fill.el (sentence-end-double-space)
22975 (sentence-end-without-period): Move to paragraphs.el.
22976 (fill-indent-according-to-mode): Change default to t.
22977 (fill-context-prefix): Simplify control-flow and use a more
22978 sophisticated merge that unifies both previous checks.
22979 (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
22980 (fill-nobreak-predicate): Make it into a defcustom'd hook.
22981 (fill-nobreak-p): New fun.
22982 (fill-region-as-paragraph): Use it.
22983 Handle `fill-indent-according-to-mode' slightly differently.
22984 (fill-individual-paragraphs-prefix): Simplify the control-flow.
22985 (fill-individual-paragraphs-citation): Fix.
22987 * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
22988 (paragraph-start): Change default to the `text-mode' value.
22989 (sentence-end-double-space, sentence-end-without-period):
22991 (forward-paragraph): Use `parstart' and `parsep' for temp variables
22992 rather than rebinding `paragraph-start' and `paragraph-separate'.
22994 * indent.el (indent-line-function): Change default to indent-relative.
22995 (tab-always-indent): Add an `never' setting.
22996 (indent-according-to-mode): Handle `indent-relative' and
22997 `indent-relative-maybe' specially.
22998 (indent-for-tab-command): Rename `prefix-arg' to `arg'.
22999 Handle the `never' case for `tab-always-indent'.
23000 Don't call indent-according-to-mode for indent-relative' and
23001 `indent-relative-maybe'.
23002 (insert-tab): Rename `prefix-arg' to `arg'.
23003 (indent-region): Indent the first line as well.
23004 (indent-relative): Don't mark the buffer modified if the indentation
23007 * textmodes/text-mode.el (paragraph-indent-minor-mode):
23008 Don't set paragraph-separate. Set paragraph-start more carefully.
23009 Set indent-line-function.
23010 (paragraph-indent-text-mode): Use it and define-derived-mode.
23011 (text-mode-map): Remove the \t binding.
23012 (text-mode): Simplify now that the default is more favorable.
23014 2001-10-29 Stefan Monnier <monnier@cs.yale.edu>
23016 * emacs-lisp/find-func.el (find-function-search-for-symbol):
23017 If the regexp doesn't match, use a looser one.
23018 (find-variable-noselect): Add `file' argument.
23020 * pcvs.el (cvs-mode-commit-hook): New hook.
23021 (cvs-mode-commit): Run it.
23023 * log-edit.el (log-edit): Run hook after `log-edit-files'.
23025 * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
23026 (edebug-instrument-function): Use `find-function-noselect'.
23028 2001-10-29 Richard M. Stallman <rms@gnu.org>
23030 * term.el (term-if-emacs19): Macro deleted.
23031 Callers changed to use progn instead.
23033 * frame.el (blink-cursor-mode): Doc fix.
23035 * files.el (find-backup-file-name): Use make-backup-file-name.
23037 * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
23039 (edebug-set-conditional-breakpoint): Unconditionally use
23040 the former Emacs >=19 definition.
23041 (edebug-mark): Define unconditionally.
23042 (edebug-eval-expression): Always call read-from-minibuffer
23043 and specify history list.
23044 (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
23045 edebug-set-conditional-breakpoint.
23046 (edebug-emacs-version-specific): Function deleted;
23047 do the job at top level.
23048 (edebug-emacs-19-specific): Function deleted, this is the default.
23050 2001-10-29 Sam Steingold <sds@gnu.org>
23052 * w32-fns.el (convert-standard-filename): Handle cygwin-specific
23053 "/cygdrive/LETTER/" pathnames.
23055 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il>
23057 * faces.el (invert-face): Check for 'unspecified, not for nil,
23058 when testing whether face colors are not specified.
23059 From David.Kastrup@t-online.de (David Kastrup).
23060 (read-face-name): Doc fix.
23061 (make-face-bold, make-face-unbold, make-face-italic)
23062 (make-face-unitalic, make-face-bold-italic, invert-face):
23063 Remove trailing blank from the prompt passed to read-face-name.
23065 2001-10-29 Sam Steingold <sds@gnu.org>
23067 * emacs-lisp/bytecomp.el (byte-recompile-directory):
23068 Report numbers of files skipped and failed too.
23069 (byte-compile-file): Return 'no-byte-compile for skipped files.
23071 2001-10-29 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
23073 * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
23076 2001-10-29 Gerd Moellmann <gerd@gnu.org>
23078 * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
23079 as is on unread-command-events instead of `(SECOND-CHAR)'.
23081 2001-10-29 Andre Spiegel <spiegel@gnu.org>
23083 * vc.el: Mention vc-*-switches in backend API documentation.
23084 (vc-annotate): Adapt doc string to recent change.
23086 2001-10-29 Gerd Moellmann <gerd@gnu.org>
23088 * enriched.el (enriched-face-ans): Handle face attributes
23089 of the form `(FACE1 FACE2 ...)'.
23091 * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
23093 2001-10-29 Alex Schroeder <kensanata@yahoo.com>
23095 * progmodes/sql.el (sql-mysql): Doc change by RMS.
23097 * progmodes/sql.el (sql-db2): Doc change.
23098 (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
23099 (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
23101 2001-10-29 Gerd Moellmann <gerd@gnu.org>
23103 * env.el (substitute-env-vars): Don't quote argument to `rx';
23106 2001-10-28 Per Abrahamsen <abraham@dina.kvl.dk>
23108 * cus-start.el (recursive-load-depth-limit): Added.
23110 2001-10-28 Richard M. Stallman <rms@gnu.org>
23112 * textmodes/ispell.el (version18p, version20p): Vars deleted.
23113 All uses removed--assume Emacs version is >= 20.
23115 * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
23116 by really checking that it is not version 18.
23118 * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
23120 2001-10-28 Miles Bader <miles@gnu.org>
23122 * faces.el (face-attribute): Add INHERIT argument, consider face
23123 inheritance if it's non-nil.
23124 (face-attribute-merged-with): New function.
23125 (face-attribute-specified-or): New macro.
23126 (face-foreground, face-background, face-stipple): Add INHERIT
23127 argument. Use `face-attribute-specified-or'.
23129 2001-10-28 Stefan Monnier <monnier@cs.yale.edu>
23131 * font-lock.el: Require `syntax'.
23132 (font-lock-defaults-alist): Don't define keywords for lisp languages.
23133 Use `c-font-lock-syntactic-face-function' for c languages.
23134 (font-lock-mode): Don't unset vars when turning the mode off.
23135 (font-lock-default-fontify-buffer): Don't unset vars at the end.
23136 (font-lock-extra-managed-props): New var.
23137 (font-lock-default-unfontify-region): Use it.
23138 (font-lock-apply-syntactic-highlight): Flush the syntax cache.
23139 Don't eval the value when there's no match.
23140 (font-lock-ppss-stats): New var.
23141 (font-lock-ppss): New fun.
23142 (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
23143 (font-lock-apply-highlight): Allow `highlight' to set several props.
23144 (font-lock-set-defaults): Use dolist.
23145 (font-lock-unset-defaults): Remove.
23146 (font-lock-match-c-style-declaration-item-and-skip-to-next):
23147 Try to recognize prototypes using `foo P_ ((args))'.
23148 ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
23149 (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
23150 (c-font-lock-syntactic-face-function): New function.
23151 (font-lock-match-c++-style-declaration-item-and-skip-to-next)
23152 (c++-keywords): Use a more sophisticated regexp to handle
23153 shallowly nested templates.
23155 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
23157 * textmodes/sgml-mode.el (sgml-empty-tags): New var.
23158 (sgml-tag): Use it. Cleanup with `cond'.
23159 (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
23160 Mark the overlays and only delete those that are marked.
23161 (sgml-skip-close-p): Remove.
23162 (sgml-value): Replace sgml-skip-close-p with its definition.
23163 (html-tag-alist): Use sgml-xml a bit more.
23164 (html-mode): Set sgml-empty-tags.
23166 * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
23167 (texinfo-update-node, texinfo-sequential-node-update):
23168 Don't bind the obsolete `auto-fill-hook'.
23169 (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
23170 Use `set-buffer' rather than `switch-to-buffer'.
23171 (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
23172 Use `set-buffer' rather than `switch-to-buffer'.
23174 * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
23175 text-mode-syntax-table.
23176 (mail-mode): Use define-derived-mode.
23177 Fix ordering of alternatives in adaptive-fill-regexp.
23178 (mail-mode-map): Don't rely on keymap's internal representation.
23180 2001-10-27 Sam Steingold <sds@gnu.org>
23182 * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
23183 (sgml-xml-guess): Extracted from `html-mode' and generalized.
23184 (sgml-mode-common): Call it.
23185 (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
23186 (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
23187 (html-horizontal-rule, html-image, html-ordered-list):
23188 (html-unordered-list, html-list-item, html-paragraph):
23189 (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
23192 2001-10-26 Masayuki Ataka <ataka@milk.freemail.ne.jp>
23194 * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
23195 (ifnothtml): New alias.
23197 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
23199 * textmodes/text-mode.el (text-mode): Use define-derived-mode.
23200 (toggle-text-mode-auto-fill): Use derived-mode-p.
23202 2001-10-27 Gerd Moellmann <gerd.moellmann@t-online.de>
23204 * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
23205 `mdtm'. From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
23207 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
23209 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
23210 Add make-obsolete cookies, to follow faces.el.
23212 These changes avoid warnings from the byte compiler in faces.el:
23214 * faces.el (internal-get-face): Use facep instead of the obsolete
23215 internal-find-face.
23216 (internal-frob-font-weight, internal-frob-font-slant):
23217 New defaliases for obsolete functions.
23218 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
23219 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
23220 (x-make-font-bold-italic): Use internal-frob-font-weight and
23221 internal-frob-font-slant aliases instead of the obsolete
23222 x-frob-... functions.
23224 2001-10-26 Sam Steingold <sds@gnu.org>
23226 * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
23227 DOCTYPE; set `mode-name' based on it.
23228 (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
23229 (sgml-tag): Close empty tags in XHTML.
23231 2001-10-26 Jason Rumney <jasonr@gnu.org>
23233 * w32-fns.el (w32-charset-info-alist): Use ANSI for iso10646-1
23234 when UNICODE is not defined.
23236 2001-10-26 Sam Steingold <sds@gnu.org>
23238 * font-lock.el (c-font-lock-keywords-2): Do not require labels to
23239 be alone on the line.
23241 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
23243 * button.el (button): Special face definition for MS-DOS terminals.
23245 2001-10-26 Sam Steingold <sds@gnu.org>
23247 * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
23248 Protect the /= test by checking that the args are non-nil.
23249 (sh-font-lock-close-heredoc): Check eof for being non-nil.
23251 2001-10-26 Tomas Abrahamsson <tab@lysator.liu.se>
23253 * textmodes/artist.el (artist-version): 1.2.4.
23254 (artist-butlast-fn): New variable.
23255 (artist-butlast): New function.
23256 (artist-ellipse-mirror-quadrant): Use it.
23257 (artist-mouse-draw-poly): Use nil for `point-list'.
23258 (artist-mouse-draw-poly): Check for point-list being nil.
23260 2001-10-26 Peter Kleiweg <kleiweg@let.rug.nl>
23262 * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
23264 (ps-mode-menu-main): Submenu with options on/off was replaced with
23266 (ps-mode, ps-run-mode): Define with `define-derived-mode'.
23267 (ps-mode): Autoload cookie added on same line as comment.
23268 (ps-mode-tabkey, ps-mode-backward-delete-char):
23269 (ps-mode-r-balance): Replace `delete-horizontal-space' and
23270 `indent-to' with `indent-line-to'.
23271 (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
23273 (ps-mode-print-region): Use `with-temp-buffer'.
23274 (ps-run-start): Use of `mapconcat'. Use `apply' instead of `eval'.
23275 (numerous places): Add back-tick and tick around names in
23276 docstrings, fix punctuation in docstrings, remove trailing spaces.
23278 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
23280 * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
23281 (sgml-font-lock-keywords-2): Use `eval'. Moved from sgml-mode-common.
23282 (sgml-font-lock-syntactic-keywords): New var.
23283 (sgml-mode-common): Drop the two args.
23284 Don't make buffer-local variables that aren't used.
23285 Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
23286 Don't set `before-string' props from sgml-display-text.
23287 (sgml-mode): Use define-derived-mode.
23288 (sgml-tags-invisible): Use sgml-display-text.
23289 (sgml-quote): New command.
23290 (html-tag-alist): Add args for `span'.
23291 (html-mode): Use define-derived-mode.
23292 Set sgml-display-text and sgml-tag-face-alist.
23294 2001-10-25 Sam Steingold <sds@gnu.org>
23296 * add-log.el (add-log-always-start-new-record): New user option.
23297 (add-change-log-entry): Use it.
23299 2001-10-25 Richard M. Stallman <rms@gnu.org>
23301 * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
23302 bind case-fold-search if FROM is not all lower case.
23304 2001-10-25 Gerd Moellmann <gerd@gnu.org>
23306 * startup.el (normal-top-level): Check for frame-initial-frame
23307 only if it's really used.
23309 * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
23311 * progmodes/compile.el (compilation-parse-errors-filename-function):
23313 (compilation-parse-errors): Use it.
23315 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
23317 * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
23318 interactively so that C-u M-C-x still does edebug.
23319 (checkdoc-sentencespace-region-engine): Don't force a double-space
23320 after `.' if it doesn't look like an end-of-sentence.
23321 (debug-ignored-errors): Add `disambiguate ...'.
23323 2001-10-24 Stefan Monnier <monnier@cs.yale.edu>
23325 * textmodes/texinfo.el (texinfo-environments)
23326 (texinfo-environment-regexp): Hoist.
23327 (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
23328 Only highlight the menu name in menu items.
23329 Setup `@foo ... @end foo' as text clones.
23330 (texinfo-clone-environment): New function.
23331 (texinfo-mode): Simplify auto-fill-inhibit-regexp.
23332 (texinfo-insert-block): Simplify.
23333 (texinfo-insert-quote): Insert a plain " if preceded by \ or if
23334 the command is repeated.
23335 (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
23336 (texinfo-insert-@end): Simplify.
23338 * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
23339 (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
23340 (texinfo-subsubsection-level-regexp)
23341 (texinfo-update-menu-same-level-regexps)
23342 (texinfo-update-menu-higher-regexps)
23343 (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
23345 * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
23346 (derived-mode-p): Autoload.
23348 * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
23349 New vars and functions.
23350 (text-clone-maintain, text-clone-create): New functions.
23352 2001-10-25 Miles Bader <miles@gnu.org>
23354 * facemenu.el (facemenu-add-new-face): Fix variable names.
23356 2001-10-24 Richard M. Stallman <rms@gnu.org>
23358 * facemenu.el (facemenu-unlisted-faces): Improve doc strings
23359 of t and nil values.
23360 (facemenu-set-face): Handle START and END interactively.
23361 (facemenu-set-foreground): Don't use a face; specify color directly.
23362 (facemenu-set-background): Likewise.
23363 (facemenu-set-face-from-menu): Doc fix.
23364 (facemenu-active-faces): Use face-attribute-vector
23365 to handle bare attributes not in faces.
23366 (facemenu-get-face): Don't handle face names fg:... and bg:...
23368 (facemenu-add-new-face): New argument MENU.
23369 New way to handle adding colors to the color menus.
23371 * env.el (substitute-env-vars): Quote the arg to rx.
23373 2001-10-24 Sam Steingold <sds@gnu.org>
23375 * mouse.el (mouse-buffer-menu-mode-groups): Added "Version
23376 Control" and "SGML" groups.
23378 2001-10-24 Martin Stjernholm <bug-cc-mode@gnu.org>
23380 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
23381 Better handling of C++ template args to avoid confusion with `<'
23382 and `>' used as operators in member init expressions.
23384 2001-10-24 Gerd Moellmann <gerd@gnu.org>
23386 * replace.el (perform-replace): Move START and END parameters
23387 to the end of the argument list and make them optional.
23389 * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
23392 * international/fontset.el (x-must-resolve-font-name): New function.
23393 (x-complement-fontset-spec): Use it.
23395 2001-10-23 Stefan Monnier <monnier@cs.yale.edu>
23397 * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
23399 * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
23400 Turn caadr into caar of cdr.
23402 2001-10-23 Gerd Moellmann <gerd@gnu.org>
23404 * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
23405 of mouse-{1,2} since dragging is on the down event.
23407 * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
23409 * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
23412 * desktop.el (desktop-last-buffer): New variable.
23413 (desktop-create-buffer): Set it.
23414 (desktop-read): Bind it and switch to that buffer.
23416 2001-10-22 Gerd Moellmann <gerd@gnu.org>
23418 * progmodes/compile.el (compilation-set-window-height):
23419 Select old window only if it's still live.
23421 2001-10-22 Pavel JanÃk <Pavel@Janik.cz>
23423 * help-mode.el (help-buffer): Remove debugging code.
23424 From Stefan Monnier <monnier@cs.yale.edu>.
23426 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
23428 * files.el (file-name-sans-extension, file-name-extension):
23429 Don't count the leading dots in file names as signaling an extension.
23431 2001-10-22 Andre Spiegel <spiegel@gnu.org>
23433 * vc.el (vc-diff-switches): Doc rewritten.
23435 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
23437 * tooltip.el (tooltip-set-param): Doc fix.
23439 * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
23440 127 to sgml-maybe-name-self.
23441 (sgml-name-8bit-mode): Doc fix.
23442 (sgml-char-names-table): New variable.
23443 (sgml-name-char): Support non-ASCII and mule-unicode-*
23444 characters. Doc fix.
23445 (sgml-maybe-name-self): Convert unibyte characters to multibyte.
23447 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
23448 doc string the effect of `left' and `top' parameters in
23449 tooltip-frame-parameters, the default values, and the units.
23450 (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
23451 (tooltip-show): Mention in the doc string the `top' and `left'
23452 parameters in tooltip-frame-parameters, and x-max-tooltip-size.
23454 2001-10-22 Andre Spiegel <spiegel@gnu.org>
23456 Add autoscaling support for vc-annotate.
23457 From J.D. Smith <jdsmith@alum.mit.edu>.
23459 * vc.el (vc-annotate-display-default): Accept colormap scaling
23460 ratio (now deprecated).
23461 (vc-annotate-display-autoscale): Added.
23462 (vc-annotate-add-menu): New autoscaling menu options "Span to
23463 Oldest" and "Span Oldest->Newest". Easymenu support added for
23464 toggle menus driven by customize variable `vc-annotate-display-mode'.
23465 (vc-annotate-display-select): Added.
23466 (vc-annotate): Changed temp-buffer-show-function to
23467 `vc-annotate-display-select'.
23468 (vc-annotate-display): Removed arguments BUFFER and BACKEND.
23469 Added argument OFFSET. Instead of backend function, calls now
23470 generic `vc-annotate-difference'.
23471 (vc-annotate-difference): Added as generic function instead of
23472 backend-specific function. No longer takes argument POINT, but
23473 instead accepts a time OFFSET.
23474 (vc-default-annotate-current-time): Added.
23476 * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
23478 (vc-cvs-annotate-current-time): Added, as override of default.
23479 (vc-cvs-annotate-time): Added. Taken mostly from the (now removed)
23480 `vc-cvs-annotate-difference'.
23482 2001-10-22 Gerd Moellmann <gerd@gnu.org>
23484 * saveplace.el (save-place): Require `saveplace'.
23486 * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
23487 Use `sexp' for :value-type instead of `face'.
23489 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
23491 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
23492 regexps due to 5-digit message IDs.
23494 2001-10-21 Jason Rumney <jasonr@gnu.org>
23496 * term/w32-win.el (redisplay-dont-pause): Don't set.
23498 2001-10-21 Miles Bader <miles@gnu.org>
23500 * help-funs.el (help-manyarg-func-alist): Variable removed.
23502 2001-10-21 Miles Bader <miles@gnu.org>
23504 * help-funs.el (help-manyarg-func-alist): Remove entries for
23505 `insert', `insert-and-inherit', `insert-before-markers',
23506 `insert-before-markers-and-inherit', `message', `message-box',
23507 `message-or-box', `propertize', `format', `encode-time', `append',
23508 `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
23509 `insert-string', `ml-if', `ml-provide-prefix-argument', and
23510 `ml-prefix-argument-loop'.
23512 2001-10-21 Andre Spiegel <spiegel@gnu.org>
23514 * vc.el (vc-diff-internal, vc-coding-system-for-diff)
23515 (vc-default-diff-tree): New functions.
23516 (vc-version-diff): Use them. As a result, coding systems are now
23517 set up properly for all sorts of diffs, and tree diffs can now
23518 also be done locally.
23519 (vc-diff): With a prefix argument, don't require that it's called
23520 from a buffer under version control.
23521 (diff-switches): Remove duplicate definition.
23523 * vc-cvs.el (vc-cvs-diff-tree): New function.
23525 2001-10-21 Miles Bader <miles@gnu.org>
23527 * help-funs.el (help-manyarg-func-alist): Remove entries for
23528 `list', `vector', `make-byte-code', `call-process',
23529 `call-process-region', `string', `+', `-', `*', `/', `max', `min',
23530 `logand', `logior', and `logxor'.
23532 * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
23533 image bits to compensate. Use `make-string' instead of
23534 `make-bool-vector' (XBM apparently wants byte-aligned rows).
23536 2001-10-20 Kim F. Storm <storm@cua.dk>
23538 * simple.el (kill-ring-save): Don't show extent of copied region
23539 if using transient-mark-mode and region is fully visible.
23541 See ChangeLog.9 for earlier changes.
23543 ;; Local Variables:
23547 Copyright (C) 2001-2014 Free Software Foundation, Inc.
23549 This file is part of GNU Emacs.
23551 GNU Emacs is free software: you can redistribute it and/or modify
23552 it under the terms of the GNU General Public License as published by
23553 the Free Software Foundation, either version 3 of the License, or
23554 (at your option) any later version.
23556 GNU Emacs is distributed in the hope that it will be useful,
23557 but WITHOUT ANY WARRANTY; without even the implied warranty of
23558 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23559 GNU General Public License for more details.
23561 You should have received a copy of the GNU General Public License
23562 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.