1 2003-07-03 Martin Stjernholm <mast@lysator.liu.se>
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 <acm@muc.de>
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 <mast@lysator.liu.se>
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 <acm@muc.de>
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 <mast@lysator.liu.se>
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.
944 It's 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: Use iso-2022-7bit encoding with coding cookie
1252 for XEmacs compatibility.
1254 2003-06-17 Kenichi Handa <handa@m17n.org>
1256 * term/x-win.el (x-select-request-type): New variable.
1257 (x-select-utf8-or-ctext): New function.
1258 (x-selection-value): New function.
1259 (x-cut-buffer-or-selection-value): Call x-selection-value to get
1260 a selection data. Set next-selection-coding-system to nil.
1262 * select.el (x-get-selection): If the string returned by
1263 x-get-selection-internal has text property `foreign-selection',
1264 decode it while preserving that property.
1266 2003-06-16 Stefan Monnier <monnier@cs.yale.edu>
1268 * menu-bar.el (ispell-menu-bar): Don't autoload.
1269 (cvs-global-menu): Use the function rather than the variable.
1271 * pcvs-defs.el (cvs-global-menu): Define as a function as well.
1273 * emacs-lisp/debug.el (debug): Fix call to message.
1275 2003-06-16 Michael Mauger <mmaug@yahoo.com>
1277 * emulation/cua-base.el (cua-mode): Use explicit arg to turn off
1280 2003-06-16 Stefan Monnier <monnier@cs.yale.edu>
1282 * emacs-lisp/cl-extra.el (cl-macroexpand-all):
1283 Don't burp if (cadr (caddr found)) encounters a non-list element.
1285 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Use map-keymap.
1286 (defsubst*): Don't put a `cl-whole argument if it's not used.
1288 * emacs-lisp/cl-specs.el (pushnew): Use keywordp.
1290 * emacs-lisp/disass.el (disassemble): Accept plain expressions.
1292 * add-log.el (add-log-edit-prev-comment, add-log-edit-next-comment):
1294 (change-log-mode-map): Bind them.
1295 (smerge-resolve-function): Declare to quieten the byte-compiler.
1296 (change-log-mode): Add the keymap to the docstring.
1298 2003-06-16 Luc Teirlinck <teirllm@mail.auburn.edu>
1300 * simple.el (vis-mode): New function.
1301 (saved-buffer-invisibility-spec): New variable.
1303 2003-06-16 Juanma Barranquero <lektu@terra.es>
1305 * progmodes/sh-script.el (sh-while-getopts, sh-if, sh-case):
1306 Revert part of previous change.
1308 2003-06-16 Pieter E.J. Pareit <pieter.pareit@skynet.be>
1310 * progmodes/mixal-mode.el: New file.
1312 2003-06-16 Markus Rost <rost@math.ohio-state.edu>
1314 * files.el (recover-session-finish): Don't give up when there are
1315 two consecutive empty lines in the auto-save-list file.
1317 2003-06-14 Stefan Monnier <monnier@cs.yale.edu>
1319 * emacs-lisp/copyright.el (copyright-update-year): New function
1320 extracted from copyright-update.
1321 When `arg' is set, replace the year, not the `copyright' text.
1322 Ignore `copyright-update = nil' if called interactively.
1323 Use "," rather than ", " if that's what was used before.
1324 Recognize mixes of 2 and 4 digit years.
1326 (copyright-update): Add interactivep arg.
1327 Use it instead of use last-command.
1328 Use replace-match. Don't assume (point-min) == 1.
1330 * textmodes/tex-mode.el (tex-compile-commands):
1331 Handle tex-start-commands like tex-start-tex does.
1333 * cus-edit.el (custom-get-fresh-buffer): Kill overlays before erasing
1336 2003-06-13 Ilya N. Golubev <gin@mo.msk.ru> (tiny change)
1338 * shell.el (shell-command-separator-regexp): New variable.
1339 (shell-directory-tracker): Make regexp used for skipping to next
1340 command correspond to one used for command itself.
1342 2003-06-13 Katsumi Yamaoka <yamaoka@jpl.org>
1344 * textmodes/texinfmt.el (texinfo-format-scan):
1345 Silence `whitespace-cleanup'.
1347 2003-06-12 Glenn Morris <gmorris@ast.cam.ac.uk>
1349 * calendar/timeclock.el (display-time-hook)
1350 (timeclock-modeline-display): Define for byte-compiler.
1351 (timeclock-time-to-date, timeclock-workday-remaining)
1352 (timeclock-time-to-seconds, timeclock-seconds-to-time):
1353 Move earlier in the file so defined before used.
1354 (timeclock-status-string): No need for `let*' so use `let'.
1355 (timeclock-query-out): Always return a non-nil value.
1357 2003-06-10 Rajesh Vaidheeswarran <rv@gnu.org>
1359 * whitespace.el (whitespace-version): Bump to 3.3.
1360 (whitespace-cleanup): Respect user preference for silence
1362 * whitespace.el: Remove :tag in commentary :link. Remove empty
1363 lines in comment, since commentary seems to have a problem with that.
1365 2003-06-09 Stefan Monnier <monnier@cs.yale.edu>
1367 * textmodes/tex-mode.el (tex-search-noncomment): New macro.
1368 (tex-last-unended-begin, tex-next-unmatched-end): Use it
1369 so we don't get confused by \begin and \end in comments.
1370 (tex-compile): Change dir before calling tex-compile-default.
1372 2003-06-09 Luc Teirlinck <teirllm@mail.auburn.edu>
1374 * bindings.el (global-map): Bind `kill-whole-line' to
1375 C-S-<backspace>. Remove M-S-<backspace> binding: too close to
1378 * dired.el (dired-re-dot): Make it handle trailing /.
1379 (dired-get-filename): Update documentation string.
1380 Revert previous change and fix typo in earlier version.
1382 2003-06-10 Kim F. Storm <storm@cua.dk>
1384 * info.el (Info-fontify-node): Make `invisible' property
1385 non-sticky so that whitespace added by filling stays visible.
1386 Make refilling less aggressive by starting at beginning of current
1387 line rather than beginning of current paragraph.
1389 2003-06-09 Andreas Schwab <schwab@suse.de>
1391 * dired.el (dired-get-filename): Complain only about "." and "..",
1392 not all directories.
1394 2003-06-08 Nick Roberts <nick@nick.uklinux.net>
1396 * gdb-ui.el (gdb-get-current-frame, gdb-frame-handler): Use Gdb
1397 command `info frame' instead of `frame' to preserve point.
1398 (gdb-invalidate-assembler): Only run disassemble again if frame
1400 (gdb-append-to-inferior-io): Revert change from 2003-05-17.
1402 2003-06-07 Stefan Monnier <monnier@cs.yale.edu>
1404 * textmodes/texinfo.el (texinfo-enable-quote-macros): Fix thinko.
1405 (texinfo-insert-@table): Remove unused arg.
1406 (texinfo-show-structure): Remove unused var `source-buffer'.
1408 * info.el (Info-goto-node, Info-follow-reference, Info-menu-update)
1409 (Info-fontify-node): Don't search past header-end.
1410 Use match-string and line-end-position.
1412 * skeleton.el (skeleton-proxy-new): Consume the mark-active state.
1414 * textmodes/tex-mode.el (tex-mode-syntax-table)
1415 (tex-latex-indent-syntax-table): Don't use easy-mmode-defsyntax.
1417 2003-06-07 Jason Rumney <jasonr@gnu.org>
1419 * mwheel.el (mouse-wheel-up-event, mouse-wheel-down-event):
1420 Use wheel-* events on darwin.
1422 2003-06-06 Era Eriksson <era@iki.fi> (tiny change)
1424 * shell.el (shell-resync-dirs): Tolerate an extra line of output
1425 before the list of directories from `shell-dirstack-query' (it
1426 looks for, and ignores, a literal copy of the value of
1427 shell-dirstack-query).
1429 2003-06-06 Lute Kamstra <lute@gnu.org>
1431 * info.el (Info-complete-menu-item): Revert change of 2003-06-03.
1433 2003-06-06 Klaus Zeitler <kzeitler@lucent.com>
1435 * progmodes/sh-script.el: Fix bug in "Options Loop" skeleton for
1436 ksh. Add newlines to a few skeletons, add "select" keyword for bash.
1438 2003-06-06 Andreas Schwab <schwab@suse.de>
1440 * info.el (Info-select-node): Doc fix.
1442 2003-06-06 Miles Bader <miles@gnu.org>
1444 * frame.el (set-frame-font): Default to frame's current default font.
1446 2003-06-06 Kim F. Storm <storm@cua.dk>
1448 * info.el (Info-fontify-node): Don't refill over lines ending in a
1449 period; this should fix problems with lists like one in the
1450 "(emacs)Library Keywords" section.
1452 2003-06-05 Markus Rost <rost@math.ohio-state.edu>
1454 * dired.el (dired-get-filename): Don't err for . and .. for calls
1455 from dired-add-entry.
1457 2003-06-05 Takaaki Ota <Takaaki.Ota@am.sony.com>
1459 * textmodes/table.el (table-cell-horizontal-chars): Rename from
1460 table-cell-horizontal-char. Now a string value instead of a
1461 character. ?= is allowed for horizontal boundary as well as ?-.
1462 (table-command-remap-alist, table-command-list): Change defconst to
1463 defvar because the value is modified.
1464 (table-insert, table-insert-row, table-insert-column)
1465 (table-recognize, table-recognize-region, table-widen-cell)
1466 (table-span-cell, table-split-cell-vertically): Change due to
1467 table-cell-horizontal-chars.
1468 (table--cell-horizontal-char-p): New function.
1469 (table--generate-source-scan-lines, table-delete-row)
1470 (table-delete-column, table--spacify-frame)
1471 (table--find-row-column, table--probe-cell-left-up)
1472 (table--probe-cell-right-bottom, table--probe-cell): Change due to
1473 table-cell-horizontal-chars. From David Abrahams
1474 <dave@boost-consulting.com>
1476 2003-06-05 Juanma Barranquero <lektu@terra.es>
1478 * gud.el: Moved to progmodes.
1480 2003-06-05 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> (tiny change)
1482 * progmodes/tcl.el (tcl-mode): Set imenu-generic-expression to the
1483 value of tcl-imenu-generic-expression instead of the symbol.
1485 2003-06-05 Luc Teirlinck <teirllm@mail.auburn.edu>
1487 * info.el (Info-mode): Mention `c' and remove duplicate mention
1488 of `q' in documentation string.
1490 2003-06-05 Lute Kamstra <lute@gnu.org>
1492 * shell.el (shell-mode): Put `shell-filter-ctrl-a-ctrl-b' on
1493 `comint-output-filter-functions' when bash is used as the inferior
1495 (shell-filter-ctrl-a-ctrl-b): New function.
1497 2003-06-05 Dave Love <fx@gnu.org>
1499 * vc-hooks.el (vc-make-backup-files): Add :group backup.
1501 2003-06-05 Kim F. Storm <storm@cua.dk>
1503 * info.el (Info-fontify-node): Individually refill menus and
1504 paragraphs to preserve menu items and varying indentation.
1505 Only color first 9 menu items differently.
1507 2003-06-05 Juanma Barranquero <lektu@terra.es>
1509 * desktop.el: Add new maintainer.
1511 2003-06-04 Stefan Monnier <monnier@cs.yale.edu>
1513 * textmodes/sgml-mode.el (sgml-parse-tag-backward): Try and detect
1514 when we're starting from within a tag.
1515 (sgml-get-context): When called from inside a tag, do something useful.
1516 Rename the arg now that it's never used for `full' context anymore.
1517 (sgml-calculate-indent): Make `lcon' an argument.
1518 Return nil when we DON'T know what to do.
1519 If the initial lcon turns out to be wrong, try again.
1520 (sgml-indent-line): If sgml-calculate-indent returns nil, don't indent.
1522 2003-06-04 Jason Rumney <jasonr@gnu.org>
1524 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
1525 Default to new wheel-up and wheel-down events on MacOS.
1527 * term/mac-win.el: No need to bind wheel events specially.
1529 2003-06-04 Luc Teirlinck <teirllm@mail.auburn.edu>
1531 * simple.el (yank-excluded-properties): Expand documentation string.
1533 2003-06-04 Richard M. Stallman <rms@gnu.org>
1535 * emacs-lisp/lisp-mnt.el (lm-keywords-finder-p):
1536 Use with-no-warnings.
1538 * gud.el (gud-minor-mode-type): Move defvar up.
1540 * progmodes/compile.el (compilation-next-error): When moving fwd,
1541 compare position of point with the errors.
1543 * dired.el (dired-get-filename): Err for . and .. in usual case.
1544 (dired-get-file-for-visit): Specify no-error to dired-get-filename,
1545 and check for real errors here.
1546 (dired-unmark-all-files): Specify no-error to dired-get-filename.
1548 * buff-menu.el (list-buffers-noselect): Use window-inside-edges
1549 to compute the number of offset spaces.
1550 (list-buffers-noselect): Use Buffer-menu-buffer+size to
1551 indent the dashes properly. Put some in fixed-pitch.
1553 2003-06-04 Lars Hansen <larsh@math.ku.dk>
1555 * desktop.el (desktop-create-buffer): Undo last change.
1556 (desktop-kill, desktop-save, desktop-remove): Use expand-directory
1557 rather than concat to construct desktop filename.
1558 (desktop-kill, desktop-read, desktop-change-dir):
1559 Ensure desktop-dirname is a directory name.
1560 (desktop-change-dir): Fix bug when DIR was relative.
1562 2003-06-04 Alex Coventry <alex_c@mit.edu> (tiny change)
1564 * files.el (after-find-file): Fix arguments of call to `sit-for'.
1566 2003-06-03 Stefan Monnier <monnier@cs.yale.edu>
1568 * info.el (Info-extract-menu-node-name): Remove unused arg errmessage.
1569 (Info-follow-reference): Update corresponding call.
1570 (Info-node-spec-re): New const.
1571 (Info-complete-menu-item): Use it to only allow : when necessary.
1572 (Info-fontify-node): Use it as well. Fixup typo.
1574 * info.el (info-fontify-node): Use better help-echo text.
1575 Use :align-to display prop.
1576 Use `invisible' rather than `display' prop to hide text.
1578 * info.el (Info-mode-hook): Obey obsolete `Info-fontify'.
1579 (Info-find-in-tag-table-1): Remove unused vars.
1580 (Info-display-images-node): Remove unused var paragraph-markers.
1581 (Info-header-line): Remove.
1582 (Info-select-node): Don't set it.
1583 (Info-search): Remove unused var `current'.
1584 (Info-follow-reference): Remove unused var `beg'.
1585 (Info-extract-menu-node-name): Remove unused var `i'.
1586 (Info-complete-menu-item): Use `with-current-buffer'.
1587 (Info-index): Remove unused var `rnode'.
1588 (Info-mode): Set header-line-format to check text-properties directly.
1589 (Info-find-emacs-command-nodes): Remove unused var `found' and `exact'.
1590 (Info-fontify-node): Use `push'.
1591 (Info-speedbar-hierarchy-buttons): Use `dolist'.
1592 (Info-speedbar-goto-node, Info-speedbar-fetch-file-nodes):
1593 Check the return value of `string-match'.
1594 (Info-speedbar-fetch-file-nodes): Factor out common code.
1596 2003-06-03 Lute Kamstra <lute@gnu.org>
1598 * cus-edit.el (custom-get-fresh-buffer): Test for nonexistence buffer.
1600 2003-06-03 Richard M. Stallman <rms@gnu.org>
1602 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1605 * windmove.el (windmove-reference-loc, windmove-frame-edges):
1606 Use window-inside-edges.
1607 (windmove-do-window-select): Fix error messages.
1609 * files.el (after-find-file): Simplify msg if nonexistent directory.
1610 (make-directory): Doc fix.
1612 * dabbrev.el (dabbrev--goto-start-of-abbrev):
1613 Use minibuffer-prompt-end.
1615 * comint.el (comint-move-point-for-output): Rename from
1616 comint-scroll-to-bottom-on-output. Old name is alias.
1617 All uses changed. Doc fix.
1618 (comint-scroll-show-maximum-output): Doc fix.
1620 * comint.el (comint-exec-1): Don't use directory-sep-char.
1621 (comint-dynamic-complete-as-filename): Likewise.
1623 * bindings.el (global-map): Delete C-M-delete and C-M-backspace.
1625 2003-06-03 Markus Rost <rost@math.ohio-state.edu>
1627 * progmodes/ps-mode.el (ps-mode): Use autoload cookie in the
1630 2003-06-02 Stefan Monnier <monnier@cs.yale.edu>
1632 * textmodes/bibtex.el (bibtex-member-of-regexp)
1633 (bibtex-assoc-of-regexp, bibtex-format-entry, bibtex-find-entry)
1634 (bibtex-autokey-demangle-name, bibtex-string-files-init, bibtex-mode):
1635 Fix up regexp usage and use match-string.
1637 2003-06-02 Roland Winkler <roland.winkler@physik.uni-erlangen.de>
1639 * textmodes/bibtex.el: Long overdue merge.
1640 Don't require `compile' since it seems unnecessary.
1641 For all internal variables and functions the docstring comments have
1642 been converted into proper docstrings.
1643 (bibtex-maintainer-address, bibtex-maintainer-salutation)
1644 (bibtex-version): Remove support for bug reporting.
1645 (bibtex-field-delimiters, bibtex-entry-delimiters)
1646 (bibtex-sort-ignore-string-entries, bibtex-maintain-sorted-entries)
1647 Replace make-variable-buffer-local by make-local-variable.
1648 (bibtex-entry-format): New tag `required-fields'.
1649 (bibtex-maintain-sorted-entries): New var.
1650 (bibtex-sort-entry-class, bibtex-sort-entry-class-alist): New vars.
1651 (bibtex-predefined-month-strings, bibtex-predefined-strings):
1652 Make into alists with pairs (abbreviation expansion).
1653 (bibtex-autokey-titleword-change-strings)
1654 (bibtex-autokey-transcriptions): Make into alists.
1655 Add new replacement pairs.
1656 (bibtex-autokey-use-crossref): New var.
1657 Replace bibtex-autokey-year-use-crossref-entry because updated code
1658 for autokey generation handles crossrefs independently of
1660 (bibtex-reference-key, bibtex-mode-syntax-table):
1661 Remove = because it can't be part of a string's key.
1662 (bibtex-complete-key-cleanup): New var.
1663 (bibtex-complete): Merge bibtex-complete-string and bibtex-complete-key
1664 into it (and bind to M-tab).
1665 (bibtex-valid-entry-re, bibtex-any-valid-entry-re)
1666 (bibtex-valid-entry-whitespace-re, bibtex-empty-field-re)
1667 (bibtex-quoted-string-re): New vars.
1668 (bibtex-field-name-for-parsing): Don't make-variable-buffer-local.
1669 (zmacs-regions): Declare to quieten the byte-compiler.
1670 (bibtex-comment-start): Don't include the space.
1671 (bibtex-font-lock-syntactic-keywords): New var.
1672 (bibtex-font-lock-keywords): Remove the entry for @Comment.
1673 (bibtex-parse-field-string): Merge the functionality of
1674 bibtex-parse-field-string-braced, bibtex-parse-quoted-string and
1675 bibtex-parse-field-string-quoted.
1676 (bibtex-search-forward-field-string): Remove.
1677 (bibtex-parse-association): Use when.
1678 (bibtex-parse-field-name): Use when.
1679 (bibtex-parse-field-text): Use when and cond.
1680 (bibtex-parse-field): Use let.
1681 (bibtex-search-forward-field, bibtex-search-backward-field):
1682 Make bound optional, use let, setq, and cddr.
1683 (bibtex-start-of-field, bibtex-start-of-name-in-field)
1684 (bibtex-end-of-name-in-field): Use nth.
1685 (bibtex-name-in-field, bibtex-text-in-field-bounds)
1686 (bibtex-text-in-field, bibtex-type-in-head, bibtex-key-in-head)
1687 (bibtex-text-in-string): New functions.
1688 (bibtex-reference-key-in-string): New fun. Merge of
1689 bibtex-start-of-reference-key-in-string and
1690 bibtex-end-of-reference-key-in-string.
1691 (bibtex-parse-string-prefix): Use let and when.
1692 (bibtex-parse-string-postfix): Use when.
1693 (bibtex-search-forward-string, bibtex-search-backward-string):
1694 Use save-excursion and setq.
1695 (bibtex-member-of-regexp): Use let.
1696 (bibtex-assoc-of-regexp): Use caar and let.
1697 (bibtex-skip-to-valid-entry): Return buffer position.
1698 (bibtex-map-entries): Use save-excursion.
1699 (bibtex-progress-message): Simplify.
1700 (bibtex-search-entry): Use skip-chars-forward, when, save-match-data.
1701 (bibtex-move-outside-of-entry): Handle the case that point is before
1703 (bibtex-enclosing-field): Use save-excursion, when.
1704 (bibtex-format-field-delimiters): Merge into bibtex-format-entry.
1705 (bibtex-enclosing-entry-maybe-empty-head): Simplify.
1706 (bibtex-format-entry): Simplify. Handle new tag required-fields of
1707 bibtex-entry-format.
1708 (bibtex-autokey-abbrev): Accept negative values of len.
1709 (bibtex-autokey-get-field, bibtex-autokey-demangle-title): New funs.
1710 (bibtex-autokey-get-namefield, bibtex-autokey-get-namelist)
1711 (bibtex-autokey-get-yearfield-digits, bibtex-autokey-get-yearfield)
1712 (bibtex-autokey-get-titlestring): Remove.
1713 (bibtex-autokey-get-names): Simplify.
1714 (bibtex-autokey-get-titles): Rename to bibtex-autokey-get-title.
1715 (bibtex-autokey-demangle-name): Simplify, avoid error messages.
1716 (bibtex-generate-autokey): Simplify.
1717 (bibtex-parse-keys): Simplify, use push.
1718 (bibtex-parse-strings): New fun similar to bibtex-parse-keys.
1719 (bibtex-string-files-init): New fun.
1720 (bibtex-parse-buffers-stealthily): Use bibtex-parse-keys,
1721 bibtex-string-files-init and bibtex-parse-strings.
1722 (bibtex-complete): Rename to bibtex-complete-internal, use push,
1723 bibtex-reference-key-in-string, no sorting.
1724 (bibtex-complete-string-cleanup): New fun, displays expansion of
1726 (bibtex-choose-completion-string): New fun. Required for
1727 choose-completion-string-functions.
1728 (bibtex-do-auto-fill): Remove. Set fill-prefix in bibtex-mode.
1729 (bibtex-pop): Simplify.
1730 (bibtex-mode): Move setting of bibtex-string to bibtex-parse-strings.
1731 Set choose-completion-string-functions.
1732 (bibtex-print-help-message, bibtex-make-field, bibtex-end-of-entry)
1733 (bibtex-count-entries): Simplify.
1734 (bibtex-entry-index, bibtex-lessp): New funs for generalized sorting
1735 scheme of indices, see bibtex-maintain-sorted-entries.
1736 (bibtex-sort-buffer): Use bibtex-lessp for sorting.
1737 (bibtex-find-crossref, bibtex-find-entry): New funs.
1738 (bibtex-find-entry-location): Rename to bibtex-prepare-new-entry, use
1739 bibtex-lessp, Simplify.
1740 (bibtex-validate): Simplify. Fixe bug of internal variable
1742 (bibtex-remove-OPT-or-ALT): Use when.
1743 (bibtex-remove-delimiters, bibtex-kill-field, bibtex-kill-entry)
1744 (bibtex-clean-entry, bibtex-fill-entry, bibtex-reformat): Simplify.
1745 (bibtex-convert-alien): Use deactivate-mark rather than the
1746 non-existent bibtex-mark-active variable.
1747 (bibtex-complete-string, bibtex-complete-key): Merge into new
1748 `smart' defun bibtex-complete.
1749 (bibtex-String): Update for new sorting scheme, distinguish empty and
1750 non-empty key strings.
1752 2003-06-02 Stefan Monnier <monnier@cs.yale.edu>
1754 * sort.el (sort-subr): Add `predicate' arg. Remove `sortcar' code.
1756 2003-06-02 Lute Kamstra <lute@gnu.org>
1758 * emacs-lisp/lisp-mnt.el (lm-synopsis): Use relative filenames
1759 correctly. Show the synopsis to the user when appropriate.
1760 Do not kill buffers that were created outside `lm-synopsis'.
1762 2003-06-01 Stefan Monnier <monnier@cs.yale.edu>
1764 * cus-edit.el (custom-get-fresh-buffer): Be extra paranoid,
1765 just in case some used a file of the wrong name.
1767 * progmodes/sh-script.el (sh-is-quoted-p): New fun.
1768 (sh-font-lock-paren): Use it to allow \C in case patterns.
1769 (sh-get-indent-info): Check the \n before the line for string-status.
1770 (sh-feature): Remove unused var `function'.
1771 (sh-get-indent-info): Remove unused variables.
1772 (sh-prev-thing): Remove unused vars `going', `n', and `found'.
1773 (sh-set-indent): Remove unused var `new-val' and `val0'.
1774 (sh-learn-buffer-indent): Remove unused vars `last-pos' and `lines'.
1775 (sh-guess-basic-offset): Remove unused var `return' and `j'.
1777 2003-05-27 David Ponce <david@dponce.com>
1783 Take into account changes made to the display margins, fringes and
1784 scroll-bar handling.
1786 (ruler-mode-margins-char): Remove. Not used anymore.
1787 (ruler-mode-pad-face, ruler-mode-fringes-face): New faces.
1788 (ruler-mode-margins-face): New definition. Move.
1789 (ruler-mode-left-fringe-cols)
1790 (ruler-mode-right-fringe-cols)
1791 (ruler-mode-left-scroll-bar-cols)
1792 (ruler-mode-right-scroll-bar-cols): Reimplement. Move.
1793 (ruler-mode-full-window-width)
1794 (ruler-mode-window-col): New functions.
1795 (ruler-mode-mouse-set-left-margin)
1796 (ruler-mode-mouse-set-right-margin)
1797 (ruler-mode-mouse-add-tab-stop)
1798 (ruler-mode-mouse-del-tab-stop): Reimplement.
1799 (ruler-mode-mouse-current-grab-object): Rename to...
1800 (ruler-mode-dragged-symbol): New.
1801 (ruler-mode-mouse-grab-any-column): Use it. Clean up.
1802 (ruler-mode-mouse-drag-any-column): Likewise.
1803 (ruler-mode-mouse-drag-any-column-iteration): Simplify.
1804 (ruler-mode): Restore previous `header-line-format' if
1805 `ruler-mode-header-line-format-old' has a local binding in current
1807 (ruler-mode-left-margin-help-echo)
1808 (ruler-mode-right-margin-help-echo): Remove.
1809 (ruler-mode-margin-help-echo)
1810 (ruler-mode-fringe-help-echo): New constants.
1811 (ruler-mode-ruler): Use them. Reimplement.
1813 2003-06-01 Jason Rumney <jasonr@gnu.org>
1815 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
1816 Default to new wheel-up and wheel-down events on Windows.
1818 * term/w32-win.el: No need to bind wheel events specially.
1820 2003-06-01 Michael Kifer <kifer@cs.stonybrook.edu>
1822 * desktop.el (desktop-create-buffer): Add (desktop-first-buffer) to
1823 the let-statement to avoid the startup error that desktop-first-buffer
1826 2003-06-01 Andreas Schwab <schwab@suse.de>
1828 * man.el (Man-name-regexp): Also match Latin-1 soft hyphen.
1829 (Man-build-references-alist): Handle Latin-1 soft hyphen.
1831 2003-05-31 Stephen Eglen <stephen@gnu.org>
1833 * iswitchb.el (iswitchb-buffer-ignore): Update custom type to
1836 2003-05-31 Stefan Monnier <monnier@cs.yale.edu>
1838 * view.el (view-file, view-file-other-window, view-file-other-frame):
1839 Signal an error when trying to visit a nonexistent file.
1841 * vc-hooks.el (vc-call-backend): Give better error message
1842 when a backend function is missing.
1843 (vc-find-file-hook): USe unless. Merge if and cond.
1845 * vc.el (vc-directory-exclusion-list): Add MCVS and .svn.
1846 (vc-checkin-hook): Adjust option to new name.
1848 * log-edit.el (log-edit-maximum-comment-ring-size)
1849 (log-edit-comment-ring, log-edit-comment-ring-index)
1850 (log-edit-last-comment-match): Rename vars from
1851 vc-maximum-comment-ring-size, vc-comment-ring, vc-comment-ring-index,
1852 and vc-last-comment-match.
1853 (log-edit-new-comment-index, log-edit-previous-comment)
1854 (log-edit-next-comment, log-edit-comment-search-backward)
1855 (log-edit-comment-search-forward, log-edit-comment-to-change-log):
1856 Rename funs from vc-new-comment-index, vc-previous-comment,
1857 vc-next-comment, vc-comment-search-reverse, vc-comment-search-forward,
1858 and vc-comment-to-change-log.
1860 * wid-edit.el (widget-specify-insert): Simplify.
1861 (widget-editable-list-entry-create): Don't assume that %d and %i are
1862 in the format string.
1863 (widget-map-buttons): Remove unused var `parent'.
1864 (widget-move): Remove unused shadowed var `new'.
1865 (widget-color-action): Remove unused var `pos'.
1867 * cus-edit.el (custom-get-fresh-buffer): New fun.
1868 (custom-buffer-create, custom-buffer-create-other-window)
1869 (customize-browse): Use it instead of killing buffers.
1870 (custom-bury-buffer): Obey the argument.
1871 (custom-variable-reset-saved, custom-variable-reset-standard):
1872 Remove unused var `comment-widget'.
1873 (custom-face-edit-deactivate): Remove unused var `to'.
1874 (custom-save-variables): Remove unused var `sep'.
1876 2003-05-31 John Paul Wallington <jpw@gnu.org>
1878 * files.el (large-file-warning-threshold): Add type, groups.
1880 * progmodes/delphi.el (delphi-ignore-changes): Defvar; non-constant.
1882 2003-05-31 Kenichi Handa <handa@m17n.org>
1884 * files.el (recover-file): Bind coding-system-for-read to
1887 2003-05-31 Juanma Barranquero <lektu@terra.es>
1889 * misc.el (mark-beginning-of-buffer, mark-end-of-buffer)
1890 (upcase-char, forward-to-word, backward-to-word): Move from unused.el.
1892 * unused.el: Deleted (contents moved to misc.el).
1895 * emacs-lisp/float.el:
1896 * textmodes/scribe.el: Moved to obsolete.
1904 * warnings.el: Moved to emacs-lisp.
1906 * enriched.el: Moved to textmodes.
1908 * textmodes/outline.el: Moved to lisp.
1910 * which-func.el: Moved to progmodes.
1912 * loadup.el: Load byte-run.el, map-ynp.el, timer.el and float-sup.el
1915 2003-05-31 Tom Wurgler <twurgler@goodyear.com> (tiny change)
1917 * subr.el (looking-back): New function to check for regular
1918 expression before point.
1920 2003-05-30 Stefan Monnier <monnier@cs.yale.edu>
1922 * newcomment.el (comment-empty-lines): New var.
1923 (comment-region-internal): Use it.
1925 * textmodes/tex-mode.el (latex-block-args-alist)
1926 (latex-block-body-alist): New vars.
1927 (latex-insert-block): Use them.
1928 (tex-string-prefix-p): New fun.
1929 (tex-guess-main-file): Use it to detect when the main file
1930 is in a parent directory.
1931 (tex-main-file): Try to find a main-file in parent directories.
1932 (tex-compile-default): Don't use `gv' on pdf files just because
1933 `gv' was used recently on a ps file. Remove unused arg `dir'.
1934 Reuse a previous command as-is if it applied to the same file.
1935 (tex-compile): Use the right file name when file is not in dir.
1937 * textmodes/refill.el (refill-adjust-ignorable-overlay):
1938 Don't hardcode pint-min == 1.
1939 (refill-fill-paragraph-at): Use a more robust method to detect
1940 when the paragraph is after point. Remove unused var `fill-pfx'.
1942 * xml.el (xml-parse-tag): Return (foo nil) rather than (foo nil "")
1943 for <foo/>, to make it behave like <foo></foo>.
1945 * emacs-lisp/edebug.el (edebug-storing-offsets): Move indent
1946 and debug to inside the macro.
1947 (edebug-read-storing-offsets): Simplify.
1948 (edebug-read-quote, edebug-read-function): Place the
1949 start-position correctly.
1950 (edebug-read-backquote-new): Remove.
1951 (edebug-read-backquote-level): New var to replace it.
1952 (edebug-read-backquote): Increment it.
1953 Don't store offsets one extra time.
1954 (edebug-read-comma): Decrement it. Read the comma as a plain
1955 symbol if outside of any new-style backquote.
1956 (edebug-read-list): Use edebug-read-backquote-level.
1957 Don't call edebug-read-backquote directly. This way the extra
1958 offsets store is done exactly when it's needed.
1959 (edebug-read-vector): Use push.
1960 (defmacro): Add support for the `declare' thingy.
1962 2003-05-29 Stefan Monnier <monnier@cs.yale.edu>
1964 * forms.el (forms-mode-hook): Rename from forms-mode-hooks.
1965 (forms-mode): Use add-hook rather than make-local-variable+setq.
1966 Use with-current-buffer. Run the new and the old hooks.
1967 (forms--update): Use with-current-buffer and line-end-position.
1968 (forms--goto-record): New fun.
1969 (forms-jump-record, forms-insert-record, forms-delete-record): Use it.
1970 (forms--process-format-list): Remove unused var `this-item'.
1971 (forms--intuit-from-file): Remove unused var `the-result'.
1972 (forms--trans): Remove unused var `x'.
1973 (forms--exit, forms-exit, forms-exit-no-save): Remove unused arg.
1975 * emacs-lisp/edebug.el (edebug-window-list): Use push.
1976 (edebug-macrop): Use functionp.
1977 (edebug-functionp): Remove.
1978 (edebug-get-displayed-buffer-points): Use push.
1979 (edebug-set-buffer-points): Use save-current-buffer and buffer-live-p.
1980 (edebug-list-form): Remove dead code.
1981 (backquote-form): Correctly handle `(a . ,b).
1982 (edebug-mode-map, global-edebug-map): Move init to inside the defvar.
1983 (define-derived-mode, define-minor-mode): Remove outdated spec.
1984 (save-match-data, with-output-to-string, with-current-buffer)
1985 (combine-after-change-calls, with-temp-buffer, dolist, dotimes)
1986 (unless, when): Remove specs that are now in the corresponding macro.
1988 * emacs-lisp/easy-mmode.el (define-minor-mode): Add edebug spec.
1989 Accept a :keymap argument, as you'd expect.
1991 * derived.el (define-derived-mode): Add a proper edebug declaration.
1993 2003-05-29 Luc Teirlinck <teirllm@mail.auburn.edu>
1995 * simple.el (kill-whole-line): Make it interact correctly with
1998 2003-05-29 Kenichi Handa <handa@m17n.org>
2000 * international/mule.el (ctext-non-standard-encodings-alist):
2001 Rename from non-standard-icccm-encodings-alist.
2002 (ctext-non-standard-encodings-regexp): New variable.
2003 (ctext-post-read-conversion): Full rewrite.
2004 (ctext-non-standard-designations-alist): Rename from
2005 non-standard-designations-alist.
2006 (ctext-pre-write-conversion): Full rewrite.
2008 2003-05-28 Stefan Monnier <monnier@cs.yale.edu>
2010 * info.el (Info-fontify-node): Hide \n------- rather than -------\n.
2012 * skeleton.el (skeleton-edebug-spec): First cut of an edebug spec.
2013 (define-skeleton): Use it.
2015 2003-05-28 Andreas Schwab <schwab@suse.de>
2017 * descr-text.el (describe-char): Use `char' instead of
2018 `(char-after)'. Fix display of Unicode.
2020 2003-05-28 Nick Roberts <nick@nick.uklinux.net>
2022 * gud.el (gud-gdb-goto-stackframe, gud-gdb-get-stackframe):
2023 Add server prefix to the gdb commands used by the speedbar.
2025 2003-05-28 Kai Großjohann <kai.grossjohann@gmx.net>
2027 * simple.el (kill-region): If nothing was killed, and the
2028 previous command was not a kill, break kill sequence.
2030 2003-05-28 Richard M. Stallman <rms@gnu.org>
2032 * textmodes/refill.el (refill-fill-paragraph-at):
2033 Avoid refilling the following paragraph.
2034 (refill-doit): Doc fix.
2036 * emulation/vip.el (ctl-x-map): Don't bind C-x C-i or C-x 3.
2037 (global-map): Don't bind C-z.
2038 (vip-setup): New function to rebind C-x 7 and C-z.
2040 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
2041 Undo previous change (don't check for eob). Widen at the beginning.
2043 * map-ynp.el (map-y-or-n-p): No special handling for exit-prefix.
2044 In help string, mention C-g but not ESC.
2046 * jka-compr.el (jka-compr-insert-file-contents):
2047 When REPLACE, delete the proper range of text.
2049 * info.el (Info-index): Add autoload cookie.
2051 * forms.el (forms-mode): Use write-file-functions instead
2052 of local-write-file-hooks. Use make-local-variable to make it local.
2054 * descr-text.el (describe-char-unicode-data): New dummy definition.
2055 (unicode-data): Comment out since we can't use UnicodeData.txt as is.
2056 (describe-char-unicodedata-file): Variable renamed and commented out.
2058 * faces.el (set-face-attribute): Set face-modified prop to t
2059 when we change the new-frame defaults.
2060 (face-spec-set): Set face-modified prop to nil
2061 when we change the new-frame defaults.
2063 * cus-edit.el (custom-face-state-set): Non-nil `face-modified'
2064 means face was set outside of Custom.
2066 2003-05-28 Richard M. Stallman <rms@gnu.org>
2068 * byte-run.el (with-no-warnings): New function.
2070 * emacs-lisp/bytecomp.el (byte-compile-no-warnings): New function.
2071 (with-no-warnings): Set up compile handler.
2073 * startup.el (command-line-1): Use with-no-warnings.
2075 * type-break.el (type-break-cancel-function-timers):
2076 Use with-no-warnings.
2078 2003-05-28 Luc Teirlinck <teirllm@mail.auburn.edu>
2080 * env.el (substitute-env-vars): Fix typo.
2082 2003-05-28 Walter C. Pelissero <walter@pelissero.de> (tiny change)
2084 * net/browse-url.el (browse-url-mozilla): Correct the conditionals
2085 for using ,new-window.
2087 2003-05-27 Glenn Morris <gmorris@ast.cam.ac.uk>
2089 * progmodes/sh-script.el (sh-here-document-word):
2090 Document new treatment of leading "-".
2091 (sh-maybe-here-document): Strip a leading "-" from closing
2092 heredoc delimiter, if present.
2094 * align.el (align-rules-list): Doc fix.
2096 * calendar/timeclock.el: Update copyright.
2097 (timeclock-ask-before-exiting): Put `timeclock-query-out' on
2098 `kill-emacs-query-functions' rather than `kill-emacs-hook'.
2099 (timeclock-mode-string): Doc fix.
2100 (timeclock-modeline-display): Doc fix. Use `global-mode-string'
2101 rather than `mode-line-format'.
2102 (timeclock-query-out): Doc fix.
2103 (timeclock-update-modeline): No need for `let*', so use `let'.
2104 Add some help-echo text to `timeclock-mode-string'.
2105 (timeclock-mode-string): Give it the risky-local-variable
2106 property, so that help-echo text will display.
2107 (timeclock-find-discrep): Set `accum' to 0 if
2108 `timeclock-discrepancy' is nil.
2110 2003-05-27 Stefan Monnier <monnier@cs.yale.edu>
2112 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function):
2113 Don't infinite loop at bob.
2114 (emacs-lisp-mode): Mark its main custom group to be `lisp'.
2115 (prin1-char): New fun.
2116 (eval-last-sexp-1): Use it. Use with-syntax-table as well.
2117 (eval-defun-1): Don't replace `defvar' with `defconst'.
2119 2003-05-27 Kai Großjohann <kai.grossjohann@gmx.net>
2121 * bindings.el (global-map): Bind M-S-<backspace to kill-whole-line.
2123 2003-05-26 Stefan Monnier <monnier@cs.yale.edu>
2125 * gud.el (gud-find-class): Remove unused var `pos'.
2126 (gdb-script-mode-syntax-table, gdb-script-font-lock-keywords)
2127 (gdb-script-font-lock-syntactic-keywords)
2128 (gdb-script-font-lock-syntactic-face, gdb-script-basic-indent)
2129 (gdb-script-skip-to-head, gdb-script-calculate-indentation)
2130 (gdb-script-indent-line, gdb-script-mode): New mode to edit
2131 .gdbinit-like scripts.
2133 2003-05-26 John Paul Wallington <jpw@gnu.org>
2135 * faces.el (display-supports-face-attributes-p): Doc fix.
2136 (x-create-frame-with-faces): Call `face-set-after-frame-default'.
2138 2003-05-26 Kai Großjohann <kai.grossjohann@gmx.net>
2140 * bindings.el (global-map): Don't bind S-<backspace>. Too many
2141 people hit it by mistake.
2143 2003-05-26 Andre Spiegel <spiegel@gnu.org>
2145 * vc.el (vc-delete-file): Fix free variable reference.
2146 (vc-annotate-display): Remove obsolescence declaration; it isn't
2149 2003-05-25 Kevin Ryde <user42@zip.com.au>
2151 * info-look.el (autoconf-mode setups): Recognize AH_ and AU_ entries
2152 in "(autoconf)Autoconf Macro Index". Add "(autoconf)M4 Macro Index"
2153 and "(autoconf)Autotest Macro Index". Remove duplicate copy of
2154 "(automake)Macro and Variable Index". Keep automake after all
2155 autoconf possibilities, so as to prefer those.
2157 2003-05-25 Stefan Monnier <monnier@cs.yale.edu>
2159 * skeleton.el (skeleton-internal-1): Don't loop if interactor of
2161 (skeleton-pair-default-alist): New var.
2162 (skeleton-pair-insert-maybe): Use it. Don't munge multibyte chars.
2164 2003-05-25 Nick Roberts <nick@nick.uklinux.net>
2166 * gdb-ui.el (gdb-info-breakpoints-custom, gdb-assembler-custom):
2167 Put string associated with breakpoint at start of line so that it
2169 (gdb-display-source-buffer): Display assembler during execution,
2171 (gud-menu-map): Add a toggle button to menubar for gdb-many-windows.
2172 (gdb-many-windows): Define explicitly as a function and a variable
2173 (formerly as a minor mode). These need to be global so layout can
2174 be reset from any buffer.
2175 (gdb-assembler-mode): Keep fringe outside margin as the overlay
2176 arrow is not used for assembler.
2178 2003-05-25 Tim Van Holder <tim.vanholder@anubex.com>
2180 * which-func.el (which-func-update-timer): New variable.
2181 (which-function-mode): Use it.
2183 2003-05-25 Richard M. Stallman <rms@gnu.org>
2185 * simple.el (idle-update-delay): New variable.
2187 2003-05-25 Luc Teirlinck <teirllm@mail.auburn.edu>
2189 * simple.el (forward-visible-line): Fix negative arguments.
2191 2003-05-25 Juanma Barranquero <lektu@terra.es>
2193 * skeleton.el (skeleton-pair-insert-maybe): Remove leftover
2194 reference to skeleton-abbrev-cleanup.
2196 2003-05-24 Andreas Schwab <schwab@suse.de>
2198 * files.el (insert-directory): Preserve CR in a file name.
2200 2003-05-24 Stefan Monnier <monnier@cs.yale.edu>
2202 * skeleton.el (skeleton-abbrev-cleanup, skeleton-proxy):
2203 Remove obsolete code.
2205 * term/w32-win.el (iconify-or-deiconify-frame):
2206 * term/mac-win.el (iconify-or-deiconify-frame): Move to frame.el.
2208 * term/x-win.el (iconify-or-deiconify-frame): Move to frame.el.
2209 Turn on mouse-wheel support by default.
2211 * frame.el (iconify-or-deiconify-frame): Move from term/x-win.el.
2213 2003-05-24 Kai Großjohann <kai.grossjohann@gmx.net>
2215 * net/tramp.el: Version 2.0.34 released.
2216 (tramp-handle-file-symlink-p): If target of symlink is absolute,
2217 return a Tramp filename. (Ie, return "/user@host:/target" instead
2219 (tramp-handle-file-truename): Deal with new return value from
2221 (tramp-handle-expand-file-name): Make default method explicit in
2223 (tramp-unified-filenames): Move to an earlier spot in the file.
2224 (top-level): If tramp-unified-filenames is set and we're running
2225 on XEmacs, load tramp-efs.
2226 (tramp-wait-for-shell-prompt, tramp-barf-if-no-shell-prompt):
2227 New functions, used by tramp-send-command-internal.
2228 (tramp-open-connection-setup-interactive-shell): Simplify using
2229 `tramp-send-command-internal'.
2230 (tramp-send-command-internal): New function.
2231 (tramp-methods): New entries "remsh" and "remcp" are like "rsh"
2232 and "rcp" but invoke "remsh" instead of "rsh". This is useful on
2233 Cray systems, for instance. Unify tramp-rsh-program,
2234 tramp-telnet-program, tramp-su-program into tramp-login-program.
2235 Likewise with tramp-login-args, tramp-copy-program,
2236 tramp-copy-args, tramp-copy-keep-date-arg. Users changed. New
2237 method plink1; like plink but pass "-1" to force protocol version 1.
2238 (tramp-default-method): Use plink as the default on machines where
2239 the plink program is present.
2240 (tramp-completion-file-name-handler): Add safe-magic property.
2241 (tramp-shell-prompt-pattern): Allow ANSI escapes at
2242 end of prompt. (ANSI escapes elsewhere in the prompt are
2243 recognized properly already.)
2245 2003-05-24 Michael Albinus <Michael.Albinus@alcatel.de>
2247 * net/tramp.el (tramp-handle-file-truename): `sym' shouldn't be
2249 (tramp-methods, tramp-multi-connection-function-alist):
2250 Use argument "-p Password:" for "sudo" method, because password prompt
2251 might be changed by either passprompt option in /etc/sudoers, or
2252 SUDO_PROMPT environment variable. Suggested by Peter Oliver
2253 <peter.oliver@aquila-networks.co.uk>.
2255 2003-05-23 Stefan Monnier <monnier@cs.yale.edu>
2257 * mail/supercite.el: Use `push' and replace `regi-pos' by equivalents.
2258 (sc-emacs-features): Remove. Use better tests instead.
2259 (sc-minor-mode): Use define-minor-mode.
2260 (sc-mode-string, sc-set-mode-string): Remove.
2261 Use a better modeline expression instead.
2262 (sc-completing-read, sc-read-string, sc-submatch, sc-member)
2263 (sc-string-text): Remove those compatibility functions.
2265 * pcvs.el (cvs-temp-buffer): Kill running process in displayed buffers.
2266 (cvs-make-cvs-buffer): Fix up format of the header.
2268 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
2269 Match more cases of /.../ patterns.
2271 2003-05-23 Nick Roberts <nick@nick.uklinux.net>
2273 * gdb-ui.el (gdba): Accommodate Fortran programs.
2274 (gud-gdba-command-name): Use -noasync in all cases (as Fortran
2275 seems to require it also).
2276 (gdb-source-info): Parse correctly when compilation directory
2277 specifies host also (IRIX).
2279 2003-05-23 Andre Spiegel <spiegel@gnu.org>
2281 * vc-cvs.el (vc-cvs-checkout): Don't leave the branch when
2282 REV is t. From Don Provan <dprovan@bivio.net>
2284 2003-05-23 Richard M. Stallman <rms@gnu.org>
2286 * forms.el (forms--mode-commands1): Bind \t, not `tab'.
2287 (forms--mode-commands): Don't bind \t in the maps where
2288 we call forms--mode-commands1.
2290 2003-05-23 Taro Kawagishi <tarok@acm.org>
2292 * arc-mode.el (archive-lzh-summarize): Calculate correct total
2293 header size for LZH level 1 header.
2295 2003-05-23 Richard M. Stallman <rms@gnu.org>
2297 * textmodes/paragraphs.el (repunctuate-sentences): Add doc string.
2299 2003-05-23 Daniel Ortmann <dortmann@lsil.com> (tiny change)
2301 * textmodes/paragraphs.el (repunctuate-sentences): New function.
2303 2003-05-23 Lute Kamstra <lute@gnu.org>
2305 * emacs-lisp/lisp-mnt.el: Make the description of the library more
2307 (lm-any-header): New user option.
2308 (lm-section-start): New function; rewrite of `lm-section-mark'.
2309 (lm-section-mark): Make alias of `lm-section-start'.
2310 (lm-section-end): New function.
2311 (lm-code-start): New function; rewrite of `lm-code-mark'.
2312 (lm-code-mark): Make alias of `lm-code-start'.
2313 (lm-commentary-start): New function; rewrite of `lm-commentary-mark'.
2314 (lm-commentary-mark): Make alias of `lm-commentary-start'.
2315 (lm-commentary-end): New function.
2316 (lm-history-start): New function; rewrite of `lm-history-mark'.
2317 (lm-history-mark): Make alias of `lm-history-start'.
2318 (lm-commentary): Use `lm-commentary-end' to find the end of the
2321 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
2322 Use `lm-commentary-end' to find the end of the commentary section.
2324 2003-05-22 Stefan Monnier <monnier@cs.yale.edu>
2326 * skeleton.el (define-skeleton): Use the `no-self-insert' property.
2327 (skeleton-proxy-new): Fix docstring. Remove broken interactive spec.
2328 Rely on use `no-self-insert' rather than `skeleton-abbrev-cleanup'.
2329 (skeleton-internal-1): Add a `recursive' argument.
2330 (skeleton-internal-list): Use it to propagate `recursive'.
2332 2003-05-22 Ken Stevens <kstevens@ichips.intel.com>
2334 * ispell.el: Sync to version 3.6.
2335 Summary: MIME support added for e-mail processing that
2336 skips encoded regions. Allow user to skip saving Fcc messages with
2337 large attachments. Fixed region skipping bug with multi-line
2338 comments - e.g. tex $ regions spanning multiple lines.
2339 Added support for PostScript and uuencoded regions.
2340 Redundant dictionary file names purged.
2341 Dictionary definition field name changed from "Character Set"
2342 to "Coding System". Fixed bug in reloading dictionaries.
2343 Modified headers to reflect new version. XEmacs menu now adds
2345 (ispell-check-version): No longer an aliased function.
2346 Returns library path if not called interactively.
2347 Variable `temporary-file-directory' protected if not loaded.
2348 (check-ispell-version): Now the alias for `ispell-check-version'.
2349 (ispell-message-fcc-skip): New variable that determines if and when
2350 to query about saving Fcc copy of message if an attachment is large.
2351 (ispell-skip-html): Declare buffer-local.
2352 (ispell-local-dictionary-alist): Docstring expanded.
2353 Tag name changed from "Character Set" to "Coding System".
2354 (ispell-dictionary-alist-1): Remove redundant command-line option to
2355 load brasileiro, british, and castellano dictionary files.
2356 (ispell-dictionary-alist-2): Remove redundant command-line option to
2357 load czech dictionary file.
2358 (ispell-dictionary-alist-3): Move francais-tex here.
2359 (ispell-dictionary-alist-4): Remove german and german8 dictionaries.
2360 The deutsch ones are the correct definitions. `nederlands'
2361 and `nederlands8' dictionaries moved here.
2362 (ispell-dictionary-alist-5): `polish' and `portugues' dictionaries
2363 moved here. Removed redundant command-line option to `norsk'
2365 (ispell-dictionary-alist-6): Remove redundant command-line option to
2366 load `russian' and `slovak' dictionary files.
2367 (ispell-dictionary-alist): Tag name changed from "Character Set" to
2369 (ispell-version): Update to 3.6.
2370 (ispell-library-directory): Calls non-deprecated function.
2371 (ispell-valid-dictionary-list): New function returning all valid
2372 dictionaries on machine.
2373 (ispell-checking-message): Documentation string improved.
2374 (ispell-skip-region-alist): Add uuencoded and PostScript region
2375 skipping. Improve http/e-mail/file regexp to not match `/.\w'.
2376 (ispell-html-skip-alists): New variable for html region support.
2377 (ispell-send-string): Remove redundant xemacs check.
2378 (ispell-word): Fix spelling error in documentation string, add
2379 extent information to support highlighting in ispell-minor-mode.
2380 (ispell-command-loop): Disable horizontal scrollbar in XEmacs
2382 (ispell-show-choices): Directly select `choices-window'.
2383 (ispell-help): Use default buffer size for electric help.
2384 (ispell-adjusted-window-height): Correct for XEmacs detection.
2385 (ispell-start-process): Don't double specify dictionary file name.
2386 (ispell-init-process): Set `ispell-library-path' each call.
2387 (ispell-change-dictionary): Now only completes valid dictionaries.
2388 (ispell-region): Add support for MIME region skipping and Fcc
2389 message query for large attachments.
2390 (ispell-begin-skip-region-regexp): Add documentation string.
2391 Add message support and clean up code for generic and html regions.
2392 (ispell-begin-skip-region): Function is now requires alist argument.
2393 (ispell-begin-tex-skip-regexp): Add comments and support
2394 improved html and message regions.
2395 (ispell-skip-region-list): New function for MIME and region skipping.
2396 (ispell-tex-arg-end): Add documentation string.
2397 (ispell-ignore-fcc): New function to query saving Fcc message.
2398 (ispell-skip-region): Calculate alist for key match dynamically,
2399 html skipping pushed to alists.
2400 (ispell-get-line): Add support for multi-line comment regions.
2401 (ispell): Check that variables to continue spelling are bound.
2402 (ispell-message-text-end): PostScript and uuencoded regions now
2403 supported as MIME regions, rather than as end-of-message region.
2404 (ispell-mime-multipartp): New function supporting MIME.
2405 (ispell-mime-skip-part): New function supporting MIME.
2406 (ispell-message): Add MIME support.
2407 (ispell-buffer-local-parsing): Variable `ispell-skip-html' now local.
2408 (ispell-buffer-local-dict): Fix bug for detecting and reloading
2411 2003-05-22 Stephen J. Turnbull <stephen@xemacs.org>
2413 * subr.el (split-string): Implement specification that splitting on
2414 explicit separators retains null fields. Add new argument
2415 OMIT-NULLS. Special-case (split-string "a string").
2417 2003-05-22 Stefan Monnier <monnier@cs.yale.edu>
2419 * international/mule-cmds.el (select-safe-coding-system):
2420 Try default-buffer-file-coding-system too for automatic selection.
2422 2003-05-21 Stefan Monnier <monnier@cs.yale.edu>
2424 * simple.el (ctl-x-map): Remove the C-x U binding added recently.
2426 2003-05-21 Dave Love <fx@gnu.org>
2428 * descr-text.el (unicodedata-file): New.
2429 (unicode-data): New (adapted from Unicode branch).
2430 (describe-char): Use it. Print char's Unicode code point differently.
2431 Avoid elements with null cadr when formatting list. Clarify error
2432 message when used in Help buffer.
2433 (button): Require when compiling.
2434 (describe-char-after): Alias for obsolete command.
2436 2003-05-21 Nick Roberts <nick@nick.uklinux.net>
2438 * gdb-ui.el (gud-gdba-command-name): Use -noasync option for Gdb
2440 (gdb-display-end): Only make buffer writable temporarily.
2441 Move "View" submenu up one level.
2443 2003-05-21 Nick Roberts <nick@nick.uklinux.net>
2445 * gdb-ui.el (gdb-view-source, gdb-selected-view): New variables.
2446 (gdba): Inhibit DOS window in MS Windows.
2447 (gdb-inferior-io-mode): Use hexl instead of cat.
2448 (gdb-info-breakpoints-custom, gdb-assembler-custom, gdb-reset):
2449 Use text in margin for MS Windows as there is no image support.
2450 (gdb-restore-windows, gdb-setup-windows): Restore/start with
2451 assembler view if appropriate.
2452 (gdb-assembler-custom): Assembler code should display at point.
2453 Parse address correctly.
2454 (gdb-frame-handler): Accommodate selection of display of source
2456 Add radio buttons to select display of source or assembler.
2458 2003-05-20 Lars Hansen <larsh@math.ku.dk>
2460 * desktop.el (desktop-save): Ensure parameter is expanded and ends
2461 with a slash before assigning it to desktop-dirname and
2463 (desktop-read): Put buffers existing prior to evaluating the
2464 desktop (and not reused) at the end of the buffer list.
2465 (desktop-create-buffer): Don't update desktop-first-buffer for old
2468 2003-05-19 John Paul Wallington <jpw@gnu.org>
2470 * xml.el (xml-name-regexp): Wrap in `eval-and-compile'.
2472 2003-05-19 Dave Love <fx@gnu.org>
2474 * xml.el: Doc fixes.
2475 (xml-parse-file, xml-parse-region): Autoload.
2476 (xml-syntax-table, xml-name-regexp): New.
2477 (xml-parse-region): Narrow to region, set syntax-table and
2478 case-fold-search. Reject fewer valid documents.
2479 (xml-parse-tag): Remove arg END. Callers changed.
2480 (xml-parse-tag): Use skip-syntax-forward. Use PARSE-DTD arg
2481 properly. Don't use buffer-substring-no-properties. Don't bind
2482 case-fold-search. Fix syntax for empty elements. Hoist consing
2483 of end-of-tag regexp out of loop.
2484 (xml-parse-attlist): Remove arg. Callers changed.
2485 Use skip-syntax-forward, replace-regexp-in-string, forward-sexp.
2486 Allow non-ASCII names.
2487 (xml-skip-dtd): Remove arg. Callers changed. Change matching code.
2488 (xml-parse-dtd): Grok external DTDs. Allow non-ASCII.
2489 Don't use match-string-no-properties.
2490 (xml-ucs-to-string): Delete.
2491 (xml-substitute-entity): New.
2492 (xml-substitute-special): Use it.
2493 (xml-debug-print-internal): Simplify insertions.
2494 (xml-parse-file): Avoid finding file in xml-mode.
2496 2003-05-19 Kai Großjohann <kai.grossjohann@gmx.net>
2498 * simple.el (kill-whole-line): New function.
2499 * bindings.el (global-map): Bind it.
2501 2003-05-19 Richard M. Stallman <rms@gnu.org>
2503 * net/goto-addr.el (goto-address-fontify-maximum-size):
2504 Value t means no limit.
2505 (goto-address-fontify): Implement that feature.
2507 * emacs-lisp/find-func.el (find-function-on-key):
2508 Move the call to find-function-other-window outside
2511 * find-file.el (ff-special-constructs): Delete the Ada entry.
2513 * faces.el (x-create-frame-with-faces):
2514 Don't call face-set-after-frame-default.
2515 (face-set-after-frame-default): Copy attrs of global `default'
2516 face to FRAME's `default' face.
2518 2003-05-19 Joe Kelsey <joek@flyingcroc.net>
2520 * skeleton.el (skeleton-internal-1): Allow - as alternate
2521 interesting point marker and revert @ to just setting
2524 2003-05-18 Stefan Monnier <monnier@cs.yale.edu>
2526 * emacs-lisp/lisp.el (beginning-of-defun-raw): Use shy-group.
2528 * progmodes/executable.el (executable-set-magic): Remove unused
2529 vars `point' and `buffer-modified-p'.
2531 * mail/sendmail.el (mail-mode): Don't bother setting paragraph-start.
2533 * mail/mail-extr.el: Use explicit coding tag.
2535 * international/mule.el (sgml-xml-auto-coding-function)
2536 (sgml-html-meta-auto-coding-function): Don't assume point-min == 1.
2538 * language/china-util.el (hz-set-msb-table): Build when compiling.
2539 (big5-to-cns): Pre-build the alist when compiling.
2541 * language/ind-util.el (indian-regexp-of-hashtbl-keys): Don't bother
2542 sorting the argument to regexp-opt.
2543 (indian--puthash-char): Use dolist rather than mapc.
2545 2003-05-18 Nick Roberts <nick@nick.uklinux.net>
2547 * gdb-ui.el (put-arrow): Rename gdb-put-arrow and simplify.
2548 (put-string): Rename gdb-put-string and simplify.
2549 (remove-strings): Rename gdb-remove-strings.
2550 (remove-arrow): Rename gdb-remove-arrow.
2551 (gdb-assembler-custom): Try to get line marker (arrow) to display
2552 in window (revisited).
2553 Use with-current-buffer where possible.
2555 2003-05-18 John Paul Wallington <jpw@gnu.org>
2557 * ibuffer.el (ibuffer-display-summary): New customizable variable.
2558 (ibuffer-update-title-and-summary): Respect it.
2560 2003-05-18 Michael Kifer <kifer@cs.stonybrook.edu>
2562 * ediff-mult.el (ediff-default-filtering-regexp): New variable.
2564 * ediff-util.el (ediff-maybe-save-and-delete-merge): Change in a
2567 * ediff.el (ediff-directories, ediff-directory-revisions)
2568 (ediff-directories3, ediff-merge-directories)
2569 (ediff-merge-directories-with-ancestor, ediff-merge-directory-revisions)
2570 (ediff-merge-directory-revisions-with-ancestor): Make use of the new
2571 ediff-default-filtering-regexp variable.
2573 2003-05-18 Richard M. Stallman <rms@gnu.org>
2575 * which-func.el (which-func-current, which-func-format):
2576 Preload the risky-local-variable properties for them.
2578 * subr.el (prepare-change-group): Reinstate BUFFER arg; make it work.
2580 2003-05-18 Nick Roberts <nick@nick.uklinux.net>
2582 * gud.el (gdb): Define gud-nexti.
2583 (gud-menu-map): Add gud-nexti to map.
2584 (gud-tool-bar-map): Add gud-nexti and gud-stepi to toolbar.
2586 * toolbar/gud-stepi.xpm, toolbar/gud-stepi.pbm,
2587 toolbar/gud-nexti.xpm, toolbar/gud-nexti.pbm: New icons for debugger.
2589 2003-05-17 John Paul Wallington <jpw@gnu.org>
2591 * international/ja-dic-cnv.el (skkdic-okuri-nasi-entries)
2592 (skkdic-okuri-nasi-entries-count): Use defvar for non-constants.
2594 * register.el (number-to-register): Use `string-to-number' instead
2597 2003-05-17 Stefan Monnier <monnier@cs.yale.edu>
2599 * log-edit.el: Don't require vc.el anymore.
2600 (log-edit-mode-map): Fold vc-log-mode-map into it.
2601 (vc-log-mode-map): Redefine as an alias.
2602 (vc-previous-comment): Don't widen.
2603 (vc-comment-to-change-log): Don't redundantly set paragraph-separate.
2604 Don't require `add-log' since it's already required at toplevel.
2606 * vc.el (vc-log-mode-map, vc-maximum-comment-ring-size)
2607 (vc-comment-ring, vc-comment-ring-index, vc-last-comment-match):
2608 Move vars to log-edit.el.
2609 (vc-new-comment-index, vc-previous-comment, vc-next-comment)
2610 (vc-comment-search-reverse, vc-comment-search-forward)
2611 (vc-comment-to-change-log): Move funs to log-edit.el.
2612 (vc-clear-context): Don't empty the comment-ring.
2613 (vc-finish-logentry): Don't add the comment onto the comment-ring.
2615 * log-edit.el (vc-log-mode-map, vc-maximum-comment-ring-size)
2616 (vc-comment-ring, vc-comment-ring-index, vc-last-comment-match):
2617 Move vars from vc.el.
2618 (vc-new-comment-index, vc-previous-comment, vc-next-comment)
2619 (vc-comment-search-reverse, vc-comment-search-forward)
2620 (vc-comment-to-change-log): Move funs from vc.el.
2621 (log-edit-show-files): Remove unused var `editbuf'.
2623 * progmodes/tcl.el (tcl-indent-exp): Remove dead code.
2624 (tcl-tab-always-indent): Default to tab-always-indent.
2626 * progmodes/perl-mode.el (perl-end-of-function): Remove unused var.
2627 (perl-tab-always-indent): Default to tab-always-indent.
2629 * which-func.el (which-func-format): Make it risky-local-variable.
2630 (which-func-table): New var.
2631 (which-func-current): Make it into a constant modeline spec.
2632 (which-func-previous): Remove.
2633 (which-func-update): Only update the selected window.
2634 (which-func-update-1): Use the new var to allow the current
2635 function to be different for a buffer shown in two windows.
2637 * subr.el (with-selected-window): New macro.
2638 (dolist, dotimes, with-current-buffer): Use backquotes.
2639 (when, unless, save-match-data, combine-after-change-calls)
2640 (with-output-to-string, with-temp-buffer): Add `declare' info.
2641 (listify-key-sequence): Don't allocate unnecessarily.
2642 (read-quoted-char): Allow up to base 36.
2643 (prepare-change-group): Remove unimplemented argument.
2644 (macro-declaration-function): Avoid `dolist' and `cadr'.
2646 * wid-edit.el (pp-to-string, Info-goto-node): Don't autoload.
2647 (widget-choose, widget-map-buttons): Use with-current-buffer.
2648 (widget-field-add-space): Change to nil (and to defconst).
2649 (widget-info-link-action): Use `info'.
2651 2003-05-17 Nick Roberts <nick@nick.uklinux.net>
2653 * gdb-ui.el (gdb-info-frames-custom): Reverse contrast of face for
2655 (gdb-annotation-rules): Stop using frames-invalid and
2656 breakpoints-invalid annotations. Update after post-prompt instead.
2657 (gdb-post-prompt): Update frames and breakpoints here.
2658 (gdb-invalidate-frame-and-assembler)
2659 (gdb-invalidate-breakpoints-and-assembler): Remove.
2660 (gdb-current-address): Remove.
2661 (gdb-previous-address): New variable.
2662 (gud-until): Extend to work in Assembler buffer.
2663 (gdb-append-to-inferior-io): Select IO buffer when there is output.
2664 (gdb-assembler-custom): Try to get line marker (arrow) to display
2665 in window. Correct parsing for OS dependent output syntax of Gdb
2667 (gdb-frame-handler): Correct parsing for OS dependent output
2668 syntax of Gdb command, frame.
2669 (gdb-invalidate-assembler): Update assembler buffer correctly when
2670 frame changes (revisited).
2672 2003-05-16 Stefan Monnier <monnier@cs.yale.edu>
2674 * imenu.el (imenu--split-menu): Remove unused var `count'.
2675 Don't copy the sequence since we're already modifying it elsewhere.
2676 (imenu--create-keymap): Rename from imenu--create-keymap-1.
2677 Add optional `cmd' argument. Remove unused var `counter'.
2678 (imenu-update-menubar): Use the new arg to keep the old behavior.
2679 (imenu--mouse-menu): Don't use the arg, to recover the lost behavior.
2681 2003-05-16 Lute Kamstra <lute@gnu.org>
2683 * hl-line.el (hl-line-highlight, global-hl-line-highlight):
2684 Use `line-beginning-position' to determine the beginning of the next
2687 2003-05-16 Kenichi Handa <handa@m17n.org>
2689 * international/mule-cmds.el (mule-menu-keymap): Enable the menu
2690 set-various-coding-system when
2691 default-enable-multibyte-characters is non-nil.
2693 2003-05-15 Stefan Monnier <monnier@cs.yale.edu>
2695 * emacs-lisp/autoload.el (make-autoload): Add arglist for
2696 define-derived-mode.
2698 2003-05-15 Lute Kamstra <lute@gnu.org>
2700 * hl-line.el: Rewrite the local minor mode so that it can be
2701 sticky as well and made sticky the default. Reimplement the
2702 global minor mode. Update the commentary section to document
2704 (hl-line-sticky-flag): New user option.
2705 (hl-line-overlay): Make it buffer-local and give it a docstring.
2706 (global-hl-line-overlay): New variable.
2707 (hl-line-mode): Rewrite to use `hl-line-sticky-flag'.
2708 (hl-line-highlight): Rewrite to use `hl-line-sticky-flag'.
2709 (hl-line-unhighlight): Update docstring.
2710 (global-hl-line-mode): Implement directly so that is does not
2711 depend on `hl-line-mode' any more.
2712 (global-hl-line-highlight, global-hl-line-unhighlight): New functions.
2714 2003-05-15 Kenichi Handa <handa@m17n.org>
2716 * international/code-pages.el (cyrillic-koi8-t): Alias of koi8-t.
2718 2003-05-15 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2720 * ps-print.el: Avoid unnecessary calls to funs in header and footer
2721 variables. Reported by Greg Hill <ghill@synergymicro.com>.
2722 (ps-print-version): New version number (6.6.1).
2723 (ps-begin-page): Code fix.
2724 (ps-generate-string-list, ps-header-footer-string): New funs.
2725 (ps-lh-cache, ps-rh-cache, ps-lf-cache, ps-rf-cache): New vars.
2727 * ps-mule.el (ps-mule-header-string-charsets):
2728 Call ps-header-footer-string to avoid unnecessary calls to functions
2729 in header and footer variables.
2731 2003-05-15 John Paul Wallington <jpw@gnu.org>
2733 * mail/rmail.el (rmail-ignored-headers): Ignore Face: header.
2735 2003-05-14 Stefan Monnier <monnier@cs.yale.edu>
2737 * textmodes/tex-mode.el (tex-compile-history, tex-input-files-re)
2738 (tex-use-reftex, tex-compile-commands): New vars.
2739 (tex-summarize-command, tex-uptodate-p, tex-executable-exists-p)
2740 (tex-command-executable, tex-command-active-p, tex-compile-default)
2742 (tex-compile): New command.
2743 (tex-mode-map): Bind it to C-c C-c.
2745 * vc-svn.el (completion-ignored-extensions): Add .svn.
2746 (vc-svn-delete-file): New function.
2748 * pcvs.el (cvs-append-to-ignore): New arg `old-dir'.
2749 (cvs-mode-ignore): Use it.
2751 * pcvs-parse.el (cvs-parse-table): Remove unused var `type'.
2752 Look up `.cvsignore' to see what to do with `new-dir' messages.
2753 (cvs-parse-merge): Remove unused var `handled'.
2755 2003-05-14 Christoph Wedler <christoph.wedler@sap.com>
2757 * format.el (format-annotate-function): Copy coding system into the
2760 2003-05-14 John Paul Wallington <jpw@gnu.org>
2762 * ls-lisp.el (insert-directory): Discard --dired switch when
2763 `ls-lisp-use-insert-directory-program' is nil.
2765 2003-05-13 Stefan Monnier <monnier@cs.yale.edu>
2767 * textmodes/ispell.el (xemacsp): Remove. Use (featurep 'xemacs).
2768 (ispell-graphic-p): Inline and then remove.
2769 (toplevel): Get rid of unnecessary loop.
2770 (ispell-parse-output, ispell-complete-word): Replace (substring s 0 1)
2771 with a call to aref.
2772 (ispell-get-line): Remove unused arg `reg-end'.
2773 (ispell-region): Update corresponding call.
2775 * progmodes/cpp.el (cpp-make-overlay-hidden): Don't make intangible.
2777 * progmodes/compile.el (compile-internal): Use with-current-buffer.
2778 (compilation-set-window-height): Use save-selected-window.
2780 * progmodes/ada-xref.el (ada-xref-update-project-menu): Use easymenu.
2781 (ada-goto-declaration-other-frame): Remove unused arg other-frame.
2782 (ada-gdb-application): Remove unused vars comint-exec, in-post-mode,
2783 and gud-gdb-massage-args.
2785 * progmodes/cc-langs.el (c-lang-defvar-init-form-tail):
2786 This is actually not a constant.
2788 * progmodes/autoconf.el (autoconf-current-defun-function):
2789 Copy the syntax table before modifying it.
2791 * progmodes/ada-mode.el (ada-in-comment-p, ada-in-string-p)
2792 (ada-in-string-or-comment-p): Use line-beginning-position.
2794 * textmodes/reftex.el (reftex-select-with-char): Don't assume
2795 that point-min == 1.
2797 * textmodes/reftex-toc.el (reftex-toc-visit-location):
2798 Don't switch the current window if the new buffer is in another.
2799 (reftex-toc): Don't assume that point-min == 1.
2801 * textmodes/reftex-parse.el (reftex-what-macro): Don't assume
2802 that point-min == 1.
2804 * textmodes/reftex-cite.el (reftex-extract-bib-entries)
2805 (reftex-extract-bib-entries-from-thebibliography): New arg re-list.
2806 (reftex-extract-bib-entries): Use ^ rather than \(\`\|[\n\r]\).
2807 Use member-ignore-case. Don't add unnecessary trailing \n.
2808 (reftex-offer-bib-menu): Consolidate duplicated code from
2809 reftex-extract-bib-entries and
2810 reftex-extract-bib-entries-from-thebibliography.
2812 * simple.el (back-to-indentation): Simplify.
2813 (undo-equiv-table, undo-in-region, undo-no-redo): New vars.
2814 (undo): Use them to implement the no-redo form of undo.
2815 (undo-only): New fun.
2816 (shell-command): Don't require `shell' since shell-mode is autoloaded.
2817 (insert-buffer): Simplify.
2818 (completion-setup-function): Use minibufferp.
2819 (event-apply-alt-modifier, event-apply-super-modifier)
2820 (event-apply-hyper-modifier, event-apply-shift-modifier)
2821 (event-apply-control-modifier, event-apply-meta-modifier):
2822 Fix docstring to show the proper key sequence.
2824 * uniquify.el (uniquify-after-kill-buffer-p): Set default to t.
2825 (uniquify-ignore-buffers-re): Revert to nil now that uniquify
2826 is more careful about preserving buffer names.
2828 * menu-bar.el (menu-bar-options-menu) <cua-mode>:
2829 Use menu-bar-make-mm-toggle.
2831 * files.el (file-relative-name): Remove dead code.
2832 Make sure \n in a filename does not confuse us.
2834 * help-fns.el (describe-variable): Mention permanent local status.
2836 * comint.el (comint-carriage-motion, comint-output-filter):
2837 Bind inhibit-read-only rather than buffer-read-only.
2838 (comint-truncate-buffer): Bind inhibit-read-only.
2840 * pcvs.el (cvs-make-cvs-buffer): Add the tag info.
2841 (cvs-mode): Prevent pilot-error.
2843 * vc-mcvs.el (vc-mcvs-registered, vc-mcvs-root): Check the output
2844 of file-name-directory for nil.
2846 2003-05-13 Simon Josefsson <jas@extundo.com>
2848 * mail/smtpmail.el (smtpmail-open-stream): Don't hard code
2851 2003-05-13 Rajesh Vaidheeswarran <rv@gnu.org>
2853 * whitespace.el (whitespace-global-mode): Add :link entry
2854 to the commentary section in whitespace.el
2856 2003-05-13 Nick Roberts <nick@nick.uklinux.net>
2858 * gdb-ui.el (gdb-invalidate-assembler): Update assembler buffer
2859 correctly when frame changes.
2860 (gdb-info-threads-custom, gdb-threads-buffer-name)
2861 (gdb-display-threads-buffer, gdb-frame-threads-buffer)
2862 (gdb-threads-mode-map, gdb-threads-mode, gdb-get-thread-number)
2863 (gdb-threads-select, gdb-threads-mouse-select): New functions and
2864 variable for a buffer that provides a selectable threads list.
2866 2003-05-12 Stefan Monnier <monnier@cs.yale.edu>
2868 * pcvs-parse.el (cvs-parse-table): `New directory' messages include
2871 * pcvs.el (cvs-minor-current-files): Move before first use.
2872 (defun-cvs-mode): Remove unused var `restdoc'.
2873 (cvs-edit-log-revision, ediff-after-quit-hook-internal): Declare.
2874 (cvs-mode-diff-backup): Remove unused var `filter'.
2875 (cvs-mode-run): Remove unused var `cvs-buf'.
2876 (cvs-mode-do): Remove unused arg `parse'.
2877 (cvs-retrieve-revision): Make sure HEAD gets the head of the branch.
2879 * textmodes/sgml-mode.el (sgml-namespace-re): New const.
2880 (sgml-namespace-face): New face.
2881 (sgml-font-lock-keywords-1): Use them.
2883 2003-05-11 Kevin Ryde <user42@zip.com.au>
2885 * info-look.el (info-lookup-make-completions): Allow colons in index
2886 entries by looking for ": " to terminate, as per latest info.el.
2888 2003-05-11 Stefan Monnier <monnier@cs.yale.edu>
2890 * vc-mcvs.el (vc-mcvs-command): Filter output of `status'.
2891 (vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff):
2892 Change dir so that the filtered output of `mcvs makes sense.
2893 (vc-mcvs-mode-line-string): Handle the case where CVS is desync'd.
2894 (vc-mcvs-diff-tree): Don't bother with the local-diff code.
2895 (vc-mcvs-create-snapshot): Use `branch' and `switch'.
2897 2003-05-10 Stefan Monnier <monnier@cs.yale.edu>
2899 * newcomment.el (comment-indent): Try to align to adjacent comments.
2900 (comment-with-narrowing): Actually use the arguments.
2901 (comment-valid-prefix-p): Rename from comment-valid-prefix
2902 and fix to actually use its argument.
2904 * tex-mode.el (tex-mode-syntax-table): ~ is not whitespace.
2905 (tex-guess-mode): Add `renewcommand'.
2906 (tex-mode): Move the autoload to get the correct docstring and usage.
2908 * uniquify.el (uniquify-rationalize-file-buffer-names):
2909 Refresh the dirname in the case that rename-buffer was skipped.
2910 (uniquify-buffer-file-name): Return a dirname with no trailing slash.
2912 * mail/smtpmail.el (smtpmail-send-queued-mail): Use point-at-bol
2913 instead of forward-line.
2915 2003-05-10 Oliver Scholz <alkibiades@gmx.de>
2917 * startup.el (fancy-splash-default-action): Fix docstring.
2919 2003-05-09 Sam Steingold <sds@gnu.org>
2921 * pcvs.el (cvs-mode-find-file): Fix the last patch's logic.
2923 2003-05-09 Stefan Monnier <monnier@cs.yale.edu>
2925 * newcomment.el (comment-indent): Be more careful when inserting
2926 the space, and insert it before setting `begpos'.
2928 * vc.el: New backend functions `delete-file' and `repository-hostname'.
2929 (vc-stay-local): New var. Mostly taken from vc-cvs-stay-local.
2930 (vc-stay-local-p): New fun. Adapted from vc-cvs-stay-local-p.
2931 (vc-diff-switches-list): Revert to the Emacs-21.[123] semantics.
2933 (vc-delete-file): New command.
2934 (vc-default-rename-file): New function.
2935 (vc-rename-file): Use it.
2936 Be careful to disallow renaming if the file is locked or out-of-date.
2937 (vc-ensure-vc-buffer, vc-next-action-on-file, vc-insert-headers)
2938 (vc-cancel-version, vc-annotate): Use buffer-file-name variable.
2940 * vc-mcvs.el (vc-mcvs-stay-local): Remove unused var.
2941 (vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff)
2942 (vc-mcvs-diff-tree, vc-mcvs-annotate-command)
2943 (vc-mcvs-make-version-backups-p): Use vc-stay-local-p.
2944 (vc-mcvs-checkin): Disallow commits to a numbered rev.
2945 (vc-mcvs-repository-hostname): New function.
2946 (vc-mcvs-stay-local-p): Remove.
2948 * vc-cvs.el (vc-cvs-mode-line-string): Use vc-default-mode-line-string.
2949 (vc-cvs-delete-file, vc-cvs-rename-file): New functions.
2951 * vc-svn.el (vc-svn-rename-file): New fun.
2952 (vc-svn-diff): Correctly check svn's return status.
2953 (vc-svn-state, vc-svn-dir-state, vc-svn-print-log, vc-svn-diff)
2954 (vc-svn-diff-tree): Use vc-stay-local-p.
2955 (vc-svn-register-switches, vc-svn-diff-switches, vc-svn-header)
2956 (vc-svn-use-edit): Fix the :version property.
2957 (vc-svn-stay-local): Remove unused var.
2958 (vc-svn-mode-line-string): Remove, use the default instead.
2959 (vc-svn-repository-hostname): New fun taken from vc-svn-stay-local-p.
2960 (vc-svn-stay-local-p): Remove.
2962 * uniquify.el: Use the original buffer-name as `base' in place of the
2963 nondirectory part of the file name.
2964 (uniquify-rationalize-file-buffer-names):
2965 Split the `newbuffile' arg into `base' and `dirname'.
2966 Reuse old uniquify-items to avoid recomputing their base&dirname.
2967 (uniquify-buffer-file-name): Only return the directory part.
2968 (uniquify-rerationalize-w/o-cb): Don't bother resetting proposed names.
2969 (rename-buffer): Use the `newname' arg as base.
2970 (create-file-buffer): Split the file name into base and dirname.
2972 2003-05-09 Jesper Harder <harder@ifa.au.dk>
2974 * mail/smtpmail.el (smtpmail-send-queued-mail): Don't use kill-line.
2976 2003-05-08 Stefan Monnier <monnier@cs.yale.edu>
2978 * uniquify.el (uniquify-after-kill-buffer-p): Fix misleading docstring.
2979 (uniquify-make-item): Make `proposed' optional.
2980 (uniquify-rationalize-file-buffer-names): Don't compute the
2981 initial proposed name.
2982 (uniquify-buffer-file-name): Remove dead code.
2983 (uniquify-strip-common-suffix): New var.
2984 (uniquify-rationalize): Always recompute initial proposed name.
2985 Strip common suffix if requested.
2987 * vc-rcs.el (vc-rcs-register, vc-rcs-checkin, vc-rcs-checkout)
2988 (vc-rcs-find-version, vc-rcs-diff): Use vc-switches.
2990 * vc-sccs.el (vc-sccs-register, vc-sccs-find-version)
2991 (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-diff): Use vc-switches.
2992 (vc-sccs-register): Remove unused var `|'.
2994 * vc-mcvs.el (vc-mcvs-read): Don't require `file' to exist.
2995 (vc-mcvs-diff): Don't return 0 for newly added empty files.
2996 (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-find-version)
2997 (vc-mcvs-checkout, vc-mcvs-diff, vc-mcvs-diff-tree): Use vc-switches.
2999 * vc-cvs.el (vc-cvs-dired-state-info): Use `added' for added files and
3000 don't use `concat' unnecessarily. Remove impossible cases.
3001 (vc-cvs-diff): Don't return 0 for newly added empty files.
3002 (vc-cvs-stay-local-p): Simplify.
3003 (vc-cvs-register, vc-cvs-checkin, vc-cvs-find-version, vc-cvs-diff)
3004 (vc-cvs-diff-tree, vc-cvs-checkout): Use vc-switches.
3006 * vc-svn.el (vc-svn-dired-state-info): Use `added' for added files and
3007 don't use `concat' unnecessarily. Remove impossible cases.
3008 (vc-svn-register, vc-svn-find-version, vc-svn-diff-tree):
3010 (vc-svn-checkin): Use vc-switches. Fix up regexp.
3011 (vc-svn-diff): Use vc-switches.
3012 Don't return 0 for newly added empty files.
3013 Don't use svn's return status.
3014 (vc-svn-parse-status): Recognize copied files as well.
3015 Use the last-modified revision for workfile-version.
3017 * vc-hooks.el (vc-default-workfile-unchanged-p): Pass nil
3018 rather than (vc-workfile-version file) to diff.
3020 * vc.el (with-vc-properties, with-vc-file, edit-vc-file):
3021 Add `declare's for debugging and indentation.
3022 (vc-do-command): Use `remq'.
3023 (vc-buffer-context): Remove unused var `curbuf'.
3024 (vc-next-action-dired): Remove unused var `dired-dir'.
3025 (vc-switches): New fun.
3026 (vc-diff-switches-list): Use it.
3027 (vc-dired-hook): Remove unused var `cvs-dir'.
3028 (vc-dired-purge): Remove unused var `subdir'.
3029 (vc-cancel-version): Remove unused var `config'.
3030 (vc-rename-master): Use dolist iso mapcar.
3031 (vc-rename-file): Remove redundant tests.
3032 Clear the properties of the old file name.
3033 (vc-annotate): Pass the complete filename to `annotate-command'.
3034 (vc-annotate-lines): Remove unused var `overlay'.
3036 2003-05-08 Glenn Morris <gmorris@ast.cam.ac.uk>
3038 * calendar/diary-lib.el (diary-pull-attrs): Make `ret-attr',
3040 (list-diary-entries): Make `temp' local.
3041 (fancy-diary-display): Make `marks', `temp-face', `faceinfo' local.
3042 (diary-mail-entries): There is no fancy-diary-buffer if there are
3043 no diary entries. Use call-interactively.
3044 (mark-diary-entries): Make `temp' local.
3045 (mark-sexp-diary-entries): Make `marks' local, remove `temp'.
3046 (list-sexp-diary-entries): Make `temp' local.
3047 (add-to-diary-list): Make `prefix' local.
3049 2003-05-08 Dave Love <fx@gnu.org>
3051 * international/utf-7.el: New file.
3053 2003-05-07 Francis J. Wright <F.J.Wright@qmul.ac.uk>
3055 * files.el (insert-file-contents-literally): Allow it to be called
3056 within a magic file name handler.
3058 2003-05-07 Stefan Monnier <monnier@cs.yale.edu>
3060 * uniquify.el (uniquify-rationalize-file-buffer-names):
3061 Don't uniquify if there is no filename.
3063 * vc-hooks.el: Use buffer-file-name variable rather than function.
3064 (vc-handled-backends): Add SVN and MCVS.
3065 (vc-mode-line): Call vc-backend only once.
3066 (find-file-hook, find-file-not-found-hook): Use the new
3067 names rather than ...-hooks.
3069 * uniquify.el (uniquify-item, uniquify-get-proposed-name)
3070 (uniquify-rationalize-conflicting-sublist): Rename filename -> dirname.
3071 (uniquify-rationalize): New fun. Set uniquify-managed to the fix-list.
3072 (uniquify-rationalize-file-buffer-names): Use it and make the args
3073 non-optional (i.e. don't support "re-rationalize all" any more).
3074 (uniquify-rerationalize-w/o-cb): New fun.
3075 (uniquify-maybe-rerationalize-w/o-cb): Use it to rerationalize
3076 immediately and only the relevant buffers.
3077 Merged from uniquify-delay-rationalize-file-buffer-names and
3078 uniquify-delayed-rationalize-file-buffer-names.
3079 (kill-buffer-hook, rename-buffer): Use it.
3081 2003-05-06 Jesper Harder <harder@ifa.au.dk>
3083 * progmodes/compile.el (compile-internal): Don't quote nil and t in
3086 * emacs-lisp/eldoc.el (eldoc-echo-area-use-multiline-p): Likewise.
3088 * emacs-lisp/cl-macs.el (case, typecase): Likewise.
3090 * allout.el (allout-auto-activation)
3091 (allout-use-mode-specific-leader, allout-reindent-bodies)
3092 (allout-unprotected): Likewise.
3094 * progmodes/tcl.el (tcl-explain-indentation): Likewise.
3096 * progmodes/idlwave.el (idlwave-complete-special): Likewise.
3098 * progmodes/cpp.el (cpp-edit-list): Likewise.
3100 * progmodes/cperl-mode.el (cperl-lineup): Likewise.
3102 * progmodes/cc-align.el (c-lineup-argcont, c-lineup-gcc-asm-reg):
3105 * play/mpuz.el (mpuz-silent): Likewise.
3107 * play/decipher.el (decipher-ignore-spaces): Likewise.
3109 * net/rlogin.el (rlogin-process-connection-type): Likewise.
3111 * mail/rmail.el (rmail-primary-inbox-list): Likewise.
3113 * mail/mailalias.el (mail-directory-function)
3114 (mail-directory-requery, mail-directory): Likewise.
3116 * emacs-lisp/lucid.el (buffer-syntactic-context): Likewise.
3118 * emacs-lisp/lmenu.el (popup-dialog-box): Likewise.
3120 * type-break.el (type-break-good-rest-interval)
3121 (type-break-query-mode, type-break-query-function)
3122 (type-break-mode-line-message-mode): Likewise.
3124 * skeleton.el (skeleton-autowrap, skeleton-untabify)
3125 (skeleton-newline-indent-rigidly, skeleton-insert)
3126 (skeleton-read): Likewise.
3128 * simple.el (newline): Likewise.
3130 * ps-print.el (ps-zebra-stripe-follow): Likewise.
3132 * mwheel.el (mouse-wheel-scroll-amount): Likewise.
3134 * env.el (setenv): Likewise.
3136 2003-05-06 Stefan Monnier <monnier@cs.yale.edu>
3138 * imenu.el (imenu--generic-function): Use font-lock-defaults
3139 case setting if imenu-case-fold-search is not locally set.
3141 * uniquify.el (uniquify-managed): New var.
3142 (uniquify-rationalize-file-buffer-names, rename-buffer): Use it and set
3143 it to prevent accidental renaming of unrelated buffers.
3144 (uniquify-delay-rationalize-file-buffer-names): Use it to avoid
3145 the cost of uniquify when killing unrelated buffers.
3147 * newcomment.el (comment-set-column, comment-kill)
3148 (comment-or-uncomment-region): Call comment-normalize-vars
3149 since these functions are autoloaded.
3151 * help-fns.el (help-add-fundoc-usage): Use t for "no arglist".
3152 * emacs-lisp/advice.el (ad-make-advised-docstring): Adjust usage.
3154 2003-05-06 Lute Kamstra <lute@gnu.org>
3156 * hl-line.el: Removed an erroneous comment.
3157 (hl-line-mode): Use buffer local hooks.
3158 (global-hl-line-mode): Turn local modes on unconditionally.
3159 (hl-line-highlight): Comment fix.
3161 2003-05-06 Richard M. Stallman <rms@gnu.org>
3163 * newcomment.el (comment-search-forward): Delete autoload cookie.
3165 2003-05-06 Kenichi Handa <handa@m17n.org>
3167 * arc-mode.el (archive-set-buffer-as-visiting-file):
3168 Use after-insert-file-set-coding, not
3169 after-insert-file-set-buffer-file-coding-system.
3171 2003-05-05 Stefan Monnier <monnier@cs.yale.edu>
3173 * uniquify.el (uniquify-buffer-name-style)
3174 (uniquify-after-kill-buffer-p, uniquify-ask-about-buffer-names-p)
3175 (uniquify-ignore-buffers-re, uniquify-min-dir-content)
3176 (uniquify-separator, uniquify-trailing-separator-p): Remove redundant
3177 group specification.
3178 (uniquify-file-name-nondirectory): Delete.
3179 (uniquify-rationalize-file-buffer-names): Simplify.
3180 Use directory names as `filename' component of uniquify-item.
3181 (uniquify-get-proposed-name): Adjust now that `filename' does not
3184 * vc-svn.el: New file.
3186 2003-05-05 John Paul Wallington <jpw@gnu.org>
3188 * emacs-lisp/autoload.el (batch-update-autoloads):
3189 Call `update-directory-autoloads'.
3191 2003-05-04 Dan Nicolaescu <dann@ics.uci.edu>
3193 * dired.el (dired-find-file): Bind find-file-run-dired around
3194 the call to find-file.
3196 2003-05-04 Stefan Monnier <monnier@cs.yale.edu>
3198 * uniquify.el: Move provide to end of file.
3199 (uniquify-ref-base, uniquify-ref-filename, uniquify-ref-buffer)
3200 (uniquify-ref-proposed, uniquify-set-proposed): Remove.
3201 (uniquify-item): New struct. Update users of uniquify-ref-*.
3202 (uniquify-get-proposed-name, uniquify-rationalize-a-list):
3203 Make `depth' optional.
3204 (uniquify-non-file-buffer-names): Remove.
3205 (uniquify-rationalize-file-buffer-names): Don't set it up.
3206 Use uniquify-make-item and don't pass the now-optional depth.
3207 (uniquify-rationalize-conflicting-sublist): Check the new buffer
3208 name directly instead of relying on uniquify-non-file-buffer-names.
3209 (uniquify-rename-buffer): Use with-current-buffer and pass
3210 the `unique' arg to rename-buffer.
3212 * vc-mcvs.el (vc-mcvs-mode-line-string): Fix thinko.
3213 (vc-mcvs-rename-file): New function.
3215 2003-05-04 Emmanuel Briot <briot@gnat.com>
3217 * progmodes/ada-mode.el
3218 * progmodes/ada-prj.el
3219 * progmodes/ada-stmt.el
3220 * progmodes/ada-xref.el (ada-xemacs): Variable removed, since it's
3221 better to use (featurep 'xemacs).
3222 Removed warnings generated with Emacs 21.3.x (mostly by adding
3223 needed `require' statements).
3225 2003-05-04 Nick Roberts <nick@nick.uklinux.net>
3227 * toolbar/gud-break.pbm, toolbar/gud-cont.pbm, toolbar/gud-display.pbm,
3228 toolbar/gud-down.pbm, toolbar/gud-finish.pbm, toolbar/gud-until.pbm,
3229 toolbar/gud-next.pbm, toolbar/gud-print.pbm, toolbar/gud-remove.pbm,
3230 toolbar/gud-run.pbm, toolbar/gud-step.pbm, toolbar/gud-up.pbm:
3231 Correct size for cleaner bitmaps.
3233 2003-05-03 Stefan Monnier <monnier@cs.yale.edu>
3235 * emacs-lisp/cl-extra.el (cl-map-keymap): Redefine as alias.
3236 (cl-map-keymap-recursively): Use map-keymap.
3237 (cl-macroexpand-all): Don't quote functions.
3239 * emacs-lisp/lucid.el (cl-map-keymap): Be careful with aliases.
3241 * emacs-lisp/advice.el (ad-get-enabled-advices, ad-special-forms)
3242 (ad-arglist, ad-subr-arglist): Use push and match-string.
3243 (ad-make-advised-docstring): Extract & reinsert the usage info.
3245 * help-fns.el (help-add-fundoc-usage): Allow arglist to be a string.
3247 2003-05-03 Nick Roberts <nick@nick.uklinux.net>
3249 * gdb-ui.el (breakpoint-enabled-icon, breakpoint-disabled-icon):
3250 Include bitmap data for monochrome display.
3251 (breakpoint-enabled-pbm-data, breakpoint-disabled-pbm-data):
3254 2003-05-03 Richard M. Stallman <rms@gnu.org>
3256 * emacs-lisp/autoload.el (update-directory-autoloads): Rename from
3257 update-autoloads-from-directories.
3259 * progmodes/cperl-mode.el (cperl-nonoverridable-face): Doc fix.
3261 * mail/sendmail.el (mail-dont-send, mail-bury): Make ARG optional.
3263 * view.el (Helper-return-blurb): Add defvar. (Also rearrange defuns.)
3265 * uniquify.el (uniquify-ignore-buffers-re): Change default
3266 to match some Gnus buffers.
3268 * newcomment.el (comment-search-forward): Add autoload cookie.
3270 * isearch.el (isearch-complete): Update isearch-message.
3272 * filesets.el (filesets-data): Add another defvar.
3273 (filesets-verbosity): Doc fix.
3275 2003-05-02 Tak Ota <Takaaki.Ota@am.sony.com>
3277 * recentf.el (recentf-cleanup): Swap tests for exclusion and
3280 2003-05-01 Eduardo Muñoz <emufer@terra.es> (tiny change)
3282 * ls-lisp.el (ls-lisp-format-file-size): New function to implement
3284 (ls-lisp-format): Use it.
3286 2003-05-01 Kenichi Handa <handa@m17n.org>
3288 * international/utf-8.el (utf-translate-cjk-mode): Update the
3289 second extra slot of the translation table
3290 utf-translation-table-for-encode.
3291 (mule-utf-8): Set the property translation-table-for-encode.
3293 2003-04-30 Stefan Monnier <monnier@cs.yale.edu>
3295 * pcvs.el (cvs-vc-command-advice): Don't parse "cvs update -p" output.
3296 (cvs-mode-find-file): Don't complain if bound to a non-mouse event.
3298 * textmodes/fill.el (text-property-default-nonsticky): Add fill-space.
3299 (fill-delete-newlines): Respect the new property.
3300 (fill-newline): Use the property instead of leaving "spurious" spaces.
3302 * emacs-lisp/easymenu.el (easy-menu-get-map): Correctly handle
3303 non-submap bindings.
3305 2003-04-30 Emmanuel Briot <briot@gnat.com>
3307 * progmodes/ada-mode.el (ada-search-directories): Take into account
3308 ADA_INCLUDE_PATH for better compatibility with GNAT.
3309 (ada-contextual-menu): Menu defined through `easy-menu-define'
3310 instead. Various adjustments to the indentation engine (handling of
3311 subtypes, begin blocks, etc.).
3312 (ada-create-menu): Major rewrite of the handling of menus to use
3313 `easy-menu-define' for cleaner code and better compatibility with
3314 XEmacs. All menus that were previously in ada-xref.el and
3315 ada-prj.el are now defined in this package, which makes it easier to
3317 (ada-narrow-to-defun): Add support for `narrow-to-region'.
3318 No longer explicitly load ada-xref.el and ada-prj.el. Use autoload
3321 * progmodes/ada-xref.el (ada-gnatls-args): New variable.
3322 Add support for specifying arguments to gnatls.
3323 (ada-initialize-runtime-library): Properly parse "." in the output
3325 (ada-add-keymap): Remove since this is now done in ada-mode.el itself.
3326 (ada-add-ada-menu): Likewise.
3327 (ada-set-default-project-file): New parameter KEEP-EXISTING.
3328 (ada-prj-find-prj-file): New parameter FILE.
3329 (ada-parse-prj-file): Take into account the ADA_INCLUDE_PATH and
3330 ADA_OBJECTS_PATH environment variables. Minor reorganization of
3332 (ada-get-all-references): Add support for GNAT 3.16 cross-references.
3334 * progmodes/ada-prj.el (ada-prj-add-keymap): Move to ada-mode.el
3335 directly. Add dependency on ada-xref.el to avoid compilation
3337 (ada-prj-get-prj-dir): Remove, no longer needed.
3339 * progmodes/ada-stmt.el (ada-stmt-add-to-ada-menu):
3340 Move to ada-mode.el.
3341 (ada-template-map): Merge with the keymap handling in ada-mode.el.
3343 2003-04-29 Stefan Monnier <monnier@cs.yale.edu>
3345 * isearch.el (isearch-complete1): Don't allocate unnecessarily.
3346 (isearch-complete-edit): Adjust to Emacs-21's new minibuffer handling.
3347 (isearch-update-ring): Use push.
3349 2003-04-29 Oliver Scholz <epameinondas@gmx.de>
3351 * play/gamegrid.el: Added a comment explaining the various ways to
3352 save a game score on POSIX systems.
3353 (gamegrid-add-score-with-update-game-score): Use `cond' instead of
3354 `if'. Provide for the case that FILE is an absolute filename.
3355 Create the directory "$HOME/.emacs.d/games", if necessary.
3357 2003-04-29 John Paul Wallington <jpw@gnu.org>
3359 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Use `string-match'.
3361 2003-04-28 Dave Love <fx@gnu.org>
3363 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Avoid cl warnings
3366 2003-04-28 Kenichi Handa <handa@m17n.org>
3368 * international/mule-cmds.el (reset-language-environment):
3369 Raise the priority of mule-utf-8, mule-utf-16-be-with-signature and
3370 mule-utf-16-le-with-signature.
3372 * international/mule-conf.el: Set coding-category-utf-16-be to
3373 mule-utf-16-be-with-signature, coding-category-utf-16-le to
3374 mule-utf-16-le-with-signature. Raise the priority of
3375 coding-category-utf-8, coding-category-utf-16-be, and
3376 coding-category-utf-16-le
3378 2003-04-27 Luc Teirlinck <teirllm@mail.auburn.edu>
3380 * scroll-bar.el (scroll-bar-drag-1): Replace beginning-of-line with
3383 2003-04-27 David Ponce <david@dponce.com>
3387 Major rewrite. The code is reordered, cleaner and faster.
3388 Introduce new options to automatically cleanup the recent list,
3389 and to handle filename transformation (for example to use true
3392 (recentf-version): New constant.
3393 (recentf-save-file-header): Move.
3394 (recentf-data-cache): New variable.
3395 (recentf-update-menu-p, recentf-initialized-p): Remove.
3396 (recentf-menu-customization-changed): Move. Doc fix.
3397 (recentf-max-saved-items): Doc fix.
3398 (recentf-save-file): Doc fix. No more expand filename here.
3399 (recentf-exclude, recentf-menu-action)
3400 (recentf-menu-filter): Doc fix.
3401 (recentf-menu-append-commands-flag): Rename from...
3402 (recentf-menu-append-commands-p): Make obsolete.
3403 (recentf-keep-non-readable-files-flag): Rename from...
3404 (recentf-keep-non-readable-files-p): Make obsolete.
3405 (recentf-auto-cleanup, recentf-filename-handler): New options.
3406 (recentf-string-equal, recentf-string-lessp)
3407 (recentf-string-member): New functions.
3408 (recentf-trunc-list): Move.
3409 (recentf-dump-variable): Move. Better code and output format.
3410 (recentf-auto-cleanup-timer): New variable.
3411 (recentf-auto-cleanup): New function.
3412 (recentf-push, recentf-expand-file-name): New functions.
3413 (recentf-add-file): In-line. Use above functions.
3414 (recentf-remove-if-non-readable): In-line. Expand file name.
3415 (recentf-find-file): Use `recentf-remove-if-non-readable'.
3416 (recentf-directory-compare): Move. Use `recentf-string-equal'
3417 and `recentf-string-lessp' to do comparisons.
3418 (recentf-menu-items-for-commands)
3419 (recentf-menu-filter-commands): Move.
3420 (recentf-elements, recentf-make-menu-element)
3421 (recentf-menu-element-item, recentf-menu-element-value)
3422 (recentf-set-menu-element-item, recentf-set-menu-element-value)
3423 (recentf-sub-menu-element-p, recentf-make-default-menu-element)
3424 (recentf-menu-elements): In-line. Some doc fix.
3425 (recentf-apply-menu-filter): Better code.
3426 (recentf-make-menu-items): Doc fix.
3427 Use `recentf-menu-append-commands-flag'.
3428 (recentf-make-menu-item): In-lined. Better code.
3429 (recentf-clear-data): New function.
3430 (recentf-sort-ascending, recentf-sort-descending)
3431 (recentf-sort-basenames-ascending)
3432 (recentf-sort-basenames-descending)
3433 (recentf-sort-directories-ascending)
3434 (recentf-sort-directories-descending)
3435 (recentf-show-basenames-ascending)
3436 (recentf-show-basenames-descending): In-line. Better code. Doc fix.
3437 (recentf-show-basenames)
3438 (recentf-relative-filter): Better code. Doc fix.
3439 (recentf-arrange-by-rule-subfilter): Doc fix. Improve :set code.
3440 (recentf-match-rule-p): Use filename instead of file-path.
3441 (recentf-arrange-by-rule, recentf-build-mode-rules)
3442 (recentf-arrange-by-mode, recentf-build-dir-rules)
3443 (recentf-file-name-nondir)
3444 (recentf-filter-changer-alist): Some doc fix and code cleanup.
3445 (recentf-filter-changer-goto-next): Doc fix.
3446 Call `recentf-clear-data'.
3447 (recentf-filter-changer-get-current)
3448 (recentf-filter-changer-get-next): In-line. Doc fix and better code.
3449 (recentf-filter-changer): Doc fix and better code.
3450 (recentf-cancel-dialog): Doc fix.
3451 (recentf-dialog-mode-map): Initialize in defvar.
3452 (recentf-dialog-mode): Doc fix.
3453 (recentf-track-opened-file): Rename from...
3454 (recentf-add-file-hook): Remove.
3455 (recentf-track-closed-file): Rename from...
3456 (recentf-remove-file-hook): Remove.
3457 (recentf-update-menu-hook): Remove. Replace by...
3458 (recentf-update-menu): New. Better catch unnecessary updates.
3459 Display a message on error.
3460 (recentf-used-hooks): New constant.
3461 (recentf-enabled-p): New function.
3462 (recentf-edit-selected-items)
3463 (recentf-open-files-action)
3464 (recentf-open-files-item-shift): Doc fix.
3465 (recentf-edit-list-action)
3466 (recentf-open-files-item): Doc fix. Code cleanup.
3467 (recentf-edit-list, recentf-open-files)
3468 (recentf-open-more-files): Likewise. Remove autoload cookie.
3469 (recentf-save-list, recentf-cleanup): Likewise. Move.
3470 (recentf-load-list): New command.
3471 (recentf-mode): Better code. Does nothing if enabling the already
3474 2003-04-27 Alan Mackenzie <acm@muc.de>
3476 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Don't count a "//("
3477 which appears inside a character set.
3478 (regexp-opt-not-groupie*-re): New constant.
3480 2003-04-26 John Paul Wallington <jpw@gnu.org>
3482 * ibuffer.el (ibuffer-name-map, ibuffer-mode-name-map)
3483 (ibuffer-mode-filter-group-map): Initialize in `defvar'.
3484 (ibuffer-do-view-1): Use `make-frame' instead of `new-frame'.
3486 2003-04-25 Jan Nieuwenhuizen <janneke@gnu.org>
3488 * info.el (Info-unescape-quotes, Info-split-parameter-string)
3489 (Info-display-images-node): New functions for displaying images.
3490 (Info-select-node): Call Info-display-images-node.
3492 2003-04-25 David Ponce <david.ponce@wanadoo.fr>
3494 * files.el (file-relative-name): Recognize "c:/foo" as absolute
3497 2003-04-24 Sam Steingold <sds@gnu.org>
3499 * calendar/diary-lib.el (fancy-diary-display-mode): Bind "q" to
3500 `quit-window' in the fancy diary buffer.
3502 * emacs-lisp/cl-indent.el: `symbol-macrolet' is similar to `let',
3503 not `multiple-value-bind'.
3505 2003-04-24 Lars Hansen <larsh@math.ku.dk>
3507 * subr.el (assq-delete-all): Ignore non-cons elements.
3509 2003-04-24 John Paul Wallington <jpw@gnu.org>
3511 * help-mode.el (help-make-xrefs): Remove extra paren.
3513 2003-04-23 Stefan Monnier <monnier@cs.yale.edu>
3515 * newcomment.el (comment-normalize-vars): Prompt the user for
3516 the comment-start to use rather than signaling an error. Fix regexp.
3517 (uncomment-region): Don't leave half-removed comment markers.
3519 2003-04-23 Richard M. Stallman <rms@gnu.org>
3521 * mail/sendmail.el (mail-send-and-exit): Make arg optional.
3523 * files.el (view-read-only): Doc fix.
3525 * simple.el (back-to-indentation): Call backward-prefix-chars.
3527 * help-mode.el (help-make-xrefs): Clean up the loop that scans
3528 over a keymap inserted by \\{...}; it now stops at end of buffer.
3530 * filesets.el: Don't call filesets-init.
3532 * emacs-lisp/bytecomp.el (byte-compile-defun): Generate and
3533 compile a defalias form, unless byte-compile-compatibility.
3535 * progmodes/scheme.el (scheme-mode-syntax-table):
3536 Use prefix syntax for ', `, comma, @ and #.
3538 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3539 Give @ prefix syntax.
3541 2003-04-23 Andre Spiegel <spiegel@gnu.org>
3543 * vc-cvs.el (vc-cvs-stay-local): Keep the old default.
3544 Simplify doc string.
3546 2003-04-23 Wolfgang Scherer <wolfgang.scherer@gmx.de>
3548 * vc-cvs.el (vc-cvs-stay-local): Allow lists of host regexps.
3549 (vc-cvs-stay-local-p): Handle them.
3550 (vc-cvs-parse-root): New function, used by the above.
3552 2003-04-22 Stefan Monnier <monnier@cs.yale.edu>
3554 * vc-mcvs.el (vc-mcvs-root): Cache the result.
3555 (vc-mcvs-registered): Simplify. Use file-relative-name.
3556 (vc-mcvs-register): Simplify. Don't burp if MCVS/TYPES doesn't exist.
3557 (vc-mcvs-command): Filter F-NN names in the output for diff and log.
3559 2003-04-21 Stefan Monnier <monnier@cs.yale.edu>
3561 * info.el (Info-default-dirs): New fun extracted from Info-initialize.
3562 (info-initialize): Use it. Obey the "final :" convention for INFOPATH.
3564 * textmodes/fill.el (fill-region-as-paragraph):
3565 Fix "last line goes to fill-column+1" problem.
3567 * emacs-lisp/bytecomp.el (byte-compile-defvar): Improve message.
3569 2003-04-20 Richard M. Stallman <rms@gnu.org>
3571 * simple.el (kill-line): Doc fix.
3573 2003-04-20 Sam Steingold <sds@gnu.org>
3575 * pcvs.el (cvs-examine): Respect `find-file-visit-truename'.
3577 2003-04-20 Glenn Morris <gmorris@ast.cam.ac.uk>
3579 * which-func.el (which-func-modes): Add f90-mode.
3580 (which-function): Handle imenu submenus.
3582 * progmodes/fortran.el (fortran-abbrev-start): Make XEmacs compatible.
3584 * progmodes/f90.el (f90-font-lock-keywords-2): Use override for
3585 font-lock-variable-name-face in declarations.
3586 Highlight continuation characters.
3587 (f90-indent-new-line): Remove direct call to f90-indent-line-no,
3589 (f90-abbrev-start): Fix XEmacs compatibility.
3591 2003-04-19 Stefan Monnier <monnier@cs.yale.edu>
3593 * vc-mcvs.el: New file.
3595 * vc-cvs.el (vc-cvs-dir-state): Use vc-cvs-command.
3596 (vc-cvs-could-register, vc-cvs-make-version-backups-p): Use defalias.
3597 (vc-cvs-merge-news): Simplify.
3598 (vc-cvs-diff): Remove unused var `options'.
3599 (vc-cvs-parse-entry): Use the same algorithm as cvs does.
3601 2003-04-19 Richard M. Stallman <rms@gnu.org>
3603 * desktop.el (desktop-buffer-mh): Don't require mh-e;
3604 it causes trouble in compilation.
3606 * add-log.el (add-log-current-defun-function): Add autoload cookie.
3608 * newcomment.el (comment-use-syntax): Add autoload cookie.
3610 * emacs-lisp/bytecomp.el (byte-compile-log-file)
3611 (byte-recompile-directory): Don't use byte-goto-log-buffer.
3612 Instead, set default-directory and then call compilation-mode.
3613 (byte-compile-from-buffer): Force byte-compile-last-position
3614 to end of buffer before issuing final warnings.
3616 2003-04-18 Stefan Monnier <monnier@cs.yale.edu>
3618 * emulation/cua-base.el (cua-mode): Use define-minor-mode.
3619 (cua-global-mark-face): Fix face format.
3621 * emacs-lisp/easy-mmode.el (define-minor-mode): Only echo a message
3622 if the body didn't do so already.
3623 (easy-mmode-define-keymap): Remove unused var `suppress'.
3625 * view.el (view-read-only): Move to files.el.
3626 * files.el (view-read-only): Move from view.el.
3628 2003-04-17 Stefan Monnier <monnier@cs.yale.edu>
3630 * files.el (view-read-only): Don't declare a second time.
3631 (find-file-read-only, find-file-read-only-other-window)
3632 (find-file-read-only-other-frame): Check that file does exist.
3633 (large-file-warning-threshold): New custom.
3634 (find-file-noselect): Use it.
3635 (report-errors): New macro.
3636 (normal-mode): Use it.
3637 (toggle-read-only): Really toggle, even if view-mode is on.
3638 (parse-colon-path): Remove unused `cd-prefix' var.
3639 (make-backup-file-name-1): Remove unused `failed' var.
3640 (basic-save-buffer): Remove unused `tempsetmodes' var.
3641 (basic-save-buffer-2): Remove unused `temp' var.
3642 (insert-directory): Remove unused `available' var.
3644 2003-04-17 John Paul Wallington <jpw@gnu.org>
3646 * hexl.el (hexl-find-file): Bind `default-major-mode' to
3649 2003-04-16 Stefan Monnier <monnier@cs.yale.edu>
3651 * reveal.el (reveal-post-command): Use overlay-get for overlays.
3653 2003-04-16 Kenichi Handa <handa@m17n.org>
3655 * international/mule-cmds.el (describe-language-environment):
3656 At first, require all necessary features.
3658 2003-04-16 Dave Love <fx@gnu.org>
3660 * progmodes/xscheme.el: Moved from lisp directory.
3662 2003-04-16 Glenn Morris <gmorris@ast.cam.ac.uk>
3664 * progmodes/f90.el (f90-indent-to, f90-indent-line-no)
3665 (f90-no-block-limit, f90-end-of-block, f90-beginning-of-block)
3666 (f90-comment-region, f90-indent-line, f90-indent-region)
3667 (f90-find-breakpoint, f90-block-match): Trivial simplifications.
3668 (f90-looking-at-do, f90-looking-at-select-case)
3669 (f90-looking-at-if-then, f90-looking-at-where-or-forall):
3670 Drop XEmacs 19 support and simplify.
3671 (f90-indent-new-line): No need for case-fold-search. Simplify.
3672 (f90-fill-region): Make marker nil when done. Simplify.
3674 * progmodes/fortran.el (fortran-column-ruler): Minor doc change.
3676 2003-04-16 Richard M. Stallman <rms@gnu.org>
3678 * man.el (Man-follow-manual-reference): Don't require match
3679 when calling completing-read.
3681 2003-04-15 Glenn Morris <gmorris@ast.cam.ac.uk>
3683 * progmodes/fortran.el: Whitespace changes, some re-ordering of
3684 code, trivial commentary change.
3685 (fortran, fortran-indent, fortran-comment)
3686 (fortran-tab-mode-default, fortran-continuation-indent)
3687 (fortran-comment-indent-style, fortran-blink-matching-if)
3688 (fortran-continuation-string, fortran-electric-line-number)
3689 (fortran-break-before-delimiters, fortran-mode-hook)
3690 (fortran-end-prog-re, fortran-imenu-generic-expression):
3692 (fortran-tab-mode-minor-mode-string): New variable.
3693 (fortran-tab-mode-string): Now customization is meaningful.
3694 (fortran-column-ruler-fixed, fortran-column-ruler-tab)
3695 (fortran-analyze-depth): Use defcustom.
3696 (fortran-if-start-re, fortran-end-prog-re1, fortran-fill)
3697 (fortran-break-line, fortran-prepare-abbrev-list-buffer)
3698 (fortran-auto-fill): Add doc string.
3699 (fortran-type-types): New constant (was local to let binding).
3700 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
3701 (fortran-font-lock-syntactic-keywords): Initialize in defvar.
3702 (fortran-font-lock-keywords-3): Initialize in defvar. Use 1+ now
3703 depth of fortran-type-types has changed. Remove extra and.
3704 (fortran-mode-menu): Minor re-organization. Use lookup-key.
3705 (fortran-mode): Doc changes. Some re-organization.
3706 Use fortran-tab-mode-minor-mode-string.
3707 (fortran-comment-indent): Add doc string. Move save-excursion.
3709 (fortran-indent-comment, fortran-fill-statement):
3710 Change interactive spec. Use unless.
3711 (fortran-comment-region): Doc change. Reverse logic of arg
3713 (fortran-abbrev-start, fortran-split-line)
3714 (fortran-electric-line-number, fortran-indent-subprogram)
3715 (fortran-strip-sequence-nos): Change interactive spec.
3716 (fortran-remove-continuation): Add doc string. Use when.
3717 (fortran-numerical-continuation-char): Doc change. Use 1+.
3718 (fortran-previous-statement, fortran-next-statement)
3719 (fortran-beginning-do, fortran-calculate-indent)
3720 (fortran-end-do, fortran-end-if, fortran-beginning-if):
3722 (fortran-blink-match, fortran-check-for-matching-do): Use when.
3723 (fortran-indent-line): Change interactive spec. Remove un-needed
3725 (fortran-indent-to-column): Doc change. Use when, unless.
3726 (fortran-find-comment-start-skip): No longer interactive.
3727 (fortran-analyze-file-format): Minor doc change.
3728 Remove un-needed setq.
3729 (minor-mode-alist): Use add-to-list.
3730 (fortran-fill-paragraph): Change interactive spec, doc string.
3732 * progmodes/f90.el: Whitespace changes, trivial commentary changes.
3733 (f90, f90-indent, f90-program-indent, f90-continuation-indent)
3734 (f90-indented-comment-re, f90-imenu-generic-expression)
3735 (f90-mark-subprogram, f90-join-lines): Minor doc changes.
3736 (f90-menu): Shift definition to initialization of f90-mode-map.
3737 Add customization section.
3738 (f90-mode): Minor doc change. Do not call easy-menu-add.
3739 Set `beginning-of-defun-function' and `end-of-defun-function' to
3740 appropriate F90 functions.
3741 (f90-indent-line, f90-indent-line, f90-indent-subprogram)
3742 (f90-break-line, f90-do-auto-fill, f90-insert-end)
3743 (f90-upcase-keywords, f90-capitalize-keywords)
3744 (f90-downcase-keywords): Change interactive spec.
3746 2003-04-14 Stefan Monnier <monnier@cs.yale.edu>
3748 * font-lock.el (font-lock-multiline, font-lock-fontified)
3749 (font-lock-set-defaults): Move back from font-core.el and merge
3750 it back with font-lock-set-defaults-1.
3751 (font-lock-mode-internal): New function (basically the body of
3752 the old font-lock-mode minor mode).
3754 * font-core.el (font-lock-maximum-size, font-lock-verbose): Remove.
3755 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
3756 Move back to font-lock.el.
3757 (font-lock-default-function): Use font-lock-mode-internal.
3759 * files.el (auto-mode-alist): Add entries for *.ins and *.dtx.
3760 (recover-file): Abbreviate file name in messages.
3762 * textmodes/tex-mode.el (latex-mode-map): Bind latex-split-block.
3763 (tex-font-lock-keywords-2): Comment out unused var `type'.
3764 (tex-guess-mode): New name for old `tex-mode'.
3765 (tex-mode): Make it a derived mode of text-mode.
3766 (plain-tex-mode, latex-mode): Change parent from text-mode to tex-mode.
3767 (tex-common-initialization): Don't setup syntax-table any more.
3768 (tex-validate-buffer): Remove unused var `oend'.
3769 Use with-current-buffer and line-beginning-position.
3770 (tex-recenter-output-buffer): Remove unused var `old-buffer'.
3771 (latex-indent): Return `noindent' if no indentation can happen.
3772 (doctex-font-lock-^^A, doctex-font-lock-syntactic-face-function)
3773 (doctex-font-lock-syntactic-keywords, doctex-font-lock-keywords)
3774 (doctex-mode): New funs for DocTeX mode, derived from LaTeX mode.
3776 * font-lock.el (font-lock-preprocessor-face): New var and face.
3778 2003-04-14 Andrew Choi <akochoi@shaw.ca>
3780 * term/mac-win.el: Unconditionally set process-connection-type to nil.
3782 2003-04-14 Richard M. Stallman <rms@gnu.org>
3784 * derived.el (define-derived-mode): Make generated code work in
3785 Emacs versions that do not have run-mode-hooks.
3787 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
3788 At end of buffer, run the global binding of the same key.
3790 * international/mule.el (after-insert-file-set-coding):
3791 Properly treat INSERTED as number of characters, for both
3792 for both the argument and the value.
3794 * desktop.el (desktop-base-file-name):
3795 Rename from desktop-basefilename. Add defvaralias.
3797 2003-04-14 John Paul Wallington <jpw@gnu.org>
3799 * international/fontset.el (create-fontset-from-ascii-font): Doc fix.
3800 (x-must-resolve-font-name): Fix error message typo.
3802 2003-04-13 Glenn Morris <gmorris@ast.cam.ac.uk>
3804 * progmodes/fortran.el (fortran-previous-statement): Check for
3805 fortran-continuation-string.
3806 (fortran-calculate-indent): Do not add extra whitespace to
3807 strings broken over lines.
3808 (fortran-fill): Handle long strings that must be broken.
3810 2003-04-13 Michael Albinus <Michael.Albinus@alcatel.de> (tiny change)
3812 * net/ange-ftp.el (ange-ftp-expand-symlink): If result of
3813 expansion is a symlink, expand again.
3814 (ange-ftp-file-symlink-p): Return target of symlink literally.
3816 2003-04-13 Masatake YAMATO <jet@gyve.org>
3818 * bindings.el (toplevel): Don't change the face
3819 of major-mode on the mode line. Setting the face on
3820 the mode line code is installed by my mistake in
3823 2003-04-12 Stefan Monnier <monnier@cs.yale.edu>
3825 * add-log.el (change-log-version-number-search): Fix old bug.
3826 (add-change-log-entry): Avoid inserting the same funname again.
3827 (add-log-indent-text): New var.
3828 (add-log-indent): New fun.
3829 (change-log-mode): Use it.
3831 * net/browse-url.el: Don't autoload all these defcustoms.
3832 (browse-url-default-macosx-browser): New fun.
3833 (browse-url-browser-function): Use it for system-type = darwin.
3834 (browse-url-usr1-signal): Remove.
3835 (browse-url-mosaic): Use SIGUSR1 directly instead.
3836 (browse-url-gnome-moz-program): New var.
3837 (browse-url-gnome-moz, browse-url-default-browser): Use it.
3839 * emacs-lisp/bytecomp.el: Use push, with-current-buffer, dolist, ...
3840 (byte-compile-const-variables): New var.
3841 (byte-compile-close-variables): Reset it.
3842 (byte-compile-file-form-defvar, byte-compile-defvar): Update it.
3843 (byte-compile-const-symbol-p): Now arg `value' to check defconsts.
3844 (byte-compile-variable-ref): Use it and improve warning message.
3845 (byte-compile-check-lambda-list): Use byte-compile-const-symbol-p.
3846 (byte-compile-lapcode): Remove unused vars.
3847 (byte-compile-eval): Fix thinko in handling of old-autoloads.
3848 (byte-recompile-directory): Use the expanded form for directory.
3849 (byte-compile-track-mouse): Use modern backquote syntax.
3850 (byte-compile-defvar): Detect and properly handle (defconst a).
3851 (byte-compile-defalias-warn): Remove unused arg `alias'.
3852 (byte-compile-defalias): Update call.
3854 2003-04-13 Masatake YAMATO <jet@gyve.org>
3856 * help.el (describe-minor-mode): New function implementation.
3857 Accept both minor mode string and minor mode indicator.
3858 (describe-minor-mode-completion-table-for-indicator)
3859 (describe-minor-mode-completion-table-for-symbol): New functions.
3860 minor-mode-list is used here.
3861 (describe-minor-mode-from-symbol):
3862 Rename from (old) describe-minor-mode.
3863 Use describe-minor-mode-completion-table-for-symbol.
3864 Don't use eval. Just use symbol-name.
3865 (describe-minor-mode-from-indicator): Document is updated.
3866 Use `format-mode-line'.
3867 Use describe-minor-mode-from-symbol instead of describe-minor-mode.
3868 Use describe-minor-mode-completion-table-for-indicator.
3869 (expand-minor-mode-indicator-object): Remove.
3870 (lookup-minor-mode-from-indicator): Remove the fist white
3871 space from both indicator and anindicator before comparing them.
3873 * bindings.el (mode-line-major-mode-keymap)
3874 (mode-line-minor-mode-keymap): Define keys for the maps
3877 2003-04-12 Stefan Monnier <monnier@cs.yale.edu>
3879 * server.el (server-socket-name): Use new safe location for socket.
3880 (server-ensure-safe-dir): New fun.
3881 (server-start): Use it and letf.
3882 (server-process-filter): Re-enable the -eval feature.
3884 2003-04-12 Glenn Morris <gmorris@ast.cam.ac.uk>
3886 * play/gomoku.el (gomoku-buffer-name): New constant.
3887 (gomoku-mode): Doc fix. Add call to kill-all-local-variables.
3888 (gomoku): Do not call gomoku-switch-to-window directly.
3889 (gomoku-prompt-for-other-game): Throw an error if no new game.
3890 (gomoku-switch-to-window): Use gomoku-buffer-name.
3892 * progmodes/f90.el (f90-abbrev-start): Only offer help if
3893 abbrev-mode is active.
3894 (f90-join-lines): Make it behave more like standard join-line.
3895 (f90-fill-region, f90-menu): Adapt for new f90-join-lines.
3897 * progmodes/fortran.el (fortran-abbrev-start): Only offer help if
3898 abbrev-mode is active.
3900 2003-04-12 John Paul Wallington <jpw@gnu.org>
3902 * help-fns.el (help-add-fundoc-usage): Pass an empty string to
3903 `format' if no newlines are necessary.
3905 2003-04-11 Stefan Monnier <monnier@cs.yale.edu>
3907 * bindings.el (global-map): Bind [select-window].
3909 2003-04-11 John Paul Wallington <jpw@gnu.org>
3911 * type-break.el (type-break-warning-countdown-string): Doc fix.
3913 2003-04-11 ARISAWA Akihiro <ari@mbf.sphere.ne.jp> (tiny change)
3915 * international/utf-8.el (utf-translate-cjk-mode): Fix incorrect
3916 place of parenthesis.
3918 2003-04-11 Masatake YAMATO <jet@gyve.org>
3920 * progmodes/etags.el (select-tags-table-mode-map):
3921 Don't create new keymap. Instead copy from button-buffer-map.
3922 Bind push-button to `t' instead of binding
3923 select-tags-table-select directly.
3924 (tags-select-tags-table): New button.
3925 (select-tags-table): Put a button for each selections.
3927 2003-04-11 Kenichi Handa <handa@m17n.org>
3929 * international/mule.el:
3930 Don't set after-insert-file-adjust-coding-function.
3931 (after-insert-file-set-coding):
3932 Rename from after-insert-file-set-buffer-file-coding-system.
3934 2003-04-11 Kenichi Handa <handa@m17n.org>
3936 * international/quail.el (quail-guidance-str)
3937 (quail-guidance-frame): New variables.
3938 (quail-guidance-win): Delete this variable.
3939 (quail-setup-overlays): Make overlay not rear-advancing.
3940 (quail-kill-guidance-buf): Delete this function.
3941 (quail-activate): Add/remove quail-show-guidance to/from
3943 (quail-input-method): Don't setup quail-guidance-buf.
3944 Initialize quail-guidance-str to "".
3945 (quail-start-translation): Call quail-show-guidance at first.
3946 (quail-start-conversion): Likewise.
3947 (quail-terminate-translation): Don't erase quail-guidance-buf.
3948 (quail-update-translation): Stretch overlays if their starting and
3949 ending positions are same.
3950 (quail-update-current-translations): Check the width of the
3951 current window, not the width of quail-guidance-win.
3952 (quail-make-guidance-frame): Delete the arg BUF. Fix position
3953 calculation. Don't set the window buffer, just return the new frame.
3954 (quail-minibuffer-message): New function.
3955 (quail-show-guidance): Rename from quail-show-guidance-buf.
3956 Use message and quail-minibuffer-message to display the guidance.
3957 (quail-hide-guidance): Rename from quail-hide-guidance-buf.
3958 Only delete quail-guidance-frame.
3959 (quail-update-guidance): Just update quail-guidance-str, not
3961 (quail-get-translations): Rename from quail-show-translations.
3962 Return a string instead of inserting it in quail-guidance-buf.
3964 2003-04-11 Kenichi Handa <handa@m17n.org>
3966 * international/mule-cmds.el (sort-coding-systems): Set lower
3967 priority to a utf-16 base coding system. Set higher priority to a
3968 coding system listed in coding-category-list.
3970 2003-04-10 Juanma Barranquero <lektu@terra.es>
3972 * frame.el (modify-all-frames-parameters): Delete.
3974 2003-04-10 Sebastian Tennant <seb@albert.vcisp.net> (tiny change)
3976 * desktop.el (desktop-buffer-file): Restore major-mode if it is
3977 different from the normal mode.
3979 2003-04-10 Kenichi Handa <handa@m17n.org>
3981 * international/mule.el:
3982 Set after-insert-file-adjust-coding-function to
3983 after-insert-file-set-buffer-file-coding-system instead of adding
3984 it to after-insert-file-functions.
3986 * language/ind-util.el (indian-2-column-to-ucs-region): Fix for
3987 the case of replacing multibyte characters.
3989 2003-04-09 Richard M. Stallman <rms@gnu.org>
3991 * files.el (file-chase-links): Fix previous change.
3993 2003-04-09 Juanma Barranquero <lektu@terra.es>
3995 * frame.el (new-frame): Add obsolescence declaration.
3997 2003-04-09 Ehud Karni <ehud@unix.mvs.co.il>
3999 * frame.el (set-frame-font): Allow keeping frame size after
4001 (modify-all-frames-parameters): New function to change parameters
4002 in all existing and future frames.
4004 2003-04-09 Thien-Thi Nguyen <ttn@gnu.org>
4006 * man.el (Man-heading-regexp): Accept hyphen.
4008 2003-04-09 Kenichi Handa <handa@m17n.org>
4010 * international/fontset.el: Specify rescale ratio 1.3 for CDAC fonts.
4012 * international/mule-conf.el: Register ?\221 and ?\226 in
4013 latin-extra-code-table.
4015 2003-04-08 Richard M. Stallman <rms@gnu.org>
4017 * subr.el (minor-mode-list): New variable.
4018 (add-minor-mode): Add to it.
4020 * files.el (file-chase-links): New arg LIMIT.
4021 After that many iterations, just return what we've got.
4023 * map-ynp.el (map-y-or-n-p): When formatting chars in ACTION-ALIST,
4024 use single-key-description.
4026 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
4027 At end of buffer, just call `newline'.
4029 * mail/rmailsum.el (rmail-make-basic-summary-line): If there's
4030 no From field, still try to use the To field.
4032 2003-04-09 Kenichi Handa <handa@m17n.org>
4034 * international/mule-diag.el (print-coding-system-briefly):
4035 If DOC-STRING is `tightly', print the doc-string tightly.
4036 (list-coding-systems-1): Sort coding systems.
4037 Call print-coding-system-briefly with the arg DOC-STRING `tightly'.
4039 2003-04-08 Kai Großjohann <kai.grossjohann@gmx.net>
4041 * net/tramp.el: Version 2.0.33 released.
4042 Change coding cookie to `iso-2022-7bit' for XEmacs
4043 compatibility. (From Steve Youngs <youngs@xemacs.org>.)
4045 2003-04-08 Michael Albinus <Michael.Albinus@alcatel.de>
4047 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
4048 Do not disable file name handlers for `file-exists-p' and
4051 2003-04-08 Kenichi Handa <handa@m17n.org>
4053 * international/mule-conf.el: Register ?\225 in latin-extra-code-table.
4055 * international/utf-16.el (utf-16-le-decode-loop)
4056 (utf-16-be-decode-loop): New temporary variables.
4057 (ccl-decode-mule-utf-16-le): Use utf-16-le-decode-loop.
4058 (ccl-decode-mule-utf-16-be): Use utf-16-be-decode-loop.
4059 (ccl-decode-mule-utf-16-le-with-signature)
4060 (ccl-decode-mule-utf-16-be-with-signature)
4061 (ccl-decode-mule-utf-16): New CCL programs.
4062 (utf-16-le-encode-loop, utf-16-be-encode-loop): New temporary
4064 (ccl-encode-mule-utf-16-le): Use utf-16-le-encode-loop.
4065 (ccl-encode-mule-utf-16-be): Use utf-16-be-encode-loop.
4066 (ccl-encode-mule-utf-16-le-with-signature)
4067 (ccl-encode-mule-utf-16-be-with-signature): New CCL programs.
4068 (mule-utf-16-post-read-conversion): New function.
4069 (mule-utf-16-le-with-signature, mule-utf-16-be-with-signature)
4070 (mule-utf-16): New coding systems.
4071 (utf-16-le-with-signature, utf-16-be-with-signature)
4072 (utf-16): Aliases of the above coding systems.
4074 2003-04-08 Martin Stjernholm <mast@lysator.liu.se>
4076 * progmodes/cc-langs.el (c-symbol-key): Use POSIX char classes
4077 to match symbols. This makes CC Mode cope with the full range
4078 of identifier characters in e.g. Java.
4080 2003-04-07 Francesco Potortì <pot@gnu.org>
4082 * xt-mouse.el (xterm-mouse-event-read): New function.
4083 (xterm-mouse-event): Use it to get xterm sequences above #x7f.
4084 Suggested by Aman Bhargava <emacs-bug@amanb.net>.
4086 2003-04-07 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
4088 * man.el (Man-getpage-in-background): Set GROFF_NO_SGR env var in
4089 all cases, whether or not start-process is fboundp.
4091 2003-04-06 Richard M. Stallman <rms@gnu.org>
4093 * calendar/cal-menu.el (cal-menu-update): Use easy-menu-create-menu
4094 rather than easy-menu-change.
4096 * dired.el (dired-view-file): Let viewer program run asynchronously.
4098 2003-04-06 Ben North <ben@redfrontdoor.org> (tiny change)
4100 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
4101 Correct the starting point for previous-single-property-change.
4103 2003-04-06 Lars Hansen <larsh@math.ku.dk>
4105 * desktop.el: Handle multiple desktop files in different dirs.
4107 Command line option --no-desktop introduced.
4108 (desktop-read): Record buffers in the desktop file in
4109 the same order as that in the buffer list.
4110 (desktop-save): Put buffers in the order given in desktop file,
4111 regardless of what handlers do.
4112 (desktop-file-version): New variable. Version number of desktop
4114 (desktop-create-buffer-form): Variable deleted.
4115 (desktop-save): New customizable variable.
4116 (desktop-kill): Use `desktop-save'.
4117 (desktop-file-name-format): New option: format in
4118 which desktop file names should be saved.
4119 (desktop-file-name): New function to convert a filename to the
4120 format specified in `desktop-file-name-format'.
4121 (desktop-create-buffer): Parameters renamed to descriptive
4122 systematic names. These parameters are visible to handlers.
4124 ver -> desktop-file-version
4125 mim -> desktop-buffer-minor-modes
4126 pt -> desktop-buffer-point
4127 mk -> desktop-buffer-mark
4128 ro -> desktop-buffer-read-only
4129 locals -> desktop-buffer-locals.
4130 (desktop-buffer-major-mode, desktop-buffer-file-name)
4131 (desktop-buffer-name): Delete unused customizable variables.
4132 (desktop-buffer-misc): Delete unused variable.
4133 (desktop-save, desktop-buffer-dired-misc-data):
4134 Use `desktop-file-name'.
4135 (desktop-path): New customizable variable. List of directories in
4136 which to lookup the desktop file. Replaces hardcoded list.
4137 (desktop-globals-to-clear): New variable replaces hardcoded list.
4138 (desktop-globals-to-save): Variable made customizable.
4139 (desktop-clear-preserve-buffers-regexp): New customizable variable.
4140 (desktop-after-read-hook): New hook run after a desktop is read.
4141 (desktop-no-desktop-file-hook): New hook when no desktop file found.
4142 (desktop-change-dir): New function.
4143 (desktop-save-in-load-dir): New function. Save desktop in
4144 directory from which it was loaded.
4145 (desktop-revert): New function. Revert to the last loaded desktop.
4147 2003-04-06 Masatake YAMATO <jet@gyve.org>
4149 * progmodes/etags.el (tag-find-file-of-tag): Rename from
4150 find-file-of-tag to avoid name space pollution.
4151 (tag-find-file-of-tag-noselect): Likewise.
4152 (etags-list-tags, etags-tags-apropos):
4153 Use tag-find-file-of-tag instead of find-file-of-tag.
4155 2003-04-06 Masatake YAMATO <jet@gyve.org>
4157 * info.el (Info-goto-emacs-command-node): If command
4158 is given as a string, convert it to a symbol.
4160 2003-04-05 Kevin Ryde <user42@zip.com.au>
4162 * info-look.el (emacs-lisp-mode): Add prefix/suffix matching regexps.
4164 2003-04-05 Andre Spiegel <spiegel@gnu.org>
4166 * vc-cvs.el (vc-cvs-get-entries): New function that uses the
4167 right coding system for accessing CVS/Entries.
4168 (vc-cvs-registered, vc-cvs-dir-state-heuristic): Use it.
4170 2003-04-04 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4172 * subr.el (number-sequence): Adjust code.
4174 2003-04-04 Stefan Monnier <monnier@cs.yale.edu>
4176 * textmodes/refill.el (refill-fill-paragraph-at): Undo last fix.
4177 (refill-fill-paragraph-at): Don't skip prefix since markers work right.
4179 * textmodes/fill.el (fill-delete-newlines): Remove trailing whitespace.
4180 (fill-paragraph): Don't skip prefix now that markers work right.
4182 2003-04-04 John Paul Wallington <jpw@gnu.org>
4184 * ibuffer.el (ibuffer-insert-filter-group): `help-echo' text
4185 property dynamically respects `tooltip-mode'.
4186 (define-ibuffer-column name): Likewise.
4188 * ibuf-ext.el (ibuffer-format-filter-group-data): Don't append "\n".
4190 2003-04-04 Masatake YAMATO <jet@gyve.org>
4192 * progmodes/etags.el (find-file-of-tag-noselect, find-file-of-tag):
4193 New helper functions.
4194 (snarf-tag-function): Doc string is changed. Explained about new
4195 optional argument, `use-explicit'.
4196 (etags-snarf-tag): Add one optional argument `use-explicit'.
4197 (file-of-tag-function): Doc string is changed. Explained about new
4198 optional argument, `relative'.
4199 (file-of-tag): Doc string is changed. Explained about new optional
4200 argument, `relative'. Pass `relative' to `file-of-tag-function'.
4201 (etags-file-of-tag): Add new argument `relative`.
4202 (list-tags): Set `buffer-read-only' to t after making the major mode
4204 (etags-list-tags): Use `make-text-button' instead of
4205 `add-text-properties'. Used `snarf-tag-function',
4206 `goto-tag-location-function' and `find-file-of-tag' instead of
4207 `find-tag-other-window' (it's too simple).
4208 (find-tag-in-order): Use `find-file-of-tag-noselect' instead of
4210 (etags-tags-apropos): Use `find-file-of-tag-noselect' instead of
4211 `find-file'. Do not use `etags-goto-tag-location` directly; use
4212 `goto-tag-location-function' instead. Print relative file paths
4213 instead of complete ones in *Tags List* buffer, so lines in the
4214 buffer become shorter.
4215 (etags-tags-apropos-additional): Use `make-text-button' instead of
4216 `add-text-properties'.
4218 2003-04-04 Andreas Schwab <schwab@suse.de>
4220 * net/tramp.el (tramp-send-string): Handle empty string.
4222 2003-04-03 Richard M. Stallman <rms@gnu.org>
4224 * emacs-lisp/easymenu.el (easy-menu-define):
4225 Don't make a defvar for nil.
4226 (easy-menu-convert-item-1): Doc fix.
4227 (easy-menu-change): Call easy-menu-create-menu.
4229 * subr.el (read-quoted-char): Remember the input char
4230 before translation thru function-key-map, and use that for unreading.
4232 * shadowfile.el (shadow-parse-fullname):
4233 Rename from shadow-parse-fullpath.
4234 (shadow-parse-name): Rename from shadow-parse-path.
4235 (shadow-make-fullname): Rename from shadow-make-fullpath.
4236 (shadow-replace-name-component): Was shadow-replace-path-component.
4237 Callers of the above functions changed.
4238 (shadow-expand-cluster-in-file-name): Doc fix.
4239 (shadow-same-site, shadow-file-match): Doc fix.
4240 (shadow-define-literal-group): Doc fix.
4242 * kmacro.el (kmacro-end-and-call-macro): Doc fix.
4244 * hexl.el (hexl-find-file): Ignore user's value of default-major-mode.
4246 * files.el (hack-local-variables-prop-line): New arg MODE-ONLY.
4247 (hack-local-variables): When MODE-ONLY is set, pass it along to
4248 hack-local-variables-prop-line.
4250 * delsel.el (delete-active-region): Don't explicitly deactivate mark.
4252 2003-04-03 Masatake YAMATO <jet@gyve.org>
4254 * progmodes/etags.el: Require button.el.
4255 (etags-tags-apropos): Use `make-text-button' instead of
4256 `add-text-properties'. Use `snarf-tag-function' and
4257 `etags-goto-tag-location' instead of `find-tag-other-window' (it's
4260 * man.el (Man-xref-header-file): Fix previous change.
4262 2003-04-03 Kenichi Handa <handa@m17n.org>
4264 * subr.el (number-sequence): New function.
4266 2003-04-02 Ehud Karni <ehud@unix.mvs.co.il> (tiny change)
4268 * sort.el (sort-reorder-buffer): Fix saving of markers at the end
4269 of the sorted region.
4271 2003-04-02 Masatake YAMATO <jet@gyve.org>
4273 * woman.el (woman-xref): Remove.
4274 (woman-mode): Use `Man-highlight-references' instead of
4275 `WoMan-highlight-references'.
4276 (WoMan-highlight-references): Remove.
4278 * man.el (toplevel): Require button.
4279 (Man-header-file-path): New option.
4280 (Man-synopsis-regexp, Man-files-regexp, Man-include-regexp)
4281 (Man-file-name-regexp, Man-normal-file-prefix-regexp)
4282 (Man-header-regexp, Man-normal-file-regexp): New variables.
4283 (Man-mode-map): Inherit from `button-buffer-map'. Don't define
4284 "\r" and mouse-2 directly. These key are defined in
4285 `button-buffer-map'.
4286 (Man-xref-man-page, Man-xref-header-file, Man-xref-normal-file):
4287 New buttons. `Man-xref-man-page' comes from woman.el.
4288 (man-follow-mouse): Remove.
4289 (Man-fontify-manpage): Use `Man-highlight-references' instead of
4290 calling `add-text-properties' directly.
4291 (Man-highlight-references, Man-highlight-references0): New functions.
4292 (Man-view-header-file): New function.
4294 2003-04-02 Stefan Monnier <monnier@cs.yale.edu>
4296 * textmodes/refill.el (refill-fill-paragraph-at): Don't preserve
4297 the trailing space since fill.el doesn't remove it anymore.
4298 (refill-mode): Reset fill-paragraph-function even if it was nil.
4300 * textmodes/fill.el (fill-region-as-paragraph):
4301 Don't remove space at end of paragraph: it makes refill.el unusable.
4302 Remove obsolete `save-restriction'.
4303 (fill-paragraph, fill-comment-paragraph): Don't add newline at EOP.
4304 (fill-delete-newlines): Don't add a trailing space.
4305 (fill-newline): Don't leave markers before the prefix.
4307 * progmodes/asm-mode.el (asm-calculate-indentation, asm-indent-line):
4309 (asm-mode): Use them in indent-line-function.
4310 Set tab-always-indent to nil to stay closer to previous tab behavior.
4311 Set comment-add. Remove space at end of comment-add.
4312 (asm-newline): Obsolete. Use newline-and-indent instead.
4313 (asm-mode-map): Remove TAB binding.
4314 (asm-code-level-empty-comment-pattern)
4315 (asm-flush-left-empty-comment-pattern)
4316 (asm-inline-empty-comment-pattern): Remove.
4317 (asm-comment): Use newcomment functions instead.
4318 (asm-colon): Don't tab if colon is not after a label.
4319 (asm-line-matches, asm-pop-comment-level): Remove.
4321 2003-04-02 Kai Großjohann <kai.grossjohann@gmx.net>
4323 * emulation/crisp.el (top-level): Quote second arg to
4326 2003-04-02 Miles Bader <miles@gnu.org>
4328 * scroll-bar.el (scroll-bar-mode): Correctly specify `nil' choice.
4330 2003-04-01 Stefan Monnier <monnier@cs.yale.edu>
4332 * progmodes/asm-mode.el (asm-mode-syntax-table): Setup entries
4333 that do not depend on asm-comment-char.
4334 (asm-mode-map): Declare and init at the same time.
4335 (asm-code-level-empty-comment-pattern)
4336 (asm-flush-left-empty-comment-pattern)
4337 (asm-inline-empty-comment-pattern): Use \s< so they do not depend
4338 on asm-comment-char. Turn them into constants.
4339 (asm-mode): Simplify.
4340 (asm-line-matches): Remove unused arg.
4342 2003-04-01 Dave Love <fx@gnu.org>
4344 * time.el: Doc fixes.
4345 (display-time-mail-face): Change :type and default to nil.
4346 (display-time-mail-icon): Use pbm, not xbm.
4347 (display-time-mail-string): New.
4348 (display-time-string-forms): Use display-time-mail-string.
4349 Add checks in display property.
4351 2003-04-01 Kenichi Handa <handa@m17n.org>
4353 * language/indian.el (indian-font-char-index-table): Fix the
4354 order of CDAC fonts.
4356 2003-04-01 Kim F. Storm <storm@cua.dk>
4358 * simple.el (pop-global-mark-quick-repeat): Remove defcustom.
4359 (set-mark-command): Unconditionally repeat pop-global-mark without
4360 C-x prefix. Fix doc.
4362 * emulation/cua-base.el (cua-set-mark): Unconditionally repeat
4363 pop-global-mark without C-x prefix. Fix doc.
4365 2003-03-31 Stefan Monnier <monnier@cs.yale.edu>
4367 * reveal.el (reveal-post-command): Better error handling.
4369 2003-03-31 Nick Roberts <nick@nick.uklinux.net>
4371 * gdb-ui.el (gdb-inferior-io-mode): Remove Unix pathname for cat
4372 so that it can run on NT also.
4374 2003-03-31 Masatake YAMATO <jet@gyve.org>
4376 * progmodes/asm-mode.el (asm-mode): Support skipping C lang style
4379 * bindings.el (mode-line-major-mode-keymap): New variable.
4380 (mode-line-minor-mode-help): New function, bound to
4381 mode-line-minor-mode-keymap.
4382 (mode-line-modes): Split mode-line-mode definitions to
4383 mode-name, mode-line-process and minor-mode-alist.
4384 For mode-name, mode-line-major-mode-keymap is used.
4386 * help.el (describe-minor-mode, describe-minor-mode-from-indicator)
4387 (lookup-minor-mode-from-indicator): New functions.
4389 2003-03-31 Kai Großjohann <kai.grossjohann@gmx.net>
4391 * files.el (file-relative-name): Remove superfluous `and'.
4392 Clarify docstring. From Lars Hansen.
4394 2003-03-31 Kenichi Handa <handa@m17n.org>
4396 * international/utf-16.el (ccl-decode-mule-utf-16-le):
4397 Don't assume the signature bytes.
4398 (ccl-decode-mule-utf-16-be): Likewise.
4399 (ccl-encode-mule-utf-16-le): Don't produce the signature bytes.
4400 (ccl-encode-mule-utf-16-be): Likewise.
4402 2003-03-30 Kevin Ryde <user42@zip.com.au>
4404 * info-look.el (sh-mode): Add doc-specs for commands and variables.
4406 2003-03-29 Kai Großjohann <kai.grossjohann@gmx.net>
4408 * international/utf-8.el (utf-translate-cjk-mode): Minor mode,
4409 replaces variable utf-translate-cjk which must be set via Custom.
4411 * files.el (file-relative-name): If FILENAME and DIRECTORY are on
4412 different drives (on DOS/Windows) or use different handlers, do
4413 like `expand-file-name' on FILENAME and return an absolute name.
4414 From Lars Hansen <larsh@math.ku.dk>.
4416 * tramp.el: Version 2.0.31 released.
4417 (tramp-handle-expand-file-name): Do not allow ".." to
4418 cross file handler boundaries, so that "/user@host:/../foo"
4419 expands to itself, rather than "/foo". This is intended to work
4420 in conjunction with a change in `file-relative-name' which makes
4421 sure to use absolute file names if FILE and DIRECTORY have
4423 (tramp-handle-insert-directory): Comment out XEmacs
4424 kludge. Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
4426 2003-03-29 Michael Albinus <Michael.Albinus@alcatel.de>
4428 * trampver.el: New file, to support Autoconf in Tramp CVS repository.
4429 * tramp.el (tramp-version, tramp-bug-report-address): Move to
4430 trampver.el, which is required now.
4431 (tramp-chunksize): Type can be nil as well.
4432 Reported by Markus Rost <rost@math.ohio-state.edu>.
4433 * tramp-smb.el (tramp-smb-read-file-entry): Make reading size of a
4434 listing entry more robust. Ranges from 10 chars (Samba 1) to 7-9
4437 2003-03-29 John Paul Wallington <jpw@gnu.org>
4439 * international/mule.el (with-category-table): Use `make-symbol'
4440 to avoid variable capture. Set table within `unwind-protect'.
4441 Ensure table is restored in correct buffer. Add docstring.
4443 2003-03-29 Kenichi Handa <handa@m17n.org>
4445 * language/japan-util.el: If system-type is not for Windows,
4446 prefer japanese-iso-8bit.
4448 2003-03-28 Sudish Joseph <sudish@corp.earthlink.net> (tiny change)
4450 * term/mac-win.el (iconify-or-deiconify-frame): Define for
4451 compatibility with packages that use it.
4453 2003-03-28 Lute Kamstra <lute@gnu.org>
4455 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer):
4457 (checkdoc-interactive, checkdoc-message-interactive): Make them
4458 perform spell checking when appropriate.
4459 (checkdoc-interactive-loop): Fix docstring and a few typos.
4460 (checkdoc-interactive-ispell-loop)
4461 (checkdoc-message-interactive-ispell-loop): New functions.
4462 (checkdoc-next-error): Fix docstring.
4463 (checkdoc-this-string-valid-engine): Fix typo.
4464 (checkdoc-ispell-docstring-engine): Do test for
4465 checkdoc-autofix-flag = nil.
4467 2003-03-28 Jonathan Yavner <jyavner@engineer.com>
4469 * emacs-lisp/testcover.el (testcover-mark-all): Handle screwy
4470 top-level macros that put functions as properties.
4471 (testcover-mark): No error for functions that just return a constant.
4473 2003-03-27 Andreas Schwab <schwab@suse.de>
4475 * vc-cvs.el (vc-cvs-parse-entry): Make sure a file with conflicts
4476 is marked as edited.
4478 2003-03-26 Kenichi Handa <handa@m17n.org>
4480 * files.el (recode-file-name): New function.
4482 * international/characters.el: Setup categories for Indian characters.
4484 2003-03-26 Steve Youngs <youngs@xemacs.org>
4486 * eshell/em-unix.el (eshell-plain-locate-behavior): Make the default
4487 nil on Emacs, t on XEmacs.
4489 2003-03-25 Stefan Monnier <monnier@cs.yale.edu>
4491 * emacs-lisp/byte-opt.el (byte-optimize-set): New.
4492 Turn `set' into `setq' when applicable.
4494 2003-03-24 Stefan Monnier <monnier@cs.yale.edu>
4496 * emacs-lisp/easy-mmode.el (define-minor-mode): Pass unknown keyword
4497 args blindly to defcustom. Use custom-set-minor-mode.
4499 2003-03-24 Kim F. Storm <storm@cua.dk>
4501 * simple.el: Rework last change so C-x C-SPC C-SPC does not
4502 repeat pop-global-mark by default.
4503 (pop-global-mark-quick-repeat): New user option.
4504 (set-mark-command): Use it.
4506 * emulation/cua-base.el (cua-set-mark):
4507 Check pop-global-mark-quick-repeat.
4509 2003-03-24 John Paul Wallington <jpw@gnu.org>
4511 * emacs-lisp/easymenu.el (easy-menu-add-item): Don't default to
4514 * emerge.el (emerge-show-file-name): Read event irrespective of
4515 whether minibuffer window is resized. Clear minibuffer when done.
4517 * cus-theme.el (customize-create-theme): Rename from
4518 `custom-theme-create'.
4520 2003-03-24 Luc Teirlinck <teirllm@mail.auburn.edu>
4522 * cus-edit.el (custom-mode): Make `custom-local-buffer' local.
4524 2003-03-23 Peter Breton <pbreton@attbi.com>
4526 * net/net-utils.el (dns-lookup-host): New function.
4528 2003-03-23 Martin Stjernholm <mast@lysator.liu.se>
4530 * progmodes/cc-mode.el (c-parse-state): Add kludge to avoid
4531 an infinite loop when Emacs' open-paren-in-column-zero rule
4532 kicks in and causes the sexp functions to misbehave.
4534 2003-03-22 Peter Breton <pbreton@cs.umb.edu>
4536 * filecache.el (file-cache-add-directory-recursively)
4537 (file-cache-complete, file-cache-display): New functions.
4539 * generic-x.el (etc-modules-conf-generic-mode): New generic mode.
4540 (rul-generic-mode): Bugfixes by Rolf.Sandau@marconi.com.
4542 * dirtrack.el (dirtrack-cygwin-directory-function): New function.
4545 2003-03-22 Kim F. Storm <storm@cua.dk>
4547 * ido.el (ido-mode): Remove unused NOBIND arg. Fix doc string
4549 (ido-define-mode-map): Bind C-l for both file and dir modes.
4550 (ido-wide-find-file, ido-wide-find-dir, ido-make-directory):
4551 Let-bind enable-recursive-minibuffers to t around read-string.
4553 2003-03-22 Kenichi Handa <handa@m17n.org>
4555 * international/fontset.el (setup-default-fontset):
4556 Use indian-font-char-range for specifying ranges of indian-glyph
4557 chars. Setup for AKRUTI fonts.
4559 * language/indian.el (indian-font-foundry): New variable.
4560 (indian-script-language-alist): New variable.
4561 (indian-font-char-index-table): New variable.
4562 (indian-font-char): New function.
4563 (indian-font-char-range): New function.
4564 (font-ccl-encoder-alist): Add entry for AKRUTI font.
4566 2003-03-22 Kim F. Storm <storm@cua.dk>
4568 * progmodes/cperl-mode.el (cperl-electric-backspace):
4569 Add delete-selection property.
4571 * simple.el (set-mark-command): Doc fixes.
4572 Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
4573 C-u C-u C-SPC now unconditionally sets the mark.
4575 * emulation/cua-base.el (cua-set-mark): Doc fixes.
4576 Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
4577 C-u C-u C-SPC now unconditionally sets the mark.
4579 2003-03-20 Mark A. Hershberger <mah@everybody.org>
4581 * xml.el (xml-parse-attlist): Fix typo in attribute parsing.
4583 2003-03-20 Kenichi Handa <handa@m17n.org>
4585 * international/utf-8.el (ccl-decode-mule-utf-8): Fix a bug in
4586 handling invalid 5 to 6 bytes sequence.
4588 2003-03-19 Simon Marshall <simon@gnu.org>
4590 * progmodes/make-mode.el (makefile-font-lock-syntactic-keywords):
4592 (makefile-mode): Use it for value of font-lock-syntactic-keywords.
4594 2003-03-19 John Paul Wallington <jpw@gnu.org>
4596 * cus-theme.el (custom-theme-create): Add autoload cookie.
4598 2003-03-19 Kenichi Handa <handa@m17n.org>
4600 * dired.el (dired-get-filename): Pay attention to the case that
4601 `read' returns a unibyte string. Don't encode the file name by
4602 buffer-file-coding-system.
4604 2003-03-18 Kenichi Handa <handa@m17n.org>
4606 * language/european.el ("Latin-6"): Fix input-method.
4607 ("Latin-7"): Fix input-method.
4609 * international/utf-8.el (utf-fragment-on-decoding):
4610 Don't call register-char-codings.
4611 (utf-fragment-on-decoding): Don't update char-coding-system-table.
4612 (utf-translate-cjk): Don't call register-char-codings nor
4613 optimize-char-coding-system-table. Don't update
4614 char-coding-system-table.
4616 * international/ucs-tables.el (ucs-unify-8859): Don't call
4617 register-char-codings.
4618 (ucs-unify-8859): Don't call optimize-char-coding-system-table.
4619 (ucs-fragment-8859): Don't update char-coding-system-table.
4620 Don't call register-char-codings nor optimize-char-coding-system-table.
4622 * international/mule.el (optimize-char-coding-system-table):
4623 Remove this function.
4624 (register-char-codings): Make it obsolete.
4625 (char-coding-system-table): Defconst it here.
4626 (make-coding-system): Don't call register-char-codings, call
4627 define-coding-system-internal.
4629 * international/mule-conf.el (no-conversion):
4630 Call define-coding-system-internal on this coding system instead of
4631 calling register-char-codings.
4633 * international/mule-cmds.el (find-coding-systems-for-charsets):
4634 Use find-coding-systems-string instead of looking up
4635 char-coding-system-table.
4637 * international/code-pages.el (cp-fix-safe-chars): Make it obsolete.
4638 (cp-make-coding-system): Don't call cp-fix-safe-chars.
4640 2003-03-18 Stefan Monnier <monnier@cs.yale.edu>
4642 * startup.el (command-line-1): Use command-execute for any command.
4644 2003-03-17 Stefan Monnier <monnier@cs.yale.edu>
4646 * buff-menu.el (list-buffers-noselect): Use the display property
4647 to properly align header-line text with the buffer's contents.
4649 2003-03-17 Kenichi Handa <handa@m17n.org>
4651 * international/mule.el (ctext-post-read-conversion): Convert the
4652 search pattern to multibyte by string-to-multibyte.
4654 2003-03-16 Deepak Goel <deego@gnufans.org>
4656 * calc/calc-forms.el (math-tzone-names): Introduce UTC as an alias
4657 for GMT. Suggested by bob@rattlesnake.com.
4659 2003-03-15 Stefan Monnier <monnier@cs.yale.edu>
4661 * pcvs.el (cvs-mode!): Remove unused argument.
4663 * emacs-lisp/easymenu.el (easy-menu-name-match): Catch any error
4664 that member-ignore-case might signal.
4665 (easy-menu-add-item): Default to the global map, as documented.
4666 (easy-menu-convert-item-1): Use match-string.
4668 2003-03-15 Mark A. Hershberger <mah@everybody.org>
4670 * xml.el (xml-ucs-to-string): New function to convert Unicode
4671 codepoints to strings. Uses decode-char (mule.el) if available.
4672 (xml-parse-tag, xml-parse-attlist, xml-skip-dtd, xml-parse-dtd)
4673 (xml-parse-elem-type): Use ' \t\n\r' instead of '[:space:]'.
4674 (xml-parse-attlist): Add attribute normalization.
4675 (xml-parse-tag): Replace "\r\n" and "\r" with "\n".
4677 2003-03-14 John Paul Wallington <jpw@gnu.org>
4679 * files.el (recover-session): Error if there are no previous
4680 sessions to recover.
4682 * subr.el (posn-col-row): Simplify.
4684 * arc-mode.el (archive-subtype, archive-file-list-start)
4685 (archive-file-list-end, archive-proper-file-start)
4686 (archive-read-only, archive-local-name, archive-mode-map)
4687 (archive-file-name-indent, archive-remote)
4688 (archive-alternate-display, archive-superior-buffer)
4689 (archive-subfile-mode): Doc fixes.
4691 2003-03-14 Stefan Monnier <monnier@cs.yale.edu>
4693 * indent.el (indent-for-tab-command): If tab-always-indent is non-nil
4694 and the user hits TAB a second time, just insert a tab.
4696 * textmodes/texinfo.el (texinfo-outline-level): Remove.
4697 (texinfo-mode): Set outline-heading-alist instead.
4698 (texinfo-section-list): Reorder for the needs of outline-heading-alist.
4699 (texinfo-insert-block): Don't cons needlessly.
4700 (texinfo-enable-quote-macros, texinfo-enable-quote-envs): New vars.
4701 (texinfo-insert-quote): Use them.
4703 * textmodes/outline.el (outline-level): Demote it to defvar.
4704 (outline-heading-alist): Document extended semantics.
4705 (outline-head-from-level): New fun.
4706 (outline-promote, outline-demote): Use it.
4707 (outline-show-heading): New fun.
4708 (hide-sublevels, show-children):
4709 Use it together with outline-map-region.
4710 (outline-get-next-sibling): Don't call outline-level at eob.
4712 2003-03-14 Simon Josefsson <jas@extundo.com>
4714 * fringe.el (fringe-mode): Autoload so that
4715 Options->Show/Hide->Fringe->Customize works.
4717 2003-03-13 Stefan Monnier <monnier@cs.yale.edu>
4719 * textmodes/outline.el (outline-mode-menu-bar-map): Add entries.
4720 (outline-mode-prefix-map): Match new bindings to those of allout.
4721 (outline-map-region): New fun.
4722 (outline-map-tree): Remove.
4723 (outline-promote, outline-demote): Apply to region if active.
4724 Change the default to apply to the subtree.
4725 (outline-move-subtree-up, outline-move-subtree-down): New funs.
4726 (outline-invisible-p): Add optional `pos' argument.
4727 (outline-next-visible-heading, outline-toggle-children): Use it.
4728 (outline-get-next-sibling): Don't call outline-level at eob.
4730 * custom.el (custom-set-minor-mode): New fun.
4732 2003-03-13 Dave Love <fx@gnu.org>
4734 * international/latin1-disp.el (ucs-tables): Don't require.
4735 (latin1-display-face): New.
4736 (latin1-display-char): Use it.
4738 2003-03-13 Kenichi Handa <handa@m17n.org>
4740 * international/mule-cmds.el (reset-language-environment):
4741 Set default-file-name-coding-system to iso-latin-1.
4743 * language/european.el (iso-latin-1): Definition of this coding
4744 system moved to mule-conf.el.
4746 * international/mule-conf.el (iso-latin-1): Move from
4749 * term/x-win.el (x-select-text): Don't set a text containing
4750 eight-bit-control/graphic into the cut buffer.
4752 2003-03-12 Kenichi Handa <handa@m17n.org>
4754 * files.el (insert-directory): Decode by what specified.
4756 * language/japan-util.el (setup-japanese-environment-internal):
4757 By default, use japanese-iso-8bit for file names, and prefer
4758 japanese-shift-jis on DOS and Windows.
4760 * international/quail.el (quail-show-guidance-buf): Make the quail
4761 guidance buffer inherit the current value of quail-current-package.
4763 * international/utf-8.el (ccl-decode-mule-utf-8): Don't lose bytes
4764 on handling an invalid byte sequence.
4766 2003-03-11 Jason Rumney <jasonr@gnu.org>
4768 * files.el (auto-mode-alist): Add .xsl for sgml-mode.
4770 2003-03-11 Mark A. Hershberger <mah@everybody.org>
4772 * xml.el (xml-skip-dtd): Fix parsing of DOCTYPE.
4774 2003-03-11 John Paul Wallington <jpw@gnu.org>
4776 * subr.el (posn-col-row): Heed frame parameter `line-spacing' and
4777 `default-line-spacing', rather than buffer-local `line-spacing'.
4779 2003-03-10 Per Abrahamsen <abraham@dina.kvl.dk>
4781 * cus-edit.el (customize-rogue): New command.
4783 2003-03-10 Andreas Schwab <schwab@suse.de>
4785 * info.el (Info-extract-menu-node-name)
4786 (Info-following-node-name): Revert last change.
4788 2003-03-10 Thien-Thi Nguyen <ttn@gnu.org>
4790 * progmodes/scheme.el (scheme-mode-syntax-table):
4791 Construct w/o using `with-syntax-table'.
4793 2003-03-10 John Paul Wallington <jpw@gnu.org>
4795 * subr.el (posn-col-row): Take into account `line-spacing'.
4797 * ebuff-menu.el (electric-buffer-update-highlight): Do nothing
4798 if major mode isn't `Electric-buffer-menu-mode'.
4800 * term/x-win.el (vendor-specific-keysyms)
4801 (x-last-selected-text-primary): Doc fixes.
4802 (x-win-suspend-error): Use proper noun in error message.
4804 2003-03-09 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
4806 * man.el (Man-getpage-in-background): Always use `setenv' for
4807 environment variables, instead of modifying process-environment
4808 directly. The previous version let-bound process-environment --
4809 the let-binding is skipped for GROFF_NO_SGR because there is
4810 already a let-binding in effect in some outer scope.
4812 * emulation/crisp.el (top-level): Interoperate with cua.
4814 2003-03-08 Kim F. Storm <storm@cua.dk>
4816 * emulation/cua-base.el: Provide `cua' feature.
4818 2003-03-08 Juanma Barranquero <lektu@terra.es>
4820 * emulation/cua-base.el (cua--standard-movement-commands):
4823 2003-03-07 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
4825 * man.el (Man-getpage-in-background): Only change
4826 default-directory if necessary.
4828 2003-03-07 Andreas Schwab <schwab@suse.de>
4830 * info.el (Info-following-node-name): Skip trailing period.
4831 (Info-extract-menu-node-name): Allow period in node name.
4833 2003-03-07 Kevin Rodgers <kevin.rodgers@ihs.com> (tiny change)
4835 * dired-x.el (dired-guess-shell-case-fold-search): New user option.
4836 (dired-guess-default): Use it.
4838 2003-03-07 Thien-Thi Nguyen <ttn@gnu.org>
4840 * progmodes/dcl-mode.el (dcl-font-lock-keywords): New var.
4841 (dcl-font-lock-defaults): New var.
4842 (dcl-mode): Make and init local var `font-lock-defaults'.
4844 2003-03-06 Kevin Rodgers <kevin.rodgers@ihs.com> (tiny change)
4846 * ffap.el (dired-at-point): Check whether the user can create a
4847 directory before asking about creating it.
4849 2003-03-06 John Paul Wallington <jpw@gnu.org>
4851 * ebuff-menu.el (electric-buffer-list):
4852 Respect `Buffer-menu-use-header-line'.
4853 (electric-buffer-menu-looper): Likewise.
4855 * buff-menu.el (Buffer-menu-mode-map): Add docstring.
4856 (Buffer-menu-buffer): Fix indentation.
4857 (list-buffers-noselect): Calculate header-line spacing to take
4858 into account width of left fringe and left scrollbar.
4860 2003-03-05 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4862 * ps-print.el (ps-print-version): New version number (6.6).
4863 (ps-begin-job): If background and foreground color are the same, give
4865 (ps-default-fg, ps-default-bg): Better doc.
4866 (ps-rgb-color): Became a defun, check RGB value list.
4867 (ps-default-background): New internal var.
4868 (ps-begin-file): Code fix.
4870 2003-03-05 Richard M. Stallman <rms@gnu.org>
4872 * replace.el (query-replace-read-args): Use save-excursion.
4873 (map-query-replace-regexp): Use prefix-numeric-value.
4875 2003-03-05 Juanma Barranquero <lektu@terra.es>
4877 * term/w32-win.el (x-handle-geometry): Put sizes on
4878 `initial-frame-alist' too.
4880 * startup.el (command-line-x-option-alist): Make --border-color set
4881 the border-color frame parameter, not border-width.
4883 * faces.el (frame-set-background-mode): Fix reference to attribute
4886 2003-03-05 Reto Zimmermann <reto@gnu.org>
4888 * progmodes/vhdl-mode.el: Version 3.32.12 released.
4889 Modifications for displaying all projects in hierarchy browser and case
4890 insensitive hierarchy browsing. Change Rod's email address.
4891 Include `itimer.el' patch for XEmacs. Backquote fix. Change some
4892 documentation strings. Add "ERROR: " prefix to all error
4893 messages. Enhanced usage of hideshow.
4894 (vhdl-in-literal): Remove unused argument LIM.
4895 (vhdl-compiler-alist): Enhance customization for compilers; add
4896 "Speedwave", "Simili", "Synopsys Design Compiler", "Cadence NC",
4897 "Savant", "ProVHDL" and "VeriBest" compilers.
4898 Add new error message syntax for Modelsim.
4899 Add Synplify, column no in error regexp.
4900 Include library name in library command.
4901 Add unit-to-file name mapping for Savant.
4902 Add library option in Makefile generation command.
4903 Add command to create library directory.
4904 Built-in Makefile generation is always default.
4905 (vhdl-create-mode-menu): Split menus for compilers, projects, models.
4906 Add customization for `global-font-lock-mode'.
4907 Fix `customize-group' entries for XEmacs and
4908 change "Gen." to "Generate". Get *Messages* buffer.
4909 Fix "Auto Load Setup File" menu entry.
4910 Add faces customization to "Options". Add "Options" entry.
4911 Include `speedbar-indentation-width'.
4912 (vhdl-replace-string): Allow casing (use `vhdl-file-name-case').
4913 (vhdl-template-exit, vhdl-template-next, vhdl-template-return):
4914 Fix template abortion.
4915 (vhdl-speedbar-port-copy): Add subprogram copy; copy port of component
4917 (vhdl-fixup-whitespace-region): No whitespace after '(' and before ')'.
4918 Better treat comments and strings. Fix "=> ," alignment.
4919 (vhdl-port-paste-testbench): Print file names created.
4920 Better handling when file exist/open. Additional comments in code.
4921 Replace keywords in testbench entity and architecture file headers.
4922 Adjust case in testbench configuration.
4923 (vhdl-port-paste-instance): Special case: no number in instance name.
4924 (vhdl-speedbar-expand-units): Fix speedbar frame switching oddity.
4925 (vhdl-font-lock-keywords-2): Enhance highlighting of instantiation;
4926 highlight instantiations without map.
4927 Highlight quantity declaration names. Highlight formal parameters.
4928 Fix label highlighting for signal asst.
4929 (vhdl-mode): `comment-padding' for Emacs 21 only.
4930 Remove forced `turn-on-font-lock'.
4931 Remove `hippie-expand-only-buffers' setting.
4932 Update online documentation and web address.
4933 (vhdl-comment-uncomment-region): Remove usage of `comment-dwim' again.
4934 Change ARG for uncommenting.
4935 (vhdl-speedbar-make-*-line): Fix for displaying XEmacs speedbar images.
4936 (vhdl-fontify-buffer): Toggle font-lock-mode for better recovery.
4937 (vhdl-port-list): Add context clause.
4938 (vhdl-port-paste-signals): Include direction comments.
4939 (vhdl-testbench-declarations, vhdl-testbench-statements): New default.
4940 (vhdl-port-*): Include name in status messages.
4941 (vhdl-package-alist): Scan for and display subprogram body.
4942 Change key to lower case, add original case identifier.
4943 Scan for packages used by package body.
4944 (vhdl-speedbar-find-file): Always jump to design unit if buffer open.
4945 (vhdl-speedbar-insert-hierarchy): Mark non-existing entities/packages.
4946 Message "No VHDL design units!".
4947 (vhdl-compile-init): Allow fourth element (column no) in error regexp.
4948 Fix `nconc' bug. Eliminate redundant regexps.
4949 (vhdl-minibuffer-tab): No indentation.
4950 Use `hippie-expand-only-buffers' to take
4951 expansions from VHDL buffers only; don't overwrite non-nil default of
4952 `hippie-expand-only-buffers'; check whether
4953 `hippie-expand-only-buffers' is bound.
4954 (vhdl-ams-types, vhdl-ams-enum-values): Add identifiers from
4955 `nature_pkg' package.
4956 (vhdl-align-alist): Fix "when/else ... =>" case.
4957 Align declaration keywords only at beg. of line.
4958 Align <=, := and == among each other.
4959 (vhdl-port-copy): Extended identifiers for signal names.
4960 Fix on empty generic/port clause.
4961 Fix parsing of comment on first line.
4962 Allow generic clause begin on first line.
4963 Add "inout" and "linkage" to direction modes.
4964 (vhdl-font-lock-function-face): Change DarkCyan to Cyan4.
4965 (vhdl-file-header): Insert VHDL language standard string.
4966 (vhdl-instance-name): Unique numbers in instance names.
4967 (vhdl-compile): Check for existing compile directory.
4968 Print out file name if compiler does not; put it in
4969 quotes if contains spaces. Check compiler name.
4970 (vhdl-compiler): Change empty value from "" to nil.
4971 (vhdl-make): Check for existing compile directory.
4972 Fix missing options if there is a target. Check compiler name.
4973 (vhdl-template-field): Fix case on all VHDL words.
4974 (vhdl-template-others): Re-electrified "others".
4975 (vhdl-speedbar-expand-architecture): Give user control over displayed
4977 (vhdl-project-alist): Insert library name in Makefile name.
4978 Sources exclude regexp. Add file-specific compile exceptions.
4979 Enhance customization of projects.
4980 (vhdl-get-hierarchy): Include configurations in hierarchy list.
4981 Fix bug with configurations.
4982 Consider configurations; also at lower levels.
4983 (vhdl-speedbar-item-info): Enhance displaying.
4984 (vhdl-scan-file-contents): Fix skipping of comments in scanning.
4985 Sources exclude regexp.
4986 Allow comment lines in instantiations.
4987 Fix used packages in package body scanning.
4988 Allow code before first block configuration.
4989 Scan also for "is" keyword of design units.
4990 Scan configuration specification.
4991 Clear directory alists first.
4993 Check for multiply scanned design units.
4994 Scan components/subprograms in package.
4995 Scan library clauses and subconfigurations.
4996 Limit file size for scanning.
4997 (vhdl-entity-alist): Change key to lower case, add original case
4999 (vhdl-electric-tab): Not overwrite non-nil default of
5000 `hippie-expand-only-buffers'.
5001 (vhdl-electric-tab): Check whether `hippie-expand-only-buffers' is
5002 bound; use it to take expansions from VHDL buffers only.
5003 (vhdl-electric-tab): Toggle comment indent.
5004 (vhdl-generate-makefile): Check compiler name.
5005 Add library option in Makefile generation command.
5006 (vhdl-generate-makefile): Add dependencies for components in package.
5007 (vhdl-template-elsif): No expansion in concurrent part (except AMS).
5008 (vhdl-insert-string-or-file): Resolve environment variables.
5009 (vhdl-insert-string-or-file): Fix NTEmacs `file-exists-p' problem.
5010 (vhdl-submit-bug-report): Prompt for summary.
5011 (vhdl-resolve-paths): Rearrange environment variable resolution.
5012 (vhdl-scan-project-contents): Rearrange environment variable
5014 (vhdl-scan-project-contents): Allow absolute paths.
5015 (vhdl-doc-coding-style): Update RMM URL.
5016 (vhdl-end-of-leader): Consider "is" keyword in VHDL'93.
5017 (vhdl-model-insert): Replace header prompts too.
5018 (vhdl-template-header): New argument `is-model'.
5019 (vhdl-template-generate-body): Remove "begin" for VHDL'93.
5020 (vhdl-actual-port-name): Change default value (no "_i" extension).
5021 (vhdl-template-modify): Delete date instead of kill.
5022 (vhdl-get-source-files): Don't match source files beginning with ".".
5023 (vhdl-project-*-alist): Merge with variables `vhdl-*-alist'.
5024 (vhdl-speedbar-*): Many enhancements and fixes in hierarchy browser.
5025 (vhdl-speedbar-expand-*): Display used packages.
5026 (vhdl-sequential-statement-p): Better algorithm.
5027 (vhdl-electric-mode, vhdl-stutter-mode): Change key bindings.
5028 (vhdl-electric-...): No stuttering within literals.
5029 (vhdl-template-footer): Replace keywords in footer as in header.
5030 (vhdl-align-...): Enhance alignment, add progress reporting.
5031 (vhdl-beautify-region): Bug fix.
5032 (vhdl-comment-insert-inline): Remove wrapping to next line if too long.
5033 (vhdl-testbench-configuration-name)
5034 (vhdl-update-sensitivity-list-buffer): Fix starting cursor position.
5035 (vhdl-prepare-search-[12]): Fix search within hidden code.
5036 (vhdl-speedbar-jump-to-unit): Disable cursor re-positioning.
5037 (vhdl-template-for): Fix sequential statement part detection.
5038 (vhdl-electric-space): Fix wrapping for non-word characters.
5039 (vhdl-template-standard-package): Don't insert "std" library.
5040 (vhdl-template-architecture): Code optimization.
5041 (vhdl-template-package): Search for existing package name.
5042 (vhdl-template-component-decl, vhdl-port-paste-declaration):
5043 Insert "is" in VHDL'93.
5044 (match-string-no-properties, vhdl-forward-comment): New aliases.
5045 (vhdl-speedbar-library-face, vhdl-speedbar-subprogram-face): New faces.
5046 (file-expand-wildcards, regexp-opt, subst-char-in-string)
5047 (vhdl-add-modified-file, vhdl-align-buffer, vhdl-align-declarations)
5048 (vhdl-align-list, vhdl-align-region-2, vhdl-align-region-groups)
5049 (vhdl-align-same-indent, vhdl-aput, vhdl-auto-load-project)
5050 (vhdl-backward-same-indent, vhdl-beginning-of-block)
5051 (vhdl-character-to-event, vhdl-compile-directory)
5052 (vhdl-compile-print-file-name, vhdl-compose-components-package)
5053 (vhdl-compose-insert-generic, vhdl-compose-insert-port)
5054 (vhdl-compose-insert-signal, vhdl-compose-new-component)
5055 (vhdl-compose-place-component, vhdl-compose-wire-components)
5056 (vhdl-default-directory, vhdl-delete, vhdl-delete-indentation)
5057 (vhdl-do-group, vhdl-do-list, vhdl-do-same-indent)
5058 (vhdl-duplicate-project, vhdl-end-of-block, vhdl-expand-abbrev)
5059 (vhdl-expand-paren, vhdl-export-project, vhdl-fill-group)
5060 (vhdl-fill-list, vhdl-fill-region, vhdl-fill-same-indent)
5061 (vhdl-fix-case-word, vhdl-fix-clause, vhdl-forward-comment)
5062 (vhdl-forward-same-indent, vhdl-generate-makefile-1)
5063 (vhdl-get-compile-options, vhdl-get-components-package-name)
5064 (vhdl-get-end-of-unit, vhdl-get-make-options, vhdl-get-packages)
5065 (vhdl-get-visible-signals, vhdl-goto-marker)
5066 (vhdl-hs-forward-sexp-func, vhdl-hs-minor-mode, vhdl-import-project)
5067 (vhdl-indent-group, vhdl-insert-file-contents, vhdl-load-cache)
5068 (vhdl-makefile-name, vhdl-match-string-downcase, vhdl-max-marker)
5069 (vhdl-parse-group-comment, vhdl-paste-group-comment)
5070 (vhdl-port-paste-context-clause, vhdl-port-paste-initializations)
5071 (vhdl-port-reverse-direction, vhdl-process-command-line-option)
5072 (vhdl-project-p, vhdl-re-search-backward, vhdl-re-search-forward)
5073 (vhdl-remove-trailing-spaces, vhdl-require-hierarchy-info)
5074 (vhdl-resolve-env-variable, vhdl-run-when-idle, vhdl-save-cache)
5075 (vhdl-save-caches, vhdl-scan-context-clause)
5076 (vhdl-scan-directory-contents, vhdl-set-compiler, vhdl-set-project)
5077 (vhdl-show-messages, vhdl-sort-alist, vhdl-speedbar-check-unit)
5078 (vhdl-speedbar-contract-all, vhdl-speedbar-contract-level)
5079 (vhdl-speedbar-display-directory, vhdl-speedbar-display-projects)
5080 (vhdl-speedbar-expand-all, vhdl-speedbar-expand-config)
5081 (vhdl-speedbar-expand-package, vhdl-speedbar-expand-project)
5082 (vhdl-speedbar-generate-makefile, vhdl-speedbar-insert-projects)
5083 (vhdl-speedbar-insert-subpackages, vhdl-speedbar-line-key)
5084 (vhdl-speedbar-line-project, vhdl-speedbar-line-text)
5085 (vhdl-speedbar-make-design, vhdl-speedbar-make-subpack-line)
5086 (vhdl-speedbar-make-subprogram-line, vhdl-speedbar-place-component)
5087 (vhdl-speedbar-refresh, vhdl-speedbar-set-depth)
5088 (vhdl-speedbar-update-current-project, vhdl-statistics-buffer)
5089 (vhdl-subprog-copy, vhdl-subprog-flatten, vhdl-subprog-paste-body)
5090 (vhdl-subprog-paste-call, vhdl-subprog-paste-declaration)
5091 (vhdl-subprog-paste-specification, vhdl-template-others-hook)
5092 (vhdl-template-replace-header-keywords, vhdl-toggle-project)
5093 (vhdl-uniquify, vhdl-update-file-contents, vhdl-update-hierarchy)
5094 (vhdl-update-progress-info, vhdl-update-sensitivity-list)
5095 (vhdl-update-sensitivity-list-buffer)
5096 (vhdl-update-sensitivity-list-process, vhdl-use-direct-instantiation)
5097 (vhdl-warning, vhdl-warning-when-idle)
5098 (vhdl-widget-directory-validate, vhdl-work-library)
5099 (vhdl-write-file-hooks-init): New functions.
5100 (vhdl-append, vhdl-add-warning, vhdl-align-noindent-buffer)
5101 (vhdl-align-noindent-region, vhdl-create-customize-menu)
5102 (vhdl-forward-unit, vhdl-modify-date-init, vhdl-project-switch)
5103 (vhdl-scan-file-contents, vhdl-speedbar-display-hierarchy)
5104 (vhdl-speedbar-toggle-hierarchy): Functions deleted.
5105 (vhdl-in-comment-p, vhdl-in-string-p, vhdl-standard-p): Define as
5106 functions, not defsubsts.
5107 (vhdl-in-comment-or-string-p, vhdl-speedbar-project-p):
5109 (vhdl-compose, vhdl-naming, vhdl-speedbar, vhdl-template)
5110 (vhdl-testbench): New customization groups.
5111 (vhdl-electric): Customization group deleted.
5112 (vhdl-align-alist, vhdl-doc-coding-style, vhdl-doc-keywords)
5113 (vhdl-imenu-generic-expression): Define as constants instead of
5115 (vhdl-ams-packages, vhdl-doc-release-notes, vhdl-emacs-21)
5116 (vhdl-hs-start-regexp, vhdl-time-stamp, vhdl-xemacs): New constants.
5117 (vhdl-font-lock-keywords-0): Constants deleted.
5118 (vhdl-prepare-search-1, vhdl-prepare-search-2, vhdl-visit-file):
5120 (vhdl-ext-syntax-table): Macro deleted.
5121 (vhdl-align-group-separate, vhdl-align-same-indent)
5122 (vhdl-architecture-file-name, vhdl-compile-use-local-error-regexp)
5123 (vhdl-components-package-name, vhdl-compose-architecture-name)
5124 (vhdl-compose-create-files, vhdl-compose-include-header)
5125 (vhdl-copyright-string, vhdl-default-library, vhdl-directive-keywords)
5126 (vhdl-entity-file-name, vhdl-file-name-case)
5127 (vhdl-include-group-comments, vhdl-include-type-comments)
5128 (vhdl-indent-syntax-based, vhdl-makefile-generation-hook)
5129 (vhdl-package-file-name, vhdl-project-auto-load)
5130 (vhdl-project-file-name, vhdl-project-sort, vhdl-speedbar-auto-open)
5131 (vhdl-speedbar-cache-file-name, vhdl-speedbar-display-mode)
5132 (vhdl-speedbar-jump-to-unit, vhdl-speedbar-save-cache)
5133 (vhdl-speedbar-scan-limit, vhdl-speedbar-update-on-saving)
5134 (vhdl-testbench-configuration-name)
5135 (vhdl-testbench-include-configuration, vhdl-testbench-include-header)
5136 (vhdl-testbench-include-library, vhdl-use-components-package)
5137 (vhdl-use-direct-instantiation): New options.
5138 (vhdl-compiler-options, vhdl-speedbar, vhdl-speedbar-hierarchy-indent)
5139 (vhdl-speedbar-show-hierarchy, vhdl-testbench-architecture-header)
5140 (vhdl-testbench-entity-header): Options deleted.
5141 (speedbar-indentation-width, vhdl-compile-file-name)
5142 (vhdl-config-alist, vhdl-directive-keywords-regexp)
5143 (vhdl-directory-alist, vhdl-font-lock-keywords-0, vhdl-menu-max-size)
5144 (vhdl-mode-ext-syntax-table, vhdl-modified-file-list)
5145 (vhdl-port-flattened, vhdl-port-reversed-direction)
5146 (vhdl-speedbar-hierarchy-depth, vhdl-speedbar-last-selected-project)
5147 (vhdl-speedbar-show-projects, vhdl-speedbar-shown-project-list)
5148 (vhdl-speedbar-shown-unit-alist, vhdl-speedbar-update-current-unit)
5149 (vhdl-subprog-flattened, vhdl-subprog-list, vhdl-updated-project-list)
5150 (vhdl-warnings): New variables.
5151 (vhdl-project-ent-inst-list, vhdl-project-entity-alist)
5152 (vhdl-project-package-alist, vhdl-speedbar-last-file-name)
5153 (vhdl-speedbar-shown-units-alist, vhdl-startup-warnings): Delete vars.
5155 2003-03-04 Rob Kaut <rob@siworks.com> (tiny change)
5157 * progmodes/vhdl-mode.el (vhdl-comment-uncomment-region):
5158 Remove two comment characters at start of line instead of one.
5160 2003-03-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5162 * printing.el (pr-get-symbol): Move it to next eval-and-compile.
5164 2003-03-03 John Paul Wallington <jpw@gnu.org>
5166 * ibuf-macs.el (ibuffer-aif): Use `make-symbol' instead of
5167 `gensym' in case user calls macro at runtime.
5168 (ibuffer-save-marks): Likewise.
5170 2003-03-03 Kenichi Handa <handa@m17n.org>
5172 * language/japan-util.el (japanese-symbol-table): Add two entries
5173 to make it complete.
5175 2003-03-03 Andreas Schwab <schwab@suse.de>
5177 * info.el (Info-fontify-node): Don't hide indentation before the
5178 reference name. Don't process a reference twice when a new tag is
5180 (Info-hide-note-references): Fix doc and customize type.
5182 2003-03-02 Matthew Swift <swift@alum.mit.edu>
5184 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
5185 New custom variable.
5186 (lisp-fill-paragraph): Use it. Add ?, to `paragraph-separate' so
5187 that first docstring lines ending with a comma are respected.
5188 Add "`(" to same so that function and macro bodies beginning with a
5189 backquote do not get disturbed. Revise the comments.
5191 2003-03-01 Jan Djärv <jan.h.d@swipnet.se>
5193 * startup.el (command-line): Call menu-bar-mode with 1 instead of t.
5195 * menu-bar.el (menu-bar-mode): Change to define-minor-mode
5196 and initialize as for tool-bar-mode.
5198 2003-02-28 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
5200 * net/tramp.el: Version 2.0.30 released.
5201 Replace term "path" with "localname" unless it is used for a
5203 (tramp-handle-expand-file-name): Allow ".." to cross host boundaries.
5204 (tramp-open-connection-setup-interactive-shell): Unset $ENV in
5205 addition to setting $PS1 when starting the Bourne-ish shell.
5206 Some sh implementations (eg, bash when called as sh) read the file
5207 named there on startup, which could clobber $PS1.
5208 (tramp-do-copy-or-rename-file-one-local): New function.
5209 Not implemented. Not used. Should invoke rcp or scp directly to keep
5212 2003-02-28 Michael Albinus <Michael.Albinus@alcatel.de>
5214 * net/tramp-smb.el: Replace term `path' with `localname'
5215 unless it is used for a search path. In GNU, the word `path' is
5216 reserved for search paths.
5218 * net/tramp.el (tramp-send-string, tramp-send-region): Remove.
5219 (tramp-send-string): New function. Takes over the role of the
5220 functions above, in order to have a unique place handling
5221 `tramp-chunksize'. Same implementation as `tramp-send-region'.
5222 (tramp-chunksize): It's now a defcustom. Set to 500 on systems
5223 only known to have a buggy `process-send-string' implementation.
5224 First black-listed constellation is GNU Emacs/ hpux.
5225 (tramp-send-region): Correct debug message.
5226 (tramp-bug): Add `tramp-chunksize'.
5228 2003-02-26 Matthew Swift <swift@alum.mit.edu>
5230 * startup.el: Streamline code in several functions for efficiency
5231 and readability. Rephrase booleans to avoid `(not noninteractive)'.
5232 Clarify several booleans expressions using De Morgan's laws.
5234 (command-line): Fix barf when first command-line option handled by
5235 `command-line-1' is in the form --OPT=VAL.
5236 (command-line-1): Restore intended behavior of the --directory/-L
5237 command-line option: "-L a -L b -L c" on the command-line now puts
5238 '(a b c) at the front of `load-path'.
5240 2003-02-26 Oliver Scholz <alkibiades@gmx.de>
5242 * play/gamegrid.el (gamegrid-add-score): Add info to docstring.
5243 (gamegrid-add-score-with-update-game-score-1): New function,
5244 factored out of `gamegrid-add-score-with-update-game-score'.
5245 (gamegrid-add-score-with-update-game-score): Use it. Fall back on
5246 `gamegrid-add-score-insecure' if the requested file does not exist
5247 in $(gamedir), in case the user has installed a game on his own.
5248 (gamegrid-add-score-insecure): Accept optional directory argument.
5250 2003-02-25 Andreas Schwab <schwab@suse.de>
5252 * progmodes/make-mode.el (makefile-font-lock-keywords): Protect shell
5253 variable references by requiring that $ is not preceded by another $.
5255 2003-02-25 Kenichi Handa <handa@m17n.org>
5257 * env.el (setenv): Fix previous change.
5259 2003-02-25 Ramakrishnan M <rama@gnu.org> (tiny change)
5261 * language/mlm-util.el (mlm-char-glyph): Fix more rules.
5263 2003-02-24 Stefan Monnier <monnier@cs.yale.edu>
5265 * progmodes/simula.el: Move abbrev loading to after the fun it uses.
5266 (simula-install-standard-abbrevs): Use dolist.
5267 Use system-flag when calling define-abbrev.
5269 2003-02-24 Dave Love <fx@gnu.org>
5271 * obsolete/cplus-md.el: Delete. (Requires removed c-mode.el.)
5273 * env.el (read-envvar-name): Decode names.
5274 (substitute-env-vars): Use eval-when-compile and char class.
5275 (setenv): Doc fix. Encode the data (after checking that's possible).
5276 (getenv): Encode the name and decode the result.
5278 2003-02-24 Ken Manheimer <klm@zope.com>
5280 * allout.el (allout-pre-command-business): Fix docstring.
5282 2003-02-24 Ramakrishnan M <rama@gnu.org> (tiny change)
5284 * language/mlm-util.el (mlm-char-glyph): Fix several composing rules.
5286 2003-02-24 Kenichi Handa <handa@m17n.org>
5288 * international/characters.el: Fix syntaxes of gb2312 and big5.
5290 * language/japan-util.el (sentence-end-save): Variable deleted.
5291 (setup-japanese-environment-internal): Don't setup sentence-end.
5292 (exit-japanese-environment): Function deleted.
5294 * language/japanese.el ("Japanese"): Delete `exit-function'.
5296 * textmodes/paragraphs.el (sentence-end): Add Chinese and Japanese
5299 2003-02-24 Ramakrishnan M <rama@gnu.org> (tiny change)
5301 * language/mlm-util.el (mlm-char-glyph): Add entries for "halant +
5302 rakar + halant" and "halant + rrakar + halant".
5304 2003-02-23 Richard M. Stallman <rms@gnu.org>
5306 * replace.el (query-replace-read-args): Return just 3 values.
5307 (query-replace, query-replace-regexp)
5308 (query-replace-regexp-eval, map-query-replace-regexp)
5309 (replace-string, replace-regexp): Read the start and end args
5310 separately so that the expressions are recorded in command-history.
5312 * menu-bar.el (Revert Buffer): Condition on buffer-file-number.
5314 * startup.el (inhibit-startup-hooks): New variable.
5315 (normal-top-level): Obey that variable.
5316 (command-line-1): Run emacs-startup-hook before term-setup-hook.
5317 Set inhibit-startup-hooks too.
5319 * files.el (revert-buffer): Different error message
5320 for reverting a nonexistent file.
5322 2003-02-22 Stefan Monnier <monnier@cs.yale.edu>
5324 * progmodes/cperl-mode.el: Merge changes from CPerl-5.0.
5325 (toplevel): Require man.
5326 Don't autoload tmm-prompt (it's in loaddefs.el).
5327 (cperl-electric-backspace-untabify): New var.
5328 (cperl-electric-backspace): Use it.
5329 (cperl-vc-header-alist): Extract numeric version from the Id.
5330 (cperl-build-manpage): New fun.
5331 (cperl-menu): Use it. Add toggle-autohelp.
5332 (cperl-mode) <defun-prompt_regexp>: Understand prototypes.
5333 (cperl-electric-brace): Use `cperl-after-block-p' for detection.
5334 (cperl-electric-keyword): Make $if (etc: "$@%&*") non-electric.
5335 '(' after keyword would insert a doubled paren.
5336 (cperl-calculate-indent): Update syntaxification before checks.
5337 Fix wrong indent of blocks starting with POD.
5338 (cperl-find-pods-heres): If no end of HERE-doc found, mark to the end
5339 of buffer. This enables recognition of end of HERE-doc "as one types".
5340 Require "\n" after trailing tag of HERE-doc.
5341 \( made non-quoting outside of string/comment (gdj-contributed).
5342 Likewise for \$. Remove `here-doc-group' text property at
5343 start (makes this property reliable).
5344 Text property `first-format-line' ==> t.
5345 Do not recognize $opt_s and $opt::s as s///.
5346 (cperl-after-block-p): Optional arg pre-block to check for a pre-block
5347 Recognize `continue' blocks too.
5348 (cperl-after-expr-p): Update syntaxification before checks. Work after
5349 here-docs, formats, and PODs too (affects many electric constructs).
5350 (cperl-fix-line-spacing): Allow "_" in $vars of foreach etc.
5351 (cperl-perldoc): Use case-sensitive search.
5353 * progmodes/cperl-mode.el: Merge changes from CPerl-4.35.
5354 (cperl-xemacs-p): Move.
5355 (cperl-can-font-lock): New var to replace window-system.
5356 (cperl-enable-font-lock): Use it.
5357 (cperl-use-major-mode): New var.
5358 (cperl-mode): Use it.
5359 (cperl-calculate-indent): Remove code whose removal was missed
5360 in some earlier merge.
5361 (cperl-tags-hier-init): Use display-popup-menus-p.
5363 2003-02-22 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
5365 * files.el (abbreviate-file-name): Shorten docstring: variables
5366 are now hyperlinks and `C-h v' need not be mentioned explicitly.
5368 2003-02-21 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
5370 * files.el (abbreviate-file-name): Document removal of
5371 automounter prefixes. Reported by Lars Hansen.
5373 2003-02-21 Kim F. Storm <storm@cua.dk>
5375 * emulation/cua-base.el: Add run-time check to catch users trying
5376 to use older versions of CUA-mode, rather than the version
5377 distributed with Emacs. Use autoload cookies and eval-after-load.
5379 * startup.el (command-line): Clarify and tidy up the message
5380 printed when there are errors in the user-init-file.
5381 Do not encapsulate the error data; it's read by humans here.
5382 Do not split windows when displaying the *Message* buffer.
5384 2003-02-20 Stefan Monnier <monnier@cs.yale.edu>
5386 * subr.el (with-syntax-table): Don't copy the table any more.
5388 2003-02-20 Ehud Karni <ehud@unix.mvs.co.il> (tiny change)
5390 * mail/rmail.el (rmail-insert-inbox-text): Make the pop3 mechanism
5391 work on cygwin systems too.
5393 2003-02-20 Juanma Barranquero <lektu@terra.es>
5395 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5396 Remove useless check.
5398 2003-02-20 Andreas Schwab <schwab@suse.de>
5400 * info.el (Info-extract-menu-node-name): Stop if colon is
5401 followed by open paren.
5403 2003-02-20 Francesco Potortì <pot@gnu.org>
5405 * mail/undigest.el (unforward-rmail-message): Allow nested
5406 unforwarding, that is, preserve old Forwarded-From/Date headers.
5408 2003-02-20 Kenichi Handa <handa@m17n.org>
5410 * term/w32-win.el: Call set-fontset-font with NAME nil.
5412 * international/mule-diag.el (print-fontset): If FONTSET is nil,
5413 use the default fontset.
5414 (describe-fontset): If the current frame is not using a fontset,
5415 call print-fontset with nil.
5417 2003-02-19 Andre Spiegel <spiegel@gnu.org>
5419 * vc.el (vc-binary-assoc, vc-binary-suffixes): Remove; these
5420 were accidentally left over during the VC redesign in 2000.
5422 2003-02-18 Juanma Barranquero <lektu@terra.es>
5424 * help-macro.el (make-help-screen): Fix character constant.
5426 * mouse-sel.el (mouse-sel-determine-selection-thing): Likewise.
5428 * calc/calc-graph.el (calc-graph-plot): Likewise.
5430 * calc/calc-prog.el (calc-macro-edit-variable): Likewise.
5432 * emacs-lisp/edebug.el: Likewise.
5434 * emacs-lisp/helper.el (Helper-help-scroller): Likewise.
5436 * language/cyril-util.el (standard-display-cyrillic-translit):
5439 * mail/rfc822.el (rfc822-nuke-whitespace): Likewise.
5441 * progmodes/cperl-mode.el (cperl-electric-keyword)
5442 (cperl-electric-pod, cperl-do-auto-fill): Likewise.
5444 * textmodes/reftex-ref.el (reftex-reference): Likewise.
5446 * textmodes/table.el (table-generate-source): Use ?\\ instead of
5447 space in "work in progress" message.
5449 * emacs-lisp/tq.el (tq-create): Fix quoted lambda expression.
5451 2003-02-17 Dave Love <fx@gnu.org>
5453 * progmodes/ebrowse.el (ebrowse-output): Don't use gensym.
5455 2003-02-17 Markus Rost <rost@math.ohio-state.edu>
5457 * calendar/calendar.el (diary-file-name-prefix-function):
5460 2003-02-17 Andre Spiegel <spiegel@gnu.org>
5462 * vc-cvs.el (vc-cvs-dir-state): Protect against DIR not being
5463 under CVS control. Suggested by Masanobu UMEDA.
5465 2003-02-17 Kenichi Handa <handa@m17n.org>
5467 * files.el (insert-directory): Add workaround for the case that we
5468 can't trust ls's output as to byte positions of filenames.
5470 2003-02-15 Richard M. Stallman <rms@gnu.org>
5472 * ffap.el: Many doc fixes.
5473 (ffap-replace-file-component):
5474 Rename from ffap-replace-path-component. Callers changed.
5475 (ffap-host-to-filename): Rename from ffap-host-to-path. Callers chgd.
5477 * international/iso-ascii.el (iso-ascii-display-table): New variable.
5478 (iso-ascii-standard-display-table): New variable.
5479 (iso-ascii-display): Define in iso-ascii-display-table.
5480 (iso-ascii-mode): New command.
5482 * tar-mode.el (tar-header-block-summarize):
5483 Use l for symlink, h for hard link.
5485 2003-02-15 David Kastrup <dak@gnu.org>
5487 * net/ange-ftp.el (ange-ftp-get-file-entry): Allow for graceful
5488 failure returning nil, as documented.
5490 2003-02-14 Dave Love <fx@gnu.org>
5492 * international/code-pages.el: Undo `Trailing whitespace deleted.'
5494 (cp1125, mik): Nullify mime-charset.
5496 * language/cyrillic.el ("Cyrillic-KOI8"): Fix input-method.
5498 ("Bulgarian"): Add tutorial.
5500 * international/mule-cmds.el (locale-language-names): Use Italian,
5501 Russian, Turkish, Chinese-EUC-TW.
5502 (set-locale-environment): Set ps-paper-type.
5504 2003-02-14 ARISAWA Akihiro <ari@mbf.sphere.ne.jp> (tiny change)
5506 * time.el (display-time-string-forms): Add face property to mail
5509 2003-02-14 Juanma Barranquero <lektu@terra.es>
5511 * international/mule-cmds.el (view-hello-file): Use `view-file'
5512 instead of `find-file-read-only'.
5514 * dired-aux.el (dired-query-alist): Fix use of character constant.
5516 * simple.el (backward-delete-char-untabify): Likewise.
5518 * strokes.el (strokes-read-complex-stroke): Likewise.
5520 * wid-edit.el (widget-choose): Likewise.
5522 * xml.el (xml-parse-elem-type): Likewise.
5524 * emacs-lisp/testcover-ses.el (ses-exercise-signals): Likewise.
5526 * progmodes/cperl-mode.el (cperl-next-bad-style): Likewise.
5528 * progmodes/idlwave.el (idlwave-show-begin): Likewise.
5530 2003-02-13 Stefan Monnier <monnier@cs.yale.edu>
5532 * international/mule-cmds.el (sort-coding-systems): Use \'.
5533 (select-safe-coding-system): Remove redundant assq check.
5534 Remove raw-text, emacs-mule and no-conversion from the list of
5535 proposed encodings unless there's nothing else.
5537 2003-02-13 Markus Rost <rost@math.ohio-state.edu>
5539 * files.el (find-alternate-file): Undo last change.
5541 * dired.el (dired-directory): Add autoload cookie.
5543 2003-02-13 Juanma Barranquero <lektu@terra.es>
5545 * international/characters.el: Use new ?\s syntax instead of "? "
5546 followed by a comment.
5548 * ruler-mode.el (ruler-mode-margins-char): Likewise.
5550 2003-02-13 Dave Love <fx@gnu.org>
5552 * newcomment.el (comment-indent): Ensure space before added comment.
5554 2003-02-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5556 * ps-print.el: Change the policy of background/foreground default
5558 (ps-print-version): New version number (6.5.9).
5559 (ps-default-fg, ps-default-bg): Adjust default value.
5560 (ps-begin-file, ps-begin-job): ps-default-fg and ps-default-bg
5561 variables now use `t' to indicate the use of Emacs session
5562 background/foreground color.
5563 (ps-output-string-prim): If index out of range, insert hexadecimal
5564 representation of character.
5566 2003-02-13 Kim F. Storm <storm@cua.dk>
5568 * help.el (where-is): Rename remap-command to command-remapping.
5569 * help-fns.el (describe-function-1): Likewise.
5571 2003-02-12 Glenn Morris <gmorris@ast.cam.ac.uk>
5573 * progmodes/fortran.el (fortran-fill): Fill lines that do not have
5576 2003-02-12 Stefan Monnier <monnier@cs.yale.edu>
5578 * progmodes/fortran.el (fortran-mode): Set comment-use-syntax.
5579 (fortran-fill-paragraph): Use fill-comment-paragraph.
5581 2003-02-12 Juanma Barranquero <lektu@terra.es>
5583 * files.el (file-truename): Revert change from 2002-11-27.
5585 2003-02-12 Luc Teirlinck <teirllm@mail.auburn.edu>
5587 * help-fns.el (describe-function-1): Change output for keyboard macros.
5589 2003-02-12 Andreas Schwab <schwab@suse.de>
5591 * progmodes/sh-script.el (sh-mode-map): Don't remap
5592 beginning-of-defun to the non-existing command
5593 sh-beginning-of-compound-command.
5595 2003-02-12 Karl Chen <quarl@hkn.eecs.berkeley.edu>
5597 * files.el (find-alternate-file): Check whether `dired-directory'
5600 2003-02-12 Simon Marshall <simon@gnu.org>
5602 * progmodes/make-mode.el (makefile-font-lock-keywords):
5603 Fontify single character variable references, but protect shell
5604 variables references.
5605 (makefile-mode): Make `$' be punctuation in font-lock-defaults.
5607 2003-02-12 Ami Fischman <ami@fischman.org>
5609 Face markup of calendar and diary displays: Any entry line that
5610 ends with [foo:value] where foo is a face attribute (except :box
5611 :stipple) or with [face:blah] tags, will have these values applied
5612 to the calendar and fancy diary displays. These attributes "stack"
5613 on calendar displays. File-wide attributes can be defined as
5614 follows: the first line matching "^# [tag:value]" defines the
5615 value for that particular tag. All of the tags' regexps can be
5618 * calendar/calendar.el (diary-face-attrs): New custom.
5619 (diary-file-name-prefix-function): New custom.
5620 (diary-glob-file-regexp-prefix): New custom.
5621 (diary-file-name-prefix): New custom.
5622 (generate-calendar-window): Check that font-lock-mode is bound
5623 before checking value.
5624 (mark-visible-calendar-date): Add the ability to pass face
5625 attribute/value pairs in the mark argument. Handle the mark.
5627 * calendar/diary-lib.el (diary-attrtype-convert): Convert an
5628 attribute value string to the desired type.
5629 (diary-pull-attrs): New function that pulls the attributes off a
5630 diary entry, merges with file-global attributes, and returns
5631 the (possibly modified) entry and a list of attribute/values using
5632 diary-attrtype-convert.
5633 (list-diary-entries, fancy-diary-display, show-all-diary-entries)
5634 (mark-diary-entries, mark-sexp-diary-entries)
5635 (list-sexp-diary-entries): Add handling of file-global attributes;
5636 add handling of entry attributes using diary-pull-attrs.
5637 (mark-calendar-days-named, mark-calendar-days-named)
5638 (mark-calendar-date-pattern, mark-calendar-month)
5639 (add-to-diary-list): Add optional parameter `color' for passing
5640 face attribute info through the callchain. Pass this parameter around.
5642 2003-02-11 Stefan Monnier <monnier@cs.yale.edu>
5644 * progmodes/etags.el (find-tag-tag): Move (default foo) to before
5646 (find-tag): Make sure we move point in the proper window.
5648 * progmodes/meta-mode.el (meta-fill-paragraph): Remove.
5649 (meta-common-initialization): Don't set fill-paragraph-function
5650 now that fill-paragraph takes care of comments.
5652 * progmodes/scheme.el (scheme-mode-syntax-table): Don't switch
5653 the current buffer's syntax-table.
5655 * progmodes/simula.el (simula-font-lock-syntactic-keywords): New var.
5656 (simula-font-lock-keywords-1): Simplify.
5657 (simula-font-lock-keywords-2): Use regexp-opt.
5658 (simula-emacs-features): Remove.
5659 (simula-mode-syntax-table): Setup %...\n as comment style b.
5660 (simula-mode-map): Remove compatibility cruft.
5661 (simula-keep-region-active): Remove.
5662 (simula-popup-menu): Simplify.
5663 (simula-mode): Move abbrev-table setup to top-level.
5664 (simula-match-string-or-comment): Remove.
5666 * progmodes/tcl.el (tcl-omit-ws-regexp): Correctly handle cases
5667 like `proc foo {a {b c} d} {'.
5668 (tcl-mode): Make comment-start-skip more selective.
5670 * info-xref.el (info-xref-check): Use line-beginning-position.
5671 (info-xref-all-info-files): Cons a bit less.
5672 (info-xref-check-buffer): Use push and replace-regexp-in-string.
5673 (info-xref-output): Call insert only once.
5674 (info-xref-whitespace): Remove.
5676 2003-02-11 John Paul Wallington <jpw@gnu.org>
5678 * ibuffer.el (toplevel): Don't require `font-lock';
5679 require `font-core' instead, even though it is dumped.
5681 * ibuf-ext.el (ibuffer-save-with-custom, ibuffer-add-to-tmp-hide)
5682 (ibuffer-add-to-tmp-show): Doc fixes.
5684 * language/tamil.el ("Tamil"): Doc fix.
5686 2003-02-11 Juanma Barranquero <lektu@terra.es>
5688 * language/vietnamese.el ("Vietnamese"): Fix typos.
5690 * info-xref.el (info-xref-check-buffer): Fix typo.
5692 * makefile.w32-in (DONTCOMPILE): Add malayalam.el and tamil.el.
5694 2003-02-11 Kenichi Handa <handa@m17n.org>
5696 * loadup.el: Load "language/malayalam" and "language/tamil".
5698 2003-02-11 KAWABATA, Taichi <kawabata@m17n.org>
5700 * Makefile.in (DONTCOMPILE): Add malayalam.el and tamil.el.
5702 * language/devan-util.el: Maintainer's mail address changed.
5703 (devanagari-composable-pattern): Add DANDA character.
5704 (dev-char-glyph): Add an entry for DANDA.
5706 * language/devanagari.el: Maintainer's mail address changed.
5708 * language/indian.el: Maintainer's mail address changed.
5710 * language/ind-util.el (indian-dev-base-table): Table fixed.
5711 (indian-pnj-base-table): Table contents defined.
5712 (indian-gjr-base-table): Likewise.
5713 (indian-ori-base-table): Likewise.
5714 (indian-bng-base-table): Likewise.
5715 (indian-asm-base-table): Likewise.
5716 (indian-tlg-base-table): Likewise.
5717 (indian-knd-base-table): Likewise.
5718 (indian-mlm-base-table): Likewise.
5719 (indian-tml-base-table): Likewise.
5720 (indian-pnj-itrans-v5-hash, indian-gjr-itrans-v5-hash)
5721 (indian-ori-itrans-v5-hash, indian-bng-itrans-v5-hash)
5722 (indian-asm-itrans-v5-hash, indian-tlg-itrans-v5-hash)
5723 (indian-knd-itrans-v5-hash, indian-mlm-itrans-v5-hash)
5724 (indian-tml-itrans-v5-hash): New variables.
5726 * language/malayalam.el: New file.
5727 * language/mlm-util.el: New file.
5728 * language/tamil.el: New file.
5729 * language/tml-util.el: New file.
5731 2003-02-11 Kevin Ryde <user42@zip.com.au>
5733 * info-xref.el: New file.
5735 2003-02-10 Stefan Monnier <monnier@cs.yale.edu>
5737 * textmodes/page-ext.el (pages-directory-mode-map): New.
5738 (pages-directory-map): Redefine as an varalias.
5739 (pages-directory-mode): Use new map var and run mode hook.
5740 (pages-directory-address-mode): Use define-derived-mode.
5742 * textmodes/texinfmt.el (texinfo-format-iftex, texinfo-format-ifhtml)
5743 (texinfo-format-ifplaintext, texinfo-format-tex, texinfo-format-html)
5744 (texinfo-format-ifnotinfo, texinfo-format-titlepage)
5745 (texinfo-format-titlespec, texinfo-format-ignore, texinfo-if-set)
5746 (texinfo-if-clear): Use re-search-forward's return value.
5747 (texinfo-sort-startkeyfun, texinfo-format-buffer-1)
5748 (texinfo-format-region): Use line-{end,beginning}-position.
5749 (texinfo-append-refill, texinfo-alias): Use match-string-no-properties.
5751 * emacs-lisp/eldoc.el (eldoc-echo-area-multiline-supported-p)
5752 (eldoc-use-idle-timer-p): Remove.
5753 (timer): Never require. It only works in current Emacs anyway.
5754 (eldoc-mode, eldoc-message, eldoc-display-message-p)
5755 (eldoc-docstring-format-sym-doc, eldoc-remove-command): Simplify.
5757 * ffap.el (ffap-complete-as-file-p):
5758 Use minibuffer-completing-file-name.
5760 * international/mule.el (load-with-code-conversion): Use push.
5762 * font-core.el (font-lock-defontify): Use restore-buffer-modified-p.
5764 * gud.el (gud-gdb-run-command-fetch-lines, gud-display-line):
5765 Use with-current-buffer and simplify.
5767 * help-mode.el (help-xref-on-pp): Only add xref if the text
5770 * pcvs-parse.el (cvs-parse-table): "no longer in repo" does not
5771 make the file dead if we used the -n arg.
5773 * emacs-lisp/cl-macs.el (process-get): Add setf method.
5775 * server.el (server-previous-strings): Remove.
5776 (server-process-filter): Use (process-get 'previous-string) instead.
5777 (server-sentinel): Remove code made superfluous.
5779 2003-02-10 Luc Teirlinck <teirllm@mail.auburn.edu>
5781 * info.el (Info-follow-nearest-node): Implement new behavior.
5783 2003-02-10 Juanma Barranquero <lektu@terra.es>
5785 * progmodes/ebnf-otz.el (ebnf-optimize, ebnf-optimize1): Fix typo.
5787 * progmodes/ebnf2ps.el (ebnf2ps): Fix typo.
5788 (ebnf-syntactic): Change group name and tag from "ebnf-syntatic".
5789 (ebnf-syntax, ebnf-lex-comment-char, ebnf-lex-eop-char)
5790 (ebnf-terminal-regexp, ebnf-case-fold-search)
5791 (ebnf-iso-alternative-p, ebnf-iso-normalize-p)
5792 (ebnf-yac-ignore-error-recovery): Add to group "ebnf-syntactic", not
5794 (ebnf-optimize, ebnf-print-buffer, ebnf-print-region)
5795 (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-buffer)
5796 (ebnf-eps-region, ebnf-syntax-buffer, ebnf-syntax-region)
5797 (ebnf-generate-region): Fix typo.
5799 2003-02-10 KAWABATA, Taichi <kawabata@m17n.org>
5801 * language/ind-util.el (indian-itrans-v5-table): Add entries for
5804 2003-02-10 Martin Stjernholm <mast@lysator.liu.se>
5806 * progmodes/cc-styles.el (c-set-offset): Don't find a default
5807 syntactic element through syntactic analysis if called outside
5810 2003-02-09 Martin Stjernholm <mast@lysator.liu.se>
5812 * progmodes/cc-mode.el (c-basic-common-init):
5813 Install `c-fill-paragraph' on `fill-paragraph-function'.
5814 Although it's not the normal way to call it in a CC Mode buffer it
5815 makes a direct call to `fill-paragraph' work better.
5817 2003-02-08 Kim F. Storm <storm@cua.dk>
5819 * printing.el (pr-get-symbol): Define during compile.
5821 2003-02-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5823 * printing.el: New file.
5825 2003-02-07 Francesco Potortì <pot@gnu.org>
5827 * language/european.el ("French", "Slovenian"): Fix doc strings.
5829 2003-02-06 John Paul Wallington <jpw@gnu.org>
5831 * mail/rmailsum.el (rmail-summary-previous-msg): Add docstring.
5832 (rmail-summary-line-count-flag, rmail-summary-previous-labeled-message)
5833 (rmail-summary-next-labeled-message, rmail-summary-resend)
5834 (rmail-summary-override-mail-send-and-exit): Doc fixes.
5836 2003-02-06 Francesco Potortì <pot@gnu.org>
5838 * language/european.el ("Italian"): New.
5840 2003-02-06 Matthew Swift <swift@alum.mit.edu>
5842 * dired.el (dired-move-to-filename-regexp): Support "K" suffix on
5845 2003-02-05 Juanma Barranquero <lektu@terra.es>
5847 * font-lock.el (font-lock-reference-face): Add obsolescence
5848 declaration and remove redundant info from docstring.
5850 * log-edit.el (cvs-commit-buffer-require-final-newline)
5851 (cvs-changelog-full-paragraphs): Likewise.
5853 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
5854 (mouse-wheel-click-button): Likewise.
5856 * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name): Likewise.
5858 * vc.el (vc-annotate-display, vc-checkout-carefully): Likewise.
5860 * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5861 (vc-header-alist): Likewise.
5863 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Likewise.
5865 * textmodes/outline.el (outline-visible): Likewise.
5867 2003-02-05 Kim F. Storm <storm@cua.dk>
5869 * ido.el (ido-define-mode-map):
5870 Undo last change (duplicates part of 2003-02-04 change).
5871 Remap `viper' delete commands only in file or dir mode.
5873 2003-02-05 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
5875 * ido.el (ido-define-mode-map): Interact with Viper.
5877 2003-02-05 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
5879 * net/tramp.el: Version 2.0.29 released.
5880 (tramp-send-region): Protect against tramp-chunksize being nil.
5881 (tramp-chunksize): Set default to 500 as workaround for some ssh
5883 (tramp-handle-directory-file-name): New implementation. Not sure
5885 (tramp-md5-function): Require md5 before checking function md5.
5886 If using md5-encode, put wrapper around it that converts vector of
5887 bytes to ascii text.
5888 (top-level): Avoid byte-compiler warnings of unused variables if
5889 the byte-compiler supports this. This is for the
5890 with-parsed-tramp-file-name macro which is wont to produce such stuff.
5892 2003-02-05 Michael Albinus <Michael.Albinus@alcatel.de>
5894 * net/tramp.el (tramp-handle-directory-file-name): Handle the case
5896 (tramp-completion-handle-file-name-all-completions):
5897 Define `tramp-current-user' locally. See `tramp-parse-passwd'.
5898 (tramp-parse-passwd): For su-alike methods it would be desirable
5899 to return "root@localhost" as default. Unfortunately, we have no
5900 information whether any user name has been typed already. So we
5901 (mis-)use tramp-current-user as indication, assuming it is set in
5902 `tramp-completion-handle-file-name-all-completions'.
5903 (tramp-send-region): Handle the case `tramp-chunksize' is equal 0.
5904 I did it accidentally. Infinite loop ...
5905 (tramp-get-device): `tramp-make-tramp-file-name' must not be
5906 called with NIL path. It fails in case of multi-method.
5907 (tramp-file-name-for-operation): Apply `expand-file-name' for
5908 relative file names only. Otherwise there might be problems if
5909 the default directory is another Tramp directory as the directory
5910 the file is based on.
5911 (tramp-find-foreign-file-name-handler): Check whether FILENAME is
5912 a Tramp file name. It isn't if it comes from an expanded file
5913 name (like "/xx:yy//zz").
5914 (tramp-devices): New variable. Keeps virtual device numbers.
5915 Devices must distinguish physical file systems. The device
5916 numbers provided by "lstat" aren't unique, because we operate on
5917 different hosts. So we use virtual device numbers, generated by
5918 `tramp-get-device'. Both Ange-FTP and EFS use device number -1.
5919 In order to be different, we use device number (-1 x), whereby "x"
5920 is unique for a given (multi-method method user host).
5922 (tramp-perl-file-attributes): Always return device number -1.
5923 There will be a virtual device number set in
5924 `tramp-handle-file-attributes', which replaces this one.
5925 (tramp-handle-file-attributes): Set virtual device number.
5926 (tramp-get-device): New function. Returns the virtual device
5927 number. If it doesn't exist, generate a new one.
5928 (tramp-handle-file-regular-p): Use Emacs file name primitives
5929 instead of calling tramp-handle-* equivalents directly.
5930 Needed for tramp-smb.
5931 (tramp-completion-function-alist-ssh): Add parsing of
5932 "/etc/ssh_config" and "~/.ssh/config". Suggested by Kai.
5933 (tramp-completion-function-alist, tramp-set-completion-function):
5935 (tramp-parse-sconfig, tramp-parse-sconfig-group): New functions.
5936 Provide parsing of "~/.ssh/config" style files.
5937 (tramp-completion-handle-expand-file-name):
5938 Apply `tramp-drop-volume-letter'. Otherwise, there are problems
5940 (tramp-completion-mode): Perform check (integerp last-input-event)
5941 before (event-modifiers last-input-event) -- there might be
5942 problems if `last-input-event' is a mouse event.
5943 (tramp-parse-rhosts, tramp-parse-shosts)
5944 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc):
5945 Use `file-readable-p' instead of `file-exists-p'. Otherwise these
5946 functions might block. Reported by <kin@neoscale.com>.
5948 * net/tramp-ftp.el (top-level): eval-after-load "ange-ftp"
5949 '(tramp-disable-ange-ftp). Suggested by Kai.
5950 (tramp-ftp-file-name-handler): `tramp-disable-ange-ftp' not needed
5952 (top-level): Defaults for `tramp-default-method-alist' must be a list.
5954 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5955 Apply `tramp-handle-directory-file-name'.
5956 (tramp-smb-handle-file-attributes): Apply `tramp-get-device'.
5957 ATIME and CTIME are (0 0) now (= "don't know"), which is more honest.
5958 (tramp-smb-handle-make-directory): Use Emacs file name primitives
5959 instead of calling tramp-smb-handle-* equivalents directly.
5960 (tramp-smb-read-file-entry): Return size as a number, not a string.
5961 (top-level): Defaults for `tramp-default-method-alist' must be a list.
5963 2003-02-05 Stefan Monnier <monnier@cs.yale.edu>
5965 * completion.el (eval-when-compile-load-eval, completion-eval-when)
5966 (cmpl-read-time-eval, minibuffer-window-selected-p): Remove.
5967 (completion-min-length, completion-max-length)
5968 (completion-prefix-min-length): Don't hard-code the default value
5969 when byte-compiling.
5970 (complete): Inline minibuffer-window-selected-p.
5972 2003-02-04 Richard M. Stallman <rms@gnu.org>
5974 * term.el (term-raw-map): Set it up at load time.
5975 (term-char-mode): Don't set up term-raw-map here.
5976 (term-set-escape-char): Don't set up C-x subcommand.
5977 (term-ansi-face-already-done): Rename from
5978 term-ansi-face-alredy-done.
5979 (term-command-hook): Avoid error if STRING is empty.
5980 (term, term-mode): Doc fixes.
5982 * term.el: Redesign handling of colors and faces.
5983 Delete all the faces that this mode used to make.
5984 (ansi-term-color-vector): New variable.
5985 (ansi-term-fg-faces-vector, ansi-term-bg-faces-vector)
5986 (ansi-term-inv-bg-faces-vector, ansi-term-inv-fg-faces-vector):
5988 (term-default-fg-color, term-default-bg-color): Use defcustom.
5989 (term-handle-colors-array): Use ansi-term-color-vector,
5990 and specify face attributes rather than faces in `face' property.
5992 * term.el (term-ansi-fg-faces-vector, term-ansi-bg-faces-vector)
5993 (term-ansi-inv-fg-faces-vector, term-ansi-inv-bg-faces-vector)
5994 (term-ansi-reverse-faces-vector): Delete unused variables.
5995 (term-ignore-error): Delete macro.
5997 * simple.el (back-to-indentation): Skip all whitespace
5998 except for newlines.
6000 * files.el (find-alternate-file): Handle dired-directory
6001 like buffer-file-name.
6003 * dired.el (dired-find-buffer-nocreate): Avoid error if
6004 dired-directory is nil.
6006 2003-02-04 Juanma Barranquero <lektu@terra.es>
6008 * image.el (image-type-regexps): Fix typo.
6010 * international/characters.el: Restore missing space and put a
6011 comment to protect it from being deleted as trailing whitespace.
6013 * ruler-mode.el (ruler-mode-margins-char): Likewise.
6015 2003-02-04 Francesco Potortì <pot@gnu.org>
6017 * mail/rmailout.el (rmail-output): If preserving MIME-version,
6018 preserve Content-type too.
6020 2003-02-04 Kim F. Storm <storm@cua.dk>
6022 * ido.el (ido-define-mode-map): Remap viper delete char/word
6023 commands to their ido specific equivalents. Disable ESC in
6024 viper mode (to avoid exiting insert mode), since ido doesn't
6025 work in viper command mode.
6026 (ido-delete-backward-updir, ido-delete-backward-word-updir):
6027 Handle remapped viper commands.
6029 2003-02-03 Juanma Barranquero <lektu@terra.es>
6031 * calculator.el (calculator): Don't use the minibuffer even in
6032 electric mode; use a private buffer and display it in the minibuffer
6033 window using `set-window-buffer'.
6035 2003-02-03 Dave Love <fx@gnu.org>
6037 * emacs-lisp/benchmark.el: New.
6039 2003-02-02 Andreas Schwab <schwab@suse.de>
6041 * progmodes/asm-mode.el (asm-font-lock-keywords): Allow arbitrary
6042 words separated by dots. Match optional parenthesized word at
6046 (font-lock-match-c-style-declaration-item-and-skip-to-next):
6047 Don't require underscore in word before double open-paren.
6049 2003-02-02 John Paul Wallington <jpw@gnu.org>
6051 * hexl.el (hexl-mode-map): Bind C-m to `hexl-self-insert-command'.
6053 2003-02-01 Stephen Gildea <gildea@stop.mail-abuse.org>
6055 * time-stamp.el: Tweak doc strings and preamble commentary.
6056 (time-stamp): Fix parsing of "%%a" in time-stamp-pattern (change
6057 regexp subpattern 5)
6058 (time-stamp-pattern): Initialize to nil to avoid regexp work in
6060 (time-stamp-string): Call set-time-zone-rule instead of setenv.
6061 (time-stamp-hhmmss): Remove (not needed after all).
6062 (time-stamp-month-dd-yyyy, time-stamp-dd/mm/yyyy)
6063 (time-stamp-mon-dd-yyyy, time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
6064 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd, time-stamp-yymmdd)
6065 (time-stamp-hh:mm:ss, time-stamp-hhmm): Make obsolete.
6067 2003-01-31 Stefan Monnier <monnier@cs.yale.edu>
6069 * cus-edit.el (custom-unlispify-menu-entry): Use with-current-buffer.
6070 (custom-save-variables): Use dolist, simplify.
6071 Output a message if a `requests' entry looks suspicious.
6072 (custom-save-faces): Use dolist, simplify.
6074 2003-01-31 Christoph Wedler <Christoph.Wedler@sap.com>
6076 * progmodes/antlr-mode.el: Bug fixes, miscellaneous.
6077 (antlr-mode): Make major mode work with cc-mode-5.29 or higher,
6078 make it more robust against changes in cc-mode's style variables
6079 by using `boundp' and function `c-init-language-vars' if defined.
6080 (antlr-c++-mode-extra): Only ask if language is not "Cpp".
6081 (antlr-read-value): With completion, ignore case.
6082 (antlr-run-tool-interactive): New function.
6083 (antlr-run-tool): Use it for `interactive' specification.
6085 * progmodes/antlr-mode.el: Simplify Emacs/XEmacs compatibility.
6086 (cond-emacs-xemacs): New compile-time macro.
6087 (defunx): New compile-time macro.
6088 (ignore-errors-x): New compile-time macro.
6089 (save-buffer-state-x): New compile-time macro.
6091 (antlr-scan-sexps, antlr-simple-scan-sexps): Deletia.
6092 (antlr-scan-lists, antlr-simple-scan-sexps): Deletia.
6093 (antlr-simple-default-directory): Deletia.
6094 (antlr-default-directory): Define directly.
6095 (antlr-simple-read-shell-command): Deletia.
6096 (antlr-read-shell-command): Define directly.
6097 (antlr-simple-with-displaying-help-buffer): Deletia.
6098 (antlr-with-displaying-help-buffer): Define directly.
6099 (antlr-fast-invalidate-context-cache): Deletia.
6100 (antlr-slow-invalidate-context-cache): Deletia.
6101 (antlr-invalidate-context-cache): Define directly.
6102 (antlr-fast-syntactic-context): Deletia.
6103 (antlr-slow-syntactic-context): Deletia.
6104 (antlr-syntactic-context): Define directly.
6106 (antlr-mode-menu): Use new macros.
6107 (antlr-font-lock-additional-keywords): Ditto.
6108 (antlr-skip-sexps): Ditto.
6109 (antlr-end-of-rule): Ditto.
6110 (antlr-beginning-of-rule): Ditto.
6111 (antlr-end-of-body): Ditto.
6112 (antlr-beginning-of-body): Ditto.
6113 (antlr-hide-actions): Ditto.
6114 (antlr-option-kind): Ditto.
6116 * progmodes/antlr-mode.el: In Emacs, use face attribute
6118 (antlr-font-lock-keyword-face): Use new macros.
6119 (antlr-font-lock-syntax-face): Ditto.
6120 (antlr-font-lock-ruledef-face): Ditto.
6121 (antlr-font-lock-tokendef-face): Ditto.
6122 (antlr-font-lock-literal-face): Ditto.
6124 Changes from 2002-05-24:
6126 * progmodes/antlr-mode.el: Version 2.2a.
6128 Changes from 2002-05-03:
6130 * progmodes/antlr-mode.el: Make context parsing faster on Emacs,
6131 for faster syntax highlighting, indentation and imenu support.
6132 Suggested by Aaron Davies <adavies42@users.sourceforge.net>.
6133 (antlr-slow-context-cache): New variable.
6134 (antlr-slow-syntactic-context): Use cache.
6135 (antlr-slow-cache-enabling-symbol): New internal variable.
6136 (antlr-slow-cache-diff-threshold): New variable.
6137 (antlr-fast-invalidate-context-cache): Rename from
6138 antlr-xemacs-bug-workaround.
6139 (antlr-imenu-create-index-function): Search from beginning.
6141 * progmodes/antlr-mode.el: More sophisticated indentation, i.e.,
6142 use the indentation engine of cc-mode for most actions.
6143 (antlr-c-common-init): Allow nil for `antlr-indent-style'.
6144 (antlr-indent-line): Use indentation engine of cc-mode more often.
6145 (antlr-indent-at-bol-alist): Only used for header actions.
6146 (antlr-disabling-cc-syntactic-symbols): New variable.
6147 (antlr-indent-item-regexp): Delete stuff for actions.
6148 (antlr-indent-at-bol-alist): With language "Java", indent
6149 "package" and "import" at column 0 in header part.
6151 * progmodes/antlr-mode.el (antlr-simple-default-directory): Define.
6152 (antlr-simple-read-shell-command): Define.
6153 (antlr-simple-with-displaying-help-buffer): Define.
6154 (antlr-simple-scan-sexps, antlr-simple-scan-lists):
6155 Rename from antlr-scan-{sexps,lists}-internal.
6157 Changes from 2002-02-28:
6159 * progmodes/antlr-mode.el: Version 2.2 is released.
6161 * progmodes/antlr-mode.el (antlr): Move to SourceForge.net
6163 * progmodes/antlr-mode.el: Minor bug fixes: insert options
6165 (antlr-option-location): Don't use point as position where to
6166 insert options if point is in comment.
6167 (antlr-mode): Don't set style here.
6168 (antlr-c-common-init): Set style here. If boundp, set
6169 `c-current-comment-prefix' to not break indentation in comments.
6170 Hm, I should probably split `c-common-init' from cc-mode into two
6171 parts, one of which I could use for antlr-mode.el.
6173 Changes from 2002-01-31:
6175 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6176 Also highlight `~' with `antlr-font-lock-syntax-face'.
6177 Suggested by Helmut Neukirchen <neukirchen@itm.mu-luebeck.de>.
6179 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
6190 * international/mule.el:
6191 * net/browse-url.el:
6195 * woman.el: Added cygwin to system-type comparisons.
6197 2003-01-31 Francesco Potortì <pot@gnu.org>
6199 * mail/undigest.el (rmail-forward-separator-regex): New custom
6201 (unforward-rmail-message): Use it.
6203 2003-01-30 Dave Love <fx@gnu.org>
6205 * textmodes/ispell.el (lookup-words): Fix last change.
6207 2003-01-29 John Paul Wallington <jpw@gnu.org>
6209 * font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'.
6211 * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
6212 `deftheme'. Fix docstring offsets for `define-ibuffer-filter' and
6213 `define-ibuffer-sorter'.
6214 (lisp-imenu-generic-expression): Add `deftheme' to types.
6216 * custom.el (customize-mark-to-save, customize-mark-as-set)
6217 (custom-remove-theme): Doc fixes.
6219 2003-01-29 Didier Verna <didier@xemacs.org>
6221 * cus-edit.el (custom-save-variables): Also save non theme'd ones.
6222 * cus-edit.el (custom-save-faces): Ditto.
6224 2003-01-29 Juanma Barranquero <lektu@terra.es>
6226 * composite.el (decompose-composite-char): Fix docstring.
6228 * select.el (x-set-cut-buffer): Fix docstring. Check type with
6229 `stringp' instead of `substring'.
6231 * textmodes/reftex.el (reftex-TeX-master-file): Use really the buffer
6232 file name if no other master file is located.
6234 * progmodes/cperl-mode.el (cperl-beautify-level)
6235 (cperl-beautify-regexp): Fix use of `prefix-numeric-value'.
6236 (cperl-calculate-indent): Fix typo.
6238 2003-01-29 Taro Kawagishi <tarok@transpulse.org>
6240 * arc-mode.el (archive-lzh-summarize): Fix previous change.
6242 2003-01-29 Kim F. Storm <storm@cua.dk>
6244 * emacs-lisp/authors.el: New format of AUTHORS file; list each
6245 author name once followed by contributed and changed files.
6246 Improve selection of entries to include in list, and generate list
6247 of unrecognized entries indicating syntax errors in ChangeLog files.
6248 (authors-coding-system): New variable.
6249 (authors-many-files): Update doc string.
6250 (authors-aliases): Change format. Now one entry with multiple
6252 (authors-valid-file-names, authors-renamed-files-alist)
6253 (authors-renamed-files-regexps): New variables.
6254 (authors-canonical-file-name): New function. Validates that file
6255 exists or occurs in one of the above lists. Record unrecognized
6256 file names in global authors-invalid-file-names list.
6257 (authors-add): Change to record per-change counts.
6258 (authors-canonical-author-name): Handle new format of
6259 authors-aliases list.
6260 (authors-scan-change-log): Rename FILE arg to LOG-FILE.
6261 Change doc string to describe new entry format.
6262 Only add author entries for valid file names.
6263 (authors-print): Replace by authors-add-to-author-list.
6264 (authors-add-to-author-list): New function which reorders
6265 per-file entries and adds them to global authors-author-list.
6266 (authors): Instead of authors-print to insert in *Authors* buffer,
6267 use authors-add-to-author-list to reorder the list and then
6268 insert result in *Authors* buffer with new format.
6269 Generate *Authors Errors* compilation-mode buffer listing
6270 unrecognized ChangeLog entries.
6272 2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
6274 * term/mac-win.el: Add entries in function-key-map for
6275 [tab], [backspace], [escape].
6277 2003-01-28 Kim F. Storm <storm@cua.dk>
6279 * info.el (Info-extract-menu-node-name): Another fix for
6280 2003-01-24 change. Also stop search if : is followed by TAB.
6282 2003-01-28 John Paul Wallington <jpw@gnu.org>
6284 * ibuf-ext.el (ibuffer-yank-filter-group): Move check for empty
6285 `ibuffer-filter-group-kill-ring' out of `interactive' declaration.
6287 2003-01-28 Martin Stjernholm <mast@lysator.liu.se>
6289 * progmodes/cc-vars.el, progmodes/cc-mode.el
6290 (c-require-final-newline): Made this variable an alist to
6291 specify a value for each language. The default value causes
6292 `require-final-newline' to be set to t only in languages where
6293 the standard requires a final newline.
6295 2003-01-27 Kim F. Storm <storm@cua.dk>
6297 * simple.el (kill-new): Improve doc string for yank-handler.
6298 Signal args-out-of-range error if yank-handler is specified for
6301 * subr.el (insert-for-yank): Remove COMMAND element from yank handler.
6303 2003-01-27 Dave Love <fx@gnu.org>
6305 * dired-x.el (dired-filename-at-point): Fix last change and tidy up.
6307 * thingatpt.el (thing-at-point-file-name-chars):
6308 Include non-ASCII again and re-write the filename ops.
6310 2003-01-27 David Ponce <david@dponce.com>
6312 * makefile.w32-in (update-subdirs-SH): Create lisp/subdirs.el.
6314 2003-01-27 Juanma Barranquero <lektu@terra.es>
6316 * filesets.el (filesets-file-open): Fix typo.
6318 * vcursor.el (vcursor-disable): Likewise.
6320 * eshell/esh-cmd.el (eshell-separate-commands): Likewise.
6322 * progmodes/cc-styles.el (c-make-styles-buffer-local): Likewise.
6324 * progmodes/cc-vars.el (c-offsets-alist): Likewise.
6326 * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Likewise.
6328 2003-01-26 Martin Stjernholm <mast@lysator.liu.se>
6330 * progmodes/cc-vars.el, progmodes/cc-mode.el
6331 (c-require-final-newline): Add a variable to make the
6332 initialization of `require-final-newline' more configurable.
6334 2003-01-26 Jan Djärv <jan.h.d@swipnet.se>
6336 * emacs-lisp/authors.el (authors-aliases): Add Jan D.
6337 Set iso-2022-7bit coding: cookie.
6339 2003-01-26 Kim F. Storm <storm@cua.dk>
6341 * info.el (Info-extract-menu-node-name): Fix 2003-01-24 change.
6342 Don't search for next colon if current colon is followed by
6343 one of ".", ",", ";", or ")".
6344 (info-insert-file-contents) [!MSDOS]: Avoid byte-compiler warning.
6345 (Info-find-node) [!MSDOS]: Avoid byte-compiler warning.
6347 2003-01-26 Richard M. Stallman <rms@gnu.org>
6349 * thingatpt.el (thing-at-point-file-name-chars): Undo previous change.
6351 2003-01-25 Bill Wohler <wohler@newt.com>
6353 * mh-e: Created directory. ChangeLog will appear in a week when we
6354 release version 7.2.
6356 * mail/mh-alias.el, mail/mh-comp.el, mail/mh-customize.el, mail/mh-e.el:
6357 * mail/mh-funcs.el, mail/mh-identity.el, mail/mh-index.el:
6358 * mail/mh-loaddefs.el, mail/mh-mime.el, mail/mh-pick.el:
6359 * mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el:
6360 * mail/mh-xemacs-compat.el: Move to mh-e directory.
6361 Note that reply2.pbm and reply2.xpm, which were created by the
6362 MH-E package, were left in mail since they can probably be used by
6363 other mail packages.
6365 * makefile.w32-in (WINS): Add mh-e.
6367 * makefile.nt (WINS): Add mh-e.
6369 2003-01-25 Richard M. Stallman <rms@gnu.org>
6371 * emacs-lisp/bytecomp.el (byte-compile-file-form-custom-declare-variable):
6372 Compile any lambda-expressions among the args.
6374 * view.el (view-mode): Doc fix.
6376 * ido.el: Many doc fixes.
6377 (ido-complete): Fix message.
6379 2003-01-25 Taro Kawagishi <tarok@transpulse.org>
6381 * arc-mode.el (archive-unixdate): Correct the date field string.
6382 (archive-lzh-summarize): Extend it to allow the LZH level 2 header
6383 type (which is most prevalent now), in addition to the already
6384 supported level 0 and 1 header types.
6386 2003-01-25 Markus Rost <rost@math.ohio-state.edu>
6388 * international/mule-cmds.el (set-language-info)
6389 (current-language-environment): Simplify setting the type of
6390 current-language-environment.
6392 2003-01-25 Kim F. Storm <storm@cua.dk>
6394 * emulation/cua-base.el (cua--init-keymaps): Move C-S-x and C-S-c
6395 bindings from cua--cua-keys-keymap to cua--region-keymap, as they are
6396 only needed when the region is active. This also makes the output
6397 from C-h b look normal when cua-mode is enabled (no C-S-x/c bindings).
6399 2003-01-25 Michael Kifer <kifer@cs.stonybrook.edu>
6401 * ediff.el (ediff-revision): Better defaults.
6403 * ediff-vers.el (ediff-vc-latest-version): New function.
6404 (ediff-vc-internal): Use latest version instead of working version.
6406 2003-01-24 Thien-Thi Nguyen <ttn@gnu.org>
6408 * info.el (Info-extract-menu-node-name): When looking for end of menu
6409 item, don't stop at first ":"; instead, continue until trailing
6410 context is either a space or newline.
6411 (Info-complete-menu-item): Var `pattern': allow ":" in menu item.
6412 (Info-menu): Likewise, for regexp used in backwards search.
6413 (Info-try-follow-nearest-node): Remove case added in previous edit.
6414 Change regexp in the following case to allow ":" in menu item.
6415 (Info-fontify-node): Fix bug: Handle `next-property-change' returning
6416 point-max as "hasn't already been done".
6418 2003-01-24 Thien-Thi Nguyen <ttn@gnu.org>
6420 * info.el (Info-try-follow-nearest-node): Add case: Handle menu item
6421 terminated by ": " as an index entry.
6423 2003-01-24 Juanma Barranquero <lektu@terra.es>
6425 * isearch.el (isearch-forward): Fix typo.
6427 2003-01-24 Kenichi Handa <handa@m17n.org>
6429 * international/mule.el (decode-coding-inserted-region):
6430 Rename from decode-coding-region-as-inserted-from-file to make it fit
6431 well in the Lisp manual.
6433 * jka-compr.el (jka-compr-insert-file-contents):
6434 Call decode-coding-inserted-region.
6436 2003-01-24 John Paul Wallington <jpw@gnu.org>
6438 * ibuffer.el (ibuffer-window-list): Remove.
6439 (ibuffer-confirm-operation-on): Use `window-list' instead.
6440 (ibuffer-load-hook): New customizable variable.
6442 (ibuffer-customize): New command.
6443 (ibuffer-mode-map): Bind it.
6444 (ibuffer-mode-map): Add menu separator in View>Sort menu.
6445 (ibuffer-mode): Tidy.
6446 (ibuffer-fontification-alist, ibuffer-always-show-last-buffer)
6447 (ibuffer-default-directory, ibuffer-default-sorting-mode)
6448 (ibuffer-maybe-show-predicates, ibuffer-hook, ibuffer-mode-hook)
6449 (ibuffer-map-lines): Doc fixes.
6451 * ibuf-ext.el (ibuffer-copy-filename-as-kill): C-u means relative
6452 filenames. Use `kill-new'.
6454 2003-01-23 Dave Love <fx@gnu.org>
6456 * abbrev.el (write-abbrev-file): Simplify, and put a coding cookie
6459 2003-01-23 Masatake YAMATO <jet@gyve.org>
6461 * progmodes/asm-mode.el (asm-mode): Add syntax table entries for
6464 2003-01-23 Kenichi Handa <handa@m17n.org>
6466 * files.el (insert-directory): Read the output of "ls" by
6467 no-conversion, and decode it later while preserving
6468 `dired-filename' property.
6470 2003-01-23 Markus Rost <rost@math.ohio-state.edu>
6472 * descr-text.el (describe-text-mode-hook): Add a group.
6474 2003-01-23 John Paul Wallington <jpw@shootybangbang.com>
6476 * term/mac-win.el (interprogram-paste-function): Handle empty
6479 2003-01-22 Aubrey Jaffer <agj@alum.mit.edu> (tiny change)
6481 * info.el (Info-index): Change pattern so that index entries with
6482 colons can be read properly; also, require at least one space
6483 after the colons, which makeinfo puts in.
6485 2003-01-22 Andreas Schwab <schwab@suse.de>
6487 * jka-compr.el (jka-compr-insert-file-contents): Fix typo in last
6490 2003-01-22 Markus Rost <rost@math.ohio-state.edu>
6492 * Makefile.in (bootstrap-after): New target.
6493 (bootstrap): Move finder-data, custom-deps to bootstrap-after.
6495 2003-01-22 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
6497 * info.el (Info-index-next): Use "(`,' tries to find next)" for
6498 more matches for consistency with standalone info browser.
6500 2003-01-22 Kenichi Handa <handa@m17n.org>
6502 * international/mule.el
6503 (decode-coding-region-as-inserted-from-file): New function.
6505 * jka-compr.el (jka-compr-insert-file-contents): Read a process
6506 output without decoding. Decode the result by
6507 decode-coding-region-as-inserted-from-file.
6509 2003-01-22 Kim F. Storm <storm@cua.dk>
6511 * ido.el (ido-make-file-list, ido-make-dir-list): Don't move
6512 visited directories to end of list; it's the wrong thing to do if
6513 we want to find a file or directory in such directories.
6515 * simple.el: Doc fixes.
6516 * subr.el: Doc fixes.
6518 2003-01-20 Nick Roberts <nick@nick.uklinux.net>
6520 * gud.el (gud-display-line): If the current file is newer than its
6521 buffer, offer to reread the file.
6522 (gud-keep-buffer): New buffer local variable. Ensures offer to
6523 reread file is made just once.
6525 2003-01-20 Stefan Monnier <monnier@cs.yale.edu>
6527 * emacs-lisp/regexp-opt.el (regexp-opt-group): Undo last change.
6528 Fix the docstring instead.
6530 2003-01-20 Glenn Morris <gmorris@ast.cam.ac.uk>
6532 * calendar/calendar.el (calendar-only-one-frame-setup): Autoload it.
6534 2003-01-20 Richard M. Stallman <rms@gnu.org>
6536 * simple.el (completion-setup-function): Set default-directory
6537 in the minibuffer, so it'll be copied into the completion list buffer.
6539 * emacs-lisp/regexp-opt.el (regexp-opt-group): Compute HALF2 properly.
6541 * loadup.el (load-path): Rename `path' local var.
6543 * progmodes/octave-mod.el (octave-mode-map): Change C-c i bindings
6544 to C-c C-i. Duplicate its bindings with last char a ctl char.
6545 Also change C-c f to C-c C-f.
6547 2003-01-20 Markus Rost <rost@math.ohio-state.edu>
6549 * ls-lisp.el (ls-lisp-use-insert-directory-program): Make default
6550 value system dependent.
6551 (ls-lisp-support-shell-wildcards): Add autoload cookie.
6553 2003-01-19 Kim F. Storm <storm@cua.dk>
6555 * msb.el: Use `dir' instead of `path' everywhere.
6557 2003-01-18 Kim F. Storm <storm@cua.dk>
6559 * simple.el (kill-new, kill-append, kill-region):
6560 New optional parameter yank-handler.
6561 (yank-excluded-properties): Add yank-handler to list.
6562 (yank-undo-function): New variable.
6563 (yank): Use it to undo previous yank or yank-pop command.
6564 Allow insert-for-yank to override this-command.
6566 * subr.el (insert-for-yank): Arg list changed; now only accepts one
6567 string rather than any number of strings; no callers needed change.
6568 Use yank-handler text property on the arg string.
6569 Set yank-undo-function variable appropriately for yank-pop.
6571 2003-01-18 Stefan Monnier <monnier@cs.yale.edu>
6573 * textmodes/fill.el (fill-comment-paragraph): Fix simplistic
6574 regexp-concatenation.
6576 * add-log.el (add-change-log-entry): Don't leave space at eol.
6577 (add-log-current-defun): Perl functions names can't have (or {.
6579 * progmodes/sh-script.el (sh-indent-line): Use indent-line-to.
6580 (sh-non-closing-paren): New const.
6581 (sh-case, sh-while-getopts): Use it to make props non-sticky.
6582 (sh-add-completer): Use test-completion.
6584 2003-01-18 Vasily Korytov <deskpot@myrealbox.com> (tiny change)
6586 * progmodes/cperl-mode.el: Don't make faces depend on window-system.
6588 2003-01-18 Markus Rost <rost@math.ohio-state.edu>
6590 * cus-edit.el (customize-changed-options): Undo last doc change.
6592 2003-01-17 Stefan Monnier <monnier@cs.yale.edu>
6594 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
6595 Don't treat \n specially in sub-skeletons.
6597 2003-01-17 Dave Love <fx@gnu.org>
6599 * international/ucs-tables.el: Redo 8859-6 change in the right place.
6601 2003-01-17 Kenichi Handa <handa@m17n.org>
6603 * international/fontset.el: Don't setup the default fontset and
6604 font-encoding-alist at the top level.
6605 (setup-default-fontset): New function.
6606 (create-fontset-from-fontset-spec): Delete autoload cookie.
6608 * term/x-win.el: Require fontset unconditionally again.
6609 Call setup-default-fontset at the top level.
6611 * term/w32-win.el: Call setup-default-fontset.
6613 * term/mac-win.el: Require fontset and call setup-default-fontset.
6615 2003-01-16 Stefan Monnier <monnier@cs.yale.edu>
6617 * textmodes/fill.el (fill-region-as-paragraph): Only erase `hard'
6618 property until end-of-paragraph.
6620 2003-01-16 Kenichi Handa <handa@m17n.org>
6622 * international/ucs-tables.el: Undo the last change.
6624 2003-01-15 Dave Love <fx@gnu.org>
6626 * thingatpt.el (thing-at-point-file-name-chars): Include non-ASCII
6627 and use documented treatment of -.
6629 * dired-x.el (dired-filename-at-point): Fix filename-chars.
6631 * international/ucs-tables.el: Set up tables for 8859-6.
6633 * server.el (server-window): Customize.
6635 (server-unload-hook): Call server-start.
6637 2003-01-15 John Wiegley <johnw@gnu.org>
6639 * eshell/em-hist.el (eshell-save-history-on-exit):
6640 Rename `eshell-ask-to-save-history' to `eshell-save-history-on-exit',
6641 because the former name is somewhat unrelated to the variables'
6644 2003-01-15 Deepak Goel <deego@gnufans.org>
6646 * calc/README: Add new maintainer.
6650 * calc/calc.el (calc-bug-address): Change address to deego@gnufans.org.
6652 2003-01-15 Andrew Innes <andrewi@gnu.org>
6654 * makefile.w32-in (loaddefs.el): Invoke make to build stub file
6655 using appropriate rule for build environment.
6656 (loaddefs.el-SH, loaddefs.el-CMD): New targets. Include small set
6657 of autoloads and defvars, sufficient to dump bootstrap emacs.
6658 (update-subdirs-SH): Use hard-coded list of top-level lisp
6659 subdirs, because find program on Windows is not compatible with
6661 (compile-CMD, compile-SH): Use `batch-byte-compile-if-not-done'.
6662 Explicitly load loaddefs.el so that bootstrap emacs can compile
6664 (bootstrap-clean): Add dependency on loaddefs.el, to ensure
6665 minimal stub sufficient for dumping bootstrap emacs is available.
6667 * loadup.el: Include lisp/textmodes in load-path for bootstrap
6668 emacs, to resolve ispell menu reference.
6670 2003-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> (tiny change)
6672 * international/mule.el (optimize-char-coding-system-table):
6675 * term/mac-win.el: Setup the fontset "fontset-mac" correctly.
6677 2003-01-14 Stefan Monnier <monnier@cs.yale.edu>
6679 * pcvs-info.el (cvs-fileinfo-from-entries): Deal with Solaris'
6680 occasional use of "05" rather than " 5" for day-of-month.
6682 * log-view.el (log-view-message-re): The rev might be locked.
6684 2003-01-14 Nick Roberts <nick@nick.uklinux.net>
6686 * gdb-ui.el: Improve commentary.
6687 (gdb-window-height, gdb-window-width, gdb-display-number-end):
6688 Customize the dimensions of frames for displayed expressions.
6689 (gdb-error-begin): Comment out because it is not used because of
6690 bug/quirk in annotations.
6691 (gdb-reset): Use with-current-buffer.
6693 2003-01-14 Kim F. Storm <storm@cua.dk>
6695 * ido.el (ido-read-internal, ido-file-internal)
6696 (ido-copy-current-file-name, ido-wide-find-dirs-or-files):
6697 Don't use `path' as name of local variables holding a file name.
6699 * arc-mode.el (archive-arc-rename-entry): Fix error message.
6700 (archive-lzh-summarize): Rename local var `path' to `dir'.
6701 (archive-unique-fname) [!MSDOS]: Avoid byte-compiler warning.
6703 * dired.el: Doc fixes.
6704 * dired-aux.el: Rename `whole-path' to `whole-name' throughout.
6705 (dired-mark-read-regexp): Use "Abs." prefix instead of "Path".
6706 * dired-x.el: Doc fixes.
6708 * fast-lock.el (fast-lock-cache-name): Doc fix.
6710 * net/browse-url.el (browse-url-filename-alist): Doc fix.
6712 2003-01-14 John Paul Wallington <jpw@shootybangbang.com>
6714 * apropos.el (apropos): Restore autoload cookie. Fix typo in
6715 "error retrieving function documentation" output.
6717 2003-01-14 Kim F. Storm <storm@cua.dk>
6719 * subr.el (process-put, process-get): New functions.
6721 * simple.el (clone-process): Copy process' plist to new process.
6723 2003-01-13 Markus Rost <rost@math.ohio-state.edu>
6725 * cus-dep.el (custom-make-dependencies): Don't set standard-value
6726 and version numbers for variables. Handle faces.
6728 * cus-edit.el (customize-changed-options): Doc addition. Load the
6729 version deps earlier. Use other tests for groups and variables.
6732 2003-01-14 Kim F. Storm <storm@cua.dk>
6734 * ido.el: Doc fixes.
6735 (ido-max-file-prompt-width): Rename from ido-max-prompt-path.
6736 (ido-rewrite-file-prompt-functions): Rename from
6737 ido-make-file-prompt-hook. Directory name is now in dynamic
6738 variable `dirname' (instead of `path').
6739 (ido-rewrite-file-prompt-rules): Rename from
6740 ido-rewrite-prompt-path-rules.
6741 (ido-make-prompt): Directory name now in `dirname' var.
6742 (ido-complete): Fix error message.
6744 2003-01-13 John Paul Wallington <jpw@shootybangbang.com>
6746 * server.el (server-process-filter): Use `minibufferp' to test
6747 whether we are inside a minibuffer.
6748 (server-process, server-kill-new-buffers): Doc fixes.
6750 2003-01-13 Dave Love <fx@gnu.org>
6752 * international/utf-16.el (mule-utf-16-be, mule-utf-16-le):
6753 Remove pre-write-conversion.
6755 2003-01-13 Kim F. Storm <storm@cua.dk>
6757 * hexl.el (hexl-mode-map): Don't quote remapped command names.
6759 2003-01-13 David Ponce <david@dponce.com>
6761 * ruler-mode.el (ruler-mode): Cleanup buffer local variable
6762 `header-line-format' if it didn't exist when `ruler-mode' was enabled.
6764 2003-01-13 Masatake YAMATO <jet@gyve.org>
6766 * ruler-mode.el (ruler-mode-comment-column-char)
6767 (ruler-mode-goal-column-char, ruler-mode-set-goal-column-ding-flag)
6768 (ruler-mode-mouse-current-grab-object): New variables.
6769 (ruler-mode-comment-column-face, ruler-mode-goal-column-face):
6771 (ruler-mode-mouse-set-fill-column): Remove.
6772 (ruler-mode-mouse-grab-any-column)
6773 (ruler-mode-mouse-drag-any-column-iteration)
6774 (ruler-mode-mouse-drag-any-column): New functions.
6775 (ruler-mode-map) [header-line down-mouse-2]: Bound to
6776 `ruler-mode-mouse-grab-any-column' instead of
6777 `ruler-mode-mouse-set-fill-column'.
6778 (ruler-mode-ruler-help-echo): Update its value.
6779 (ruler-mode-ruler-help-echo-when-goal-column): New help string used
6780 when goal-column is already set.
6781 (ruler-mode-ruler-help-echo-tab): Rename to...
6782 (ruler-mode-ruler-help-echo-when-tab-stops): New.
6783 (ruler-mode-fill-column-help-echo, ruler-mode-comment-column-help-echo)
6784 (ruler-mode-goal-column-help-echo): New help strings.
6785 (ruler-mode-ruler): Use `ruler-mode-ruler-help-echo-when-goal-column'
6786 instead of `ruler-mode-ruler-help-echo' if `goal-column' is set.
6787 Show `comment-column' and `goal-column'. Echo the different help
6788 string for each *-column characters on the ruler.
6790 2003-01-13 Richard M. Stallman <rms@gnu.org>
6792 * apropos.el (apropos-documentation-property): New function.
6793 (apropos): Use apropos-documentation-property.
6795 * files.el (mode-line-process): Mark as risky.
6797 * help.el (where-is): Catch errors in indirect-function.
6799 * server.el (server-process-filter): Comment out -eval.
6800 Don't switch buffers if inside isearch or minibuffer.
6802 * progmodes/compile.el (compilation-revert-buffer):
6803 If buffer has a file, revert it in the normal way.
6805 * term/x-win.el: Require fontset conditionally again.
6807 2003-01-13 Kim F. Storm <storm@cua.dk>
6809 * ido.el (ido-enable-tramp-completion): New defcustom.
6810 (ido-enter-single-matching-directory): Change default to 'slash.
6811 (ido-is-tramp-root): New defun.
6812 (ido-is-root-directory, ido-is-ftp-directory, ido-is-slow-ftp-host)
6813 (ido-may-cache-directory, ido-final-slash, ido-read-internal)
6814 (ido-complete, ido-make-file-list1, ido-make-dir-list1):
6815 Handle tramp completion.
6816 (ido-file-name-all-completions1): New defun for tramp completion.
6817 (ido-file-name-all-completions): Use it.
6818 (ido-set-matches1): Relax matching of text with trailing slash.
6819 (ido-exhibit): Handle tramp completion.
6820 Simplified code using nested cond forms using new `refresh' var.
6821 Fixed handling of /~user/ paths.
6823 2003-01-12 Andreas Schwab <schwab@suse.de>
6825 * arc-mode.el (archive-mode-map): Use command remapping instead of
6826 substitute-key-definition.
6827 * emerge.el (emerge-setup-fixed-keymaps): Likewise.
6828 * msb.el (msb-mode-map): Likewise.
6829 * forms.el (forms--change-commands): Likewise.
6830 * hexl.el (hexl-mode-map): Likewise.
6831 * mail/mailabbrev.el (Commentary): Likewise.
6832 * play/decipher.el (decipher-mode-map): Likewise.
6833 * play/gomoku.el (gomoku-mode-map): Likewise.
6834 * play/landmark.el (lm-mode-map): Likewise.
6835 * play/solitaire.el (solitaire-mode-map): Likewise.
6836 * progmodes/sh-script.el (sh-mode-map): Likewise.
6837 * textmodes/picture.el (picture-substitute): Likewise.
6839 * ielm.el (inferior-emacs-lisp-mode):
6840 Bind comint-dynamic-complete-functions locally.
6842 * buff-menu.el (Buffer-menu-select): Fix for effect of header line.
6844 2003-01-11 Andreas Schwab <schwab@suse.de>
6846 * textmodes/sgml-mode.el (sgml-font-lock-keywords-2): Add flag to
6847 merge with existing fontification.
6849 2003-01-11 Nick Roberts <nick@nick.uklinux.net>
6851 * gud.el (gud-kill-buffer-hook): Save gud-minor-mode type.
6852 (gud-reset): New function. Reset environment at end of debugging.
6853 (gud-sentinel): Call gud-reset or gdb-reset.
6854 (gud-menu-map, gud-tool-bar-map, gdb): Change gud-goto to gud-until.
6856 * gdb-ui.el (gud-display): Use GDB command ptype instead of whatis
6857 to find out if variable should be dereferenced.
6858 (gud-display1): Exit if there is `No symbol'.
6859 (gdb-expressions-mode-map): Correction to key-binding.
6860 (gdb-reset): New function. Reset environment at end of debugging.
6863 2003-01-10 Dave Love <fx@gnu.org>
6865 * international/code-pages.el (cp-make-coding-system): Fix last change.
6867 2003-01-10 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
6869 * dired.el (dired-garbage-files-regexp): Use \\' instead of $ and
6870 use regexp-opt for readability.
6872 2003-01-10 Mark A. Hershberger <mah@everybody.org>
6874 * xml.el (xml-parse-tag, xml-parse-attlist, xml-skip-dtd)
6875 (xml-parse-dtd, xml-parse-elem-type): Be more flexible in recognizing
6878 2003-01-10 Luc Teirlinck <teirllm@mail.auburn.edu>
6880 * progmodes/sh-script.el (sh-set-shell): Make sh-shell-file the default
6883 2003-01-09 John Wiegley <johnw@gnu.org>
6885 * pcomplete.el (pcomplete-termination-string): Add a variable
6886 for modifying the string which is inserted after a completion or
6887 expansion using pcomplete.
6889 2003-01-09 Karl Berry <karl@gnu.org>
6891 * sort.el (sort-regexp-fields): Pass noerror to re-search-forward,
6892 so that we don't fail if no records match record-regexp.
6894 2003-01-09 Markus Rost <rost@math.ohio-state.edu>
6896 * cus-edit.el (customize-group, customize-group-other-window):
6897 Remove unnecessary calls to custom-load-symbol.
6898 (custom-group-value-create):
6899 Load widget deps if state is not hidden. If widget deps are
6900 loaded, load them in advance.
6901 (custom-menu-create): If widget deps are loaded, load them earlier.
6903 2003-01-09 John Paul Wallington <jpw@shootybangbang.com>
6905 * language/ethio-util.el (ethio-gemination)
6906 (exit-ethiopic-environment): Doc fixes.
6908 * language/viet-util.el (viet-encode-viqr-region)
6909 (viet-decode-viqr-region, viet-encode-viqr-buffer)
6910 (viet-decode-viqr-buffer): Doc fixes.
6912 2003-01-09 ShengHuo ZHU <zsh@cs.rochester.edu>
6914 * paths.el: Remove gnus-startup-file.
6916 2003-01-08 Bill Wohler <wohler@newt.com>
6918 * mail/mh-alias.el, mail/mh-customize.el, mail/mh-identity.el,
6919 mail/mh-loaddefs.el, toolbar/alias.pbm, toolbar/alias.xpm: Added.
6921 * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
6922 mail/mh-index.el, mail/mh-mime.el, mail/mh-pick.el,
6923 mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el,
6924 mail/mh-xemacs-compat.el: Upgraded to MH-E version 7.1.
6926 2003-01-08 Kim F. Storm <storm@cua.dk>
6928 * mail/undigest.el (unforward-rmail-message): Don't use global
6931 2003-01-08 Francesco Potortì <pot@gnu.org>
6933 * mail/undigest.el (unforward-rmail-message): Simplify.
6934 No functional change.
6936 2003-01-07 Markus Rost <rost@math.ohio-state.edu>
6938 * custom.el (custom-autoload, custom-variable-p): New functions.
6940 * emacs-lisp/autoload.el (make-autoload):
6941 Generate custom-autoload for autoloaded defcustoms.
6943 * help-fns.el (describe-variable): Use custom-variable-p.
6945 * simple.el (set-variable): Load deps of custom variables without type.
6947 * cus-edit.el (custom-variable-prompt): Doc change.
6948 Use custom-variable-p.
6949 (customize-option): Remove search in loaddefs.el.
6950 (customize-apropos): Use custom-variable-p.
6951 (custom-save-variables): Use custom-variable-p to detect
6952 non-rogue variables.
6954 2003-01-07 Francesco Potortì <pot@gnu.org>
6956 * mail/undigest.el (unforward-rmail-message): Skip all newlines
6957 after the initial separator.
6958 (unforward-rmail-message): Forwarded-From: and Forwarded-Date:
6959 instead of Forwarded-from: and Forwarded-date:.
6961 2003-01-07 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
6963 * dired.el (dired-garbage-files-regexp): Add `.aux$'. These are
6966 2003-01-07 Andre Spiegel <spiegel@gnu.org>
6968 * vc-rcs.el (vc-rcs-checkout): Fix the check whether we are on a
6971 2003-01-06 Dave Love <fx@gnu.org>
6973 * textmodes/ispell.el (lookup-words): Cope with null lookup-dict.
6975 * language/chinese.el ("Chinese-EUC-TW"): New.
6977 2003-01-06 John Paul Wallington <jpw@shootybangbang.com>
6979 * mail/rmail.el (rmail-mmdf-delim1, rmail-mmdf-delim2): Doc fixes.
6981 2003-01-05 Richard M. Stallman <rms@gnu.org>
6983 * obsolete/uncompress.el: Display message that this pkg is obsolete.
6985 * isearch.el (isearch-repeat): Error if try to repeat search and
6986 there was no previous search.
6988 * dired.el (dired-recursive-deletes): Fix custom type.
6990 * dabbrev.el (dabbrev--substitute-expansion):
6991 Convert all whitespace to single spaces,
6992 except when it's carried over from the existing text.
6994 * simple.el (split-line): Clean up implementation.
6996 * mail/rmail.el (rmail-font-lock-keywords): Discard code to match
6998 (rmail-variables): Specify case-insensitive matching for font-lock.
7000 2003-01-05 Alexander Pohoyda <alexander.pohoyda@gmx.net> (tiny change)
7002 * mail/sendmail.el (mail-font-lock-keywords):
7003 * mail/rmail.el (rmail-font-lock-keywords): Match multiline
7004 In-Reply-To and X-*.
7006 2003-01-05 Mark A. Hershberger <mah@everybody.org>
7008 * xml.el (xml-substitute-special): Check for & last.
7010 2003-01-05 Dave Love <fx@gnu.org>
7012 * buff-menu.el (Buffer-menu-execute): Fix for effect of header line.
7014 2003-01-05 Dave Love <fx@gnu.org>
7016 * international/mule-diag.el (non-iso-charset-alist):
7017 Add vietnamese-tcvn.
7019 * international/mule-cmds.el (locale-language-names):
7020 Use Croatian, Swedish.
7022 2003-01-05 Andreas Schwab <schwab@suse.de>
7024 * buff-menu.el (Buffer-menu-buffer+size): Don't clobber buffer name.
7026 2003-01-05 Dave Love <fx@gnu.org>
7028 * language/european.el ("Latin-6", "Croatian"): New.
7029 ("Latin-7"): Fix nonascii-translation. Add input method.
7030 ("Lithuanian", "Latvian"): Add nonascii-translation.
7031 ("German", "Spanish", "Dutch", "Welsh", "Swedish"):
7032 Fix nonascii-translation.
7034 * language/georgian.el ("Georgian"): Fix nonascii-translation.
7036 * international/mule-cmds.el (set-locale-environment):
7037 Ignore empty values of environment variables.
7039 * emacs-lisp/byte-opt.el (byte-optimize-nth)
7040 (byte-optimize-nthcdr): Fix for case of wrong-length forms.
7042 2003-01-04 Nick Roberts <nick@nick.uklinux.net>
7044 * gdb-ui.el: Acknowledge Tom Lord as author of gdba.el.
7045 Use let construction to bind buffer-read-only to nil.
7046 (gdba): 'set height 0' in GDB.
7047 (gdb-display-end, gdb-frame-handler): Corrections to forming
7048 full expression name for header-line in display frame.
7049 (gdb-info-breakpoints-custom): Highlight breakpoints since
7050 they may be clicked on with mouse-2.
7051 (gdb-quit): Delete frames of displayed expressions when quitting.
7052 (gdb-delete-frames): New function.
7053 (gdb-source-info): Don't create stack buffer automatically.
7055 2003-01-04 Thien-Thi Nguyen <ttn@gnu.org>
7057 * xml.el (xml-substitute-special): Move "&" -> "&" last.
7059 2003-01-04 Kim F. Storm <storm@cua.dk>
7061 * simple.el (split-line): If present, copy fill-prefix from
7062 current line to new line. Don't copy if prefix arg.
7063 From Lisp, arg may be an alternative prefix string to copy.
7064 Inspired by Ehud Karni <ehud@unix.mvs.co.il>.
7066 * mail/sendmail.el (mail-split-line): New function.
7067 (mail-mode-map): Remap split-line to mail-split-line.
7069 2003-01-03 Dave Love <fx@gnu.org>
7071 * emacs-lisp/find-func.el (find-variable-noselect): Make it work
7072 with new load-history format.
7074 * international/mule-cmds.el (sort-coding-systems):
7075 Adjust priority of utf-16 and x-ctext.
7077 * international/utf-8.el (utf-translate-cjk):
7078 Call optimize-char-coding-system-table.
7080 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
7081 Call optimize-char-coding-system-table.
7083 * international/mule.el (register-char-codings): Don't call
7084 optimize-char-coding-system-table here.
7085 (keyboard-coding-system): Doc fix. Update :version.
7087 * textmodes/nroff-mode.el (nroff-mode-hook): Customize.
7088 (nroff-imenu-expression): New.
7089 (nroff-mode): Use it.
7091 * autoinsert.el (auto-insert-alist): Add man page skeleton.
7093 2003-01-03 Andre Spiegel <spiegel@gnu.org>
7095 * vc-rcs.el (vc-rcs-revert): Unlock only if the user does have
7098 2003-01-03 Kim F. Storm <storm@cua.dk>
7100 * emulation/cua-base.el (cua--pre-command-handler):
7101 Corrected handling of delete-selection properties.
7103 2003-01-03 John Paul Wallington <jpw@shootybangbang.com>
7105 * emacs-lisp/eldoc.el (eldoc-get-var-docstring): Only return a
7106 documentation string when `sym' is non-nil.
7108 2003-01-02 Steven Tamm <steventamm@mac.com>
7110 * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode):
7111 Have scroll bars correctly default to being on the right for Mac
7112 Carbon port by testing "mac-carbon" feature, not window-system.
7114 2003-01-02 Markus Rost <rost@math.ohio-state.edu>
7116 * cus-edit.el (customize-group, customize-group-other-window):
7117 Call custom-load-symbol unconditionally.
7118 (customize-face, customize-face-other-window): Fix format arg.
7120 2003-01-02 John Paul Wallington <jpw@shootybangbang.com>
7122 * menu-bar.el (menu-bar-left-scroll-bar): Set `scroll-bar-mode'
7125 2003-01-01 Richard M. Stallman <rms@gnu.org>
7127 * mail/rmail.el (rmail-reply): Don't call mail-strip-quoted-names.
7129 * files.el (backup-buffer): Cope if file-modes returns nil.
7131 2002-12-30 Steven Tamm <steventamm@mac.com>
7133 * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode):
7134 Have scroll bars correctly default to being on the right for Mac
7137 2002-12-29 Nick Roberts <nick@nick.uklinux.net>
7139 * gdb-ui.el (gdb-delete-display): Rename (gdb-delete-expression).
7140 (gdb-goto-bp-this-line): Rename (gdb-goto-breakpoint).
7141 (gdb-toggle-bp-this-line): Rename (gdb-toggle-breakpoint).
7142 (gdb-delete-bp-this-line): Rename (gdb-delete-breakpoint).
7143 (gdb-toggle-disp-this-line): Rename (gdb-toggle-display).
7144 (gdb-delete-disp-this-line): Rename (gdb-delete-display).
7145 (gud-gdba-marker-filter): Remove unnecessary save-match-data.
7146 (gdb-mouse-goto-breakpoint, gdb-frames-select): New functions.
7147 (gdb-frames-mouse-select): Simplify.
7148 Make keybindings (gdb-goto-breakpoint, gdb-frames-select, etc)
7149 consistent with other modes in Emacs.
7150 (gdb-display-source-buffer): Return window of source buffer
7151 for (gud-display-line).
7153 2002-12-29 Markus Rost <rost@math.ohio-state.edu>
7155 * button.el (defface button): Add group.
7157 * cus-edit.el (customize-browse): Call `widget-setup'.
7159 2002-12-29 Andreas Schwab <schwab@suse.de>
7161 * Makefile.in: Generate cus-load.el and finder-inf.el in the
7162 source directory. Change dependencies on lisp files to explicitly
7164 (compile-calc): Fix command substitution.
7165 * cus-dep.el (generated-custom-dependencies-file): New variable.
7166 (custom-make-dependencies): Use it instead of hardcoding cus-load.el.
7167 * finder.el (generated-finder-keywords-file): New variable.
7168 (finder-compile-keywords): Use it instead of hardcoding finder-inf.el.
7170 2002-12-28 Richard M. Stallman <rms@gnu.org>
7172 * info-look.el (info-lookup): Fix error message typo.
7174 * comint.el (comint-mode): Locally set scroll-conservatively.
7175 (comint-postoutput-scroll-to-bottom): comint-scroll-show-maximum-output
7176 is active only when point is at end.
7178 * dired.el (dired-goto-file): Handle \ and ^M quoted by backslash.
7181 * files.el (find-file-noselect-1): Kill local value of `cursor-type'.
7183 * simple.el (repeat-complex-command): Signal real error on failure.
7185 2002-12-28 Andreas Schwab <schwab@suse.de>
7187 * progmodes/make-mode.el (makefile-font-lock-keywords):
7188 Highlight automatic variable references enclosed in parens and
7189 optionally suffixed by F or D.
7191 2002-12-27 Miles Bader <miles@gnu.org>
7193 * info.el (Info-complete-menu-item): Make `Info-complete-cache' a
7194 buffer-local variable.
7196 2002-12-26 Markus Rost <rost@math.ohio-state.edu>
7198 * cus-edit.el (customize-group-other-window): Use pop-to-buffer in
7199 the same way as `custom-buffer-create-other-window'.
7200 (customize-variable-other-window, customize-option-other-window):
7201 Definitions moved up.
7203 2002-12-26 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
7205 * net/tramp*.el: Sync with upstream version 2.0.28. Bugfixes.
7206 * net/tramp-ftp.el: Glue code with Ange-FTP, broken out of
7207 tramp.el. From Michael Albinus.
7208 * net/tramp-smb.el: New file for using smbclient to access
7209 Windows shares with Tramp. From Michael Albinus.
7211 2002-12-26 Andreas Schwab <schwab@suse.de>
7213 * international/mule-cmds.el (select-safe-coding-system): Fix typo.
7215 2002-12-26 Andre Spiegel <spiegel@gnu.org>
7217 * vc.el (vc-next-action-on-file): Use t argument to vc-checkout in
7218 order to get the latest version on the current branch.
7219 Update documentation of vc-BACKEND-checkout to explain this.
7221 * vc-rcs.el (vc-rcs-checkout): Handle t argument for REV.
7222 (vc-rcs-checkin): By default, specify the current workfile
7223 branch as the check-in revision.
7225 * vc-cvs.el (vc-cvs-checkout): Handle t argument for REV.
7227 * vc-sccs.el (vc-sccs-checkout): Likewise.
7229 2002-12-26 Nick Roberts <nick@nick.uklinux.net>
7231 * gdb-ui.el (gdb-info-display-custom): Ensure that frames/buffers
7232 of displayed expressions are deleted when the displayed expressions
7234 (gdb-delete-disp-this-line, gdb-delete-display): Frame/buffer
7235 deletion is handled by gdb-info-display-custom now.
7236 (gdb-source-info): Undo earlier change (do create display buffer
7239 2002-12-25 Markus Rost <rost@math.ohio-state.edu>
7241 * cus-edit.el (custom-save-faces): Fix typo.
7243 2002-12-23 Francesco Potortì <pot@gnu.org>
7245 * mail/undigest.el (unforward-rmail-message): Do not assume that
7246 the forwarded message's Date: header comes after From:. Use a
7247 Forwarded-from: rather than a Forwarded-by: header. Add a
7248 Forwarded-date: header.
7250 2002-12-23 Nick Roberts <nick@nick.uklinux.net>
7252 * gdb-ui.el (gdb-display-number-end): Make auto-display of
7253 expressions in GDB work on text-only terminals.
7254 (gdb-post-prompt): Compute current frame properly.
7255 (gdb-get-current-frame, gdb-frame-handler): New functions.
7256 (gdb-source-info): Move last statement into if clause.
7257 Tidy, improve documentation.
7259 2002-12-23 Richard M. Stallman <rms@gnu.org>
7261 * emacs-lisp/checkdoc.el: Don't define a name for the minor mode menu.
7263 * emacs-lisp/easymenu.el (easy-menu-do-define): Handle nil for SYMBOL.
7264 (easy-menu-define): Doc fix, say SYMBOL can be nil.
7266 * window.el (save-selected-window): Save and restore
7267 selected windows of all frames.
7269 * cus-start.el (scroll-up-aggressively, scroll-down-aggressively):
7270 Update custom types.
7272 2002-12-23 Alex Schroeder <alex@emacswiki.org>
7274 Merging Dave Love <fx@gnu.org>'s custom_themes branch containing
7275 Alex Schroeder's adaptation of Jan Vroonhof
7276 <vroonhof@math.ethz.ch>'s code. Doc strings corrected by RMS.
7278 * cus-edit.el (customize-save-variable): Take themes into account.
7279 (custom-variable-save): Take themes into account.
7280 (custom-variable-reset-saved): Add comment-widget.
7281 (custom-variable-reset-standard): Add comment-widget.
7282 (custom-variable-reset-standard): Take themes into account.
7283 (custom-face-save): Take themes into account.
7284 (custom-face-reset-standard): Take themes into account.
7285 (custom-save-variables): Take themes into account.
7286 (custom-save-faces): Take themes into account.
7287 (custom-save-resets): New function.
7288 (custom-save-loaded-themes): New function.
7289 (customize-save-customized): Take themes into account.
7291 * cus-face.el (custom-set-faces): Call custom-theme-set-faces.
7292 (custom-theme-set-faces): New function.
7293 (custom-theme-face-value): New function.
7294 (custom-theme-reset-internal-face): New function.
7295 (custom-theme-reset-faces): New function.
7296 (custom-reset-faces): New function.
7298 * custom.el (custom-known-themes): New variable.
7299 (custom-declare-theme): New function.
7300 (deftheme): New macro.
7301 (custom-make-theme-feature): New function.
7302 (custom-theme-p): New function.
7303 (custom-check-theme): New function.
7304 (custom-push-theme): New function.
7305 (custom-theme-set-variables): Take themes into account.
7306 (custom-loaded-themes): New variable.
7307 (custom-theme-loaded-p): New function.
7308 (provide-theme): New function.
7309 (require-theme): New function.
7310 (custom-remove-theme): New function.
7311 (custom-do-theme-reset): New function.
7312 (custom-theme-load-themes): New function.
7313 (custom-load-themes): New function.
7314 (custom-theme-value): New function.
7315 (custom-theme-variable-value): New function.
7316 (custom-theme-reset-internal): New function.
7317 (custom-theme-reset-variables): New function.
7318 (custom-reset-variables): New function.
7320 * cus-theme.el: New file.
7322 2002-12-23 Matthew Swift <swift@alum.mit.edu>
7324 * emacs-lisp/rx.el (rx-and): Generate a shy group.
7325 Specify `no-group' when calling rx-to-string.
7326 (rx-submatch): Specify `no-group' when calling rx-to-string.
7327 (rx-kleene): Use rx-atomic-p to decide whether to make a group.
7328 (rx-atomic-p): New function.
7330 2002-12-23 Kevin Ryde <user42@zip.com.au>
7332 * info-look.el (info-lookup): For ease of use try item
7333 case-insensitive if not found case-sensitive.
7334 Do case sensitive search in index nodes, so items differing only in
7335 case go correctly to their respective nodes.
7337 2002-12-22 Richard M. Stallman <rms@gnu.org>
7339 * subr.el (add-to-invisibility-spec): If it was t, start it out at (t).
7341 * textmodes/texinfmt.el (tex-start-of-header, tex-end-of-header):
7344 * textmodes/tex-mode.el (tex-print): Call shell-quote-argument
7347 * textmodes/outline.el (outline-next-visible-heading):
7348 When going forward, test outline-invisible-p at start of header.
7350 2002-12-22 Kevin Ryde <user42@zip.com.au>
7352 * textmodes/makeinfo.el (makeinfo-buffer): Display result using
7354 (makeinfo-compilation-sentinel-buffer, makeinfo-current-node):
7356 (makeinfo-compile): Add a sentinel parameter.
7357 (makeinfo-compilation-sentinel-region): Rename from
7358 makeinfo-compilation-sentinel, and makeinfo-temp-file now never nil.
7359 (makeinfo-region): Use this.
7360 * info.el (Info-revert-find-node): New function.
7362 2002-12-22 Nick Roberts <nick@nick.uklinux.net>
7364 * tooltip.el (tooltip-gud-tips): Output tooltip without switching
7365 process filter (gdba in gdb-ui.el only).
7366 (gdb-tooltip-print): New function.
7367 (tooltip-gud-process-output): Undo previous change.
7368 (tooltip-strip-annotations): Remove.
7370 2002-12-22 Zoltan Kemenczy <zoltan@ieee.org>
7372 * gud.el (gud-menu-map): Add jdb support for "run".
7373 (gud-jdb-find-source-using-classpath): Use 'identity.
7374 (gud-jdb-marker-filter): Marker regexp and filename filtering
7375 change to support a backwards-incompatible change in Sun's jdb
7376 line number display in SDK versions 1.4.
7377 (gud-format-command): gud-find-class now requires two
7378 parameters (file and linenumber).
7379 (gud-find-class): Bulk of the change related to using c-syntactic
7380 symbols to locate nested class declarations in java sources
7381 visited by java-mode (cc-mode).
7383 2002-12-21 Nick Roberts <nick@nick.uklinux.net>
7385 * gdb-ui.el: Remove the concept of an instance. This means that
7386 a lot of functions have been renamed. Accessors are prefixed with
7387 gdb-get, setters with gdb-set and the word instance has been
7388 removed from many function and variable names.
7389 (gdb-display-buffer): Protect source buffer as well
7390 as GUD buffer when requesting new buffers.
7391 (gdb-source-info): Two changes : Don't create display buffer
7392 automatically, compute source window correctly.
7394 2002-12-21 Richard M. Stallman <rms@gnu.org>
7396 * man.el (Man-getpage-in-background): Put GROFF_NO_SGR in env.
7398 * ls-lisp.el (original-insert-directory): Make this a variable,
7399 don't set its function definition.
7400 (insert-directory): Use funcall to call that function.
7402 * bindings.el (help-echo): Change tooltip string.
7404 * chistory.el (command-history-map): Move definition up.
7406 * faces.el (help-xref-stack): Add defvar to avoid warning.
7408 2002-12-21 Andreas Schwab <schwab@suse.de>
7410 * dired.el (dired-insert-directory): Preserve text properties
7413 2002-12-20 Francesco Potortì <pot@gnu.org>
7415 * mail/undigest.el (rmail-mail-separator): Rename from
7416 rmail-digest-mail-separator. All users changed.
7417 (unforward-rmail-message): Rewritten to be more robust and to
7418 additionally account for the common style of forwarding messages
7419 by citing them entirely with headers.
7421 2002-12-18 Dave Love <fx@gnu.org>
7423 * international/utf-8-subst.el: Deleted.
7425 * international/ucs-tables.el (ucs-fragment-8859): Don't modify
7426 char-coding-system-table elements destructively.
7427 Use optimize-char-coding-system-table.
7429 * international/mule.el (optimize-char-coding-system-table): New.
7430 (register-char-codings): Use it.
7432 * international/utf-8.el (ucs-mule-cjk-to-unicode)
7433 (ucs-unicode-to-mule-cjk): Revert last change.
7434 (utf-subst-table-for-encode): Initially use ucs-mule-cjk-to-unicode.
7435 (utf-subst-table-for-decode): Initially use ucs-unicode-to-mule-cjk.
7436 (utf-fragment-on-decoding, utf-translate-cjk): Don't modify
7437 char-coding-system-table elements destructively.
7438 (utf-translate-cjk): Set ucs-mule-cjk-to-unicode,
7439 ucs-unicode-to-mule-cjk to new hash tables with realistic parameters.
7441 2002-12-18 John Paul Wallington <jpw@shootybangbang.com>
7443 * info.el (Info-dir-remove-duplicates): Avoid infloop when
7444 deleting last entry.
7446 2002-12-17 Nick Roberts <nick@nick.uklinux.net>
7448 * gdb-ui.el (gdba-marker-filter, gdb-output-burst): Merge and
7449 rename gud-gdba-marker-filter.
7450 (gdb-append-to-inferior-io): Only pop up IO buffer if there is output.
7451 (gdb-make-instance): Remove (put into gdba).
7452 Use gdb-instance-enqueue-input instead of
7453 gdb-instance-enqueue-idle-input for user functions.
7454 (gdb-instance-target-string): Simplify.
7455 (in-gdb-instance-context): Remove.
7458 2002-12-17 Kenichi Handa <handa@m17n.org>
7460 * international/mule.el (set-file-name-coding-system): New function.
7462 * international/mule-cmds.el (mule-keymap, set-coding-system-map):
7463 Add bindings for set-file-name-coding-system.
7465 2002-12-17 Kenichi Handa <handa@m17n.org>
7467 * international/mule-cmds.el (universal-coding-system-argument):
7468 Bind coding-system-require-warning to t.
7469 (select-safe-coding-system): Handle t in the arg
7470 DEFAULT-CODING-SYSTEM specially. Use read-coding-system to read a
7471 coding-system to allow users to specify unsafe coding system on
7474 2002-12-16 Francesco Potortì <pot@gnu.org>
7476 * mail/undigest.el (rmail-digest-methods)
7477 (rmail-digest-mail-separator): New variables.
7478 (rmail-digest-parse-mime, rmail-digest-parse-rfc1153strict)
7479 (rmail-digest-parse-rfc1153sloppy, rmail-digest-rfc1153)
7480 (rmail-digest-parse-rfc934): New functions.
7481 (undigestify-rmail-message): Completely rewritten.
7483 2002-12-16 Kim F. Storm <storm@cua.dk>
7485 * ido.el (ido-read-file-name): Remove debug message.
7487 2002-12-16 Daniel Pfeiffer <occitan@esperanto.org>
7489 * buff-menu.el (Buffer-menu, Buffer-menu-use-header-line)
7490 (Buffer-menu-buffer-face, Buffer-menu-buffer+size-width)
7491 (Buffer-menu-mode-width): New customization.
7492 (Buffer-menu-sort-column): New var.
7493 (Buffer-menu-no-header): New function for not changing header line and
7494 recognizing swapped M&R columns, used by modifying commands in Buffer
7496 (Buffer-menu-buffer+size): New function for variable width buffer name.
7497 (list-buffers-noselect): Rewritten for nicer menu.
7499 2002-12-16 Markus Rost <rost@math.ohio-state.edu>
7501 * filesets.el (filesets-build-menu-now): Don't clear messages.
7503 * allout.el: Avoid name conflicts with outline.el.
7504 Replace globally string "outline-" with string "allout-".
7505 Replaced 1446 occurrences; there was no string "allout-" before the
7506 change and there seems to be no dependency on outline.el.
7507 Put `quotes' around many function and variable names.
7508 Doc changes to adjust to the change to prefix "allout-".
7509 Don't provide `outline'. Use " Allout" as mode line string,
7510 not " Outl". Put group `allout' in group `editing'.
7511 Update Copyright notice. Autoload `allout-init'.
7512 (allout-init): Give report also in case auto-activation was inhibited.
7513 (my-mark-marker): Test for feature `xemacs' instead of a string parse.
7515 2002-12-16 Stefan Monnier <monnier@cs.yale.edu>
7517 * xml.el (xml-parse-tag): Allow spaces between / and >.
7519 2002-12-15 David Kastrup <David.Kastrup@t-online.de>
7521 * emacs-lisp/autoload.el (autoload-ensure-default-file):
7522 Insert missing space in file end comment.
7524 2002-12-15 Simon Josefsson <jas@extundo.com>
7526 * mail/smtpmail.el (smtpmail-via-smtp): Fall back to
7527 user-mail-address as sender.
7529 2002-12-15 Dave Love <fx@gnu.org>
7531 * international/mule-cmds.el (standard-keyboard-coding-systems):
7533 (set-locale-environment): Don't use it.
7535 * international/utf-8.el (ucs-mule-cjk-to-unicode)
7536 (utf-subst-table-for-encode, ucs-unicode-to-mule-cjk)
7537 (utf-subst-table-for-decode): Specify :size, :rehash-size.
7538 (utf-translate-cjk): :set rewritten to load subst-... files.
7540 (ccl-decode-mule-utf-8): Consider CJK translation for r3<#x3400.
7542 2002-12-15 Gustav HÃ¥llberg <gustav@virtutech.se> (tiny change)
7544 * progmodes/compile.el (compile-reinitialize-errors): Don't mark the
7545 buffer as modified unless it really is.
7547 2002-12-14 Andreas Schwab <schwab@suse.de>
7549 * wid-edit.el (widget-move): Don't loop infinitely when there is
7552 2002-12-13 Stefan Monnier <monnier@cs.yale.edu>
7554 * uniquify.el (uniquify-rationalize-file-buffer-names, rename-buffer)
7555 (uniquify-delay-rationalize-file-buffer-names, kill-buffer-hook):
7556 Undo 2002/09/27 change because kill-buffer-hook is not
7559 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7560 Optimize the remaining part of for-effect and/or expressions.
7562 2002-12-13 Markus Rost <rost@math.ohio-state.edu>
7564 * emacs-lisp/easy-mmode.el (define-minor-mode):
7565 Use `custom-current-group'. Pass all groups to the hook.
7566 (easy-mmode-define-global-mode): Use `custom-current-group'.
7568 * international/mule-cmds.el (current-language-environment):
7569 Set type according to `language-info-alist' also here.
7571 * progmodes/compile.el (compilation-menu-map):
7572 Use `kill-compilation' to stop compilation.
7574 2002-12-13 Kenichi Handa <handa@m17n.org>
7576 * language/european.el (encode-mac-roman): Fix last change.
7578 * language/cyrillic.el (ccl-encode-koi8, ccl-encode-koi8-u)
7579 (ccl-encode-alternativnyj): Fix last change.
7581 2002-12-13 Nick Roberts <nick@nick.uklinux.net>
7583 * gdb-ui.el: Improve documentation strings.
7584 (gdb-many-windows): Set default value to nil.
7586 2002-12-12 Dave Love <fx@gnu.org>
7588 * international/subst-big5.el, international/subst-gb2312.el:
7589 * international/subst-jis.el, international/subst-ksc.el: New.
7591 * custom.el (defcustom, custom-set-variables): Doc fix.
7593 * emacs-lisp/bytecomp.el (byte-compile-if): Suppress warnings from
7594 things protected by `(if (fboundp ...' or `(if (boundp ...'.
7596 * emacs-lisp/byte-opt.el (byte-optimize-featurep): New.
7598 2002-12-12 Glenn Morris <gmorris@ast.cam.ac.uk>
7600 * progmodes/fortran.el (fortran-mode-abbrev-table):
7601 Handle `define-abbrev' with either 5 or 6 arguments.
7603 2002-12-12 Markus Rost <rost@math.ohio-state.edu>
7605 * international/mule-cmds.el (set-language-info):
7606 Update custom-type of `current-language-environment'.
7607 (current-language-environment): Fix custom type.
7609 2002-12-11 Pavel JanÃk <Pavel@Janik.cz>
7611 * progmodes/antlr-mode.el (antlr): New URL.
7613 2002-12-10 R. Bernstein <rocky@panix.com>
7615 * gud.el (bashdb): Prompt now included parenthesis for subshell levels.
7616 Fix erroneous print expression command, and fix typos.
7617 (perldb): Undo previous change in prompt regexp.
7619 2002-12-10 Steven Tamm <steventamm@mac.com>
7621 * generic-x.el (javascript-generic-mode): Add C style block
7622 comments as used in ECMA-262 standard.
7624 2002-12-10 Kenichi Handa <handa@m17n.org>
7626 * language/european.el ("Swedish"): Change tutorial file name to
7627 TUTORIAL.sv in this language environment.
7629 2002-12-09 John Paul Wallington <jpw@shootybangbang.com>
7631 * ibuffer.el (ibuffer-mode): If `show-paren-mode' is enabled,
7632 disable it buffer-locally.
7633 (ibuffer-mouse-popup-menu): Use `=' instead of `eq' to compare
7634 `eventpt' and point.
7636 * ibuf-ext.el (ibuffer-remove-duplicates): New function.
7637 (ibuffer-set-filter-groups-by-mode): Use it instead of
7638 `delete-duplicates' so we don't require cl library at runtime.
7639 (ibuffer-insert-filter-group-before): Don't use `position' so we
7640 don't require cl library at runtime.
7642 * chistory.el (command-history-mode): Add interactive spec.
7645 2002-12-09 Richard M. Stallman <rms@gnu.org>
7647 * isearch.el (isearch-no-upper-case-p): \\ only quotes one character.
7649 2002-12-09 Markus Rost <rost@math.ohio-state.edu>
7651 * mwheel.el (mouse-wheel-scroll-amount): Revert previous change -
7652 customize type 'float is now defined.
7654 2002-12-09 Dave Love <fx@gnu.org>
7656 * international/code-pages.el (mik, pt154): New coding systems.
7658 * international/ucs-tables.el: Fix properly.
7660 2002-12-09 Andreas Schwab <schwab@suse.de>
7662 * international/ucs-tables.el: Fix last change.
7664 2002-12-09 Kenichi Handa <handa@m17n.org>
7666 * international/titdic-cnv.el (titdic-convert): Process the
7667 header part in multibyte mode.
7669 2002-12-08 Dave Love <fx@gnu.org>
7671 * international/code-pages.el (mule-diag): Move where it's required.
7673 * international/ucs-tables.el: Add latin-jisx0201 characters.
7674 Fix translation-table-for-input for lao, thai, tibetan.
7676 2002-12-08 Andreas Schwab <schwab@suse.de>
7678 * files.el (insert-directory): Insert free space only when
7679 listing a full directory.
7681 2002-12-08 Nick Roberts <nick@nick.uklinux.net>
7683 * gdb-ui.el: Remove inappropriate key-bindings.
7684 (gdb-info-breakpoints-custom, gdb-goto-bp-this-line):
7685 Parse correctly when breakpoint has no line number.
7686 (def-gdb-auto-update-handler, gdb-info-locals-handler)
7687 (gdb-display-end): Avoid using insert-buffer.
7688 (gdb-frames-select-by-mouse): Rename gdb-frames-mouse-select.
7690 2002-12-07 Richard M. Stallman <rms@gnu.org>
7692 * progmodes/compile.el (compilation-enter-directory-regexp-alist)
7693 (compilation-leave-directory-regexp-alist): Match byte compiler output.
7695 * emacs-lisp/cl-macs.el: Add local variable list
7696 to turn off cl-function warnings.
7698 * emacs-lisp/bytecomp.el (byte-compile-eval): Handle (t . SYMBOL)
7699 elements in load-history.
7700 (byte-compile-cl-warn): No cl warnings for cl-defsubst-expand
7701 and cl-struct-setf-expander.
7703 * emacs-lisp/autoload.el (autoload-print-form-outbuf):
7705 (autoload-print-form): Use autoload-print-form-outbuf.
7706 (generate-file-autoloads): Bind autoload-print-form-outbuf.
7708 * calendar/calendar.el (calendar-day-name): Move defn down.
7710 * speedbar.el (speedbar-directory-buttons-follow):
7711 Don't use directory-sep-char.
7713 2002-12-06 Masatake YAMATO <jet@gyve.org> (tiny change)
7715 * register.el (describe-register-1): Use window-width
7716 to truncate string in a register. Check whether the string
7717 in a register is an empty string or a sequence of white spaces.
7719 2002-12-07 Andreas Schwab <schwab@suse.de>
7721 * faces.el (face-font-selection-order)
7722 (face-font-family-alternatives, face-font-registry-alternatives):
7723 Remove period from :tag value.
7725 * cus-edit.el (custom-face-edit-fix-value): Change :reverse-video
7728 2002-12-07 Markus Rost <rost@math.ohio-state.edu>
7730 * wid-edit.el (define-widget number): Clarify doc and error message.
7731 (define-widget float): New widget.
7733 2002-12-07 Andreas Schwab <schwab@suse.de>
7735 * eshell/em-ls.el (eshell-ls-product-regexp): Fix typo.
7737 * files.el (find-file-read-args): Reenable wildcard processing
7740 2002-12-06 Robert J. Chassell <bob@rattlesnake.com>
7742 * textmodes/texinfmt.el (texinfo-format-scan): Handle new
7743 functions for copyright notice and copying permissions.
7744 (texinfo-copying, texinfo-insertcopying): New functions.
7746 2002-12-03 TAKAHASHI Kaoru <kaoru@kaisei.org>
7748 * textmodes/texinfmt.el (texinfo-format-ifxml)
7749 (texinfo-format-xml): New function.
7750 (ifxml, ifnotxml): New aliases.
7752 2002-12-06 Dave Love <fx@gnu.org>
7754 * international/utf-8-subst.el: Revert last change.
7756 2002-12-06 Miles Bader <miles@gnu.org>
7758 * info.el (Info-insert-dir): Make dir-node-cache variables
7759 buffer-local, so that killing the *info* buffer forces the
7760 dir-node to be rebuilt.
7762 2002-12-06 Markus Rost <rost@math.ohio-state.edu>
7764 * finder.el (finder-compile-keywords): Don't insert a keyword to
7767 2002-12-05 Andreas Schwab <schwab@suse.de>
7769 * speedbar.el (speedbar-highlight-face): Fix face spec.
7771 2002-12-05 Stefan Monnier <monnier@cs.yale.edu>
7773 * gdb-ui.el: Replace uses of (gdb-get-instance-buffer 'gdba) and
7774 gdb-proc with gud-comint-buffer instead.
7776 (def-gdb-var): Simplify.
7777 (gdb-get-create-instance-buffer): Avoid make-variable-buffer-local.
7778 Set gud-comint-buffer as well as gud-minor-mode and tool-bar-map.
7779 (gdb-goto-bp-this-line): Select the window while doing the goto-line.
7780 (gdb-info-locals-handler): Avoid replace-regexp.
7782 * calendar/calendar.el (facemenu-unlisted-faces): Only update
7783 after facemenu is loaded.
7784 (calendar-font-lock-keywords): Accept non-ASCII month names.
7787 * gdb-ui.el (gud-gdb-complete-string, gud-gdb-complete-break)
7788 (gud-gdb-complete-list, gud-gdb-complete-in-progress): Remove.
7789 (gdba): Call `gdb' and then make modifications.
7790 Always call gdb-clear-inferior-io rather than just "the first time".
7791 (gud-break, gud-remove): Definitions moved to inside gdba.
7792 (gdb-target-name): Remove. Use gud-target-name instead.
7793 (gdba-complete-filter, gdba-common-init): Remove.
7794 The changes were integrated into the generic code.
7796 * gud.el: Use match-string.
7797 (gud-menu-map): Re-fix gdb-running to gud-running.
7798 Activate up/down and finish for pdb.
7799 (gud-def): Use backquotes.
7800 (gdb, sdb, dbx, xdb, pdb, jdb, bashdb): Remove redundant menu bindings.
7801 (gud-gdb-complete-in-progress, gud-gdb-complete-string)
7802 (gud-gdb-complete-break, gud-gdb-complete-list):
7803 Rename to gud-gdb-fetch-lines-in-progress, gud-gdb-fetch-lines-string,
7804 gud-gdb-fetch-lines-break and gud-gdb-fetched-lines.
7805 (gud-gdb-fetch-lines-filter): Rename from gud-gdb-complete-filter.
7806 Add a `filter' argument and run it on `string'.
7807 (gud-gdb-run-command-fetch-lines): Use it instead of
7808 gud-gdb-speedbar-stack-filter. Add a `skip' arg.
7809 Return the fetched lines.
7810 (gud-gdb-complete-command): Use it instead of cooking up
7811 something by hand using gud-gdb-complete-filter.
7812 (gud-gdb-get-stackframe): Use the new calling convention of
7813 gud-gdb-run-command-fetch-lines.
7814 (gud-gdb-fetched-stack-frame-list): Remove.
7815 (gud-gdb-speedbar-stack-filter): Remove.
7816 (gud-jdb-marker-filter): Change RE for easier extraction of submatches.
7817 (gud-bashdb-command-name): Add "--debugger" argument here.
7818 (bashdb): Use default gud-find-file and don't bother with
7819 a massage-args function now that --debugger is make explicit.
7820 (gud-bashdb-massage-args, gud-bashdb-find-file): Remove.
7821 (bashdb): Don't provide.
7822 (gud-target-name): New var.
7823 (gud-common-init): Set it.
7824 Also reset gud-running and gud-last-last-frame.
7826 2002-12-05 Dave Love <fx@gnu.org>
7828 * international/utf-8-subst.el: Update safe-chars of mule-utf-8,
7829 mule-utf-16-le, mule-utf-16-be.
7831 2002-12-05 Richard M. Stallman <rms@gnu.org>
7833 * textmodes/outline.el (outline-mode): Doc fix.
7835 2002-12-05 Edward M. Reingold <reingold@emr.cs.iit.edu>
7837 * calendar/solar.el (solar-atn2): Give correct quadrant for arctan.
7839 2002-12-05 Kenichi Handa <handa@m17n.org>
7841 * international/titdic-cnv.el (quail-misc-package-ext-info):
7842 Remove duplicate entry for chinese-b5-quick.
7843 (batch-miscdic-convert): Don't try to call miscdic-convert on
7844 files in the directory just following the arg "-dir".
7846 2002-12-04 Stefan Monnier <monnier@cs.yale.edu>
7848 * gdb-ui.el: Fold top-level `setq's and `define-key's into their
7849 corresponding defvar.
7850 (gdb-inferior-io-mode-map): New var.
7851 Add bindings to it rather than to comint-mode-map.
7852 (gdb-display-number-end): Use dolist. Remove always-true test.
7853 (gdb-delete-line): Move and simplify.
7854 (gdb-display-end): Don't bother going to beg-of-line since we're there.
7855 (gdb-array-format1): Use dolist.
7856 (gdb-make-windows-menu, gdb-make-frames-menu):
7857 Move to top-level code. Move the menus to within the GUD menu.
7858 Make the menus only appear in gdba mode.
7860 * gdb-ui.el (gdb-inferior-io-mode-map): Remove (unused).
7861 (gdb-inferior-io-mode): Use define-minor-mode.
7862 (gdb-source-info): Don't burp if there's no source file.
7863 (gdb-inferior-io-interrupt, gdb-inferior-io-quit)
7864 (gdb-inferior-io-stop, gdb-inferior-io-eof)
7865 (gdb-display-breakpoints-buffer, gdb-frame-breakpoints-buffer)
7866 (gdb-display-stack-buffer, gdb-frame-stack-buffer)
7867 (gdb-display-registers-buffer, gdb-frame-registers-buffer)
7868 (gdb-display-locals-buffer, gdb-frame-locals-buffer)
7869 (gdb-display-display-buffer, gdb-frame-display-buffer)
7870 (gdb-display-gdb-buffer, gdb-frame-gdb-buffer)
7871 (gdb-display-assembler-buffer, gdb-frame-assembler-buffer):
7872 Remove the spurious left over arg from the "big reorg".
7874 2002-12-04 Richard M. Stallman <rms@gnu.org>
7876 * gud.el (gud-menu-map): Update for bashdb.
7877 (perldb): Change prompt regexp.
7878 (gud-bashdb-history, gud-bashdb-massage-args, gud-bashdb-marker-filter)
7879 (gud-bashdb-find-file, gud-bashdb-command-name, bashdb): New.
7881 * progmodes/cc-vars.el: Simply require wid-edit and custom
7882 in eval-when-compile.
7884 * progmodes/cc-menus.el: Don't require imenu.
7886 * progmodes/cc-langs.el: Don't require cl.
7887 (c-delete-duplicates): New function. Use instead of delete-duplicates.
7889 * progmodes/cc-bytecomp.el (cc-bytecomp-obsolete-var):
7890 Add an else-clause to the if to avoid confused compiler warning.
7892 * tooltip.el (tooltip-gud-tips-p): Undo previous change.
7894 2002-12-03 Stefan Monnier <monnier@cs.yale.edu>
7896 * gdb-ui.el: Get rid of (quote ..); use match-string and ignore.
7898 * gdb-ui.el (gdba, gdb-starting, gdb-stopped, gdb-quit):
7899 Update gdb-running -> gud-running.
7900 (gdba): Use the default for gud-find-file.
7901 (def-gdb-variable): Remove: fold into def-gdb-var.
7902 (def-gdb-var): Use buffer-local-value and with-current-buffer.
7904 * gud.el (gud-running): Rename from gdb-running. Update uses.
7905 (gud-tool-bar-map): Use tool-bar-local-item-from-menu rather than
7906 tool-bar-add-item-from-menu to avoid let binding tool-bar-map
7907 which fails if tool-bar.el is loaded in the mean time.
7908 (gud-file-name): New fun.
7909 (gud-find-file): Use it as default value for gud-find-file.
7910 (gud-speedbar-buttons): Discriminate on gud-minor-mode rather than
7912 (gud-gdb-find-file, gud-dbx-file-name, gud-dbx-find-file)
7913 (gud-xdb-file-name, gud-xdb-find-file, gud-perldb-find-file)
7914 (gud-pdb-find-file, gud-jdb-find-file): Remove.
7915 (gud-query-cmdline): Don't stuff the whole cwd in the command.
7916 (gdb, dbx, xdb, perldb, pdb, jdb): Use the default for gud-find-file.
7917 (gud-mipsdbx-massage-args): Remove.
7918 (gud-dbx-command-name): New var. Do what gud-mipsdbx-massage-args did.
7919 (gud-irixdbx-marker-filter): Use match-string and gud-file-name.
7920 (gud-jdb-command-name): New var.
7921 (gud-common-init): Re-instate RMS code of 11/13.
7923 2002-12-03 Dave Love <fx@gnu.org>
7925 * international/ucs-tables.el (ucs-unify-8859, ucs-unify-8859)
7926 (ucs-fragment-8859): Don't use set-buffer-major-mode-hook.
7927 (ucs-set-table-for-input): Use optional arg. Check for null `cs'.
7929 2002-12-03 Andreas Schwab <schwab@suse.de>
7931 * cus-edit.el (custom-display): Add checkbox for type mac.
7933 * whitespace.el (whitespace-highlight-face): Fix face spec.
7935 2002-12-02 Stefan Monnier <monnier@cs.yale.edu>
7937 * simple.el (completion-setup-function): Fix last change to use
7938 minibuffer-completing-file-name instead.
7940 * add-log.el (change-log-mode): Set indent-line-function explicitly
7941 to what it was before indent-line-function's default was changed.
7943 2002-12-02 Richard M. Stallman <rms@gnu.org>
7945 * textmodes/ispell.el (ispell-dict-map): Move specific
7946 dictionary selection into a submenu.
7948 * textmodes/fill.el (fill-indent-to-left-margin): New function.
7949 (fill-newline, fill-region-as-paragraph): Use that.
7951 * simple.el (completion-setup-function):
7952 Handle ffap-read-file-or-url-internal specially like
7953 read-file-name-internal.
7955 2002-12-02 Simon Marshall <marshals@perth>
7957 * font-lock.el (c++-font-lock-extra-types): Fix previous change.
7959 2002-12-02 François Pinard <pinard@iro.umontreal.ca>
7961 * progmodes/make-mode.el (makefile-font-lock-keywords): Highlight
7962 more make keywords: defined, endef, override, export, unexport
7965 2002-12-02 Dave Love <fx@gnu.org>
7967 * autoarg.el (autoarg-kp-mode): Give it a :group.
7969 2002-12-02 Noah Friedman <friedman@splode.com>
7971 * complete.el (PC-do-completion): Do not add wildcards to pattern
7972 unless filename is non-nil.
7974 2002-12-02 Andreas Schwab <schwab@suse.de>
7976 * mwheel.el (mouse-wheel-scroll-amount): Fix customize type.
7978 * paren.el (show-paren-mismatch-face): Fix face spec.
7980 2002-11-30 Nick Roberts <nick@nick.uklinux.net>
7982 * gdb-ui.el (gdb-many-windows): Define as a minor mode.
7983 (toggle-gdb-windows): Remove. (Patch from Stefan Monnier)
7985 * tooltip.el (tooltip-gud-process-output): Handle annotations that
7986 are output with gdba in gdb-ui.el.
7987 (tooltip-strip-annotations): New function.
7989 2002-11-29 Dave Love <fx@gnu.org>
7991 * autoarg.el (autoarg-mode): Give it a :group.
7993 2002-11-29 Bill Wohler <wohler@newt.com>
7995 * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
7996 mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el,
7997 mail/mh-utils.el, mail/mh-xemacs-compat.el: Upgraded to MH-E
8000 * mail/mh-index.el, mail/mh-speed.el: New files for indexed
8001 searches and speedbar support in MH-E version 7.0.
8003 * toolbar/reply-all.pbm, toolbar/reply-all.xpm,
8004 toolbar/reply-from.pbm, toolbar/reply-from.xpm,
8005 toolbar/reply-to.pbm, toolbar/reply-to.xpm: New toolbar images for
8008 2002-11-29 Markus Rost <rost@math.ohio-state.edu>
8010 * mwheel.el (mouse-wheel-inhibit-click-time): Fix custom type.
8012 2002-11-29 Richard M. Stallman <rms@gnu.org>
8014 * mail/rmail.el (rmail-convert-to-babyl-format):
8015 Make search for message delimiter case-sensitive.
8017 * simple.el (yank-window-start): New variable.
8018 (yank): Record yank-window-start.
8019 (yank-pop): Use yank-window-start.
8021 * info.el (Info-additional-directory-list): Doc fix.
8023 * indent.el (indent-according-to-mode, indent-region): Doc fix.
8025 * tooltip.el (tooltip-gud-tips-p): Doc fix.
8027 * eshell/em-script.el: Require eshell.
8029 * eshell/esh-ext.el, eshell/em-cmpl.el: Require esh-util.
8031 2002-11-29 Kim F. Storm <storm@cua.dk>
8033 * mwheel.el: Avoid accidental yanking of text while scrolling with
8034 the mouse wheel. This adds a short period after each mouse wheel
8035 scroll event where a click on the mouse wheel button is ignored.
8036 (mouse-wheel-click-event, mouse-wheel-inhibit-click-time): New customs.
8037 (mouse-wheel-click-button, mwheel-inhibit-click-event-timer): New vars.
8038 (mwheel-inhibit-click-timeout, mwheel-filter-click-events): New defuns.
8039 (mwheel-scroll): Add mwheel-filter-click-events as pre-command-hook.
8040 Start mwheel-inhibit-click-event-timer with timeout handler
8041 mwheel-inhibit-click-timeout.
8043 2002-11-28 Nick Roberts <nick@nick.uklinux.net>
8045 * tooltip.el (tooltip-gud-tips-setup): Remove.
8046 (tooltip-gud-debugger): Remove.
8047 (tooltip-gud-print-command): Use gud-minor mode instead of
8048 tooltip-gud-tips-setup and tooltip-gud-debugger.
8050 * gdb-ui.el (gdb-starting): Set gdb-running to t.
8051 (gdb-stopped): Set gdb-running to nil.
8052 (gdb-quit): Reset some variables including tool-bar-map.
8054 * gud.el (gdb-running): New variable.
8055 (gud-menu-map): Use gdb-running to gray out toolbar buttons
8056 with gdba in gdb-ui.el.
8057 (gud-tool-bar-map): Move to avoid byte compiler warning.
8059 2002-11-27 Jason Rumney <jasonr@gnu.org>
8061 * files.el (file-truename): Canonicalize non-existent names on w32.
8063 2002-11-28 Kim F. Storm <storm@cua.dk>
8065 * ido.el (ido-xemacs): Remove defvar. All uses changed to
8066 check (featurep 'xemacs) instead.
8067 (ido-visit-buffer): Use select-frame-set-input-focus unconditionally.
8069 2002-11-27 Dave Love <fx@gnu.org>
8071 * emacs-lisp/cl-macs.el: Move `predicates for analyzing Lisp
8072 forms' block to top (before uses).
8073 (help-fns): Don't require at top level. (Recursively.)
8074 (cl-transform-lambda): Require help-fns.
8076 2002-11-26 Dave Love <fx@gnu.org>
8078 * language/european.el (encode-mac-roman): Deal with unencodable
8081 * language/cyrillic.el (ccl-encode-koi8, ccl-encode-koi8-u)
8082 (ccl-encode-alternativnyj): Deal with unencodable characters.
8084 * international/code-pages.el (cp-make-coding-system): Deal with
8085 unencodable characters.
8087 2002-11-24 Richard M. Stallman <rms@gnu.org>
8089 * mail/sendmail.el (mail-signature): Handle case where
8090 value of mail-signature is a string.
8092 * menu-bar.el (menu-bar-describe-menu): Add "What's This?" item.
8094 * faces.el (face-set-after-frame-default): Ignore errors
8095 in face-spec-face-set.
8097 * cus-face.el (custom-declare-face): Add face-defface-spec
8098 prop after applying the face spec.
8100 2002-11-23 Nick Roberts <nick@nick.uklinux.net>
8102 * tooltip.el (tooltip-gud-print-command): Add server prefix to the
8103 print command for gdb to keep it out of the command history.
8105 * gdb-ui.el: Major re-organization. Simplify legacy gdba
8106 code to allow only one gdb process.
8108 2002-11-23 Markus Rost <rost@math.ohio-state.edu>
8110 * scroll-all.el (scroll-all-mode): Move arg LIGHTER to the right
8113 2002-11-22 Simon Marshall <marshals@perth>
8115 * font-lock.el (c++-font-lock-extra-types): Add various STL classes.
8117 2002-11-21 Nick Roberts <nick@nick.uklinux.net>
8119 * gdb-ui.el: General tidying. Patches from Stefan Monnier.
8121 2002-11-20 Simon Josefsson <jas@extundo.com>
8123 * play/morse.el (morse-code): Add non-ASCII characters, according
8124 to table at http://www.soton.ac.uk/~scp93ch/morse/.
8126 2002-11-21 Richard M. Stallman <rms@gnu.org>
8128 * dired.el (dired-sort-inhibit): New variable.
8129 (dired-sort-toggle-or-edit): Err if dired-sort-inhibit non-nil.
8131 * find-dired.el (find-dired): Set dired-sort-inhibit to t
8134 2002-11-21 Eugene Exarevsky <zheka@relex.ru>
8136 * progmodes/sql.el: Added LINTER support.
8137 (sql-linter-program): New variable.
8138 (sql-linter-options): New variable.
8139 (sql-mode-menu): Add Linter keywords.
8140 (sql-mode-linter-font-lock-keywords): New variable.
8141 (sql-highlight-linter-keywords): New function.
8142 (sql-linter): New function.
8143 (sql-ms-options): New variable.
8146 2002-11-21 John Paul Wallington <jpw@shootybangbang.com>
8148 * ibuffer.el (ibuffer-formats): Change default value; bump width
8149 of size column in first format to 7.
8151 2002-11-20 Stefan Monnier <monnier@cs.yale.edu>
8153 * help-fns.el (describe-variable): Look for (defvar . <sym>) in the
8154 load-history since `defvar' now uses this format.
8156 * custom.el (custom-declare-variable): Use push.
8157 Use the (defvar . <sym>) format in load-history like `defvar' does.
8159 * subr.el (symbol-file): Accept a non-atomic `function' arg.
8160 (with-local-quit): Add debug and indentation info.
8162 2002-11-20 John Paul Wallington <jpw@shootybangbang.com>
8164 * subr.el (symbol-file): Remove unused variable `functions'.
8166 2002-11-20 Markus Rost <rost@math.ohio-state.edu>
8168 * Makefile.in (setwins_almost): Rename from finder_setwins.
8169 (custom-deps): Use it.
8170 (finder-data): Adjust to that name change.
8172 2002-11-19 Stefan Monnier <monnier@cs.yale.edu>
8174 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8175 Turn errors into messages so they don't get ignored.
8176 (eldoc-get-fnsym-args-string): Use help-split-fundoc.
8177 (eldoc-beginning-of-sexp): Simplify.
8178 (eldoc-function-arglist): Remove.
8179 (eldoc-function-argstring): Use help-function-arglist instead.
8180 (eldoc-function-argstring-from-docstring-method-table)
8181 (eldoc-function-argstring-from-docstring): Remove.
8183 * emacs-lisp/cl.el (multiple-value-call): Add docstring.
8185 2002-11-19 Dave Love <fx@gnu.org>
8187 * emacs-lisp/bytecomp.el (maphash, map-char-table):
8188 Use byte-compile-funarg.
8190 * emacs-lisp/byte-opt.el (side-effect-free-fns): Several additions.
8192 2002-11-19 Markus Rost <rost@math.ohio-state.edu>
8194 * progmodes/vhdl-mode.el (defgroup vhdl-related): Declare the
8195 members here rather than with custom-add-to-group. This is the
8196 intended way of using defgroup and also lets
8197 custom-make-dependencies do its job.
8198 (defgroup vhdl-highlight-faces): Ditto.
8200 * emacs-lisp/shadow.el (defgroup lisp-shadow): New group name.
8201 Previous group name shadow is used in shadowfile.el.
8202 (shadows-compare-text-p): Use group lisp-shadow.
8204 2002-11-19 Stefan Monnier <monnier@cs.yale.edu>
8206 * emacs-lisp/cl.el (multiple-value-call): Add docstring.
8208 2002-11-19 Masatake Yamato <jet@gyve.org> (tiny change)
8210 * register.el (describe-register-1): Don't assign to val the value
8211 returned by `remove-list-of-text-properties'.
8213 2002-11-18 Kai Großjohann <kai.grossjohann@uni-duisburg.de>
8215 * calendar/diary-lib.el (fancy-diary-font-lock-keywords):
8216 Grok month numbers, too.
8218 2002-11-18 Juanma Barranquero <lektu@terra.es>
8220 * mail/smtpmail.el (smtpmail-send-queued-mail): Add autoload cookie.
8222 2002-11-18 Markus Rost <rost@math.ohio-state.edu>
8224 * pcvs.el (cvs-minor-mode, cvs-mode-commit-hook): Add group.
8226 * textmodes/refill.el (defgroup refill): New group.
8228 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Add group.
8230 * textmodes/sgml-mode.el (html-autoview-mode): Add group.
8232 * textmodes/paragraphs.el (use-hard-newlines): Add group.
8234 * progmodes/compile.el (compilation-shell-minor-mode): Add group.
8235 (compilation-minor-mode): Add group.
8237 * reveal.el (global-reveal-mode): Add group.
8239 * bookmark.el (bookmark-menu-length): Fix group name.
8241 2002-11-17 Richard M. Stallman <rms@gnu.org>
8243 * mail/rmail.el (rmail-ignored-headers): Add more headers.
8245 * calendar/parse-time.el (parse-time-elt): Var renamed from `elt'.
8246 (parse-time-val): Var renamed from `val'. All uses changed.
8248 * files.el (parse-time-rules): Mark it as risky.
8250 * finder.el (finder-commentary): Use buffer *Finder-package*.
8252 * menu-bar.el (menu-bar-options-menu): Improve tooltip string.
8254 * simple.el (indicate-unused-lines)
8255 (default-indicate-unused-lines): New variable aliases.
8257 2002-11-18 Kenichi Handa <handa@m17n.org>
8259 * progmodes/cc-vars.el: Undo previous change.
8261 2002-11-18 Kenichi Handa <handa@m17n.org>
8263 * language/cyrillic.el (cyrillic-iso-8bit): Make it safe.
8265 * language/european.el (iso-latin-1): Make it safe.
8266 (iso-latin-2, iso-latin-3, iso-latin-4, iso-latin-5, iso-latin-8)
8267 (iso-latin-9): Likewise.
8269 * language/greek.el (greek-iso-8bit): Make it safe.
8271 * language/hebrew.el (hebrew-iso-8bit): Make it safe.
8273 * language/lao.el (lao): Make it safe.
8275 * language/thai.el (thai-tis620): Make it safe.
8277 2002-11-17 Markus Rost <rost@math.ohio-state.edu>
8279 * speedbar.el (defgroup speedbar): Use group 'etags instead of
8280 nonexistent group 'tags.
8282 * emacs-lisp/re-builder.el: Add provide call.
8284 * mail/feedmail.el (feedmail-fiddle-headers-upwardly)
8285 (feedmail-fiddle-plex-user-list): Fix typo in group name.
8287 * progmodes/make-mode.el (makefile-space-face): Fix group name.
8289 * textmodes/ispell.el (defgroup ispell): Arrange that definition
8290 starts at beginning of line.
8292 * textmodes/table.el (defgroup table-hooks): New group.
8293 (table-cell-map-hook): Fix typo in group name.
8295 * calendar/diary-lib.el (diary-button-face): Add group and version
8298 * warnings.el (defgroup warnings): New group.
8300 2002-11-16 Markus Rost <rost@math.ohio-state.edu>
8302 * emacs-lisp/autoload.el (update-autoloads-from-directories):
8303 Sort the list of files with no autoloads.
8305 2002-11-16 Alan Shutko <ats@acm.org>
8307 * calendar/diary-lib.el (list-diary-entries): Pass a marker
8308 indicating source of entry to add-to-diary-list.
8309 (diary-button-face, diary-entry, diary-goto-entry): New, to
8310 support click to diary file.
8311 (fancy-diary-display): Buttonize diary entries. Use new mode
8312 fancy-diary-display-mode.
8313 (list-sexp-diary-entries): Pass a marker indicating source of
8314 entry to add-to-diary-list.
8315 (diary-date): Return mark as well as entry.
8316 (add-to-diary-list): Add new marker argument, appended to
8318 (diary-mode, fancy-diary-display-mode): New derived modes, for
8319 diary file and fancy diary buffer respectively.
8320 (fancy-diary-font-lock-keywords, diary-font-lock-keywords):
8322 (font-lock-diary-sexps, font-lock-diary-date-forms):
8323 New functions, used in diary-font-lock-keywords.
8325 * calendar/calendar.el (diary-face): New.
8326 (european-calendar-display-form, describe-calendar-mode)
8327 (mark-visible-calendar-date, calendar-mark-today): Tidy doc string.
8328 (calendar-mode): Set up font-lock mode, using new variable
8329 calendar-font-lock-keywords.
8330 (generate-calendar-window): Fontify if font-lock-mode is on.
8331 (calendar-font-lock-keywords): New variable.
8333 2002-11-16 Ivan Zakharyaschev <imz@altlinux.org> (tiny change)
8335 * international/codepage.el (cp866-decode-table): Fix the
8338 2002-11-16 Martin Stjernholm <mast@lysator.liu.se>
8340 * progmodes/cc-bytecomp.el (cc-bytecomp-defun): Fix bug that
8341 caused existing function definitions to be overridden by
8342 phonies when the bytecomp environment is restored.
8344 2002-11-15 Nick Roberts <nick@nick.uklinux.net>
8346 * toolbar/gud-break.pbm, toolbar/gud-cont.pbm, toolbar/gud-display.pbm,
8347 toolbar/gud-down.pbm, toolbar/gud-finish.pbm, toolbar/gud-goto.pbm,
8348 toolbar/gud-next.pbm, toolbar/gud-print.pbm, toolbar/gud-remove.pbm,
8349 toolbar/gud-run.pbm, toolbar/gud-step.pbm, toolbar/gud-up.pbm:
8350 Icons for debugger (pbm files).
8352 2002-11-15 Richard M. Stallman <rms@gnu.org>
8354 * international/mule.el (set-buffer-file-coding-system): Redo prev chg.
8356 2002-11-15 John Paul Wallington <jpw@shootybangbang.com>
8358 * ibuffer.el (ibuffer-use-other-window, ibuffer-use-header-line)
8359 (ibuffer-visit-buffer, ibuffer-redisplay, ibuffer-update): Doc fix.
8360 (ibuffer-mode-hooks): Remove spurious defvar.
8361 (ibuffer): Run `ibuffer-hook' instead of `ibuffer-hooks'.
8362 (ibuffer-mode): Run `ibuffer-mode-hook' instead of
8363 `ibuffer-mode-hooks'.
8365 2002-11-15 Markus Rost <rost@math.ohio-state.edu>
8367 * mail/rmailedit.el: Add provide call.
8369 * play/bruce.el: Add provide call.
8371 * emacs-lisp/gulp.el: Add provide call.
8373 2002-11-14 Richard M. Stallman <rms@gnu.org>
8375 * international/mule.el (set-buffer-file-coding-system): Undo prv chg.
8377 2002-11-14 Markus Rost <rost@math.ohio-state.edu>
8379 * custom.el (custom-declare-group): Remove unnecessary line of code.
8381 * cus-dep.el (custom-make-dependencies): Bind load-file-name.
8383 2002-11-14 Edward M. Reingold <reingold@emr.cs.iit.edu>
8385 * calendar/diary-lib.el (make-diary-entry): Allow for local variables
8386 at end of diary file.
8388 2002-11-14 Kim F. Storm <storm@cua.dk>
8390 * files.el (mode-name): Mark it as risky-local-variable like the
8391 other mode-line elements (moved from bindings.el).
8393 * bindings.el (mode-name): Move mark as risky-local-variable to
8396 2002-11-14 Juanma Barranquero <lektu@terra.es>
8398 * gud.el: Fix feature name in `provide'.
8400 * gdb-ui.el: Fix feature name in `require'.
8402 2002-11-14 Per Cederqvist <ceder@lysator.liu.se> (tiny change)
8404 * progmodes/etags.el (find-tag-default): Copy text at point without
8407 2002-11-14 Kenichi Handa <handa@m17n.org>
8409 * progmodes/cc-vars.el: Don't cc-bytecomp-defun char-table-p.
8411 2002-11-14 Kim F. Storm <storm@cua.dk>
8413 * textmodes/fill.el (fill-nobreak-invisible): New var.
8414 (fill-nobreak-p): Test it; return t if set and point invisible.
8415 (fill-newline): Test it; remove invisible prop on newline if set.
8417 * info.el (Info-fontify-node): New local list paragraph-markers.
8418 Record markers for mangled *note references on that list.
8419 When done, go back through those markers and fill each mangled
8420 paragraph with `fill-nobreak-invisible' let-bound to t.
8421 Don't use `display' property; insert "see" directly in buffer.
8423 2002-11-14 Nick Roberts <nick@nick.uklinux.net>
8425 * gdb-ui.el: New file, User Interface for running GDB
8427 * gud.el:(gud-find-file): Set up GDB tool bar.
8428 (gud-menu-map): New commands: run, goto.
8429 Enable some commands for gdba.
8430 (gud-query-cmdline): Pass default directory to gdba.
8431 (gdb): Define gud-goto and gud-run.
8432 (gud-gdb-complete-command): Maybe use gdba-complete-filter.
8433 (gud-mode): Set up local tool bar.
8434 (gud-display-line): For gdba, call gdb-display-source-buffer.
8435 (gud-basic-call): For gdba, maybe delete the current prompt.
8436 (gud-tool-bar-map): New variable.
8437 (gud-read-address): Correction.
8439 * toolbar/gud-break.xpm, toolbar/gud-cont.xpm, toolbar/gud-display.xpm,
8440 toolbar/gud-down.xpm, toolbar/gud-finish.xpm, toolbar/gud-goto.xpm,
8441 toolbar/gud-next.xpm, toolbar/gud-print.xpm, toolbar/gud-remove.xpm,
8442 toolbar/gud-run.xpm, toolbar/gud-step.xpm, toolbar/gud-up.xpm:
8445 2002-11-13 Stefan Monnier <monnier@cs.yale.edu>
8447 * pcvs.el (cvs-mode-run): Don't pass "." if not needed.
8449 2002-11-13 Andre Spiegel <spiegel@gnu.org>
8451 * vc-rcs.el (vc-rcs-registered): Improve comment.
8453 * vc-sccs.el (vc-sccs-registered): Improve comment.
8455 2002-11-13 Tim Van Holder <tim.vanholder@anubex.com>
8457 * progmodes/compile.el (compilation-error-regexp-alist):
8458 Don't include colon and space after a file name as part of the name.
8460 2002-11-13 Richard M. Stallman <rms@gnu.org>
8462 * gud.el (gdb): Undo 10-26 change.
8464 2002-11-13 Kenichi Handa <handa@m17n.org>
8466 * replace.el (occur-engine): Set buffer-file-coding-system of
8467 OUT-BUF to that of one of BUFFERS if they locally bind that variable.
8469 2002-11-13 Markus Rost <rost@math.ohio-state.edu>
8471 * custom.el (custom-handle-all-keywords): Fix arg passed to
8472 custom-add-to-group.
8474 2002-11-12 Stefan Monnier <monnier@cs.yale.edu>
8476 * pcvs-defs.el (cvs-mode-map): Remove M-f binding.
8477 (cvs-minor-mode-map): Add e binding in log-view-mode.
8479 * progmodes/perl-mode.el (perl-hanging-paren-p): New fun.
8480 (perl-indent-line): Look at the open-paren to indent a close-paren.
8481 (perl-calculate-indent): Try to better indent args after hanging paren.
8482 Remove special code for open-paren-in-column-0.
8484 * textmodes/sgml-mode.el (sgml-namify-char): New cmd.
8485 (sgml-name-char): Use it.
8486 (sgml-tag-last, sgml-tag-history): New vars.
8487 (sgml-tag): Use them.
8488 (sgml-skip-tag-forward): Use sgml-tag-syntax-table.
8489 (sgml-delete-tag): Remove resulting empty lines.
8490 (sgml-tag) <symbol-plist>: Don't make intangible.
8491 (sgml-parse-tag-backward): Add limit argument.
8492 (html-autoview-mode): Use define-minor-mode.
8494 2002-11-12 Markus Rost <rost@math.ohio-state.edu>
8496 * vc-rcs.el (vc-rcs-registered): Handle the autoload cookie so
8497 that the definition is found by `find-function-search-for-symbol'
8500 * vc-sccs.el (vc-sccs-registered): Ditto.
8502 * emulation/edt.el (defgroup edt): Arrange that definition starts
8503 at beginning of line.
8505 * ls-lisp.el (defgroup ls-lisp): Remove autoload cookie.
8507 * hi-lock.el (defgroup hi-lock-interactive-text-highlighting):
8508 Remove autoload cookie.
8510 * newcomment.el (defgroup comment): Remove autoload cookie.
8512 2002-11-11 Markus Rost <rost@math.ohio-state.edu>
8514 * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button):
8515 Declare with defvar, not with defcustom.
8517 * cus-dep.el: Don't require 'autoload.
8518 (custom-make-dependencies): Handle :version also for autoloaded
8521 * winner.el (defgroup winner): Arrange that definition starts at
8524 * emulation/edt.el: Simplify Emacs 19 compatibility.
8526 2002-11-11 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr> (tiny change)
8528 * dired-aux.el (dired-show-file-type): Format filename with "%s" to
8529 escape any format-like sequences it could contain.
8531 2002-11-11 Per Abrahamsen <abraham@dina.kvl.dk>
8533 * cus-edit.el (custom-save-delete): Force emacs-lisp-mode.
8535 2002-11-11 Juanma Barranquero <lektu@terra.es>
8537 * bindings.el (mode-name): Mark it as risky-local-variable.
8539 2002-11-09 Dave Love <fx@gnu.org>
8541 * international/mule-cmds.el (current-language-environment):
8544 * international/ucs-tables.el: Revert to using
8545 translation-table-for-input instead of keyboard-translate-table.
8547 * international/quail.el (quail-input-string-to-events):
8550 * simple.el (quoted-insert): Bind translation-table-for-input,
8551 not keyboard-translate-table.
8553 2002-11-08 Stefan Monnier <monnier@cs.yale.edu>
8555 * arc-mode.el (archive-zip-summarize): Don't hardcode (point-min) = 1.
8557 * complete.el (PC-do-completion): Make partial-completion work
8558 with incomplete directory names.
8560 * textmodes/tex-mode.el (latex-standard-block-names): Rename from
8561 standard-latex-block-names.
8562 (tex-font-lock-keywords-1): Add providecommand, renewenvironment,
8563 and renewtheorem. Highlight \it and \bf separately since they
8565 (tex-font-lock-suscript, tex-font-lock-unfontify-region): New funs.
8566 (tex-font-lock-keywords-3, tex-verbatim-environments)
8567 (tex-font-lock-syntactic-keywords): New vars.
8568 (superscript, subscript, tex-verbatim-face): New faces.
8569 (tex-font-lock-syntactic-face-function): Handle \verb construct.
8570 (tex-common-initialization): Update font-lock-defaults setting.
8571 (tex-insert-braces): Make it into a skeleton.
8572 (latex-fill-nobreak-predicate): Don't break after \.
8573 (latex-insert-block): Rename from tex-latex-block.
8574 (latex-down-list): Use tex-mode-syntax-table when skipping parens
8575 rather than the indentation syntax-table.
8576 (latex-close-block): Rename from tex-close-latex-block.
8577 (latex-split-block): New fun.
8578 (latex-indent): Don't indent inside a verbatim block.
8579 (latex-find-indent): Stick \begin{verbatim} to the margin.
8581 2002-11-08 John Wiegley <johnw@gnu.org>
8583 * calendar/timeclock.el (timeclock-modeline-display): Use assq as
8584 well as memq to find `global-mode-string' within
8585 `mode-line-format'. The structure of that variable has changed in
8588 2002-11-07 Stefan Monnier <monnier@cs.yale.edu>
8590 * format.el (format-decode): Be careful with the order in `format'.
8592 * eshell/esh-cmd.el (function-p-func): Avoid `xemacs-p'.
8594 * eshell/em-glob.el: Require esh-util.
8595 (eshell-glob-initialize): Don't assume
8596 eshell-special-chars-outside-quoting is available.
8598 * textmodes/fill.el (fill-paragraph): Consider a comment-start as
8599 a paragraph starter when filling non-comments.
8600 (fill-comment-paragraph): Don't narrow while doing the fill.
8601 Recognize paragraph starters and separators within comments.
8602 Use adaptive-fill-prefix when it works. Use comment-search-forward.
8604 * progmodes/compile.el (grep-default-command): New fun.
8606 (compilation-menu-map): New var.
8607 (compilation-minor-mode-map, compilation-shell-minor-mode-map): Use it.
8608 (compilation-mode-map): Simplify.
8609 (compilation-shell-minor-mode, compilation-minor-mode):
8610 Use define-minor-mode.
8612 * elide-head.el (elide-head): Don't make intangible.
8614 * help.el (where-is): Rename map to defs (a list of syms is not a map).
8615 Test fboundp first, to speed things up. Use push.
8617 * isearch.el (isearch-hidden): New var.
8618 (isearch-search-and-update): Test it.
8619 (isearch-range-invisible): Set it.
8621 * progmodes/tcl.el (tcl-mode): Don't set paragraph-start,
8622 paragraph-separate, comment-column, and fill-paragraph-function.
8623 Simplify outline-regexp.
8624 (tcl-do-fill-paragraph): Remove.
8626 2002-11-07 Markus Rost <rost@math.ohio-state.edu>
8628 * mail/sendmail.el (mail-default-directory): Set the version to 21.4.
8630 * progmodes/compile.el (grep-compute-defaults): Undo previous change.
8631 Definition moved down.
8632 (grep-command, grep-find-command, grep-tree-command): Allow value nil.
8633 Do not declare :get property.
8634 (grep-use-null-device): Fix type. Do not declare :get property.
8636 * emacs-lisp/checkdoc.el (checkdoc-find-error):
8637 Use get-file-buffer instead of get-buffer.
8639 * cus-dep.el (custom-make-dependencies): Fix comment inserted in
8642 2002-11-07 Juanma Barranquero <lektu@terra.es>
8644 * help.el (where-is): Report also aliases of the passed command.
8646 2002-11-06 Dave Love <fx@gnu.org>
8648 * simple.el (quoted-insert): Bind keyboard-translate-table around
8651 * international/ucs-tables.el: Use keyboard-translate-table coding
8652 system property, not translation-table-for-input, for
8653 vietnamese-viscii & al.
8654 (translation-table-for-input): Set,
8655 don't defvar, and make permanent-local.
8656 (ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859): Add/remove
8657 set-buffer-major-mode-hook, not quail-activate-hook.
8658 (ucs-set-table-for-input): Rename from ucs-quail-activate.
8659 (ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859):
8660 Setup keyboard-translate-table, not translation-table-for-input.
8661 Modify set-buffer-major-mode-hook, not quail-activate-hook.
8662 (ucs-fragment-8859): Don't use translation-table-for-input coding
8664 (ucs-quail-activate): Delete.
8665 (ucs-set-table-for-input): New.
8666 (ucs-minibuffer-setup): Use it.
8668 * international/quail.el (quail-input-string-to-events):
8669 Use keyboard-translate-table, not translation-table-for-input.
8671 * files.el (normal-mode): Call ucs-set-table-for-input.
8673 * international/mule.el (set-buffer-file-coding-system):
8674 Call ucs-set-table-for-input.
8676 2002-11-06 Richard M. Stallman <rms@gnu.org>
8678 * replace.el (query-replace, query-replace-regexp): Doc fixes.
8680 * emacs-lisp/bytecomp.el (byte-compile-lambda):
8681 Handle progn like let, inside interactive spec.
8683 * textmodes/tex-mode.el (tex-dvi-view-command): Value can be sexp.
8684 Initialize to a suitable sexp.
8685 (tex-view): Evaluate tex-dvi-view-command and use the value.
8687 2002-11-06 Kenichi Handa <handa@m17n.org>
8689 * international/mule.el (coding-system-eol-type-mnemonic):
8690 Use eol-mnemonic-undecided if CODING-SYSTEM is nil.
8692 2002-11-06 Kim F. Storm <storm@cua.dk>
8694 * info.el (Info-fontify-node): Fix hiding of *note references
8695 with embedded file names like (xxx.yyy).
8696 Avoid making any lines visibly longer if hiding newlines inside
8697 note references by wrapping line after references if it contained
8698 a newline (unfortunately this makes more lines appear "shorter").
8699 Properly reindent multi-line menu entry descriptions.
8701 2002-11-05 Juanma Barranquero <lektu@terra.es>
8703 * language/cyrillic.el ("Bulgarian"): Fix typo.
8705 * international/mule.el (coding-system-eol-type-mnemonic):
8706 Move from mule-util.el.
8708 * international/mule-util.el (coding-system-eol-type-mnemonic):
8711 2002-11-04 Juanma Barranquero <lektu@terra.es>
8713 * files.el (find-buffer-visiting): Accept new optional PREDICATE
8714 argument to return only a buffer that satisfies the predicate.
8715 (insert-file-1): New function.
8716 (insert-file-literally): Use it.
8717 (insert-file): Use it.
8719 2002-11-04 Robert Fenk <Robert.Fenk@gmx.de> (tiny change)
8721 * desktop.el (desktop-relative-file-names): New variable.
8722 (desktop-save): Use it.
8724 2002-11-03 Andre Spiegel <spiegel@gnu.org>
8726 * vc.el (vc-dired-mode): Adapt dired-move-to-filename-regexp to
8727 its current version in dired.el.
8729 2002-11-03 Stefan Monnier <monnier@cs.yale.edu>
8731 * emacs-lisp/autoload.el (generate-file-autoloads)
8732 (update-file-autoloads): Strip .gz and other such extensions.
8733 (update-autoloads-from-directories): Also consider compressed files.
8735 * info.el (Info-streamline-headings): New var.
8736 (Info-dir-remove-duplicates): New fun.
8737 (Info-insert-dir): Use it. Simplify the code with push,mapc,dolist.
8738 (Info-select-node): Simplify handling of Info-header-line.
8739 (Info-forward-node): Undo 2000/12/15 since we don't narrow any more.
8740 (Info-mode): Set header-line-format once and for all.
8741 (Info-fontify-node): Accept bogus first line with `File:' missing.
8742 Only make first line invisible if Info-use-header-line.
8743 Don't use `intangible': it's evil. Use inhibit-read-only.
8744 (Info-follow-reference, Info-next-reference, Info-prev-reference)
8745 (Info-try-follow-nearest-node): Don't bind inhibit-point-motion-hooks
8746 since we don't use intangible any more.
8748 * image.el (insert-image): Don't make intangible since
8749 adjust_point_for_property should be sufficient by default.
8751 2002-11-02 Stefan Monnier <monnier@cs.yale.edu>
8753 * textmodes/fill.el (fill-paragraph-handle-comment): New var.
8754 (fill-comment-paragraph): New fun (generalizes of lisp-fill-paragraph).
8755 (fill-paragraph): Use them.
8757 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph):
8758 Use fill-comment-paragraph.
8760 2002-11-02 Stefan Monnier <monnier@cs.yale.edu>
8762 * bindings.el (mode-line-change-eol)
8763 (mode-line-eol-desc-cache, mode-line-eol-desc): New.
8764 (mode-line-mule-info): Use them for the EOL part of the modeline.
8766 * server.el (server-sentinel): Kill buffers if applicable.
8767 (server-temp-file-p): Make arg optional.
8768 (server-done): Use it to simplify.
8769 (server-switch-buffer): If server-window is a function, use it.
8771 * mail/undigest.el (rmail-digest-end-regexps): Simplify.
8772 (undigestify-rmail-message): Fix paren-bug and simplify.
8774 2002-11-02 Kim F. Storm <storm@cua.dk>
8776 * info.el (Info-hide-note-references): nil value now does no
8777 reformatting at all. New choice 'tag reformats tag but shows
8778 the section reference.
8779 (Info-fontify-node): Use it.
8781 2002-11-01 Stefan Monnier <monnier@cs.yale.edu>
8783 * textmodes/tex-mode.el (tex-common-initialization):
8784 comment-start-skip shouldn't match on the next line.
8786 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Use match-string.
8787 Don't bother making paragraph-start a superset of paragraph-separate.
8788 Use line-beginning-position.
8790 * textmodes/sgml-mode.el (sgml-skip-tag-backward)
8791 (sgml-skip-tag-forward): Deal with xml-style <foo/> empty tags.
8793 2002-11-01 Kim F. Storm <storm@cua.dk>
8795 * info.el (Info-hide-note-references): New defcustom.
8796 (Info-fontify-node): Use it.
8798 2002-10-31 Kim F. Storm <storm@cua.dk>
8800 * shell.el (explicit-bash-args): Bash 1.x doesn't grok
8801 --noediting option; added run-time check to exclude it.
8803 * info.el (Info-follow-reference, Info-next-reference)
8804 (Info-prev-reference, Info-try-follow-nearest-node):
8805 Bind inhibit-point-motion-hooks to t while parsing reference.
8806 (Info-fontify-node): When font-lock-mode is enabled, display
8807 "*note" and "* menu" references in a more user friendly format.
8809 2002-10-30 Stefan Monnier <monnier@cs.yale.edu>
8811 * textmodes/fill.el (fill-move-to-break-point): Skip white space
8812 _before_ checking to see if we're hitting the margin.
8813 (fill-region-as-paragraph): Don't fiddle with the undo-list any more:
8814 it's now done by the C primitives. Don't use narrowing.
8815 Reorganize the line-breaking part of the code to simplify the control
8816 flow and make it work in the absence of narrowing.
8817 (fill-region): Don't use narrowing.
8819 2002-10-30 Dave Love <fx@gnu.org>
8821 * textmodes/po.el (po-content-type-charset-alist): Delete most entries.
8822 (po-find-charset): Doc fix. Remove interactive spec.
8824 (po-find-file-coding-system-guts): Re-written to use
8825 coding-system-alist, and code-pages, not codepage stuff.
8827 * term/x-win.el: Remove some ancient compatibility code.
8828 Populate x-keysym-table.
8830 2002-10-30 Andreas Schwab <schwab@suse.de>
8832 * subr.el (replace-regexp-in-string): Doc fix.
8834 2002-10-29 Dave Love <fx@gnu.org>
8836 * cus-start.el (selection-coding-system, scalable-fonts-allowed): Add.
8838 * progmodes/scheme.el (syntax-case): Define scheme-indent-function.
8840 * international/mule-conf.el: Doc fixes.
8842 2002-10-29 Richard M. Stallman <rms@gnu.org>
8844 * server.el (server-switch-buffer): Say when no server buffers remain.
8846 * net/goto-addr.el (goto-address-url-regexp): Don't match `mailto'.
8848 2002-10-28 Masayuki Ataka <ataka@milk.freemail.ne.jp> (tiny change)
8850 * progmodes/make-mode.el (makefile-warn-continuations):
8851 Call re-search-forward with NOERROR t.
8853 2002-10-29 Kim F. Storm <storm@cua.dk>
8855 * ido.el (ido-wide-find-dirs-or-files): Fix problem that caused
8856 incomplete list of matches to be returned.
8858 2002-10-29 Masayuki Ataka <ataka@milk.freemail.ne.jp> (tiny change)
8860 * textmodes/texinfo.el (texinfo-environments): Add environment;
8861 copying, documentdescription, ifplaintext, ifnotplaintext, and
8864 * textmodes/texinfmt.el (texinfo-format-ifplaintext): New function.
8865 (ifplaintext, ifnotplaintext)
8866 (afourpaper, afivepaper, afourlatex, afourwide)
8867 (documentlanguage, documentencoding): New aliases.
8869 2002-10-29 John Paul Wallington <jpw@shootybangbang.com>
8871 * ibuffer.el (ibuffer-mouse-popup-menu): Set point before popping
8872 up filter groups menu. Preserve point unless a menu command has
8873 moved it from point clicked.
8875 2002-10-29 David Kastrup <dak@lola.goethe.zz>
8877 * calc/calc.el (calc-any-evaltos): Initialize to nil, since
8878 calc-refresh-evaltos appears to need this.
8880 2002-10-28 Dave Love <fx@gnu.org>
8882 * international/mule-diag.el (non-iso-charset-alist): Move to
8883 avoid compilation warning.
8884 (mule-diag): Provide.
8886 * international/code-pages.el (cp-make-coding-system):
8887 Use utf-translation-table-for-decode, not
8888 utf-8-translation-table-for-decode.
8889 (mule-diag): Require.
8891 * language/thai-util.el (thai-composition-function): Don't use prog1.
8893 * language/lao-util.el (lao-composition-function): Don't use prog1.
8895 * language/european.el (diacritic-composition-function):
8896 Modify confused prog1 form.
8898 * international/quail.el (quail-keyboard-layout-alist): Fix pc105-uk.
8899 (quail-keyboard-layout): Customize.
8900 Move after quail-keyboard-layout-alist.
8902 2002-10-28 Miles Bader <miles@gnu.org>
8904 * progmodes/make-mode.el (makefile-warn-continuations):
8905 Don't barf when there _aren't_ any suspicious continuations.
8907 2002-10-28 Matthew Swift <swift@alum.mit.edu>
8909 * progmodes/compile.el (grep-find-use-xargs): Fix docstring.
8911 2002-10-27 Michael Kifer <kifer@cs.stonybrook.edu>
8913 * ediff-wind.el (ediff-control-frame-parameters): Add scrollbar-height.
8915 2002-10-27 Andreas Schwab <schwab@suse.de>
8917 * progmodes/sh-script.el (sh-mode-syntax-table): Don't make ^L
8918 end-of-comment syntax.
8920 2002-10-27 Kim F. Storm <storm@cua.dk>
8922 * ido.el (ido-cannot-complete-command): New defcustom, default to
8923 ido-completion-help (similar to iswitchb-cannot-complete-hook).
8924 (ido-complete): Call value of ido-cannot-complete-command rather
8925 than ido-completion-help when no common completion.
8927 2002-10-27 Dave Love <fx@gnu.org>
8929 * international/code-pages.el (iso-8859-11): New.
8931 2002-10-27 Kim F. Storm <storm@cua.dk>
8933 * pcvs.el (cvs-checkout): Use read-directory-name.
8934 (cvs-query-directory): Likewise.
8936 2002-10-26 Richard M. Stallman <rms@gnu.org>
8938 * progmodes/make-mode.el (makefile-cleanup-continuations):
8939 Default for variable is nil.
8940 (makefile-warn-continuations): New function.
8941 (makefile-mode): Put it on write-file-functions.
8943 * international/mule-cmds.el (select-safe-coding-system):
8944 Delete debugging setq.
8946 * shell.el (shell): Look for .emacs_SHELL under ~/.emacs.d
8949 * startup.el (command-line): Look for .emacs under ~/.emacs.d
8952 * simple.el (toggle-truncate-lines): When turning off truncation,
8953 clear out the hscroll value in this buffer's windows.
8955 * simple.el (display-message-or-buffer): Don't display empty
8956 output in the echo area.
8958 * man.el (Man-default-man-entry): Don't look for all word chars,
8959 look only for characters that are normally part of a shell command.
8961 * gud.el (gdb): Pass default-directory to GDB via -cd option.
8963 * font-lock.el (c++-font-lock-keywords...): Add `restrict' keyword.
8965 * find-file.el (ff-find-related-file): Fix autoload cookie.
8967 * emacs-lisp/unsafep.el (unsafep-variable): Pass second arg to
8968 risky-local-variable-p.
8970 * files.el (risky-local-variable-p): VAL=nil has special meaning.
8972 * Makefile.in (compile-always): Avoid error in old Bash versions.
8974 2002-10-26 John Paul Wallington <jpw@shootybangbang.com>
8976 * textmodes/picture.el (picture-mouse-set-point): New command.
8977 (picture-mode-map): Bind it.
8978 (picture-motion-reverse): Doc fix.
8980 2002-10-25 Stefan Monnier <monnier@cs.yale.edu>
8982 * textmodes/outline.el (outline-next-heading): Make sure the match-data
8983 is really correct where returning.
8985 2002-10-24 Matthew Swift <swift@alum.mit.edu>
8987 * textmodes/outline.el (outline-minor-mode): Add customization group.
8989 2002-10-23 Richard M. Stallman <rms@gnu.org>
8991 * files.el (risky-local-variable-p): New arg VAL.
8992 (compile-command): Use `stringp' for `safe-local-variable' prop.
8993 (hack-one-local-variable): Pass VAL to `risky-local-variable-p'.
8995 2002-10-23 Francis J. Wright <F.J.Wright@qmul.ac.uk>
8997 * woman.el (woman-version): Update to 0.551 (beta).
8998 (woman-parse-colon-path): Add support for current Cygwin mount
9000 (woman-Cyg-to-Win): New function to convert absolute filename from
9001 Cygwin to Windows form by executing external program cygpath if
9003 (woman-man.conf-path): Update default to current common locations
9004 and to support Cygwin; update documentation.
9005 (woman-parse-man.conf): Generalize regexp to "man.*\\.conf" to
9006 match possible names of man.conf file; tidy code and documentation.
9007 (woman-manpath): Simplify default and documentation; essentially
9008 move code that was here into `woman-parse-colon-path'.
9009 (woman-default-indent): Change Linux to GNU in documentation.
9010 (woman-addition-face): Make documentation consistent with other
9012 (woman-emulate-tbl): New variable, determines whether tbl
9013 emulation is required.
9014 (woman-decode-region): Add check for preprocessor requests.
9015 (woman0-process-escapes, woman-special-characters)
9016 (woman-get-next-char, woman-parse-numeric-value): Add support for
9017 long groff names of the form [xxx].
9018 (woman-strings, woman-change-fonts): Now call `woman-match-name'.
9019 (woman2-PD, woman2-na): Doc fix.
9020 (woman-match-name): New function.
9021 (woman2-TS): New function.
9022 (woman2-TE): New alias for `woman2-fi'.
9024 2002-10-23 Kim F. Storm <storm@cua.dk>
9026 * ido.el (ido-restrict-to-matches): New command.
9027 (ido-define-mode-map): Bind it to C-SPC and C-@ in ido-mode-map.
9029 2002-10-22 Bob Halley <halley@play-bow.org> (tiny change)
9031 * eshell/esh-io.el (eshell-set-output-handle): Fix so that
9032 multiple redirection can work.
9034 2002-10-21 Stefan Monnier <monnier@cs.yale.edu>
9036 * ielm.el (inferior-emacs-lisp-mode): If hexl not found, use cat.
9037 Don't hardcode point-min == 1.
9039 * hexl.el (hexl-mode-old-write-contents-hooks): Remove.
9040 (hexl-mode, hexl-current-address, hexl-address-to-marker)
9041 (hexl-insert-char): Don't hardcode point-min == 1.
9042 (hexl-isearch-search-function): New fun.
9043 (hexl-mode-old-isearch-search-fun-function): New var.
9044 (hexl-mode): Use them.
9045 (hexl-mode, hexl-mode-exit, hexl-maybe-dehexlify-buffer):
9046 Use write-contents-functions rather then write-contents-hooks.
9048 * textmodes/text-mode.el (text-mode-syntax-table): Make ' a prefix.
9049 (paragraph-indent-text-mode-abbrev-table)
9050 (paragraph-indent-text-mode-syntax-table): Remove.
9051 (paragraph-indent-text-mode): Use the :abbrev and :syntax-table args.
9053 2002-10-21 Juanma Barranquero <lektu@terra.es>
9055 * eshell/esh-util.el (directory-files-and-attributes): Copy docstring
9056 from Emacs 21. Arg DIR renamed to DIRECTORY for consistency.
9058 2002-10-20 Andreas Schwab <schwab@suse.de>
9060 * apropos.el (apropos-group): Use customize-group-other-window.
9062 2002-10-18 Stefan Monnier <monnier@rum.cs.yale.edu>
9064 * progmodes/perl-mode.el (perl-mode-syntax-table): Change $ back
9065 to just "/" instead of "/ p".
9066 (perl-font-lock-syntactic-keywords): Use ". p" for the `$'.
9068 2002-10-18 Juanma Barranquero <lektu@terra.es>
9070 * textmodes/artist.el (artist-ff-is-bottommost-line): Fix misplaced
9071 ELSE expression on IF.
9073 2002-10-17 Juanma Barranquero <lektu@terra.es>
9075 * align.el (align-rules-list, align-exclude-rules-list): Fix typos.
9077 * subr.el (remq): Likewise.
9079 * vc-cvs.el (vc-cvs-sticky-tag-display): Likewise.
9081 * vc-hooks.el (vc-insert-file): Likewise.
9083 * vcursor.el (vcursor-other-window): Likewise.
9085 * wid-edit.el (widget-choose): Likewise.
9087 * calendar/diary-lib.el (diary-name-pattern): Likewise.
9089 * emacs-lisp/elint.el (elint-error, elint-warning): Likewise.
9091 * emacs-lisp/lisp.el (beginning-of-defun): Likewise.
9093 * emulation/edt-mapper.el (top-level): Likewise.
9095 * eshell/esh-var.el (eshell/define): Likewise.
9097 * mail/feedmail.el (feedmail-nuke-body-in-fcc)
9098 (feedmail-queue-draft-directory): Likewise.
9100 * net/netrc.el (netrc-parse): Likewise.
9102 * obsolete/cplus-md.el (c++-empty-arglist-indent): Likewise.
9104 * progmodes/ebrowse.el (ebrowse-ts)
9105 (ebrowse-view/find-file-and-search-pattern)
9106 (ebrowse-draw-file-member-info): Likewise.
9108 * progmodes/idlwave.el (idlwave-region-active-p): Likewise.
9110 * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
9112 * progmodes/sh-script.el (sh-indent-for-then): Likewise.
9114 * textmodes/bibtex.el (bibtex-find-entry-location): Likewise.
9116 * textmodes/sgml-mode.el (sgml-close-tag, html-imenu-index): Likewise.
9118 2002-10-17 Dave Love <fx@gnu.org>
9120 * international/mule-diag.el (non-iso-charset-alist): Add koi8-u.
9122 * international/code-pages.el (cp-make-translation-table):
9123 Use ucs-mule-to-mule-unicode.
9124 (cp-fix-safe-chars): Fix typo.
9125 (non-iso-charset-alist): Don't define.
9126 (cp-make-coding-system): Use utf-8-translation-table-for-decode.
9127 Define translation-table-for-input.
9129 (alternativnj): Don't define alias.
9132 * language/european.el ("Slovenian"): Use slovenian input-method.
9133 (encode-mac-roman): Use ucs-mule-to-mule-unicode.
9135 * language/cyrillic.el (cyrillic-alternativnyj-decode-table):
9137 (cyrillic-alternativnyj): Don't give it `mime-charset' property.
9138 (cp866): Delete this alias.
9139 ("Bulgarian"): Fix the value of `input-method'.
9141 2002-10-16 Luc Teirlinck <teirllm@mail.auburn.edu>
9143 * dired-aux.el (dired-add-entry): Put point in correct position
9144 before inserting marker char.
9146 2002-10-16 Andreas Schwab <schwab@suse.de>
9148 * dired.el (dired-readin-insert): Expand dired-directory.
9150 * dired-aux.el (dired-insert-subdir-doinsert): Preserve point.
9152 2002-10-16 Markus Rost <rost@math.ohio-state.edu>
9154 * textmodes/reftex-vars.el: Move reftex-set-dirty here from
9155 reftex.el. Move the provide call to end of file.
9157 * textmodes/reftex.el: Move reftex-set-dirty to reftex-vars.el.
9159 2002-10-15 Dave Love <fx@gnu.org>
9161 * man.el (Man-getpage-in-background): Set width in environment.
9163 2002-10-15 Kenichi Handa <handa@m17n.org>
9165 * mail/sendmail.el (sendmail-send-it):
9166 Call select-message-coding-system before changing the current buffer to
9169 2002-10-14 Andre Spiegel <spiegel@gnu.org>
9171 * files.el (insert-directory): Handle //SUBDIRED// lines in
9172 recursive listings from ls --dired.
9174 * vc.el (vc-dired-reformat-line): Simplify. Handles text
9175 properties correctly now.
9177 2002-10-14 Juanma Barranquero <lektu@terra.es>
9179 * international/mule.el (set-selection-coding-system): Fix spacing.
9181 2002-10-13 Richard M. Stallman <rms@gnu.org>
9183 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9184 Treat `ignore' specially--prevent warnings about functions
9185 called for effect, in its args.
9186 Don't warn when `pop' is used for effect.
9188 * emacs-lisp/autoload.el (autoload-print-form): Cleanup.
9190 * uniquify.el (uniquify-get-proposed-name):
9191 Don't use directory-sep-char.
9193 * thingatpt.el (read-from-whole-string): Add call to `ignore'.
9195 * find-file.el (ff-related-file-alist): New alias.
9196 (ff-find-related-file): New alias.
9198 2002-10-13 Andreas Schwab <schwab@suse.de>
9200 * dired.el (dired-insert-directory): When looking for existing
9201 indentation, goto OPOINT instead of beginning of buffer.
9203 2002-10-12 Stefan Monnier <monnier@cs.yale.edu>
9205 * cus-dep.el (custom-make-dependencies): Ignore preloaded files.
9207 2002-10-12 Michael Kifer <kifer@cs.stonybrook.edu>
9209 * ediff-init.el (ediff-frame-char-height): Use frame-selected-window.
9211 * ediff-util.el (ediff-file-checked-in-p): Change progn with and.
9213 * ediff-wind.el (ediff-skip-unsuitable-frames): Distinguish selected
9214 frame from frame of selected window.
9215 (ediff-frame-has-dedicated-windows): Don't select any frames to avoid
9216 changing selected windows.
9217 (ediff-setup-control-frame): Make sure auto-raise is properly set for
9220 2002-10-10 Simon Josefsson <jas@extundo.com>
9222 * browse-url.el (browse-url-mozilla): Doc fix.
9224 2002-10-10 Steve Youngs <youngs@xemacs.org>
9226 * browse-url.el (browse-url-mozilla-new-window-is-tab): New.
9227 (browse-url-mozilla): Use it.
9229 2002-10-11 Miles Bader <miles@gnu.org>
9231 * vc-cvs.el (vc-cvs-parse-entry): Don't barf when an `Entries'
9232 files contains an invalid timestamp.
9234 2002-10-11 Simon Josefsson <jas@extundo.com>
9236 * mail/sendmail.el (mail-envelope-from): New option `header' to
9237 use RFC 2822 From: header as the envelope address.
9238 (mail-envelope-from): New function, this should be used instead of
9239 looking at the `mail-envelope-from' variable.
9240 (sendmail-send-it): Use it.
9242 * mail/smtpmail.el (smtpmail-via-smtp): Use it.
9244 2002-10-11 Andre Spiegel <spiegel@gnu.org>
9246 * dired.el (dired-insert-directory): Fix check for indentation
9249 * vc.el (vc-dired-reformat-line): As a temporary fix, remove all text
9250 properties from the reformatted line.
9252 2002-10-10 Stefan Monnier <monnier@cs.yale.edu>
9254 * textmodes/paragraphs.el (forward-paragraph): Keep track of
9255 remaining paragraphs to skip more carefully.
9257 * add-log.el (add-change-log-entry): Don't call find-file at all
9258 if we're already in the proper buffer.
9259 (change-log-resolve-conflict): New fun.
9260 (change-log-mode): Use it and use define-derived-mode.
9261 (change-log-merge): Allow other-log to be a buffer.
9262 Don't add a \n if there are already enough \n's.
9264 * finder-inf.el, subdirs.el, cus-load.el: Remove.
9266 * finder.el ("finder-inf"): Don't fail if the file is absent.
9268 * cus-dep.el (custom-make-dependencies): Don't use find-file.
9269 Use feature names rather than file names if applicable.
9271 * cus-edit.el (customize-mode): New command.
9273 * custom.el (custom-group-of-mode): New fun.
9274 (custom-load-symbol): Don't use preloaded-file-list now that
9275 load-history is always complete. Don't look up the expanded file
9276 name in load-history (looked like an XEmacsism).
9278 * smerge-mode.el (smerge-ediff): Autoload.
9279 (smerge-match-conflict): Don't assume as much about smerge-begin-re.
9280 (smerge-resolve-function): New var.
9281 (smerge-resolve): New command.
9282 (smerge-basic-map): Bind it.
9284 2002-10-10 Andre Spiegel <spiegel@gnu.org>
9286 * vc-cvs.el (vc-cvs-parse-entry): Parse the time stamp found in
9287 CVS/Entries, rather than comparing it textually.
9289 2002-10-10 Markus Rost <rost@math.ohio-state.edu>
9291 * international/encoded-kb.el: Add `provide' call.
9293 2002-10-09 David Kastrup <David.Kastrup@t-online.de>
9295 * calc/calc-alg.el (calcFunc-ln): In symbolic manipulations,
9296 ln(-1) should be i*pi, not pi.
9298 2002-10-09 Markus Rost <rost@math.ohio-state.edu>
9300 * vc-cvs.el (vc-cvs-registered): In the autoload version use load
9301 instead of require to avoid loops when loaddefs.el is loaded after
9304 * cus-edit.el (Custom-reset-current): Don't test for default-boundp.
9305 (Custom-reset-saved): Don't test for saved-value.
9307 2002-10-08 Stefan Monnier <monnier@cs.yale.edu>
9309 * vc.el (vc-find-version): Use the new backend op `find-version'.
9310 (vc-default-find-version): Provide the new backend op `find-version'
9311 in terms of the old `checkout' op.
9313 * vc-rcs.el (vc-rcs-find-version): New fun.
9314 (vc-rcs-checkout): Remove `workfile' arg and simplify.
9316 * vc-sccs.el (vc-sccs-find-version): New fun.
9317 (vc-sccs-checkout): Remove `workfile' arg and simplify.
9319 * vc-cvs.el (vc-cvs-find-version): New fun.
9321 2002-10-08 John Paul Wallington <jpw@shootybangbang.com>
9323 * info.el (Info-next-menu-item, Info-last-menu-item)
9324 (info-emacs-manual): Add docstrings.
9325 (Info-index): Use `string-to-number' instead of `string-to-int'.
9327 2002-10-08 Kenichi Handa <handa@m17n.org>
9329 * international/ucs-tables.el (ucs-translation-table-for-decode):
9330 Define it as a translation-table.
9332 2002-10-07 Richard M. Stallman <rms@gnu.org>
9334 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9336 * progmodes/compile.el (grep-compute-defaults): Set the standard-value
9337 properties of the variables being initialized.
9339 * thingatpt.el (thing-at-point-url-path-regexp): Doc fix.
9341 2002-10-07 Kim F. Storm <storm@cua.dk>
9343 * emulation/cua-base.el (cua-normal-cursor-color):
9344 Fix initialization to make "Erase Customization" work.
9346 2002-10-07 Stefan Monnier <monnier@cs.yale.edu>
9348 * vc.el (vc-maybe-resolve-conflicts): Always call vc-resolve-conflicts
9349 in case some other package redefined it.
9350 (vc-resolve-conflicts): Make it into an alias for smerge-ediff.
9352 * textmodes/fill.el (fill-paragraph): Go to BOL before calling
9353 forward-paragraph to make sure its return value is meaningful.
9355 2002-10-06 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9357 * net/tramp.el: Version 2.0.25 released.
9358 (tramp-handle-file-truename): If it's a directory,
9359 append slash only if result doesn't end in a slash already.
9360 (tramp-handle-file-truename): Restructure logic. If list of steps
9361 is nil, return "/" as the real name.
9362 (tramp-completion-mode): Add "\\(" and "\\)". Otherwise,
9363 `match-string' doesn't make sense. From Michael Albinus.
9364 (tramp-host-with-port-regexp): New defcustom. Equal to previous
9365 `tramp-host-regexp'. From Michael Albinus.
9366 (tramp-host-regexp): Taken off hashes in host names. Otherwise,
9367 scanning files like .rhosts would take comments as host names.
9368 From Michael Albinus.
9369 (tramp-file-name-structure, tramp-multi-file-name-hop-structure):
9370 Replace `tramp-host-regexp' by `tramp-host-with-port-regexp'.
9371 From Michael Albinus.
9372 (tramp-action-terminal): New function.
9373 (tramp-terminal-prompt-regexp): New variable, matches "tset" prompts.
9374 (tramp-actions-before-shell): Use them.
9375 (tramp-handle-shell-command): Logic error. From Ivan
9376 Zakharyaschev <imz@altlinux.org>.
9378 2002-10-06 Markus Holmberg <markush@acc.umu.se> (tiny change)
9380 * thingatpt.el (thing-at-point-uri-schemes): New variable.
9381 (thing-at-point-url-regexp): Use it.
9383 2002-10-06 Glenn Morris <gmorris@ast.cam.ac.uk>
9385 * progmodes/fortran.el (fortran-beginning-do): Ignore labeled DO
9388 2002-10-05 Stefan Monnier <monnier@cs.yale.edu>
9390 * vc.el (vc-log-mode-map): Explicitly inherit from text-mode.
9391 (vc-maybe-resolve-conflicts): Don't check smerge-mode and smerge-ediff.
9392 (vc-print-log): Don't check log-view-mode.
9393 (vc-default-show-log-entry): Don't check log-view-goto-rev.
9394 (vc-log-mode): Remove.
9395 (vc-log-edit): Don't check log-edit.
9397 2002-10-04 Stefan Monnier <monnier@cs.yale.edu>
9399 * vc-cvs.el (vc-cvs-show-log-entry):
9400 * vc-rcs.el (vc-rcs-show-log-entry): Delete.
9402 * smerge-mode.el (smerge-ediff): Add name-{mine,other,base} args.
9404 2002-10-04 Markus Rost <rost@math.ohio-state.edu>
9406 * vc.el (vc-default-show-log-entry): Fix typo.
9408 2002-10-04 Steven Tamm <steventamm@mac.com>
9410 * term/mac-win.el: Add lines to handle the new [return] event.
9412 2002-10-03 Stefan Monnier <monnier@cs.yale.edu>
9414 * textmodes/fill.el (fill-paragraph): Give up if there's no
9415 paragraph at or after point.
9417 * textmodes/paragraphs.el (forward-paragraph): Return the steps left.
9419 * vc.el (vc-print-log): Unconditionally use `show-log-entry'.
9420 (vc-default-show-log-entry): New fun.
9422 * subr.el (read-key-auxiliary-map, read-key): Remove.
9423 (read-quoted-char): Undo the `read-key' change of 2002-06-23.
9425 2002-10-03 Markus Rost <rost@math.ohio-state.edu>
9427 * progmodes/ada-stmt.el (ada-stmt-add-to-ada-menu): Handle the
9428 menu pseudo-keys generated by easymenu which are lowercase in
9431 * progmodes/ada-xref.el (ada-xref-update-project-menu)
9432 (ada-add-ada-menu): Ditto.
9434 2002-10-03 John Paul Wallington <jpw@shootybangbang.com>
9436 * frame.el (delete-frame-hook): Variable alias for
9437 `delete-frame-functions'. Mark obsolete.
9439 2002-10-02 Stefan Monnier <monnier@cs.yale.edu>
9441 * textmodes/outline.el (outline-1, outline-2, outline-3, outline-4)
9442 (outline-5, outline-6, outline-7, outline-8): New faces.
9443 (outline-font-lock-faces, outline-font-lock-levels): New vars.
9444 (outline-font-lock-face): New fun.
9445 (outline-font-lock-keywords): Use it.
9446 (outline-font-lock-level): Remove.
9447 (outline-mode, outline-next-preface, outline-next-heading)
9448 (outline-previous-heading, outline-next-visible-heading):
9450 (outline-level) <var>: Update calling convention.
9451 (outline-level) <fun>: Take advantage of it.
9452 (outline-demote): Don't assume the match-data is still uptodate.
9453 (outline-up-heading): Simplify and make sure the match data is
9454 properly set at the end.
9456 2002-10-02 Markus Rost <rost@math.ohio-state.edu>
9458 * progmodes/sh-script.el (sh-alias-alist): Use append instead of
9461 * startup.el (normal-top-level): Reset standard-value property of
9462 `user-full-name' here.
9464 2002-10-02 Per Abrahamsen <abraham@dina.kvl.dk>
9466 * wid-edit.el (widget-default-get): Change to return external
9468 (widget-choice-action): Update caller.
9469 (widget-editable-list-entry-create): Update caller.
9471 * wid-edit.el (widget-types-copy): New function.
9472 (default): Add :copy keyword.
9473 (menu-choice): Ditto.
9475 (radio-button-choice): Ditto.
9476 (editable-list): Ditto.
9478 (widget-copy): New function.
9479 (widget-create-child): Use it.
9480 (widget-create-child-value): Use it.
9482 2002-10-01 Bill Wohler <wohler@newt.com>
9484 * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
9485 mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el,
9486 mail/mh-utils.el, mail/mh-xemacs-compat.el, mail/reply2.pbm,
9487 mail/reply2.xpm, toolbar/execute.pbm, toolbar/execute.xpm,
9488 toolbar/page-down.pbm, toolbar/page-down.xpm, toolbar/refile.pbm,
9489 toolbar/refile.xpm, toolbar/repack.pbm, toolbar/repack.xpm,
9490 toolbar/rescan.pbm, toolbar/rescan.xpm, toolbar/show.pbm,
9491 toolbar/show.xpm, toolbar/widen.pbm, toolbar/widen.xpm:
9492 Upgraded to mh-e version 6.1.1. Full ChangeLog available in
9493 http://prdownloads.sourceforge.net/mh-e/mh-e-6.1.tgz?download .
9494 There were no user-visible changes in 6.1.1 from 6.1--only the
9495 section of the Makefile that installs the files into Emacs was changed.
9497 2002-10-01 Stefan Monnier <monnier@cs.yale.edu>
9499 * pcvs.el (cvs-mode-find-file): Look up font-lock-face so it also
9500 works when font-lock is turned off.
9502 * jit-lock.el (jit-lock-fontify-now): Don't widen.
9503 Let the jit-lock-functions do it if they want to.
9505 2002-10-01 Juanma Barranquero <lektu@terra.es>
9507 * eshell/esh-module.el (eshell-load-defgroups):
9508 Add "no-byte-compile: t" to subdirs.el.
9510 * makefile.w32-in (update-subdirs-CMD): Likewise.
9518 * international/mule-conf.el:
9519 * language/czech.el:
9520 * language/devanagari.el:
9521 * language/english.el:
9522 * language/georgian.el:
9523 * language/greek.el:
9524 * language/hebrew.el:
9525 * language/japanese.el:
9526 * language/korean.el:
9528 * language/misc-lang.el:
9529 * language/romanian.el:
9530 * language/slovak.el:
9532 * language/utf-8-lang.el:
9533 * emacs-lisp/cl-specs.el:
9534 * eshell/esh-maint.el:
9535 * mail/blessmail.el:
9541 * term/iris-ansi.el:
9556 * term/wyse50.el: Add "no-byte-compile: t" in first line.
9558 2002-10-01 Kenichi Handa <handa@m17n.org>
9560 * international/utf-16.el: Don't provide utf-16.
9562 * international/utf-8.el (ccl-decode-mule-utf-8):
9563 Remove unnecessary line.
9565 2002-09-30 Kenichi Handa <handa@m17n.org>
9567 * language/thai.el (thai-tis620): Add `mime-charset' property.
9569 * language/indian.el: Don't register "ISO10646.*-1" in
9570 font-ccl-encoder-alist.
9572 * language/cyrillic.el (ccl-decode-koi8): Refer to
9573 ucs-translation-table-for-decode.
9574 (ccl-decode-koi8-u): Likewise.
9575 (ccl-decode-alternativnyj): Likewise.
9576 (cyrillic-koi8): Put `dependency' property.
9578 (cyrillic-alternativnyj): Likewise.
9580 * international/utf-8.el (ucs-mule-to-mule-unicode): Don't define
9581 this translation-table name here.
9582 (utf-translation-table-for-encode): New translation-table name.
9583 (utf-fragmentation-table): Rename from utf-8-fragmentation-table.
9584 (utf-defragmentation-table): New variable.
9585 (ucs-mule-cjk-to-unicode): Rename from utf-8-subst-rev-table.
9586 (utf-subst-table-for-encode): New translation-table name.
9587 (ucs-unicode-to-mule-cjk): Rename from utf-8-subst-table.
9588 (utf-subst-table-for-decode): New translation-table name.
9589 (utf-fragment-on-decoding): Rename from
9590 utf-8-fragment-on-decoding. Correctly handle the case that
9591 unify-8859-on-encoding-mode is off. Handle mule-utf-16-le and
9593 (utf-translate-cjk): Rename from utf-8-translate-cjk.
9594 Handle mule-utf-16-le and mule-utf-16-be too.
9595 (ccl-decode-mule-utf-8): Refer to utf-translation-table-for-decode
9596 and utf-subst-table-for-decode.
9597 (ccl-encode-mule-utf-8): Refer to utf-translation-table-for-encode
9598 and utf-subst-table-for-encode.
9599 (mule-utf-8): Fix `safe-charsets' property, put `dependency' property.
9601 * international/utf-8-subst.el: Setup ucs-unicode-to-mule-cjk and
9602 ucs-mule-cjk-to-unicode, not utf-8-subst-table and
9603 utf-8-subst-rev-table.
9605 * international/utf-16.el (utf-16-decode-ucs): Look up
9606 utf-subst-table-for-decode. Fix for the case that the looking up
9608 (ccl-decode-mule-utf-16-le): Translate characters by
9609 utf-translation-table-for-decode.
9610 (ccl-decode-mule-utf-16-be): Likewise.
9611 (ccl-encode-mule-utf-16-le): Look up utf-subst-table-for-encode
9612 at first. Translate characters by utf-translation-table-for-encode.
9613 (ccl-encode-mule-utf-16-be): Likewise.
9614 (mule-utf-16-le, mule-utf-16-be): Add `dependency' property.
9616 * loadup.el: Preload international/utf-16. Don't call ucs-unify-8859.
9618 * international/ucs-tables.el: Don't bind
9619 utf-8-translation-table-for-decode while setting up
9620 ucs-mule-8859-to-ucs-table, etc. Add `dependency' property to
9621 iso-8859-* coding systems.
9622 (ucs-unify-8859): Arguments changed to FOR-ENCODE and FOR-DECODE.
9623 If FOR-DECODE is non-nil, make ucs-mule-8859-to-mule-unicode
9624 populate the translation table named
9625 ucs-translation-table-for-decode. If FOR-ENCODE is non-nil, make
9626 ucs-mule-to-mule-unicode populates the translation table named
9627 utf-translation-table-for-encode. Call register-char-codings for
9628 mule-utf-16-be and mule-utf-16-le too.
9629 (ucs-fragment-8859): Arguments changed to FOR-ENCODE and
9630 FOR-DECODE. If FOR-DECODE is non-nil, make the translation table
9631 named ucs-translation-table-for-decode vacant. If FOR-ENCODE is
9632 non-nil, make a proper char-table populates the translation table
9633 name utf-translation-table-for-encode. Call register-char-codings
9634 for all mule-utf-* to reset their status to the original.
9635 (unify-8859-on-encoding-mode): Call ucs-unify-8859 and
9636 ucs-fragment-8859 with fixed arguments. Set the version to 21.3.
9637 (unify-8859-on-decoding-mode): Likewise. Remove dependency.
9638 (ccl-encode-unicode-font): Delete.
9639 (ucs-tables-unload-hook): Delete.
9641 * international/mule.el (decode-char): Refer to the translation
9642 hash table named utf-subst-table-for-decode. Refer to the
9643 translation table named utf-translation-table-for-decode instead
9644 of utf-8-translation-table-for-decode.
9645 (encode-char): Refer to the translation hash table named
9646 utf-subst-table-for-encode. Refer to the translation table named
9647 utf-translation-table-for-encode instead of
9648 utf-8-translation-table-for-encode.
9650 * international/mule-diag.el (describe-coding-system):
9651 Describe `dependency' property.
9653 * international/mule-conf.el (emacs-mule): Add property `composition'.
9655 * international/fontset.el (ucs-mule-to-mule-unicode): Define this
9656 translation table name here.
9657 (ucs-mule-cjk-to-unicode): New translation table name.
9658 (ccl-encode-unicode-font): Merge the code in ucs-tables.el.
9659 (font-ccl-encoder-alist): Change the font registry pattern to
9662 2002-09-30 Colin Walters <walters@gnu.org>
9664 * calc/calc-stuff.el (calc-flush-caches): Add optional arg
9667 * calc/calc-prog.el (calc-kbd-report, calc-kbd-query): Don't bind
9668 `executing-kbd-macro' and `defining-kbd-macro'.
9670 * calc/calc-ext.el (calc-reset): Don't bind `executing-kbd-macro'.
9671 Call `calc-flush-caches' with inhibit-msg arg.
9672 (calc-change-mode): Remove extra arg for `calc-save-modes'.
9674 * calc/calc-mode.el (calc-save-modes): Remove `quiet' arg.
9675 Don't bind `executing-kbd-macro'.
9677 2002-09-29 Noah Friedman <friedman@splode.com>
9679 * subr.el (read-key): Use read-key-auxiliary-map, not read-key-aux-map.
9681 2002-09-29 Richard M. Stallman <rms@gnu.org>
9683 * startup.el (user-mail-address): Initialize to a useful value
9684 once Emacs is started up; initialize to "" at loadup time.
9685 (command-line): "", not nil, means user-mail-address not set yet.
9687 2002-09-29 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9689 * net/tramp.el: Version 2.0.24 released.
9690 (tramp-methods, tramp-completion-function-alist):
9691 Rename "*-old" methods to "*_old". From Michael Albinus.
9692 (tramp-completion-function-alist):
9693 Use `tramp-completion-function-alist-ssh' for the "fcp" method.
9694 From Michael Albinus.
9695 (tramp-default-method-alist): Use "su" for "root@localhost".
9696 (tramp-host-regexp): Allow "#" for "host#port" kludge.
9697 (tramp-ange-ftp-file-name-p): If METHOD is nil, find the right
9698 default method. Require additional args USER and HOST for this.
9700 (tramp-handle-file-local-copy): More local bindings. Bind results
9701 of tramp-get-{remote,local}-{de,en}coding earlier to avoid nasty
9702 "are you awake" problem.
9703 (tramp-action-password): Protect against clobbered match data.
9704 (tramp-open-connection-setup-interactive-shell): Explicitly set
9705 tramp-last-cmd-time before invoking tramp-send-command the first
9706 time. Otherwise, tramp-send-command would issue "echo are you
9707 awake" right at the first time, which is not what we want.
9708 Reported by Douglas Gray Stephens.
9709 (tramp-find-inline-encoding): Don't redirect stdout to
9710 /dev/null to avoid "chmode go-rwx" operation from "mimencode
9711 >/dev/null" as root(!), and to check the output of the decoding
9713 (tramp-maybe-open-connection): Don't send "are you awake" if
9716 2002-09-29 Colin Walters <walters@gnu.org>
9718 * calc/calc.el (calc-dispatch-map): Actually set to keymap.
9720 2002-09-29 Mike Williams <mdub@bigfoot.com>
9722 * textmodes/sgml-mode.el (sgml-guess-indent): Handle tabs correctly.
9724 2002-09-29 Richard M. Stallman <rms@gnu.org>
9726 * custom.el (defcustom): Doc fix.
9728 2002-09-28 Richard M. Stallman <rms@gnu.org>
9730 * loadhist.el (unload-feature): When undefining a variable,
9731 delete its buffer-local bindings.
9733 2002-09-28 Luc Teirlinck <teirllm@mail.auburn.edu>
9735 * subr.el (remove-yank-excluded-properties): Fix bugs in
9736 handling of category properties.
9738 2002-09-28 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9740 * ps-print.el (ps-print-emacs-type): Error if ps-print is
9741 activated in Epoch, inLucid or in Emacs v19 or lesser.
9742 Value can no longer be `lucid'.
9743 (ps-print-version): New version number (6.5.8).
9744 (faces): Never do (require 'faces).
9746 2002-09-28 Simon Josefsson <jas@extundo.com>
9748 * mail/smtpmail.el (smtpmail-via-smtp): Only negotiate STARTTLS on
9749 streams that were opened using STARTTLS.
9751 2002-09-28 Paul Reilly <pmr@pajato.com>
9753 * files.el (auto-mode-alist): Add support for Java Enterprise
9754 ARchive (ear/EAR) and Web ARchive (war/WAR) files.
9756 2002-09-28 John Paul Wallington <jpw@shootybangbang.com>
9758 * progmodes/m4-mode.el (m4-font-lock-keywords)
9759 (m4-mode-syntax-table, m4-mode-abbrev-table, m4-m4-buffer)
9760 (m4-m4-region): Doc fixes.
9762 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>
9764 * emacs-lisp/cl-macs.el: Use the new usage-in-docstring syntax.
9765 (cl-push, cl-pop): Remove.
9766 Use pop and push throughout the file instead.
9767 (cl-transform-lambda): Add usage info to docstring if the arglist
9770 * emacs-lisp/autoload.el (make-autoload): Add usage info to docstring.
9771 (autoload-print-form): Also quote open-[-in-column 0.
9773 * help-fns.el (help-with-tutorial): Use minibuffer-completion-help.
9774 (help-split-fundoc): Don't support old syntax any more.
9775 (help-add-fundoc-usage): New fun.
9777 * emacs-lisp/cl-extra.el (cl-push, cl-pop): Remove.
9778 Use pop and push throughout the file instead.
9779 (cl-hash-lookup): Remove.
9780 (cl-make-hash-table, cl-hash-table-p, cl-gethash, cl-puthash)
9781 (cl-remhash, cl-clrhash, cl-maphash, cl-hash-table-count): Simplify.
9783 * emacs-lisp/cl-seq.el (cl-push, cl-pop): Remove.
9784 Use pop and push throughout the file instead.
9786 * emacs-lisp/edebug.el: Don't precompute menu shortcuts during
9787 loading since the current keymaps might be all weird.
9789 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't add properties
9790 to the name since they're added by mode-line-format already.
9791 (define-minor-mode): Run (,mode -1) when needed.
9793 * tar-mode.el (tar-untar-buffer): Handle dir-entries.
9794 (tar-summarize-buffer, tar-mode, tar-extract, tar-copy, tar-expunge)
9795 (tar-alter-one-field, tar-subfile-save-buffer, tar-mode-write-file):
9796 Don't hardcode 1 == point-min.
9798 * abbrev.el (write-abbrev-file): Don't hardcode point-min == 1.
9800 * subr.el (read-key-auxiliary-map): New var.
9802 (make-temp-file): Make the file have mode 600.
9803 (add-minor-mode): Don't add properties to the name since it's
9804 added by mode-line-format already.
9805 Be more careful with the mode-line-menu entry name.
9807 * userlock.el (ask-user-about-supersession-threat): Don't abort
9808 when the user hits mouse-2.
9810 * register.el (set-register): Use push.
9811 (point-to-register): Set kill-buffer-hook in this buffer.
9812 (register-swap-out): Use dolist.
9813 (kill-buffer-hook): Don't change globally.
9815 * server.el (server-select-display): New function.
9816 (server-process-filter): Add support for `-display' and `-eval' args.
9817 (server-visit-files): Use save-current-buffer, push, and dolist.
9818 Add server-kill-buffer to kill-buffer-hook.
9819 (kill-buffer-hook): Don't modify globally.
9820 (server-switch-buffer): Be a bit more careful with multiple displays.
9821 (server-socket-name): Always use /tmp and non-qualified hostname.
9823 * uniquify.el (uniquify-rationalize-file-buffer-names):
9824 Add to kill-buffer-hook for buffers with conflict.
9825 (rename-buffer): Check kill-buffer-hook to see if there was a conflict.
9826 (uniquify-delay-rationalize-file-buffer-names): Remove useless check.
9827 (kill-buffer-hook): Don't change globally.
9829 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>
9831 * calc/calc.el (calc-bug-address, calc-scan-for-dels, calc-stack)
9832 (calc-stack-top, calc-always-load-extensions)
9833 (calc-line-numbering, calc-line-breaking, calc-display-just)
9834 (calc-display-origin, calc-number-radix, calc-leading-zeros)
9835 (calc-group-digits, calc-group-char, calc-point-char)
9836 (calc-frac-format, calc-prefer-frac, calc-hms-format)
9837 (calc-date-format, calc-float-format, calc-complex-format)
9838 (calc-full-float-format, calc-complex-mode, calc-infinite-mode)
9839 (calc-display-strings, calc-matrix-just, calc-break-vectors)
9840 (calc-full-vectors, calc-full-trail-vectors, calc-vector-commas)
9841 (calc-vector-brackets, calc-matrix-brackets, calc-language)
9842 (calc-language-option, calc-function-open, calc-function-open)
9843 (calc-function-close, calc-language-output-filter)
9844 (calc-language-input-filter, calc-radix-formatter)
9845 (calc-left-label, calc-right-label, calc-word-size)
9846 (calc-previous-modulo, calc-simplify-mode, calc-auto-recompute)
9847 (calc-display-raw, calc-internal-prec, calc-inverse-flag)
9848 (calc-hyperbolic-flag, calc-keep-args-flag, calc-angle-mode)
9849 (calc-algebraic-mode, calc-incomplete-algebraic-mode)
9850 (calc-symbolic-mode, calc-matrix-mode, calc-shift-prefix)
9851 (calc-window-height, calc-display-trail, calc-show-selections)
9852 (calc-use-selections, calc-assoc-selections)
9853 (calc-display-working-message, calc-auto-why, calc-timing)
9854 (calc-display-sci-high, calc-display-sci-low, calc-other-modes)
9855 (calc-other-modes, calc-Y-help-msgs, calc-loaded-settings-file):
9856 Make into real defvars.
9857 (calc-mode-var-list): Delete.
9858 (calc-mode-save-mode, calc-standard-date-formats)
9859 (calc-autorange-units, calc-was-keypad-mode, calc-full-mode)
9860 (calc-user-parse-tables, calc-gnuplot-default-device)
9861 (calc-gnuplot-default-output, calc-gnuplot-print-device)
9862 (calc-gnuplot-print-output, calc-gnuplot-geometry)
9863 (calc-graph-default-resolution, calc-graph-default-resolution-3d)
9864 (calc-invocation-macro, calc-show-banner): Make into defvars,
9865 taken from `calc-mode-var-list'.
9866 (calc-emacs-type-epoch, calc-emacs-type-19)
9867 (calc-emacs-type-lucid, calc-emacs-type-gnu19): Make into defvars.
9868 (calc-version, calc-version-date, calc-trail-pointer)
9869 (calc-trail-overlay, calc-undo-list, calc-redo-list)
9870 (calc-main-buffer, calc-trail-buffer, calc-why, calc-next-why)
9871 (calc-inverse-flag, calc-hyperbolic-flag, calc-keep-args-flag)
9872 (calc-last-kill, calc-previous-alg-entry, calc-dollar-values)
9873 (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
9874 (calc-said-hello, calc-executing-macro, calc-any-selections)
9875 (calc-help-phase, calc-full-help-flag, calc-refresh-count)
9876 (calc-display-dirty, calc-prepared-composition)
9877 (calc-selection-cache-default-entry, calc-embedded-info)
9878 (calc-embedded-active, calc-standalone-flag, var-EvalRules)
9879 (math-eval-rules-cache-tag, math-radix-explicit-format)
9880 (math-expr-function-mapping, math-expr-variable-mapping)
9881 (math-read-expr-quotes, math-working-step, math-working-step-2)
9882 (var-i, var-pi, var-e, var-phi, var-gamma, var-Modes): Make into
9883 defvars, from toplevel setq.
9884 (calc-mode-map): Set up keymap in more modern fashion.
9885 (calc-dispatch-map): Ditto.
9886 (calc-command-flags, calc-final-point-line)
9887 (calc-final-point-column): Defvar.
9888 (calc-do): Use `save-current-buffer' instead of `save-excursion'.
9890 (calc-any-evaltos): Ditto.
9891 (calc-buffer, calc-prev-char, calc-prev-prev-char)
9892 (calc-digit-value): Ditto.
9893 (math-eval-rules-cache, math-eval-rules-cache-other): Ditto.
9894 (math-sub-bignum): Bind `diff'.
9895 (calc-selection-cache-entry): Defvar.
9896 (calc-count-lines): Reference `pos' instead of `newpos'.
9898 2002-09-27 Simon Josefsson <jas@extundo.com>
9900 * mail/mail-hist.el (mail-hist-next-input): Fix docstring.
9902 2002-09-26 Richard M. Stallman <rms@gnu.org>
9904 * mail/unrmail.el (unrmail): Do the work directly,
9905 without actually selecting the messages in the from file.
9906 (unrmail-unprune): New subroutine.
9908 * files.el (backup-buffer): Bind local var MODES.
9909 Don't use renaming for a suid or sgid file.
9910 Use backup-buffer-copy to do copying.
9911 (backup-buffer-copy): New subroutine.
9912 Clear suid and sgid bits for the copy.
9914 2002-09-26 Edward M. Reingold <reingold@emr.cs.iit.edu>
9916 * calendar/solar.el (solar-equinoxes-solstices):
9917 Use time properly adjusted for DST in the result.
9919 2002-09-26 Richard M. Stallman <rms@gnu.org>
9921 * follow.el (follow-generic-filter): Simply bind deactivate-mark.
9922 Bind inhibit-read-only; don't mess with buffer-read-only.
9924 * speedbar.el (speedbar-refresh): Simply bind deactivate-mark.
9926 2002-09-26 Luc Teirlinck <teirllm@mail.auburn.edu>
9928 * ielm.el (inferior-emacs-lisp-mode): Treat the header as
9929 output, if comint-use-prompt-regexp-instead-of-fields is nil.
9931 2002-09-26 John Paul Wallington <jpw@shootybangbang.com>
9933 * ibuffer.el (ibuffer-update): Call `minibufferp' with argument
9934 instead of within `with-current-buffer'.
9936 2002-09-26 Stephen Eglen <stephen@gnu.org>
9938 * iswitchb.el (iswitchb-completions): Test that
9939 iswitchb-common-match-string is a string, before printing common
9942 2002-09-25 Stefan Monnier <monnier@cs.yale.edu>
9944 * server.el: Use built-in network primitives.
9945 (server-program, server-previous-string): Remove.
9946 (server-previous-strings): New var.
9947 (server-socket-name): New var.
9948 (server-log): Minor change to the output format.
9949 (server-sentinel): Clean up global state when a client disconnects.
9950 (server-unquote-arg): New fun.
9951 (server-start): Use server-socket-name and make-network-process.
9952 (server-process-filter): Now talks to the clients directly.
9953 Normalize file name after unquoting and decoding.
9954 (server-buffer-done): Just close the connection.
9955 (server-switch-buffer): Handle the case where all windows are
9956 dedicated or minibuffers.
9958 * font-lock.el (fast-lock-mode, lazy-lock-mode, jit-lock-mode):
9959 Don't bind them variables.
9960 (font-lock-turn-off-thing-lock, font-lock-after-fontify-buffer)
9961 (font-lock-after-unfontify-buffer): Check that the vars are bound.
9962 (font-lock-dont-widen): New var.
9963 (font-lock-default-fontify-region): Use it.
9965 * emacs-lisp/find-func.el (find-library-name):
9966 Correctly find "file.el.gz" from "file.elc" or "file.elc.gz".
9968 2002-09-25 Kenichi Handa <handa@etl.go.jp>
9970 * international/mule-cmds.el (select-safe-coding-system):
9971 Handle safe but rejected default coding systems and unsafe default
9972 coding systems differently.
9974 * international/mule-diag.el (list-character-sets): Use the buffer
9975 name "*Character Set List*", not "*Help*". List also indirectly
9976 supported character sets.
9977 (list-charset-chars): Use the buffer name "*Character List*", not
9978 "*Help*". Display the current charset name in the modeline.
9979 (non-iso-charset-alist): Add mapped charset list for `mac-roman'.
9980 (sort-listed-character-sets): Don't alter the region showing
9981 indirectly supported charsets.
9983 2002-09-24 Simon Josefsson <jas@extundo.com>
9985 * mail/mail-extr.el (mail-extr-ignore-single-names): Change default.
9986 (mail-extract-address-components): Doc fix.
9988 2002-09-24 Markus Rost <rost@math.ohio-state.edu>
9990 * simple.el (edit-and-eval-command): Protect command-history.
9991 (repeat-complex-command): Protect command-history.
9993 2002-09-24 Juanma Barranquero <lektu@terra.es>
9995 * replace.el (occur-find-match): New function.
9996 (occur-next, occur-prev): Use it.
9998 * progmodes/sh-script.el (sh-mark-init): Don't set `occur-buffer'.
9999 (sh-mark-line): Likewise. Use 'occur-target and 'occur-match
10000 instead of 'occur and 'occur-point.
10002 * eshell/em-unix.el (eshell-occur-mode-mouse-goto)
10003 (eshell-poor-mans-grep): Remove references to `occur-buffer'.
10005 2002-09-24 Stefan Monnier <monnier@cs.yale.edu>
10007 * descr-text.el (describe-text-category): Use *Help*.
10009 (describe-text-properties, describe-char):
10010 Delay self-inspection test. Use *Help*.
10011 Use syntax-after. Use `pos' rather than (point).
10012 Distinguish the before/after part of a composition.
10014 2002-09-23 Kenichi Handa <handa@etl.go.jp>
10016 * international/quail.el (quail-completion): Be sure to scroll
10017 quail-completion-buf.
10019 2002-09-23 Richard M. Stallman <rms@gnu.org>
10021 * ielm.el (*1): Fix previous change.
10023 2002-09-23 Juanma Barranquero <lektu@terra.es>
10025 * net/tramp.el (tramp-unified-filenames): Autoload it.
10027 2002-09-23 Michael Kifer <kifer@cs.stonybrook.edu>
10029 * ediff-init.el (ediff-get-next-window): Bug fix.
10031 2002-09-22 Oliver Scholz <alkibiades@gmx.de>
10033 * play/gamegrid.el (gamegrid-face): New variable to emulate a
10034 buffer-local default face.
10035 (gamegrid-xbm): New variable; XBM image as a replacement for
10036 `gamegrid-xpm' on Emacsen compiled without XPM-support.
10037 (gamegrid-colorize-glyph): Ported XEmacs-code for the generation
10038 of images to Emacs.
10039 (gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to
10040 convert XEmacs-type image descriptors.
10041 (gamegrid-color-display-p): Remove (use `display-colors-p' instead.)
10042 (gamegrid-make-image-from-vector): New function. Convert XEmacs'
10044 (gamegrid-display-type): Use Emacs' standard `display-.*-p'
10045 functions to check for display capabilities. Fix the recognition
10046 of image-support in Emacs 21 by this way.
10047 (gamegrid-hide-cursor): Remove.
10048 (gamegrid-setup-default-font): Ported the code from XEmacs to
10049 Emacs: create a new face and assign the variable `gamegrid-face'
10050 to it. Make sure that the face is not higher than the smallest
10051 image used by the game.
10052 (gamegrid-initialize-display): Use `(setq cursor-type nil)'
10053 instead of `gamegrid-hide-cursor'.
10054 (gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an
10055 image in the buffer, instead of applying a face. [This is because
10056 Emacs display-tables are not as capable as the display-tables in
10057 XEmacs. Maybe this function should be renamed to reflect the change?]
10058 (gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put
10059 the face held by `gamegrid-face' in an overlay over the whole
10060 buffer to emulate a buffer-local default-face.
10062 2002-09-22 Markus Triska <triska@gmx.at> (tiny change)
10064 * play/doctor.el (doctor-doc): Add 2 question words.
10065 (doctor-getnoun): Parse and save the complete object phrase.
10067 2002-09-22 Richard M. Stallman <rms@gnu.org>
10069 * international/mule-cmds.el (select-safe-coding-system): Cope if
10070 default-coding-system gives nil which was then used in `min'.
10072 * mail/sendmail.el (sendmail-send-it): If user's buffer
10073 is unibyte, make tembuf unibyte.
10075 2002-09-22 Kai Großjohann <grossjoh@ls6.informatik.uni-dortmund.de>
10077 * net/tramp.el: Version 2.0.22 released.
10078 (tramp-parse-rhosts, tramp-parse-shosts)
10079 (tramp-parse-hosts, tramp-parse-passwd): Apply `push' but
10080 `add-to-list' for performance reasons.
10081 (tramp-get-completion-user-host): Return `nil' in case both `user'
10082 and 'host' are empty (not necessarily `nil'.
10083 (tramp-parse-netrc, tramp-parse-netrc-group): New functions.
10084 (tramp-user-regexp): " \t" are not user regexp characters.
10085 (tramp-completion-handle-file-name-all-completions):
10086 Remove Ange-FTP completion. It has a bug not handling the "/ftp:"
10087 prefix completely, and it returns local completions as well.
10088 (tramp-completion-function-alist-ftp): New constant.
10089 (tramp-completion-function-alist): Add completion function for "ftp".
10090 From Michael Albinus <Michael.Albinus@alcatel.de>.
10092 2002-09-22 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10094 * net/tramp.el: Version 2.0.21 released.
10095 (tramp-handle-file-newer-than-file-p): If mtime of both files is
10096 known, return a useful result. Better error message in case one
10097 is a Tramp file and one isn't.
10098 (tramp-handle-file-local-copy, tramp-handle-write-region)
10099 (tramp-find-shell, tramp-open-connection-telnet)
10100 (tramp-open-connection-rsh, tramp-open-connection-su)
10101 (tramp-open-connection-setup-interactive-shell)
10102 (tramp-post-connection, tramp-maybe-open-connection)
10103 (tramp-method-out-of-band-p): Correct number of args for
10104 `tramp-get-rsh-program' and similar functions.
10106 2002-09-22 Kai Großjohann <grossjoh@ls6.informatik.uni-dortmund.de>
10108 * net/tramp.el: Version 2.0.20 released.
10110 2002-09-20 Kai Großjohann <grossjoh@ls6.informatik.uni-dortmund.de>
10112 * net/tramp.el (tramp-completion-function-alist): Escape open
10113 paren in docstring.
10114 (tramp-user-regexp, tramp-host-regexp): Allow empty strings.
10115 (tramp-handle-insert-file-contents): Call tramp-message-for-buffer
10116 instead of tramp-message.
10117 (tramp-open-connection-rsh): Handle empty string as user name.
10118 (tramp-open-connection-su): Handle empty string as host name.
10119 Handle nil user name.
10120 (tramp-handle-file-local-copy, tramp-handle-write-region)
10121 (tramp-completion-handle-file-name-all-completions)
10122 (tramp-open-connection-telnet, tramp-open-connection-rsh)
10123 (tramp-open-connection-su, tramp-post-connection)
10124 (tramp-maybe-open-connection, tramp-method-out-of-band-p)
10125 (tramp-get-connection-function, tramp-get-remote-sh)
10126 (tramp-get-rsh-program, tramp-get-rsh-args)
10127 (tramp-get-rcp-program, tramp-get-rcp-args)
10128 (tramp-get-rcp-keep-date-arg, tramp-get-su-program)
10129 (tramp-get-su-args, tramp-get-telnet-program)
10130 (tramp-get-telnet-args): Use `tramp-find-method', perhaps require
10131 additional args USER, HOST.
10132 (tramp-action-password, tramp-open-connection-telnet)
10133 (tramp-open-connection-su, tramp-open-connection-multi)
10134 (tramp-method-out-of-band-p): `tramp-method-out-of-band-p' now
10135 takes USER and HOST arguments, to be able to use
10136 `tramp-find-method'. Update callers.
10137 (tramp-find-method): New function.
10139 2002-09-20 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10141 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
10142 in SWITCHES (by removing it).
10144 2002-09-18 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10146 * net/tramp.el (tramp-file-name-handler): Add `file-remote-p' property.
10148 2002-09-17 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10150 * net/tramp.el (top-level): Maybe autoload uudecode-decode-region.
10152 2002-09-16 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10154 * net/tramp.el (tramp-bug): Add tramp-methods.
10156 2002-09-16 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10158 * net/tramp.el (tramp-methods): Update docstring:
10159 tramp-encoding-command, tramp-decoding-command,
10160 tramp-encoding-function and tramp-decoding-function are not
10161 parameters anymore.
10162 (tramp-uuencode-region): Autoload it.
10164 2002-09-13 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10166 * net/tramp.el: Version 2.0.19 released.
10168 * net/tramp-uu.el: New file, implements uuencode in Lisp.
10170 * net/tramp.el (tramp-coding-commands):
10171 Use `tramp-uuencode-region' as local encoder for the uuencode based
10174 2002-09-13 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10176 * net/tramp.el (tramp-handle-write-region): Wrong parens.
10178 2002-09-13 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10180 * net/tramp.el: Version 2.0.18 released.
10182 * net/tramp.el (tramp-perl-decode): Perl changes to accommodate
10183 older versions of Perl. Now tested with 5.004. Suggestion from
10186 2002-09-12 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10188 * net/tramp.el (tramp-find-inline-encoding):
10189 Call tramp-call-local-coding-command with nil for INPUT and OUTPUT.
10190 (tramp-call-local-coding-command): OUTPUT equals nil means to
10191 discard the output. INPUT equals nil means /dev/null.
10193 2002-09-12 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10195 * net/tramp.el (tramp-encoding-shell): Default to environment
10196 variable COMSPEC on Windows.
10197 (tramp-handle-write-region): More debugging output.
10198 (tramp-find-inline-encoding): Ditto.
10200 2002-09-11 Michael Albinus <Michael.Albinus@alcatel.de>
10202 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10204 (tramp-parse-hosts-group): Discard IPv6 entries.
10206 2002-09-11 Kai Großjohann <grossjoh@ls6.informatik.uni-dortmund.de>
10208 * net/tramp.el (tramp-post-connection): Only send Perl
10209 mime-encode/decode implementations when using inline method.
10210 (tramp-handle-file-local-copy)
10211 (tramp-handle-write-region, tramp-post-connection)
10212 (tramp-coding-commands, tramp-find-inline-encoding): For the
10213 inline encodings, distinguish between local and remote commands,
10214 instead of between commands and functions. (The local commands
10215 can be functions, too.) If the local host is a Windows machine,
10216 we can't expect the same commands to work there as on the remote host.
10217 (tramp-call-local-coding-command): New function for calling local
10218 encoding and decoding commands.
10219 (tramp-set-remote-encoding, tramp-get-remote-encoding)
10220 (tramp-set-remote-decoding, tramp-get-remote-decoding)
10221 (tramp-set-local-encoding, tramp-get-local-encoding)
10222 (tramp-set-local-decoding, tramp-get-local-decoding): New functions.
10223 (tramp-get-encoding-command, tramp-set-encoding-command)
10224 (tramp-get-decoding-command, tramp-set-decoding-command)
10225 (tramp-get-encoding-function, tramp-set-encoding-function)
10226 (tramp-get-decoding-function, tramp-set-decoding-function):
10227 Old functions, removed.
10229 2002-09-10 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10231 * net/tramp.el (tramp-open-connection-setup-interactive-shell):
10232 Change command to invoke /bin/sh slightly to make it compatible
10233 with the `rc' shell. Suggested by Daniel Pittman.
10235 2002-09-10 Michael Albinus <Michael.Albinus@alcatel.de>
10237 * net/tramp.el (tramp-handle-write-region): Add missing
10238 `)'. Hope it's the right place.
10240 2002-09-09 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10242 * net/tramp.el (tramp-open-connection-setup-interactive-shell):
10243 Do "exec env PS1='$ ' /bin/sh" instead of just "exec /bin/sh" in
10244 order to get a sane shell prompt. If people have ${CWD}, say, in
10245 their shell prompt, then the default login shell might display
10246 something harmless, but the /bin/sh will display a dollar sign
10247 which confused the subsequent prompt recognition.
10248 (tramp-multi-action-password): More debugging output.
10249 (tramp-encoding-shell): Rename from tramp-sh-program.
10250 More documentation. Default to cmd.exe on Windows NT.
10251 (tramp-encoding-command-switch): New variable. Use instead of
10252 hard-wired "-c" which is only good for /bin/sh.
10253 (tramp-encoding-reads-stdin): New variable. If t, commands are
10254 called like "/bin/sh -c COMMAND <INPUT", if nil, they are called
10255 like "/bin/sh -c COMMAND INPUT", ie the input file is the last arg.
10256 (tramp-multi-sh-program): Always default to tramp-encoding-shell.
10257 (tramp-handle-file-local-copy, tramp-handle-write-region):
10258 Respect tramp-encoding-shell and friends.
10259 (tramp-find-inline-encoding): Use new-style calls for checking if
10260 the local commands work.
10262 2002-09-07 Michael Albinus <Michael.Albinus@alcatel.de>
10264 * net/tramp.el (tramp-methods): Remove `tramp-completion-function'
10265 entries. They are handled now by `tramp-completion-function-alist'.
10266 (tramp-completion-function): Defvar removed. I've never used it. Hmm.
10267 (tramp-get-completion-function)
10268 (tramp-get-completion-rsh, tramp-get-completion-ssh)
10269 (tramp-get-completion-telnet, tramp-get-completion-su):
10270 Functions removed as well. Not necessary any longer due to extended
10271 customization means.
10272 (tramp-completion-function-alist): New defcustom. Holds all
10273 FUNCTION FILE pairs used for user and host name completion
10274 relevant for METHOD.
10275 (tramp-completion-function-alist-rsh)
10276 (tramp-completion-function-alist-ssh)
10277 (tramp-completion-function-alist-telnet)
10278 (tramp-completion-function-alist-su): Defconst for initializing
10279 `tramp-completion-function-alist'. Unfortunately, mainly UNIX-like
10280 values are known for me until now. Needs to be completed for at
10281 least VMS++ like operating systems.
10282 (tramp-set-completion-function)
10283 (tramp-get-completion-function): New functions for configuration
10284 of `tramp-completion-function-alist'. The old definition of
10285 `tramp-get-completion-function' has been discarded.
10286 (tramp-completion-handle-file-name-all-completions):
10287 Change function call for user/host completion according to definition
10288 in `tramp-completion-function-alist'.
10289 (tramp-parse-passwd): Add exception handling for "root", because
10290 `tramp-get-completion-su' (the previous place for this stuff)
10291 doesn't exist any longer.
10293 2002-09-07 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10295 * net/tramp.el (tramp-enter-password):
10296 Use `tramp-password-end-of-line' to terminate the line.
10297 (tramp-bug): Include new variable `tramp-password-end-of-line'.
10298 (tramp-password-end-of-line): New variable. People who use plink
10299 under Windows might have to issue "\r\n" after the password, but
10300 they need to send just "\n" after the other commands. So this
10301 variable was introduced to complement `tramp-rsh-end-of-line'.
10302 (tramp-wait-for-output, tramp-post-connection): Allow "\r" at end
10303 of line of the output delimiter.
10305 2002-09-06 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10307 * net/tramp.el (tramp-handle-file-local-copy, tramp-find-shell)
10308 (tramp-open-connection-setup-interactive-shell): Add some comments
10309 about Douglas Grey Stephen's suggestions to make Tramp work better
10310 with plink under Windows. I'm not sure what to think of them, but
10311 now I have a guinea pig to try it out on. Said guinea pig is
10312 having other problems, though... Also remove some commented-out code.
10314 2002-09-06 Michael Albinus <Michael.Albinus@alcatel.de>
10316 * net/tramp.el (tramp-get-completion-methods): Algorithm slightly
10318 (tramp-get-completion-user-host): Accept user names as they are if
10320 (tramp-completion-mode): Replace `last-input-char' by modern
10321 `last-input-event'. Check for `event-modifiers'.
10323 2002-09-06 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10325 * net/tramp.el (file-expand-wildcards): Corrected check to see if
10326 advising is necessary.
10328 2002-09-05 Michael Albinus <Michael.Albinus@alcatel.de>
10330 * net/tramp.el (tramp-postfix-single-method-format)
10331 (tramp-postfix-multi-method-format)
10332 (tramp-postfix-multi-hop-format)
10333 (tramp-postfix-user-format): New format strings.
10334 (tramp-postfix-single-method-regexp)
10335 (tramp-postfix-multi-method-regexp)
10336 (tramp-postfix-multi-hop-regexp)
10337 (tramp-postfix-user-regexp)
10338 (tramp-make-multi-tramp-file-format)
10339 (tramp-make-tramp-file-name): Apply them.
10340 (tramp-completion-handle-file-name-all-completions): Fix for
10341 invoking ange-ftp in case of "/ftp:xxx" file names.
10343 2002-09-04 Michael Albinus <Michael.Albinus@alcatel.de>
10345 * net/tramp.el (tramp-prefix-format)
10346 (tramp-postfix-host-format): New format strings.
10347 (tramp-prefix-regexp, tramp-method-regexp)
10348 (tramp-postfix-single-method-regexp)
10349 (tramp-postfix-multi-method-regexp)
10350 (tramp-postfix-multi-hop-regexp)
10351 (tramp-user-regexp, tramp-postfix-user-regexp)
10352 (tramp-host-regexp, tramp-postfix-host-regexp)
10353 (tramp-path-regexp): New atomar regular expressions.
10354 If corresponding format strings exist, derived from them.
10355 (tramp-file-name-structure)
10356 (tramp-multi-file-name-structure)
10357 (tramp-multi-file-name-hop-structure)
10358 (tramp-make-multi-tramp-file-format)
10359 (tramp-completion-mode)
10360 (tramp-completion-dissect-file-name)
10361 (tramp-parse-rhosts-group)
10362 (tramp-parse-shosts-group)
10363 (tramp-parse-hosts-group)
10364 (tramp-parse-passwd-group): Apply these expressions.
10365 (tramp-file-name-structure-unified)
10366 (tramp-file-name-structure-separate)
10367 (tramp-make-tramp-file-format-unified)
10368 (tramp-make-tramp-file-format-separate)
10369 (tramp-make-tramp-file-format)
10370 (tramp-make-tramp-file-user-nil-format-unified)
10371 (tramp-make-tramp-file-user-nil-format-separate)
10372 (tramp-make-tramp-file-user-nil-format)
10373 (tramp-multi-file-name-structure-unified)
10374 (tramp-multi-file-name-structure-separate)
10375 (tramp-multi-file-name-hop-structure-unified)
10376 (tramp-multi-file-name-hop-structure-separate)
10377 (tramp-make-multi-tramp-file-format-unified)
10378 (tramp-make-multi-tramp-file-format-separate): Remove.
10379 (tramp-make-tramp-file-name): Allow partial tramp file
10380 names. Generate tramp file format on-the-fly depending on
10381 parameters. Apply atomar format strings resp expressions.
10382 (tramp-get-completion-methods)
10383 (tramp-get-completion-user-host): Apply `tramp-make-tramp-file-name'.
10384 (tramp-parse-hosts-group): Take all host names and IP addresses
10386 (tramp-bug): Remove `tramp-make-tramp-file-format'.
10388 2002-09-01 Michael Albinus <Michael.Albinus@alcatel.de>
10390 * net/tramp.el (tramp-methods): Add `tramp-completion-function'
10391 for "su" and "sudo".
10392 (tramp-get-completion-telnet): Implement it.
10393 (tramp-parse-hosts)
10394 (tramp-parse-hosts-group)
10395 (tramp-get-completion-su)
10396 (tramp-parse-passwd)
10397 (tramp-parse-passwd-group): New functions.
10399 2002-08-31 Michael Albinus <Michael.Albinus@alcatel.de>
10401 * net/tramp.el (tramp-completion-mode): Check for `last-input-char'.
10402 (tramp-completion-file-name-handler-alist): Add handler for
10404 (tramp-completion-handle-file-exists-p): New function.
10405 (tramp-completion-handle-file-name-completion): Simplify.
10406 (tramp-completion-dissect-file-name): Regexp's reorganized.
10407 (tramp-completion-handle-file-name-all-completions):
10408 Call completion-function only if `user' or `host' is given.
10409 (tramp-get-completion-user-host): New function.
10410 (tramp-get-completion-rsh)
10411 (tramp-get-completion-ssh): Apply it.
10413 2002-08-29 Michael Albinus <Michael.Albinus@alcatel.de>
10415 * net/tramp.el (tramp-completion-file-name-handler-alist):
10416 Add handler for `expand-file-name'.
10417 (tramp-completion-handle-expand-file-name): New function.
10419 2002-08-26 Michael Albinus <Michael.Albinus@alcatel.de>
10421 * net/tramp.el (tramp-completion-mode): New function.
10422 (tramp-completion-handle-file-name-directory)
10423 (tramp-completion-handle-file-name-all-completions): Apply it.
10424 (tramp-methods): Remove double definition of `ssh1-old' and `ssh2-old'.
10425 (tramp-point-at-eol): New defalias.
10426 (tramp-parse-rhosts-group)
10427 (tramp-parse-shosts-group): Apply it.
10429 2002-08-25 Michael Albinus <Michael.Albinus@alcatel.de>
10431 * net/tramp.el (tramp-get-completion-methods)
10432 (tramp-get-completion-rsh)
10433 (tramp-get-completion-ssh): Add "[" for XEmacs.
10434 (tramp-completion-file-name-regexp-separate): Expression adapted.
10435 (tramp-completion-file-name-handler-alist): Add handler for
10436 `file-name-directory' and `file-name-nondirectory'.
10437 (tramp-completion-handle-file-name-directory)
10438 (tramp-completion-handle-file-name-nondirectory)
10439 (tramp-completion-run-real-handler): New functions.
10440 (tramp-completion-file-name-handler)
10441 (tramp-completion-handle-file-name-all-completions):
10442 Apply `tramp-completion-run-real-handler'.
10443 (tramp-parse-rhosts)
10444 (tramp-parse-shosts): Use `with-temp-buffer'. `result' renamed to
10445 `res' (otherwise side effects in XEmacs).
10447 2002-08-24 Michael Albinus <Michael.Albinus@alcatel.de>
10449 * net/tramp.el (tramp-completion-file-name-regexp)
10450 (tramp-completion-file-name-handler-alist)
10451 (tramp-flatten-list)
10452 (tramp-completion-dissect-file-name)
10453 (tramp-get-completion-rsh)
10454 (tramp-parse-rhosts)
10455 (tramp-parse-rhosts-group)
10456 (tramp-get-completion-ssh): Doc string tuned.
10457 (tramp-methods): Doc string and custom type extended for
10458 `tramp-completion-function'.
10459 (tramp-completion-function): Variable added. Is it really used?
10460 Other variables like `tramp-completion-function' aren't used.
10461 (tramp-completion-file-name-handler-alist): Add handler for
10462 `file-name-completion'.
10463 (tramp-completion-handle-file-name-completion): New function.
10465 2002-08-18 Michael Albinus <Michael.Albinus@alcatel.de>
10467 * net/tramp.el (tramp-parse-rhosts)
10468 (tramp-parse-rhosts-group)
10469 (tramp-parse-shosts)
10470 (tramp-parse-shosts-group): New functions.
10472 2002-08-17 Michael Albinus <Michael.Albinus@alcatel.de>
10474 * net/tramp.el (tramp-completion-dissect-file-name)
10475 (tramp-completion-dissect-file-name1): New functions.
10477 2002-08-16 Michael Albinus <Michael.Albinus@alcatel.de>
10479 * net/tramp.el (tramp-get-completion-function)
10480 (tramp-get-completion-rsh)
10481 (tramp-get-completion-ssh)
10482 (tramp-get-completion-telnet): New functions.
10483 (tramp-methods): Add `tramp-completion-function' for all methods.
10485 2002-08-15 Michael Albinus <Michael.Albinus@alcatel.de>
10487 * net/tramp.el (tramp-get-completion-methods): New function.
10488 (tramp-find-default-method): Allow host to be nil (like user).
10490 2002-08-14 Michael Albinus <Michael.Albinus@alcatel.de>
10492 * net/tramp.el (tramp-completion-file-name-regexp-unified)
10493 (tramp-completion-file-name-regexp-separate)
10494 (tramp-completion-file-name-regexp)
10495 (tramp-completion-file-name-handler-alist): New defcustoms.
10496 (tramp-completion-file-name-handler): New function.
10497 Add `tramp-completion-file-name-handler' to `file-name-handler-alist'.
10498 (tramp-run-real-handler): Add `tramp-completion-file-name-handler'
10499 to `inhibit-file-name-handlers'.
10500 (tramp-completion-handle-file-name-all-completions)
10501 (tramp-completion-handle-file-name-completion): New functions.
10503 2002-08-12 Michael Albinus <Michael.Albinus@alcatel.de>
10505 * net/tramp.el (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp'
10506 must be called again after activating `ange-ftp'.
10507 (tramp-ange-ftp-file-name-p): Check for XEmacs.
10509 2002-08-08 Michael Albinus <Michael.Albinus@alcatel.de>
10511 * net/tramp.el (tramp-do-copy-or-rename-file): Don't pass
10512 KEEP-DATE to tramp-invoke-ange-ftp 'rename.
10513 (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
10514 tramp-invoke-ange-ftp 'write-region.
10515 (tramp-handle-set-file-modes): Change order of FILENAME and MODE
10516 passing to tramp-invoke-ange-ftp 'set-file-modes.
10517 (tramp-flatten-list): New function. Maybe this functionality does
10518 exist already elsewhere in the libraries.
10519 (tramp-invoke-ange-ftp): Apply `tramp-flatten-list' to parameter
10520 list in order to avoid nested lists, f.e. when invoked from
10521 `tramp-handle-dired-call-process'.
10523 2002-09-05 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10525 * net/tramp.el (tramp-chunksize): New kluge variable.
10526 (tramp-send-region): If tramp-chunksize is non-nil, send region in
10527 parts and sleep 0.1 seconds between chunks.
10529 2002-09-03 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10531 * net/tramp.el (tramp-handle-insert-directory):
10532 Use `insert-buffer-substring' instead of `insert-buffer', which is not
10533 supposed to be used from Lisp. Remember old point in a variable
10534 instead of using `mark'. Suggestion from Stefan Monnier.
10535 (tramp-unified-filenames): New variable. Use it in default value
10536 of other filename variables.
10537 (file-expand-wildcards): Don't advise unless "[" and "]" are used
10538 in the filename format.
10540 2002-09-01 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10542 * net/tramp.el (tramp-methods): Remove duplicate definition of
10543 ssh1-old and ssh2-old.
10545 2002-09-22 Kai Großjohann <grossjoh@ls6.informatik.uni-dortmund.de>
10547 * dired.el (dired-insert-directory): Always add "--dired" to
10548 SWITCHES for remote files.
10549 * files.el (insert-directory): Comment saying that "--dired"
10550 might be in the SWITCHES.
10551 * net/ange-ftp.el (ange-ftp-ls): Handle "--dired" in LSARGS.
10552 (ange-ftp-insert-directory): Comment explaining "--dired" handling.
10554 2002-09-21 Markus Rost <rost@math.ohio-state.edu>
10556 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Give %!._-
10557 word constituent syntax.
10559 2002-09-21 Richard M. Stallman <rms@gnu.org>
10561 * cus-dep.el (custom-make-dependencies): Bind to t
10562 around evaluating the def-form.
10564 * custom.el (custom-dont-initialize): New variable.
10565 (custom-declare-variable): Don't init the variable
10566 if custom-dont-initialize is non-nil.
10568 2002-09-21 John Paul Wallington <jpw@shootybangbang.com>
10570 * net/eudc.el (eudc-install-menu): Use `define-key' and
10571 `easy-menu-create-menu' to avoid duplication of menu.
10573 2002-09-20 Kim F. Storm <storm@cua.dk>
10575 * kmacro.el (kmacro-step-edit-query): Use RET to execute rest of
10576 macro and terminate editing.
10577 (kmacro-step-edit-macro): Push previous macro onto ring if changed
10580 2002-09-19 Tom Tromey <tromey@redhat.com>
10582 * play/blackbox.el (bb-right): Respect prefix argument.
10583 (bb-left, bb-up, bb-down): Likewise.
10585 2002-09-19 Richard M. Stallman <rms@gnu.org>
10587 * cus-dep.el (custom-make-dependencies): Fix previous change.
10589 2002-09-19 Juanma Barranquero <lektu@terra.es>
10591 * ielm.el (ielm-eval-input): Call `error-message-string' instead
10592 of the non-existent `ielm-format-error'.
10594 2002-09-19 Stefan Monnier <monnier@cs.yale.edu>
10596 * emacs-lisp/easymenu.el (easy-menu-remove):
10597 * emacs-lisp/ewoc.el (ewoc--node-branch): Add docstring.
10599 * international/mule-diag.el (describe-coding-system):
10600 Remove unused `coding-spec' variable.
10601 (list-input-methods): Be more careful when setting up the help buffer.
10603 * international/ucs-tables.el (unify-8859-on-encoding-mode):
10604 Set init value to t to reflect reality.
10605 (ucs-minibuffer-setup): Use minibuffer-selected-window.
10607 2002-09-18 Stefan Monnier <monnier@cs.yale.edu>
10609 * progmodes/make-mode.el (makefile-cleanup-continuations-p):
10610 Rename to makefile-cleanup-continuations.
10611 (makefile-mode): Use write-file-functions.
10612 (makefile-fill-paragraph): Use match-string-no-properties.
10613 (makefile-fill-paragraph): Use line-end-position.
10614 (makefile-add-log-defun): Simplify.
10616 2002-09-18 Richard M. Stallman <rms@gnu.org>
10618 * dired.el (dired-mark-pop-up): Doc fix.
10620 * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Put the
10621 definition straight into loaddefs.el as well as executing it here.
10623 2002-09-18 Colin Walters <walters@debian.org>
10625 * calc/calc.el (calc-mode): Add font-lock-defontify to
10626 change-major-mode-hook.
10628 2002-09-18 Richard M. Stallman <rms@gnu.org>
10630 * Makefile.in (bootstrap-clean): Use cd to shorten arg strings.
10631 Don't ignore errors in rm line.
10633 * menu-bar.el (menu-bar-search-menu): Nicer help string.
10635 * replace.el (occur-engine-add-prefix): Use 7 spaces.
10636 (occur-engine): Use 7 digits to align tabs in the data.
10638 * emacs-lisp/bytecomp.el (byte-compile-output-docform):
10639 Don't make the definition dynamic if it shares structure
10642 * gud.el (gud-pdb-marker-regexp): Allow : and \ in file name.
10643 (pdb): In gud-remove, pass down the file name.
10645 * cus-dep.el (custom-make-dependencies): Sort MEMBERS before use.
10647 2002-09-18 Luc Teirlinck <teirllm@mail.auburn.edu>
10649 * ielm.el (*1, *2, *3): New variables.
10650 (ielm-eval-input): Make temporary buffers current on entry and
10651 exit to the let bindings for *, ** and ***.
10652 (inferior-emacs-lisp-mode): Mention *1, *2 and *3 in the docstring.
10653 Do not overrule global bindings for *, ** and ***.
10655 2002-09-18 Tom Tromey <tromey@redhat.com>
10657 * progmodes/make-mode.el (makefile-fill-paragraph): Find comment
10658 boundaries before filling.
10660 2002-09-18 Stefan Monnier <monnier@cs.yale.edu>
10662 * server.el (server-done): Fix harmlessly wrong arg to save-buffer.
10663 (server-switch-buffer): Only select a different window if
10664 next-buffer is non-nil. Don't switch in a dedicated window.
10665 If next-buffer is already displayed, reuse that window.
10667 * diff-mode.el (diff-mode): Use compilation-minor-mode.
10668 Don't unbind compilation-last-buffer after autoloading compile.el.
10669 Hide the compilation-minor-mode bindings altogether.
10671 2002-09-18 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10673 * dired.el (dired-insert-directory): Never add "--dired" when
10674 listing remote directories.
10676 2002-09-18 Michael Kifer <kifer@cs.stonybrook.edu>
10678 * ediff-hook.el: Put back the autoloads (for XEmacs compatibility).
10680 * ediff-init.el: Use defalias instead of fset.
10682 * ediff-util.el: Use defalias instead of fset.
10684 * viper-util.el (viper-chars-in-region): Simplification.
10686 * viper.el (viper-emacs-state-mode-list): Add modes.
10688 2002-09-18 Jonathan Yavner <jyavner@engineer.com>
10690 * emacs-lisp/testcover.el: New file. Uses edebug to instrument a
10691 module of code, with graphical display of poor-coverage spots.
10693 * emacs-lisp/testcover-ses.el: New file. Demonstrates use of
10694 testcover on a interactive module like ses.
10696 * emacs-lisp/testcover-unsafep.el: New file. Demonstrates use of
10697 testcover on a noninteractive module like unsafep.
10699 2002-09-18 Miles Bader <miles@gnu.org>
10701 * diff-mode.el (diff-mode): Don't evaluate `compilation-last-buffer'
10704 2002-09-17 Stefan Monnier <monnier@cs.yale.edu>
10706 * server.el (server-log): Add `client' arg.
10707 (server-start): Don't bother canceling the sentinel.
10708 (server-process-filter): Use replace-regexp-in-string and
10709 handle the new &n quoting. Use push. Use server-log's new arg.
10710 Don't output the C-x # message if `nowait'.
10711 (server-buffer-done): Use server-log's new arg.
10713 2002-09-16 Jonathan Yavner <jyavner@engineer.com>
10715 * ses.el: New file.
10717 * emacs-lisp/unsafep.el: New file.
10719 * files.el (auto-mode-alist): Add ".ses" for ses-mode.
10720 (inhibit-quit): This is risky for unsafep, doesn't matter much for
10722 (risky-local-variable-p): New function. Split off from
10723 hack-one-local-variable so unsafep can use it. Add \|-history$ to
10724 the list of disallowed local variable names (malicious user could
10725 stuff a `display' property in there that would be activated when
10726 naïve user called up the history).
10728 2002-09-16 Markus Rost <rost@math.ohio-state.edu>
10730 * ls-lisp.el (ls-lisp-format-time-list): Fix type and provide :tag's.
10732 2002-09-16 Richard M. Stallman <rms@gnu.org>
10734 * play/gomoku.el (gomoku-move-up, gomoku-move-down):
10735 Use forward-line and move-to-column.
10737 * cus-edit.el (custom-variable-backup-value): New function.
10738 (custom-variable-reset-backup): New function.
10739 (custom-variable-menu): Add item for custom-variable-reset-backup.
10740 (custom-variable-set, custom-variable-reset-saved)
10741 (custom-variable-reset-standard): Call custom-variable-backup-value.
10743 2002-09-16 Stefan Monnier <monnier@cs.yale.edu>
10745 * dired.el (dired-font-lock-keywords): Use regexp-opt.
10746 (dired-move-to-filename): Better message when we fail to find the file.
10747 (dired-sort-toggle): Minor optimization.
10749 2002-09-16 Juanma Barranquero <lektu@terra.es>
10751 * dired-aux.el (dired-add-entry): Add missing argument to
10754 2002-09-16 John Paul Wallington <jpw@shootybangbang.com>
10756 * xscheme.el (scheme-interaction-mode): Doc fix.
10758 * net/eudc.el (eudc-plist-get): Doc fix.
10760 2002-09-16 Kim F. Storm <storm@cua.dk>
10762 * menu-bar.el (menu-bar-last-search-type): New var.
10763 (nonincremental-repeat-search-forward)
10764 (nonincremental-repeat-search-backward): Repeat string or
10765 regexp search depending on menu-bar-last-search-type.
10766 (nonincremental-search-forward, nonincremental-re-search-forward)
10767 (nonincremental-search-backward, nonincremental-re-search-backward):
10768 Set menu-bar-last-search-type to string or regexp.
10769 (nonincremental-repeat-re-search-forward): Remove.
10770 (nonincremental-repeat-re-search-backward): Remove.
10771 (menu-bar-replace-menu): New keymap for "Edit->Replace" submenu.
10772 (menu-bar-i-search-menu): New keymap for "Incremental Search" submenu.
10773 (menu-bar-adv-search-menu): Remove.
10774 (menu-bar-search-menu): Reorganized.
10775 (menu-bar-edit-menu): Add "Replace" submenu.
10777 2002-09-15 Richard M. Stallman <rms@gnu.org>
10779 * scroll-bar.el (scroll-bar-mode): Specify :initialize.
10781 * menu-bar.el (menu-bar-make-mm-toggle): Don't put a quote before FNAME
10782 when it's not being evaluated.
10784 2002-09-15 Markus Rost <rost@math.ohio-state.edu>
10786 * dired.el (dired-move-to-filename): Fix previous change.
10788 2002-09-14 Kim F. Storm <storm@cua.dk>
10790 * emulation/keypad.el (keypad-setup, keypad-shifted-setup)
10791 (keypad-numlock-setup, keypad-numlock-shifted-setup):
10792 Change `Remove Binding' option to `Unspecified/User-defined'.
10793 (keypad-setup): Enhance explanation of setup type `none'.
10795 2002-09-14 Richard M. Stallman <rms@gnu.org>
10797 * time.el (display-time-mode): Set display-time-load-average here.
10798 (display-time-load-average): Initialize to nil.
10799 (display-time-default-load-average): Add "None" alternative.
10800 (display-time-update): Handle "None" alternative for load-average.
10802 * dired-aux.el (dired-bunch-files): Put the arg FILES
10803 back as it was after temporary destructive mods.
10804 (dired-add-entry): Use dired-insert-directory to handle indentation.
10805 Explicitly restore the line's marker character.
10806 Preserve the old file name's text properties.
10807 (dired-add-entry-do-indentation): Function deleted.
10808 (dired-relist-file): Doc fix.
10809 (dired-rename-file): Change argument names.
10810 (foo-rename-file): New function.
10811 (dired-do-hardlink): Use dired-hardlink.
10812 (dired-hardlink): New function.
10813 (dired-insert-subdir-doinsert): Use dired-insert-directory;
10814 that handles indentation, text props and header line.
10815 dired-readin-insert gets no args.
10816 Use `last' instead of `reverse'.
10818 * dired.el (dired-use-ls-dired): New variable.
10819 (dired-directory): Document the rules better.
10821 * dired.el (dired-insert-headerline): Function deleted.
10822 (dired-revert): Pass no args to dired-readin.
10823 (dired-move-to-filename): First try using dired-filename property.
10824 (dired-move-to-end-of-filename): Likewise.
10825 (dired-why): Try to show the start of this page of warnings.
10826 (dired-log): Insert the buffer name at start of page, not end.
10827 (dired-log-summary): If just one failure, explain it in echo area.
10829 * dired.el (dired-internal-noselect):
10830 Always set dired-directory, when buffer is not new.
10831 Pass dir-or-list, not dirname, to dired-mode.
10832 Call dired-readin with no args.
10833 Don't call dired-after-readin-hook here.
10834 (dired-find-buffer-nocreate): Expand dirname.
10835 Expand the dir from dired-directory to compare with dirname.
10837 (dired-readin): Take no args. Get the directory from dired-directory.
10838 Run dired-before-reading hook inside save-excursion.
10839 Run dired-after-readin-hook here.
10840 Don't make undo entries at all.
10841 Call dired-readin-insert with no args.
10842 Don't change indentation here.
10843 Don't insert headerline here.
10845 (dired-readin-insert): Take no args.
10846 Get dir and file-list from dired-directory.
10847 Call dired-insert-directory the new way.
10848 Don't insert "wildcard" info here.
10850 (dired-insert-directory): New arg FILE-LIST.
10851 First arg now DIR, always just the directory.
10852 This function fully handles setting up the buffer text:
10853 update indentation, insert headerline and "wildcard" info.
10854 Pass --dired arg if appropriate; put info in dired-filename props.
10855 Don't expand file names here.
10857 * warnings.el (display-warning): In batch mode,
10858 exclude the final newline from the arg to `message'.
10860 2002-09-13 Markus Rost <rost@math.ohio-state.edu>
10862 * files.el (diff-buffer-with-file): Check whether associated file
10863 exists. Display message for 1 second. Always return nil.
10865 2002-09-13 Stefan Monnier <monnier@cs.yale.edu>
10867 * diff-mode.el (diff-mode): Turn on compilation-minor-mode
10868 support again, but more carefully this time.
10870 * progmodes/perl-mode.el (perl-mode-syntax-table): Mark $, % and @
10871 such that backward-sexp correctly skips them.
10872 (perl-font-lock-keywords-2): Use regexp-opt.
10873 (perl-font-lock-syntactic-keywords)
10874 (perl-font-lock-syntactic-face-function): Better handle PODs.
10875 Handle package names with ' in them and ($$) in `sub' declarations.
10876 Handle format statements. Handle regexp and quote-like ops.
10877 (perl-empty-syntax-table): New var.
10878 (perl-quote-syntax-table): New fun.
10880 * pcvs.el (cvs-mode-find-file): Work even if point is at beg-of-line.
10881 (cvs-do-removal): Bind inhibit-read-only while modifying the buffer.
10883 * newcomment.el (comment-with-narrowing): Use the `declare' thingy.
10885 * derived.el (define-derived-mode): Properly ignore unknown args.
10887 * emacs-lisp/easy-mmode.el (define-minor-mode): Add a :require arg.
10888 Don't call the function during init if mode is on by default.
10890 * simple.el: Provide `simple'.
10891 (transient-mark-mode, line-number-mode, column-number-mode):
10892 Pass an explicit `:require nil' argument.
10894 2002-09-13 Francesco Potortì <pot@gnu.org>
10896 * play/tetris.el (tetris-blank-options, tetris-cell-options):
10897 Remove various redundant `(t nil)'.
10899 * play/snake.el (snake-border-options): Use color on tty if available.
10901 * play/tetris.el (tetris-border-options): Likewise.
10903 * play/pong.el (pong-border-options): Likewise, plus reset
10904 color on tty to be [0.5 0.5 0.5].
10906 2002-09-13 Kim F. Storm <storm@cua.dk>
10908 * kmacro.el (kmacro-start-macro): Doc fix.
10910 2002-09-13 Juanma Barranquero <lektu@terra.es>
10912 * progmodes/idlw-shell.el (idlwave-shell-cleanup): Fix reference
10913 to `idlwave-idlwave_routine_info-compiled'.
10915 * whitespace.el (whitespace-unload-hook): Call `remove-hook' with
10916 three arguments, not four.
10918 2002-09-13 Kim F. Storm <storm@cua.dk>
10920 * kmacro.el (kmacro-keymap): Change bindings:
10921 C-x C-k s to kmacro-start-macro, C-x C-k b to kmacro-bind-to-key.
10923 2002-09-12 Richard M. Stallman <rms@gnu.org>
10925 * international/mule-cmds.el (universal-coding-system-argument):
10926 Read the coding system inside `interactive' spec, for command-history.
10928 2002-09-12 Stefan Monnier <monnier@cs.yale.edu>
10930 * emacs-lisp/find-func.el (find-library-name): Don't forget
10931 the empty suffix. Fix stale variable name.
10933 * gud.el (gud-gdb-massage-args, gud-sdb-massage-args)
10934 (gud-pdb-massage-args): Delete.
10935 (gdb, sdb, pdb): Don't pass gud-*-massage-args any more.
10936 (gud-gdb-command-name): New var. Put "--fullname" in there.
10937 (gud-query-cmdline): Use the most recent executable as the default.
10938 Don't add "--fullname" (it's only valid/meaningful for GDB).
10939 (gud-xdb-marker-filter): Use match-string.
10940 (gud-perldb-massage-args): Don't add "-d".
10941 (gud-perldb-command-name): Add "-d".
10942 (gud-common-init): If `massage-args' is nil, don't call it.
10943 (gud-format-command): Don't hardcode point-min==1.
10945 * derived.el: Require CL when compiling.
10947 2002-09-12 Simon Josefsson <jas@extundo.com>
10949 * mail/smtpmail.el (smtpmail-send-it): Don't use : in filenames
10950 (for cygwin). Suggested by Andrew Senior <aws@watson.ibm.com>.
10951 Use expand-file-name. Also don't require time-stamp.
10953 2002-09-11 Richard M. Stallman <rms@gnu.org>
10955 * derived.el (define-derived-mode): When making new abbrev table,
10956 don't try to copy the parent's abbrev table.
10958 * ruler-mode.el (ruler-mode-left-scroll-bar-cols):
10959 Always round scroll-bar-width parameter up.
10960 If it is nil, use 14.
10962 * abbrev.el (copy-abbrev-table): New function.
10964 2002-09-11 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10966 * ps-print.el: Adjust ps-print-color-p, ps-default-fg and
10967 ps-default-bg setting.
10968 (ps-print-version): New version number (6.5.7).
10969 (ps-mark-active-p): New fun.
10970 (ps-print-preprint-region): Adjust code.
10972 2002-09-11 Dave Love <fx@gnu.org>
10974 * international/mule.el (non-standard-designations-alist)
10975 (ctext-pre-write-conversion): Don't generate invalid extended
10976 segments for iso8859.
10978 * language/cyrillic.el ("Ukrainian"): Fix nonascii-translation.
10979 (cyrillic-alternativnyj-decode-table): Fix some entries.
10981 * international/ucs-tables.el: Fix last change.
10983 * international/utf-8.el (utf-8-fragment-on-decoding): Fix last
10986 2002-09-11 Kim F. Storm <storm@cua.dk>
10988 * edmacro.el (edit-kbd-macro): Recognize new C-x e binding,
10989 kmacro-end-and-call-macro.
10991 2002-09-11 Juanma Barranquero <lektu@terra.es>
10993 * newcomment.el (uncomment-region): Fix let/let* use.
10995 2002-09-11 Simon Josefsson <jas@extundo.com>
10997 * time-stamp.el (time-stamp-hhmmss): New function.
10999 * gud.el (gud-gdb-massage-args): Don't secretly add -fullname.
11000 (gud-query-cmdline): Add --fullname to the user cmdline.
11002 * mail/smtpmail.el (smtpmail-default-smtp-server): Doc fix.
11004 2002-09-11 Kim F. Storm <storm@cua.dk>
11006 * kmacro.el (kmacro-call-macro): Rephrase repeat prompt.
11007 (kmacro-step-edit-map): Bind "A" to `append-end'.
11008 (kmacro-step-edit-prompt): Fix prompt.
11009 (kmacro-step-edit-query): Handle `append-end' response.
11010 (kmacro-step-edit-pre-command): Activate `append-end' at end of
11011 macro when required.
11013 2002-09-11 Stefan Monnier <monnier@cs.yale.edu>
11015 * derived.el (define-derived-mode): Fix typo.
11017 * menu-bar.el (line-number-mode, column-number-mode)
11018 (transient-mark-mode): Use minor mode directly.
11019 (menu-bar-make-toggle): Remove `props' arg.
11020 Move customize-mark-as-set directly into the toggle function.
11022 * whitespace.el (whitespace-global-mode): Use define-minor-mode.
11023 Use the new file hook names.
11024 (whitespace-describe): Remove. Move the text to `Commentary:'.
11025 (whitespace-unload-hook): Use the new file hook names.
11027 * finder.el (finder-find-library): Remove.
11028 (finder-commentary): Use find-library-name and add completion.
11030 * simple.el (transient-mark-mode, line-number-mode)
11031 (column-number-mode): Use define-minor-mode.
11032 (define-mail-user-agent): Delete. Moved to subr.el.
11034 * loadup.el ("simple.el"): Move to after loaddefs.el.
11036 * subr.el (define-mail-user-agent): Move from simple.el.
11038 2002-09-10 Richard M. Stallman <rms@gnu.org>
11040 * pcvs-info.el (cvs-check-fileinfo): Don't use boolp.
11041 (boolp): Function deleted.
11043 2002-09-10 Dave Love <fx@gnu.org>
11045 * international/utf-8.el (ucs-mule-to-mule-unicode):
11046 Define unconditionally.
11047 (utf-8-fragmentation-table): New. Use it in top-level mapc.
11048 (utf-8-fragment-on-decoding): Use it to keep
11049 utf-8-translation-table-for-decode variable and translation table
11052 * international/ucs-tables.el: Bind utf-8-translation-table-for-decode
11053 when setting up tables and remove useless optimize-char-table.
11054 (ucs-mule-to-mule-unicode): Delete.
11055 (ucs-unify-8859): Maybe optimize ucs-mule-to-mule-unicode.
11057 * international/utf-16.el (utf-16-le-pre-write-conversion)
11058 (utf-16-be-pre-write-conversion): Delete.
11059 (mule-utf-16-le, mule-utf-16-be): Register encoding translation table.
11061 2002-09-10 Richard M. Stallman <rms@gnu.org>
11063 * files.el (diff-buffer-with-file): Simplify.
11064 Don't signal an error if buffer has no file.
11065 Call sit-for after `diff' returns.
11067 * play/gamegrid.el (gamegrid-make-color-tty-face):
11068 Handle string as COLOR arg.
11069 (gamegrid-display-type): Don't assume display-color-p
11070 implies a color-x terminal.
11071 (gamegrid-hide-cursor): Set `cursor-type' local variable.
11073 * descr-text.el (describe-text-mode): Add font-lock-defontify to
11074 change-major-mode-hook.
11076 * ibuffer.el (ibuffer-mode): Add font-lock-defontify to
11077 change-major-mode-hook.
11079 * comint.el (comint-mode): Add font-lock-defontify to
11080 change-major-mode-hook.
11082 * info.el (Info-mode): Add font-lock-defontify to
11083 change-major-mode-hook.
11085 * replace.el (occur-mode): Add font-lock-defontify to
11086 change-major-mode-hook.
11088 * font-core.el (font-lock-defontify): New function.
11090 2002-09-10 Richard M. Stallman <rms@gnu.org>
11092 * ps-print.el (ps-printer-name-option): Doc fix.
11094 2002-09-10 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11096 * ps-print.el: Adjust ps-postscript-code-directory setting.
11097 XEmacs version check was adjusted.
11098 (ps-print-version): New version number (6.5.6).
11099 (ps-print-color-p, ps-page-dimensions-database): Autoload var.
11100 (ps-print-code, ps-print-preprint-region): Adjust code.
11102 2002-09-10 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11104 * files.el (auto-mode-alist): ~/.gnus, ~/.viper are in
11105 emacs-lisp-mode, like ~/.emacs.
11107 2002-09-10 Stefan Monnier <monnier@cs.yale.edu>
11109 * newcomment.el (uncomment-region): Be more careful with `='.
11111 2002-09-10 Deepak Goel <deego@glue.umd.edu>
11113 * play/doctor.el (doc//): Rename from `//'. Update callers.
11114 (doc$): Rename from `$'. Update callers.
11116 2002-09-10 Miles Bader <miles@gnu.org>
11118 * simple.el (do-auto-fill): `fill-indent-according-to-mode' is a
11119 variable, not a function.
11121 * kmacro.el (kmacro-call-macro): Deal with a non-numeric prefix arg.
11123 2002-09-10 Kim F. Storm <storm@cua.dk>
11125 * macros.el (apply-macro-to-region-lines): Let-bind mark-active to
11126 nil while executing macro to avoid triggering delete-selection-mode.
11128 * simple.el (keyboard-quit): Set defining-kbd-macro to nil to
11129 cancel defining keyboard macro when applicable.
11131 2002-09-09 Markus Rost <rost@math.ohio-state.edu>
11133 * simple.el (transient-mark-mode, line-number-mode)
11134 (column-number-mode): Undo previous change because of bootstrapping.
11136 2002-09-09 Stefan Monnier <monnier@cs.yale.edu>
11138 * derived.el (define-derived-mode): Add keyword arguments.
11139 (derived-mode-make-docstring): Take abbrev and syntax table names.
11141 * font-core.el (font-lock-change-mode): Just turn off font-lock-mode.
11142 (font-lock-default-function): Change arg name.
11144 * cus-start.el (transient-mark-mode): Delete. Done in simple.el.
11146 * paren.el (show-paren-function): Use syntax-after.
11148 * emacs-lisp/syntax.el (syntax-after): Delete. Moved to subr.el.
11150 * subr.el (symbol-file): Also work for autoloaded funcs.
11151 (syntax-after): New fun moved from syntax.el.
11153 * find-file.el (ff-pre-find-hook, ff-pre-load-hook, ff-post-load-hook)
11154 (ff-not-found-hook, ff-file-created-hook): Rename from *-hooks.
11155 Update callers (but still run the old hooks as well).
11157 * emacs-lisp/find-func.el (find-library-suffixes, find-library-name)
11158 (find-library): New funs.
11159 (find-function-search-for-symbol): Use it.
11161 * emacs-lisp/bytecomp.el (byte-compile-file): Don't switch buffer.
11163 * isearch.el (isearch-cmds): Add docstring.
11164 (isearch-mouse-2): Lookup binding in the proper buffer.
11165 Use call-interactively and remove the now useless `arg'.
11166 (isearch-search-fun-function): New var.
11167 (isearch-search-fun): New fun.
11168 (isearch-search, isearch-lazy-highlight-search): Use it.
11170 2002-09-09 Stefan Monnier <monnier@cs.yale.edu>
11172 * simple.el (what-line): Don't hard-code 1.
11173 (transient-mark-mode, line-number-mode, column-number-mode):
11174 Use define-minor-mode.
11175 (do-auto-fill): Only ignore prefix if it's really empty.
11177 2002-09-09 Markus Rost <rost@math.ohio-state.edu>
11179 * files.el (save-some-buffers-action-alist): Use lower case for
11180 help string of diff-buffer-with-file.
11182 2002-09-09 Richard M. Stallman <rms@gnu.org>
11184 * calendar/calendar.el (mouse-scroll-calendar-left)
11185 (mouse-scroll-calendar-right, mouse-calendar-other-month):
11187 (calendar-mode-line-format): Use them.
11189 * emacs-lisp/bytecomp.el (byte-recompile-directory):
11190 Set and then bind default-directory.
11192 * startup.el (fancy-splash-head, normal-splash-screen):
11193 Change the messages that explain about GNU or GNU/Linux.
11195 * info.el (Info-search): Add (point-min) to subfile positions
11196 to get them right. Skip the current subfile using forward-line.
11198 * files.el (make-backup-file-name-1): When make-directory fails,
11199 ignore backup-directory-alist.
11200 (make-directory): Expand DIR before looking for handler.
11202 2002-09-09 Jari Aalto <jari.aalto@poboxes.com>
11204 * progmodes/cperl-mode.el (cperl-noscan-files-regexp):
11205 In addition to RCS, exclude CVS directories.
11207 * ls-lisp.el (ls-lisp-format-time-list): New variable.
11208 (ls-lisp-format-time): Use it.
11210 * files.el (auto-mode-alist): Use sh-mode for .bash files.
11212 2002-09-09 Dave Love <d.love@dl.ac.uk>
11214 * ps-print.el: Many doc fixes.
11216 2002-09-09 John Paul Wallington <jpw@shootybangbang.com>
11218 * play/doctor.el (doctor-cadr, doctor-caddr, doctor-cddr): Remove.
11221 2002-09-08 Markus Rost <rost@math.ohio-state.edu>
11223 * diff.el (diff): Doc fix.
11225 2002-09-08 Richard M. Stallman <rms@gnu.org>
11227 * emacs-lisp/bytecomp.el (byte-compile-delete-errors): Default to nil.
11229 * simple.el (undo-elt-in-region): Fix one-off error at END.
11230 (forward-visible-line): Handle invisibility by ignoring
11231 invisible newlines. Also include entire invisible lines beyond
11232 the stopping point.
11234 * cus-edit.el (custom-save-variables, custom-save-faces):
11235 Clarify the comments written into .emacs.
11237 2002-09-08 Markus Triska <triska@gmx.at>
11239 * play/doctor.el (doctor-doc): Recognize question words
11240 and use qlist. Use doctor-shorten's return value.
11241 (doctor-shorten): Compute a return value, don't alter `sent'.
11242 (doctor-hates1): Add a question mark.
11243 (doctor-strangelove): Unused function deleted.
11245 2002-09-08 Kim F. Storm <storm@cua.dk>
11247 * kmacro.el (kmacro-end-and-call-macro): New command to end and
11248 call keyboard macro in one step. Bind it to C-x e by default.
11249 (kmacro-call-macro): Use format-kbd-macro.
11250 (kmacro-step-edit-macro): New command to interactively step edit
11251 and execute last keyboard macro.
11252 (kmacro-keymap): Bind SPC [C-x C-k SPC] to kmacro-step-edit-macro.
11253 (kmacro-step-edit-mini-window-height): New custom var.
11254 (kmacro-step-edit-map): New keymap (parent is query-replace-map).
11255 (kmacro-step-edit-prefix-commands): New var.
11256 (kmacro-step-edit-prompt, kmacro-step-edit-query)
11257 (kmacro-step-edit-insert, kmacro-step-edit-pre-command)
11258 (kmacro-step-edit-minibuf-setup, kmacro-step-edit-post-command):
11259 New aux functions for step editing keyboard macros.
11261 * subr.el (read-quoted-char): Apply listify-key-sequence to vector
11262 returned by this-single-command-raw-keys before appending it to
11263 unread-command-event.
11265 2002-09-07 Colin Walters <walters@debian.org>
11267 * progmodes/compile.el (compile-internal): Add optional argument
11270 * diff.el (diff): Add optional argument no-async, and use the
11273 * files.el (diff-buffer-with-file): Call diff synchronously, so we
11274 don't delete the temporary file before diff has a chance to read
11277 * ibuf-ext.el (ibuffer-diff-with-file): Just call
11278 `diff-buffer-with-file'.
11280 2002-09-07 John Paul Wallington <jpw@shootybangbang.com>
11282 * emacs-lisp/cl-indent.el (extended-loop-p): Doc fix.
11284 * emacs-lisp/find-func.el (find-function-recenter-line):
11285 Add custom type. Doc fix.
11287 2002-09-06 Stefan Monnier <monnier@cs.yale.edu>
11289 * menu-bar.el (menu-bar-make-mm-toggle): New macro.
11290 (showhide-menu-bar, showhide-toolbar, menu-bar-toggle-auto-compression)
11291 (toggle-highlight-paren-mode, toggle-global-lazy-font-lock-mode):
11292 Remove. Use the minor mode function directly instead.
11293 (menu-bar-mode): Add message and customize-mark-as-set and return
11294 the new value as do other minor modes.
11296 * edmacro.el (edmacro-subseq): Don't use cl-push/cl-pop.
11298 2002-09-06 Simon Marshall <simon@gnu.org>
11300 * progmodes/etags.el (find-tag-tag, complete-tag):
11301 Bind completion-ignore-case based on tags-case-fold-search, so that
11302 case-sensitivity of tag completion matches that of tag search.
11304 2002-09-06 Juanma Barranquero <lektu@terra.es>
11306 * calendar/solar.el (calendar-time-display-form): Fix spacing.
11308 * double.el (double-prefix-only): Likewise.
11310 * emacs-lisp/easymenu.el (easy-menu-define): Likewise.
11312 * emacs-lisp/find-func.el (find-function-search-for-symbol): Likewise.
11314 * emacs-lisp/float.el (string-to-float): Likewise.
11316 * emacs-lisp/rx.el (rx): Likewise.
11318 * faces.el (copy-face): Likewise.
11320 * hilit-chg.el (highlight-changes-colours)
11321 (highlight-changes-active-string)
11322 (highlight-changes-passive-string)
11323 (highlight-changes-rotate-faces, global-highlight-changes): Likewise.
11325 * international/mule.el (decode-char): Likewise.
11327 * progmodes/idlwave.el (idlwave-support-inheritance)
11328 (idlwave-routine-entry-compare): Likewise.
11330 * progmodes/idlw-shell.el (idlwave-shell-use-breakpoint-glyph):
11333 * progmodes/pascal.el (pascal-start-keywords): Likewise.
11335 * progmodes/sh-script.el (sh-indent-for-fi, sh-indent-for-done):
11338 * progmodes/vhdl-mode.el (vhdl-progress-interval)
11339 (vhdl-corresponding-begin): Likewise.
11341 * simple.el (choose-completion-string-functions): Likewise.
11343 * textmodes/reftex.el (reftex-TeX-master-file): Likewise.
11345 * textmodes/fill.el (fill-nonuniform-paragraphs)
11346 (fill-individual-paragraphs): Likewise.
11348 * vcursor.el (vcursor-toggle-vcursor-map): Likewise.
11350 * warnings.el (warning-level-aliases): Likewise.
11352 * speedbar.el (speedbar-mode): Fix spacing and typos.
11354 * textmodes/reftex-vars.el (reftex-label-menu-flags): Fix typo.
11356 2002-09-05 Markus Rost <rost@math.ohio-state.edu>
11358 * textmodes/table.el (table-command-prefix): Fix type.
11360 2002-09-05 Andre Spiegel <spiegel@gnu.org>
11362 * vc-hooks.el: Don't require vc.el at compile-time; it causes
11363 recursive requirements during bootstrap.
11365 2002-09-05 Kenichi Handa <handa@etl.go.jp>
11367 * international/mule.el (decode-char): Cancel the previous change.
11369 2002-09-04 Mats Lidell <matsl@contactor.se> (tiny change)
11371 * language/european.el ("Swedish"): New set-language-info-alist call.
11373 2002-09-04 Richard M. Stallman <rms@gnu.org>
11375 * help-fns.el (help-with-tutorial): Properly set up
11376 completion-reference-buffer in the *Completion* buffer.
11378 2002-09-04 John Paul Wallington <jpw@shootybangbang.com>
11380 * startup.el (use-fancy-splash-screens-p): If `fancy-splash-frame'
11381 returns nil, return nil.
11383 2002-09-04 Andre Spiegel <spiegel@gnu.org>
11385 * vc-hooks.el: Require vc.el at compile-time.
11386 (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
11387 Move here from vc.el.
11389 * vc.el (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
11390 Move to vc-hooks.el.
11392 * vc-rcs.el (vc-rcs-state): Don't require vc.el.
11394 2002-09-04 Kenichi Handa <handa@etl.go.jp>
11396 * international/mule.el (decode-char): Translate a character by
11397 utf-8-translation-table-for-decode only when
11398 utf-8-fragment-on-decoding is non-nil.
11400 2002-09-02 Stefan Monnier <monnier@cs.yale.edu>
11402 * textmodes/text-mode.el (paragraph-indent-text-mode-abbrev-table)
11403 (paragraph-indent-text-mode-syntax-table, paragraph-indent-text-mode):
11404 Use text-mode's syntax-table and abbrev-table.
11405 (text-mode): Set require-final-newline to t.
11407 * newcomment.el (comment-make-extra-lines): Only use the
11408 dummy `=' char when there's really nothing else.
11409 Don't remove spaces if it leads to an incorrect comment.
11411 * pcvs.el (cvs-run-process): Use a pty rather than a pipe to work
11412 around the cvs/ssh/libc bug.
11413 (cvs-update-header): Understand `cvs admin -m<rev>:<msg>' syntax.
11414 (defun-cvs-mode): Use the new `declare' thingy.
11415 (cvs-edit-log-text-at-point, cvs-mode-edit-log, cvs-do-edit-log)
11416 (cvs-edit-log-minor-wrap, cvs-edit-log-filelist): New funs.
11417 (cvs-mode-undo): Use `cvs add' for (CONFLICT. REMOVED).
11419 * pcvs-parse.el (cvs-parse-table): Create a `need-update'
11420 node rather than a message for new directories.
11421 (cvs-parse-status): Add support for `Entry Invalid'.
11423 * smerge-mode.el (smerge-diff-buffer-name): Default to *vc-diff*.
11424 (smerge-combine-with-next): New function.
11425 (smerge-diff): Don't output `wrote /tmp/foo' messages.
11426 Insert message if no diffs were found.
11428 * mail/sendmail.el (mail-mode): Don't set local-abbrev-table.
11429 (mail-mode-abbrev-table): Set to text-mode-abbrev-table.
11431 2002-09-02 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11433 * net/tramp.el: Version 2.0.15 released.
11434 (require 'base64): Most modern Emacsen have the base64
11435 encode/decode functions built in, so test to see if they are bound
11436 before we go blindly requiring base64.el.
11437 From Steve Youngs <youngs@xemacs.org>.
11438 (tramp-feature-write-region-fix): XEmacs doesn't have a
11439 'find-operation-coding-system' and this variable doesn't seem to
11440 be used anywhere so wrap it in (unless (featurep 'xemacs)).
11441 From Steve Youngs <youngs@xemacs.org>.
11442 (tramp-methods): Remove duplicate definition of ssh1-old and ssh2-old.
11443 (tramp-open-connection-su): Use user name "root" if no user name
11446 From Michael Albinus <Michael.Albinus@alcatel.de>:
11447 * net/tramp.el (tramp-invoke-ange-ftp):
11448 (tramp-ange-ftp-file-name-p): Check for XEmacs.
11449 (tramp-do-copy-or-rename-file): Don't pass KEEP-DATE to
11450 tramp-invoke-ange-ftp 'rename.
11451 (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
11452 tramp-invoke-ange-ftp 'write-region.
11453 (tramp-handle-set-file-modes): Change order of FILENAME and MODE
11454 passing to tramp-invoke-ange-ftp 'set-file-modes.
11455 (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp' must be called
11456 again after activating `ange-ftp'.
11458 2002-09-02 Kim F. Storm <storm@cua.dk>
11460 * ido.el (ido-ignore-item-temp-list): New variable.
11461 (ido-read-internal): Don't set ido-default-item if the default is
11462 member of ido-ignore-item-temp-list.
11463 Don't return first match for C-j if no text is entered.
11464 (ido-buffer-internal): Check for empty string return.
11465 (ido-make-buffer-list1): Use member instead of memq.
11466 (ido-window-buffer-p): Likewise.
11467 (ido-get-bufname): Ignore buffers on ido-ignore-item-temp-list.
11468 (ido-ignore-item-p): Ignore items on ido-ignore-item-temp-list.
11470 * replace.el (multi-occur): Made "ido-aware":
11471 Changed prompt to use C-j instead of RET to end.
11472 Set ido-ignore-item-temp-list to the selected buffers so far, so
11473 they are automatically excluded from the list of choices.
11474 Use add-to-list instead of push.
11476 2002-09-01 Richard M. Stallman <rms@gnu.org>
11478 * term/x-win.el (function-key-map): Define S-iso-lefttab.
11480 2002-09-01 Kim F. Storm <storm@cua.dk>
11482 * edmacro.el (edit-kbd-macro): Recognize new default binding for
11483 C-x e in addition to old binding.
11485 2002-09-01 Mario Lang <mlang@debian.org>
11487 * files.el (save-some-buffers-action-alist): New variable.
11488 (save-some-buffers): Use that.
11489 (diff-buffer-with-file): New function.
11491 2002-09-01 Richard M. Stallman <rms@gnu.org>
11493 * ruler-mode.el (defgroup ruler-mode): Use `convenience' as parent.
11495 * dired.el (defgroup dired): Use `files' as parent.
11496 (dired-get-filename): Ignore handler if it has safe-magic prop.
11498 * jka-compr.el (jka-compr-handler): Add safe-magic property.
11500 2002-08-31 Richard M. Stallman <rms@gnu.org>
11502 * simple.el (kill-line): Use end-of-visible-line to determine
11503 if rest of line is blank.
11504 (end-of-visible-line): Cope if end-of-line moved back over
11505 invisible intangible chars at end of line.
11507 * simple.el (completion-setup-function): Don't use directory-sep-char.
11509 2002-09-01 Glenn Morris <gmorris@ast.cam.ac.uk>
11511 * progmodes/f90.el (f90-menu): Remove ":active" keyword where not
11513 (f90-menu, f90-add-imenu-menu): Use lookup-key.
11514 Remove (eval-when-compile) for free variables.
11516 2002-08-31 Andreas Schwab <schwab@suse.de>
11518 * font-core.el (font-lock-change-mode): Avoid changing buffer
11521 2002-08-30 Stefan Monnier <monnier@cs.yale.edu>
11523 * emacs-lisp/easymenu.el (easy-menu-filter-return):
11524 Handle the case where the filter returns a single menu entry.
11525 (easy-menu-add): Improve docstring.
11526 (easy-menu-current-active-maps): Remove.
11527 (easy-menu-get-map): Use current-active-maps.
11529 * cus-edit.el (custom-unlispify-menu-entry): Don't remove
11530 the -p prefix from variables since they shouldn't have it anyway.
11531 (custom-group-menu-create, customize-menu-create):
11532 Only cdr if applicable, since custom-menu-create might return
11533 a vector (i.e. a single menu entry).
11535 2002-08-30 Edward M. Reingold <reingold@emr.cs.iit.edu>
11537 * calendar/diary-lib.el (diary-mail-entries): Don't overwrite
11538 user's value of diary-list-include-blanks, but generate message
11539 instead if there are no entries.
11541 2002-08-30 ARISAWA Akihiro <ari@mbf.sphere.ne.jp> (tiny change)
11543 * ps-print.el (ps-lp-system): Fix typo in `usg-unix-v'.
11545 2002-08-30 Markus Rost <rost@math.ohio-state.edu>
11547 * menu-bar.el (menu-bar-read-mail): Doc fix.
11549 2002-08-30 John Paul Wallington <jpw@shootybangbang.com>
11551 * ibuffer.el (ibuffer-update): Revert expansion of `caddr'.
11552 (ibuffer-fontification-alist): Check hidden buffer case isn't
11553 visiting a file and change its face to italic.
11555 2002-08-30 Juanma Barranquero <lektu@terra.es>
11557 * replace.el (occur-mode): Add interactive declaration.
11559 * bs.el (bs-message-without-log): Fix typo.
11561 * font-core.el (font-lock-defaults): Likewise.
11563 * font-lock.el (font-lock-add-keywords): Likewise.
11565 * mouse-copy.el (mouse-copy-work-around-drag-bug): Likewise.
11567 * textmodes/bibtex.el (bibtex-mode): Likewise.
11569 * emulation/viper-ex.el (ex-compile-command): Likewise.
11571 * progmodes/idlwave.el (idlwave-max-extra-continuation-indent):
11574 * progmodes/dcl-mode.el (dcl-calc-cont-indent-relative): Likewise.
11576 * allout.el (my-mark-marker): Likewise.
11578 2002-08-30 Simon Josefsson <jas@extundo.com>
11580 * mail/smtpmail.el (smtpmail-via-smtp): Delete process buffer
11581 unless s-debug-info is enabled.
11583 2002-08-29 John Paul Wallington <jpw@shootybangbang.com>
11585 * ibuffer.el (ibuffer-update): Use `minibufferp'. Expand `caddr'.
11587 * mwheel.el (mouse-wheel-up-button): Doc fix.
11589 2002-08-29 Juanma Barranquero <lektu@terra.es>
11591 * replace.el (occur-mode-hook): New hook.
11592 (occur-mode): Use it.
11593 (occur-hook): Set default to nil.
11595 2002-08-29 Stefan Monnier <monnier@cs.yale.edu>
11597 * net/ange-ftp.el: Use match-string and drop useless `function's.
11598 (ange-ftp-get-process): Bind `ange-ftp-this-user' and
11599 `ange-ftp-this-host' before running ange-ftp-process-startup-hook.
11600 (ange-ftp-ls-parser): Use `switches' arg instead of dynamic binding.
11601 (ange-ftp-parse-dired-listing): Update the calls.
11602 (dired-local-variables-file): Declare to shut quieten the compiler.
11603 (ange-ftp-file-entry-active-p): Remove.
11604 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
11605 Don't exclude dangling symlinks.
11606 (ange-ftp-file-name-completion-1): Make predicate optional.
11607 (ange-ftp-parse-list-func-alist): Use add-to-list to update.
11608 (ange-ftp-fix-name-for-bs2000): Use subst-char-in-string.
11609 (ange-ftp-bs2000-posix-hook-installed): Remove.
11610 (ange-ftp-add-bs2000-posix-host): Don't use it anymore.
11611 (ange-ftp-bs2000-cd-to-posix): Use `ange-ftp-this-user' and
11612 `ange-ftp-this-host' instead of `user' and `host'.
11614 2002-08-29 Richard M. Stallman <rms@gnu.org>
11616 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
11617 Decide here whether to print which form we're compiling.
11618 If we do that, still print file and line. Make file name
11619 relative to default-directory. Print fewer newlines.
11620 (byte-compile-log-file): Print something even if no file.
11621 Print messages for entering and leaving directories,
11622 and set default-directory.
11623 (displaying-byte-compile-warnings): Only sometimes bind warning-series.
11624 (byte-compile-warning-series): New function.
11625 (byte-compile-file): Set byte-compile-last-logged-file, don't bind it.
11626 (byte-compile-display-log-head-p): Function deleted.
11628 * warnings.el (warning-series): Now can be a marker, not an integer.
11629 (display-warning): Handle new value for warning-series.
11631 * emacs-lisp/bytecomp.el (byte-compile-log-file): Use \f.
11632 (byte-compile-cl-warn): Add cl-macroexpand-all, cl-compiling-file
11633 to don't-warn list.
11635 2002-08-29 Kim F. Storm <storm@cua.dk>
11637 * kmacro.el: Change default bindings from F7/F8 to F3/F4.
11638 Change default binding of C-x e to kmacro-end-or-call-macro.
11639 (kmacro-call-repeat-key, kmacro-call-repeat-with-arg): New custom
11641 (kmacro-get-prefix-arg): New function.
11642 (kmacro-repeat-on-last-key): Rename from kmacro-repeat-loop and
11643 improve. Callers changed.
11644 (kmacro-call-macro): Repeat macro by repeating last key or
11645 key defined in kmacro-call-repeat-key. New third arg non-nil
11646 means to end current macro.
11647 (kmacro-end-or-call-macro): Call kmacro-call-macro appropriately
11648 to get repeat last key functionality.
11649 (kmacro-start-macro-or-insert-counter): Improve doc string.
11651 2002-08-28 Luc Teirlinck <teirllm@mail.auburn.edu>
11653 * files.el (find-buffer-visiting): Compare file attributes
11654 using buffer-file-truename.
11656 2002-08-28 Richard M. Stallman <rms@gnu.org>
11658 * files.el (make-auto-save-file-name, make-backup-file-name-1):
11659 Don't use directory-sep-char.
11661 2002-08-28 Juanma Barranquero <lektu@terra.es>
11663 * replace.el (occur-hook): Rename from `occur-mode-hook'.
11664 (occur-mode): Remove call to `occur-mode-hook'.
11665 (occur-rename-buffer): Fix reference to `occur-mode-hook' in docstring.
11666 (occur-1): Add call to `occur-hook'.
11668 * subr.el (make-variable-frame-localizable): Alias for
11669 `make-variable-frame-local'.
11671 2002-08-28 Miles Bader <miles@gnu.org>
11673 * rfn-eshadow.el (read-file-name-electric-shadow-properties)
11674 (read-file-name-electric-shadow-tty-properties)
11675 (read-file-name-electric-shadow-mode): Remove compatibility defs.
11677 * comint.el (comint-carriage-motion): Start at START.
11679 2002-08-27 Francesco Potortì <pot@gnu.org>
11681 * net/ange-ftp.el (ange-ftp-skip-msgs): Skip the 530 response
11682 given by vsFTPd when accessed with a kerberized FTP client.
11684 2002-08-27 Richard M. Stallman <rms@gnu.org>
11686 * files.el (find-alternate-file):
11687 Bind kill-buffer-query-functions locally, don't set it.
11689 2002-08-27 Andreas Schwab <schwab@suse.de>
11691 * kmacro.el (kmacro-start-macro): Doc fix.
11693 2002-08-27 Carsten Dominik <dominik@sand.science.uva.nl>
11695 * textmodes/reftex-ref.el (reftex-goto-label): New command.
11697 * textmodes/reftex-vars.el (reftex-part-resets-chapter): New option.
11699 * textmodes/reftex-parse.el (reftex-roman-number): New function.
11700 (reftex-section-number): Better handling of parts: No chapter
11703 * textmodes/reftex.el (reftex-highlight-overlays): Add a third
11705 (reftex-mode-menu): Add entry for `reftex-toc-recenter.
11706 Also moved `reftex-reset-mode' to top level.
11708 * textmodes/reftex-toc.el (reftex-toc-recenter): New command.
11709 (reftex-toc-pre-command-hook): Don't remove highlight overlay.
11710 (reftex-toc-post-command-hook): Use overlay no 2 for highlighting.
11712 * textmodes/reftex-sel.el (reftex-get-offset): Get offset of
11713 document pointer *before* position, not after.
11714 (reftex-insert-docstruct): Get offset of document pointer *before*
11715 position, not after.
11717 * textmodes/reftex-parse.el (reftex-where-am-I): Prefer marker
11718 match over section title match.
11720 * textmodes/reftex-cite.el (reftex-bib-or-thebib): New function
11721 which determines on a per-file-basis if BibTeX is being used
11722 locally for citations.
11723 (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
11724 cooperation with chapterbib.
11725 (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
11726 better cooperation with chapterbib.
11728 * textmodes/reftex-dcr.el (reftex-view-cr-cite):
11729 Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
11731 2002-08-26 Kim F. Storm <storm@cua.dk>
11733 * subr.el (suppress-keymap): Use command remapping instead of
11734 substitute-key-definition to undefine self-inserting keys.
11736 2002-08-26 Juanma Barranquero <lektu@terra.es>
11738 * makefile.w32-in (WINS): Add calc and obsolete.
11740 2002-08-26 Stefan Monnier <monnier@cs.yale.edu>
11742 * emacs-lisp/easy-mmode.el (define-minor-mode):
11743 Use customize-mark-as-set for global minor modes.
11745 2002-08-25 Miles Bader <miles@gnu.org>
11747 * rfn-eshadow.el (file-name-shadow-properties-custom-type):
11748 Rename from `read-file-name-electric-shadow-properties-custom-type'.
11749 Change name of face.
11750 (file-name-shadow-properties): Rename from
11751 `read-file-name-electric-shadow-properties'.
11752 (file-name-shadow-tty-properties): Rename from
11753 `read-file-name-electric-shadow-tty-properties'.
11754 (file-name-shadow): Rename from `read-file-name-electric-shadow'.
11755 (rfn-eshadow-setup-minibuffer): Update references to renamed variables.
11756 (file-name-shadow-mode): Rename from
11757 `read-file-name-electric-shadow-mode'. Update references to
11760 2002-08-24 Sam Steingold <sds@gnu.org>
11762 * subr.el (eval-after-load): Do not call
11763 load-symbol-file-load-history (deleted yesterday).
11765 2002-08-24 John Paul Wallington <jpw@shootybangbang.com>
11767 * startup.el (normal-splash-screen): Ensure splash buffer is
11768 killed. Use tabs in output. Fix test whether previous buffer was
11771 * progmodes/simula.el (simula-abbrev-keyword-default)
11772 (simula-abbrev-keyword, simula-abbrev-stdproc-default)
11773 (simula-abbrev-stdproc): Doc fix - escape open parens in column 0.
11775 * apropos.el (command-apropos): Use `defalias' instead of `fset'.
11777 * mail/rmail.el (rmail-speedbar-match-folder-regexp): Doc fix.
11779 2002-08-24 Glenn Morris <gmorris@ast.cam.ac.uk>
11781 * progmodes/f90.el (f90-xemacs-flag, f90-xemacs-menu)
11782 (f90-menu-bar-menu, f90-change-case-menu, f90-font-lock-on)
11783 (f90-font-lock-off, f90-font-lock-menu): Delete.
11784 Use easy-menu-define instead.
11785 (f90-mode): Use easy-menu-add.
11786 No longer (require 'imenu) when compiling.
11787 (f90-mark-subprogram, f90-indent-region, f90-fill-region)
11788 (f90-abbrev-start): Use fboundp.
11789 (f90-imenu-flag): Delete - use imenu--index-alist instead.
11791 2002-08-23 Richard M. Stallman <rms@gnu.org>
11793 * loadhist.el (unload-feature): Distinguish functions from
11794 variables in load-history.
11795 (feature-symbols): Doc fix.
11797 * files.el (ange-ftp-completion-hook-function): Add safe-magic prop.
11799 * subr.el (symbol-file-load-history-loaded)
11800 (load-symbol-file-load-history): Delete.
11801 (symbol-file): Don't call load-symbol-file-load-history.
11803 2002-08-23 Andre Spiegel <spiegel@gnu.org>
11805 * vc-hooks.el (vc-kill-buffer-hook): Add it to kill-buffer-hook again.
11807 2002-08-22 Katsumi Yamaoka <yamaoka@jpl.org>
11809 * frame.el (select-frame-by-name, select-frame-set-input-focus):
11810 Always call x-focus-frame, if using x.
11811 Use set-mouse-position on all systems, if focus-follows-mouse.
11813 2002-08-22 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11815 * net/tramp.el: Version 2.0.14 released.
11816 (tramp-shell-prompt-pattern): New variable.
11817 (tramp-actions-before-shell, tramp-multi-actions)
11818 (tramp-find-shell, tramp-open-connection-multi)
11819 (tramp-open-connection-setup-interactive-shell): Use it.
11820 (tramp-open-connection-telnet, tramp-open-connection-rsh)
11821 (tramp-open-connection-su): Mention `tramp-shell-prompt-pattern'
11823 (tramp-bug): Report `tramp-shell-prompt-pattern'.
11824 (tramp-process-one-multi-action, tramp-process-one-action):
11825 Make message clearer so people don't confuse it with Emacs asking
11826 them a question if the regexp happens to end with "?".
11827 (tramp-verbose): Change default value from 10 to 9. Also change
11828 some logging levels so that 10 is reserved for stuff which is
11829 needed for debugging only, but 9 catches everything that people
11830 might like to see in order to see that Tramp is actually working.
11832 2002-08-22 Kim F. Storm <storm@cua.dk>
11834 * emacs-lisp/authors.el (authors-aliases, authors-fixed-entries):
11835 Corrected spelling mistakes (for Joseph Arceneaux).
11837 2002-08-21 Glenn Morris <gmorris@ast.cam.ac.uk>
11839 * progmodes/f90.el: eval-when-compile a few defvars.
11840 (f90-xemacs-flag): Wrap in eval-and-compile.
11841 (f90-font-lock-keywords): Doc fix.
11842 (f90-mode-abbrev-table): Work with or without 6th arg of define-abbrev.
11843 (f90-mark-subprogram-overlay): Variable deleted.
11844 (f90-mark-subprogram): Remove overlay bit. Don't be silent about
11846 (f90-abbrev-start): unread-command-event is obsolete in XEmacs.
11848 2002-08-21 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11850 * net/tramp.el: Version 2.0.13 released.
11851 (tramp-handle-write-region): Don't check to see if remote end is
11852 awake after sending data to remote host: we want to send "EOF" not
11853 "echo are you awake"...
11854 (tramp-maybe-open-connection): Swap args for tramp-time-diff.
11855 (tramp-yn-prompt-regexp): New variable.
11856 (tramp-action-yn): New function, using it.
11857 (tramp-feature-write-region-fix): New internal variable. Not yet
11858 used. Should be used in `tramp-handle-write-region'.
11860 2002-08-21 Kim F. Storm <storm@cua.dk>
11862 * bindings.el (mode-line-format): Move global-mode-string last.
11863 (mode-line-position): Move %p first. Added padding to %l/%c to
11864 eliminate jumpiness in modeline. Use (%l,%c) format if both
11865 line-number-mode and column-number-mode are enabled.
11867 2002-08-20 Martin Stjernholm <mast@lysator.liu.se>
11869 * progmodes/cc-engine.el (c-forward-syntactic-ws): Fix a bug
11870 that could cause an infinite loop if something that looks like
11871 a macro begins in the middle of a line.
11873 * progmodes/cc-engine.el (c-parse-state): Fix a bug that
11874 could cause `c-state-cache' to contain two conses in sequence
11875 when there's an unbalanced open paren in a macro.
11877 2002-08-20 Glenn Morris <gmorris@ast.cam.ac.uk>
11879 * progmodes/fortran.el (fortran-current-defun): Use save-excursion.
11881 * imenu.el (imenu--generic-function): Use mapc.
11882 (imenu-syntax-alist): Doc fix.
11884 2002-08-20 Richard M. Stallman <rms@gnu.org>
11886 * font-core.el (font-lock-change-mode): New function.
11887 (font-lock-mode): Use font-lock-change-mode instead of
11888 font-lock-unfontify-buffer.
11889 (font-lock-maximum-size, font-lock-verbose): Add defvars.
11891 2002-08-20 Carsten Dominik <dominik@astro.uva.nl>
11893 * textmodes/reftex-cite.el (reftex-bib-or-thebib): New function
11894 which determines on a per-file-basis if BibTeX is being used
11895 locally for citations.
11896 (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
11897 cooperation with chapterbib.
11898 (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
11899 better cooperation with chapterbib.
11901 * textmodes/reftex-dcr.el (reftex-view-cr-cite):
11902 Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
11904 2002-08-20 Kim F. Storm <storm@cua.dk>
11906 * kmacro.el: Major rework based on discussions with RMS.
11907 Most important change is that C-x C-k is now bound to a keymap
11908 with keyboard macro related commands. The original binding on
11909 C-x C-k is moved to C-x C-k e.
11911 * bindings.el: Remove macro related bindings (now in kmacro.el).
11913 * edmacro.el: Remove C-x C-k binding (now in kmacro.el).
11915 2002-08-19 Stefan Monnier <monnier@cs.yale.edu>
11917 * help-fns.el (help-split-fundoc): Replace the function name
11918 from the docstring with the one that should be displayed.
11919 (help-make-usage): Understand CL style arglists.
11920 (describe-function-1): Adapt to the new behavior of help-split-fundoc.
11921 (describe-variable): Use delete-region.
11923 2002-08-19 Kenichi Handa <handa@etl.go.jp>
11925 * international/mule.el (sgml-xml-auto-coding-function):
11926 Call re-search-forward with NOERROR t.
11928 2002-08-19 Miles Bader <miles@gnu.org>
11930 [original idea from Luc Teirlinck <teirllm@mail.auburn.edu>]
11931 * comint.el (comint-inhibit-carriage-motion): New variable.
11932 (comint-carriage-motion): Argument STRING removed. New arguments
11933 START and END; interpret characters between START and END rather
11934 than using special comint state.
11935 (comint-output-filter): Call `comint-carriage-motion'.
11936 (comint-output-filter-functions): Don't add `comint-carriage-motion'.
11937 * ielm.el (inferior-emacs-lisp-mode):
11938 Give `comint-inhibit-carriage-motion' a local value of t.
11940 2002-08-18 Richard M. Stallman <rms@gnu.org>
11942 * textmodes/table.el: New file.
11944 * font-core.el (font-lock-mode): Set change-major-mode-hook locally.
11946 2002-08-18 Andreas Schwab <schwab@suse.de>
11948 * ibuf-ext.el (ibuffer-list-buffer-modes): Doc fix.
11950 2002-08-17 Carsten Dominik <dominik@astro.uva.nl>
11952 * textmodes/reftex.el (reftex-mode): Create special syntax tables.
11953 (reftex-syntax-table): Set a default in case this is being used
11954 outside a LaTeX file.
11955 (reftex-syntax-table-for-bib): Set a default in case this is being
11956 used outside a LaTeX file.
11958 2002-08-17 Richard M. Stallman <rms@gnu.org>
11960 * tar-mode.el (tar-subfile-mode): Use add-hook and remove-hook,
11961 and use write-file-functions instead of local-write-file-hooks.
11962 (tar-untar-buffer): Don't try to extract directories.
11964 * menu-bar.el (fringe-mode): Set to nil.
11966 * mail/rmail.el (rmail-search-mime-header-function): Doc fix.
11968 2002-08-15 Richard M. Stallman <rms@gnu.org>
11970 * calendar/appt.el (appt-delete): Use substring-no-properties.
11971 (appt-make-list): Don't use prin1-to-string; use the string unchanged.
11973 2002-08-15 Jan Nieuwenhuizen <janneke@gnu.org>
11975 * server.el (server-process-filter): Simplify code.
11976 (server-goto-line-column): New function.
11977 (server-visit-files): Use server-goto-line-column.
11978 Offer to revert only if file has changed.
11980 2002-08-15 Richard M. Stallman <rms@gnu.org>
11982 * files.el (recover-this-file): New function.
11983 (after-find-file): Recommend recover-this-file.
11985 * font-core.el (font-lock-mode): Add font-lock-unfontify-buffer
11986 to change-major-mode-hook when font lock is enabled.
11988 * simple.el (toggle-truncate-lines): Force redisplay.
11989 Display status message.
11991 2002-08-15 Carsten Dominik <dominik@sand.science.uva.nl>
11993 * textmodes/reftex.el (reftex-mode): Move the creation of special
11994 syntax tables to top-level.
11996 2002-08-15 David Kastrup <David.Kastrup@t-online.de>
11998 * net/ange-ftp.el (ange-ftp-wipe-file-entries): Fix type mismatch;
11999 use `hash-table-size' instead of `length'.
12001 2002-08-14 Stefan Monnier <monnier@cs.yale.edu>
12003 * help-fns.el (locate-library): Use locate-file(-completion).
12004 (help-split-fundoc): Tighten the regexp and recognize a usage-info
12005 where the function name is `fn'.
12006 (help-function-arglist): Follow aliases and macros.
12007 (describe-function-1): Use keymapp.
12008 If the docstring contains a usage info, use it even if the function is
12009 not a subroutine. Find usage info in aliases' docstring if necessary.
12010 (describe-variable): Get the value before setting up the *Help* buffer.
12012 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
12013 Use find-file-hook instead of find-file-hooks.
12014 (define-minor-mode): Get rid of this silly `togglep'.
12015 Add an explicit `toggle' argument (used for interactive calls).
12016 Emit a warning when a nil argument turns the mode off.
12018 * language/ethio-util.el (setup-ethiopic-environment-internal)
12019 (exit-ethiopic-environment): Use find-file-hook and
12020 write-file-functions instead of find-file-hooks and write-file-hooks.
12022 * window.el (handle-select-window): Don't do anything if the window
12023 has disappeared since the event was generated.
12024 (split-window-save-restore-data): Use push and with-current-buffer.
12028 * obsolete/hilit19.el:
12029 * completion.el (dynamic-completion-mode):
12030 * emacs-lisp/find-func.el (find-function-search-for-symbol):
12031 Use find-file-hook instead of find-file-hooks.
12033 * imenu.el (imenu-always-use-completion-buffer-p): Make obsolete.
12034 (imenu-use-popup-menu, imenu-eager-completion-buffer): New vars.
12035 (imenu-space-replacement): Allow nil value.
12036 (imenu--completion-buffer): Use new vars and simplify.
12037 Fix handling of minibuffer-setup-hook.
12038 Use minibuffer-completion-help instead of rolling our own.
12039 (imenu-choose-buffer-index): Use the new var.
12041 * startup.el (command-line): Load custom-file if not done yet.
12043 2002-08-14 Kenichi Handa <handa@etl.go.jp>
12045 * select.el (xselect-convert-to-string): If TYPE is non-nil, encode
12046 the selection data string. Always return cons of type and string.
12047 (selection-converter-alist): Add (UTF8_STRING .
12048 xselect-convert-to-string).
12050 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
12052 * newcomment.el (comment-region): Force `lines' when `block' is set.
12054 2002-08-12 Richard M. Stallman <rms@gnu.org>
12056 * menu-bar.el (menu-bar-next-tag-other-window, menu-bar-next-tag)
12057 (menu-bar-right-scroll-bar, menu-bar-left-scroll-bar)
12058 (menu-bar-no-scroll-bar, menu-bar-toggle-auto-compression)
12059 (menu-bar-toggle-cua-mode, menu-bar-read-mail)
12060 (menu-bar-help-extra-packages, help-with-tutorial-spec-language)
12061 (menu-bar-text-mode-auto-fill): New commands, used
12062 in menu bar menus instead of lambda expressions.
12064 (menu-bar-showhide-fringe-menu-customize-left)
12065 (menu-bar-showhide-fringe-menu-customize-right)
12066 (menu-bar-showhide-fringe-menu-customize-disable)
12067 (menu-bar-showhide-fringe-menu-customize-reset): Doc fixes.
12069 (menu-bar-options-menu): Use toggle-truncate-lines.
12070 (showhide-date-time): Call customize-mark-as-set.
12072 * emacs-lisp/find-func.el (find-function-search-for-symbol):
12073 Obey `definition-name' properties.
12075 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
12076 Put `definition-name' properties on the functions whose
12077 names are constructed.
12079 * textmodes/page-ext.el (pages-target-buffer): Add defvar.
12080 Renamed from target-buffer.
12081 (pages-directory, pages-copy-header-and-position): Uses changed.
12083 * calendar/appt.el (appt-make-list): Correct the parsing of
12084 each appointment from time-string.
12086 2002-08-12 Stefan Monnier <monnier@cs.yale.edu>
12088 * scroll-all.el (scroll-all-mode): Use define-minor-mode.
12089 (scroll-all-mode) <defcustom>: Delete.
12090 (running-xemacs): Delete.
12091 (minor-mode-alist): Don't manipulate it directly.
12093 2002-08-10 Kenichi Handa <handa@etl.go.jp>
12095 * international/mule-cmds.el (search-unencodable-char): New function.
12096 (select-safe-coding-system): Show unencodable characters.
12097 (unencodable-char-position): Delete, and implemented in C in coding.c.
12099 2002-04-09 John Wiegley <johnw@gnu.org>
12101 * eshell/em-cmpl.el (eshell-cmpl-ignore-case):
12102 * eshell/em-dirs.el (eshell/cd):
12103 * eshell/em-glob.el (eshell-glob-case-insensitive):
12104 * eshell/em-hist.el (eshell-previous-matching-input-string-position):
12105 * eshell/esh-ext.el (eshell-binary-suffixes):
12106 * eshell/esh-util.el: Remove eshell-under-cygwin-p, and all uses of it.
12108 2002-08-09 Richard M. Stallman <rms@gnu.org>
12110 * textmodes/page-ext.el (pages-directory-mode): Undo previous change.
12112 * simple.el (set-variable): Give locality status in prompt.
12114 2002-08-09 Benjamin Rutt <rutt@cis.ohio-state.edu>
12116 * simple.el (set-variable): If given a prefix argument, set
12117 variable buffer-locally.
12119 2002-08-09 John Paul Wallington <jpw@shootybangbang.com>
12121 * font-core.el (font-lock-function): Make it buffer-local.
12123 2002-08-08 Richard M. Stallman <rms@gnu.org>
12125 * emacs-lisp/checkdoc.el (checkdoc, checkdoc-interactive)
12126 (checkdoc-message-interactive, checkdoc-interactive-loop)
12127 (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments)
12129 Update checkdoc-spellcheck-documentation-flag correctly.
12130 (checkdoc-ispell-docstring-engine): Don't test for
12131 checkdoc-autofix-flag = nil.
12133 2002-08-07 John Paul Wallington <jpw@shootybangbang.com>
12135 * xt-mouse.el (xterm-mouse-mode): Make it a global mode.
12137 * wid-browse.el (widget-minor-mode): Fix doc typo.
12139 2002-08-07 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12141 * net/tramp.el: Version 2.0.12 released.
12142 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12143 Comment out possibly obsolete "echo hello" commands.
12144 (tramp-run-real-handler): If operation is
12145 `ange-ftp-hook-function', use first arg as the real operation.
12146 (tramp-check-ls-commands): Use / instead of \ as directory
12147 separator. (Relevant for XEmacs on Windows.)
12148 (tramp-maybe-open-connection): Use tramp-wait-for-output when
12149 waiting for the "are you awake" command. Use a different string
12150 for the "are you awake" command.
12151 (tramp-send-command): New optional arg NEVEROPEN means to never
12152 invoke tramp-maybe-open-connection.
12153 (tramp-maybe-open-connection): Use it
12155 2002-08-07 Richard M. Stallman <rms@gnu.org>
12157 * warnings.el (warning-prefix-function, warning-series)
12158 (warning-fill-prefix, warning-group-format): Add autoload cookies.
12160 2002-08-07 Kenichi Handa <handa@etl.go.jp>
12162 * international/mule-cmds.el (select-safe-coding-system):
12163 Call pop-to-buffer inside save-window-excursion and save-excursion.
12165 2002-08-06 John Paul Wallington <jpw@shootybangbang.com>
12167 * help-fns.el (describe-function-1): Skip arglist note if
12168 function's definition is a keymap.
12170 2002-08-06 Sam Steingold <sds@gnu.org>
12172 * calendar/diary-lib.el (diary-mail-entries): Use `compose-mail'
12173 and `mail-user-agent' instead of straight sendmail.
12174 (diary-modified, diary-entries-list, displayed-year)
12175 (displayed-month, entry, date, number, date-string, d-file)
12176 (original-date): Defvar without binding to avoid compiler warnings.
12178 2002-08-05 Alan Shutko <ats@acm.org>
12180 * ibuffer.el (ibuffer-mode-map): Add ibuffer-filter-by-used-mode.
12181 (ibuffer-mode-map): Add ibuffer-filter-by-used-mode.
12182 (ibuffer-mode): Add ibuffer-filter-by-used-mode to doc string.
12184 * ibuf-ext.el (ibuffer-list-buffer-modes): New.
12185 (ibuffer-filter-by-used-mode): New.
12187 2002-08-05 John Paul Wallington <jpw@shootybangbang.com>
12189 * ediff-util.el (ediff-copy-list): Use `defalias' instead of
12190 `fset' and `symbol-function'.
12192 2002-08-05 John Wiegley <johnw@gnu.org>
12194 * pcomplete.el (pcomplete-entries): Don't set `above-cutoff' to a
12195 value unless pcomplete-cycle-cutoff-length is non-nil.
12197 2002-04-09 John Paul Wallington <jpw@shootybangbang.com>
12199 * eshell/esh-util.el (eshell-under-cygwin-p): New function.
12200 * eshell/em-cmpl.el (eshell-cmpl-ignore-case):
12201 * eshell/em-dirs.el (eshell/cd):
12202 * eshell/em-glob.el (eshell-glob-case-insensitive):
12203 * eshell/em-hist.el (eshell-previous-matching-input-string-position):
12204 * eshell/esh-ext.el (eshell-binary-suffixes): Use it.
12206 2002-08-05 Richard M. Stallman <rms@gnu.org>
12208 * international/mule-cmds.el (select-safe-coding-system): Check for
12209 non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS.
12211 * net/ange-ftp.el (ange-ftp-smart-gateway): Doc fix.
12213 2002-08-05 Gerd Moellmann <gerd@gnu.org>
12215 * image.el (image-jpeg-p): Accept "Exif" marker.
12217 2002-08-05 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12219 * net/tramp.el: Version 2.0.11 released.
12220 (tramp-perl-file-attributes): Print uid and gid as signed integers.
12221 (tramp-invoke-ange-ftp): Correct check for Ange-FTP being loaded.
12222 Invoke Ange-FTP with tramp-run-real-handler to avoid Ange-FTP
12223 calling Tramp again.
12224 (tramp-find-file-exists-command): Check for `ls -d' last, after
12225 all the variants on `test -e'.
12226 (tramp-post-connection): Erase buffer before finding a command to
12227 check if file exists.
12229 2002-08-05 David Kastrup <David.Kastrup@t-online.de>
12231 * calc/calc.el (math-format-stack-value): Revert a broken
12232 if->when replacement and reformat so that this does not happen
12233 again. Fixes a pretty lethal line formatting/yanking bug.
12235 2002-08-04 John Paul Wallington <jpw@shootybangbang.com>
12237 * startup.el (fancy-splash-frame): Check selected frame last.
12239 2002-08-04 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12241 * net/tramp.el: Version 2.0.10 released.
12242 (tramp-uudecode): New shell function `tramp_uudecode' to decode to
12243 standard output even if `uudecode -p' and `uudecode -o -' don't work.
12244 (tramp-post-connection): After finding the right shell, wait a
12245 bit. This is a kludge to avoid a race condition, even though I
12246 don't understand why there is a race condition in the first place.
12247 (tramp-post-connection): Install the `tramp_uudecode' shell
12248 function on the remote host.
12249 (tramp-coding-commands): Add an alternative for `tramp_uudecode'.
12250 (tramp-bug): Include more variables in the report.
12252 2002-08-04 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12254 * net/tramp.el: Version 2.0.9 released.
12255 (tramp-bug): Add wording about additional info to include in bug
12257 (tramp-find-shell): Set $PS1 for invocation of second shell (for
12259 (tramp-find-shell): Shell prompt must match at end of buffer.
12260 Do this also for fallback shell prompt.
12261 (tramp-find-shell): More debugging output.
12262 (tramp-find-inline-encoding): When checking the decoding command,
12263 some commands fail when reading from /dev/null. So we pass a
12264 known string through the encoding command and pass that through
12265 the decoding command. So we know whether the decoding command can
12266 deal with some real input.
12268 2002-08-04 Andreas Schwab <schwab@suse.de>
12270 * net/tramp.el (tramp-perl-encode, tramp-perl-decode): Doc fix.
12272 2002-08-03 Andrew Choi <akochoi@shaw.ca>
12274 * term/mac-win.el: Set keys to enable mouse wheel support.
12276 2002-08-03 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12278 * net/tramp.el: Version 2.0.8.
12279 (tramp-perl-encode, tramp-perl-encode): Double the backslashes.
12281 2002-08-03 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12283 * net/tramp.el: Version 2.0.7.
12284 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
12285 (tramp-perl-encode, tramp-perl-decode): Escape `%' characters
12286 because of `format' and say so in the docstring.
12288 2002-08-03 Glenn Morris <gmorris@ast.cam.ac.uk>
12290 * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of
12292 (f90-font-lock-keywords-2): Fix `implicit type(foo)' case.
12293 (f90-type-def-re): Fix value.
12295 2002-08-03 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12297 * net/tramp.el: Version 2.0.6.
12298 (tramp-default-method): Change to "ssh" from "sm".
12299 (tramp-wrong-passwd-regexp): Restructure. Add additional alternative.
12300 (tramp-su-program): New internal variable for method parameter.
12301 (tramp-perl-encode-with-module, tramp-perl-decode-with-module):
12302 New variables. Very short Perl one-liner, but requires Perl
12303 module MIME::Base64 to be installed on the remote site.
12304 (tramp-perl-encode, tramp-perl-decode): New base64
12305 encoder/decoder. From Juanma Barranquero <lektu@terra.es>.
12306 (tramp-handle-file-truename): Invoke Ange-FTP properly (even
12307 though Ange-FTP doesn't do anything for this operation).
12308 (tramp-handle-set-visited-file-modtime): Comment change.
12309 (tramp-handle-make-directory): Save-excursion.
12310 (tramp-handle-expand-many-files): Don't try to invoke Ange-FTP
12311 twice, once is enough.
12312 (tramp-action-permission-denied): Show *tramp/foo* buffer so the
12313 user knows what's wrong.
12314 (tramp-post-connection): Support the two Perl encoders and decoders.
12315 (tramp-coding-commands): Ditto. Add some todo items.
12317 2002-08-02 Richard M. Stallman <rms@gnu.org>
12319 * international/mule.el (merge-coding-systems): New function.
12320 (set-buffer-file-coding-system): Use merge-coding-systems.
12321 Change prompt for args.
12322 (revert-buffer-with-coding-system): New command.
12324 * international/mule-cmds.el (mule-keymap, set-coding-system-map):
12325 Add bindings for revert-buffer-with-coding-system.
12326 (set-coding-system-map): Clarify menu item info for
12327 set-buffer-file-coding-system.
12328 (set-coding-system-map): Reorder and add separators.
12330 * emacs-lisp/edebug.el (edebug-eval-top-level-form):
12331 Use eval-expression.
12333 * subr.el (atomic-change-group): Doc fix.
12335 2002-07-31 Colin Walters <walters@debian.org>
12337 * ibuffer.el (ibuffer-hooks): Rename to `ibuffer-hook'; Add
12338 defvaralias for compatibility.
12339 (ibuffer-mode-hooks): Rename to `ibuffer-mode-hook'; Add
12340 defvaralias for compatibility.
12342 2002-07-31 John Paul Wallington <jpw@shootybangbang.com>
12344 * ibuffer.el (ibuffer-fontification-alist):
12345 Use `font-lock-constant-face' instead of `font-lock-reference-face'.
12347 2002-07-31 John Wiegley <johnw@gnu.org>
12349 * pcomplete.el (pcomplete-comint-setup): Use `add-to-list', to
12350 prevent adding the symbol `pcomplete' to
12351 shell-dynamic-complete-functions to many times.
12353 2002-07-31 Markus Rost <rost@math.ohio-state.edu>
12355 * help-fns.el (describe-function-1): Test function for
12356 obsolescence only if it is a symbol.
12358 * ediff.el (ediff-backup): New autoloaded command.
12360 2002-07-31 Richard M. Stallman <rms@gnu.org>
12362 * makefile.w32-in (compile-after-backup): Rename from `compile'.
12363 Use `compile-always'.
12364 (bootstrap): Use `compile', not `compile-files'. Use `update-subdirs'.
12365 (compile): Rename from `compile-files'.
12366 (compile-CMD, compile-SH): Rename from `compile-files-*'.
12368 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
12369 Check that (car elt) is a string.
12371 * pcomplete.el (pcomplete-entries): Doc fix.
12373 * international/mule.el (non-standard-icccm-encodings-alist): Doc fix.
12375 2002-07-31 Andreas Schwab <schwab@suse.de>
12377 * dired.el: Hide disabling of dired-find-alternate-file behind
12380 2002-07-31 Tak Ota <Takaaki.Ota@am.sony.com>
12382 * makefile.w32-in: Revert some changes from 2002-07-23 because they
12383 don't work on MSVC/nmake builds.
12384 (update-subdirs-CMD): Generate the right list of subdirectories.
12386 2002-07-30 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12388 * net/tramp.el: New version 2.0.5.
12389 (tramp-methods): Remove inline encoding method parameters.
12390 The encoding is now autodetected. Also shorten the list of
12391 methods (u/m distinction gone) and rename the remaining methods to
12392 have longer, but more mnemonic, names.
12393 (tramp-login-prompt-regexp, tramp-password-prompt-regexp)
12394 (tramp-wrong-passwd-regexp): Trailing `$' not needed, regexp is
12395 matched at end of buffer anyway.
12396 (tramp-yesno-prompt-regexp): New variable, for questions where the
12397 user should say "yes" or "no".
12398 (tramp-file-name-structure-unified)
12399 (tramp-file-name-structure-separate): Allow dash in method names.
12400 (tramp-actions-before-shell): New variable, contains list of
12401 pattern/action pairs. Output sent by remote end is scanned for
12402 the patterns, then the actions are executed.
12403 (tramp-multi-actions): Like `tramp-actions-before-shell', but
12404 executed for each hop in a multi-hop connection.
12405 (tramp-last-cmd-time): New variable. If nothing has been sent to
12406 remote end for 60 seconds, look to see if the remote end is still
12408 (tramp-perl-mime-encode, tramp-perl-mime-decode): Remove.
12410 (tramp-perl-encode, tramp-perl-decode): New variables, these
12411 require the MIME::Base64 module on the remote end.
12412 (tramp-handle-file-attributes): Restructure logic.
12413 (tramp-handle-file-attributes-with-ls)
12414 (tramp-handle-file-attributes-with-perl): More debugging.
12415 (tramp-handle-directory-files): Grok fifth arg `files-only' for XEmacs.
12416 (tramp-handle-make-directory, tramp-handle-delete-directory)
12417 (tramp-handle-delete-file, tramp-handle-insert-directory):
12419 (tramp-handle-shell-command): Use `when', not `if'.
12420 (tramp-handle-file-local-copy, tramp-handle-write-region):
12421 Adapt to autodetection of inline encoding.
12422 (tramp-invoke-ange-ftp): Require ange-ftp to make sure that
12423 variable ange-ftp-name-format is defined before binding it.
12424 (tramp-action-login, tramp-action-password, tramp-action-succeed)
12425 (tramp-action-permission-denied, tramp-action-yesno):
12426 Functions called from `tramp-actions-before-shell'.
12427 (tramp-multi-action-login, tramp-multi-action-password)
12428 (tramp-multi-action-succeed, tramp-multi-action-permission-denied):
12429 Functions called from `tramp-multi-actions'.
12430 (tramp-process-one-action, tramp-process-actions):
12431 Pattern matching and action invocation code for
12432 `tramp-actions-before-shell'.
12433 (tramp-process-one-multi-action, tramp-process-multi-actions):
12434 Same for `tramp-multi-actions'.
12435 (tramp-open-connection-telnet, tramp-open-connection-rsh)
12436 (tramp-open-connection-su): Process actions instead of hardwired logic.
12437 (tramp-multi-connect-telnet, tramp-multi-connect-rlogin)
12438 (tramp-multi-connect-su): Ditto.
12439 (tramp-post-connection): New method for tramp_encode and
12440 tramp_decode scripts.
12441 (tramp-post-connection): Invoke inline autodetection code.
12442 (tramp-coding-commands): List of inline codings.
12443 (tramp-find-inline-encoding): This is the inline autodetection code.
12444 (tramp-maybe-open-connection): If nothing was sent to connection
12445 for 60 seconds, look if it connection is still alive.
12446 (tramp-send-command): Remember that something was sent to the
12448 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
12449 Use backticks for constructing alist.
12450 (tramp-get-encoding-command, tramp-set-encoding-command)
12451 (tramp-get-decoding-command, tramp-set-decoding-command)
12452 (tramp-get-encoding-function, tramp-set-encoding-function)
12453 (tramp-get-decoding-function, tramp-set-decoding-function):
12454 Use for results of inline autodetection.
12455 (tramp-get-encoding-command, tramp-get-decoding-command)
12456 (tramp-get-encoding-function, tramp-get-decoding-function):
12457 Remove these old functions.
12459 2002-07-30 Kenichi Handa <handa@etl.go.jp>
12461 * language/indian.el (in-is13194): Give correct `safe-chars' property.
12462 (devanagari): Define it as an alias of in-is13194.
12464 * international/mule.el (safe-chars):
12465 Put `char-table-extra-slots' property with value 0.
12467 * files.el (revert-buffer): Fix previous change.
12469 2002-07-29 Richard M. Stallman <rms@gnu.org>
12471 * bindings.el (help-echo): If global-mode-string is non-nil,
12472 display some spaces after it.
12474 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
12475 Don't call string-match on non-string.
12477 * textmodes/ispell.el (check-ispell-version): Bind default-directory
12478 to avoid errors. Kill the old temp buffer at the beginning.
12480 2002-07-29 Glenn Morris <gmorris@ast.cam.ac.uk>
12482 * scroll-all.el (scroll-all-mode): Make argument optional. Doc fix.
12484 2002-07-29 John Paul Wallington <jpw@shootybangbang.com>
12486 * scroll-all.el (scroll-all-mode): Handle numeric arg. Use `if'
12489 2002-07-29 Kenichi Handa <handa@etl.go.jp>
12491 * international/mule.el (ctext-post-read-conversion): Add support
12492 for embedded utf-8 encoding (ESC % G ... ESC % @).
12494 2002-07-28 Kenichi Handa <handa@etl.go.jp>
12496 * files.el (revert-buffer): Before calling insert-file-contents,
12497 kill the local variable buffer-file-coding-system.
12499 2002-07-28 Richard M. Stallman <rms@gnu.org>
12501 * bindings.el (mode-line-format): Handle vc-mode specially.
12502 Move mode-line-position to after global-mode-string.
12503 (mode-line-modes): Move the starting 3 spaces out of here.
12504 (mode-line-position): Separate with a space, not dashes.
12506 * vc-hooks.el: Don't add to minor-mode-alist.
12508 * emacs-lisp/edebug.el (edebug-debugger):
12509 If inside redisplay, just return.
12511 * emacs-lisp/debug.el (debug): If inside redisplay, just return.
12513 * info.el (Info-find-index-name): Improve last change.
12515 2002-07-27 Richard M. Stallman <rms@gnu.org>
12517 * files.el (file-name-sans-extension): Avoid expanding DIRECTORY.
12519 * calendar/cal-hebrew.el (diary-rosh-hodesh): Cons mark on
12522 2002-07-27 Markus Rost <rost@math.ohio-state.edu>
12524 * ps-print.el: Update copyright year.
12525 (ps-begin-cut-regexp, ps-end-cut-regexp): Fix type.
12527 2002-07-26 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12529 * eshell/eshell.el (eshell): Numeric prefix arg means to switch
12530 to the session with that number. Old behavior still available
12531 with nonumeric prefix args.
12533 2002-07-08 Simon Josefsson <jas@extundo.com>
12535 * mail/mail-extr.el (mail-extr-all-top-level-domains): Update names.
12537 2002-07-26 Juanma Barranquero <lektu@terra.es>
12539 * warnings.el (lwarn, warn, warning-levels): Doc fix.
12540 (warning-suppress-log-types): Fix typo.
12541 (display-warning): Fix typo. Remove useless assignment to free variable
12544 2002-07-25 Markus Rost <rost@math.ohio-state.edu>
12546 * ediff-wind.el (ediff-window-setup-function): Extend type declaration.
12548 2002-07-25 Sam Steingold <sds@gnu.org>
12550 * replace.el (occur-rename-buffer): New command.
12551 (occur-mode-map): Bind "r" to it. Added keybindings for
12552 `kill-this-buffer', `clone-buffer' and `quit-window'.
12554 2002-07-25 Kevin Ryde <user42@zip.com.au>
12556 * info.el (Info-find-index-name): Search for a function definition
12557 with a return type.
12559 2002-07-25 David Ponce <david@dponce.com>
12561 * emacs-lisp/bytecomp.el (byte-compile-set-symbol-position):
12562 Don't recompute `entry' on each iteration.
12563 (byte-compile-delete-first): Make it defsubst.
12565 2002-07-25 Sam Steingold <sds@gnu.org>
12567 * progmodes/cc-engine.el (c-search-uplist-for-classkey):
12568 When `search-end' is a cons, use its car.
12570 2002-07-25 Dave Love <fx@gnu.org>
12572 * obsolete/c-mode.el: Deleted.
12574 2002-07-25 Carsten Dominik <dominik@astro.uva.nl>
12576 * textmodes/reftex.el (reftex-compile-variables):
12577 Simplify regular expression.
12579 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
12580 Simplify the regexp.
12582 * textmodes/reftex-cite.el (reftex-get-bibkey-default): New function.
12583 (reftex-extract-bib-entries-from-thebibliography):
12584 Use `reftex-get-bibkey-default' to get a default regex.
12585 (reftex-extract-bib-entries): Use `reftex-get-bibkey-default' to
12586 get a default regex.
12588 * textmodes/reftex-toc.el (reftex-toc-mode): Use `make-local-hook' for
12589 XEmacs compatibility (got OK from RMS).
12591 * textmodes/reftex-index.el (reftex-index-mode): Likewise.
12593 * textmodes/reftex-sel.el (reftex-select-label-mode): Likewise.
12594 (reftex-select-bib-mode): Likewise.
12596 2002-07-25 Colin Walters <walters@debian.org>
12598 * ibuffer.el (ibuffer-mouse-popup-menu): Allow point to be moved
12601 2002-07-24 Dave Love <fx@gnu.org>
12603 * international/mule.el (set-auto-coding): Doc fix.
12605 * international/utf-16.el: New file.
12607 * language/european.el ("German", "French", "Spanish", "Turkish"):
12608 Add alternative coding systems.
12609 ("Dutch"): Likewise. Add input method.
12610 ("Welsh", "Latin-7"): Add nonascii-translation.
12612 * language/georgian.el ("Georgian"): Add nonascii-translation.
12614 * international/titdic-cnv.el: Doc fixes.
12615 (tit-process-header): Add coding cookie.
12616 (titdic-convert): Force writing as iso-2022-7bit.
12618 * international/ja-dic-cnv.el (skkdic-convert): Add coding cookie.
12620 * international/mule-cmds.el: Doc fixes.
12621 (unencodable-char-position): New.
12622 (select-safe-coding-system): Use it to indicate problematic
12623 characters and add extra explanation. Avoid checking auto-coding
12624 for compressed files.
12625 (leim-list-header): Add coding cookie.
12626 (input-method-verbose-flag): Modify :type.
12627 (locale-language-names): Add bs, wa. Modify cy.
12629 2002-07-24 Richard M. Stallman <rms@gnu.org>
12631 * emacs-lisp/bytecomp.el (byte-compile-log-warning):
12632 Bind warning-group-format.
12634 * emacs-lisp/bytecomp.el (byte-compile-cl-functions): New variable.
12635 (byte-compile-cl-warn): Use that variable.
12636 (byte-compile-find-cl-functions): New function.
12637 (displaying-byte-compile-warnings):
12638 Call byte-compile-find-cl-functions.
12640 * warnings.el (warning-levels): Add %s to the strings.
12641 (warning-group-format): New variable.
12642 (warning-suppress-log-types): Rename from warning-suppress-log.
12643 (warning-suppress-types): Rename from warning-suppress.
12644 (display-warning): Implement those changes.
12646 2002-07-23 Richard M. Stallman <rms@gnu.org>
12648 * warnings.el: Add `provide' call.
12650 * files.el (basic-save-buffer-2): If there's an error writing the file,
12651 unrename the backup file if it was just made.
12652 (backup-buffer, basic-save-buffer-2, basic-save-buffer-1)
12653 (basic-save-buffer): Value now has form (MODES . BACKUPNAME)
12654 when a backup was just made by renaming. Otherwise it's nil.
12656 * wid-edit.el (widget-convert): Handle an argument that's a keyword.
12657 Recognize explicit :args specification.
12659 * international/mule-cmds.el (select-safe-coding-system):
12660 Don't ask for confirmation of mismatch if find-file-literally was used.
12662 2002-07-23 Markus Rost <rost@math.ohio-state.edu>
12664 * add-log.el (add-log-current-defun): Fix typo in documentation.
12666 2002-07-22 Markus Rost <rost@math.ohio-state.edu>
12668 * add-log.el (add-log-mailing-address): Fix type. Can be a string.
12670 * ido.el (ido-separator): Fix type.
12672 2002-07-23 Andrew Innes <andrewi@gnu.org>
12674 * makefile.w32-in (DONTCOMPILE): Remove cus-start.el.
12675 (DONTCOMPILE): Add various language files.
12676 (DONTCOMPILE): Remove term/xterm.el.
12677 (finder-inf.el): Remove.
12678 (update-authors): New target.
12679 (TAGS-LISP): Remove $(lispsource).
12680 (compile-always): Rename from `compile-files'.
12681 (compile): New target, adapted from `compile-files'.
12682 (compile-calc): New target.
12683 (recompile): Change `.' to $(lisp).
12684 (bootstrap): Add update-subdirs and finder-data
12685 to dependencies; change compile-files to compile.
12687 2002-07-22 Andre Spiegel <spiegel@gnu.org>
12689 * vc.el (vc-next-action-on-file): Preserve find-file-literally.
12691 2002-07-22 Dan Nicolaescu <dann@ics.uci.edu>
12693 * simple.el (undo, undo-more): Adjust messages when undoing in a
12696 2002-07-22 John Paul Wallington <jpw@shootybangbang.com>
12698 * net/browse-url.el (browse-url-lynx-input-attempts): Use defcustom.
12699 (browse-url-lynx-input-delay): Add custom type and group.
12701 * cus-start.el (double-click-fuzz): Add.
12703 2002-07-22 Alan Shutko <ats@acm.org>
12705 * calendar/solar.el (diary-sabbath-candles): Add optional MARK
12706 parameter, specifying what face or character to use in the
12707 calendar display. These will now return (MARK . ENTRY).
12709 * calendar/lunar.el (diary-phases-of-moon): Add optional MARK
12710 parameter, specifying what face or character to use in the
12711 calendar display. These will now return (MARK . ENTRY).
12713 * calendar/cal-hebrew.el (diary-omer, diary-yahrzeit)
12714 (diary-rosh-hodesh, diary-parasha, diary-parasha): Add optional
12715 MARK parameter, specifying what face or character to use in the
12716 calendar display. These will now return (MARK . ENTRY).
12718 * calendar/diary-lib.el (mark-sexp-diary-entries): Retrieve mark
12719 from diary-sexp-entry and pass it to mark-visible-calendar-date.
12720 (list-sexp-diary-entries): Update doc string for new docs for ....
12721 If diary-sexp-entry returns a cons, only add the text to the diary
12723 (diary-sexp-entry): Allow sexps to return a cons of the form (MARK
12724 . STRING) to specify what face or character mark should be used in
12725 the calendar display.
12726 (diary-date, diary-block, diary-float, diary-anniversary)
12727 (diary-cyclic): Add optional MARK parameter, specifying what face
12728 or character to use in the calendar display. These will now
12729 return (MARK . ENTRY).
12731 * calendar/diary-lib.el (check-calendar-holidays, diary-iso-date)
12732 (calendar-holiday-list, diary-french-date, diary-mayan-date)
12733 (diary-julian-date, diary-astro-day-number, diary-chinese-date)
12734 (diary-islamic-date, list-islamic-diary-entries)
12735 (mark-islamic-diary-entries, mark-islamic-calendar-date-pattern)
12736 (diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha)
12737 (diary-rosh-hodesh, list-hebrew-diary-entries)
12738 (mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
12739 (diary-coptic-date, diary-persian-date, diary-phases-of-moon)
12740 (diary-sunrise-sunset, diary-sabbath-candles):
12741 Remove interactive flag from autoloads.
12743 2002-07-22 Carsten Dominik <dominik@astro.uva.nl>
12745 * textmodes/reftex-vars.el (reftex-index-verify-function): New option.
12746 (reftex-bibliography-commands): New option.
12747 (reftex-toc-split-windows-horizontally): New option.
12748 (reftex-toc-split-windows-horizontally-fraction): New option.
12749 (reftex-include-file-commands): New option.
12750 (reftex-cite-format-builtin): Add ?n for nocite.
12752 * textmodes/reftex-index.el (reftex-query-index-phrase):
12753 Use `reftex-index-verify-function'.
12755 * textmodes/reftex-toc.el (reftex-re-enlarge):
12756 Handle horizontal splitting.
12757 (reftex-toc): Handle horizontal splitting.
12758 (reftex-last-window-width): New variable.
12760 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
12761 Use `reftex-bibliography-commands'.
12762 (reftex-locate-bibliography-files): Regexp relaxed to allow for
12763 cases where \bibliography is not the first thing on the line.
12765 * textmodes/reftex.el (reftex-compile-variables):
12766 Use `reftex-include-file-commands'.
12767 (reftex-type-query-prompt): Change defconst to defvar.
12768 (reftex-type-query-help, reftex-typekey-to-format-alist)
12769 (reftex-typekey-to-prefix-alist, reftex-env-or-mac-alist)
12770 (reftex-special-env-parsers, reftex-label-mac-list)
12771 (reftex-label-env-list, reftex-typekey-list)
12772 (reftex-words-to-typekey-alist, reftex-key-to-index-macro-alist)
12773 (reftex-query-index-macro-prompt, reftex-query-index-macro-help)
12774 (reftex-no-follow-message, reftex-no-info-message): Likewise.
12775 (reftex-mode): Define systax table for bibtex parsing.
12776 (reftex-syntax-table-for-bib): Syntax table for bibtex parsing.
12778 * textmodes/reftex-cite.el (reftex-format-names): %a as name
12779 format lists all names.
12780 (reftex-parse-bibtex-entry): Use `reftex-syntax-table-for-bib'.
12781 (reftex-with-special-syntax-for-bib): New macro.
12783 2002-07-21 Richard M. Stallman <rms@gnu.org>
12785 * international/ucs-tables.el (ucs-quail-activate):
12786 Cope if buffer-file-coding-system is nil.
12788 * bindings.el (last-buffer): Use buffer-list with frame arg.
12789 Create *scratch* if no other choice exists. Fix bugs.
12791 2002-07-21 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12793 * net/tramp.el: Bump version to 2.0.2.
12794 (tramp-methods): Rename methods invoking "ssh1" or "ssh2" to
12795 longer names. Use old names "sm1", "sm2" and so on for methods
12796 invoking "ssh -1" or "ssh -2".
12797 (tramp-multi-file-name-structure-separate): Typo, its name was set
12798 to "tramp-file-name-structure-separate". Trivial patch.
12799 From Steve Youngs <youngs@xemacs.org>.
12800 (tramp-multi-sh-program): New variable.
12801 (tramp-open-connection-multi): Use it. Now you can use multi
12802 methods from Windows (at least in principle).
12803 (tramp-do-copy-or-rename-via-buffer): New function.
12804 (tramp-do-copy-or-rename-file): Use it. Change and simplify
12805 logic. Omit special case of invoking rcp directly to copy the files.
12806 (tramp-open-connection-su, tramp-multi-connect-telnet)
12807 (tramp-multi-connect-rlogin, tramp-multi-connect-su)
12808 (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
12809 Use backticks in format-spec for brevity and to avoid
12810 character/number confusion in XEmacs.
12812 2002-07-20 Richard M. Stallman <rms@gnu.org>
12814 * wid-edit.el (widget-documentation-string-value-create):
12815 Say "Hide Rest", not just "Hide".
12817 * cus-edit.el (custom-variable-value-create):
12818 Say "Show Value", not just "Show". Also "Hide Value".
12819 Output a newline before the doc string.
12820 (custom-face-value-create): Say "Show Face" and "Hide Face".
12822 * files.el (toggle-read-only): Clean up the hint message.
12824 * emacs-lisp/bytecomp.el: Use warnings.el.
12825 (byte-compile-warning-prefix): New function.
12826 (byte-compile-log-file): Return page start position.
12827 (byte-compile-log-warning): New function.
12828 (byte-compile-warn): Use byte-compile-log-warning.
12829 (byte-compile-report-error): Likewise. Also use error-message-string.
12830 (displaying-byte-compile-warnings): Bind warning-series.
12831 Don't bind or use byte-compile-warnings-point-max.
12832 Don't display the log buffer at the end.
12833 (byte-compile-warnings-point-max): Variable deleted.
12834 (byte-compile-log-1): Rewrite for trace info, not used for warnings.
12835 (byte-compile-last-warned-form, byte-compile-last-logged-file):
12838 * warnings.el: New file.
12840 2002-07-19 Richard M. Stallman <rms@gnu.org>
12842 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Delete `values'
12843 and `values-list' from list of CL functions.
12845 2002-07-19 John Paul Wallington <jpw@shootybangbang.com>
12847 * emacs-lisp/bytecomp.el (compile-defun):
12848 Bind `read-with-symbol-positions' to current buffer.
12850 2002-07-19 Andre Spiegel <spiegel@gnu.org>
12852 * vc-hooks.el (vc-insert-file): When called with a LIMIT regexp,
12853 delete anything that comes after LIMIT from the buffer.
12855 * vc-rcs.el (vc-rcs-fetch-master-state): Be more careful to check
12856 if this is really an RCS master file.
12858 * vc.el: Improve comment of vc-BACKEND-workfile-unchanged-p.
12860 2002-07-19 Juanma Barranquero <lektu@terra.es>
12862 * emacs-lisp/bytecomp.el (dot, dot-max, dot-min, dot-marker)
12863 (buffer-flush-undo, baud-rate, compiled-function-p, define-function)
12864 (unread-command-char, executing-macro, post-command-idle-hook)
12865 (post-command-idle-delay): Move obsolescence declarations to subr.el.
12867 * subr.el (dot, dot-max, dot-min, dot-marker, buffer-flush-undo)
12868 (baud-rate, compiled-function-p, define-function, unread-command-char)
12869 (executing-macro, post-command-idle-hook, post-command-idle-delay):
12870 Move obsolescence declarations from emacs-lisp/bytecomp.el.
12871 (directory-sep-char, mode-line-inverse-video):
12872 Add obsolescence declaration.
12874 2002-07-18 J.D. Smith <jdsmith@as.arizona.edu>
12876 * progmodes/idlwave.el: Updated to IDLWAVE version 4.14. Too many
12877 changes to list them here.
12879 * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.14.
12880 Too many changes to list them here.
12882 * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.14.
12883 Too many changes to list them here.
12885 * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.14 with
12886 only minor documentation changes.
12888 2002-07-18 Dave Love <fx@gnu.org>
12890 * info-look.el: Support current auto{conf,make} manuals.
12892 2002-07-18 Juanma Barranquero <lektu@terra.es>
12894 * bindings.el (last-buffer): Add missing frame argument.
12896 2002-07-18 Richard M. Stallman <rms@gnu.org>
12898 * timer.el (timer-inc-time): Doc fix.
12900 * replace.el (keep-lines, flush-lines): Interactively report
12901 read-only error before reading regexp argument.
12903 * dabbrev.el (dabbrev--search): Use inhibit-point-motion-hooks.
12905 * bindings.el (last-buffer): Handle buffer-list and buffer-predicate
12906 frame parameters like bury-buffer.
12908 * simple.el (choose-completion-delete-max-match):
12909 Handle minibuffer prompts explicitly.
12911 2002-07-18 Juanma Barranquero <lektu@terra.es>
12913 * international/mule-util.el (string-to-sequence, truncate-string):
12914 Add autoload cookie to obsolescence declaration.
12916 * rect.el (move-to-column-force): Likewise.
12918 * composite.el (decompose-composite-char): Likewise; also remove
12921 2002-07-18 Kim F. Storm <storm@cua.dk>
12923 * loadup.el: Load international/utf-8 before international/characters.
12925 2002-07-17 Dave Love <fx@gnu.org>
12927 * international/ucs-tables.el: Optimize tables. Deal with some
12929 (ucs-mule-to-mule-unicode): New.
12930 (ucs-unify-8859): Use utf-8-fragment-on-decoding, set up Quail
12932 (ucs-fragment-8859): Modify consistent with ucs-unify-8859.
12933 (unify-8859-on-encoding-mode): Doc mod. Fix custom version.
12934 (unify-8859-on-decoding-mode): Doc mod. Change code. Fix custom
12935 version. Add custom dependencies.
12936 (ucs-insert): Check for null from decode-char.
12937 (translation-table-for-input, ucs-quail-activate)
12938 (ucs-minibuffer-setup, ccl-encode-unicode-font)
12939 (ucs-tables-unload-hook): New.
12941 * international/mule.el (define-translation-hash-table): New.
12942 (decode-char): Use utf-8-translation-table-for-decode.
12943 (encode-char): Use ucs-mule-to-mule-unicode.
12945 * international/characters.el: Fix settings of U+2000-U+2027.
12948 * international/mule-cmds.el (locale-language-names): Fix be, add
12949 sr_YU@cyrillic, modify tg.
12950 (locale-charset-language-names): Put @euro last.
12952 * language/cyrillic.el (cyrillic-koi8-r-decode-table)
12953 (cyrillic-alternativnyj-decode-table): Fill out with mule-unicode.
12954 (cyrillic-koi8-r-decode-table): Make unbound after use.
12955 (ccl-decode-koi8, ccl-decode-alternativnyj): Change expansion
12956 factor. Use utf-8-translation-table-for-decode.
12957 (ccl-encode-koi8, ccl-encode-koi8): Don't check r0.
12958 (cyrillic-unify-encoding): New function.
12959 (cyrillic-koi8): Modify safe-chars, valid-codes.
12960 Remove charset-origin-alist.
12961 (Cp878, cp866): New alias.
12962 (ccl-encode-8859-5-font): New.
12963 (font-ccl-encoder-alist): Add ccl-encode-8859-5-font.
12964 (ccl-encode-koi8-font, ccl-encode-alternativnyj-font):
12965 Remove redundant parens.
12966 ("Cyrillic-KOI8"): Add cyrillic-iso-8bit to coding-priority.
12967 (cyrillic-koi8-u-decode-table, ccl-decode-koi8-u)
12968 (ccl-encode-koi8-u, koi8-u, ccl-encode-koi8-u-font, "Ukrainian"): New.
12969 (cyrillic-alternativnyj): Modify safe-chars, add mime-charset.
12970 ("Cyrillic-ALT"): Change input method.
12971 ("Windows-1251", "Tajik", "Bulgarian", "Belarusian"): New.
12973 * international/utf-8.el (utf-8-subst-table)
12974 (utf-8-subst-rev-table, utf-8-translation-table-for-decode)
12975 (utf-8-fragment-on-decoding, ccl-untranslated-to-ucs)
12976 (utf-8-ccl-regs, utf-8-translate-cjk): New.
12977 (ccl-encode-mule-utf-8): Use utf-8-subst-rev-table.
12978 (ccl-decode-mule-utf-8, ccl-untranslated-to-ucs)
12979 (utf-8-untranslated-to-ucs, utf-8-compose): Rewritten.
12980 (mule-utf-8): Remove pre-write-conversion.
12981 (utf-8-post-read-conversion): Comment out.
12983 * international/ccl.el (ccl-command-table): Add lookup-integer,
12985 (ccl-extended-code-table): Add lookup-int-const-tbl,
12986 lookup-char-const-tbl.
12987 (ccl-compile-lookup-integer, ccl-compile-lookup-character)
12988 (ccl-dump-lookup-int-const-tbl, ccl-dump-lookup-char-const-tbl):
12990 (define-ccl-program): Doc update.
12992 * international/utf-8-subst.el: Populate utf-8-subst-rev-table.
12993 (utf-8-subst-table): Don't set.
12995 2002-07-17 Kenichi Handa <handa@etl.go.jp>
12997 * international/mule.el (define-coding-system-alias):
12998 Don't append ALIAS in the property `alias-coding-systems' if ALIAS's
12999 eol-type is not auto-detection.
13001 * international/mule-diag.el (print-coding-system-briefly):
13002 Fix the handling of an alias of which eol-type is not auto-detection.
13004 * international/mule-conf.el (us-ascii): Define it as an alias of
13007 2002-07-17 Juanma Barranquero <lektu@terra.es>
13009 * help-fns.el (describe-function-1): Put empty line before "Not
13012 * timer.el (timer-set-time-with-usecs): Mark obsolete.
13014 2002-07-16 Stefan Monnier <monnier@cs.yale.edu>
13016 * toolbar/tool-bar.el (tool-bar-add-item-from-menu):
13017 Make sure to change the global tool-bar-map.
13019 * vc.el (vc-default-comment-history): Hard code *vc*.
13020 This is because print-log always prints there now.
13021 (vc-annotate-font-lock-keywords): New var.
13022 (vc-annotate-mode): Use it. Set truncate-lines as well.
13023 (vc-annotate-display-select): Unify the two error reports.
13024 (vc-annotate-offset): New var.
13025 (vc-annotate-lines): New fun extracted from vc-annotate-display.
13026 (vc-annotate-display): Use it, via font-lock.
13028 * help-fns.el (help-split-fundoc, help-function-arglist)
13029 (help-make-usage): New funs, extracted from describe-function-1.
13030 (describe-function-1): Use them.
13032 * help.el (help-key-description): Show the untranslated keys
13033 when they start with ESC and the ESC was not translated.
13035 * help-mode.el (view): Always require.
13036 (help-xref-mule-regexp): Don't use defconst for variables.
13037 (help-setup-xref): Keep the last 10 elements of the stack.
13038 (help-xref-override-view-map): New var.
13039 (help-make-xrefs): Use it instead of building a new map each time.
13040 (help-function-def): Allow help-fun to take a buffer as arg.
13042 * diff-mode.el (diff-reverse-direction): Simplify.
13043 (diff-after-change-function): Fix typo.
13044 (diff-post-command-hook): Take care of edge cases.
13045 (diff-current-defun): Do `goto-char' after setting the mode.
13047 * mouse-sel.el (mouse-sel-mode): Use define-minor-mode.
13048 Fold mouse-sel-bindings into it.
13049 (mouse-sel-bound-events): Turn it into an alist.
13050 (mouse-insert-selection): Delegate to mouse-yank-at-click if
13051 mouse-sel-default-bindings asks for it.
13053 2002-07-16 Andre Spiegel <spiegel@gnu.org>
13055 * files.el: Bind toggle-read-only to C-x C-q.
13056 (toggle-read-only): Display a warning message if the file is under
13059 * vc-hooks.el: Don't bind vc-toggle-read-only to C-x C-q.
13060 (vc-toggle-read-only): Explain in the doc string that users can bind
13062 (vc-checkout-model): Change doc string to refer to vc-next-action,
13063 not vc-toggle-read-only.
13065 * vc.el (vc-next-action-on-file): Ignore buffer-read-only while
13066 comparing to file on disk. Fix the case when claiming the lock
13067 on a file that has unlocked changes.
13068 (vc-log-mode): Don't mention vc-toggle-read-only in the doc string.
13070 2002-07-16 Richard M. Stallman <rms@gnu.org>
13072 * simple.el (choose-completion-string): Doc fix.
13074 * cus-edit.el: New operation :custom-standard-value.
13075 (Custom-reset-standard): Use it.
13076 (custom-variable, custom-face): Define it.
13077 (custom-variable-standard-value, custom-face-standard-value): New fns.
13078 (custom-face-save): Don't save a face whose value is standard.
13079 (custom-save-faces): Use SYMBOL, not 'default, to set NOW and COMMENT.
13081 * cus-edit.el (custom-face-edit-fix-value):
13082 If VALUE is not a list, pass it thru.
13084 * compare-w.el (compare-windows-whitespace): Always allow newline
13085 even if it does not have whitespace syntax.
13087 2002-07-16 Juanma Barranquero <lektu@terra.es>
13089 * timer.el (timer-set-time, timer-set-time-with-usecs): Fix docstring.
13091 2002-07-15 Juanma Barranquero <lektu@terra.es>
13093 * help-fns.el (describe-variable): Show documentation for aliased
13094 variable if alias does not have its own.
13096 2002-07-15 Mike Williams <mdub@bigfoot.com>
13098 * mouse-sel.el (mouse-sel-bindings): Save/restore interprogram
13099 cut/paste functions.
13101 2002-07-14 Richard M. Stallman <rms@gnu.org>
13103 * files.el (find-alternate-file): Offer to save a modified buffer.
13104 Handle kill-buffer-query-functions better.
13106 * startup.el (normal-splash-screen, fancy-splash-text):
13107 Update name of help menu item for ordering printed manuals.
13109 * emacs-lisp/checkdoc.el: Fix doc typos.
13111 2002-07-14 Stefan Monnier <monnier@cs.yale.edu>
13113 * textmodes/tex-mode.el: Set encoding to utf-8.
13114 (tex-start-options): Make it into always-a-string.
13115 Remove silly custom options that are covered by the other var.
13116 (tex-start-commands): Fix docstring.
13117 (tex-open-quote, tex-close-quote): Add options.
13118 (tex-command): Provide default.
13119 (tex-font-lock-keywords-1): Highlight $$...$$.
13120 (tex-font-lock-keywords-2): Fix latin-1 chars.
13121 (tex-mode-map): Remove redundant \t binding.
13122 (tex-mode): Add `subsection' and `newcommand' to known latex cmds.
13123 (latex-mode): Use add-hook for fill-nobreak-predicate.
13124 (tex-common-initialization): Set indent-tabs-mode to nil.
13125 (tex-insert-quote): Undo magic if invoked twice in a row.
13126 (latex-fill-nobreak-predicate): Don't use narrowing.
13127 (tex-latex-block): Don't cons uselessly.
13128 (tex-last-unended-begin): Signal user-friendlier error.
13129 (tex-goto-last-unclosed-latex-block): Don't catch signal.
13130 (tex-start-tex): Switch order of tex-start-options and
13131 tex-start-commands to make it obey docstrings.
13133 2002-07-14 Mike Williams <mdub@bigfoot.com>
13135 * mouse-sel.el (mouse-sel-bound-events): New constant.
13136 (mouse-sel-bindings): Save/restore original mouse-bindings.
13138 2002-07-13 Stefan Monnier <monnier@cs.yale.edu>
13140 * emacs-lisp/cl.el (cl-set-substring): Fix thinko.
13141 (cl-hack-byte-compiler): Avoid infinite require loop.
13143 * net/ange-ftp.el: Use hash-tables.
13144 (ange-ftp-make-hashtable, ange-ftp-map-hashtable)
13145 (ange-ftp-make-hash-key, ange-ftp-get-hash-entry)
13146 (ange-ftp-put-hash-entry, ange-ftp-del-hash-entry): Remove.
13147 Replace with make-hash-table, maphash, gethash, puthash and remhash.
13148 (ange-ftp-hash-entry-exists-p): Rewrite.
13149 (ange-ftp-vms-delete-file-entry, ange-ftp-vms-add-file-entry):
13150 Change mapatom -> maphash.
13151 (ange-ftp-file-entry-active-p, ange-ftp-file-entry-not-ignored-p):
13152 Update to new calling mode.
13154 * progmodes/ebrowse.el (ebrowse-symbol-regexp): Avoid cl-set-substring.
13155 (ebrowse-hash-table-to-alist): Delete.
13156 (ebrowse-tags-read-name, ebrowse-tags-list-members-in-file)
13157 (ebrowse-tags-complete-symbol): Use the hashtable for completion.
13159 * textmodes/sgml-mode.el (sgml-quote): Use narrowing.
13160 Improve the regexp used when unquoting.
13161 (sgml-pretty-print): New function.
13162 (sgml-get-context): Better handling of improperly nested tags.
13163 (sgml-show-context): Don't use the FULL arg of sgml-get-context.
13165 2002-07-13 Andreas Schwab <schwab@suse.de>
13167 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Check the
13168 inherited table entry.
13170 2002-07-13 Glenn Morris <gmorris@ast.cam.ac.uk>
13172 * calendar/timeclock.el (timeclock-in): Handle the case where no
13173 log file exists (ie the very first call).
13175 2002-07-13 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13177 * net/ange-ftp.el: Do not hook into file-name-handler-alist, this
13180 * net/tramp.el (tramp-multi-file-name-structure-unified):
13181 Add missing slash and move colon from start to end of each hop.
13182 (tramp-multi-file-name-hop-structure-unified): Move colon from
13183 start to end of each hop.
13185 2002-07-13 Kim F. Storm <storm@cua.dk>
13187 * progmodes/compile.el (grep-tree): Fix autoload.
13188 Corrected use of undefined variable `match-files-aliases'.
13190 2002-07-12 Glenn Morris <gmorris@ast.cam.ac.uk>
13192 * calendar/timeclock.el (timeclock-get-workday-function):
13193 `timeclock-workday' is not a valid option, rather a possible
13196 2002-07-12 Richard M. Stallman <rms@gnu.org>
13198 * net/ange-ftp.el (ange-ftp-write-region):
13199 Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg
13200 to ange-ftp-real-write-region.
13202 * replace.el (flush-lines, keep-lines): Convert REND to a marker.
13204 * help-fns.el (help-with-tutorial): Display completion list right away.
13206 * ediff-ptch.el (ediff-test-patch-utility): Catch error and return nil.
13208 * startup.el (command-line): Set memory-signal-data.
13209 (fancy-splash-text, normal-splash-screen):
13210 Mention "Read the Emacs Manual" or C-h r.
13211 Rearrange the initial help to put the help cmds on left
13212 and the actions (exit, undo) on the right. Other small
13213 text clarifications.
13214 (fancy-splash-text, actions page): Add blank line to balance help page.
13216 * help.el (help-map): Add binding for info-emacs-manual.
13217 (print-help-return-message): Doc fix.
13219 * strokes.el (strokes-help): Call print-help-return-message
13220 while inside with-output-to-temp-buffer.
13222 * info.el (info-emacs-manual): New function.
13223 (Info-use-header-line): Doc fix.
13225 * emacs-lisp/cl.el (multiple-value-call): Add alias.
13227 * progmodes/compile.el (compilation-normalize-filename):
13228 New subroutine, taken out of compilation-parse-errors.
13229 (compilation-parse-errors): Use that, and for directories too.
13230 Don't check whether a directory really exists.
13232 2002-07-12 Juanma Barranquero <lektu@terra.es>
13234 * help-fns.el (describe-variable): Remove useless "Documentation:"
13237 * timer.el (timer-set-time-with-usecs): Fix documentation.
13238 Simplify extraction of time data.
13240 2002-07-12 John Paul Wallington <jpw@shootybangbang.com>
13242 * help-fns.el (describe-variable): Mention if the variable is an
13243 alias. Put `defvaralias' info before the documentation.
13245 2002-07-12 Kenichi Handa <handa@etl.go.jp>
13247 * international/mule-cmds.el (locale-language-names): Change "mk"
13248 (Macedonian), "ru" (Russian), and "sp" (Serbian with Cyrillic
13249 alphabet) to "Cyrillic-ISO".
13251 2002-07-11 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13253 * net/tramp.el (tramp-default-method): New default method "sm"
13254 which I guess to be good for most people.
13255 (tramp-default-method-alist): Use "ftp" method (ie, forwarding to
13256 Ange-FTP) for some user/host combinations.
13257 (tramp-file-name-structure, tramp-file-name-regexp)
13258 (tramp-make-tramp-file-format, tramp-make-tramp-file-user-nil-format)
13259 (tramp-multi-file-name-structure, tramp-multi-file-name-hop-structure)
13260 (tramp-make-multi-tramp-file-format): New default value which
13261 unifies the filename syntax between Tramp and Ange-FTP. The new
13262 syntax is "/method:user@host:path". Note the colon after the method.
13263 (tramp-handle-file-name-directory): Don't return "/" when
13264 completing a remote root directory (where the filename looks like
13265 "/method:user@host:/").
13266 (tramp-handle-ange-ftp): Delete.
13267 (tramp-disable-ange-ftp): New function, called at toplevel,
13268 deletes Ange-FTP from file-name-handler-alist.
13269 (tramp-handle-make-symbolic-link): Implement.
13271 2002-07-10 Juanma Barranquero <lektu@terra.es>
13273 * ido.el (ido-enter-single-matching-directory): Delete leftover comment.
13275 * speedbar.el (speedbar-tag-hierarchy-method): Fix typos.
13276 (speedbar-vc-do-check): Likewise.
13277 (speedbar-obj-do-check): Likewise.
13278 (speedbar-mouse-hscroll): Likewise.
13279 (speedbar-file-lists): Likewise.
13281 * emacs-lisp/authors.el (authors-obsolete-file-p): Fix typo.
13283 2002-07-09 Ole Aamot <ole@gnu.org>
13285 * compile.el (compilation-error-regexp-alist):
13286 Recognize Valgrind messages.
13288 2002-07-09 Juanma Barranquero <lektu@terra.es>
13290 * faces.el (face-id): Fix typo.
13292 * hexl.el (hexl-mode): Likewise.
13294 * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
13296 * progmodes/ebnf-yac.el (ebnf-yac-error): Likewise.
13298 * speedbar.el (speedbar-make-specialized-keymap): Fix docstring.
13299 (speedbar-desired-buffer): Likewise.
13300 (speedbar-line-file): Likewise.
13301 (speedbar-special-mode-key-map): Fix typo.
13302 (speedbar-dynamic-tags-function-list): Likewise.
13303 (speedbar-use-images): Likewise.
13304 (speedbar-up-directory): Likewise.
13305 (speedbar-item-info): Likewise.
13306 (speedbar-set-timer): Likewise.
13307 (speedbar-insert-button): Likewise.
13308 (speedbar-make-button): Likewise.
13309 (speedbar-make-tag-line): Likewise.
13310 (speedbar-insert-files-at-point): Likewise.
13311 (speedbar-update-special-contents): Likewise.
13312 (speedbar-find-selected-file): Likewise.
13313 (speedbar-add-indicator): Likewise.
13314 (speedbar-do-function-pointer): Likewise.
13315 (speedbar-goto-this-file): Likewise.
13316 (speedbar-line-path): Likewise.
13317 (speedbar-mouse-event-p): Likewise.
13318 (speedbar-dir-follow): Likewise.
13319 (speedbar-tag-find): Likewise.
13320 (speedbar-fetch-etags-command): Likewise.
13321 (speedbar-fetch-etags-arguments): Likewise.
13322 (speedbar-toggle-etags): Likewise.
13323 (speedbar-extract-one-symbol): Likewise.
13324 (speedbar-parse-c-or-c++tag): Likewise.
13325 (speedbar-unhighlight-one-tag-line): Likewise.
13326 (speedbar-directory-face): Likewise.
13327 (defimage-speedbar): Likewise.
13328 (speedbar-convert-emacs21-imagespec-to-xemacs): Likewise.
13330 2002-07-09 Miles Bader <miles@gnu.org>
13332 * hexl.el (hexl-find-file): Bind `completion-ignored-extensions'
13333 to nil when prompting for a filename.
13335 2002-07-09 Kenichi Handa <handa@etl.go.jp>
13337 * files.el (insert-directory): Be sure to bind
13338 coding-system-for-write to the just decided coding-system-for-read.
13340 2002-07-09 Kim F. Storm <storm@cua.dk>
13342 * ido.el (ido-make-merged-file-list): Move fully matching item to
13344 (ido-find-common-substring): Return substring instead of t.
13346 2002-07-08 Juanma Barranquero <lektu@terra.es>
13348 * info.el (Info-directory-list): Fix docstring.
13350 2002-07-08 Miles Bader <miles@gnu.org>
13352 * comint.el (comint-dynamic-list-completions): Sort COMPLETIONS
13355 2002-07-08 Kim F. Storm <storm@cua.dk>
13357 * files.el (after-find-file): Don't check for read-only status
13358 of files just created (and not yet saved on disk).
13360 * ido.el (ido-completion-help): Change XEmacs specific code to
13361 avoid byte compiler warning in GNU Emacs.
13362 (ido-set-matches1): Use regexp-quote instead of identity.
13363 (ido-complete-space): New function.
13364 (ido-define-mode-map): Bind it to SPACE.
13366 2002-07-07 Stefan Monnier <monnier@cs.yale.edu>
13368 * font-lock.el (font-lock-default-unfontify-region):
13369 Use remove-list-of-text-properties.
13370 (font-lock-extra-managed-props): Doc fix.
13372 * facemenu.el: Move `provide' to the end.
13373 (facemenu-read-color): Don't cons unnecessarily.
13375 * language/ind-util.el (indian-make-hash):
13376 * language/devan-util.el (dev-char-glyph-hash, dev-glyph-glyph-hash)
13377 (dev-glyph-glyph-2-hash): Switch makehash -> make-hash-table.
13379 * subr.el (insert-string): Update the obsolete info.
13380 (makehash): Move from C and mark obsolete.
13382 * emacs-lisp/debug.el (debug-on-entry): Fix the wrapper used for
13383 aliases to also work for interactive functions.
13384 Use the same wrapper for subroutines.
13385 (cancel-debug-on-entry): Get rid of the now-useless wrapper.
13386 (debug-on-entry-1): Correctly skip docstrings and interactive forms.
13388 * textmodes/texinfo.el (texinfo-font-lock-keywords): Disable the
13389 automatic environment name update.
13390 (texinfo-clone-environment): Fix it not to incorrectly match prefixes.
13392 2002-07-07 Richard M. Stallman <rms@gnu.org>
13394 * emacs-lisp/easymenu.el (easy-menu-popup-menu): Function deleted.
13396 * emacs-lisp/advice.el (ad-compile-function):
13397 Disable cl-function warnings if cl is loaded.
13399 * files.el (safe-local-eval-forms): New user option.
13400 (hack-one-local-variable-eval-safep): Support it.
13401 Also allow `safe-local-eval-function' property to be a function
13402 or a list of functions.
13403 (c-add-style): Delete `safe-local-eval-function' property.
13405 * files.el (after-find-file): Make buffer read-only if file is
13406 marked that way, even for root.
13408 * files.el (save-some-buffers): Doc fix.
13410 * bindings.el (completion-ignored-extensions): Add .gmo and .mo.
13412 2002-07-06 Francesco Potortì <pot@gnu.org>
13414 * dos-w32.el (file-name-buffer-file-type-alist): Add knowledge of
13415 .sx[dmicw] file suffixes for Open office data files.
13417 * files.el (auto-mode-alist): Likewise.
13419 * international/mule.el (auto-coding-alist): Likewise.
13421 2002-07-05 Kim F. Storm <storm@cua.dk>
13423 * emulation/cua-rect.el (cua--rectangle-operation): Don't call
13424 FCT if current column is outside rectangle.
13425 (cua--delete-rectangle): Do nothing if zero width or out of bounds.
13427 2002-07-04 Stefan Monnier <monnier@cs.yale.edu>
13429 * net/ange-ftp.el: Use add-hook and find-file-hook.
13430 (ange-ftp-parse-netrc): Use run-hooks and find-file-hook.
13431 (ange-ftp-ls-parser): Make it into a function.
13432 Ignore trailing @ in symlink targets.
13433 (ange-ftp-file-entry-p): Ignore FTP errors.
13434 (ange-ftp-insert-directory): Use ange-ftp-expand-symlink
13435 to correctly expand "/flint:/bla -> ./etc" to /flint:/etc.
13437 2002-07-04 Per Abrahamsen <abraham@dina.kvl.dk>
13439 * simple.el (toggle-truncate-lines): New command.
13441 2002-07-04 Miles Bader <miles@gnu.org>
13443 * comint.el (comint-displayed-dynamic-completions): New variable.
13444 (comint-dynamic-list-completions): Be more careful about choosing
13445 when to scroll an existing completions window.
13447 2002-07-03 Andreas Schwab <schwab@suse.de>
13449 * net/tramp.el (tramp-handle-ange-ftp): Move interactive spec
13452 2002-07-03 Juanma Barranquero <lektu@terra.es>
13454 * net/tramp.el (tramp-send-eof): Fix typo.
13455 (tramp-kill-process): Likewise.
13457 * play/dunnet.el (dun-physobj-desc): Likewise.
13459 * textmodes/reftex-vars.el (reftex-label-alist): Likewise.
13461 * calendar/timeclock.el (timeclock-workday-remaining): Likewise.
13462 (timeclock-workday-elapsed): Likewise.
13464 * allout.el (outline-goto-prefix): Likewise.
13466 * emulation/tpu-edt.el (tpu-delete-to-eol): Likewise.
13467 (tpu-delete-to-bol): Likewise.
13469 * subr.el (chars-in-region): Add obsolescence declaration for
13472 2002-07-03 Miles Bader <miles@gnu.org>
13474 * faces.el (header-line): Don't use a `common' clause for
13475 inheriting from the mode-line face, since we can't override it,
13476 and we don't want it for ttys.
13478 2002-07-02 Richard M. Stallman <rms@gnu.org>
13480 * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop.
13482 * files.el (hack-one-local-variable-constantp): New function.
13483 (hack-one-local-variable-eval-safep): New function.
13484 Check for `eval:' calling fn with `safe-local-eval-function' property.
13485 (hack-one-local-variable): Use hack-one-local-variable-eval-safep.
13486 (c-add-style, c-set-style): Add safe-local-eval-function property.
13488 * files.el (insert-directory): Handle --dired option to ls.
13490 * files.el (file-remote-p): New function.
13492 * emacs-lisp/easymenu.el (easy-menu-popup-menu): New function.
13494 * startup.el (fancy-splash-screens): Switch to a chosen frame.
13495 (fancy-splash-frame): Choose the right frame to use.
13496 (use-fancy-splash-screens-p): Check dimensions of the right frame
13497 in order to decide.
13499 * emacs-lisp/bytecomp.el (byte-compile-warning-types):
13500 Rename cl-func to cl-functions. Enable it by default.
13501 (byte-compile-file-form-eval-boundary): Turn off cl-functions warnings
13502 if the file loads cl.
13503 (byte-compile-initial-macro-environment): For eval-and-compile,
13504 use byte-compile-eval-before-compile to eval.
13505 (byte-compile-eval-before-compile): New function to turn off
13506 cl-functions when appropriate, for eval-and-compile.
13507 (byte-compile-warnings): Doc fix.
13509 2002-07-02 Dave Love <fx@gnu.org>
13511 * emacs-lisp/bytecomp.el (byte-compile-warnings): Add cl-func option.
13512 (byte-compile-cl-warn): New function.
13513 (byte-compile-form): Use it, to warn about calling cl functions.
13514 (byte-compile-warning-types): Doc fix.
13516 2002-07-02 Juanma Barranquero <lektu@terra.es>
13518 * mail/rmailsum.el (rmail-user-mail-address-regexp): Fix typo.
13520 * textmodes/reftex-cite.el (reftex-citation): Fix typo.
13522 * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent):
13525 2002-07-02 Kim F. Storm <storm@cua.dk>
13527 * emacs-lisp/bindat.el: New file.
13529 2002-07-01 Sam Steingold <sds@gnu.org>
13531 * textmodes/tex-mode.el (tex-file): Call `save-some-buffers'
13532 before `tex-main-file' because if the current buffer is new, its
13533 file might not exist yet, and then `tex-main-file' will
13534 incorrectly return "foo.tex.tex".
13536 2002-07-01 Juanma Barranquero <lektu@terra.es>
13538 * ido.el (ido-minibuffer-setup-hook): Doc fix.
13540 2002-07-01 Dave Love <fx@gnu.org>
13542 Make strokes a proper minor mode, and don't try to overload
13543 mouse-2, which doesn't work satisfactorily.
13545 * strokes.el: Doc fixes.
13546 (strokes-mode): Defcustom deleted; replaced by minor mode def with
13547 re-written function.
13548 (strokes-while-inhibiting-garbage-collector): Comment out.
13549 (define-stroke, strokes-fix-button2-command, strokes-insinuated)
13550 (strokes-insinuate, global-set-stroke, describe-stroke)
13551 (load-user-strokes, save-strokes, strokes-bug-address)
13552 (strokes-click-command): Delete.
13553 (strokes-execute-stroke): Remove strokes-click-p case.
13554 (strokes-describe-stroke): Remove strokes-click-p stuff.
13555 (strokes-help): Fix.
13556 (strokes-report-bug): Alias to report-emacs-bug.
13557 (strokes-prompt-user-save-strokes): Modify format of the file.
13558 (strokes-mode-map, strokes-unload-hook): New.
13559 (strokes-buffer-name): Don't customize.
13561 2002-07-01 Richard M. Stallman <rms@gnu.org>
13563 * info.el (Info-index): Get immediate error if used in `dir'.
13565 * textmodes/picture.el (picture-forward-column)
13566 (picture-move-down): Never deactivate the mark.
13568 2002-06-30 Simon Josefsson <jas@extundo.com>
13570 * menu-bar.el (menu-bar-options-menu): Move elisp mode names from
13571 menu entry into balloon help.
13573 2002-06-30 Andreas Schwab <schwab@suse.de>
13575 * files.el (directory-free-space-args): Don't use `-P' on Darwin.
13576 * term/mac-win.el: Don't set it here.
13578 2002-06-29 Stefan Monnier <monnier@cs.yale.edu>
13580 * pcvs-defs.el (cvs-mode-map): Bind ! to `force'.
13582 2002-06-29 Andreas Schwab <schwab@suse.de>
13584 * term/mac-win.el: Use directory-free-space-program instead of
13585 obsolete variable dired-free-space-program. On Darwin, don't set
13586 directory-free-space-program, shell-file-name and
13587 process-connection-type; set directory-free-space-args to not
13588 include `-P' and use utf-8 for file name coding system.
13590 * simple.el (shell-command-on-region): Handle errors and signals
13591 from shell command execution.
13592 (display-message-or-buffer): Fix last change.
13593 (shell-command-default-error-buffer): Doc fix.
13595 * dired.el (dired-view-file): Quote file name for
13596 dired-run-shell-command.
13598 2002-06-29 Kim F. Storm <storm@cua.dk>
13600 * kmacro.el: New file.
13602 2002-06-28 John Wiegley <johnw@gnu.org>
13604 * pcmpl-cvs.el: Added my name as the maintainer of this file.
13606 2002-06-28 Andreas Schwab <schwab@suse.de>
13608 * shell.el (explicit-bash-args): New user option.
13610 2002-06-28 Kim F. Storm <storm@cua.dk>
13612 * ido.el: New file.
13614 2002-06-28 Stefan Monnier <monnier@cs.yale.edu>
13616 * derived.el (define-derived-mode): Preserve the `mode-class' rather
13617 than the `special' symbol property.
13618 (derived-mode-class): Make it obsolete.
13620 2002-06-27 Andreas Schwab <schwab@suse.de>
13622 * net/tramp.el (tramp-handle-ange-ftp): Fix typo.
13624 2002-06-27 Juanma Barranquero <lektu@terra.es>
13626 * emacs-lisp/bytecomp.el (baud-rate): Fix obsolescence declaration.
13627 (meta-flag): Likewise.
13629 * international/mule-util.el (string-to-sequence): Likewise.
13631 * subr.el (char-bytes): Likewise.
13632 (make-local-hook): Likewise.
13633 (baud-rate): Remove redundant info from docstring.
13635 * faces.el (frame-update-faces): Fix obsolescence declaration.
13636 (internal-get-face): Remove redundant info from docstring and
13637 fix obsolescence declaration.
13639 * rect.el (move-to-column-force): Likewise.
13641 * help-fns.el (describe-function-1): Use semicolon instead of dot.
13642 (describe-variable): Likewise.
13644 2002-06-27 Stefan Monnier <monnier@cs.yale.edu>
13646 * mwheel.el (mouse-wheel-change-button): Deactivate before changing.
13647 (mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
13648 (mouse-wheel-up-event, mouse-wheel-down-event): New vars.
13649 (mouse-wheel-follow-mouse): Change default to t.
13650 (mwheel-event-button): Return the basic event symbol.
13651 (mwheel-scroll): Work with non-mouse events.
13652 (mouse-wheel-mode): Use the new vars.
13653 (mwheel-install): Obey `uninstall'.
13655 * term/xterm.el (function-key-map): Add some bindings.
13657 * uniquify.el (uniquify-delay-rationalize-file-buffer-names):
13658 Rename from delay-uniquify-rationalize-file-buffer-names.
13659 Only rationalize if the buffer is under uniquify control.
13660 (uniquify-delayed-rationalize-file-buffer-names):
13661 Rename from delayed-uniquify-rationalize-file-buffer-names.
13663 2002-06-27 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13665 * net/tramp.el (tramp-file-name-structure)
13666 (tramp-multi-file-name-hop-structure): Split for easier readability.
13667 (tramp-handle-make-symbolic-link): Use user/host/method/... from
13668 LINKNAME, not FILENAME.
13669 (tramp-handle-verify-visited-file-modtime):
13670 Call tramp-ange-ftp-file-name-p with right parameters.
13671 (tramp-handle-verify-visited-file-modtime): `insert' does not
13672 work for integers, convert them to strings first.
13673 (tramp-handle-ange-ftp): New function to perform setup for
13674 replacing Ange-FTP with Tramp.
13675 (tramp-repair-jka-compr): New function to factor out some
13676 previously top-level code. Call the function at top-level.
13678 2002-06-27 Juanma Barranquero <lektu@terra.es>
13680 * composite.el (decompose-composite-char): Fix docstring.
13682 * faces.el (describe-face): Capitalize "not documented" message.
13684 * help-fns.el (describe-variable): Likewise.
13685 (describe-function-1): Likewise. Also, document the obsolescence
13686 of the function, if applicable.
13688 2002-06-26 Juanma Barranquero <lektu@terra.es>
13690 * info.el (info-menu-5): Fix documentation.
13691 (Info-fontify-maximum-menu-size): Remove reference to `Info-fontify'.
13693 2002-06-26 Richard M. Stallman <rms@gnu.org>
13695 * emacs-lisp/cl.el (values): Simplify definition.
13697 * simple.el (shell-command): Match & only at end of whole command.
13698 (display-message-or-buffer): Don't use the echo area
13699 if output buffer is visible.
13701 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Doc fixes.
13703 * progmodes/cperl-mode.el: Many trivial doc fixes.
13704 (cperl-non-problems): Definition deleted.
13705 (cperl-menu): Don't refer to cperl-non-problems.
13706 (cperl-word-at-point): Add doc string.
13707 (cperl-beautify-regexp-piece): Fix error message.
13708 (cperl-invert-if-unless): Fix error message.
13710 * dired.el (dired-find-alternate-file): Mark as disabled.
13712 2002-06-25 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13714 * net/tramp.el (tramp-ftp-method): New user option.
13715 (tramp-invoke-ange-ftp): New function to forward calls to Ange-FTP.
13716 (with-parsed-tramp-file-name): New macro for the usual big `let'
13717 statement to dissect a file-name.
13718 (tramp-handle-make-symbolic-link, tramp-handle-load)
13719 (tramp-handle-file-name-directory)
13720 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
13721 (tramp-handle-file-truename, tramp-handle-file-directory-p)
13722 (tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
13723 (tramp-handle-file-writable-p, tramp-handle-file-writable-p):
13724 Use the new macro and forward call to Ange-FTP if applicable.
13725 (tramp-make-ange-ftp-file-name): New helper function to convert a
13726 file name into an Ange-FTP file name, used by `tramp-invoke-ange-ftp'.
13727 (tramp-default-method-alist): New user option.
13728 (tramp-find-default-method): Use it.
13729 (tramp-sh-extra-args): New variable.
13730 (tramp-find-shell): Use it.
13731 (tramp-open-connection-rsh): Support a kludgy feature for the
13732 "-p" option to ssh. If host name is given as "host#42", uses the
13735 2002-06-25 Andreas Schwab <schwab@suse.de>
13737 * replace.el (occur-1): Avoid invalid message format string.
13739 2002-06-24 Stefan Monnier <monnier@cs.yale.edu>
13741 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn):
13742 Check for `noruntime' even if the function has a known sig.
13743 (byte-compile-file, byte-compile-output-docform):
13744 Don't hard code point-min = 1.
13746 * pcvs.el (cvs-parse-process): Don't save/restore point.
13747 Fix last change not to introduce spurious dir FIs.
13748 (cvs-move-to-goal-column): New function extracted from
13749 cvs-mode-previous-line.
13750 (cvs-mode-previous-line, cvs-mode-next-line): Use it.
13751 (cvs-addto-collection): Use it to preserve point.
13752 (cvs-vc-command-advice): Ad-hoc workaround for `cvs -q add'.
13754 * mwheel.el (mouse-wheel-scroll-amount, mwheel-scroll)
13755 (mouse-wheel-mode): Don't require the first element to be modifier-free.
13757 * pcvs-parse.el (cvs-parse-table):
13758 Handle `nothing known about' with more care.
13760 * pcvs.el (cvs-fileinfo-kill): Remove.
13761 (cvs-parse-process): Add `old-fis' argument.
13762 (cvs-mode-run): Use it instead of cvs-fileinfo-kill.
13764 * descr-text.el (describe-property-list): Make sure there's
13765 a space between the property name and its value.
13766 (describe-text-properties): Don't kill a pre-existing buffer.
13768 * mwheel.el: Undo last patch from Stephen Gildea for now.
13770 2002-06-24 Kim F. Storm <storm@cua.dk>
13772 * emulation/keypad.el: Added :require 'keypad to defcustoms.
13774 2002-06-23 Stefan Monnier <monnier@cs.yale.edu>
13776 * subr.el (event-start, event-end, event-click-count):
13777 Accept non-mouse events as well.
13778 (read-key): New function.
13779 (read-quoted-char): Use it. Use this-single-command-raw-keys as well.
13781 * files.el: Rename (and mark as obsolete)
13782 find-file-hooks to find-file-hook,
13783 find-file-not-found-hooks to find-file-not-found-functions,
13784 write-file-hooks to write-file-functions,
13785 write-contents-hooks to write-contents-functions.
13786 Mark local-write-file-hooks as obsolete.
13787 (locate-file-completion): Don't cons uselessly. Use test-completion.
13788 (basic-save-buffer): Use (point-min) rather than 1.
13789 (basic-save-buffer-2): Obey the `setmodes' returned by backup-buffer.
13791 * help-fns.el (describe-variable): Only use `buffer' is still live.
13792 Use `delete-region' instead of save-excursion + delete-char.
13793 Document the obsolescence of the variable, if applicable.
13795 2002-06-23 Glenn Morris <gmorris@ast.cam.ac.uk>
13797 * progmodes/f90.el (f90-do-auto-fill): Respect the value of
13798 comment-auto-fill-only-comments.
13800 2002-06-21 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13802 * net/ange-ftp.el (backup-buffer): Delete `ange-ftp' property.
13803 This is not a handled operation.
13805 2002-06-21 Kim F. Storm <storm@cua.dk>
13807 * emulation/cua-base.el (cua--prefix-arg): Make register prefixes
13808 work again. Corrected error in check for C-u initiated prefix.
13810 * emulation/keypad.el (keypad-setup): Handle kp-begin like kp-space.
13812 2002-06-21 Richard M. Stallman <rms@gnu.org>
13814 * net/browse-url.el (browse-url-at-mouse): Don't pass an arg
13815 to browse-url-at-point.
13817 * play/zone.el (zone-idle): Var deleted.
13819 * international/iso-acc.el (iso-languages) <french>:
13820 `~ ' now generates `~', `~,' definition deleted.
13822 * format.el (format-annotate-function): Copy multibyte flag
13823 and selective-display into the new temp buffer.
13825 * edmacro.el (edmacro-fix-menu-commands):
13826 Discard `help-echo' events. Handle (menu-bar) events.
13827 Simplify by converting key sequence to a list and then back to vector.
13829 2002-06-21 Stephen Gildea <gildea@stop.mail-abuse.org>
13831 * mwheel.el: Allow arbitrary keys for scrolling, add a third
13832 scrolling speed, fix an unwind-protect.
13833 (mouse-wheel-scroll-amount): Now a three-element list.
13834 (mouse-wheel-scroll-down-slow, mouse-wheel-scroll-up-slow)
13835 (mouse-wheel-scroll-down-normal, mouse-wheel-scroll-up-normal)
13836 (mouse-wheel-scroll-down-fast, mouse-wheel-scroll-up-fast):
13839 2002-06-21 Andreas Schwab <schwab@suse.de>
13841 * files.el (find-file-read-args): Add new argument `mustmatch' and
13842 pass it down to read-file-name.
13843 (find-file, find-file-other-window, find-file-other-frame)
13844 (find-file-read-only, find-file-read-only-other-window)
13845 (find-file-read-only-other-frame): Use it and fix prompts.
13847 2002-06-21 Stefan Monnier <monnier@cs.yale.edu>
13849 * pcvs-defs.el (cvs-version): Use cvs-program rather than "cvs".
13851 2002-06-20 Emmanuel Briot <briot@act-europe.fr>
13853 * progmodes/ada-mode.el: Update copyright notice.
13854 Synchronize with GNAT release 3.15a1.
13855 Do not attempt to load ada-support, which is only for compatibility
13856 with older Emacs versions, and is not needed for Emacs 21.
13857 Fix various calls to count-lines, that didn't work correctly when the
13858 buffer was narrowed.
13859 (ada-continuation-indent): New variable.
13860 (ada-contextual-menu): New entry "List local references", faster than
13862 (ada-mode): New alignment rules provided by S. Leake.
13863 Add support for which-function-mode.
13864 (ada-get-current-indent): Fix indentation of named parameter lists and
13865 nested boolean expressions.
13866 (ada-indent-on-previous-lines): Fix indentation of labels.
13867 (ada-search-prev-end-stmt): Fix searching of the previous
13868 end-statement, specially with regards to nested subprograms.
13869 (comment-region advice): Initially disabled, for better compatibility
13871 (ada-fill-comment-paragraph): Fix (no longer worked with Emacs 21).
13873 * progmodes/ada-xref.el: Update copyright notice.
13874 (ada-xref-create-ali): The default is now not to create automatically
13875 the ALI files by compiling the unit, since this isn't always reliable
13876 and requires an up-to-date project file.
13877 (ada-prj-default-comp-cmd): No longer use gcc directly to compile
13878 a file, but use gnatmake instead, since this gives access to the GNAT
13880 (ada-xref-search-with-egrep): New variable, suggested by P. Waroquiers.
13881 (ada-load-project-hook): New variable, for support of GNAT
13883 (ada-update-project-menu): Fix the detection of the project file name.
13884 (ada-add-keymap): Change key binding for ada-find-file, that conflicted
13885 with another binding in ada-mode.el.
13886 (ada-add-menu): New menu "List Local References", to list the reference
13887 to the entity only in the current file, instead of looking in the whole
13888 project. Much faster.
13889 (ada-find-references): New parameters arg and local-only.
13890 (ada-find-any-references): New parameters local-only and append.
13891 (ada-goto-declaration): Fix handling of predefined entities in xref.
13892 (ada-get-all-references): Update to the new xref format in GNAT 3.15,
13893 still compatible with GNAT 3.14 of course. Fix various calls to
13894 count-lines, that didn't work correctly when the buffer was narrowed.
13896 * progmodes/ada-prj.el: Update copyright.
13897 (ada-prj-load-directory): Make sure we do not use one of the new Emacs
13898 21 dialogs to select the file, since we want a directory name only.
13899 (ada-customize): Add support for the new GNAT project files.
13901 2002-06-20 Francesco Potortì <pot@gnu.org>
13903 * progmodes/etags.el (tag-implicit-name-match-p): New function.
13904 (etags-recognize-tags-table): Use it for implicit tag names.
13906 2002-06-20 Miles Bader <miles@gnu.org>
13908 * comint.el (comint-get-old-input-default): Strip text properties
13911 * comint.el (comint-output-filter): Run output-filter functions
13912 before setting up the prompt.
13914 * international/characters.el: Re-enable code giving word syntax
13915 to certain japanese-jisx0208 characters.
13917 2002-06-19 Glenn Morris <gmorris@ast.cam.ac.uk>
13919 * progmodes/f90.el (f90-type-def-re): Fix value.
13920 (f90-looking-at-type-like): Adapt for new `f90-type-def-re' value.
13922 2002-06-18 Stefan Monnier <monnier@cs.yale.edu>
13924 * international/quail.el (quail-help): Don't assume the buffer
13925 is displayed in the same frame.
13927 * emacs-lisp/debug.el (cancel-debug-on-entry):
13928 * emacs-lisp/regexp-opt.el (regexp-opt-group): Don't cons uselessly.
13930 * pcvs.el (cvs-vc-command-advice): Handle the case where args
13931 are passed to `cvs' before the command name.
13932 (cvs-fileinfo-kill): Mark old FIs as up-to-date rather than dead.
13934 * pcvs-info.el (cvs-add-face): Minor rewrite.
13935 (cvs-fileinfo-pp): Use `cvs-goal-column' with directory entries.
13937 * newcomment.el (comment-normalize-vars): Refresh the comment-foo-skip
13938 regexp when they don't match comment-foo any more.
13940 2002-06-18 Juanma Barranquero <lektu@terra.es>
13942 * filesets.el (filesets-update-pre010505): Fix typo.
13944 * eshell/em-pred.el (eshell-modifier-help-string): Fix typos.
13946 * emulation/edt.el (edt-substitute): Fix typo.
13948 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Fix typo.
13950 * comint.el (comint-next-prompt, comint-previous-prompt): Fix typos.
13952 * progmodes/sh-script.el (sh-electric-rparen-needed): Remove.
13954 2002-06-17 Richard M. Stallman <rms@gnu.org>
13956 * facemenu.el (facemenu-map): Rename to Describe Text
13957 to Describe Properties and use describe-text-properties.
13959 * simple.el (what-cursor-position): Use describe-char.
13961 * descr-text.el (describe-char): Move from mule-diag.el, renamed
13962 from describe-char-after. Now calls describe-text-properties.
13963 (describe-property-list): Rename from describe-text-properties.
13964 (describe-text-properties): Rename from describe-text-at.
13965 New arg OUTPUT-BUFFER.
13966 (describe-text-properties-1):
13967 New subroutine, broken out from describe-text-properties.
13968 Output a newline before each section of the output.
13970 * international/mule-diag.el (describe-char-after):
13971 Move to descr-text.el.
13973 2002-06-17 Eli Zaretskii <eliz@is.elta.co.il>
13975 * international/mule.el (ctext-pre-write-conversion): Fix the values
13976 of FROM and TO if we create a new buffer.
13978 2002-06-17 John Paul Wallington <jpw@shootybangbang.com>
13980 * comint.el (comint-insert-clicked-input): Insert clicked-on
13981 previous input without properties.
13983 2002-06-16 Andrew Choi <akochoi@shaw.ca>
13985 * term/mac-win.el (scalable-fonts-allowed): Set to t.
13987 2002-06-15 Colin Walters <walters@debian.org>
13989 * pcvs-info.el (global-font-lock-mode, font-lock-auto-fontify):
13991 (cvs-highlight): Delete.
13992 (cvs-add-face): Use `font-lock-face'. Always add properties.
13994 * ibuffer.el (ibuffer-movement-cycle): New variable.
13995 (ibuffer-backward-line, ibuffer-forward-line): Use it.
13997 2002-06-15 Richard M. Stallman <rms@gnu.org>
13999 * emacs-lisp/bytecomp.el (byte-recompile-directory): Doc fix.
14000 (batch-byte-recompile-directory): Undo previous change.
14002 * comint.el (comint-skip-input): New function.
14003 (comint-interrupt-subjob, comint-kill-subjob, comint-quit-subjob)
14004 (comint-stop-subjob): Use comint-skip-input.
14006 * ielm.el (ielm-eval-input): Use error-message-string.
14007 (ielm-format-error, ielm-format-errors): Functions deleted.
14009 2002-06-14 Kim F. Storm <storm@cua.dk>
14011 * progmodes/compile.el (grep-tree): Doc fixes.
14012 Added SUBDIRS arg for non-interactive use.
14014 2002-06-14 Juanma Barranquero <lektu@terra.es>
14016 * comint.el (comint-snapshot-last-prompt):
14017 Bind `inhibit-read-only' to t to support read-only prompts.
14018 (comint-output-filter): Likewise.
14020 2002-06-14 Miles Bader <miles@gnu.org>
14022 * subr.el (copy-tree): Use `nconc' and `nreverse' instead of `nreconc'.
14023 (pop): Move the call to `car' outside the prog1, as the compiler
14024 then generates better code.
14026 2002-06-13 Richard M. Stallman <rms@gnu.org>
14028 * play/zone.el (zone-timer): New variable holds the idle timer.
14029 (zone): Don't fiddle with the idle timer at all.
14030 (zone-when-idle): Put the idle timer in zone-timer.
14031 If one is already set up, cancel it and make a new one.
14032 (zone-leave-me-alone): Likewise.
14034 2002-06-13 Jason Rumney <jasonr@gnu.org>
14036 * w32-fns.el (w32-charset-info-alist): Reorder.
14038 2002-06-13 Andreas Schwab <schwab@suse.de>
14040 * files.el (auto-mode-alist): Move entry for ".in" to the end.
14042 2002-06-13 Miles Bader <miles@gnu.org>
14044 * comint.el (comint-mode): Don't set `font-lock-defaults'.
14045 (comint-mode-hook): Turn on font-lock by default.
14047 2002-06-12 Karl Fogel <kfogel@red-bean.com>
14049 * bookmark.el (bookmark-file-or-variation-thereof):
14050 Restore vc-backend check, thanks to Robert Thorpe for noticing.
14052 2002-06-12 Eli Zaretskii <eliz@is.elta.co.il>
14054 * textmodes/bibtex.el: Change the maintainer to "none".
14056 2002-06-12 Juanma Barranquero <lektu@terra>
14058 * term/w32-win.el (x-handle-switch): Fix handling of
14059 x-invocation-args for switches with arguments.
14061 2002-06-12 Stefan Monnier <monnier@cs.yale.edu>
14063 * menu-bar.el (menu-bar-showhide-fringe-menu): Don't use `fringe-mode'
14064 without first making sure it's bound.
14066 2002-06-12 Richard M. Stallman <rms@gnu.org>
14068 * info.el (Info-fontify-node): Compute header line specially
14069 if node has no next, previous or up links.
14070 Hide the part of the first line that is used in the header.
14071 Use Info-next-link-keymap, etc.
14072 (Info-next-link-keymap, Info-prev-link-keymap)
14073 (Info-up-link-keymap): New variables.
14075 * international/mule-diag.el (describe-char-after): Doc fix.
14077 * view.el (view-mode-enter): Clarify echo area message.
14079 * info.el (Info-select-node): Turn header line on or off here.
14080 (Info-setup-header-line): Function deleted.
14081 (Info-mode): Make Info-header-line local.
14082 (Info-fontify-node): Ignore Info-use-header-line.
14083 Unconditionally compute what the header line should be, and
14084 store it on the `header-line' property of the node's first char.
14085 Bind [header-line down-mouse-1].
14086 Use `keymap' property, not `local-map'.
14087 Bind [mouse-2] for mouse clicks on the node line in the text.
14089 * font-lock.el (font-lock-beginning-of-syntax-function): Doc fix.
14091 2002-06-12 Miles Bader <miles@gnu.org>
14093 * comint.el (comint-send-input): Properly handle empty and
14094 no-newline input regions.
14096 2002-06-12 Colin Walters <walters@gnu.org>
14098 * calc/calc.el: Use `when', `unless'.
14099 (calc-trail-mode): Use an italic `font-lock-face'.
14100 (calc-refresh): Ditto.
14102 2002-06-12 Colin Walters <walters@debian.org>
14104 * font-core.el (font-lock-core-only): Variable deleted.
14106 (font-lock-set-defaults): Variable alist settings moved back into
14107 font-lock-set-defaults-1.
14108 (turn-on-font-lock-if-enabled): Always turn on font-lock unless it
14109 is specifically excluded by the user.
14111 * font-lock.el (font-lock-set-defaults-1): Set variable alist here.
14113 * help-mode.el (help-mode): Don't set `font-lock-defaults'.
14115 * ibuffer.el (ibuffer-mode): Don't set `font-lock-defaults'.
14117 * info.el (Info-mode): Don't set `font-lock-defaults'.
14119 * replace.el (occur-mode): Don't set `font-lock-defaults'.
14121 * help-mode.el (help-highlight-p, help-highlight-face):
14122 Variable was unused; delete.
14123 (help-make-xrefs): Doc fix.
14125 2002-06-11 Richard M. Stallman <rms@gnu.org>
14127 * format.el (format-alist): Document new element PRESERVE.
14128 (format-write-file): Implement PRESERVE elt for a format.
14130 * files.el (make-auto-save-file-name): Rename local `filename' to
14133 2002-06-10 Richard M. Stallman <rms@gnu.org>
14135 * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Use copy-sequence.
14136 (ebrowse-copy-list): Function deleted.
14138 * eshell/em-unix.el (eshell/diff): Use copy-sequence.
14140 * eshell/esh-mode.el (eshell-mode, eshell-mode): Use copy-sequence.
14142 * eshell/esh-util.el (eshell-copy-list): Function deleted.
14143 (eshell-sublist): Use copy-sequence.
14144 (eshell-copy-tree): Make it an alias for copy-tree.
14146 * emacs-lisp/cl.el (copy-list): Move back from subr.el.
14148 * subr.el (copy-list): Move to cl.el.
14149 (copy-tree): Don't use copy-list or cl-pop.
14151 2002-06-10 Miles Bader <miles@gnu.org>
14153 Make comint use text properties for highlighting instead of overlays:
14154 * comint.el (comint-last-output-overlay): Variable removed.
14155 (comint-send-input, comint-output-filter): Use text properties
14156 instead of overlays.
14157 (comint-insert-clicked-input): Rewrite to work with text
14158 properties as well as overlays.
14159 (comint-snapshot-last-prompt): Snapshot using text properties.
14160 (comint-get-old-input-default, comint-extract-string): Don't copy
14163 * simple.el (line-move-finish): Inhibit field motion when
14164 computing `line-end'.
14166 * files.el (revert-buffer): Correct typo: variable name is
14167 `buffer-file-format', not `buffer-file-formats'.
14169 * comint.el (comint-send-input, comint-output-filter): Use the
14170 `font-lock-face' property instead of `face'. Don't check the
14171 highlight-enabling variables anymore.
14172 (comint-highlight-input, comint-highlight-prompt): Variables removed.
14174 * faces.el (display-supports-face-attributes-p): New function.
14175 (face-spec-set-match-display): Support `supports' predicate.
14176 (italic): Try underlining for displays that don't support real italics.
14177 * cus-edit.el (custom-display): Add support for `supports' predicate.
14178 * term/tty-colors.el (color-name-rgb-alist): Use 16-bit RGB values
14179 instead of 8-bit, for consistency with the rest of Emacs.
14180 (tty-color-canonicalize): Only copy COLOR if we need to change it.
14181 (tty-color-approximate): Scale values from `color-name-rgb-alist'
14182 appropriately. Return the whole color description, rather than
14183 just the RGB values.
14184 (tty-color-standard-values): New function. Code mostly taken from
14185 `tty-color-translate'.
14186 (tty-color-translate, tty-color-values): Use `tty-color-desc' to
14188 (tty-color-desc): Do color lookup here instead of calling
14189 `tty-color-translate' and `tty-color-by-index'; this is now the
14190 main place to do it.
14192 2002-06-09 Martin Stjernholm <mast@lysator.liu.se>
14194 * progmodes/cc-styles.el (c-set-style, c-set-style-1):
14195 Add another state for the `dont-override' flag where it only keeps
14196 globally set variables.
14198 2002-06-08 Colin Walters <walters@gnu.org>
14200 * descr-text.el (describe-text-properties): Sort the output by the
14201 size of the values. Put `font-lock-face' property on property names.
14202 (toplevel): Provide `descr-text'.
14204 * international/mule-diag.el (describe-char-after): When there are
14205 text properties, require `descr-text', and just call
14206 `describe-text-properties'.
14208 * international/mule.el (sgml-html-meta-auto-coding-function):
14210 (auto-coding-from-file-contents): Delete; merge functionality into
14212 (set-auto-coding): Move tests from `auto-coding-functions' so that
14213 they have a lower priority than coding: tags.
14214 Put `auto-coding-regexp-alist' tests before coding: tag tests.
14215 (sgml-xml-auto-coding-function): Simply `intern' the match, and
14216 test if it's a valid coding system.
14217 (auto-coding-functions): Add `sgml-html-meta-auto-coding-function'.
14219 2002-06-08 Colin Walters <walters@verbum.org>
14221 * subr.el (copy-list): Move here from cl.el.
14222 (copy-tree): Rename here from `cl-copy-tree' in cl-extra.el.
14224 * emacs-lisp/cl-extra.el (cl-copy-tree): Move to `copy-tree' in
14225 subr.el. Add a defalias with the old name.
14227 * emacs-lisp/cl.el (copy-list): Move to subr.el.
14229 * replace.el (occur-mode): Don't set up categories. Do set
14230 `font-lock-defaults', and be sure to set `font-lock-core-only'.
14231 (occur-1): Pass `list-matching-lines-face' and
14232 `list-matching-lines-buffer-name-face'.
14233 (occur-engine): Use `font-lock-face' instead of categories.
14235 * info.el (Info-mode): Don't set up categories. Do set
14236 `font-lock-defaults', and be sure to set `font-lock-core-only'.
14237 (Info-fontify-menu-headers): Use `font-lock-face' instead of
14239 (Info-fontify-node): Ditto.
14241 * ibuffer.el (ibuffer-category-alist): Delete.
14242 (ibuffer-get-category): Delete.
14243 (ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
14245 (ibuffer-compile-format): Don't treat `name' category specially.
14246 (ibuffer-column name): Use `font-lock-face'.
14247 (filename-and-process): Ditto.
14248 (ibuffer-buffer-name-category): Rename to
14249 `ibuffer-buffer-name-face'. Don't use categories.
14250 (ibuffer-update-title-and-summary): Use `font-lock-face'.
14251 (ibuffer-insert-filter-group): Ditto.
14252 (ibuffer-mode): Don't set up categories. Do set
14253 `font-lock-defaults', and be sure to set `font-lock-core-only'.
14254 (ibuffer-compile-format): Don't pass third argument
14255 to column functions.
14256 (filename-and-process): Ditto.
14258 * ibuf-macs.el (define-ibuffer-column): Don't create a third
14259 argument for the generated function.
14261 * font-core.el (font-lock-category-alist): Delete.
14262 (turn-on-font-lock-if-enabled): Don't use it.
14263 (font-lock-symbol-category-alist): Delete.
14264 (font-lock-default-function): Use new `char-property-alias-alist'
14265 to make `font-lock-face' an alias for `face' when font-lock mode
14267 (font-lock-core-only): New variable.
14268 (font-lock-set-defaults): Use it.
14270 2002-06-08 Richard M. Stallman <rms@gnu.org>
14272 * files.el (find-file-noselect-1): Undo previous change.
14274 * bookmark.el (bookmark-file-or-variation-thereof): Doc fix.
14276 2002-06-07 Karl Fogel <kfogel@red-bean.com>
14278 * bookmark.el (bookmark-file-or-variation-thereof): Just use
14279 Info-suffix-list, as suggested by Stefan Monnier.
14281 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il>
14283 * select.el (xselect-convert-to-string): If VALUE is a string,
14284 return a cons of TYPE and the string.
14286 2002-06-05 Pavel JanÃk <Pavel@Janik.cz>
14288 * language/cyrillic.el (cyrillic-alternativnyj-decode-table):
14289 Fix the table to contain correct characters.
14291 2002-06-04 Richard M. Stallman <rms@gnu.org>
14293 * simple.el: Don't require cl.
14295 2002-06-03 Richard M. Stallman <rms@gnu.org>
14297 * dired.el (dired-do-shell-command): Doc fix in autoload.
14299 * info.el (Info-extract-pointer): Ignore Info-header-line.
14301 * progmodes/cc-mode.el (c-postprocess-file-styles):
14302 Do nothing except in CC modes.
14304 * international/mule-cmds.el (select-safe-coding-system):
14305 When computing auto-cs, narrow to FROM...TO.
14306 Put save-excursion outside save-restriction.
14307 New arg FILE; use that for set-auto-coding.
14309 2002-06-01 Richard M. Stallman <rms@gnu.org>
14311 * simple.el (choose-completion-string-functions): Doc fix.
14312 (choose-completion-string): Add doc string.
14314 2002-06-01 Kim F. Storm <storm@cua.dk>
14316 * simple.el: Reworked previous change.
14317 (choose-completion-string1): Merge back into choose-completion-string.
14318 (choose-completion-string): Run choose-completion-string-functions
14319 after checking for proper minibuffer window. Added mini-p arg to
14320 the hook functions. Insert choice if all hook functions return nil.
14321 (choose-completion-string-functions): Doc update.
14323 2002-06-01 Sam Steingold <sds@gnu.org>
14325 * files.el (auto-mode-alist): Strip trailing ".in" from the file
14326 name when deciding the mode (for config.h.in, Makefile.in etc).
14328 2002-06-01 Thien-Thi Nguyen <ttn@gnu.org>
14330 * progmodes/prolog.el (prolog-mode-syntax-table): Add flags to
14331 ?/ and ?* entries to support /* */ style comments.
14332 (prolog-font-lock-keywords): New var.
14333 (prolog-mode): Enable font-locking; set `font-lock-defaults'.
14335 2002-06-01 Kim F. Storm <storm@cua.dk>
14337 * simple.el (choose-completion-string-functions): New special hook.
14338 (choose-completion-string1): Rename from choose-completion-string.
14339 (choose-completion-string): Run choose-completion-string-functions
14340 until success, and only call choose-completion-string1 if it fails.
14342 2002-05-31 Stefan Monnier <monnier@cs.yale.edu>
14344 * textmodes/ispell.el (autoloaded toplevel): Don't use
14345 ispell-library-directory without checking that it's bound.
14347 2002-05-31 Kim F. Storm <storm@cua.dk>
14349 * emulation/cua-base.el (cua--last-deleted-region-pos)
14350 (cua--last-deleted-region-text): New aux variables.
14351 (cua-delete-region): Set them.
14352 (cua-repeat-replace-region): Use them to find the replacement text.
14354 2002-05-31 Juanma Barranquero <lektu@terra.es>
14356 * emulation/viper-cmd.el (viper-smart-suffix-list, viper-ask-level):
14359 2002-05-31 Kim F. Storm <storm@cua.dk>
14361 * progmodes/compile.el (grep-tree-command, grep-tree-files-aliases)
14362 (grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
14363 New custom variables.
14364 (grep-compute-defaults): Compute grep-tree-command's default value.
14365 (grep-expand-command-macros): New aux function.
14366 (grep-tree-last-regexp, grep-tree-last-files): New aux variables.
14367 (grep-tree): New command like grep-find but extended prompting.
14369 2002-05-30 Richard M. Stallman <rms@gnu.org>
14371 * files.el (find-file-default): Add defvar for var already used.
14373 * menu-bar.el (menu-bar-showhide-fringe-menu): Use defvar.
14375 * subr.el (open-network-stream, open-network-stream-nowait)
14376 (open-network-stream-server, process-kill-without-query):
14377 Move from simple.el.
14379 * simple.el (open-network-stream, open-network-stream-nowait)
14380 (open-network-stream-server, process-kill-without-query):
14383 * simple.el (byte-compiling-files-p): Function deleted.
14385 * textmodes/ispell.el (ispell-library-directory): Rename from
14386 ispell-library-path. If Ispell is not installed, init to nil.
14387 (check-ispell-version): Doc fix.
14388 (ispell-menu-map): Get rid of byte-compiling-files-p hackery;
14389 initialize this unconditionally when ispell-menu-map-needed is t.
14390 Local `path' renamed to `dir'.
14392 2002-05-30 Miles Bader <miles@gnu.org>
14394 * calc/calc.el (calc-show-banner): New variable.
14395 (calc-refresh): Only show banner if `calc-show-banner' is non-nil.
14396 (calc-mode-var-list): Add `calc-show-banner'.
14397 * calc/calc-ext.el (calc-init-extensions): Add binding for `d@'.
14398 (calc-toggle-banner): New function.
14399 * calc/calc-help.el (calc-d-prefix-help): Add `@'.
14401 2002-05-29 Richard M. Stallman <rms@gnu.org>
14403 * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
14404 When recognizing a def... construct, make that indentation
14405 tentative, so that it can be overridden if the list in question
14406 is not actually an expression.
14407 (common-lisp-indent-call-method): New subroutine.
14409 * emacs-lisp/bytecomp.el (batch-byte-compile-file):
14410 Delete the output file if we get a file-error.
14412 * tooltip.el (tooltip-mouse-motions-active): New variable.
14413 (tooltip-activate-mouse-motions): Don't kill track-mouse local
14414 if it was not made by us.
14416 * mouse.el (mouse-set-font): Avoid misleading error message
14417 if user makes no selection.
14419 * info.el (Info-setup-header-line): Don't hide the links line.
14421 * files.el (find-file-noselect-1): Return the buffer we created
14422 even if it has been killed within `after-find-file'.
14424 * files.el (auto-mode-alist): Use ada-mode for .ad[bs].dg files.
14426 2002-05-29 Kim F. Storm <storm@cua.dk>
14428 * simple.el (open-network-stream-server): Pass on optional args
14429 sentinel and filter to make-network-process (from Luke Gorrie).
14431 2002-05-28 Colin Walters <walters@gnu.org>
14433 * textmodes/sgml-mode.el (xml-mode): New alias for `sgml-mode'.
14435 * emacs-lisp/bytecomp.el (byte-compile-last-line): Delete.
14436 (byte-compile-delete-first): New function.
14437 (byte-compile-read-position): New variable.
14438 (byte-compile-last-position): New variable.
14439 (byte-compile-current-buffer): New variable.
14440 (byte-compile-log-1): Use it.
14441 (byte-compile-set-symbol-position): New function.
14442 (byte-compile-obsolete, byte-compile-callargs-warn)
14443 (byte-compile-arglist-warn, byte-compile-arglist-warn)
14444 (byte-compile-print-syms, byte-compile-file-form-defmumble)
14445 (byte-compile-check-lambda-list, byte-compile-lambda)
14446 (byte-compile-form, byte-compile-variable-ref)
14447 (byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
14448 (byte-compile-condition-case, byte-compile-defun)
14449 (byte-compile-defvar, byte-compile-autoload)
14450 (byte-compile-lambda-form): Use it.
14451 (byte-compile-from-buffer): Set it, and bind
14452 `read-with-symbol-positions' and `read-symbol-positions-list'.
14454 * emacs-lisp/bytecomp.el (byte-compile-debug): New variable.
14456 2002-05-28 Kim F. Storm <storm@cua.dk>
14458 * files.el (read-directory-name): New function.
14459 (cd): Use it instead of read-file-name.
14461 2002-05-27 Kim F. Storm <storm@cua.dk>
14463 * simple.el (push-mark-command): Add optional NOMSG arg.
14465 * emulation/cua-base.el (cua-set-mark): Align pop to mark
14466 behavior with standard set-mark-command.
14467 (cua--pre-command-handler): Use push-mark-command.
14468 (cua-repeat-replace-region): Improve functionality when
14469 repeated after moving point or changing buffer.
14471 2002-05-26 Colin Walters <walters@verbum.org>
14473 * startup.el (command-line): Use `when', `unless'.
14474 (command-line-1): New argument "--nosplash". Handle it.
14476 * startup.el (inhibit-splash-screen): New variable alias for
14477 `inhibit-startup-message'.
14479 * replace.el (perform-replace): Document return value. Use `pop'.
14481 2002-05-26 Glenn Morris <gmorris@ast.cam.ac.uk>
14483 * progmodes/f90.el (f90-previous-block, f90-next-block): New names,
14484 and slightly changed behavior, for `f90-previous-block-start' and
14485 `f90-next-block-end'.
14486 (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
14488 2002-05-26 Simon Josefsson <jas@extundo.com>
14490 * fringe.el (set-fringe-mode): Work when updating
14491 `default-frame-alist'.
14493 2002-05-26 Kim F. Storm <storm@cua.dk>
14495 * emulation/cua-base.el (cua--repeat-replace-text): New variable.
14496 (cua-repeat-replace-region): New command.
14497 (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
14498 Misc improvements to the commentary.
14500 2002-05-26 Simon Josefsson <jas@extundo.com>
14502 * fringe.el (fringe-query-style): New fringe style "minimal".
14504 2002-05-24 Simon Josefsson <jas@extundo.com>
14506 * rot13.el (rot13-translate-table): New variable.
14507 (rot13, rot13-string, rot13-region): New functions.
14509 2002-05-25 Martin Stjernholm <mast@lysator.liu.se>
14511 * progmodes/cc-engine.el (c-add-stmt-syntax): Fix some cases
14512 of wrong anchoring, e.g. for else-if compounds.
14514 2002-05-25 Miles Bader <miles@gnu.org>
14516 * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
14517 (menu-bar-showhide-fringe-menu-customize-right)
14518 (menu-bar-showhide-fringe-menu-customize-disable):
14519 Use proper calling convention for `customize-set-value'.
14520 Require `fringe' before setting variable.
14522 2002-05-25 Kim F. Storm <storm@cua.dk>
14524 * emulation/cua-base.el (cua--self-insert-char-p): New function.
14526 * emulation/cua-gmrk.el (cua--init-global-mark): Install default
14527 binding in cua--global-mark-keymap using cua--self-insert-char-p
14528 to handle all global self inserting characters in gmark mode.
14530 * emulation/cua-rect.el (cua--init-rectangles): Install default
14531 binding in cua--rectangle-keymap using cua--self-insert-char-p
14532 to handle all global self inserting characters in rectangle mode.
14534 2002-05-24 Stefan Monnier <monnier@cs.yale.edu>
14536 * net/ange-ftp.el (read-file-name-internal): Remove the
14537 `ange-ftp' property.
14538 (ange-ftp-real-read-file-name-internal): Remove.
14540 2002-05-24 Glenn Morris <gmorris@ast.cam.ac.uk>
14542 * progmodes/f90.el (f90-end-of-subprogram): Remove the final
14544 (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
14545 (f90-previous-block-start): New navigation commands.
14547 2002-05-20 Simon Josefsson <jas@extundo.com>
14549 * fringe.el: New file.
14551 * menu-bar.el (menu-bar-options-save): Add fringe-mode.
14552 (menu-bar-showhide-fringe-menu): New menu.
14553 (menu-bar-showhide-menu): Add Fringe sub-menu.
14555 2002-05-23 Colin Walters <walters@verbum.org>
14557 * replace.el (occur-engine): Include all text properties except
14558 mouse-face on the newline at the end of occurrences.
14560 2002-05-23 Kim F. Storm <storm@cua.dk>
14562 * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
14563 (apropos-false-hit-str, apropos-true-hit-doc): New functions.
14564 (apropos-command, apropos-value, apropos-documentation-internal)
14565 (apropos-documentation-check-doc-file)
14566 (apropos-documentation-check-elc-file): Use them to filter out
14567 false matches where only one keyword matches, but more than once.
14569 * apropos.el (apropos-show-scores, apropos-orig-regexp)
14570 (apropos-all-regexp, apropos-synonyms, apropos-words)
14571 (apropos-all-words): New variables.
14572 (apropos-words-to-regexp, apropos-rewrite-regexp)
14573 (apropos-calc-scores, apropos-score-str, apropos-score-doc)
14574 (apropos-score-symbol): New functions.
14575 (apropos-command, apropos, apropos-value, apropos-documentation):
14576 Allow keywords in addition to regexp. Added scoring.
14577 (apropos-documentation-check-doc-file)
14578 (apropos-documentation-check-elc-file): Add scoring.
14579 (apropos-print): Sort according to score.
14581 2002-05-22 Colin Walters <walters@cis.ohio-state.edu>
14583 * info.el (Info-mode-hook): Change `font-lock-mode' to
14584 `turn-on-font-lock'.
14586 * font-core.el (font-lock-function): New variable.
14587 (font-lock-default-function): New function, created from
14589 (font-lock-mode): Just funcall `font-lock-function'.
14590 (font-lock-symbol-category-alist): New variable.
14592 2002-05-22 Markus Rost <rost@math.ohio-state.edu>
14594 * files.el (file-newest-backup): Use file-name-sans-versions.
14596 * diff.el (diff-latest-backup-file): Replace the main code by
14597 a call of file-newest-backup.
14599 2002-05-22 Mike Williams <mdub@bigfoot.com>
14601 * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
14604 2002-05-21 Stefan Monnier <monnier@cs.yale.edu>
14606 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
14607 the last patch works around the wu-ftpd misfeature that prompted
14608 the disabling of this optimization.
14610 2002-05-21 Colin Walters <walters@gnu.org>
14612 * international/mule.el (make-coding-system): Doc fixes.
14614 * international/mule.el (auto-coding-functions): New variable.
14615 (auto-coding-from-file-contents): Use it.
14616 (set-auto-coding): Update docs.
14617 (sgml-xml-auto-coding-function): New function.
14619 * international/mule-util.el (truncate-string-to-width):
14620 New optional argument `ellipsis'. Add commented-out test suite, and
14621 change coding to iso-2022-7bit.
14623 2002-05-21 Colin Walters <walters@verbum.org>
14625 * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
14626 (font-lock-multiline, font-lock-fontified, font-lock-mode)
14627 (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
14628 (font-lock-global-modes): Move to font-core.el.
14629 (font-lock-set-defaults-1): Partially moved to font-core.el.
14631 * font-core.el: New file, with functions taken from font-lock.el.
14632 (font-lock-category-alist): New variable.
14633 (font-lock-mode): Use it.
14634 (font-lock-set-defaults): Partially taken from font-lock.el.
14635 Only load font-lock.el when necessary.
14637 * loadup.el: Add font-core.el.
14639 * replace.el (occur-mode-hook): New variable.
14640 (occur-fontify-region-function): Delete.
14641 (occur-mode): Don't use it. Set up `font-lock-category-alist'
14643 (occur-fontify-on-property): Delete.
14644 (occur-engine): Use categories from `font-lock-category-alist'.
14646 * info.el (Info-fontify): Delete.
14647 (Info-select-node): Don't use it.
14648 (Info-mode-hook): New variable.
14649 (Info-mode): Set up categories.
14650 (Info-fontify-menu-headers, Info-fontify-node): Use categories.
14652 * ibuffer.el (ibuffer-formats): Update docs.
14653 (ibuffer-category-alist): New variable.
14654 (ibuffer-get-category): New function.
14655 (ibuffer-compile-make-eliding-form): Use category property instead
14657 (ibuffer-compile-format): Pass current ibuffer buffer to column
14659 (ibuffer-buffer-name-category): New function.
14660 (ibuffer-compile-format): If the current column is a `name'
14661 column, figure out the appropriate category to put on it.
14662 (filename-and-process): Use category property.
14663 (ibuffer-fontify-region-function): Delete.
14664 (ibuffer-unfontify-region-function): Delete.
14665 (ibuffer-update-title-and-summary): Use category properties.
14666 (ibuffer-insert-filter-group): Ditto.
14667 (ibuffer-mode): Set up category properties.
14669 2002-05-21 Colin Walters <walters@debian.org>
14671 * replace.el (occur-engine): Increment globalcount all at once
14672 after searching a buffer.
14673 (occur-mode-map): Don't escape plain "o".
14675 * ibuf-macs.el (define-ibuffer-column): Add third argument
14678 * ibuffer.el (toplevel): Require font-lock, to get the face
14680 (ibuffer-use-fontification): Delete.
14681 (column filename-and-process): New column.
14682 (ibuffer-formats): Use it by default.
14683 (ibuffer-name-map, ibuffer-mode-name-map)
14684 (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
14685 (ibuffer-do-save, ibuffer-do-toggle-modified)
14686 (ibuffer-do-toggle-read-only, ibuffer-do-delete)
14687 (ibuffer-do-kill-on-deletion-marks): Include name in definition.
14688 (ibuffer): New optional argument `formats'.
14690 2002-05-21 Eli Zaretskii <eliz@is.elta.co.il>
14692 * indent.el (indent-rigidly): Mention how to remove all indentation.
14694 2002-05-21 Colin Walters <walters@gnu.org>
14696 * international/mule-diag.el (describe-char-after): Order display
14697 of text properties by the size of their value, for clarity.
14699 2002-05-20 Stefan Monnier <monnier@cs.yale.edu>
14701 * net/ange-ftp.el (ange-ftp-generate-root-prefixes)
14702 (ange-ftp-file-name-completion): Don't cons unnecessarily.
14703 (ange-ftp-send-cmd): Always `cd' before doing `ls'.
14705 * wid-edit.el (widget-color-complete):
14706 * progmodes/etags.el (tags-complete-tags-table-file):
14707 * progmodes/cpp.el (cpp-choose-symbol): Don't cons unnecessarily.
14709 * textmodes/outline.el (outline-reveal-toggle-invisible):
14710 Reverse the meaning of the second arg.
14712 * reveal.el (reveal-post-command): Reverse the semantics of
14713 reveal-toggle-invisible and support isearch-open-invisible-temporary.
14715 2002-05-20 Markus Rost <rost@math.ohio-state.edu>
14717 * mail/sendmail.el (mail-recover-1): Remove (debug).
14718 (mail-signature): Fix :type.
14719 (mail-default-directory): New user option.
14720 (mail, mail-recover): Use that option.
14722 2002-05-20 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14724 * international/mule.el (auto-coding-alist): Use emacs-mule
14725 for auto-save files.
14727 2002-05-20 Miles Bader <miles@gnu.org>
14729 * files.el (find-file-read-args): Don't trash existing value of
14730 `minibuffer-setup-hook', just add our hook to it.
14732 2002-05-19 Markus Rost <rost@math.ohio-state.edu>
14734 * international/ucs-tables.el (unify-8859-on-encoding-mode)
14735 (unify-8859-on-decoding-mode): Change :version attributes to strings.
14737 * simple.el (yank-excluded-properties): Change :version attribute
14740 * dired.el (dired-view-command-alist): Change :version attribute
14743 * xscheme.el (xscheme-start-hook): Change :version attribute to a
14746 * find-dired.el (find-dired): Implement revert-buffer-function.
14748 * mail/emacsbug.el (report-emacs-bug-hook): Do another save-excursion.
14750 2002-05-19 Glenn Morris <gmorris@ast.cam.ac.uk>
14752 * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
14753 (f90-get-present-comment-type): Fix earlier change.
14754 (f90-comment-indent): Doc fix.
14755 (f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
14756 (f90-looking-at-if-then): Remove lets.
14757 (f90-looking-at-where-or-forall): Handle if split over lines.
14758 (f90-change-keywords): Doc fix.
14760 2002-05-19 Richard M. Stallman <rms@gnu.org>
14762 * indent.el (indent-region): Make COLUMN arg optional.
14764 * files.el (find-file-read-args): New function.
14765 (find-file, find-file-other-window, find-file-other-frame)
14766 (find-file-read-only, find-file-read-only-other-window)
14767 (find-file-read-only-other-frame): Use it.
14769 * custom.el (custom-load-symbol): Verify that LOADED is a string.
14771 * arc-mode.el (archive-zip-use-pkzip): Variable deleted.
14772 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
14773 (archive-zip-update-case): Use locate-file to decide whether
14775 (archive-zip-extract): Test for pkzip in value of archive-zip-extract.
14777 * files.el (locate-file): Doc fix.
14779 2002-05-19 John Paul Wallington <jpw@shootybangbang.com>
14781 * mail/rmail.el (rmail-show-message-hook): Offer `goto-address'
14784 2002-05-18 Stefan Monnier <monnier@cs.yale.edu>
14786 * uniquify.el (uniquify-rationalize-file-buffer-names):
14787 Always strip the trailing / even if the file is not a directory.
14789 2002-05-18 Glenn Morris <gmorris@ast.cam.ac.uk>
14791 * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
14792 initialization in the defvar.
14793 (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
14794 (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
14795 (f90-font-lock-4): Move the doc strings.
14796 (f90-menu-bar-menu): New internal variable to hold the top-level menu.
14797 (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
14798 (f90-mode-abbrev-table): Initialize in the defvar, with
14799 define-abbrev-table.
14801 2002-05-18 Eli Zaretskii <eliz@is.elta.co.il>
14803 * tar-mode.el (tar-octal-time): Fix last change.
14805 2002-05-18 Markus Rost <rost@math.ohio-state.edu>
14807 * mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
14808 (report-emacs-bug): Store the prompt in
14809 `report-emacs-bug-text-prompt'. Move Configuration/Important
14810 settings information after the user's report.
14811 (report-emacs-bug-hook): Unclutter by deleting the content of
14812 `report-emacs-bug-text-prompt'.
14814 2002-05-17 Thomas Morgan <tlm@pocketmail.com>
14816 * forms.el (forms-jump-record, forms-insert-record)
14817 (forms-delete-record): Calculate lines from the beginning of the
14818 accessible portion rather than from the beginning of the buffer.
14820 2002-05-16 Eli Zaretskii <eliz@is.elta.co.il>
14822 * ps-mule.el (eval-and-compile): Add a trivial replacement for a
14823 possibly missing encode-char.
14824 (ps-mule-font-info-database-bdf): Add associations for Unicode
14826 (ps-mule-font-info-database-ps-bdf): Doc fix.
14827 (ps-mule-encode-ucs2): New function for encoding Unicode characters.
14829 * tar-mode.el (tar-octal-time): Fix the last argument of logior.
14831 2002-05-16 Stefan Monnier <monnier@cs.yale.edu>
14833 * emacs-lisp/find-func.el (find-function-search-for-symbol):
14834 Find funs defined with defun-cvs-mode.
14835 (find-function-space-re): New const. Skips comments as well.
14836 (find-function-regexp, find-variable-regexp): Use it.
14838 * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
14839 (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
14840 (cvs-mode-set-flags): Don't cons unnecessarily.
14842 2002-05-16 Colin Walters <walters@debian.org>
14844 * menu-bar.el (menu-bar-tools-menu) <calculator>: Rename to
14845 "Simple Calculator".
14846 (menu-bar-tools-menu) <calc>: New.
14848 2002-05-16 Juanma Barranquero <lektu@terra.es>
14850 * progmodes/hideshow.el (hs-adjust-block-beginning): Fix typo.
14852 * filesets.el (filesets-ormap): Fix typo.
14854 * faces.el (describe-face): Fix typo.
14856 2002-05-15 Stefan Monnier <monnier@cs.yale.edu>
14858 * emacs-lisp/easymenu.el (easy-menu-make-symbol):
14859 Don't treat (lambda () ...) as an expression.
14861 2002-05-15 John Paul Wallington <jpw@shootybangbang.com>
14863 * replace.el (occur-read-primary-args): Handle a bare 'C-u' correctly.
14865 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il>
14867 * emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
14869 2002-05-14 Glenn Morris <gmorris@ast.cam.ac.uk>
14871 * progmodes/fortran.el (fortran-directive-re): New name for
14872 fortran-preprocessor-re. All usage updated.
14873 (fortran-calculate-indent): Give directives zero indentation.
14875 2002-05-14 Jason Rumney <jasonr@gnu.org>
14877 * emacs-lisp/easymenu.el (easy-menu-name-match): Match both
14878 displayed text and internal name as string.
14880 2002-05-14 Kim F. Storm <storm@cua.dk>
14882 * emulation/cua-rect.el (cua--rectangle-operation):
14883 Don't highlight empty lines in rectangles.
14885 * emulation/keypad.el: Improved commentary.
14886 (keypad-setup, keypad-shifted-setup): Add choice to setup
14887 Numeric keypad with decimal key; value is selected character.
14888 (keypad-decimal-key, keypad-shifted-decimal-key): Remove options.
14889 (keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
14890 (keypad-setup): Arg list changed to support the new options.
14892 2002-05-14 Richard M. Stallman <rms@gnu.org>
14894 * dabbrev.el (dabbrev-case-distinction): New option.
14895 (dabbrev--try-find): Handle dabbrev-case-distinction.
14896 (dabbrev--search): Clean up the code.
14897 (dabbrev-upcase-means-case-search): Doc fix.
14898 (dabbrev-case-replace): Fix custom tags and docs.
14900 2002-05-14 Jochen Küpper <jochen@jochen-kuepper.de>
14902 * calc/calc-units.el (math-standard-units): Update from CODATA.
14904 2002-05-14 Stefan Monnier <monnier@cs.yale.edu>
14906 * skeleton.el (skeleton-transformation): Default to `identity'.
14907 (skeleton-insert): Use `move-after' markers and `insert' rather
14908 than rely on insert-before-markers.
14909 (skeleton-internal-1): Handle `> \n' specially so that the newline
14910 is inserted before the first line is indented.
14912 2002-05-14 Mike Williams <mdub@bigfoot.com>
14914 * textmodes/sgml-mode.el (sgml-tag):
14915 Default skeleton-transformation to `identity'.
14917 2002-05-14 Francesco Potortì <pot@gnu.org>
14919 * shell.el (shell-mode): Make second part of initialization
14920 depend on whether comint-input-ring is empty, rather than depend
14923 2002-05-14 Richard M. Stallman <rms@gnu.org>
14925 * files.el (make-auto-save-file-name):
14926 Delete the auto-save file after make-temp-file creates it.
14928 2002-05-13 Kim F. Storm <storm@cua.dk>
14930 * emulation/cua-base.el (cua-enable-cursor-indications): Default off.
14931 (cua-mode): Print Enabled/Disabled messages if interactive.
14932 Disable delete-selection-mode and pc-selection-mode when cua-mode
14933 is enabled; reenable if cua-mode is turned off.
14934 Remember setting of transient-mark-mode when cua-mode is enabled;
14935 restore if cua-mode is disabled.
14937 2002-05-13 Richard M. Stallman <rms@gnu.org>
14939 * mail/emacsbug.el (report-emacs-bug): Change the "English please" msg.
14941 2002-05-13 Colin Walters <walters@gnu.org>
14943 * ibuf-ext.el (ibuffer-format-filter-group-data): New function.
14945 * ibuffer.el (ibuffer-insert-filter-group): New argument filter-string.
14946 (ibuffer-redisplay-engine): Handle it.
14948 * add-log.el (add-log-mailing-address): Can be a list, too.
14949 (add-change-log-entry): If `add-log-mailing-address' is a list,
14952 2002-05-12 Colin Walters <walters@debian.org>
14954 * replace.el (occur-1): New optional argument `buf-name'.
14955 (occur-revert-function): Use it.
14957 (occur-1): Handle plurals.
14959 (occur-engine): If there are no more matches, then finish
14960 searching the current buffer.
14962 2002-05-12 Pavel JanÃk <Pavel@Janik.cz>
14964 * net/ange-ftp.el (ange-ftp-try-passive-mode)
14965 (ange-ftp-passive-host-alist): Change :version attributes to be
14968 2002-05-12 Markus Rost <rost@math.ohio-state.edu>
14970 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Define it with
14973 * emacs-lisp/find-func.el (find-function-search-for-symbol):
14974 Handle more whitespace/newline combinations in symbol definitions.
14976 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il>
14978 * w32-vars.el (w32)
14979 * vc-cvs.el (vc-cvs-global-switches)
14980 (vc-cvs-sticky-date-format-string, vc-cvs-sticky-tag-display)
14981 * textmodes/sgml-mode.el (sgml-xml-mode)
14982 * ruler-mode.el (ruler-mode)
14983 * replace.el (query-replace-skip-read-only)
14984 * progmodes/fortran.el (fortran-preprocessor-re)
14985 * net/ange-ftp.el (ange-ftp-passive-host-alist)
14986 * mail/sendmail.el (mail-use-dsn)
14987 * faces.el (mode-line-inactive, minibuffer-prompt)
14988 * add-log.el (add-log-always-start-new-record): Change all
14989 post-21.1 :version attributes to 21.4.
14991 2002-05-12 Richard M. Stallman <rms@gnu.org>
14993 * mail/smtpmail.el (smtpmail-mail-address): New variable.
14994 (smtpmail-send-it): Bind and use that instead of `mail-address'.
14995 (smtpmail-via-smtp): Likewise.
14997 * ansi-color.el (ansi-color-get-face): Avoid add-to-list on local var.
14998 (ansi-color-apply-sequence): Avoid duplicates in combined face list.
15000 * dired-aux.el (dired-show-file-type): Use -- to say FILE's not option.
15002 * subr.el (functionp): Catch errors in indirect-function.
15004 2002-05-12 Pavel JanÃk <Pavel@Janik.cz>
15006 * net/ldap.el (ldap-search-internal): Unfold folded lines before
15009 * cus-edit.el (customize-set-value): Rename `var' to `variable'
15010 and `val' to `value'.
15011 (customize-save-variable): Rename `var' to `'variable.
15013 2002-05-12 Glenn Morris <gmorris@ast.cam.ac.uk>
15015 * progmodes/fortran.el (fortran-preprocessor-re): New variable.
15016 Use it for font-locking and indentation.
15017 (fortran-previous-statement, fortran-next-statement): Make them
15018 skip over preprocessor lines.
15019 (fortran-calculate-indent): Use fortran-preprocessor-re.
15021 2002-05-10 Kim F. Storm <storm@cua.dk>
15023 * emulation/cua-base.el (cua-enable-cua-keys)
15024 (cua-enable-register-prefix): Add value for `other' choice.
15026 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il>
15028 * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
15029 (menu-bar-showhide-menu): Use display-graphic-p, not window-system.
15030 (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
15031 Run a named function.
15032 (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
15033 (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
15036 2002-05-10 Kim F. Storm <storm@cua.dk>
15038 * emulation/cua-base.el (cua-mode): Misc. changes to use
15039 emulation-mode-map-alists instead of minor-mode-map-alist.
15041 2002-05-09 Richard M. Stallman <rms@gnu.org>
15043 * mail/rmail.el (rmail-show-message):
15044 Catch error in check-coding-system.
15046 * progmodes/compile.el (compilation-error-regexp-alist):
15047 New element to recognize Python error messages.
15049 * shell.el (shell-replace-by-expanded-directory):
15050 If there's already a / at the end, don't add one.
15052 2002-05-09 Colin Walters <walters@verbum.org>
15054 * ibuffer.el (ibuffer-mode-map): Add :enable guards for
15055 `ibuffer-filter-disable', `ibuffer-pop-filter',
15056 `ibuffer-or-filter', `ibuffer-negate-filter',
15057 `ibuffer-decompose-filter', `ibuffer-save-filters',
15058 `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
15059 `ibuffer-save-filter-groups',
15060 `ibuffer-switch-to-saved-filter-groups',
15061 `ibuffer-delete-saved-filter-groups'.
15063 * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
15065 2002-05-09 Markus Rost <rost@math.ohio-state.edu>
15067 * woman.el (woman-menu): Move symbol before the comment so that
15068 find-function-search-for-symbol finds it.
15070 2002-05-10 Miles Bader <miles@gnu.org>
15072 * facemenu.el (list-colors-display): Don't use
15073 `display-color-cells' unless the display class is one for which
15074 that info is relevant.
15076 2002-05-09 Simon Josefsson <jas@extundo.com>
15078 * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
15080 (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
15083 2002-05-09 Kim F. Storm <storm@cua.dk>
15085 * wid-edit.el (checkbox): New check-mark image.
15087 2002-05-08 Pavel JanÃk <Pavel@Janik.cz>
15089 * filesets.el (filesets-running-xemacs): Fix last change.
15091 2002-05-08 Markus Rost <rost@math.ohio-state.edu>
15093 * help-fns.el (describe-function-1): If the source is
15094 `loaddefs.el', look for the real source. This is necessary only
15097 * emacs-lisp/find-func.el (find-function-search-for-symbol):
15098 Add autoload cookie.
15099 (find-function-regexp):
15100 Include "\(quote " to match the defaliases in loaddefs.el.
15102 * filesets.el (filesets-conditional-sort): Use copy-sequence,
15104 (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
15105 Defvar them to nil if running in Emacs.
15107 2002-05-08 Pavel JanÃk <Pavel@Janik.cz>
15109 * textmodes/flyspell.el (make-flyspell-overlay): Add help text
15110 to flyspell overlays.
15112 * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
15114 2002-05-08 Richard M. Stallman <rms@gnu.org>
15116 * diff.el (diff-regexp-alist): Doc fix.
15118 * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
15120 2002-05-08 Simon Marshall <simon@gnu.org>
15122 * msb.el (msb-menu-bar-update-buffers): Fix frame menu to use
15123 the frame name as the car of a menu entry, rather than the frame.
15125 2002-05-08 Juanma Barranquero <lektu@terra.es>
15127 * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
15130 2002-05-07 Colin Walters <walters@verbum.org>
15132 * replace.el (occur-unfontify-region-function): Delete.
15133 (occur-mode): Don't use it.
15134 (occur-engine): Respect `keep-props'.
15135 (occur-accumulate-lines): If we're moving forward, decrement;
15136 don't increment, and vice versa.
15138 2002-05-08 Toru Tomabechi <Toru.Tomabechi@orient.unil.ch>
15140 * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
15141 (tibetan-canonicalize-for-unicode-regexp): New variables.
15142 (tibetan-canonicalize-for-unicode-region): New function.
15143 (tibetan-strict-unicode): New variable.
15144 (tibetan-pre-write-canonicalize-for-unicode): New function.
15146 2002-05-07 Markus Rost <rost@math.ohio-state.edu>
15148 * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
15149 the autoload-cookie. Remove comment.
15151 * ffap.el (ffap): Don't hide it behind the autoload-cookie.
15153 * rect.el (close-rectangle): Don't hide it behind the
15156 2002-05-07 Juanma Barranquero <lektu@terra.es>
15158 * windmove.el (windmove-default-keybindings): Add optional
15159 parameter to allow using a modifier other than 'shift.
15161 2002-05-07 Thomas Link <t.link@gmx.at>
15164 (filesets-external-viewers): Fix customization problem.
15165 (filesets-some): Replaces cl's `some'. Calls changed.
15166 (filesets-member): Replaces cl's `member*'. Calls changed.
15167 (filesets-ormap): New function.
15169 2002-05-07 John Paul Wallington <jpw@shootybangbang.com>
15171 * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
15174 2002-05-07 Colin Walters <walters@gnu.org>
15176 * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
15177 (ibuffer-clear-filter-groups): Likewise.
15178 (ibuffer-kill-filter-group): Likewise.
15179 (ibuffer-kill-line): Likewise.
15180 (ibuffer-read-filter-group-name): New function.
15181 (ibuffer-jump-to-filter-group): Use it.
15182 (ibuffer-kill-filter-group): Likewise.
15183 (ibuffer-yank-filter-group): Likewise.
15184 (ibuffer-decompose-filter-group): New function.
15186 * ibuffer.el (ibuffer-mode-map): Bind it. Add :enable guard
15187 around `ibuffer-filters-to-filter-group' menu item. Fix :enable
15188 guards for `ibuffer-pop-filter-group' and
15189 `ibuffer-clear-filter-groups'.
15191 2002-05-06 Markus Rost <rost@math.ohio-state.edu>
15193 * emacs-lisp/find-func.el (find-function-search-for-symbol):
15194 Use with-syntax-table.
15196 2002-05-06 Francesco Potortì <pot@gnu.org>
15198 * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
15200 2002-05-05 Markus Rost <rost@math.ohio-state.edu>
15202 * time-stamp.el (time-stamp-format): Doc fix: escape open
15203 parenthesis in column 0.
15205 2002-05-04 Richard M. Stallman <rms@gnu.org>
15207 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
15208 Handle both cases: when the menu item has cached info
15209 and when it doesn't.
15211 * filesets.el (filesets-browse-dir-function): Rename from ...-fn.
15212 (filesets-open-file-function, filesets-save-buffer-function): Likewise.
15213 (filesets-tree-max-level): Doc fix.
15214 (filesets-commands, filesets-external-viewers)
15215 (filesets-ingroup-patterns): Mark as risky.
15216 (filesets-cache-hostname-flag): Doc fix.
15217 (filesets-menu-cache-file): Doc fix. Mark as risky.
15218 (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
15219 Don't defcustom them if running in Emacs.
15221 2002-05-04 Thomas Link <t.link@gmx.at>
15223 * filesets.el (filesets-ingroup-collect-files):
15224 Fix problem with inclusion groups' :scan-depth property.
15226 2002-05-04 Colin Walters <walters@verbum.org>
15228 * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
15229 "Default" group earlier. Push killed group on
15230 `ibuffer-filter-group-kill-ring'.
15231 (ibuffer-kill-line): Document. Don't push killed group ourselves.
15232 (ibuffer-yank-filter-group): Rename from `ibuffer-yank'.
15233 (ibuffer-insert-filter-group-before): New function, broken out
15234 from `ibuffer-yank'.
15235 (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
15237 * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
15238 (ibuffer-mode-view-menu): Unused variables; delete.
15239 (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
15241 2002-05-04 John Paul Wallington <jpw@shootybangbang.com>
15243 * ibuffer.el (ibuffer-mode-groups-popup): New variable.
15244 (toplevel): Bind filter group menu entries in it. Add :enable
15245 forms for some menu items.
15246 (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
15247 to `ibuffer-mouse-popup-menu'.
15248 (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
15249 group name, and if so, pop up a filter group menu.
15251 2002-05-04 Jason Rumney <jasonr@gnu.org>
15253 * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
15254 (mwheel-scroll): Recognize nil scroll amount as documented.
15256 * term/w32-win.el (mouse-wheel-scroll-line)
15257 (mouse-wheel-scroll-screen): Remove.
15258 ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
15260 * w32-vars.el (mouse-wheel-scroll-amount): Remove.
15262 2002-05-04 Markus Rost <rost@math.ohio-state.edu>
15264 * emacs-lisp/find-func.el (find-function-search-for-symbol):
15265 Bind case-fold-search when searching.
15267 2002-05-04 Eli Zaretskii <eliz@is.elta.co.il>
15269 * apropos.el (apropos-print): Fix the reference to mouse-2.
15271 2002-05-04 Daniel Pfeiffer <occitan@esperanto.org>
15273 * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
15275 2002-05-04 Kim F. Storm <storm@cua.dk>
15277 * cus-edit.el (custom-buffer-verbose-help): New variable.
15278 (custom-buffer-create-internal): Remove verbose introduction
15279 in customization buffer when it is nil.
15281 2002-05-03 Dave Love <fx@gnu.org>
15283 * international/mule-cmds.el (select-safe-coding-system):
15284 Don't offer coding systems that use locking shift.
15285 Ask for confirmation if chosen coding system disagrees with
15286 a `coding:' spec in the file.
15288 2002-05-03 John Wiegley <johnw@gnu.org>
15290 * eshell/esh-var.el (eshell-modify-global-environment): Add this
15291 customization variable, which will cause any "export" commands
15292 within any eshell buffer to modify the global Emacs environment.
15293 It defaults to nil, which means that such commands will only
15294 modify that Eshell buffer's environment.
15295 (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
15297 * eshell/em-cmpl.el (eshell-command-completions-alist):
15298 Improve default completion targets for objdump, nm and readelf.
15300 2002-05-03 Colin Walters <walters@verbum.org>
15302 * play/gamegrid.el (gamegrid-user-score-file-directory): New variable.
15303 (gamegrid-add-score-with-update-game-score):
15304 Use `shared-game-score-directory'. Correctly handle non-setuid case.
15306 2002-05-02 Colin Walters <walters@verbum.org>
15308 * replace.el (occur-mode-map): Bind "q" to `delete-window'.
15309 (occur-1): If one of the buffers we're searching is the *Occur*
15310 buffer itself, handle it by creating a temporary buffer. If any
15311 of the buffers being searched are killed, note that in the search
15312 result message. Also, set local variables before we possibly kill
15315 2002-05-02 Kim F. Storm <storm@cua.dk>
15317 * menu-bar.el (menu-bar-make-toggle): Add optional PROPS arg.
15318 (menu-bar-options-save): Add cua-mode.
15319 (menu-bar-options-menu): Add toggle for cua-mode.
15320 Disable toggle for transient-mark-mode if cua-mode is enabled.
15322 * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local var.
15324 2002-05-01 Richard M. Stallman <rms@gnu.org>
15326 * help.el (view-todo): New function.
15327 (help-map): Bind C-h C-t to view-todo.
15328 (help-for-help): Change the text.
15330 2002-05-01 Glenn Morris <gmorris@ast.cam.ac.uk>
15332 * progmodes/f90.el: Yet more doc string, comment and whitespace
15334 (f90-imenu-flag): New name for internal variable f90-imenu.
15335 (f90-blocks-re, f90-program-block-re, f90-end-if-re)
15336 (f90-no-break-re): Use regexp-opt.
15337 (f90-end-type-re): Add closing "\\>".
15338 (f90-indent-region): Correctly indent comments embedded in
15340 (f90-indent-new-line): Make it indent the current line, as it should.
15341 (f90-line-continued, f90-get-present-comment-type)
15342 (f90-looking-at-if-then, f90-indent-line, f90-indent-new-line)
15343 (f90-indent-region, f90-indent-subprogram, f90-do-auto-fill)
15344 (f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end)
15345 (f90-change-keywords): Minor code tidying.
15347 * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
15348 typo `fortran-strip-sqeuence-nos'.
15350 2002-05-01 Eli Zaretskii <eliz@is.elta.co.il>
15352 * simple.el (clone-indirect-buffer-other-window): Fix a typo in
15355 2002-05-01 Kim F. Storm <storm@cua.dk>
15357 * emulation/cua-base.el (cua--pre-command-handler):
15358 Only interpret delete-selection property if mark-active.
15359 (cua-mode): Fix require in defcustom.
15361 2002-05-01 Pavel JanÃk <Pavel@Janik.cz>
15363 * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
15366 2002-05-01 Colin Walters <walters@verbum.org>
15368 * textmodes/tex-mode.el (tex-validate-buffer):
15369 Use `occur-revert-arguments' instead of setting `occur-nlines' and
15370 `occur-buffer'. Don't test for `input-pending-p' in loop.
15371 Set text property `occur-target' instead of `occur'.
15373 2002-04-30 John Wiegley <johnw@gnu.org>
15375 * align.el (align-region): Fix the fix to align-region, because
15376 the "name" argument was appearing twice.
15378 2002-05-01 Martin Stjernholm <mast@lysator.liu.se>
15380 * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
15381 to handle protection labels, one which doesn't get confused by
15384 * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
15385 functions that have "class" or "struct" in the return type as
15386 classes or structs.
15388 2002-04-30 Kim F. Storm <storm@cua.dk>
15390 * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
15391 Options" to "New Options..."; rephrase tooltip.
15392 Rephrase tooltip for "Specific Option...".
15393 Added "Saved Options" item. [from Simon Marshall]
15395 2002-04-30 Richard M. Stallman <rms@gnu.org>
15397 * time.el (display-time-mail-directory)
15398 (display-time-mail-function): Doc fixes.
15400 * ediff-hook.el: Remove autoload cookies.
15402 * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
15404 * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
15406 * align.el (align-region): Fix call to `message'.
15407 Check that (car rule) is a symbol.
15409 * autoinsert.el (auto-insert-directory): Doc fix.
15411 * facemenu.el (describe-text-at and stuff): Move to descr-text.el.
15413 * descr-text.el: New file, broken out of facemenu.el.
15415 * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
15417 2002-04-29 Markus Rost <rost@math.ohio-state.edu>
15419 * mail/emacsbug.el (report-emacs-bug-hook):
15420 Use replace-match only if search was successful.
15422 2002-04-29 Richard M. Stallman <rms@gnu.org>
15424 * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
15426 * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
15427 if the user edits the Emacs version number in the text.
15429 * filesets.el (filesets-running-xemacs): Make defvar unconditional.
15430 (filesets-ingroup-files): Rename from filesets-ingroup-paths.
15431 (filesets-error): Simplify definition and make conditional
15432 on filesets-running-xemacs.
15433 (filesets-find-file-using): Rename from fsfind-file-using.
15435 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
15437 * info.el (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
15438 (Info-read-node-name-1): Complete file names.
15439 (Info-complete-menu-item): Don't cons unnecessarily.
15441 * files.el (locate-file): New fun.
15442 (locate-file-completion): Rename from load-completion and generalize.
15443 (load-library): Use it.
15444 (make-auto-save-file-name): Expand caddr.
15446 * newcomment.el (comment-fill-column): New var.
15447 (comment-indent): Use it.
15448 (comment-or-uncomment-region): New fun.
15449 (comment-dwim): Use it.
15451 2002-04-29 Colin Walters <walters@verbum.org>
15453 * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
15454 (ibuffer-kill-line): Copy the filter group data structure when killing.
15455 (ibuffer-yank): Handle case where we're yanking on the default
15457 (ibuffer-delete-saved-filter-groups): Doc fix.
15459 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15460 Test whether or not update-game-score is setuid, and do the right
15463 2002-04-29 Kim F. Storm <storm@cua.dk>
15465 * subr.el (remove-yank-excluded-properties): New helper function.
15466 (insert-for-yank, insert-buffer-substring-as-yank): Use it.
15468 * simple.el (yank-excluded-properties): Add help-echo to list.
15470 2002-04-29 Glenn Morris <gmorris@ast.cam.ac.uk>
15472 * autoinsert.el (auto-insert-directory): Doc fix.
15474 * progmodes/f90.el: Add/change doc strings for many inline
15475 functions. Whitespace changes.
15476 (f90-indent-line-no, f90-update-line): Minor code changes.
15478 2002-04-29 Kim F. Storm <storm@cua.dk>
15480 * emulation/cua-base.el: New file.
15482 * emulation/cua-rect.el: New file.
15484 * emulation/cua-gmrk.el: New file.
15486 * emulation/keypad.el: New file.
15488 2002-04-29 Triet Hoai Lai <thlai@ee.usyd.edu.au>
15490 * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
15491 (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn):
15492 New Vietnamese coding system.
15494 * language/viet-util.el: Update Commentary section.
15496 2002-04-29 Pavel JanÃk <Pavel@Janik.cz>
15498 * filesets.el (filesets-data): Doc fix.
15499 (filesets-running-xemacs): Define even when compiling.
15501 * recentf.el (recentf-cancel-dialog): Remove dot at the end of
15504 2002-04-29 Stefan Monnier <monnier@cs.yale.edu>
15506 * textmodes/fill.el (fill-context-prefix): Fix last change with
15507 yet-another-approach.
15509 2002-04-28 Markus Rost <rost@math.ohio-state.edu>
15511 * net/ange-ftp.el (ange-ftp-passive-host-alist)
15512 (ange-ftp-bs2000-additional-pubsets): Fix custom type.
15514 * files.el (small-temporary-file-directory): Fix custom type.
15516 2002-04-28 Glenn Morris <gmorris@ast.cam.ac.uk>
15518 * progmodes/f90.el (f90-xemacs-flag): New variable.
15519 (f90-mark-subprogram-overlay): New variable.
15520 (f90-mark-subprogram): Now it highlights the subprogram.
15521 (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
15522 Fix highlighting of various "type" forms.
15524 2002-04-28 Colin Walters <walters@verbum.org>
15526 * ibuffer.el (ibuffer-mode): Additional documentation on filter
15529 2002-04-28 John Paul Wallington <jpw@shootybangbang.com>
15531 * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
15532 ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
15534 2002-04-28 Richard M. Stallman <rms@gnu.org>
15536 * mail/sendmail.el (mail-recover-1): Decrease non-random-len
15537 by 1 for the newly-readded #.
15539 * files.el (make-auto-save-file-name): Specify # as suffix
15540 in the non-file-visiting case.
15542 * subr.el (make-temp-file): New arg SUFFIX.
15544 * filesets.el: New file.
15546 * replace.el (occur-accumulate-lines): Avoid incf and decf.
15547 (occur-engine-add-prefix): New function.
15548 (occur-engine): Avoid using macrolet, incf and decf.
15549 Use occur-engine-add-prefix instead.
15550 Rename `l' to `lines' and `c' to `matches'.
15552 * replace.el (occur-engine, occur-mode-mouse-goto)
15553 (occur-mode-find-occurrence, occur-mode-goto-occurrence)
15554 (occur-mode-goto-occurrence-other-window)
15555 (occur-mode-display-occurrence): A position is just a marker,
15558 * replace.el (occur-revert-arguments):
15559 Rename from occur-revert-properties. All uses changed.
15561 2002-04-28 Pavel JanÃk <Pavel@Janik.cz>
15563 * recentf.el (recentf-menu-before): Use string to specify path in
15566 * international/mule-cmds.el (read-language-name): Take care of
15569 2002-04-27 Richard M. Stallman <rms@gnu.org>
15571 * custom.el (custom-load-symbol): Move from cus-edit.el.
15572 (custom-load-recursion): Likewise.
15574 * cus-edit.el (custom-load-symbol): Move to custom.el.
15575 (custom-load-recursion): Likewise.
15577 * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
15578 generated by easymenu are now lowercase.
15580 2002-04-27 Richard M. Stallman <rms@gnu.org>
15582 * menu-bar.el (menu-bar-update-buffers): Add menu items
15583 Next Buffer and Previous Buffer.
15585 * simple.el (next-buffer, prev-buffer): New commands.
15586 Bind C-x left and C-x right to them.
15588 * info.el (Info-header-line): Mark it as risky-local-variable.
15590 * subr.el (insert-for-yank): Replace `category' property
15591 with whatever properties it stands for.
15593 * subr.el (member-ignore-case): Ignore non-strings in LIST.
15595 2002-04-27 Miles Bader <miles@gnu.org>
15597 * faces.el (read-face-name): Format the prompt correctly when
15598 there's no default.
15600 2002-04-26 Andrew Choi <akochoi@shaw.ca>
15602 * term/mac-win.el: Don't call ediff-toggle-multiframe.
15603 Set default directory. Set process-connection-type to nil.
15605 2002-04-26 Richard M. Stallman <rms@gnu.org>
15607 * loadup.el: Explicitly load cus-face and timer.
15609 * isearch.el: Don't require timer.
15611 * faces.el: Don't require cus-face.
15613 * cus-edit.el (customize-face): Use read-face-name
15614 and handle multiple faces.
15615 (customize-face-other-window): Make it work similarly.
15617 * faces.el (read-face-name): New defaulting features.
15618 New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
15619 (list-faces-display): Use the face, not its name string,
15620 as arg when running customize-face.
15621 Put a `read-face-name' prop on the entire line.
15622 (describe-face): Handle multiple faces via read-face-name.
15624 * textmodes/tex-mode.el (tex-start-options): New variable.
15625 (tex-start-commands): New variable.
15626 (tex-start-options-string): Variable deleted.
15627 (tex-start-tex): Use tex-start-options and tex-start-commands,
15628 not tex-start-options-string.
15629 (tex-command): Doc fix.
15631 2002-04-26 Sam Steingold <sds@gnu.org>
15633 * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
15634 not in the authinfo/netrc, keep `cred' at nil.
15636 2002-04-26 Gerd Moellmann <gerd@gnu.org>
15638 * find-file.el: Remove Ada-specific example code.
15640 2002-04-25 Michael Kifer <kifer@cs.stonybrook.edu>
15642 * ediff-hook.el: Put back the autoloads.
15644 2002-04-25 Colin Walters <walters@verbum.org>
15646 * ibuffer.el (define column process): Use `ibuffer-aif'.
15648 * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
15650 (ibuffer-yank): Be sure to `setq' after we use `nconc'.
15651 (ibuffer-save-filter-groups): Correctly structure filter groups.
15652 (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
15655 2002-04-25 Simon Josefsson <jas@extundo.com>
15657 * mail/sendmail.el (mail-use-dsn): New variable to request
15658 delivery status notification from MTA.
15659 (sendmail-send-it): Use it.
15661 * mail/smtpmail.el (smtpmail-queue-counter): New variable.
15662 (smtpmail-send-it): Use it to construct new queue filenames (needed
15663 if you send more than one message per second, which is possible if
15664 you use Gnus Agent).
15666 * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
15668 (smtpmail-try-auth-methods): Support netrc data.
15669 (netrc-parse): Autoload netrc.
15671 2002-04-25 Colin Walters <walters@verbum.org>
15673 * replace.el (multi-occur-by-filename-regexp): Doc fix.
15674 (occur-engine): Go to `point-min'. Make nlines argument actually
15675 mean number of context lines. Handle it. Pad digits to the right.
15677 * ibuf-ext.el (ibuffer-filtering-groups): Rename to
15678 `ibuffer-filter-groups'. Update all users.
15679 (ibuffer-show-empty-filter-groups): New variable.
15680 (ibuffer-saved-filter-groups): New variable.
15681 (ibuffer-maybe-save-stuff): Rename from
15682 `ibuffer-maybe-save-saved-filters'. Update callers.
15683 Handle `ibuffer-saved-filter-groups'.
15684 (ibuffer-hidden-filtering-groups): Rename to
15685 `ibuffer-hidden-filter-groups'.
15686 (ibuffer-filter-group-kill-ring): New variable.
15687 (ibuffer-save-with-custom): Doc fix.
15688 (ibuffer-set-filter-groups-by-mode): New function.
15689 (ibuffer-clear-filter-groups): New function.
15690 (ibuffer-current-filter-groups-with-position): Rename from
15691 `ibuffer-current-filter-groups'. Update callers.
15692 (ibuffer-kill-filter-group): New function.
15693 (ibuffer-kill-line): New function.
15694 (ibuffer-yank): New function.
15695 (ibuffer-save-filter-groups): New function.
15696 (ibuffer-delete-saved-filter-groups): New function.
15697 (ibuffer-switch-to-saved-filter-groups): New function.
15698 (ibuffer-mark-on-buffer): Add optional arguments for adding a
15699 specific mark, and marking on a specific group.
15701 * ibuffer.el (ibuffer-formats): Doc fix.
15702 (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
15703 Bind new functions from ibuf-ext.el. Add menu entries for them.
15704 Remove superfluous tooltips.
15705 (ibuffer-toggle-marks): If on a group name, then toggle marks just
15707 (ibuffer-mark-interactive): Handle filter groups.
15708 (ibuffer-mark-forward, ibuffer-unmark-forward)
15709 (ibuffer-mark-for-delete, ibuffer-unmark-backward)
15710 (ibuffer-mark-for-delete-backwards): Update docs.
15711 (ibuffer-current-filter-groups): Move to ibuf-ext.el, and renamed
15712 to `ibuffer-current-filter-groups-with-position'.
15713 (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
15714 (ibuffer-mode): Add some documentation about filter groups.
15716 2002-04-25 Andreas Schwab <schwab@suse.de>
15718 * find-dired.el (find-name-dired): Don't quote pattern twice.
15720 2002-04-26 Miles Bader <miles@gnu.org>
15722 * cus-edit.el (customize-face, customize-face-other-window):
15723 Use default instead of initial-input for suggested face.
15725 2002-04-25 Gerd Moellmann <gerd@gnu.org>
15727 * cus-edit.el (customize-face-other-window, customize-face):
15728 Interactively, when point is on text with a face, suggest to
15729 customize that face.
15731 2002-04-25 Glenn Morris <gmorris@ast.cam.ac.uk>
15733 * progmodes/f90.el: General tidy-up of commentary and some doc strings.
15735 2002-04-24 Glenn Morris <gmorris@ast.cam.ac.uk>
15737 * scroll-all.el (scroll-all-function-all) New function to do the
15739 (scroll-all-scroll-down-all, scroll-all-scroll-up-all)
15740 (scroll-all-page-down-all, scroll-all-page-up-all)
15741 (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
15742 Make them use scroll-all-function-all.
15744 * progmodes/f90.el (f90-get-beg-of-line): Remove and replace
15745 with line-beginning-position.
15746 (f90-get-end-of-line): Remove and replace with line-end-position.
15747 (f90-match-piece): Remove and replace with match-string.
15748 (f90-current-indentation): Remove `current-column'.
15749 (f90-get-present-comment-type): Use match-string rather than
15751 (f90-match-end): Use line-beginning-position, line-end-position
15752 rather than beginning-of-line, end-of-line.
15753 (f90-startup-message): Variable removed.
15755 2002-04-24 Colin Walters <walters@verbum.org>
15757 * replace.el (occur-accumulate-lines): Add optional argument
15758 `no-props'. Handle it.
15759 (occur-engine): Use it.
15761 * ibuf-ext.el (toplevel): Remove byte-compile-dynamic. Try to set
15762 up autoloads manually.
15763 (ibuffer-split-list): New function.
15764 (ibuffer-filtering-groups): New variable.
15765 (ibuffer-hidden-filtering-groups): New variable.
15766 (ibuffer-mouse-toggle-filter-group): New function.
15767 (ibuffer-toggle-filter-group): New function.
15768 (ibuffer-toggle-filter-group-1): New function.
15769 (ibuffer-forward-filter-group): New function.
15770 (ibuffer-backward-filter-group): New function.
15771 (ibuffer-generate-filter-groups): New function.
15772 (ibuffer-filters-to-filter-group): New function.
15773 (ibuffer-pop-filter-group): New function.
15774 (ibuffer-jump-to-filter-group): New function.
15775 (ibuffer-do-occur): Just use `occur-read-primary-args'
15777 * ibuffer.el (ibuffer-filter-group-name-face): New.
15778 (ibuffer-mode-map): Bind and add menu entries for most new
15779 functions; also, bind the arrow keys to the movement functions.
15780 (ibuffer-mode-filter-group-map): New.
15781 (ibuffer-mouse-toggle-mark): Handle group names.
15782 (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
15783 (ibuffer-skip-properties): New function.
15784 (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
15785 group names. Also, handle new properties.
15786 (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
15787 Move error handling to `ibuffer-current-buffer'.
15788 (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
15789 (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
15790 (ibuffer-toggle-marks): Add optional group argument.
15791 (ibuffer-mark-interactive): Skip group names.
15792 (ibuffer-current-buffer): Clean up error handling.
15793 (ibuffer-fontify-region-function): Fontify group names.
15794 (ibuffer-map-lines): Add extra group argument. Handle it.
15795 (ibuffer-current-filter-groups): New function.
15796 (ibuffer-redisplay): Handle hidden filtering groups.
15797 (ibuffer-sort-bufferlist): New function, taken from
15798 `ibuffer-insert-buffers-and-marks'.
15799 (ibuffer-insert-filter-group): New function.
15800 (ibuffer-redisplay-engine): Rename from
15801 `ibuffer-insert-buffers-and-marks'. Handle new filtering groups.
15802 (ibuffer): Add filter-groups argument. Handle it.
15803 Use `save-selected-window'.
15804 (ibuffer-mode): Make `ibuffer-filtering-groups' and
15805 `ibuffer-hidden-filtering-groups' buffer-local.
15807 * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
15809 2002-04-24 Richard M. Stallman <rms@gnu.org>
15811 * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
15812 (easy-menu-define-key-intern): Function deleted; callers intern
15813 and then call easy-menu-define-key.
15814 (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
15815 (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
15816 (easy-menu-name-match): New function.
15817 (add-submenu): New function.
15818 (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
15820 2002-04-24 Eli Zaretskii <eliz@is.elta.co.il>
15822 * menu-bar.el (menu-bar-adv-search-menu)
15823 (menu-bar-adv-search-menu): Improve the help text.
15825 2002-04-24 Simon Josefsson <jas@extundo.com>
15827 * net/netrc.el: New file.
15829 2002-04-24 Thomas DeWeese <tdeweese@rochester.rr.com>
15831 * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
15832 Check if any of the available selection sources has new content
15833 and if so it will return that content.
15835 2002-04-24 Miles Bader <miles@gnu.org>
15837 * menu-bar.el (buffers-menu-show-directories)
15838 (buffers-menu-show-status): New variables.
15839 (menu-bar-update-buffers-1): Use them.
15841 2002-04-24 Martin Stjernholm <mast@lysator.liu.se>
15843 * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
15844 from `c-do-auto-fill' and point is at or near the limit of the
15845 comment. Fixed bug when the prefix from `c-guess-fill-prefix'
15846 is longer than the text on the first line of the comment when
15849 2002-04-24 Miles Bader <miles@gnu.org>
15851 * menu-bar.el (menu-bar-update-buffers-1): Make sure
15852 `uniquify-buffer-name-style' is bound.
15854 2002-04-23 Colin Walters <walters@verbum.org>
15856 * replace.el (toplevel): Require `cl' while compiling.
15857 (occur-buffer, occur-nlines): Delete.
15858 (occur-revert-properties): Rename to `occur-revert-properties'.
15859 (occur-mode): Handle it. Set up font lock.
15860 (occur-revert-function): Simply apply `occur-1'.
15861 (occur-mode-find-occurence, occur-mode-mouse-goto)
15862 (occur-mode-goto-occurrence-other-window)
15863 (occur-mode-display-occurrence): Handle buffer property.
15864 (list-matching-lines-face): Use defcustom.
15865 (list-matching-lines-buffer-name-face): New variable.
15866 (occur-accumulate-lines): Rename from `ibuffer-accumulate-lines',
15868 (occur-read-primary-args): Move out of `occur'.
15869 (occur): Delete. Now simply call `occur-1'.
15870 (multi-occur, multi-occur-by-filename-regexp): New functions.
15871 (occur-1): New function.
15872 (occur-engine): Rename from `ibuffer-occur-engine' to replace the
15873 previous implementation of `occur'; taken from ibuf-ext.el.
15874 (occur-fontify-on-property): New function.
15875 (occur-fontify-region-function, occur-unfontify-region-function):
15878 * ibuffer.el (ibuffer-accumulate-lines): Move to replace.el.
15880 * ibuf-ext.el (ibuffer-depropertize-string): Delete.
15881 (ibuffer-occur-match-face): Delete.
15882 (ibuffer-occur-props, ibuffer-occur-mode): Delete.
15883 (ibuffer-occur-mouse-display-occurence): Delete.
15884 (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
15885 (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
15886 (ibuffer-occur-engine): Move to replace.el.
15887 (ibuffer-do-occur): Simply call `occur-1'.
15889 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15890 Handle the case where we're already viewing the score file.
15892 2002-04-23 Andreas Schwab <schwab@suse.de>
15894 * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
15897 2002-04-23 Miles Bader <miles@gnu.org>
15899 * menu-bar.el (menu-bar-update-buffers-1): Don't display a
15900 directory separator if there's no directory. Don't display
15901 directories at all if uniquify is active. Some code cleanup.
15902 (uniquify-buffer-name-style): Declare (but don't initialize).
15904 * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
15905 for command menu entries, since the low-level menu code modifies
15906 them. Cache the resulting list.
15907 (menu-bar-buffers-menu-command-entries): New variable.
15909 * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
15910 Add separator line before commands
15911 Remove old crufty code that tried to line things up by adding
15912 spaces to entries (it doesn't work).
15913 Move `Frames' submenu after the normal buffers, and add a
15914 separator line before it.
15915 (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
15917 2002-04-22 Richard M. Stallman <rms@gnu.org>
15919 * files.el (after-find-file): Use %s to output MSG.
15921 * dired.el (dired-mouse-find-file-other-window):
15922 Handle events that move out of the window.
15924 2002-04-23 Martin Stjernholm <mast@lysator.liu.se>
15926 * progmodes/cc-cmds.el (c-mask-comment): Fix bug where point
15927 was moved to the following line when it was at the first line
15928 of a block comment where comment-start-skip matched to eol.
15930 2002-04-22 Richard M. Stallman <rms@gnu.org>
15932 * simple.el (line-move-finish): Find beg and end of line
15933 before calling line-move-to-column. Do consider intangible
15934 when finding the end. Take more care in analyzing the results
15935 of intangibility after line-move-to-column.
15937 2002-04-22 Pavel JanÃk <Pavel@Janik.cz>
15939 * international/mule-diag.el (list-input-methods-1): Doc fix (LEIM is
15940 now part of the standard distribution).
15942 * tmm.el (tmm-completion-prompt): Doc fix.
15944 * hilit-chg.el (global-highlight-changes): Capitalize status texts.
15946 2002-04-22 Edward M. Reingold <reingold@emr.cs.iit.edu>
15948 * diary-lib.el (include-other-diary-files): Allow modifying
15949 included buffer, to turn off selective display.
15951 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
15953 * progmodes/cc-mode.el (c-define-abbrev-table): New function to
15954 pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
15955 emacsen that doesn't support it.
15957 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
15959 * progmodes/cc-align.el, progmodes/cc-engine.el,
15960 * progmodes/cc-styles.el, progmodes/cc-vars.el
15961 (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
15962 Find correct anchor for statement-cont in top level constructs.
15963 Analyze variable initializations in top level constructs as
15964 topmost-intro-cont instead of statement-cont. That is an
15965 incompatible change but it gives better consistency. The new
15966 lineup function c-lineup-topmost-intro-cont' compensates for
15967 it and is now put on topmost-intro-cont by default.
15969 * progmodes/cc-align.el, progmodes/cc-engine.el,
15970 progmodes/cc-langs.el (c-lineup-argcont): Lineup function
15971 contributed by Kevin Ryde.
15973 (c-in-gcc-asm-p): Function to recognize asm statements.
15974 Contributed by Kevin Ryde.
15976 (c-opt-asm-stmt-key): New language variable to recognize the
15977 beginning of asm statements.
15979 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
15981 * progmodes/cc-engine.el (c-guess-basic-syntax):
15982 Detect variable declarations after class and struct declarations
15983 correctly. Fixed limit error when finding the anchor for
15984 template-args-cont and topmost-intro-cont.
15986 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
15988 * progmodes/cc-cmds.el (c-beginning-of-defun)
15989 (c-declaration-limits): Find the "line oriented" declaration
15990 start too, just like the "line oriented" end is found.
15992 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
15994 * progmodes/cc-vars.el (c-offsets-alist): A more sane default
15995 for `inexpr-statement'. This is not compatible, though.
15996 I think the benefit of a good default style outweights that in
15997 this case. Besides, `inexpr-statement' is not very common.
15999 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16001 * progmodes/cc-cmds.el (c-electric-delete-forward):
16002 Fix silly bug that caused it to delete backwards in hungry delete
16003 mode. (It's amazing that this bug hasn't been reported.)
16005 * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
16006 Extracted the code to get the declaration limits from
16007 `c-mark-function' to a new `c-declaration-limits'.
16009 (c-indent-defun): Use the same method to get the limits of the
16010 declaration or macro as `c-mark-function'.
16012 * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
16013 list initializers correctly (but costly; it ought to be
16014 integrated into `c-beginning-of-statement-1').
16016 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16018 * progmodes/cc-cmds.el, progmodes/cc-engine.el
16019 (c-beginning-of-defun, c-end-of-defun, c-mark-function):
16020 Rewritten to detect the declaration limits better.
16021 Now handles K&R argdecls, class definitions followed by variables etc.
16023 (c-in-knr-argdecl): Broke out the K&R argdecl test in
16024 `c-beginning-of-decl-1' to this new function.
16026 (c-end-of-statement-1, c-end-of-decl-1):
16027 Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
16028 handles declarations that continue after the block.
16030 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
16031 Add an option to restrict matching to the top level of the
16032 current paren sexp.
16034 * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
16035 New regexp to recognize declarations that continue after the block.
16037 (c-syntactic-eol): New regexp to match a "syntactic" eol.
16039 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16041 * progmodes/cc-engine.el (c-guess-basic-syntax): Fix a bug
16042 that often caused the backward limit to be lost at the top
16043 level. This improves performance a bit.
16045 * progmodes/cc-engine.el (c-syntactic-re-search-forward):
16046 New function that works like `re-search-forward' but only returns
16047 matches in syntactically significant text.
16049 * progmodes/cc-engine.el: Fixed a faster and more accurate way
16050 to recognize K&R argdecls.
16052 (c-beginning-of-decl-1): New function that put point at the
16053 beginning of the declaration. It handles K&R argdecl blocks.
16055 (c-guess-basic-syntax): Replace the `knr-argdecl' recognition
16056 code with one that doesn't depend on the current indentation.
16057 The anchor position for `knr-argdecl' has also changed, but in
16058 a way that is unlikely to cause compatibility problems.
16060 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16062 * progmodes/cc-defs.el, progmodes/cc-engine.el
16063 (c-forward-comment): `forward-comment' in XEmacs skips over
16064 line continuations in the backward direction. Correct for
16065 that. Also made this a defun since it has grown too large now
16068 * progmodes/cc-langs.el: More convenient and decentralized
16069 setup of the language specific variables. The regexp-opt
16070 mangling is also done at compile time now.
16072 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16074 * progmodes/cc-cmds.el (c-indent-line-or-region):
16075 Call `c-indent-line' directly instead of through
16076 `indent-according-to-mode' so that this function always
16077 indents syntactically.
16079 * progmodes/cc-engine.el (c-guess-basic-syntax): Fix a bug
16080 where a class beginning with a nested class could cause an
16081 infinite loop (the state outside the narrowed out class is
16084 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16086 * progmodes/cc-align.el, progmodes/cc-cmds.el,
16087 progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
16088 the context sensitive analysis inside macros is restricted to
16089 the bodies of #define's; other things, like #if expressions,
16090 never have anything in common with their surroundings.
16091 The old `cpp-macro-cont' syntax is now used in situations where
16092 the syntactic analysis isn't applicable, and a new syntactic
16093 element `cpp-define-intro' is used to add indentation in
16096 (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
16097 better reflect its use.
16099 * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
16100 continuation backslashes in the detection of `arglist-cont-nonempty'.
16102 * progmodes/cc-align.el: Use the vector form in the return
16103 value in all cases where lineup functions return absolute columns.
16105 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16107 * progmodes/cc-engine.el (c-add-stmt-syntax)
16108 (c-guess-basic-syntax): Anchor `brace-list-intro' and
16109 `bracec-list-close' better for brace lists nested inside expressions.
16111 * progmodes/cc-engine.el, progmodes/cc-langs.el,
16112 progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
16113 various language specific variables and their initialization.
16114 The keyword regexps are now lists that are combined with
16115 regexp-opt. Some variables have changed names to fit better
16116 with the naming convention.
16118 * progmodes/cc-defs.el, progmodes/cc-vars.el
16119 (c-buffer-is-cc-mode): The value is the mode symbol of the
16120 original CC Mode mode.
16122 (c-major-mode-is): Compare against the buffer local variable
16123 `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
16125 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16127 * progmodes/cc-engine.el (c-forward-syntactic-ws)
16128 (c-backward-syntactic-ws, c-forward-token-1)
16129 (c-backward-token-1, c-in-literal, c-literal-limits)
16130 (c-collect-line-comments, c-literal-type, c-on-identifier)
16131 (c-guess-basic-syntax): These functions are now considered part
16132 of the "CC Mode API" and may be used by other code.
16133 That's signified by making their documentation into docstrings.
16135 (c-whack-state, c-hack-state, c-skip-case-statement-forward):
16136 Remove these internal functions since they aren't used.
16138 (c-forward-to-cpp-expression): Classified this function as internal.
16140 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16142 * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
16143 Simplify these regexps; the class keywords they contain
16144 ought to be enough to avoid false matches, so checking for
16145 following identifiers etc is just unnecessary (and might also
16146 fail for oddly formatted code).
16148 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16150 * progmodes/cc-engine.el, progmodes/cc-cmds.el
16151 (c-forward-comment-lc): New function that behaves like
16152 `c-forward-comment', with the exception that line
16153 continuations are treated as whitespace.
16155 (c-beginning-of-statement): Use `c-forward-comment-lc', to
16156 work correctly in macros and other places where line
16157 continuations should be treated as whitespace.
16159 * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
16160 normal label in a switch block as a case label, to get
16161 consistent lineup with the case labels.
16163 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fix bug
16164 in skipping over a macro that ends with an empty line.
16166 * progmodes/cc-styles.el: Require cc-align since styles added
16167 with `c-add-style' often contains references to functions
16168 defined there, and so the `c-valid-offset' check might
16169 otherwise complain on them.
16171 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16173 * progmodes/cc-align.el, progmodes/cc-mode.el:
16174 * progmodes/cc-vars.el: Added two new lineup functions:
16176 (c-lineup-knr-region-comment): A new lineup function to get
16177 (what most people think is) better indentation of comments in
16178 the "K&R region" between the function header and its body.
16180 (c-lineup-gcc-asm-reg): New lineup function for better
16181 indentation inside gcc asm blocks. Contributed by Kevin Ryde.
16183 (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
16184 `c-lineup-knr-region-comment' in the default offset
16185 configuration, since these two functions have little impact
16186 outside their intended use, and they generally do the right
16187 thing when they kick in.
16189 * progmodes/cc-engine.el (c-guess-continued-construct)
16190 (c-guess-basic-syntax): Handle nested functions in all
16191 languages, not just Pike. In C and C++ there's a gcc
16192 extension for this, and it also gives better treatment of
16193 macros that are followed by blocks.
16195 * progmodes/cc-langs.el (c-symbol-key): Made this variable
16196 mode specific, to handle Pike special symbols like `== better.
16198 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16200 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
16201 progmodes/cc-vars.el (c-report-syntactic-errors): A new
16202 variable to control the syntactic error messages. It defaults
16203 to off; since CC Mode ignores most syntactic errors it might
16204 as well ignore them all for the sake of consistency.
16206 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16208 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
16209 Optimization. Can give a noticeable speedup if there's a
16210 large preceding function or class body.
16212 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16214 * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
16215 efficient and correct insertion functions in many places.
16216 Always inherit text properties correctly if the text is
16217 permanent. Also do it for speed in temporary insertions,
16218 since I figure it's less work to continue the surrounding text
16219 properties than to break them.
16221 * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
16222 completion to make it easier to enter lists.
16224 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16226 * progmodes/cc-cmds.el (c-beginning-of-defun): Fix bug where
16227 c-state-cache was clobbered.
16229 * progmodes/cc-cmds.el, progmodes/cc-engine.el
16230 (c-calculate-state): Move from cc-cmds.el to cc-engine.el due
16233 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16235 * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
16236 open parens in macros (if point isn't in the same one).
16238 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16240 * progmodes/cc-cmds.el (c-context-open-line): New function
16241 that is the `open-line' equivalent to `c-context-line-break'.
16243 * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
16244 for Emacs 21 since `indent-new-comment-line' has been changed
16245 to `comment-indent-new-line' there.
16247 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16249 * progmodes/cc-engine.el, progmodes/cc-langs.el
16250 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
16251 New variables containing the character sets used to recognize
16252 statement/declaration boundaries. These variables might help
16253 to support languages like javascript and awk, where newlines
16254 sometimes delimits statements.
16256 (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
16257 the set of statement delimiting characters, to allow it to be
16258 changed dynamically and per-mode.
16260 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16262 * progmodes/cc-engine.el (c-looking-at-bos)
16263 (c-looking-at-inexpr-block, c-add-stmt-syntax)
16264 (c-guess-basic-syntax): Treat blocks directly inside function
16265 calls like "bare" statements inside function calls, and not
16266 like in-expression statements. This to make indentation of
16267 such blocks consistent with other statements inside macro calls.
16269 * progmodes/cc-engine.el (c-guess-basic-syntax):
16270 Made arglist-cont anchor correctly in arglists that contain statements.
16272 * progmodes/cc-engine.el (c-guess-basic-syntax):
16273 Fix consistent anchoring of defun-block-intro in defuns in code
16274 blocks (can only occur in Pike).
16276 * progmodes/cc-engine.el (c-looking-at-inexpr-block)
16277 (c-looking-at-inexpr-block-backward): Change the arguments to
16278 require containing sexps and paren state, for better efficiency.
16280 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16282 * progmodes/cc-cmds.el, progmodes/cc-engine.el,
16283 progmodes/cc-vars.el: Improved anchoring of statement and
16284 handling of labels in front of substatements.
16286 (c-guess-continued-construct, c-guess-basic-syntax):
16287 Improve and unified anchoring at statements. Statements beginning
16288 with comments or labels are now avoided, by going out of
16289 blocks and containing statements if necessary. This nesting
16290 handling also fixes the case when there's a statement after a
16291 block open brace. Added the syntactic symbol `substatement-label'.
16293 (c-electric-colon): Map the new `substatement-label' to
16294 `label' when consulting `c-hanging-colons-alist'.
16296 (c-offsets-alist): Add substatement-label. Updated the
16297 comments for the new anchoring positions at statements.
16299 * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
16300 anchor points for knr-argdecl-intro and access-label.
16301 They used to refer to some point on the same line, a bug which was
16302 neutralized by a kludge in `c-get-syntactic-indentation' which
16303 ignored such anchor points.
16305 (c-get-syntactic-indentation): Remove the kludge that was
16306 necessary due to buggy anchor points.
16308 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
16309 the absence of a comma before arglist-close (case 7A) in any
16310 language, since there's nothing better to do that case anyway.
16311 Added special case to make in-expression statements be
16312 recognized as normal arglist-cont if we're directly in a macro
16313 arglist, for consistency with other "bare" statements.
16315 * progmodes/cc-engine.el (c-looking-at-bos): Add optional
16316 limit arg for backward searches.
16318 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
16319 Anchor gcc in-expression statements at the surrounding open
16320 parenthesis. Treat a class body as an in-expression class if
16321 it's used in an object clone expression in Pike.
16323 * progmodes/cc-engine.el (c-get-offset)
16324 (c-get-syntactic-indentation): Allow several anchor positions
16325 in the list of syntactic symbols. Only the first is used as
16326 the base for the offset calculation.
16328 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16330 * progmodes/cc-cmds.el (c-indent-defun): Indent the current
16331 macro if inside one at the top level. Do not throw an error
16332 if used at the top level outside a macro.
16334 * progmodes/cc-cmds.el (c-backslash-region): Do tab width
16335 alignment only if the backslashes can't be aligned with
16336 surrounding backslashes.
16338 * progmodes/cc-engine.el (c-end-of-macro): New function.
16340 * progmodes/cc-engine.el (c-least-enclosing-brace):
16341 Rewritten to not be destructive.
16343 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16345 * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
16346 line break when point is inside the content of it; if it's in
16347 the cpp keyword a normal line break is done.
16349 * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
16350 cpp-macro-cont inside the argument list to a #define.
16352 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16354 * progmodes/cc-defs.el (c-forward-comment): Implemented a
16355 kludge to avoid the problem most forward-comment incarnations
16356 have with `\' together with comment parsing.
16358 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16360 * progmodes/cc-engine.el (c-check-state-cache): Fix bug
16361 which could cause the state returned by `c-parse-state' to
16362 lack a closed paren element. That in turn could result in
16363 very long searches, since it's common that they start from the
16364 last preceding close brace.
16366 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16368 * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
16369 treat else-if as a single continuation, since that'd make it
16370 hard to get the right anchor point when there's a line break
16371 between the two keywords. This change causes else-clause to
16372 be anchored on the closest preceding else-if and not always on
16373 the starting if, but that doesn't affect the indentation for
16374 any reasonably sane style. Also introduced a noerror flag.
16376 (c-beginning-of-closest-statement): Remove;
16377 c-beginning-of-statement-1 now avoids the problem this one solved.
16379 * progmodes/cc-engine.el (c-guess-continued-construct)
16380 (c-guess-basic-syntax): Better and more uniform anchor points
16381 for 'statement-cont and 'substatement. The effect is
16382 noticeable mostly when there's a label on the same line as the
16383 beginning of the statement, or when there are more stuff
16384 before the start of the statement.
16386 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
16387 Add flag to disable looking at the type of the surrounding paren
16388 since that confuses c-beginning-of-statement-1 and a couple of
16391 * progmodes/cc-engine.el (c-guess-basic-syntax):
16392 Avoid stepping to the previous statement in case 18.
16393 Improvements in recognition of statement blocks on the top level.
16395 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16397 * progmodes/cc-engine.el (c-beginning-of-statement-1)
16398 (c-crosses-statement-barrier-p): Rewritten to get a well
16399 defined and documented behavior. This fixes some tricky cases
16400 in recognition of do-while constructs.
16402 (c-backward-to-start-of-do, c-backward-to-start-of-if):
16403 Remove; use c-beginning-of-statement-1 instead.
16405 (c-guess-continued-construct, c-guess-basic-syntax):
16406 Various fixes to not depend on the bugs previously in
16407 c-beginning-of-statement-1. Cleanups in cases 18 and 17 to
16408 use the new behavior of c-beginning-of-statement-1 better.
16409 Fixed recognition of catch blocks inside macros.
16411 * progmodes/cc-engine.el (c-backward-syntactic-ws): Fix bug
16412 in skipping over a macro.
16414 * progmodes/cc-langs.el (c-label-kwds): New variable to
16415 contain the appropriate c-*-label-kwds value.
16417 * progmodes/cc-vars.el (defcustom-c-stylevar): Fix value
16418 evaluation bug that caused the widget for
16419 c-block-comment-prefix to bug out.
16421 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16423 * progmodes/cc-engine.el (c-guess-basic-syntax):
16424 Improve recognition of statements: They are now recognized in
16425 contexts where they normally can't occur, e.g. on the top level or
16426 in function call arguments. This is mainly useful to recognize
16427 statements in macros at the top level, and in arguments to
16428 macros. The cases has been moved around quite a bit, and case
16429 10 has been copied to case 18. (The cases has not been
16430 renumbered because of this.)
16432 (c-guess-continued-construct): New function which has the
16433 rules which are common between cases 10 and 18.
16435 * progmodes/cc-engine.el (c-beginning-of-statement-1)
16436 (c-backward-to-start-of-do, c-backward-to-start-of-if):
16437 Fixes so that they really obey the passed limits.
16439 (c-safe-position): Return nil if the state doesn't contain a
16442 (c-guess-basic-syntax): Fixes some too short limits in calls
16443 to c-beginning-of-statement-1. Some fixes for top level
16444 analysis in ObjC mode.
16446 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16447 Fix bug in do-while statements where the body is not a block.
16449 * progmodes/cc-styles.el (c-set-style):
16450 Reset c-special-indent-hook to its global value if in override mode.
16451 Fixes problem where functions on that hook remained after
16454 * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
16455 Use c-benign-error to report the c-strict-syntax-p error.
16457 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16459 * progmodes/cc-align.el, progmodes/cc-defs.el:
16460 * progmodes/cc-cmds.el, progmodes/cc-engine.el, progmodes/cc-vars.el:
16461 Several fixes to treat macros as code and not literals and to
16462 handle line continuations transparently.
16464 (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
16465 through whitespace and line continuations, but not comments
16468 (c-in-literal): No longer recognizes macros as literals by
16469 default. An extra flag argument is required to do that.
16471 (c-macro-start, c-query-macro-start)
16472 (c-query-and-set-macro-start): Add a cache for the macro
16475 (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
16476 more speed when limits are given. Workaround for bad behavior
16477 in forward-comment in some emacsen when it hits a buffer limit
16478 with a large repeat count.
16480 (c-lineup-macro-cont): Improve behavior when
16481 c-syntactic-indentation-in-macros is nil.
16483 (c-syntactic-indentation-in-macros, c-backslash-max-column)
16484 (c-auto-align-backslashes): New customization variables to
16485 control macro handling.
16487 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
16488 Fixes to handle line continuations.
16490 * progmodes/cc-defs.el, progmodes/cc-styles.el
16491 (c-get-style-variables, c-set-offset): Report style errors
16492 with message and ding instead of error signal. This to avoid
16493 interrupted mode init if there's some style problem.
16495 (c-benign-error): New macro to report errors that doesn't need
16496 to interrupt the operation.
16498 * progmodes/cc-defs.el (c-point): Add eonl and eopl positions.
16500 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16502 * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
16503 Remove most of the c-state-cache fiddling, since the global
16504 state cache now handles this.
16506 * progmodes/cc-engine.el (c-guess-basic-syntax): Fix bug
16507 when there's an open paren at the very first char of the
16508 visible buffer region.
16510 * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
16511 Cache the state globally and invalidate it below every buffer
16512 change with the new after change function
16513 `c-check-state-cache'. This gives a considerable performance
16514 boost when editing large functions or classes.
16516 * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
16518 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16520 * progmodes/cc-engine.el, progmodes/cc-langs.el,
16521 progmodes/cc-align.el: Improvements to syntactic analysis
16524 (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
16525 by `c-guess-basic-syntax'.
16527 (c-parse-state): Fix bug with braces inside macros when
16528 using cached state info.
16530 (c-forward-to-cpp-expression): New function to aid in
16531 syntactic analysis inside macros.
16533 (c-beginning-of-statement-1, c-backward-syntactic-ws):
16534 Fixes to work better inside macros.
16536 (c-forward-syntactic-ws): Whitespace between the # and the
16537 command should be allowed in preprocessor directives.
16539 (c-lineup-macro-cont): New lineup function to get context
16540 sensitive indentation inside macros.
16542 (c-offsets-alist): Made `c-lineup-macro-cont' the default for
16545 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16547 * progmodes/cc-engine.el (c-beginning-of-statement-1)
16548 (c-forward-syntactic-ws): Fixes to handle continued lines.
16550 (c-backward-to-start-of-if, c-guess-basic-syntax):
16551 Do syntactic analysis inside macros.
16553 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16555 * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
16556 possible by the more flexible state cache.
16558 * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
16559 (c-whack-state-after, c-hack-state)
16560 (c-narrow-out-enclosing-class, c-guess-basic-syntax):
16561 Improve the state cache system. It now can use partial info from
16562 an old cached state to calculate a new one at a different
16563 position. Removed some kludges to avoid the state cache.
16564 The new functions `c-whack-state-before' and `c-whack-state-after'
16565 replace the now obsolete `c-whack-state'.
16567 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16568 Optimize backing through a macro. This can speed things up
16569 quite a bit when there are long macros before point.
16571 (c-beginning-of-macro): Do not ignore the limit.
16573 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16575 * progmodes/cc-cmds.el (c-electric-continued-statement):
16576 Fix a bug where the keyword wasn't reindented correctly if
16577 followed by another keyword or identifier.
16579 * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
16580 pairs that are in macros. Fixes some cases where e.g. the
16581 second of two "do { } while (0)" macros after each other
16582 indented differently.
16584 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16586 * progmodes/cc-engine.el (c-beginning-of-macro)
16587 (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
16588 directive when it begins a line, to allow for script
16589 interpreter lines like "#!/usr/bin/pike" at the beginning of
16592 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16594 * progmodes/cc-engine.el (c-looking-at-inexpr-block):
16595 Recognize brace blocks inside a parenthesis expression as
16596 inexpr-statement. Useful when writing statements as macro arguments.
16598 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16600 * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
16601 (c-mask-comment): Broke out the comment masking code from
16602 `c-fill-paragraph' to a new function `c-mask-comment', to be
16603 able to do the same thing in `c-do-auto-fill'. This should
16604 make auto-fill-mode behave better.
16606 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16608 * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
16609 Check `executing-macro' to avoid blinking parens when macros
16612 * progmodes/cc-mode.el, progmodes/cc-styles.el
16613 (c-setup-filladapt): Move from cc-mode.el to cc-styles.el for
16614 consistency with `c-setup-paragraph-variables' (which was
16615 placed there due to the dependency from `c-set-style').
16617 * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
16618 incomplete initialization from the style variable fallbacks if
16619 there already is a style called "user" defined when CC Mode
16620 starts up for the first time.
16622 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16624 * progmodes/cc-cmds.el, progmodes/cc-vars.el
16625 (c-comment-indent, c-indent-comment-alist): Add new variable
16626 `c-indent-comment-alist' to allow better control over
16627 `c-comment-indent'.
16629 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16631 * progmodes/cc-align.el (c-lineup-C-comments): Try to match
16632 both `comment-start-skip' and the comment prefix on the
16633 current line with the comment starter, so that we line up
16634 comments which matches `c-comment-prefix-regexp' on the first
16635 line (after the `/') without the need to make
16636 `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
16638 * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
16639 (c-set-style-1, c-setup-paragraph-variables): Move the
16640 variable initialization based on `c-comment-prefix-regexp' to
16641 a new function `c-setup-paragraph-variables', which is now
16642 used both at mode init and when a style that sets
16643 `c-comment-prefix-regexp' is activated.
16645 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16647 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
16648 Better handling of C++ template args to avoid confusion with
16649 `<' and `>' used as operators in member init expressions.
16651 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16653 * progmodes/cc-engine.el (c-most-enclosing-brace)
16654 (c-least-enclosing-brace): Add optional second arg to limit
16655 the search to before a certain point.
16657 * progmodes/cc-engine.el (c-guess-basic-syntax): Fix bug which
16658 could cause incorrect analysis if a cached state is used (usually
16659 only happens when an electric key reindents a line).
16661 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16663 * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
16664 insulation. This time for XEmacs 21.
16666 * progmodes/cc-engine.el, progmodes/cc-langs.el:
16667 Improved handling of inheritance lists:
16669 (c-beginning-of-inheritance-list): Rewritten to use a more
16670 syntactically correct method that doesn't get confused by
16671 badly placed linebreaks and comments.
16673 (c-guess-basic-syntax): Several fixes to the handling of
16674 inheritance lists in combination with templates. 'inher-intro
16675 is now anchored on the start of the class declaration and not
16676 the indentation of the current line. Switched places on cases
16677 5D.3 and 5D.4 and made them use more syntactically correct methods.
16679 (c-inher-key): Remove since the code in
16680 `c-guess-basic-syntax' now uses token-based search.
16682 * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
16683 Add a submenu to access some toggles.
16685 (c-toggle-syntactic-indentation): New function to toggle the
16686 variable `c-syntactic-indentation'.
16688 * progmodes/cc-styles.el (c-set-style): Improve the error
16689 message for incorrect offsets a bit.
16691 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16693 * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
16694 sexp follows point immediately, instead find the closest
16695 following open paren that ends on another line.
16697 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16699 * progmodes/cc-align.el (c-lineup-cascaded-calls):
16700 New indentation function.
16702 * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
16703 directives with whitespace between the '#' and the name.
16705 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16707 * progmodes/cc-engine.el (c-forward-syntactic-ws)
16708 (c-backward-syntactic-ws): Handle line continuations as
16709 whitespace. Don't move past a macro if that'd take us past
16712 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16714 * progmodes/cc-engine.el (c-beginning-of-macro)
16715 (c-forward-syntactic-ws): Multiline strings begin with `#"' in
16716 Pike, and that shouldn't be confused with a preprocessor directive.
16718 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16720 * progmodes/cc-cmds.el: Extended the kludge to interoperate
16721 with the delsel and pending-del packages wrt to the new
16722 function `c-electric-delete-forward'.
16724 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16726 * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
16727 the block itself, i.e. only indent the contents in it.
16729 * progmodes/cc-styles.el (c-set-style): Use the default
16730 argument to completing-read instead of initial-contents, if
16731 the function is recent enough to support it.
16733 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16735 * progmodes/cc-mode.el (c-mode-help-address):
16736 Remove bug-gnu-emacs@gnu.org from the receiver list for bug reports.
16737 I've almost never seen a bug reported this way that should go
16738 to that list, but it's rather common that the reports concern
16739 the combination CC Mode and XEmacs instead.
16741 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16743 * progmodes/cc-cmds.el (c-electric-paren): Fix bug when both
16744 brace-elseif-brace and brace-catch-brace are active and
16745 there's a "else if"-block before the catch block.
16747 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
16748 Detect function headers that span lines.
16750 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16752 * progmodes/cc-cmds.el (c-electric-brace)
16753 (c-electric-semi&comma, c-electric-colon, c-electric-paren):
16754 Check for last on line only for doing the auto-newline-mode
16755 stuff, not for the reindentation.
16757 * progmodes/cc-cmds.el (c-electric-brace): Fix bugs in the
16758 handling of c-syntactic-indentation: When it's nil, indent the
16759 new lines but don't reindent the current one. Reindent the
16760 line only when the inserted brace comes first on it, instead
16763 * progmodes/cc-cmds.el (c-electric-brace)
16764 (c-electric-semi&comma): Fix two places where
16765 c-syntactic-indentation wasn't heeded.
16767 * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
16770 * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
16771 little harder to find a fallback position when an orphan else
16772 is found. Fixed case where an else following a do-while
16773 statement could be associated with an if inside the do-while.
16775 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16777 * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
16778 for the fallback to add a single space after the comment prefix.
16780 * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
16781 behavior in some special cases, especially for single-line comments.
16782 Avoid breaking up a comment starter or ender.
16784 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16786 * progmodes/cc-cmds.el (c-outline-level): Applied patch from
16787 the Emacs sources to make this work in invisible text.
16789 * progmodes/cc-langs.el (c-switch-label-key): Fix regexp to
16790 not be confused by a later ':' on the same line as the label.
16792 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16794 * progmodes/cc-cmds.el, progmodes/cc-mode.el
16795 (c-electric-delete, c-electric-delete-forward):
16796 Split `c-electric-delete' into two functions where
16797 `c-electric-delete-forward' always deletes forward and
16798 `c-electric-delete' only contains the code necessary for
16799 XEmacs to choose between backward and forward deletion.
16800 `c-electric-delete-forward' is now bound to C-d to get the
16801 electric behavior on that key too.
16803 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16805 * progmodes/cc-cmds.el (c-fill-paragraph): Fix bogus direct
16806 use of c-comment-prefix-regexp, which caused an error when
16809 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16811 * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
16812 (c-default-style): Remove the hardcoded switch to "java" style
16813 in Java mode. It's instead taken care of by the default value
16814 for c-default-style.
16816 2002-04-22 Martin Stjernholm <mast@lysator.liu.se>
16818 * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
16819 was triggered by equal signs in string literals.
16821 2002-04-21 Kim F. Storm <storm@cua.dk>
16823 * subr.el (insert-buffer-substring-no-properties): New function.
16824 (insert-buffer-substring-as-yank): New function.
16826 2002-04-21 Glenn Morris <gmorris@ast.cam.ac.uk>
16828 * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
16829 (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
16830 prefix from scroll commands. Ignore end-of-buffer errors from
16832 (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
16834 (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
16837 * files.el (auto-mode-alist): .f95 files in f90-mode.
16839 * progmodes/fortran.el (fortran-beginning-do): Make regexp match
16840 a DO statement irrespective of numeric label.
16842 2002-04-20 Glenn Morris <gmorris@ast.cam.ac.uk>
16844 * files.el (auto-save-file-name-transforms): Doc fix.
16845 Add third element to "uniquify" filenames.
16846 (make-auto-save-file-name): Use new element of
16847 auto-save-file-name-transforms.
16848 * startup.el (command-line): Add third element to
16849 auto-save-file-name-transforms.
16851 2002-04-19 Stefan Monnier <monnier@cs.yale.edu>
16853 * files.el (file-name-non-special): Don't mangle the 0'th arg and the
16854 return value of file-name-completion and file-name-all-completions.
16856 2002-04-19 Glenn Morris <gmorris@ast.cam.ac.uk>
16858 * progmodes/f90.el: Update maintainer.
16859 (f90-line-continued): Recognize blank/comment lines embedded in
16860 continuation lines.
16861 (f90-looking-at-program-block-start): No extra indentation after
16862 function or subroutine keyword appears in single quotes.
16864 2002-04-19 Miles Bader <miles@gnu.org>
16866 * custom.el (customize-mark-to-save, customize-mark-as-set)
16867 (custom-quote): Move here from `cus-edit.el'.
16868 * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
16869 (custom-quote): Move to `custom.el'.
16871 2002-04-18 Richard M. Stallman <rms@gnu.org>
16873 * facemenu.el (list-text-properties-at): Command deleted.
16875 * rect.el (insert-rectangle): Use insert-for-yank.
16877 * register.el (insert-register): Use insert-for-yank.
16878 (describe-register-1): Discard text props in yank-excluded-properties.
16880 * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
16881 Fix parts in construction of `menu-item' item at end.
16883 * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
16885 * subr.el (insert-for-yank): New function.
16887 * simple.el (yank-excluded-properties): New user option.
16888 (yank-pop, yank): Use insert-for-yank.
16890 2002-04-19 Kim F. Storm <storm@cua.dk>
16892 * simple.el (pop-to-mark-command): Do not set this-command.
16893 (set-mark-command): Always jump to mark when called with arg.
16895 2002-04-18 Francesco Potortì <pot@gnu.org>
16897 * comint.el (comint-watch-for-password-prompt): Remove whitespace
16898 at the beginning of password prompts.
16900 2002-04-18 Andrew Innes <andrewi@gnu.org>
16902 * facemenu.el: Remove require of wid-edit.
16904 2002-04-17 Colin Walters <walters@verbum.org>
16906 * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
16908 (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
16909 (ibuffer-current-state-list): Reinstate optional argument; now
16910 just call `point' inside the mapping function.
16912 2002-04-17 Francesco Potortì <pot@gnu.org>
16914 * dired-aux.el (dired-star-subst-regexp)
16915 (dired-quark-subst-regexp): New constants.
16916 (dired-do-shell-command, dired-shell-stuff-it): Use them.
16917 (dired-do-shell-command): Raise an error if both `*' and `?'
16918 substitution marks are used in the same command.
16919 (dired-shell-stuff-it): Substitute all instances of `*' and `?'
16920 in a command given via dired-do-shell-command.
16922 * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
16924 2002-04-16 Jason Rumney <jasonr@gnu.org>
16926 * international/mule-cmds.el (locale-preferred-coding-systems):
16929 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
16931 * term.el (term-emulate-terminal): Fix last change.
16933 2002-04-16 Pavel JanÃk <Pavel@Janik.cz>
16935 * bindings.el (mode-line-mode-menu): Update names to reflect
16938 2002-04-16 Mike Williams <mdub@bigfoot.com>
16940 * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
16943 2002-04-16 Michael Kifer <kifer@cs.stonybrook.edu>
16945 * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
16946 (viper-ex-print-buf-name): New variable.
16947 (viper-ex-print-buf): New variable.
16948 (ex-token-alist): Invoke ex-print on ":print" Ex commands.
16949 (ex-g-marks): New variable.
16950 (ex-print): New function.
16951 (ex-print-display-lines): New function.
16953 * viper.el (viper-set-hooks): Add window-setup-hook, which sets
16956 * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
16957 when the window is not in its own frame.
16958 (ediff-clone-buffer-for-region-comparison): More robust window
16959 arrangement while prompting for regions to compare.
16960 (ediff-make-cloned-buffer): Use generate-new-buffer-name.
16961 (ediff-inferior-compare-regions): Delete unused vars
16962 ctl-buf and quit-now.
16964 2002-04-15 Richard M. Stallman <rms@gnu.org>
16966 * facemenu.el (facemenu-add-new-face): Use this only for faces.
16968 (facemenu-add-new-color): New function.
16969 (facemenu-set-foreground, facemenu-set-background):
16970 Use facemenu-add-new-color.
16972 2002-04-15 Eli Zaretskii <eliz@is.elta.co.il>
16974 * ediff-init.el (ediff-current-diff-face-A)
16975 (ediff-current-diff-face-B, ediff-current-diff-face-C)
16976 (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
16977 (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
16978 (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
16979 (ediff-even-diff-face-B, ediff-even-diff-face-C)
16980 (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
16981 (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
16982 (ediff-odd-diff-face-Ancestor): Add special color definitions for
16983 tty and MS-DOS displays.
16985 2002-04-15 Andrew Innes <andrewi@gnu.org>
16987 * facemenu.el: Require wid-edit.
16989 2002-04-15 Miles Bader <miles@gnu.org>
16991 * faces.el (highlight): Force foreground to be black on a tty, so
16992 this face is readable on a dark-background tty.
16993 * wid-edit.el (widget-field-face, widget-single-line-field-face):
16996 2002-04-14 Kim F. Storm <storm@cua.dk>
16998 * simple.el (pop-to-mark-command, push-mark-command): New commands.
16999 (set-mark-command): Use them.
17000 Enhanced functionality when command is repeated:
17001 - If first command set the mark (no prefix arg), repeat temporarily
17002 enables transient-mark-mode.
17003 - If first command jumped to mark off ring (with argument),
17004 repeat (with or without arg) jump to next mark off ring.
17005 - Use C-u C-u prefix to set mark after jump.
17006 (exchange-point-and-mark): Temporarily enable transient-mark-mode
17009 2002-04-14 Pavel JanÃk <Pavel@Janik.cz>
17011 * speedbar.el (speedbar-tag-hierarchy-method)
17012 (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
17014 2002-04-14 Mike Williams <mdub@bigfoot.com>
17016 * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
17017 beginning of buffer.
17019 2002-04-14 Pavel JanÃk <Pavel@Janik.cz>
17021 * speedbar.el (speedbar-generic-item-info)
17022 (speedbar-sort-tags): Doc fix.
17023 (speedbar-add-supported-extension): Fix typo in interactive spec.
17025 2002-04-13 Colin Walters <walters@verbum.org>
17027 * ibuffer.el (ibuffer-forward-line): Just skip header if we're
17028 only moving one line forward.
17029 (ibuffer-map-lines): Preserve point position even if we delete
17030 lines. Only call mapping functions with buffer and mark
17031 arguments; the other two were unused.
17032 (ibuffer-redisplay, ibuffer-update): Always skip special areas.
17034 * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
17036 * calc/calc-bin.el (math-format-radix-float): Use `when'.
17038 * calc/calc.el (math-format-number): Load `calc-ext' before we
17039 call `math-group-float'.
17041 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17042 Rename from `gamegrid-add-score'.
17043 (gamegrid-add-score-insecure): Restored from the old
17044 `gamegrid-add-score'.
17045 (gamegrid-add-score): Just dispatch on `system-type' to one of the
17046 previous two functions.
17048 2002-04-13 Pavel JanÃk <Pavel@Janik.cz>
17050 * iswitchb.el: Update commentary to include new function
17051 iswitchb-exclude-nonmatching.
17053 2002-04-12 John Wiegley <johnw@gnu.org>
17055 * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
17056 operating systems to the regexp used to detect a script's interpreter.
17058 2002-04-12 Eli Zaretskii <eliz@is.elta.co.il>
17060 * frame.el (frames-on-display-list): Use `equal' to compare the
17061 `display' frame parameter to the argument DISPLAY.
17063 2002-04-12 Dave Love <fx@gnu.org>
17065 * help.el (string-key-binding): Deal with margin events.
17067 2002-04-12 Francesco Potortì <pot@gnu.org>
17069 * comint.el (comint-password-prompt-regexp): Match " SMB password".
17071 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
17073 * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
17075 * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
17077 * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
17078 (buffer-syntactic-context-depth): New funs.
17080 * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
17083 * emacs-lisp/debug.el (debug-on-entry): Use push.
17084 (debugger-make-xrefs): Don't assume point-min == 1.
17086 * progmodes/cc-engine.el (c-backward-to-start-of-if):
17087 Don't assume point-min == 1.
17089 * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
17090 (etags-list-tags, etags-tags-apropos, select-tags-table):
17091 Don't assume point-min == 1.
17093 2002-04-12 Mike Williams <mdub@bigfoot.com>
17095 * textmodes/sgml-mode.el (sgml-guess-indent): New function.
17097 2002-04-11 Stefan Monnier <monnier@cs.yale.edu>
17099 * textmodes/fill.el (fill-context-prefix): Fix up last change.
17101 * simple.el (line-move): Use memq rather than or.
17102 (transpose-sexps): Don't presume as much of forward-sexp's behavior.
17103 (do-auto-fill): Use fill-move-to-break-point.
17104 (syntax-code-table): Remove.
17106 * textmodes/fill.el (canonically-space-region): Obey sentence-end.
17107 Don't add spaces at end of sentences at end of line.
17108 (fill-move-to-break-point): Make sure the result is always greater
17109 than linebeg, so we ensure forward progress.
17110 (fill-region-as-paragraph): Compare to `to' rather than eobp.
17111 (fill-paragraph): Don't rebind fill-paragraph-function.
17113 2002-04-11 Pavel JanÃk <Pavel@Janik.cz>
17115 * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
17117 2002-04-11 Andreas Schwab <schwab@suse.de>
17119 * files.el (file-name-non-special): Handle return value of t from
17120 `file-name-completion'.
17122 2002-04-10 Stefan Monnier <monnier@cs.yale.edu>
17124 * textmodes/fill.el (fill-context-prefix): Match the two prefixes
17125 differently to avoid pathological exponential-time case.
17126 (adaptive-fill-regexp): Add ! and %.
17127 (fill-delete-prefix): Remove indentation while removing prefix.
17128 (fill-delete-newlines): Obey sentence-end.
17129 (fill-move-to-break-point, fill-newline): New functions extracted
17130 from fill-region-as-paragraph.
17131 (fill-region-as-paragraph): Use them.
17132 Don't fiddle with fill-indent-according-to-mode.
17134 2002-04-10 Colin Walters <walters@verbum.org>
17136 * play/snake.el (snake-score-file): Default to just "snake-scores".
17138 * play/tetris.el (tetris-score-file): Likewise.
17140 * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
17141 use `update-game-score'.
17143 * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
17144 (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
17145 ourselves; take it as an argument. Caller updated.
17146 (ibuffer-mode): Make mode-class special.
17148 2002-04-10 Richard M. Stallman <rms@gnu.org>
17150 * dired.el (dired-view-command-alist): New variable.
17151 (dired-view-file): Use external viewers for some files names.
17153 * mouse.el (mouse-drag-region-1): Display region highlight
17154 only in the selected window.
17156 * subr.el (remove-hook): When there are no more local hooks,
17157 kill the buffer-local value.
17159 * isearch.el (isearch-mode): Don't call make-frame-visible
17160 if frame is already visible.
17162 * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
17164 2002-04-09 Emmanuel Briot <briot@act-europe.fr>
17166 * progmodes/ada-prj.el: Add support for the new project file
17167 fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd.
17168 Fix widget handling for Emacs 21. ada-mode now only supports a single
17169 active project file, instead of one per buffer. This is far less
17172 * progmodes/ada-stmt.el: Menu changed from Statements to Templates.
17173 (ada-func-or-proc-name): Get real subprogram name, after change in
17176 * progmodes/ada-xref.el: Ada-mode no longer supports a different
17177 project file per buffer. This was too complex. Instead, there is
17178 now a single active project file at any given time, and the user
17179 can switch the active one through the Ada menu. This revision
17180 also provides better handling of the Windows command line, and the
17181 various available shells on that platform. ada-mode is now fully
17182 integrated with the GNU visual debugger gvd, see
17183 http://libre.act-europe.fr.
17184 (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.
17185 This is only available with GNAT 3.14.
17186 (ada-prj-gnatfind-switches, ada-cd-command): New variable.
17187 (ada-quote-cmd): New function.
17188 (ada-initialize-runtime-library): Get the location of the actual
17189 runtime the compiler will be using, including support for
17190 cross-platform environments.
17191 (ada-treat-cmd-string): Add support for the new variable
17192 ${full_current} add support for debug-pre-cmd and debug-post-cmd,
17193 two commands to run just prior to running the debugger, and just
17194 after starting it. This provide better support for cross-platform
17195 and remote debugging.
17196 (ada-get-absolute-dir): Remove, replace with expand-file-name.
17197 (ada-gdb-application): New parameter executable-name.
17198 (ada-get-ali-file-name): Better handling of separate packages.
17199 Checkin on behalf of the ada-mode maintainer.
17201 * progmodes/ada-mode.el (ada-case-exception-file)
17202 (ada-indent-handle-comment-special): New variables.
17203 (ada-case-exception-substring): New variable. Casing exceptions
17204 can now also be defined for substrings, in addition to full
17205 identifier names. This provides more flexibility.
17206 (ada-align-list): New fun, provide support for align.el in ada-mode.
17207 (ada-procedure-start-regexp): Add support for operators and
17208 generic formal subprograms and packages.
17209 (ada-imenu-comment-re): New variable.
17210 (ada-imenu-generic-expression): Add support for protected types.
17211 (ada-mode): Set comment-start only after running ada-mode-hook, so
17212 that the user can change ada-comment-start in the hook.
17213 Add support for ispell in comments. Add support for align.el.
17214 (ada-save-exception-file, ada-create-case-exception-substring)
17215 (ada-adjust-case-substring): New functions.
17216 (ada-get-current-indent): Properly handles keywords with uppercases.
17217 (ada-goto-matching-end): Rewritten, fixes problems in the handling
17219 (ada-untab-hard): Do not touch the contents of comments and strings.
17221 2002-04-09 Mike Williams <mdub@bigfoot.com>
17223 * textmodes/sgml-mode.el (sgml-lexical-context):
17224 Use sgml-parse-tag-backward to find start point.
17225 (sgml-looking-back-at): Doc fix.
17227 2002-04-09 Pavel JanÃk <Pavel@Janik.cz>
17229 * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
17232 2002-04-08 Stefan Monnier <monnier@cs.yale.edu>
17234 * autorevert.el (auto-revert-mode, global-auto-revert-mode):
17235 Use define-minor-mode.
17236 (auto-revert-buffers): Use with-current-buffer.
17237 Avoid changing the minor modes.
17239 * international/iso-acc.el (iso-accents-accent-key): Use `vector'
17240 rather than char-to-string since last-input-char can be any event.
17242 * international/titdic-cnv.el (tit-dictionary):
17243 Use defvar for non-constants.
17245 * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
17246 (global-cwarn-mode): Use easy-mmode-define-global-mode.
17247 (cwarn-font-lock-keywords): New function.
17248 Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
17249 (cwarn-font-lock-match): New macro.
17250 (cwarn-font-lock-match-assignment-in-expression)
17251 (cwarn-font-lock-match-dangerous-semicolon)
17252 (cwarn-font-lock-match-reference): Use it.
17254 * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
17255 Use defvar rather than defconst since it's meant to be settable.
17256 (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
17257 (cperl-fix-line-spacing): Add missing \ in [ t].
17259 * loadup.el: Call ucs-unify-8859 directly rather than
17260 unify-8859-on-encoding-mode.
17261 (fns-*.el): Don't use it anymore. Keep the load-history in purespace.
17263 * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
17264 (sgml-mode): Use it for comment-line-break-function.
17266 2002-04-08 Jason Rumney <jasonr@gnu.org>
17268 * international/mule-cmds.el (reset-language-environment):
17269 Handle coding-systems not being defined yet.
17271 2002-04-08 Sam Steingold <sds@gnu.org>
17273 * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
17274 (vc-cvs-checkin): Use it.
17276 2002-04-08 Pavel JanÃk <Pavel@Janik.cz>
17278 * files.el (display-time-string): Fix last change.
17280 2002-04-07 Sam Steingold <sds@gnu.org>
17282 * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
17284 2002-04-07 Jason Rumney <jasonr@gnu.org>
17286 * international/mule-cmds.el (set-default-coding-systems)
17287 (reset-language-environment): Preserve eols on
17288 default-process-coding-system.
17289 (coding-system-change-text-conversion): Fix case where CODING is nil.
17291 2002-04-07 Pavel JanÃk <Pavel@Janik.cz>
17293 * subr.el (play-sound): Move here from simple.el.
17295 * simple.el (play-sound): Move to subr.el.
17297 2002-04-06 Richard M. Stallman <rms@gnu.org>
17299 * files.el (display-time-string-forms): Mark as risky.
17301 * enriched.el (enriched-decode-foreground, enriched-decode-background):
17302 Use proper format for desired elts of `face' property.
17303 Don't test display-color-p; make the properties unconditionally.
17305 * progmodes/compile.el (compilation-error-regexp-alist):
17306 New alternatives for FILE:LINE.COL and for ranges of columns and lines.
17308 2002-04-06 Per Abrahamsen <abraham@dina.kvl.dk>
17310 * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
17311 for customization type.
17312 Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
17314 2002-04-06 Mike Williams <mdub@bigfoot.com>
17316 * textmodes/xml-lite.el: Remove.
17318 2002-04-05 Pavel JanÃk <Pavel@Janik.cz>
17320 * simple.el (play-sound): New function (uses play-sound-internal).
17322 2002-04-04 Richard M. Stallman <rms@gnu.org>
17324 * files.el (mode-line-format, mode-line-modified)
17325 (mode-line-mule-info, mode-line-buffer-identification)
17326 (mode-line-modes, mode-line-position): Explicitly mark as risky.
17327 (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
17329 * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
17331 * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
17332 Use (syntax-table), not old-syntax-table.
17334 * enriched.el (enriched-decode-foreground)
17335 (enriched-decode-background): Don't call facemenu-get-face.
17337 2002-04-04 Mike Williams <mdub@bigfoot.com>
17339 * textmodes/sgml-mode.el: Add missing require.
17340 (sgml-lexical-context): Fix up CDATA detection for boundary cases.
17342 2002-04-03 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
17344 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
17345 spot indicated by text property `cvs-goal-column', if present.
17347 * pcvs-info.el (cvs-fileinfo-pp): Use text property
17348 `cvs-goal-column' to indicate position of file name (if present).
17350 2002-04-03 Richard M. Stallman <rms@gnu.org>
17352 * mail/mailabbrev.el (mail-abbrev-complete-alias):
17353 Call mail-abbrev-make-syntax-table.
17355 * format.el (format-deannotate-region): Doc fix.
17357 * enriched.el (enriched-face-ans): Delete special treatment
17358 for fg:... and bg:... faces.
17359 (enriched-decode-foreground): Return a list that specifies
17360 the foreground color, rather than creating a face.
17361 (enriched-decode-background): Likewise.
17363 * shell.el (shell-mode): Don't reinit comint-input-ring
17364 if that was already done.
17366 2002-04-03 Edward M. Reingold <reingold@emr.cs.iit.edu>
17368 * solar.el (solar-spring-or-summer-season): Delete.
17369 (solar-northern-spring-or-summer-season): New variable.
17370 (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
17373 * solar.el (diary-sabbath-candles-minutes): New variable.
17374 (diary-sabbath-candles): Use it instead of fixed 18 minutes.
17376 * calendar.el (update-calendar-mode-line): Force mode-line update.
17377 Make date under the cursor available as `date' in
17378 calendar-mode-line-format.
17379 Eval items in calendar-mode-line-format list.
17381 * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
17382 (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
17384 * cal-tex.el (cal-tex-latexify-list): Fix doc string.
17386 * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
17387 (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
17388 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17389 (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
17391 * cal-tex.el: Change all instances (interactive "P") to
17393 (cal-tex-cursor-month): Add hfill and newline at end of month that
17395 (cal-tex-preamble): Change to LaTeX2e.
17396 (cal-tex-cursor-filofax-year): Don't use default month names in
17397 LaTeX macros in case user changes them.
17398 (cal-tex-month-name): New function. Used throughout in case user
17399 has done something funny with month names.
17401 * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
17402 (diary-rosh-hodesh): Spelling correction.
17404 2002-04-03 Mike Williams <mdub@bigfoot.com>
17406 * textmodes/sgml-mode.el (sgml-lexical-context)
17407 (sgml-parse-tag-backward): Extend support for CDATA to include
17408 conditional sections.
17410 2002-04-03 Pavel JanÃk <Pavel@Janik.cz>
17412 * cus-start.el: Rename `autoselect-window' to
17413 `mouse-autoselect-window'.
17415 2002-04-02 Richard M. Stallman <rms@gnu.org>
17417 * files.el (hack-one-local-variable):
17418 Clear text props from string value.
17420 2002-04-02 Stefan Monnier <monnier@cs.yale.edu>
17422 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17423 (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
17425 (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
17427 (f90-procedures-re): Add `null' and `cpu_time' from F95.
17428 (f90-font-lock-keywords-1): Minor reorganization so we don't need
17429 `override' any more.
17430 (f90-font-lock-keywords-3): Use `keep' rather than `override'.
17431 (f90-indent-subprogram): Use indent-region.
17432 (f90-break-line): Use indent-according-to-mode.
17434 2002-04-02 Mike Williams <mdub@bigfoot.com>
17436 * textmodes/sgml-mode.el (sgml-close-tag): Rename from
17437 sgml-insert-end-tag. Simplify by using sgml-lexical-context.
17438 (sgml-get-context): Remove use of sgml-inside-tag-p.
17439 (sgml-inside-tag-p): Remove.
17440 (sgml-looking-back-at): Short-circuit at beg of buffer.
17441 (sgml-lexical-context, sgml-calculate-indent): Add support for
17444 2002-04-01 Stefan Monnier <monnier@cs.yale.edu>
17446 * help.el (help-key-description): New fun.
17447 (describe-key-briefly, describe-key): Use it and
17448 this-single-command-raw-keys plus new arg `untranslated'.
17450 * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
17451 (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
17452 (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
17453 (sgml-insert-end-tag): New funs taken from xml-lite.el.
17454 (sgml-calculate-indent): Use them.
17455 (sgml-slash-matching): Rename from sgml-slash.
17456 (sgml-slash): Copy from xml-lite and changed to use
17457 sgml-slash-matching and sgml-quick-keys.
17459 * international/mule-cmds.el (standard-keyboard-coding-systems):
17460 Add koi8-u and koi8-r.
17462 * eshell/.cvsignore: New file.
17464 * eshell/esh-groups.el: Remove.
17466 * progmodes/tcl.el: Change maintainer.
17467 (tcl-electric-hash-style): Change default to nil.
17468 (tcl-imenu-generic-expression): Use tcl-proc-regexp.
17469 (tcl-do-auto-fill): Remove.
17470 (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
17472 2002-04-01 Mike Williams <mdub@bigfoot.com>
17474 * textmodes/sgml-mode.el: Doc fixes.
17475 (sgml-mode): Set indent-line-function to sgml-indent-line.
17476 (sgml-calculate-indent): Add an explicit check for 'text syntax,
17477 to protect against future enhancements to sgml-lexical-context.
17478 (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
17480 * textmodes/xml-lite.el: Removed much redundant stuff.
17481 (xml-lite-parse-tag-backward): Simplify parsing by assuming we
17482 always start within text. Make use of sgml-unclosed-tag-p.
17484 2002-04-01 Ville Skyttä <ville.skytta@xemacs.org>
17486 * progmodes/tcl.el (tcl-imenu-generic-expression): New value.
17487 (tcl-imenu-create-index-function): Function deleted.
17488 (tcl-mode): Check for filladapt-mode.
17489 Use tcl-imenu-generic-expression instead of
17490 tcl-imenu-create-index-function.
17491 (inferior-tcl-mode): Doc fix.
17492 Change not legally significant.
17494 2002-04-01 Pavel JanÃk <Pavel@Janik.cz>
17496 * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
17498 * window.el (handle-select-window): New function.
17501 2002-04-01 Richard M. Stallman <rms@gnu.org>
17503 * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
17505 * toolbar/tool-bar.el (tool-bar-local-item): Rename from
17506 tool-bar-add-item, and new arg MAP.
17507 (tool-bar-add-item): Now calls tool-bar-local-item.
17508 (tool-bar-local-item-from-menu): Rename from
17509 tool-bar-add-item-from-menu, and new arg IN-MAP.
17510 (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
17512 * help-fns.el (help-with-tutorial): Allow various ways
17513 to specify the text in the [...] line, in handling the <...> line.
17515 * progmodes/idlw-rinfo.el (idlwave-system-routines):
17516 WOLRDTITLE => WORLDTITLE. SUPRESS_VALUE => SUPPRESS_VALUE.
17518 * subr.el (redraw-modeline): Define alias.
17520 2002-03-31 Richard M. Stallman <rms@gnu.org>
17522 * files.el (file-expand-wildcards): Use save-match-data.
17524 * files.el (format-alist): Mark as risky.
17526 * simple.el (kill-new): Doc fix.
17528 * emacs-lisp/byte-opt.el (side-effect-free-fns)
17529 (side-effect-and-error-free-fns): Add many functions, remove some.
17531 2002-03-30 Richard M. Stallman <rms@gnu.org>
17533 * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
17535 2002-03-30 Eli Zaretskii <eliz@gnu.org>
17537 * font-lock.el (save-buffer-state): Fix last change.
17539 * files.el (auto-save-file-name-transforms): Fix last change.
17541 * startup.el (command-line): Fix last change.
17543 2002-03-29 Richard M. Stallman <rms@gnu.org>
17545 * subr.el (play-sound-file): Move to simple.el.
17547 * simple.el (play-sound-file): Move from subr.el, made unconditional.
17549 2002-03-29 Colin Walters <walters@verbum.org>
17551 * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
17552 instead of `forward-line'.
17553 (ibuffer-forward-line): Be sure to skip over special properties
17554 before moving, too.
17556 * calc/calc.el (calc-was-split): Var deleted.
17557 (calc): Remove reference to it.
17559 (calc-quit): Ditto.
17560 (calc-init-base): Ditto.
17562 * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
17564 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
17566 * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
17567 instead of nil when point is outside of any tag.
17568 (sgml-beginning-of-tag): Adjust to the change.
17569 (sgml-calculate-indent): Use the new info returned by
17570 sgml-lexical-context. Try to handle unclosed tags.
17572 * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
17573 at unclosed tags unless it is at indentation.
17574 Kill nested unclosed tags.
17575 (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
17576 (xml-lite-mode): Use sgml-indent-line instead.
17578 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
17580 * files.el (auto-save-file-name-transforms): Don't run "\\2" via
17583 * startup.el (command-line): Recompute auto-save-file-name-transforms
17584 using the updated value of temporary-file-directory.
17586 2002-03-29 Stefan Monnier <monnier@cs.yale.edu>
17588 * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
17589 even with an empty context. Don't save excursion any more.
17590 Don't complain about unmatched start-tags in sgml-unclosed-tags.
17591 Ignore end-tags in sgml-empty-tags.
17592 (xml-lite-get-context, xml-lite-calculate-indent)
17593 (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
17594 (xml-lite-indent-line): Use back-to-indentation.
17596 * textmodes/sgml-mode.el (sgml-basic-offset): New var.
17597 (sgml-name-re, sgml-attrs-re): New consts.
17598 (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
17599 (sgml-mode): Use them.
17600 (sgml-lexical-context): Default to (point-min) if nothing else works.
17601 (sgml-calculate-indent): Indent slightly differently.
17602 (sgml-indent-line): Use back-to-indentation.
17603 (sgml-parse-dtd): New function.
17604 (sgml-unclosed-tags): New var.
17605 (html-mode): Set it.
17607 2002-03-29 Simon Marshall <simon.marshall@misys.com>
17609 * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
17611 2002-03-29 Richard M. Stallman <rms@gnu.org>
17613 * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
17614 Use FILTER arg in dired-get-marked-files to exclude directories.
17615 (dired-nondirectory-p): New function.
17617 * dired.el (dired-get-marked-files): New arg FILTER
17618 allows selection of some files.
17620 * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
17622 2002-03-29 Eric M. Ludlam <eric@siege-engine.com>
17624 * speedbar.el (speedbar-default-directory-list): Made robust
17625 against deleted directories.
17627 2002-03-28 Richard M. Stallman <rms@gnu.org>
17629 * dired.el (dired-toggle-marks): Rename from dired-do-toggle.
17632 * progmodes/compile.el (compilation-handle-exit):
17633 If compilation-window-height is 0, display status in echo area.
17635 * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
17637 * rect.el (replace-rectangle): Add autoload.
17639 * files.el: Mark many more variables as risky.
17640 (hack-one-local-variable): Recognize several additional
17643 * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
17645 2002-03-28 Stefan Monnier <monnier@cs.yale.edu>
17647 * textmodes/xml-lite.el (xml-lite-in-string-p):
17648 Use sgml-lexical-context.
17649 (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
17650 (xml-lite-get-context): Check that open/close tags match.
17651 Don't stop scanning while we're ignoring matching tags.
17653 * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
17654 (sgml-mode-syntax-table): Use it.
17655 (sgml-tag-syntax-table, sgml-tag-name-re): New const.
17656 (sgml-tags-invisible): Use it.
17657 (sgml-lexical-context): New fun.
17658 (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
17659 (sgml-quote): Accept \n as entity reference terminator.
17660 (sgml-calculate-indent, sgml-indent-line): New funs.
17662 2002-03-28 Andre Spiegel <spiegel@gnu.org>
17664 * vc-cvs.el (vc-cvs-global-switches): New user option.
17665 (vc-cvs-command): New function. Update all callers of
17666 `vc-do-command' in vc-cvs.el to use this instead.
17668 2002-03-27 Andrew Innes <andrewi@gnu.org>
17670 * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
17671 relying on shell globbing.
17673 2002-03-27 Colin Walters <walters@debian.org>
17675 * ibuffer.el (ibuffer-help-buffer-modes): New variable.
17676 (ibuffer-fontification-alist): Use it.
17677 (ibuffer-backward-line): Handle `ibuffer-summary' area.
17678 (ibuffer-forward-line): Ditto.
17680 * ibuf-ext.el (sorter mode-name): Doc fix.
17681 (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
17682 (operation query-replace): Use new `noerror' arg for
17683 `query-replace-read-args'.
17684 (operation query-replace-regexp): Ditto.
17686 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
17688 * textmodes/xml-lite.el: Fix copyright notice.
17689 (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
17690 (xml-lite-indent-comment-offset): Remove.
17691 (xml-lite-calculate-indent): Use new name. Use natural alignment
17693 (xml-lite-in-string-p): Simplify.
17695 2002-03-27 Pavel JanÃk <Pavel@Janik.cz>
17697 * allout.el (outline-layout): Doc fix.
17699 2002-03-27 Stefan Monnier <monnier@cs.yale.edu>
17701 * textmodes/xml-lite.el: Don't require `custom'.
17702 (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
17703 (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
17704 (xml-lite-get-context): Drop nested tags not just for comments.
17705 (xml-lite-indent-line): Be more careful about moving point.
17706 (xml-lite-insert-end-tag, xml-lite-slash):
17707 Use indent-according-to-mode instead of xml-lite-indent-line.
17708 (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
17709 Set sgml-xml-mode. Don't call force-mode-line-update.
17710 (xml-lite-mode-map): Don't bind TAB.
17712 2002-03-27 Zoltan Kemenczy <zoltan@ieee.org>
17714 * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
17716 (gud-jdb-build-source-files-list): Comment clarification.
17717 (gud-jdb-massage-args): Rework into loop-based argument list
17718 processing in order to support -classpath and -sourcepath argument
17720 (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
17721 to gud-jdb-classpath to obtain search list.
17722 (gud-jdb-parse-classpath-string): Remove any trailing slashes from
17723 directory names in classpath/sourcepath lists, update comment.
17724 (jdb): Add setting of gud-jdb-sourcepath, update comment.
17725 (gud-find-class): Add gud-jdb-sourcepath use, and correct
17726 behavior for the case when classpath is not used--backward
17729 2002-03-27 Eli Zaretskii <eliz@is.elta.co.il>
17731 * Makefile.in (compile, compile-always): Don't try to compile
17732 non-existent files or files in empty directories.
17734 2002-03-26 Michael Ernst <mernst@alum.mit.edu>
17736 * compare-w.el (compare-windows-whitespace): Match all whitespace.
17738 * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
17739 copy of standard Lisp directories.
17741 * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
17742 Support "next has longname" link type.
17744 2002-03-26 Stefan Monnier <monnier@cs.yale.edu>
17746 * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
17747 (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
17749 (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
17750 (end-of-xml-tag): Remove.
17751 (xml-lite-get-context): Better handling of comments.
17752 (xml-lite-calculate-indent): Use xml-lite-in-string-p.
17753 (xml-lite-parse-tag-backward): Rewrite.
17755 2002-03-26 Juanma Barranquero <lektu@terra.es>
17757 * makefile.w32-in (WINS): Add the toolbar directory.
17759 2002-03-26 Richard M. Stallman <rms@gnu.org>
17761 * subr.el (substring-no-properties): Function deleted (now in C).
17763 2002-03-25 Pavel JanÃk <Pavel@Janik.cz>
17765 * mwheel.el (mouse-wheel-mode): Use global-set-key and
17768 2002-03-24 Richard M. Stallman <rms@gnu.org>
17770 * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
17772 * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
17773 to query-replace-read-args.
17775 * progmodes/compile.el (compilation-forget-errors):
17776 Don't adjust compilation-parsing-end if it's nil.
17778 * replace.el (query-replace-read-args): New optional arg NOERROR.
17779 (perform-replace): Use save-window-excursion around recursive edit.
17781 2002-03-24 Colin Walters <walters@verbum.org>
17783 * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
17784 non-nil, then always use another window.
17786 2002-03-24 Gerd Moellmann <gerd@gnu.org>
17788 * subr.el (macro-declaration-function): New function. Set the
17789 variable macro-declaration-function to it.
17791 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17792 Handle declarations in macro definitions.
17794 2002-03-24 Eli Zaretskii <eliz@is.elta.co.il>
17796 * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
17798 * enriched.el (enriched-face-ans): Support FACE of the form
17799 (:foreground COLOR) and (:background COLOR).
17800 (enriched-decode-foreground, enriched-decode-background): Set the
17801 fore- and background colors of the faces we create, since facemenu
17804 2002-03-24 Pavel JanÃk <Pavel@Janik.cz>
17806 * mwheel.el (mouse-wheel-mode): Use the result of
17807 current-global-map instead of the variable `global-map'.
17809 2002-03-23 Richard M. Stallman <rms@gnu.org>
17811 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
17812 broken out of sendmail-pre-abbrev-expand-hook.
17813 (sendmail-pre-abbrev-expand-hook): Use it.
17815 2002-03-22 Stefan Monnier <monnier@cs.yale.edu>
17817 * Makefile.in (finder-inf.el): Remove.
17818 (finder-data): Don't depend on finder-inf.el any more.
17819 (compile, compile-always): Handle the case where some files
17820 from DONTCOMPILE are missing (it tried to compile them).
17821 (bootstrap-clean): Use src/emacs only if executable.
17822 (bootstrap): Update subdirs.el and finder-inf.el.
17824 * finder.el: Don't load finder-inf.el during byte-compilation.
17826 * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
17827 Don't consider cvs-removed files as under VC control.
17828 VC wouldn't handle them properly anyway and it confuses
17829 vc-file-not-found-hook.
17831 * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
17832 Add autoload cookie.
17834 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il>
17836 * calendar/calendar.el (calendar): Doc fix.
17838 2002-03-22 Juanma Barranquero <lektu@terra.es>
17840 * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
17841 (gomoku-font-lock-X-face): Likewise.
17842 (gomoku-font-lock-keywords): Use faces instead of variables.
17844 2002-03-21 Stefan Monnier <monnier@cs.yale.edu>
17846 * Makefile.in (bootstrap): Make sure subdirs.el is ready.
17848 2002-03-21 Kim F. Storm <storm@cua.dk>
17850 * simple.el (open-network-stream, open-network-stream-nowait)
17851 (open-network-stream-server): Use featurep to test for
17852 supported networking features.
17854 2002-03-21 Thien-Thi Nguyen <ttn@gnu.org>
17856 * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
17857 directions as the last action.
17859 2002-03-21 Pavel JanÃk <Pavel@Janik.cz>
17861 * startup.el (fancy-splash-tail, normal-splash-screen):
17864 * novice.el (disabled-command-hook): Clarify output text to match
17867 2002-03-20 Jason Rumney <jasonr@gnu.org>
17869 * frame.el (display-images-p): Do not explicitly check display type.
17871 2002-03-20 Paul Reilly <pmr-sav@hamm.pajato.com>
17874 Eliminate compilation warnings due to `rfc822-addresses'.
17875 (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
17876 warning free compile.
17878 2002-03-20 Michael Kifer <kifer@cs.stonybrook.edu>
17880 * ediff-diff.el (ediff-install-fine-diff-if-necessary):
17881 Take the current highlighting style into account.
17882 (ediff-forward-word-function, ediff-whitespace, ediff-word-1)
17883 (ediff-word-2, ediff-word-3, ediff-word-4): Make them buffer local.
17885 * ediff-init.el (ediff-patch-job): New macro.
17887 * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
17888 (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
17890 * ediff-ptch.el (ediff-map-patch-buffer):
17891 Use ediff-make-new-meta-list-header.
17892 (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
17894 * ediff-util.el (ediff-toggle-hilit): Fix toggling of highlighting.
17895 (ediff-select-difference): Take highlighting style into account.
17896 (ediff-clone-buffer-for-region-comparison): New function.
17897 (ediff-inferior-compare-regions): Add comparison of current diff
17900 * ediff.el (ediff-clone-buffer-for-region-comparison)
17901 (ediff-clone-buffer-for-window-comparison): Move to ediff-util.el.
17903 2002-03-19 Paul Reilly <pmr-sav@hamm.pajato.com>
17905 * mail-utils.el (rmail-dont-reply-to):
17906 Overhaul to correctly apply the regular
17907 expressions in the variable `rmail-dont-reply-to-names' to the list of
17908 destination addresses. Contributed by lorentey@elte.hu.
17910 * rmail.el (rmail-dont-reply-to-names):
17911 Modify the documentation to make it email
17912 address centric rather than login name centric. Contributed by
17915 2002-03-18 Colin Walters <walters@verbum.org>
17917 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
17918 we don't require `cl' at runtime.
17919 (sorting mode mode-name): Don't take the symbol-name of a string.
17921 * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
17922 line after setting the mark.
17923 (ibuffer-insert-buffers-and-marks): Invert the test for
17924 `ibuffer-sorting-reversep'.
17926 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
17928 * international/ucs-tables.el (unify-8859-on-decoding-mode)
17929 (unify-8859-on-encoding-mode): Remove autoload cookie.
17931 2002-03-18 Andre Spiegel <spiegel@gnu.org>
17933 * vc-rcs.el (vc-rcs-register): Fix handling of
17934 vc-[rcs-]register-switches.
17935 (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
17936 Variables removed, since they weren't used yet.
17938 * vc-cvs.el (vc-cvs-register): Fix handling of
17939 vc-[cvs-]register-switches.
17941 * vc-sccs.el (vc-sccs-register): Fix handling of
17942 vc-[sccs-]register-switches.
17944 2002-03-18 Stefan Monnier <monnier@cs.yale.edu>
17946 * loadup.el ("emacs-lisp/backquote"): Load earlier.
17947 ("international/ucs-tables"): Load and turn on
17948 unify-8859-on-encoding-mode unconditionally.
17949 (emacs-version): Use `defconst' rather than `setq'.
17951 * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
17953 2002-03-18 Richard M. Stallman <rms@gnu.org>
17955 * menu-bar.el (menu-bar-options-menu): Cope if
17956 text-mode-hook is not a list.
17958 2002-03-17 Richard M. Stallman <rms@gnu.org>
17960 * emulation/pc-select.el (pc-selection-mode):
17961 Alter the existing global map, don't replace it.
17963 * files.el (list-directory): Set default-directory at the end.
17965 * dabbrev.el (dabbrev--goto-start-of-abbrev):
17966 Put a limit on field-beginning search.
17968 2002-03-17 Simon Josefsson <jas@extundo.com>
17970 * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
17971 (browse-url-mosaic): Use it.
17973 * net/browse-url.el (browse-url-filename-alist): Don't begin
17974 docstring with *, you don't want to set this one with M-x set-variable.
17976 * net/browse-url.el: Put * in user option doc strings.
17978 2002-03-17 Stefan Monnier <monnier@cs.yale.edu>
17980 * textmodes/sgml-mode.el (sgml-xml-mode): Rename from sgml-xml.
17981 (sgml-xml-guess): Simplify.
17982 (sgml-mode-common): Remove (move into sgml-mode).
17983 (sgml-mode): Add code from sgml-mode-common.
17984 Remove redundant setting of indent-line-function.
17985 Don't set skeleton-transformation when in XML mode.
17987 * international/mule-diag.el (describe-char-after):
17988 Use `internal-describe-syntax-value' again (got lost somewhere).
17990 * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
17991 Use unify-8859-on-decoding-mode.
17992 (unify-8859-on-decoding-mode): Also set translation-table-for-input.
17993 (ucs-insert): Give an error if the Unicode char can't be created.
17995 * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
17996 (cvs-parse-status): Handle the "used to have a conflict" marker.
17998 2002-03-17 Kim F. Storm <storm@cua.dk>
18000 The following changes are related to the enhanced network process
18003 * simple.el: Update copyright.
18004 (clone-process): Use make-network-process to clone network
18005 processes. Get command list via (process-contact ... t).
18006 Use set-process-query-on-exit-flag and process-query-on-exit-flag
18007 instead of process-kill-without-query.
18008 (open-network-stream): Replaces C-version from process.c.
18009 (open-network-stream-nowait, open-network-stream-server): New funs.
18010 (process-kill-without-query): Replaces C-version from process.c.
18012 * files.el: Update copyright.
18013 (save-buffers-kill-emacs): Also check for active server
18014 processes. Use process-query-on-exit-flag. Only list processes
18015 which has the query-on-exit flag set in connection with user query.
18017 * shadowfile.el: Update copyright.
18018 (shadow-save-buffers-kill-emacs): Also check for active server
18019 processes. Use process-query-on-exit-flag.
18021 2002-03-16 Simon Marshall <simon.marshall@misys.com>
18023 * imenu.el (imenu-menubar-modified-tick): Rename from
18024 imenu-update-menubar-modified-tick.
18025 (imenu-update-menubar): Update imenu-menubar-modified-tick
18026 whenever outer condition succeeds.
18028 * lazy-lock.el (save-buffer-state):
18029 Bind inhibit-modification-hooks and buffer-file-truename
18030 instead of before-change-functions and after-change-functions.
18032 2002-03-16 Eli Zaretskii <eliz@is.elta.co.il>
18034 * international/codepage.el (codepage-setup): Don't define a
18035 codepage if it is already defined.
18037 * textmodes/po.el (po-content-type-charset-alist): Convert the
18038 car of each association to a string.
18039 (po-find-file-coding-system-guts): If the charset matches a name
18040 of a codepage, set up that codepage and return it as a coding
18041 system to decode the file.
18042 (po-find-charset): Search for the Charset= header even if we've
18043 read less than 4KB.
18044 <top-level>: Remove the setup for all known codepages: it seems
18045 to cause crashes in the CCL driver.
18047 2002-03-16 Pavel JanÃk <Pavel@Janik.cz>
18049 * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
18050 (bibtex-entry-field-alist): Doc fix.
18052 2002-03-16 Richard M. Stallman <rms@gnu.org>
18054 * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
18055 Move definition above cperl-outline-regexp.
18057 * bindings.el (mode-line-mule-info): In computing help-echo prop,
18058 avoid using save-window-excursion. And compile the function.
18060 2002-03-15 Stefan Monnier <monnier@cs.yale.edu>
18062 * files.el (load-completion): New function.
18063 (load-library): Use it.
18065 2002-03-15 Pavel JanÃk <Pavel@Janik.cz>
18067 * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
18068 to match the actual code.
18070 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il>
18072 * textmodes/po.el (po-find-file-coding-system-guts):
18073 Use with-temp-buffer instead of po-with-temp-buffer.
18075 * international/mule-conf.el (file-coding-system-alist): Add an
18076 association for PO files.
18078 * textmodes/po.el: New file.
18080 2002-03-15 Gerd Moellmann <gerd@gnu.org>
18082 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18083 Fix simple loop indentation.
18085 2002-03-14 Miles Bader <miles@gnu.org>
18087 * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
18089 2002-03-14 Richard M. Stallman <rms@gnu.org>
18091 * textmodes/picture.el (picture-insert)
18092 (picture-clear-column, picture-draw-rectangle):
18093 Use move-to-column, not move-to-column-force.
18095 * dired.el (dired-readin): Clear out undo list.
18096 (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
18097 (dired-delete-entry): New function.
18098 (dired-internal-do-deletions): Use dired-fun-in-all-buffers
18099 and dired-delete-entry, to update this buffer (and others).
18101 * dired-aux.el (dired-fun-in-all-buffers): Move to dired.el.
18103 * facemenu.el (facemenu-add-new-face):
18104 Pass region args to facemenu-set-face, when there is a region.
18105 (facemenu-set-foreground, facemenu-set-background)
18106 (facemenu-add-face): Doc fixes.
18108 * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
18110 2002-03-14 Miles Bader <miles@gnu.org>
18112 * emacs-lisp/debug.el: Require `button'.
18113 (debugger-mode-map): Set the parent keymap to `button-buffer-map',
18114 to get TAB and <backtab> bindings.
18116 * net/rlogin.el (rlogin-carriage-filter): Function removed.
18117 (rlogin): Don't install the `rlogin-carriage-filter' filter, as
18118 comint removes carriage returns itself now.
18120 * rfn-eshadow.el (rfn-eshadow-update-overlay):
18121 Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
18122 getting hosed by our own intangible property.
18124 2002-03-13 Stefan Monnier <monnier@cs.yale.edu>
18126 * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
18127 Add fortran-comment-line-start-skip to comment-start-skip.
18128 (fortran-comment-indent): Keep whole-line comments in column 0.
18129 (fortran-find-comment-start-skip): New arg `all'.
18130 If ALL is nil, make sure we only match comment-start-skip if we
18131 can't match fortran-comment-line-start-skip.
18132 Fix bug that made it return t but without moving point when
18133 matching '!'! (a false-comment followed by a real comment).
18134 (fortran-indent-comment): Use new `all' argument above.
18135 Be careful not to add an incorrect comment-starter like "C"
18137 (fortran-split-line): When splitting a comment, reuse the comment
18138 starter from the current line rather than fortran-comment-line-start.
18139 (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
18140 cleaner behavior of fortran-find-comment-start-skip.
18141 (fortran-fill): Don't be confused by ! inside a comment.
18142 (fortran-break-line): Minor cleanup and simplification.
18144 2002-03-13 Francesco Potortì <pot@gnu.org>
18146 * progmodes/etags.el (tag-exact-file-name-match-p)
18147 (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
18150 2002-03-12 Colin Walters <walters@debian.org>
18152 * ibuffer.el (ibuffer-redisplay-current): Don't move point when
18153 redisplaying a line.
18155 2002-03-12 Jan Djärv <jan.h.d@swipnet.se>
18157 * term/x-win.el (emacs-session-restore): Take previous id as
18159 (emacs-session-save): Add comment that return t means cancel shutdown
18161 * startup.el (command-line): Must check that x-session-previous-id
18162 is bound also, for non-X platforms.
18164 2002-03-12 Gerd Moellmann <gerd@gnu.org>
18166 * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
18167 (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
18169 (extended-loop-p, common-lisp-loop-part-indentation): New functions.
18170 (common-lisp-indent-function-1): Rename from
18171 common-lisp-indent-function.
18172 (common-lisp-indent-function): Handle loop forms specially.
18173 (lisp-indent-defmethod): Use car/cdr instead of first/rest.
18174 (lisp-backquote-indentation): New user option.
18176 2002-03-12 Francesco Potortì <pot@gnu.org>
18178 * progmodes/etags.el (tag-exact-file-name-match-p)
18179 (tag-file-name-match-p, tag-partial-file-name-match-p):
18180 Assume that the header of a tags section has either a number
18181 or nothing after the last comma.
18183 2002-03-11 Richard M. Stallman <rms@gnu.org>
18185 * imenu.el (imenu-update-menubar-modified-tick): New variable.
18186 (imenu-update-menubar): Don't call imenu--make-index-alist
18187 if buffer has not changed since last time.
18189 * desktop.el (desktop-buffer-handlers): Doc fix.
18190 (desktop-buffer-file): Explicitly return BUF.
18192 * paren.el (show-paren-function): Move back in other direction
18193 to verify the match is correct.
18195 * mail/supercite.el (sc-select-attribution): Accept whatever value
18196 we get in CHOICE; there is no value meaning "try again".
18198 2002-03-11 Colin Walters <walters@verbum.org>
18200 * shell.el (toplevel): Revert previous change to use pcomplete.
18201 (shell-mode): Ditto.
18202 (shell-pcomplete-setup-done): Remove.
18203 (shell-pcomplete): Ditto.
18204 (shell-pcomplete-reverse): Ditto.
18206 * comint.el: Remove documentation on setting up pcomplete.
18208 2002-03-11 Pavel JanÃk <Pavel@Janik.cz>
18210 * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
18213 * image.el (image-type-from-file-header): Make temporary buffer
18216 * subr.el (add-to-list): Doc fix.
18218 2002-03-11 Miles Bader <miles@gnu.org>
18220 * pcomplete.el (pcomplete-entries): Expand environment variables
18223 2002-03-10 Daniel Pfeiffer <occitan@esperanto.org>
18225 * play/mpuz.el: Use defface instead of facemenu-get-face.
18227 2002-03-10 Jan Djärv <jan.h.d@swipnet.se>
18229 * startup.el (command-line): Add call to emacs-session-restore if
18230 both x-session-id and x-session-previous-id are strings.
18232 * term/x-win.el (x-handle-smid): New function.
18233 (emacs-session-filename): New function.
18234 (emacs-session-save): New function.
18235 (emacs-save-session-functions): New variable.
18236 (emacs-session-restore): New function.
18238 2002-03-09 Eli Zaretskii <eliz@is.elta.co.il>
18240 * simple.el (shell-command-on-region): Call push-mark with
18241 non-nil second arg, to suppress the "Mark set" message.
18243 2002-03-08 Richard M. Stallman <rms@gnu.org>
18245 * textmodes/picture.el (picture-forward-column): New arg `interactive'
18246 is non-nil for an interactive call. Use instead of interactive-p.
18247 (picture-backward-column): Likewise.
18249 * tar-mode.el (tar-untar-buffer): New function.
18251 * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
18252 Put the mouse-face on the entire xref, like the local keymap.
18254 * find-dired.el (find-name-dired): Use shell-quote-argument.
18256 2002-03-08 Daniel Pfeiffer <occitan@esperanto.org>
18258 * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
18259 (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
18260 (mpuz-allow-double-multiplicator): New options for nicer look and
18262 (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
18263 (mpuz-check-all-solved, mpuz-random-puzzle)
18264 (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
18265 (mpuz-show-solution): Functions streamlined and removed french
18266 style space before punctuation, added face support and optional
18267 solving of trivial results.
18269 2002-03-07 Colin Walters <walters@verbum.org>
18271 * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
18273 * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
18274 instead of "recency" for clarity.
18275 (ibuffer-compile-format): Document more. Handle new "summarizer"
18277 (ibuffer-fontify-region-function): Ditto.
18278 (ibuffer-insert-buffer-line): Ditto.
18279 (ibuffer-map-lines): Ditto.
18280 (ibuffer-insert-buffers-and-marks): Ditto.
18281 (ibuffer-update-title-and-summary): Rename from
18282 `ibuffer-update-title'. Handle "summarizer" columns.
18283 (ibuffer-clear-summary-columns): New function.
18285 * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
18287 2002-03-07 Gerd Moellmann <gerd@gnu.org>
18289 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
18290 Use the other-window instead of the other-frame functions when
18291 the window is dedicated.
18293 2002-03-06 ShengHuo ZHU <zsh@cs.rochester.edu>
18295 * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
18296 with SILENT so that a new field can be added.
18298 2002-03-06 Eli Zaretskii <eliz@is.elta.co.il>
18300 * files.el (make-auto-save-file-name): Make sure the produced file
18301 name does not contain characters that are invalid for DOS/Windows
18304 * dos-fns.el, w32-fns.el (make-auto-save-file-name):
18305 Remove replacement functions.
18307 2002-03-06 Gerd Moellmann <gerd@gnu.org>
18309 * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
18312 * vc.el (vc-branch-part): Add autoload cookie. This function can
18313 be called from vc-rcs-find-most-recent-rev when visiting a file
18314 checked into RCS in a CVS sandbox.
18316 2002-03-06 Andreas Schwab <schwab@suse.de>
18318 * progmodes/hideif.el: Augment expression parser to handle
18319 conditional expressions.
18320 (hif-token-regexp): Also match `?' and `:'.
18321 (hif-tokenize): Handle `?' and ':' as tokens.
18322 (hif-expr): Parse conditional expressions.
18323 (hif-or-expr): Parse `||' expressions.
18324 (hif-and-expr): Rename from hif-term.
18325 (hif-conditional): New function to evaluate a conditional
18328 2002-03-06 Pavel JanÃk <Pavel@Janik.cz>
18330 * language/czech.el ("Czech"): Fix the documentation.
18332 * language/slovak.el ("Slovak"): Likewise.
18334 2002-03-05 ShengHuo ZHU <zsh@cs.rochester.edu>
18336 * xml.el (xml-parse-attlist): Accept empty strings.
18338 2002-03-05 Eli Zaretskii <eliz@is.elta.co.il>
18340 * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
18341 all terminals now support highlighting of some kind.
18343 * language/european.el (mac-roman): Fix the safe-chars property.
18345 2002-03-05 Andre Spiegel <spiegel@gnu.org>
18347 * vc.el (vc-transfer-file): Use `make-temp-file'.
18348 (vc-default-update-changelog): Remove conditional use of
18351 * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
18353 2002-03-05 Michael Kifer <kifer@cs.stonybrook.edu>
18355 * ediff-init.el: Comments.
18357 * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
18360 * ediff-mult.el (ediff-intersect-directories)
18361 (ediff-prepare-meta-buffer, ediff-get-directory-files-under-revision):
18363 (ediff-draw-dir-diffs): Now supports the "C" command in directory
18365 (ediff-dir-diff-copy-file): New function that implements copying
18366 of files from one Ediff dir to another.
18367 (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
18368 (ediff-append-custom-diff): Better error msgs.
18370 * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
18371 (ediff-inferior-compare-regions): Use
18372 ediff-clone-buffer-for-region-comparison. Better and simpler interface.
18374 * ediff.el (ediff-directories-internal): Cleanup.
18375 (ediff-clone-buffer-for-region-comparison): Better interface.
18377 2002-03-04 Richard M. Stallman <rms@gnu.org>
18379 * emacs-lisp/easy-mmode.el (define-minor-mode):
18380 Use "P" in interactive spec of minor mode commands.
18382 2002-03-04 Stefan Monnier <monnier@cs.yale.edu>
18384 * faces.el (face-spec-choose): Allow `t' to appear before the end.
18385 (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
18386 (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
18387 (variable-pitch, trailing-whitespace): Don't use the old-style entries.
18388 (mode-line-inactive, header-line): Move the `t' section to the
18389 beginning so the `:inherit' setting can be shared.
18391 2002-03-04 Pavel JanÃk <Pavel@Janik.cz>
18393 * net/snmp-mode.el: Require tempo when compiling to prevent
18394 warnings. Update copyright notice.
18396 * help.el (describe-key-briefly, describe-key): Interpret `undefined'
18397 like not defined at all.
18399 2002-03-03 Stefan Monnier <monnier@cs.yale.edu>
18401 * textmodes/sgml-mode.el: Change maintainer to FSF.
18402 (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
18403 (sgml-tags-invisible, sgml-beginning-of-tag):
18404 Allow _ : and non-ASCII in tag names, as required for XML.
18405 (sgml-name-char): Don't assume anything about charsets handled by
18408 * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
18409 where one of the buffers is narrowed.
18411 * hexl.el (hexlify-command, dehexlify-command): Remove.
18412 (hexlify-buffer, dehexlify-buffer): Use call-process-region
18413 rather than shell-command-on-region.
18415 * newcomment.el (comment-forward): Use forward-comment to skip
18416 over whitespace (or comments) even when comment-use-syntax is nil.
18418 * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
18420 * textmodes/xml-lite.el: New file.
18422 2002-03-03 Richard M. Stallman <rms@gnu.org>
18424 * textmodes/artist.el (artist-system): Use make-temp-file.
18426 * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
18428 * mail/sendmail.el (mail-recover-1): Increase non-random-len
18429 by 1 since we changed make-auto-save-file-name to add one
18430 fewer character to the buffer name.
18431 (mail-recover): Really show point at the right place
18432 in the *Directory* buffer.
18434 * files.el (make-auto-save-file-name): Use make-temp-file.
18436 * terminal.el (te-create-terminfo): Use make-temp-file
18437 to create the source file in a safe way.
18439 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il>
18441 * cus-start.el: Rename automatic-hscroll-step and
18442 automatic-hscroll-margin into hscroll-step and hscroll-margin.
18444 * frame.el (auto-hscroll-mode): Rename from automatic-hscrolling.
18445 (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
18447 * mouse.el (mouse-region-delete-keys): Add deletechar.
18449 2002-03-03 Sam Steingold <sds@gnu.org>
18451 * play/snake.el (snake-score-file): Fix parens (broken by the
18453 * play/tetris.el (tetris-score-file): Ditto.
18455 2002-03-03 Richard M. Stallman <rms@gnu.org>
18457 * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
18459 * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
18461 * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
18462 (gamegrid-make-mono-tty-face): Fix usage of condition-case.
18464 2002-03-03 Thien-Thi Nguyen <ttn@gnu.org>
18466 * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
18467 instead of `buffer-substring-no-properties' to support enriched mode.
18469 2002-03-02 Richard M. Stallman <rms@gnu.org>
18471 * find-dired.el (find-grep-dired): Call shell-quote-argument.
18472 Specify the -e option.
18473 Rename arg to `regexp'.
18475 2002-03-02 Milan Zamazal <pdm@zamazal.org>
18477 * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
18479 2002-03-02 Miles Bader <miles@gnu.org>
18481 * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
18482 event-modifiers before looking up in `mouse-wheel-scroll-amount'.
18483 If there's no applicable modifiers entry in the alist in
18484 `mouse-wheel-scroll-amount', fall back to the default, not to
18485 nil (which causes full screen scrolls).
18487 2002-03-01 Andreas Schwab <schwab@suse.de>
18489 * textmodes/texnfo-upd.el (texinfo-start-menu-description):
18490 Remove extra paren in regexp.
18492 2002-03-01 Eli Zaretskii <eliz@is.elta.co.il>
18494 * mouse.el (mouse-show-mark): Use display-mouse-p, not
18495 display-graphic-p, to decide whether to move point or use the
18498 2002-02-28 Colin Walters <walters@verbum.org>
18500 * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
18502 * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
18503 `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
18504 (calc-temp-file-name): Use `make-temp-file'.
18506 2002-02-28 Richard M. Stallman <rms@gnu.org>
18508 * font-lock.el (java-font-lock-extra-types):
18509 Match java.net.URL, etc.
18511 2002-02-28 Pavel JanÃk <Pavel@Janik.cz>
18513 * hexl.el (hexl-options): Doc fix.
18514 Update Commentary section.
18516 * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
18519 2002-02-28 Andre Spiegel <spiegel@gnu.org>
18521 * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
18522 the user to do that first.
18523 (vc-update): New function.
18525 * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
18526 which calls vc-update. Use the term "Base Version" instead of
18527 "Last Version" for the entries "Revert" and "Compare".
18529 2002-02-28 Kim F. Storm <storm@cua.dk>
18531 * simple.el (shell-command-on-region): Report non-zero exit
18532 status in mode line instead of buffer.
18534 2002-02-27 Richard M. Stallman <rms@gnu.org>
18536 * comint.el (comint-preoutput-filter-functions): Doc fix.
18537 (comint-output-filter-functions, comint-input-filter-functions)
18538 (comint-redirect-filter-functions): Likewise.
18540 (comint-redirect-preoutput-filter): Do the local-hook
18541 handling of t when running comint-redirect-filter-functions.
18542 (comint-output-filter): Likewise for comint-preoutput-filter-functions.
18544 2002-02-26 Richard M. Stallman <rms@gnu.org>
18546 * paths.el (remote-shell-program): Add doc string.
18548 2002-02-26 Colin Walters <walters@debian.org>
18550 * ibuf-ext.el (sorter mode-name): New.
18551 (ibuffer-do-occur): Don't quote ibuffer-marked-char.
18553 * calc/calc-ext.el (calc-scroll-left): Call scroll-left
18554 interactively, so they do something.
18555 (calc-scroll-right): Ditto.
18557 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
18559 * international/mule.el (ctext-pre-write-conversion): Handle the
18560 case when FROM is a string, and when we are called from
18561 build_annotations_2.
18563 2002-02-26 Richard M. Stallman <rms@gnu.org>
18565 * rect.el (clear-rectangle-line): Reindent to the same column
18566 that move-to-column reached when it tried to go to endcol.
18568 * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
18570 2002-02-26 Ivar Rummelhoff <ivarru@math.uio.no>
18572 * winner.el (winner-boring-buffers, winner-set): A window which
18573 displays a buffer whose name is in the list
18574 `winner-boring-buffers', will no longer be restored by `winner-undo'.
18575 (winner-sorted-window-list): Used to improve comparison between
18576 window configurations.
18577 (winner-win-data): Simplify and moved.
18578 (winner-conf): Simplify (now uses `winner-win-data').
18579 (winner-change-fun, winner-save-old-configurations)
18580 (winner-save-(un)conditionally, winner-redo): Changes made while in
18581 the minibuffer will be ignored. (Such changes are undone upon
18582 exit for the minibuffer, anyway.)
18583 (winner-set-conf): Preserve selected window whenever possible.
18584 (winner-make-point-alist): Simplify.
18585 (winner-mode, winner-save-unconditionally): Save current window
18586 configuration on entering minibuffer.
18587 (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
18588 since it does not change the overall behavior of Emacs.
18590 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
18592 * international/mule-conf.el (compound-text): Rename back from
18593 compound-text-no-extensions.
18594 (ctext-no-compositions): Remove the mime-charset property.
18595 (compound-text-with-extensions): Rename from compound-text.
18596 (x-ctext-with-extensions, ctext-with-extensions): Rename aliases.
18598 2002-02-26 Juanma Barranquero <lektu@terra.es>
18600 * faces.el (list-faces-display): Fix typo.
18602 2002-02-25 Richard M. Stallman <rms@gnu.org>
18604 * frame.el (focus-follows-mouse): Doc fix.
18606 2002-02-26 Miles Bader <miles@gnu.org>
18608 * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
18609 to `define-key', since it no longer accepts the latter.
18611 2002-02-25 Jason Rumney <jasonr@gnu.org>
18613 * term/w32-win.el (mouse-wheel-scroll-line): Use car of
18614 mouse-wheel-scroll-amount.
18616 * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
18619 * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
18621 2002-02-25 Andre Spiegel <spiegel@gnu.org>
18623 * vc.el (vc-diff-switches-list): Fix prev change, making the macro
18624 consistent with the others that take a backend name as a symbol.
18626 * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
18628 2002-02-25 Kim F. Storm <no-spam@cua.dk>
18630 * comint.el (comint-replace-by-expanded-filename): Do nothing if
18631 comint-match-partial-filename returns nil.
18633 * shell.el (shell-pcomplete-setup-done): New variable.
18634 (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
18635 (shell-pcomplete-reverse): Ditto.
18637 2002-02-25 Per Abrahamsen <abraham@dina.kvl.dk>
18639 * ps-print.el (ps-print-printer): Add `lpr' customize group member.
18641 2002-02-25 Juanma Barranquero <lektu@terra.es>
18643 * subr.el (save-match-data): Doc fix.
18645 * ielm.el (ielm-prompt): Allow customization; make it read-only.
18647 2002-02-25 Kim F. Storm <storm@cua.dk>
18649 * shell.el (shell-mode-map): Add "Complete" header so completion
18650 menu is shown on the menu bar in shell mode.
18652 2002-02-25 Stefan Monnier <monnier@cs.yale.edu>
18654 * ielm.el (ielm-match-data): New var.
18655 (inferior-emacs-lisp-mode): Make it buffer-local.
18656 (ielm-eval-input): Use it to preserve match-data between inputs.
18658 2002-02-24 Juanma Barranquero <lektu@terra.es>
18660 * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
18662 2002-02-24 Per Abrahamsen <abraham@dina.kvl.dk>
18664 * cus-edit.el (custom-unlispify-remove-prefixes): Add to
18665 `custom-buffer' customize group.
18667 2002-02-23 Kim F. Storm <storm@cua.dk>
18669 * help.el (where-is): Use remap-command.
18671 * help-fns.el (describe-function-1): Use remap-command.
18673 * subr.el (global-set-key, local-set-key): Undo 2002-02-06
18674 change (no longer accept a symbol for the KEY argument).
18676 2002-02-23 Colin Walters <walters@debian.org>
18678 * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
18679 * calc/calcalg2.el (math-solve-get-sign): Ditto.
18681 * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
18682 in generated function.
18684 * ibuf-ext.el (ibuffer-old-time): Change to hours.
18685 (ibuffer-mark-old-buffers): Handle it.
18687 * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
18688 (toplevel): Bind them.
18689 (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
18690 not necessary now that we use pcomplete.
18692 * comint.el: Document how use new pcomplete completion facility.
18694 2002-02-23 Richard M. Stallman <rms@gnu.org>
18696 * mail/rmailsum.el (rmail-summary-output): Properly advance
18697 to next message, by calling rmail-summary-goto-msg.
18699 * net/browse-url.el (browse-url-galeon): Specify --existing
18700 for an existing window. Use --noraise rather than --no-raise.
18703 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
18705 * progmodes/etags.el (find-tag-noselect, find-tag)
18706 (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
18707 Fix a typo in doc strings.
18709 2002-02-20 Deepak Goel <deego@glue.umd.edu>
18711 * play/snake.el (snake-velocity-queue, snake-update-velocity)
18712 (snake-final-x-velocity, snake-final-y-velocity):
18713 New variable and functions. Store user's keypresses
18714 into a queue and pop from the queue each subsequent turn.
18715 (snake-update-game, snake-move-left)
18716 (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
18717 (snake-start-game): Use that queue.
18718 (snake-use-glyphs-flag): Rename from snake-use-glyphs.
18719 (snake-use-color-flag): Likewise.
18720 (snake-mode): Rename uses of those variables.
18722 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il>
18724 Support for ICCCM Extended Segments in X selections:
18726 * international/mule-conf.el (ctext-no-compositions): New coding
18728 (compound-text-no-extensions): Rename from compound-text.
18729 (x-ctext-no-extensions, ctext-no-extensions): Aliases for
18730 compound-text-no-extensions.
18731 (compound-text): Redefined using post-read and pre-write conversions.
18733 * international/mule.el (non-standard-icccm-encodings-alist)
18734 (non-standard-designations-alist): New variables.
18735 (ctext-post-read-conversion, ctext-pre-write-conversion):
18738 2002-02-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
18740 * vc.el (vc-default-init-version): Update documentation to
18741 indicate that the backend can override the default init version.
18742 (vc-register): Use the backend init-version function, if it
18743 exists, to determine the initial version of a file.
18744 (vc-diff-switches-list): Don't symbol-quote backend, since it's
18745 already a symbol. Don't fail if vc-BACKEND-diff-switches isn't bound.
18747 * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
18748 not version-controlled. This is necessary, e.g., if the file has
18749 just been reverted, and thus was previously under version control
18750 but isn't any longer.
18751 (vc-find-file-hook): Likewise.
18753 2002-02-21 Martin Lorentzson <Martin.Lorentzson@telia.com>
18755 * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
18756 (vc-cvs-sticky-tag-display): New variable.
18757 (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
18758 (vc-cvs-checkin): If the input revision is a valid symbolic tag
18759 name, we create it as a branch, commit and switch to it.
18760 (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
18761 (vc-cvs-valid-symbolic-tag-name-p): New function.
18762 (vc-cvs-parse-sticky-tag): New function.
18763 (vc-cvs-parse-entry): Add parsing of sticky tags.
18765 2002-02-21 Per Abrahamsen <abraham@dina.kvl.dk>
18767 * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
18768 nil, and then explicitly set the standard-value to t.
18770 2002-02-20 Sam Steingold <sds@gnu.org>
18772 * textmodes/flyspell.el (flyspell-mode): Autoload the variable
18773 since it is used in the menu bar.
18775 2002-02-20 Richard M. Stallman <rms@gnu.org>
18777 * simple.el (shell-command-on-region): Display the exit status
18778 when a command fails.
18780 * subr.el (add-hook): Doc fix.
18782 * frame.el (other-frame): Doc fix.
18784 * simple.el (yank): Clear `field' property.
18786 2002-02-20 Tom Tromey <tromey@cachet>
18788 * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
18789 natural paragraph boundaries. Don't fail at beginning of buffer.
18791 2002-02-20 Pavel JanÃk <Pavel@Janik.cz>
18793 * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
18794 call the argument "arg" to match plain next-line and
18795 previous-line. From Kevin Ryde <user42@zip.com.au>.
18797 2002-02-19 Sam Steingold <sds@gnu.org>
18799 * mwheel.el (mouse-wheel-scroll-amount): Can specify different
18800 scroll amounts for different modifiers now.
18801 (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
18803 (mouse-wheel-mode): Ditto.
18805 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il>
18807 * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
18808 around function body.
18810 * net/browse-url.el (browse-url-maybe-new-window): Reverse the
18811 sense of the comparison, to match the doc strings of functions
18812 that use this macro.
18814 2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
18816 * facemenu.el (describe-text-mode-map): Remove bootstrap kludge.
18818 * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
18819 * menu-bar.el (menu-bar-mode): Ditto.
18821 2002-02-18 Andreas Schwab <schwab@suse.de>
18823 * replace.el (query-replace-regexp-eval): Doc fix.
18825 2002-02-18 Colin Walters <walters@verbum.org>
18827 * calc/calcalg2.el (math-solve-get-int): Convert return value from
18828 `math-get-from-counter' to a string before calling `concat' on it.
18830 * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
18831 (calc-public-autoloads): Obsolete; remove.
18832 (calc-private-autoloads): Ditto.
18833 (calc-add-autoloads): Ditto.
18835 * calc/calc-macs.el (calc-with-default-simplification): Use &rest
18838 2002-02-17 Jason Rumney <jasonr@gnu.org>
18840 * w32-win.el (x-option-alist, x-long-option-alist)
18841 (x-switch-definitions): Remove, use command-line-x-option-alist
18842 instead to be consistent with X.
18843 (x-handle-initial-switch): New function.
18845 2002-02-17 Eli Zaretskii <eliz@is.elta.co.il>
18847 * faces.el (mode-line-inactive, header-line): Add the :inherit
18848 attribute for the tty case.
18850 2002-02-17 stanislav shalunov <shalunov@internet2.edu>
18852 * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
18853 invoked from Rmail with full headers displayed.
18855 2002-02-17 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
18857 * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
18859 * textmodes/paragraphs.el (mark-paragraph): Ditto.
18861 2002-02-17 Per Abrahamsen <abraham@dina.kvl.dk>
18863 * menu-bar.el (menu-bar-showhide-menu): Add speedbar.
18864 (menu-bar-tools-menu): Remove speedbar.
18866 * textmodes/ispell.el (ispell-menu-map): Add `customize-ispell'
18867 and `flyspell-mode' entries.
18869 * textmodes/flyspell.el (flyspell): Add to ispell group.
18871 2002-02-17 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
18873 * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
18875 (mark-defun): Mark more if repeated.
18877 2002-02-17 Colin Walters <walters@verbum.org>
18879 * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
18881 * ibuffer.el (ibuffer-truncate-lines): New option.
18882 (ibuffer-mode): Use it.
18884 2002-02-17 Kim F. Storm <storm@cua.dk>
18886 * cus-start.el: Add mouse-highlight.
18888 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
18890 * Makefile.in (DONTCOMPILE): Remove cus-start.el.
18892 * cus-start.el: Add automatic-hscroll-margin and
18893 automatic-hscroll-step.
18895 2002-02-16 Pavel JanÃk <Pavel@Janik.cz>
18897 * cus-start.el (x-autoselect-window): Allow customization.
18899 * eshell/em-alias.el (eshell-alias-initialize): Do not use
18902 * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
18904 * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
18906 * eshell/em-glob.el (eshell-glob-initialize): Likewise.
18908 * eshell/em-hist.el (eshell-hist-initialize): Likewise.
18910 * eshell/em-pred.el (eshell-pred-initialize): Likewise.
18912 * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
18914 * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
18916 * eshell/em-smart.el (eshell-smart-initialize): Likewise.
18918 * eshell/em-unix.el (eshell-unix-initialize): Likewise.
18920 * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
18922 * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
18924 * eshell/esh-io.el (eshell-io-initialize): Likewise.
18926 * eshell/esh-mode.el (eshell-mode): Likewise.
18928 * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
18930 * eshell/esh-var.el (eshell-var-initialize): Likewise.
18932 * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
18934 * progmodes/idlwave.el (idlwave-mode): Likewise.
18936 * textmodes/reftex-sel.el (reftex-select-label-mode)
18937 (reftex-select-bib-mode): Likewise.
18939 2002-02-16 John Wiegley <johnw@gnu.org>
18941 * eshell/em-hist.el (eshell-hist-initialize): When in the
18942 minibuffer, use the global value of `eshell-history-ring', and
18943 never save it to disk, or ask to save it to disk. This allows
18944 users of session.el to control whether its global state should be
18946 (eshell-add-command-to-history): Don't write Eshell's history out
18947 to disk, let the governing mode control that upon exit.
18949 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il>
18951 * eshell/eshell.el (eshell-command): Before reading from the
18952 minibuffer, add eshell-add-command-to-history to
18953 minibuffer-exit-hook, and remove it after read-from-minibuffer
18956 * eshell/em-hist.el (eshell-add-input-to-history): New function,
18957 with most of the code from eshell-add-to-history.
18958 (eshell-add-command-to-history): New function, to record in
18959 eshell-history the commands run via eshell-command.
18960 (eshell-add-to-history): Call eshell-add-command-to-history to do
18963 2002-02-16 John Wiegley <johnw@gnu.org>
18965 * eshell/esh-ext.el (eshell-external-command): Add a fix for
18966 XEmacs' new dired.el, which adds a global entry in the
18967 `file-name-handler-alist'.
18969 2002-02-16 John Wiegley <johnw@gnu.org>
18971 * align.el (align-region): Add a missing name argument.
18973 2002-02-16 John Wiegley <johnw@gnu.org>
18975 * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
18976 after the #! of a shell interpreter specification.
18978 2002-02-15 Richard M. Stallman <rms@gnu.org>
18980 * help.el (describe-key-briefly): Make output in INSERT case
18981 look just like what is displayed in the normal case.
18983 2002-02-15 Andreas Schwab <schwab@suse.de>
18985 * textmodes/tex-mode.el (tex-font-lock-keywords-2):
18986 Require non-letter after specials.
18988 2002-02-15 Eli Zaretskii <eliz@is.elta.co.il>
18990 * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
18992 2002-02-15 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
18994 * simple.el (mark-word): Mark more if repeated.
18995 * textmodes/paragraphs.el (mark-paragraph): Ditto.
18996 (mark-end-of-sentence): Ditto.
18998 2002-02-15 Per Abrahamsen <abraham@dina.kvl.dk>
19000 * wid-edit.el (widgetp): Made it more robust.
19002 2002-02-14 Per Abrahamsen <abraham@dina.kvl.dk>
19004 * facemenu.el (describe-text-done): New function.
19005 (describe-text-mode-map): New variable.
19006 (describe-text-mode-hook): New option.
19007 (describe-text-mode): New function.
19008 (describe-text-widget): New function.
19009 (describe-text-sexp): New function.
19010 (describe-text-properties): New function.
19011 (describe-text-category): New command.
19012 (describe-text-at): New command.
19013 (facemenu-menu): Replace `list-text-properties-at' with
19014 `describe-text-at' in the menu.
19016 * wid-edit.el (widgetp): New function.
19017 * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
19019 * emacs-lisp/pp.el (pp-to-string): Autoloaded.
19021 * wid-browse.el: Removed version and x-url keywords.
19023 2002-02-13 Kim F. Storm <storm@cua.dk>
19025 * cus-start.el (mode-line-in-non-selected-windows):
19026 Allow customization.
19028 2002-02-13 Richard M. Stallman <rms@gnu.org>
19030 * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
19031 Tell bibtex-parse-keys to output no progress messages.
19033 2002-02-12 Eli Zaretskii <eliz@is.elta.co.il>
19035 * progmodes/pascal.el (pascal-imenu-generic-expression):
19036 Add menu-title and fix parentheses.
19038 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
19040 * menu-bar.el (menu-bar-options-save): Remove `truncate-lines'.
19041 (menu-bar-options-menu): Don't set default value for `truncate-lines'.
19043 2002-02-12 Per Abrahamsen <abraham@dina.kvl.dk>
19045 * menu-bar.el (menu-bar-options-save): Only save
19046 `current-language-environment' and `default-input-method' when
19047 marked as customized.
19049 * international/mule-cmds.el (setup-specified-language-environment):
19050 Mark `current-language-environment' as customized.
19051 (set-input-method): Mark `default-input-method' as customized when
19052 called interactively.
19053 (toggle-input-method): Ditto.
19055 2002-02-11 Colin Walters <walters@verbum.org>
19057 * ibuffer.el (ibuffer-switch-format): Supply required argument for
19058 `ibuffer-current-formats'.
19060 2002-02-11 Miles Bader <miles@gnu.org>
19062 * faces.el (mode-line-inactive): Add dark-background variant.
19064 2002-02-11 Per Abrahamsen <abraham@dina.kvl.dk>
19066 * toolbar/tool-bar.el (tool-bar-mode): Remove standard value.
19067 * menu-bar.el (menu-bar-mode): Ditto.
19068 * cus-edit.el (customize-mark-to-save): Always save variables
19069 without a standard value.
19071 * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
19072 (menu-bar-options-save): Ditto.
19073 (menu-bar-showhide-menu): Ditto.
19074 (menu-bar-options-menu): Ditto.
19075 (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
19076 (menu-bar-scroll-bar-none): Remove.
19077 (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
19078 expressions instead.
19080 * cus-edit.el (customize-set-value): Return value.
19081 (customize-set-variable): Ditto.
19082 (customize-save-variable): Ditto.
19083 (customize-set-variable): Load dependencies before setting value.
19084 (custom-load-symbol): Autoload it.
19085 (customize-mark-as-set): New function.
19087 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il>
19089 * cus-start.el: Don't warn about "x-*" symbols when building a
19092 2002-02-11 Pavel JanÃk <Pavel@Janik.cz>
19094 * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
19096 (strokes-help): Do not use doubled with-output-to-temp-buffer.
19097 Fix the help string.
19098 (strokes-prompt-user-save-strokes): Fix typo.
19099 (strokes-list-strokes): Use proper exit-action argument for
19100 view-buffer. Update copyright notice.
19102 * international/mule-diag.el: Various doc and message fixes.
19103 (non-iso-charset-alist): Add mac-roman. Don't add entries for
19104 codepages already present.
19105 (list-block-of-chars): Display space for null entries in
19106 translation table. Display tab specially.
19107 (list-non-iso-charset-chars): Check for null charsets. Use pop
19108 for clarity. Don't break 8-bit sets into sections between ranges.
19109 (list-charset-chars): Avoid indent-tabs-mode.
19110 (describe-char-after): Maybe use the text property for syntax
19111 table information. Maybe report char-code-property-table info.
19112 Maybe report character's unicode. Tweak printing of list info.
19113 (list-input-methods): Add xref buttons.
19114 (dump-charsets, dump-codings): Delete (obsolete).
19115 From Dave Love <fx@gnu.org>.
19117 2002-02-10 Pavel JanÃk <Pavel@Janik.cz>
19119 * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
19121 2002-02-10 Stephen J. Turnbull <stephen@xemacs.org>
19123 * ediff-init.el (ediff-has-gutter-support): What was this?
19125 2002-02-10 Michael Kifer <kifer@cs.stonybrook.edu>
19127 * viper-util.el (viper-read-key-sequence): Fix so it'll read
19128 fast key sequences in Emacs native mode.
19129 (viper-events-to-keys): Delete.
19131 * viper.el (describe-key, describe-key-briefly): Get rid of
19132 viper-events-to-keys.
19134 * ediff-wind.el (ediff-setup-control-frame):
19135 Use ediff-has-gutter-support.
19137 * ediff-util.el (ediff-dispose-of-variant-according-to-user):
19138 Check if buff is alive.
19140 * ediff.el: Typo in comment.
19142 2002-02-09 Pavel JanÃk <Pavel@Janik.cz>
19144 * menu-bar.el (menu-bar-options-save): Take care of
19145 line-number-mode and column-number-mode variables.
19146 (menu-bar-showhide-menu): New menu-items "Show Line Number" and
19147 "Show Column Number" in "Show/Hide" menu.
19149 2002-02-09 Richard M. Stallman <rms@gnu.org>
19151 * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
19153 2002-02-09 Kim F. Storm <storm@cua.dk>
19155 * faces.el (mode-line-inactive): New face for mode-line for
19156 non-selected windows.
19157 (mode-line): Doc fix: Only used for selected window.
19159 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
19161 * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
19162 name to "Insert Diary Entry".
19164 2002-02-08 Stefan Monnier <monnier@cs.yale.edu>
19166 * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
19167 (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
19169 2002-02-08 Richard M. Stallman <rms@gnu.org>
19171 * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
19173 2002-02-08 Andreas Schwab <schwab@suse.de>
19175 * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
19178 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il>
19180 * net/ange-ftp.el (ange-ftp-process-handle-line)
19181 (ange-ftp-set-xfer-size): If the file's size is a float, divide
19182 by 1024 instead of using ash.
19184 * international/mule-cmds.el (select-safe-coding-system):
19185 State the buffer's name in the message popped in the *Warning* buffer,
19186 and make sure the offending buffer is displayed.
19188 2002-02-07 Markus Rost <rost@math.ohio-state.edu>
19190 * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
19192 2002-02-07 Richard M. Stallman <rms@gnu.org>
19194 * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
19196 * register.el (list-registers): New command.
19197 (describe-register-1): New subroutine, taken out of view-register.
19199 * emacs-lisp/copyright.el (copyright-regexp):
19200 Delete the unibyte copyright symbol; it's redundant.
19201 Fix a spazz in the multibyte encoding here.
19203 2002-02-07 Dave Love <fx@gnu.org>
19205 * language/cyril-util.el (cyrillic-encode-koi8-r-char)
19206 (cyrillic-encode-alternativnyj-char): Get translation tables from
19207 symbol properties, not as variables.
19208 (standard-display-cyrillic-translit): Include Unicode characters.
19210 2002-02-06 Kim F. Storm <storm@cua.dk>
19212 * help.el (where-is): Report remapped commands.
19214 * help-fns.el (describe-function-1): Ditto.
19216 * subr.el (global-set-key, local-set-key): Accept a symbol for the
19217 KEY argument (like define-key).
19219 2002-02-06 Pavel JanÃk <Pavel@Janik.cz>
19221 * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
19223 2002-02-06 Richard M. Stallman <rms@gnu.org>
19225 * mail/mailabbrev.el: Require sendmail only at compile time.
19226 (mail-mode-header-syntax-table): Var deleted.
19227 (mail-abbrev-syntax-table): Init to nil, will compute when needed.
19228 (sendmail-pre-abbrev-expand-hook): Only temporarily change
19229 local-abbrev-table and the syntax table.
19230 Compute mail-abbrev-syntax-table if that has not been done.
19232 * progmodes/compile.el (grep-compute-defaults): Definition moved up.
19234 * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
19235 (debugger-frame-number): Figure out the offset directly.
19236 (debugger-setup-buffer): Don't use debugger-frame-offset.
19237 (debugger-frame, debugger-frame-clear): Likewise.
19238 (debugger-jump): Don't alter debugger-frame-offset.
19240 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
19241 Replace foo-p as var name with foo-flag, not foo-p-flag.
19243 * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
19244 (highlight-changes-passive-string): Default to -Chg.
19245 (highlight-changes-global-modes): Doc fix.
19247 * dired.el (dired-get-filename): Add /: when appropriate
19248 to avoid taking a local name as remote.
19250 * files.el (file-name-non-special): Add special handling for
19251 file-name-sans-versions, file-name-completion, and
19252 file-name-all-completions.
19254 * isearch.el (isearch-update): Don't update display in kbd macro.
19255 (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
19257 * subr.el (force-mode-line-update): Doc fix.
19259 * subr.el (atomic-change-group, prepare-change-group)
19260 (activate-change-group, accept-change-group, cancel-change-group):
19263 * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
19264 (transpose-subr-1): Use atomic-change-group.
19266 * subr.el (add-minor-mode): Include the mode's lighter string
19267 in the minor mode menu item name.
19269 * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
19270 rmail-count-screen-lines starting from (point-min).
19272 * startup.el (use-fancy-splash-screens-p): Need 19 lines,
19273 beyond the image height, to use the fancy splash screen.
19275 * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
19276 (text-mode): Set text-mode-variant here.
19278 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il>
19280 * play/pong.el (pong-height): Don't use height that exceeds the
19282 (pong-border-options): Make the border colors slightly more bright.
19284 * play/gamegrid.el (gamegrid-display-type): Treat any
19285 color-capable display as color-x, if display-color-p is fboundp.
19286 (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
19287 (gamegrid-make-color-tty-face): Use the value of color, not the
19288 symbol itself. Don't call gamegrid-color.
19290 2002-02-05 Eli Zaretskii <eliz@is.elta.co.il>
19292 * gud.el (gud-refresh): Call recenter only after we are sure we
19293 are in the right window.
19295 2002-02-05 Per Abrahamsen <abraham@dina.kvl.dk>
19297 * cus-edit.el (customize-mark-to-save): New function.
19298 * menu-bar.el (menu-bar-options-save): Rewrote.
19300 2002-02-05 Pavel JanÃk <Pavel@Janik.cz>
19302 * cus-start.el (x-use-underline-position-properties):
19303 Allow customization.
19305 2002-02-04 Simon Josefsson <jas@extundo.com>
19307 * dired.el (dired-load-hook, dired-mode-hook)
19308 (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
19310 2002-02-03 Colin Walters <walters@verbum.org>
19312 * ibuf-ext.el (ibuffer-filter-format-alist)
19313 (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
19315 * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
19316 is now the Emacs CVS tree.
19317 (ibuffer-formats): Doc fix.
19318 (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
19319 (ibuffer-current-format): Use them.
19320 (ibuffer-recompile-formats, ibuffer-check-formats)
19321 (ibuffer-switch-format, ibuffer-update-title):
19322 Add support for ibuffer-filter-format-alist.
19323 (define-ibuffer-column process): Remove unnecessary consing.
19325 * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
19326 for a summary column.
19328 2002-02-03 Andreas Schwab <schwab@suse.de>
19330 * window.el (save-selected-window): Move macro before first use.
19331 (balance-windows): Fix misplaced parenthesis.
19333 2002-02-03 Pavel JanÃk <Pavel@Janik.cz>
19335 * calculator.el (calculator-displayers): Doc fixes.
19337 2002-02-03 Pavel JanÃk <Pavel@Janik.cz>
19339 * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
19340 (menu-bar-options-save): Save also the value of `display-time-mode'.
19341 (showhide-date-time): New function.
19342 (menu-bar-showhide-menu): New menu-item "Date and time".
19344 2002-02-03 Eli Zaretskii <eliz@is.elta.co.il>
19346 * mail/rmail.el (rmail): Use find-buffer-visiting instead of
19347 get-file-buffer to check for rmail buffer existence.
19349 * term.el (term-emulate-terminal): Extract proper command string
19350 which is supplied to term-command-hook.
19352 2002-02-03 Richard M. Stallman <rms@gnu.org>
19354 * international/quail.el (quail-help): Don't call help-setup-xref.
19356 * international/mule-cmds.el (describe-input-method):
19357 Call help-setup-xref here.
19358 (describe-current-input-method): Doc fix.
19360 * novice.el (disabled-command-hook): Clarify output text.
19361 Indent the paragraph from the command's doc string.
19363 * dabbrev.el (dabbrev--goto-start-of-abbrev):
19364 Exit loop on beginning of field rather than bobp.
19366 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
19368 * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
19369 the message text into the *mail* buffer, and restore the pruned
19372 * mail/rmail.el (rmail-redecode-body): Prune the headers before
19373 looking for X-Coding-System header, and restore the pruned state
19376 2002-02-02 Pavel JanÃk <Pavel@Janik.cz>
19378 * cus-edit.el (customize-save-variable): Fix typo in prompt.
19380 These changes integrate new version of flyspell.el from its
19381 maintainer, Manuel Serrano:
19383 * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
19384 (flyspell-mode-on, flyspell-notify-misspell)
19385 (flyspell-small-region, flyspell-external-point-words)
19386 (flyspell-large-region): Use it.
19387 (flyspell-before-incorrect-word-string)
19388 (flyspell-after-incorrect-word-string): New user options.
19389 (make-flyspell-overlay): Use them.
19390 (flyspell-version): New function.
19391 (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
19392 definitions to use :weight.
19393 (flyspell-insert-function): New user option.
19394 (flyspell-auto-correct-word, flyspell-correct-word)
19395 (flyspell-xemacs-correct): Use it.
19396 (flyspell-define-abbrev): New function.
19397 (flyspell-auto-correct-word, flyspell-correct-word)
19398 (flyspell-xemacs-correct): Use it.
19399 (make-flyspell-overlay): Use `evaporate' property.
19400 (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
19401 (flyspell-emacs-popup): Use `session' instead of `accept'.
19402 (flyspell-auto-correct-previous-pos): New variable.
19403 (flyspell-auto-correct-previous-hook)
19404 (flyspell-auto-correct-previous-word): New functions.
19406 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
19408 * novice.el (enable-command): If Emacs was invoked as "emacs -q",
19409 don't alter the user's ~/.emacs.
19410 (disable-command): If user-init-file is nil or does not exist,
19411 default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
19412 But don't alter the init file if Emacs was invoked as "emacs -q"
19414 2002-02-01 Stefan Monnier <monnier@cs.yale.edu>
19416 * mail/sendmail.el (mail-mode): Undo half of last change.
19418 * indent.el (indent-for-tab-command): Remove spurious code.
19420 * hi-lock.el (hi-lock-find-patterns): Save restriction.
19422 2002-02-01 Eli Zaretskii <eliz@is.elta.co.il>
19424 * calendar/time-date.el: Moved from lisp/gnus.
19426 * calendar/parse-time.el: Ditto.
19428 2002-01-31 Richard M. Stallman <rms@gnu.org>
19430 * international/iso-acc.el (iso-languages): Fix ", " in French.
19432 * cus-start.el (history-length): Specify customization for it.
19434 * emacs-lisp/debug.el (debugger-setup-buffer):
19435 When an eval-buffer frame was reading from a buffer,
19436 insert indication of the buffer position.
19437 (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
19438 (debugger-frame-clear, debugger-frame): Error on non-frame line.
19440 * simple.el (shell-command-on-region): Err if no mark
19441 before reading the command string.
19443 * hl-line.el (hl-line-highlight, hl-line-unhighlight):
19444 Definitions moved down after hl-line-mode var's definition.
19446 * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
19447 (hilit-chg-set-face-on-change): Rename arg.
19448 (hilit-chg-make-ov): Detect error earlier.
19450 * ediff-hook.el: Delete autoload cookies.
19452 * comint.el (comint-scroll-show-maximum-output): Default is t.
19454 * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
19455 (batch-byte-compile-if-not-done): New function.
19457 * Makefile.in (compile): New target.
19458 (compile-always): Rename from compile-files.
19459 (compile-after-backup): Rename from compile.
19460 (bootstrap): Depend on compile-always, not compile-files.
19462 * emulation/pc-select.el (pc-select-save-and-set-mode):
19463 Properly use MODE-VAR.
19465 2002-01-29 Pavel JanÃk <Pavel@Janik.cz>
19467 * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
19468 Version" to "About Emacs".
19469 (menu-bar-options-save): Add `default-frame-alist'
19470 to saved variables.
19471 (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
19472 of the variable `scroll-bar-mode'.
19474 * startup.el (normal-splash-screen, display-splash-screen):
19475 New functions (separated from command-line-1).
19476 (command-line-1): Use them.
19478 2002-01-28 Eli Zaretskii <eliz@is.elta.co.il>
19480 * calendar/calendar.el (generate-calendar-month): Doc fix.
19482 2002-01-27 Pavel JanÃk <Pavel@Janik.cz>
19484 * time.el (display-time-mail-directory): New option.
19485 (display-time-mail-function): Update doc-string.
19486 (display-time-mail-icon): Use XPM image when available.
19487 (display-time-string-forms): Use more descriptive text as
19488 help-echo property.
19489 (display-time-mail-check-directory): New function.
19490 (display-time-update): Use it.
19492 * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
19493 Quote `window-system'.
19495 * tmm.el (tmm-get-keymap): Honor :visible in `menu-item'.
19496 Add Keywords header. Update Commentary section.
19497 Update copyright notice.
19499 * menu-bar.el (menu-bar-scroll-bar-right)
19500 (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
19501 (showhide-menu-bar): New functions.
19502 (menu-bar-showhide-menu): New submenu "Show/Hide".
19503 (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
19505 Update copyright notice.
19507 2002-01-27 Eli Zaretskii <eliz@is.elta.co.il>
19509 * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
19511 2002-01-26 Evgeny Roubinchtein <evgenyr@cs.washington.edu>
19513 * pc-select.el (pc-selection-mode-hook)
19514 (pc-select-saved-settings-alist, pc-select-map)
19515 (pc-select-saved-global-map, pc-select-key-bindings-alist)
19516 (pc-select-default-key-bindings, pc-select-extra-key-bindings)
19517 (pc-select-meta-moves-sexps-key-bindings)
19518 (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
19520 (pc-select-define-keys, pc-select-restore-keys): New functions.
19521 (pc-select-add-to-alist, pc-select-save-and-set-var)
19522 (pc-select-save-and-set-mode, pc-select-restore-var)
19523 (pc-select-restore-mode): New macros.
19524 (pc-selection-mode): Completely rewrote the body of the function;
19525 the main goal was to make pc-selection-mode "turn-off"-able, like
19526 other minor modes. Use define-minor-mode instead of just a
19527 defun. Store the key bindings into four alists:
19528 pc-select-default-key-bindings, pc-select-extra-key-bindings,
19529 pc-select-meta-moves-sexps-key-bindings, and
19530 pc-select-tty-key-bindings; then have the pc-select-define-keys
19531 function walk those alists instead of calling define-key
19532 repeatedly. When the mode is turned on, set the
19533 keybindings in global-map and remember the old keybindings; when
19534 the mode is turned off, restore the previously-saved keybindings.
19535 (pc-selection-mode defcustom): Reflect the fact that the mode is
19536 now "turn-off"-able.
19538 2002-01-26 Eli Zaretskii <eliz@is.elta.co.il>
19540 * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
19541 returns t, don't treat that as an error.
19543 2002-01-25 Jason Rumney <jasonr@gnu.org>
19545 * faces.el (face-font-registry-alternatives) [windows-nt]:
19546 Add ms-oemlatin as an alternative for iso8859-1.
19548 2002-01-25 Stefan Monnier <monnier@cs.yale.edu>
19550 * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
19551 args and the absence of an entry. Don't add -f each time.
19553 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il>
19555 * emacs-lisp/cl-seq.el (mismatch): Doc fix.
19557 Support for more than 8 colors on character terminals:
19559 * term/rxvt.el: New file.
19561 * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
19563 * term/xterm.el (xterm-standard-colors): New variable.
19564 (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
19565 (xterm-rxvt-set-background-mode): New functions.
19566 (toplevel): Call xterm-register-default-colors,
19567 xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
19568 Add support for more keys from xterm's terminfo entry.
19570 * facemenu.el (list-colors-display): If the argument is nil, don't
19571 show more colors that the number returned by display-color-cells.
19573 * term/pc-win.el (msdos-color-values): Reverse the order of the
19574 colors, since tty-color-define now preserves the registration order.
19576 * w32-fns.el (w32-tty-standard-colors): Reverse the order.
19578 * term/tty-colors.el (tty-standard-colors): Reverse the order.
19579 (tty-register-default-colors): New function; code moved from
19580 startup.el's command-line.
19581 (tty-modify-color-alist): Use nconc instead of cons, to preserve
19582 the order the colors where registered.
19584 * frame.el (display-color-cells): Use tty-display-color-cells.
19586 * startup.el (command-line): Call tty-register-default-colors.
19588 2002-01-25 Richard M. Stallman <rms@gnu.org>
19590 * subr.el (remove): Doc fix.
19592 2002-01-24 Richard M. Stallman <rms@gnu.org>
19594 * progmodes/compile.el (compilation-handle-exit):
19595 Add a compilation-handle-exit property to the "finished" message.
19596 (compilation-parse-errors): Stop parsing when that property is seen.
19598 * subr.el (substring-no-properties): New function.
19599 (copy-without-properties): Function deleted.
19601 * term/x-win.el (x-handle-geometry): Put sizes on both
19602 initial-frame-alist and default-frame-alist.
19604 * cus-edit.el (custom-save-all): Bind file-precious-flag to t
19607 * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
19609 * calendar/calendar.el (generate-calendar-month): Doc fix.
19611 2002-01-23 Richard M. Stallman <rms@gnu.org>
19613 * play/tetris.el (tetris): New defgroup.
19614 (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
19615 (tetris-default-tick-period): Convert to defcustom.
19616 Added * in docstring to indicate user variable.
19617 (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
19618 (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
19619 (tetris-buffer-height, tetris-width, tetris-height)
19620 (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
19622 2002-01-22 Stefan Monnier <monnier@cs.yale.edu>
19624 * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
19625 and is already matched by adaptive-fill-regexp.
19627 2002-01-22 Richard M. Stallman <rms@gnu.org>
19629 * bindings.el (mode-line-copied-mode-name): New variable.
19630 (mode-line-mode-name): Don't modify mode-name itself!
19631 Instead, make a copy and reuse it.
19633 * subr.el (copy-without-properties): New function.
19635 * progmodes/sh-script.el (sh-set-shell): Doc fix.
19637 * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
19638 slash if DIR is just slash.
19640 * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
19642 2002-01-21 Richard M. Stallman <rms@gnu.org>
19644 * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
19646 * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
19649 * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
19651 * ibuffer.el: Don't require ibuf-ext at load time.
19652 (ibuffer): Require ibuf-ext here.
19654 2002-01-21 Francesco Potortì <pot@gnu.org>
19656 * generic-x.el (apache-conf-generic-mode): Highlight the first
19657 word in a line even if preceded by blanks.
19659 2002-01-21 Richard M. Stallman <rms@gnu.org>
19661 * window.el (window-body-height): Handle minibuffer window specially.
19662 Otherwise, don't return less than 1.
19664 2002-01-20 Thomas Dorner <Thomas.Dorner@start.de>
19666 * ange-ftp.el: Added support for BS2000, and for raw ftp
19667 login commands (needed in some circumstances).
19668 (ange-ftp-raw-login): New custom var.
19669 (ange-ftp-normal-login): Perform login with raw ftp commands, if
19670 ange-ftp-raw-login is set and account password is needed.
19671 (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
19672 (ange-ftp-bs2000-filename-pubset-regexp)
19673 (ange-ftp-bs2000-filename-username-regexp)
19674 (ange-ftp-bs2000-filename-prefix-regexp)
19675 (ange-ftp-bs2000-name-template): New consts.
19676 (ange-ftp-bs2000-short-filename-regexp)
19677 (ange-ftp-bs2000-fix-name-regexp-reverse)
19678 (ange-ftp-bs2000-fix-name-regexp): New consts.
19679 (ange-ftp-bs2000-special-prefix): New custom var.
19680 (ange-ftp-fix-name-for-bs2000)
19681 (ange-ftp-fix-dir-name-for-bs2000): New funs.
19682 (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
19683 (ange-ftp-bs2000-posix-hook-installed): New vars.
19684 (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
19685 (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
19686 (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
19687 (ange-ftp-bs2000-filename-regexp): New const.
19688 (ange-ftp-bs2000-additional-pubsets): New custom var.
19689 (ange-ftp-bs2000-cd-to-posix): New fun.
19691 2002-01-20 Colin Walters <walters@verbum.org>
19693 * ibuffer.el (toplevel): Require `ibuf-ext', which is now compiled
19694 with `byte-compile-dynamic'.
19695 (ibuffer-default-directory, toplevel): Doc files.
19697 2002-01-20 Pavel JanÃk <Pavel@Janik.cz>
19699 * tempo.el (tempo-define-template): Doc fix.
19701 * scroll-bar.el (scroll-bar-mode): Make argument optional.
19703 2002-01-20 Jason Rumney <jasonr@gnu.org>
19705 * w32-vars.el: New file.
19707 * loadup.el [windows-nt]: Load it.
19709 * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
19710 and make them defcustoms.
19712 * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
19714 2002-01-19 Pavel JanÃk <Pavel@Janik.cz>
19716 * language/tibet-util.el (tibetan-decompose-region)
19717 (tibetan-decompose-string): Fix typo in docstring.
19719 * ruler-mode.el (ruler-mode): New keyword. Fix :version.
19721 2002-01-18 Richard M. Stallman <rms@gnu.org>
19723 * comint.el (comint-redirect-send-command-to-process):
19724 Restore previous current buffer.
19726 * window.el (window-body-height): New function.
19728 2002-01-18 Zoltan Kemenczy <kemenczy@rogers.com>
19730 * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
19731 "Finish Function" menu map entries for jdb mode.
19732 (gud-jdb-use-classpath): New customization variable.
19733 (gud-jdb-command-name): Add customization.
19734 (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
19735 (gud-jdb-classpath-string): New variable.
19736 (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
19737 (gud-jdb-build-source-files-list): Likewise.
19738 (gud-jdb-massage-args): Record any command argument classpath
19739 string in `gud-jdb-classpath-string'.
19740 (gud-jdb-lowest-stack-level): New function, finds bottom of current
19741 java call stack in jdb output.
19742 (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
19743 (gud-jdb-parse-classpath-string): New functions.
19744 (gud-jdb-marker-filter): Search/detect classpath information in
19745 jdb's output. marker regexp updated to match oldjdb and jdb output
19746 formats. Expand search for source files to include new/old methods
19747 using new functions above. Do not allow `gud-marker-acc' to grow
19749 (jdb): Set classpath information (if available) as jdb is started.
19750 Change `gud-break' and `gud-remove'
19751 to use new %c ("class") escape in format strings.
19752 Add `gud-finish', `gud-up', `gud-down' command string functions, and
19753 add them to the local menu map. Update `comint-prompt-regexp' for
19754 jdb and oldjdb. If attaching to an already running java VM and
19755 configured to use classpath, send command to query for classpath,
19756 else use previous method for finding and parsing java
19757 sources. Set `gud-jdb-find-source' function accordingly.
19758 (gud-mode): Doc fix.
19759 (gud-format-command): Add support for new %c ("class") escape.
19760 (gud-find-class): New function in support of %c escape.
19762 2002-01-17 Richard M. Stallman <rms@gnu.org>
19764 * ibuf-ext.el: Enable byte-compile-dynamic.
19766 2002-01-17 Jason Rumney <jasonr@gnu.org>
19768 * term/w32-win.el: Restore conditional require of fontset.
19770 2002-01-16 Richard M. Stallman <rms@gnu.org>
19772 * mouse.el (mouse-drag-region-1): Rename from mouse-drag-region,
19774 (mouse-drag-region): New function. For a click in the echo area,
19777 * ibuf-ext.el: Delete the autoloads for functions defined with
19778 ibuffer-specific commands.
19780 * help.el (describe-distribution): Really call view-file.
19782 * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
19783 (ange-ftp-get-process): Pass that arg.
19785 * comint.el (comint-simple-send): Fix previous change.
19787 * net/telnet.el (telnet-simple-send): Fix previous change.
19789 * progmodes/sql.el (sql-escape-newlines-and-send)
19790 (sql-query-placeholders-and-send): Fix previous change.
19792 2002-01-16 Colin Walters <walters@verbum.org>
19794 * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
19795 URL, Compatibility headers. Update copyright notice.
19796 * ibuf-macs.el (toplevel): Require `cl' when compiling.
19798 2002-01-16 Andrew Choi <akochoi@cse.cuhk.edu.hk>
19800 * startup.el (command-line): Set EOL mnemonics for the Mac.
19802 2002-01-16 Andreas Schwab <schwab@suse.de>
19804 * mail/feedmail.el (feedmail): Fix :link spec.
19806 2002-01-16 Pavel JanÃk <Pavel@Janik.cz>
19808 * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
19811 * net/eudc.el: New maintainer. Change author's address.
19812 (eudc-pre-select-window-configuration, eudc-insertion-marker):
19814 (eudc-insert-selected): Function removed.
19815 (eudc-select): Reimplement.
19816 (eudc-expand-inline): Delete the strings only after its expansion
19817 is chosen not before.
19819 * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
19820 Minor coding style fixes.
19822 * net/eudcb-ldap.el: New maintainer. Change author's address.
19823 (eudc-attribute-display-method-alist): Display mail with
19826 * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
19827 * net/eudc-vars.el: New maintainer. Change author's address.
19829 * net/eudc-bob.el: New maintainer. Change author's address.
19830 (eudc-bob-mail-keymap): New keymap for e-mail addresses.
19831 (eudc-display-mail): New function.
19832 (eudc-bob-play-sound-at-point): Remove XEmacs case.
19834 2002-01-15 Richard M. Stallman <rms@gnu.org>
19836 * emacs-lisp/autoload.el (make-autoload):
19837 Don't handle define-ibuffer-column, define-ibuffer-filter,
19838 define-ibuffer-sorter, and define-ibuffer-op.
19840 2002-01-14 Richard M. Stallman <rms@gnu.org>
19842 * calendar/calendar.el (diary-date-forms): Doc fix.
19844 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il>
19846 * startup.el (command-line): Register the default tty colors even
19847 if the terminal doesn't seem to support colors.
19848 <tty-long-option-alist>: New option --color.
19849 (tty-handle-args): Parse the --color arg.
19851 * term/tty-colors.el (tty-color-mode-alist): New variable.
19853 2002-01-14 Stefan Monnier <monnier@cs.yale.edu>
19855 * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
19856 (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
19858 (ange-ftp-hook-function): Preserve match-data.
19859 (ange-ftp-insert-directory): Typo.
19860 (ange-ftp-shell-command): Check if regexp matched.
19862 2002-01-13 Richard M. Stallman <rms@gnu.org>
19864 * international/mule-cmds.el: help-map bindings moved to help.el.
19866 * help.el (view-echo-area-messages): New function.
19867 (help-map): Add `e' binding. Delete obsolete `d' binding.
19868 Change old Info bindings C-f, C-k and C-i to F, K, S.
19869 Move view-emacs-FAQ from F to C-f.
19870 Move view-emacs-problems from P to C-e.
19871 Bindings moved here from mule-cmds.el.
19872 C-l binding for describe-language-environment deleted.
19873 (help-for-help): Update for all these changes.
19875 * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
19877 2002-01-13 Dave Love <fx@gnu.org>
19879 * emacs-lisp/copyright.el: Doc fixes.
19880 (copyright-regexp): Add Latin-9 copyright sign.
19881 Match comment delimiters in year lists.
19882 (copyright-current-year): Initialize to load-time year.
19884 2002-01-13 Andreas Schwab <schwab@suse.de>
19886 * dired-aux.el (dired-do-shell-command): Doc fix.
19888 2002-01-13 Jan Djärv <jan.h.d@swipnet.se>
19890 * startup.el (command-line-x-option-alist): New options "-fs",
19891 "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
19893 * term/x-win.el (x-handle-initial-switch): New function.
19895 2002-01-13 Colin Walters <walters@debian.org>
19897 * emacs-lisp/autoload.el (make-autoload): Handle define-ibuffer-column,
19898 define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
19900 * emacs-lisp/lisp-mode.el (toplevel): Ditto.
19902 * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
19904 2002-01-12 Richard M. Stallman <rms@gnu.org>
19906 * net/browse-url.el (browse-url-grail):
19907 Use browse-url-maybe-new-window.
19909 * net/telnet.el (telnet-simple-send):
19910 Handle comint-input-sender-no-newline like comint-simple-send.
19912 * progmodes/sql.el (sql-query-placeholders-and-send):
19913 Handle comint-input-sender-no-newline like comint-simple-send.
19914 (sql-escape-newlines-and-send): Likewise.
19916 * comint.el (comint-input-sender): Doc fix.
19917 (comint-input-sender-no-newline): New variable.
19918 (comint-simple-send): If comint-input-sender-no-newline,
19919 don't output newline, but maybe send eof.
19920 (comint-send-input): New arg NO-NEWLINE.
19921 (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
19923 2002-01-12 Pavel JanÃk <Pavel@Janik.cz>
19925 * textmodes/flyspell.el (flyspell-check-pre-word-p):
19926 Prevent delaying when executing keyboard macros.
19928 2002-01-12 Richard M. Stallman <rms@gnu.org>
19930 * simple.el (line-move): If we can't move enough lines,
19931 go to beginning or end of line.
19933 * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
19936 * help.el (describe-mode): Call help-setup-xref in the help buffer.
19937 Switch buffers only after calling `help-buffer'.
19939 * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
19940 only when they are surrounded by whitespace.
19941 Use dired-mark-separator when adding one file name to a command.
19942 (dired-do-shell-command): Verify that * is surrounded by whitespace.
19943 Ask for confirmation if * or ? is not surrounded by whitespace.
19944 (dired-bunch-files): Re-reverse the partial file list when it is used.
19946 2002-01-12 Richard M. Stallman <rms@gnu.org>
19948 * comint.el (comint-dynamic-list-completions): Repeating the command
19949 after displaying a completion list scrolls the list.
19951 2002-01-12 Eli Zaretskii <eliz@is.elta.co.il>
19953 * files.el (find-file-noselect): Don't consider a buffer as
19954 visiting a file literally if it is in hexl-mode.
19956 * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
19958 2002-01-11 Richard M. Stallman <rms@gnu.org>
19960 * startup.el (initial-scratch-message): Fix custom type, add group.
19962 * mail/rmail.el (rmail-decode-babyl-format): Disable undo
19963 around the decode-coding-region call.
19965 * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
19966 after displaying a completion list scrolls the list.
19968 2002-01-11 Eli Zaretskii <eliz@is.elta.co.il>
19970 * version.el (emacs-version): Bump to 21.2.50.
19972 2002-01-10 Thien-Thi Nguyen <ttn@giblet.glug.org>
19974 * play/zone.el (zone-timeout): New var.
19975 (zone-hiding-modeline): New macro.
19976 (zone-call): New func.
19978 (zone): Init `modeline-hidden-level' symbol property.
19979 Use `zone-call' instead of `funcall'.
19981 (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 2001-10-26T20:11:25Z!monnier@iro.umontreal.ca).
19983 (zone-pgm-stress): Use `zone-hiding-modeline'.
19985 (zone-pgm-stress-destress): New zone program.
19987 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
19989 * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
19991 2002-01-09 Richard M. Stallman <rms@gnu.org>
19993 * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
19995 2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu>
19997 * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
19998 flyspell-mouse-map.
20000 2002-01-08 Richard M. Stallman <rms@gnu.org>
20002 * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
20004 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
20006 * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
20008 2002-01-08 Pavel JanÃk <Pavel@Janik.cz>
20010 * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
20011 Do not use make-local-hook.
20013 2002-01-08 Eli Zaretskii <eliz@is.elta.co.il>
20015 * international/quail.el (quail-start-translation)
20016 (quail-start-conversion): Bind last-command-event, last-command,
20017 and this-command in the first let. This fixes the change from
20020 2002-01-08 Michael Kifer <kifer@cs.stonybrook.edu>
20022 * ediff-hook.el: Add an autoload cookie.
20024 2002-01-08 Pavel JanÃk <Pavel@Janik.cz>
20026 * net/eudcb-ph.el, net/ldap.el: New maintainer. New e-mail
20027 address of the author.
20029 2002-01-08 Richard M. Stallman <rms@gnu.org>
20031 * replace.el (occur-mode-goto-occurrence-other-window): New command.
20032 (occur-mode-map): Bind `o' to that.
20034 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
20036 * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
20037 New macro that replaces viper-emacs-p and viper-xemacs-p in many
20038 cases. Used to reduce the number of warnings.
20040 * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
20041 (viper-standard-value): Move here from viper.el.
20042 (viper-set-unread-command-events): Move to viper-util.el.
20043 (viper-check-minibuffer-overlay): Make sure
20044 viper-minibuffer-overlay is moved to cover the entire input field.
20046 * viper-util.el: Use viper-cond-compile-for-xemacs-or-emacs.
20047 (viper-read-key-sequence, viper-set-unread-command-events)
20048 (viper-char-symbol-sequence-p, viper-char-array-p): Move here.
20050 * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
20052 * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
20054 * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
20056 * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
20057 (viper-event-vector-p): Move to viper-util.el
20059 * viper.el (viper-standard-value): Move to viper-cmd.el.
20060 Use viper-cond-compile-for-xemacs-or-emacs.
20062 * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20064 * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20066 * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
20067 New macro designed to be used in many places where ediff-emacs-p or
20068 ediff-xemacs-p was previously used. Reduces the number of warnings.
20069 Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
20071 (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
20072 (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
20073 (ediff-whitespace-diff-region-p, ediff-get-region-contents):
20074 Move to ediff-util.el.
20075 (ediff-event-key): Move here.
20077 * ediff-merge.el: Got rid of unreferenced variables.
20079 * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20081 * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20082 (ediff-cleanup-mess): Improve the way windows are set up after
20084 (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
20085 (ediff-dispose-of-variant-according-to-user): New function
20086 designed to be smarter and also understands indirect buffers.
20087 (ediff-highlight-diff-in-one-buffer)
20088 (ediff-unhighlight-diff-in-one-buffer)
20089 (ediff-unhighlight-diffs-totally-in-one-buffer)
20090 (ediff-highlight-diff, ediff-highlight-diff)
20091 (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
20092 (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
20093 (ediff-get-region-contents, ediff-make-current-diff-overlay):
20095 (ediff-format-bindings-of): New function by Hannu Koivisto
20097 (ediff-setup): Make sure the merge buffer is always widened and
20099 (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
20100 result of a merge into a file visited by another buffer.
20101 (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
20102 is visited by another buffer and ask to save/delete that buffer.
20103 (ediff-verify-file-merge-buffer): New function to do the above.
20105 * ediff-vers.el: Load ediff-init.el at compile time.
20107 * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20109 * ediff.el (ediff-windows, ediff-regions-wordwise)
20110 (ediff-regions-linewise): Use indirect buffers to improve
20111 robustness and make it possible to compare regions of the same
20112 buffer (even overlapping regions).
20113 (ediff-clone-buffer-for-region-comparison)
20114 (ediff-clone-buffer-for-window-comparison): New functions.
20115 (ediff-files-internal): Refuse to compare identical files.
20116 (ediff-regions-internal): Get rid of the warning about comparing
20117 regions of the same buffer.
20119 * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Move here.
20120 Plus the following fixes courtesy of Dave Love: Doc fixes.
20121 (ediff-word-1): Use word class and move - to the
20122 front per regexp documentation.
20123 (ediff-wordify): Bind forward-word-function outside loop.
20124 (ediff-copy-to-buffer): Use insert-buffer-substring rather than
20125 consing buffer contents.
20126 (ediff-goto-word): Move syntax table setting outside loop.
20128 2002-01-07 Richard M. Stallman <rms@gnu.org>
20130 * dired.el (dired-copy-filename-as-kill): Call kill-append
20131 if following a kill command.
20133 * help-fns.el (describe-variable, describe-function):
20136 2002-01-06 Pavel JanÃk <Pavel@Janik.cz>
20138 * net/ldap.el (ldap-search-internal): Skip error message from
20139 ldapsearch. Allow listing attribute names only. Do not open
20140 non-existent files.
20142 * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
20143 call non-existent function.
20145 * net/eudc.el (top-level): Revert previous change.
20147 * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
20148 variables to prevent warning from byte-compiler.
20150 * net/eudc.el (top-level): Use eudc-xemacs-p instead of
20151 string-match on emacs-version again.
20153 * enriched.el (enriched-make-annotation): Fix the change from
20155 (enriched-handle-display-prop): Return proper values.
20157 * net/eudcb-ldap.el (eudc-attribute-display-method-alist):
20158 Use proper attribute name labeledUri instead of deprecated labeledUrl.
20160 2002-01-05 Pavel JanÃk <Pavel@Janik.cz>
20162 * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
20163 editing an empty hotlist.
20165 * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
20166 Use buffer-string instead of buffer-substring for the whole buffer.
20168 * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
20171 * net/eudc-bob.el (eudc-bob-can-display-inline-images)
20172 (eudc-bob-display-jpeg): Use fboundp instead of boundp.
20173 (eudc-bob-save-object): Make the buffer unibyte.
20174 (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
20175 object to external program.
20177 2002-01-05 Andre Spiegel <spiegel@gnu.org>
20179 * vc.el (vc-branch-part): Return nil if there's no `.'.
20180 (vc-default-previous-version): Rename from vc-previous-version.
20181 New args BACKEND and FILE. Return nil for revision numbers
20183 (vc-version-diff): Call vc-BACKEND-previous-version.
20184 (vc-steal-lock): Steal lock before composing mail, so that no mail
20185 is sent when the stealing goes wrong. And we'll actually see the
20186 error in that case now.
20187 (vc-finish-steal): Remove.
20189 * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
20190 the lock, so that we see expanded headers.
20191 (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p)
20192 (vc-rcs-minor-part, vc-rcs-previous-version): Remove. These are
20193 available from vc.el. Updated all callers.
20195 2002-01-05 Richard M. Stallman <rms@gnu.org>
20197 * enriched.el (enriched-make-annotation): Doc fix.
20199 * format.el (format-replace-strings, format-subtract-regions)
20200 (format-annotate-region, format-annotate-location)
20201 (format-annotate-atomic-property-change)
20202 (format-annotate-single-property-change): Doc fixes.
20204 2002-01-05 Jason Rumney <jasonr@gnu.org>
20206 * term/w32-win.el: Require fontset unconditionally.
20207 (w32-handle-scroll-bar-event): Remove.
20209 2002-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20211 * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
20212 copyrights to be updated.
20214 2002-01-04 Eli Zaretskii <eliz@is.elta.co.il>
20216 * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
20219 * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
20221 2002-01-04 Pavel JanÃk <Pavel@Janik.cz>
20223 * net/ldap.el (ldap-host-parameters-alist): Remove duplicated entry.
20224 (ldap-ignore-attribute-codings): Change the default value to allow
20225 encoding/decoding of attributes.
20226 (ldap-coding-system): Use UTF-8 as the coding-system. Doc fix.
20228 2002-01-03 Richard M. Stallman <rms@gnu.org>
20230 * files.el (basic-save-buffer): Undo previous change.
20232 * calendar/diary-lib.el (diary-block): Doc fix.
20234 * custom.el (defcustom): Fix syntax of previous change.
20236 2002-01-03 Per Abrahamsen <abraham@dina.kvl.dk>
20238 * custom.el (defcustom): Document :tag, :link and :load.
20240 2002-01-03 Eli Zaretskii <eliz@is.elta.co.il>
20242 * mail/sendmail.el (mail-recover-1): New function.
20243 (mail-recover): Switch to the *mail* buffer right away.
20244 Use buffer-auto-save-file-name instead of calling
20245 make-auto-save-file-name. Call dired-noselect instead of invoking
20246 `ls' directly. Bind coding-system-for-read to emacs-mule-unix
20247 before reading the auto-save file. If the buffer's auto-save file
20248 does not exist, call mail-recover-1 to allow recovery from past
20251 2002-01-03 Pavel JanÃk <Pavel@Janik.cz>
20253 * time.el (display-time-load-average-threshold):
20254 Fix defcustom (add type and group).
20256 * net/ange-ftp.el (ange-ftp-shell-command): Remove port
20257 specification from the hostname.
20259 2002-01-02 Richard M. Stallman <rms@gnu.org>
20261 * facemenu.el (facemenu-active-faces):
20262 Use face-attributes-as-vector, not face-attributes-vector.
20264 2002-01-02 Chris Hanson <cph@aarau.ai.mit.edu>
20266 * xscheme.el: Eleven years of updates on a private copy.
20268 Extensive changes to support multiple xscheme buffers:
20269 (run-scheme): Break up into new functions to facilitate starting
20270 processes in other buffers.
20271 (xscheme-start, xscheme-read-command-line): New functions.
20272 (start-scheme, select-scheme)
20273 (default-xscheme-runlight)
20274 (global-set-scheme-interaction-buffer)
20275 (local-set-scheme-interaction-buffer)
20276 (local-clear-scheme-interaction-buffer)
20277 (exit-scheme-interaction-mode)
20278 (verify-xscheme-buffer): New functions.
20279 (xscheme-process-name, xscheme-buffer-name)
20280 (xscheme-runlight): New internal vars.
20281 (default-xscheme-runlight): New const.
20282 (xscheme-start-process): Add args for the process/buffer names.
20283 (reset-scheme): Pass process/buffer names.
20284 (scheme-interaction-mode): Initialize new local vars.
20285 (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
20286 (xscheme-select-process-buffer, xscheme-process-buffer)
20287 (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
20288 (xscheme-goto-output-point, xscheme-write-message-1): Use new
20289 var xscheme-process-name.
20290 (xscheme-start-process): Initialize xscheme-process-name and
20291 xscheme-buffer-name in the process buffer. Pass buffer name to
20292 xscheme-modeline-initialize.
20293 (xscheme-modeline-initialize): Add argument to specify buffer name
20294 for mode-line vars.
20295 (xscheme-process-sentinel): Make sure sentinel is run in the
20296 process buffer so it sees its local vars.
20297 (xscheme-process-filter-initialize, xscheme-set-runlight):
20298 More elaborate logic to handle multiple-buffer mode lines.
20300 (xscheme-enter-input-wait): Re-enable control-G handler upon
20301 entering input wait.
20303 (scheme-interaction-mode): Add arg to preserve local vars.
20304 (xscheme-enter-interaction-mode)
20305 (xscheme-enter-debugger-mode): Preserve local vars.
20306 (xscheme-start-process): Clobber local vars.
20308 (scheme-interaction-mode-commands): Allow end user to add commands
20309 to scheme-interaction-mode keymap.
20310 (scheme-interaction-mode-commands-alist): New variable.
20312 (xscheme-send-string): Don't use insert-before-markers.
20314 Implement a per-buffer kill ring:
20315 (xscheme-insert-expression)
20316 (xscheme-rotate-yank-pointer, xscheme-yank)
20317 (xscheme-yank-pop, xscheme-yank-push): New functions.
20318 (xscheme-expressions-ring)
20319 (xscheme-expressions-ring-yank-pointer)
20320 (xscheme-expressions-ring-max): New variables.
20321 (xscheme-send-string-1): Call xscheme-insert-expression to save
20322 expression in ring.
20323 (xscheme-yank-previous-send): Now an alias for xscheme-yank.
20324 (xscheme-previous-send): Delete variable.
20326 (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed)
20327 (xscheme-send-control-g-interrupt): Use process-send-string rather
20330 (xscheme-send-region): Insert a newline after an expression that
20331 is submitted in the interaction buffer, for consistency with
20332 recent changes to Edwin.
20334 (xscheme-delete-output): New function mimics comint-delete-output.
20335 (xscheme-last-input-end): New internal variable.
20336 (xscheme-process-filter-output): Update xscheme-last-input-end.
20338 (xscheme-send-control-g-interrupt): Make sure that
20339 xscheme-control-g-disabled-p is looked up in the right buffer.
20341 (xscheme-enable-control-g): Clear C-g message if visible.
20342 (xscheme-control-g-message-string): New internal var.
20343 (xscheme-send-control-g-interrupt): Use new var.
20345 (xscheme-send-control-g-interrupt, xscheme-send-interrupt):
20346 Delay after sending interrupt in order to work around race condition.
20348 (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
20349 (xscheme-send-char): Use xscheme-send-char rather than send-string
20350 to send single char.
20352 (xscheme-process-filter, xscheme-process-filter-alist):
20353 Add support for evaluating expressions outside of the call-excursion.
20354 (xscheme-process-filter:string-action-noexcursion): New func.
20356 (xscheme-write-value): Change output string to match that used by
20359 (xscheme-coerce-prompt): Don't write a space after a command
20360 prompt. The PROMPT-FOR-COMMAND- procedures will take care of this
20363 (reset-scheme): Delete process after killing it.
20365 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
20367 * bindings.el (function-key-map): Don't bind shifted keypad
20370 2002-01-02 Pavel JanÃk <Pavel@Janik.cz>
20372 * enriched.el (enriched-handle-display-prop): Remove unused variables.
20373 (enriched-mode): Doc fix.
20375 2002-01-02 Eli Zaretskii <eliz@is.elta.co.il>
20377 * international/ucs-tables.el (ucs-8859-8-alist): Comment away
20380 2002-01-01 Richard M. Stallman <rms@gnu.org>
20382 * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
20384 2001-12-31 Richard M. Stallman <rms@gnu.org>
20386 * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
20387 * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
20388 * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
20389 * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
20390 * progmodes/cperl-mode.el, progmodes/idlwave.el:
20391 * progmodes/sh-script.el, progmodes/vhdl-mode.el:
20392 Adapt face definitions to use :weight and :slant.
20394 * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
20396 * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
20398 * font-lock.el (initializing from font-lock-face-attributes):
20399 Use :weight and :slant, not :bold and :italic.
20401 2001-12-31 Per Abrahamsen <abraham@dina.kvl.dk>
20403 * cus-edit.el (custom-face-edit-fix-value): New function.
20404 (custom-face-edit): Use it, to convert :italic and :bold to new forms.
20406 2001-12-30 Pavel JanÃk <Pavel@Janik.cz>
20408 * progmodes/octave-mod.el (octave-abbrev-table):
20409 * progmodes/idlwave.el (idlwave-mode-abbrev-table):
20410 * progmodes/fortran.el (fortran-mode-abbrev-table):
20411 * progmodes/f90.el (f90-mode-abbrev-table):
20412 * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
20413 * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
20414 predefined abbrevs as "system" abbrevs.
20416 2001-12-30 Richard M. Stallman <rms@gnu.org>
20418 * info.el (Info-fontify-node): For a **** underline line, put the
20419 invisible and intangible props on the following newline, but not
20420 on the previous newline or the last char of the previous line.
20422 * faces.el (face-set-after-frame-default): Don't change `default' face.
20424 * faces.el (minibuffer-prompt): Adopt some default colors.
20426 * replace.el (query-replace-read-args): Immediate error if read-only.
20428 * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
20429 Display the output buffer in a more intelligent way.
20431 2001-12-30 Eli Zaretskii <eliz@is.elta.co.il>
20433 * ls-lisp.el (insert-directory): Modify the "total" line wording,
20434 in accordance with files.el's insert-directory.
20436 2001-12-29 Richard M. Stallman <rms@gnu.org>
20438 * files.el (basic-save-buffer): If a before-write hook displays
20439 an echo area message, pause before calling basic-save-buffer-1.
20441 2001-12-29 Markus Rost <rost@math.ohio-state.edu>
20443 * textmodes/reftex-global.el (reftex-query-replace-document)
20444 (reftex-change-label): Doc fix.
20446 * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
20448 * progmodes/etags.el (tags-query-replace): Doc fix.
20450 2001-12-29 Richard M. Stallman <rms@gnu.org>
20452 * progmodes/compile.el (compile-internal): Fix previous change.
20454 2001-12-28 Richard M. Stallman <rms@gnu.org>
20456 * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
20457 shrink the windows above as necessary to get space.
20458 (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
20460 * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
20461 This fixes a bug that treated all files as directories.
20462 (ange-ftp-insert-directory): Explicitly follow symlinks.
20464 * international/iso-transl.el (iso-transl-char-map) Eliminate the
20465 alias symbols--put the translated sequences here directly.
20467 * progmodes/cc-mode.el (c-mode-abbrev-table)
20468 (c++-mode-abbrev-table, objc-mode-abbrev-table)
20469 (java-mode-abbrev-table, pike-mode-abbrev-table):
20470 Mark all the predefined abbrevs as "system" abbrevs.
20472 * mail/sendmail.el (mail-envelope-from): Fix custom type.
20473 (sendmail-send-it): Check mail-specify-envelope-from
20474 and mail-envelope-from in the mail buffer at start.
20476 2001-12-28 Simon Josefsson <jas@extundo.com>
20478 * mail/sendmail.el (mail-envelope-from): Fix :type.
20479 (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
20481 2001-12-28 Richard M. Stallman <rms@gnu.org>
20483 * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
20485 * simple.el (line-move-invisible): New subroutine.
20486 (line-move-to-column): New subroutine--smarter about advancing over
20487 invisible parts of a line, or lines, but only as long as hpos grows.
20488 (line-move-finish): New subroutine: repeatedly processes desired
20489 column, intangibility, and fields.
20490 (line-move): Use those subroutines.
20491 When moving lines downward, skip invisible text first rather than last.
20493 2001-12-27 Richard M. Stallman <rms@gnu.org>
20495 * international/mule-diag.el (describe-char-after):
20496 Describe the text properties of the char after point.
20498 * help.el (describe-key): Doc fix.
20500 2001-12-26 Markus Rost <rost@math.ohio-state.edu>
20502 * find-dired.el (find-dired-sentinel): Precede exit message by
20503 two spaces, to match the regexp in dired-between-files.
20505 2001-12-28 Miles Bader <miles@gnu.org>
20507 * wid-edit.el (widget-toggle-value-create): Don't eval actual
20508 images (which are lists too).
20510 2001-12-27 Eli Zaretskii <eliz@is.elta.co.il>
20512 * language/european.el: Fix the doc string of "Latin-5" language
20515 2001-12-26 Richard M. Stallman <rms@gnu.org>
20517 * textmodes/flyspell.el (flyspell-mode-map): New keymap,
20518 defined as before 2001-11-09.
20519 (add-minor-mode call): Specify the keymap.
20521 * progmodes/compile.el (compile-internal):
20522 Set TERM variable in process-environment.
20524 2001-12-25 Richard M. Stallman <rms@gnu.org>
20526 * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
20529 * startup.el (command-line): Convert command line args
20530 to Emacs internal representation using locale-coding-system.
20532 2001-12-25 Eli Zaretskii <eliz@is.elta.co.il>
20534 * international/fontset.el: Don't require ind-util when compiling.
20536 2001-12-25 Pavel JanÃk <Pavel@Janik.cz>
20538 * emulation/tpu-edt.el (tpu-reset-screen-size):
20539 Use set-frame-height and set-frame-width instead of set-screen-height
20540 and set-screen-width.
20542 * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
20543 of obsolete set-screen-width.
20545 * locate.el (locate): Remove dot at the end of error argument.
20547 * emerge.el (emerge-show-file-name): Use frame-height instead of
20548 obsolete screen-height.
20550 * mail/mh-utils.el (mh-show-msg): Likewise.
20551 (mh-handle-process-error): Use frame-width instead of obsolete
20554 2001-12-25 Richard M. Stallman <rms@gnu.org>
20556 * window.el (balance-windows): Use new PRESERVE-BEFORE arg
20557 to enlarge-window. Use save-selected-window. Don't try
20558 to resize windows that end at the bottom "level".
20559 Retry changing the sizes until the windows get the desired sizes.
20560 Discount the minibuffer when computing total height available.
20562 * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
20563 (debugger-make-xrefs): Only make a button for the first symbol
20566 2001-12-24 Eli Zaretskii <eliz@is.elta.co.il>
20568 * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
20569 Call IT-setup-unicode-display here instead of adding it to
20570 dos-codepage-setup-hook, so that Unicode display tables are set
20571 before dos-codepage-setup-hook runs.
20573 2001-12-24 Richard M. Stallman <rms@gnu.org>
20575 * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
20576 (nslookup-mode-abbrev-table): Don't define it.
20577 (smbclient-mode-abbrev-table): Don't define it.
20578 (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
20579 (nslookup-mode, smbclient-mode): Likewise.
20580 (network-connection-service-abbrev-alist): Variable deleted.
20581 (network-connection-mode-setup): Don't set up abbrev table.
20583 * faces.el (minibuffer-prompt): New face.
20584 (minibuffer-prompt-properties): Add `face' property.
20586 * replace.el (occur-mode-display-occurrence): New function.
20587 (occur-mode-map): Bind C-o to it.
20589 2001-12-24 Michael Kifer <kifer@cs.sunysb.edu>
20591 * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
20592 (viper-special-read-and-insert-char): Make C-m work right in the r
20594 (viper-buffer-search-enable): Fix format string.
20596 * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
20597 instead of viper-info-on-file.
20598 (ex-set-visited-file-name): New function.
20600 * viper.el (viper-emacs-state-mode-list): Add mail-mode.
20602 * ediff-mult.el (ediff-meta-mark-equal-files): Add optional
20605 * ediff-init.el: Fixed some doc strings.
20607 * ediff-util.el (ediff-after-quit-hook-internal): New variable.
20608 Got rid of make-local-hook.
20610 * ediff-wind.el (ediff-setup-control-frame): Got rid of
20613 2001-12-23 Richard M. Stallman <rms@gnu.org>
20615 * term/x-win.el (x-handle-geometry): Put height and width
20616 on default-frame-alist, left and top on initial-frame-alist.
20617 * term/w32-win.el (x-handle-geometry): Likewise.
20619 * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
20621 * play/yow.el (yow): Use an arg to distinguish interactive calls,
20624 2001-12-22 Pavel JanÃk <Pavel@Janik.cz>
20626 * emacs-lisp/elint.el (elint-unknown-builtin-args):
20627 Remove mocklisp entries.
20629 * subr.el (insert-string): Move from mocklisp.c, reimplemented in
20632 * emulation/mlconvert.el: File removed.
20634 * emulation/mlsupport.el: Moved to obsolete.
20636 * obsolete/mlsupport.el: Moved there from lisp/emulation.
20638 * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
20640 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
20641 Remove mocklisp case.
20643 * help-fns.el (describe-function-1): Remove mocklisp function case.
20645 2001-12-22 Miles Bader <miles@gnu.org>
20647 * textmodes/refill.el (refill-mode): Don't barf when redundantly
20648 turning refill-mode off.
20650 2001-12-22 Pavel JanÃk <Pavel@Janik.cz>
20652 * time.el (display-time-load-average-threshold): New variable.
20653 (display-time-update): Use it.
20655 These changes allow cycling through past 1, 5 and 15 minutes
20656 load-average displayed in the mode-line.
20658 * time.el (display-time-default-load-average): New customizable option.
20659 (display-time-load-average): New variable.
20660 (display-time-cycle-load-average): New function.
20661 (display-time-update): Use them.
20663 2001-12-21 Richard M. Stallman <rms@gnu.org>
20665 * apropos.el (apropos-print): SPACING is now nil or a separator string.
20666 (apropos-documentation, apropos-value): Pass a suitable string.
20668 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
20670 * dired.el (dired-free-space-program, dired-free-space-args):
20671 Aliases for back-compatibility.
20673 * info.el (Info-select-node): If Info-use-header-line is nil, set
20674 header-line-format to nil.
20675 (Info-fontify-node): Don't put a keymap text property on the
20676 heading if we are not going to display the header line. Remove
20677 any such text properties left over from past visits to this node.
20679 * ls-lisp.el (insert-directory): Insert the amount of free disk
20680 space, like files.el's insert-directory does.
20682 * files.el (directory-free-space-program):
20683 Mention file-system-info in the doc string.
20684 (get-free-disk-space): New function; code moved from insert-directory.
20685 (insert-directory): Call get-free-disk-space to get the amount of
20688 2001-12-21 Richard M. Stallman <rms@gnu.org>
20690 * help.el (view-order-manuals, view-emacs-news, describe-copying)
20691 (describe-distribution, describe-project): Use view-file.
20693 * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
20695 * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
20697 * emacs-lisp/easy-mmode.el (define-minor-mode):
20698 Make no arg by default in an interactive call,
20699 so that repeating the command toggles again.
20701 * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
20703 2001-12-21 Christoph Wedler <Christoph.Wedler@sap.com>
20705 * progmodes/antlr-mode.el: More sophisticated indentation
20707 (antlr-indent-at-bol-alist): New user option.
20708 (antlr-indent-line): Use it.
20709 (antlr-indent-style): New user option.
20710 (antlr-mode): Use it.
20711 (antlr-indent-item-regexp): Customize.
20713 * progmodes/antlr-mode.el: Syntax highlighting changes.
20714 (antlr-font-lock-literal-regexp): New user option.
20715 (antlr-font-lock-syntax-face): New face used for :, |, ....
20716 (antlr-font-lock-default-face): New face.
20717 (antlr-font-lock-additional-keywords): Use them.
20719 * progmodes/antlr-mode.el: New command to insert options -- variables.
20720 (antlr-mode-map): New binding [C-c C-o].
20721 (antlr-mode-menu): New submenus.
20722 (antlr-options-use-submenus): New user option.
20723 (antlr-tool-version): New user option.
20724 (antlr-options-auto-colon): New user option.
20725 (antlr-options-style): New user option.
20726 (antlr-options-push-mark): New user option.
20727 (antlr-options-assign-string): New user option.
20728 (antlr-options-headings): New variable.
20730 * progmodes/antlr-mode.el: New command to insert options -- specific.
20731 (antlr-options-alists): New variable.
20732 (antlr-read-value): New function.
20733 (antlr-read-boolean): New function.
20734 (antlr-language-option-extra): New function.
20735 (antlr-language-limit-n-regexp): Change default to higher LIMIT.
20736 (antlr-c++-mode-extra): New function.
20737 (antlr-grammar-tokens): New function.
20738 (antlr-imenu-create-index-function): New optional argument.
20740 * progmodes/antlr-mode.el: New command to insert options -- functions.
20741 (antlr-insert-option): New command.
20742 (antlr-insert-option-interactive): New function.
20743 (antlr-options-menu-filter): New function.
20744 (antlr-option-kind): New function.
20745 (antlr-scan-lists): New alias.
20746 (antlr-scan-lists-internal): New function.
20747 (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
20748 (antlr-option-level): New function.
20749 (antlr-syntactic-grammar-depth): New function.
20750 (antlr-option-location): New function.
20751 (antlr-insert-option-do): New function.
20752 (antlr-option-spec): New function.
20753 (antlr-version-string): New function.
20754 (antlr-insert-option-existing): New function.
20755 (antlr-insert-option-space): New function.
20756 (antlr-insert-option-area): New function.
20758 * progmodes/antlr-mode.el: New electric keys ":;|&(){}", TAB works better
20759 with narrowing. Menu change. Miscellaneous.
20760 (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
20761 (antlr-mode-map): New bindings for characters in ":;|&(){}".
20762 (antlr-electric-character): New command.
20763 (antlr-class-header-regexp): New variable.
20764 (antlr-font-lock-additional-keywords): Use it.
20765 (antlr-imenu-create-index-function): Use it.
20766 (antlr-file-dependencies): Use it.
20767 (antlr-indent-line): Also works with restrictions.
20768 (antlr-indent-command): Interactive spec - changes the buffer.
20769 (antlr-language-for-option): Deletia.
20770 (antlr-language-option): New function, defined instead.
20771 (antlr-mode): Use it.
20773 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il>
20775 * jka-compr.el (jka-compr-partial-uncompress): Use null-device
20776 instead of a literal /dev/null.
20778 * Makefile.in (distclean): Remove Makefile in the build
20779 directory, not in the source directory.
20781 2001-12-21 Simon Josefsson <jas@extundo.com>
20783 * mail/smtpmail.el (smtpmail-send-queued-mail):
20784 Use with-temp-buffer instead of find-file-noselect, and bind
20785 coding-system-for-read to no-conversion when reading the queued
20786 messages. (Simon's code modified slightly by Eli Zaretskii.)
20788 2001-12-20 Werner Lemberg <wl@gnu.org>
20790 * international/mule-diag.el (describe-coding-system)
20791 (print-coding-system-briefly): Make printed output have a similar
20792 format as describe-character-set.
20794 2001-12-20 Pavel JanÃk <Pavel@Janik.cz>
20796 * play/blackbox.el (bb-member): Remove, use member instead.
20797 (bb-delete): Remove, use delete instead.
20798 Update copyright notice. Defvar for bb-board, bb-x, bb-y,
20799 bb-score, bb-detour-count and bb-balls-placed.
20800 Propertize results of rays.
20802 2001-12-19 Karl Fogel <kfogel@red-bean.com>
20804 * isearch.el (isearch-forward, isearch-edit-string): Make doc
20805 strings mention keybinding for `isearch-yank-word-or-char',
20806 rather than `isearch-yank-word', since the former is bound now
20807 and the latter is not.
20808 (isearch-yank-word-or-char): Fix formatting.
20810 2001-12-19 Werner Lemberg <wl@gnu.org>
20812 * language/czech.el, language/european.el, language/slovak.el:
20813 More fixes for language info doc strings.
20815 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il>
20817 * loadup.el: Add "language" to the load-path.
20819 2001-12-19 Richard M. Stallman <rms@gnu.org>
20821 * international/mule-cmds.el (describe-language-environment):
20822 Fix calls to help-xref-button.
20824 2001-12-19 Miles Bader <miles@gnu.org>
20826 * international/fontset.el: Require `ind-util' when compiling.
20828 2001-12-18 Pavel JanÃk <Pavel@Janik.cz>
20830 * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
20831 instead of decompose-composite-char.
20833 2001-12-18 Richard M. Stallman <rms@gnu.org>
20835 * simple.el (eval-expression-print-level)
20836 (eval-expression-print-length): Doc fixes.
20838 * international/mule-diag.el (describe-character-set):
20839 Fix the arg to help-xref-button.
20841 * files.el (directory-free-space-program): New variable.
20842 (directory-free-space-args): New variable.
20843 (insert-directory): Use those two variables for getting free space.
20844 Use file-system-info instead, if that is defined.
20846 * dired.el (dired-free-space-program): Variable deleted.
20847 (dired-free-space-args): Variable deleted.
20848 (dired-insert-directory): Don't try to determine free space.
20850 * files.el (font-lock-defaults): Add risky-local-variables prop.
20851 (hack-one-local-variable): Treat various font-lock variables as risky.
20853 2001-12-18 Werner Lemberg <wl@gnu.org>
20855 * language/chinese.el, language/cyrillic.el:
20856 * language/czech.el, language/european.el, language/greek.el:
20857 * language/hebrew.el, language/indian.el, language/japanese.el:
20858 * language/korean.el, language/lao.el, language/slovak.el:
20859 * language/thai.el, language/tibetan.el, language/vietnamese.el:
20860 Improve documentation strings of coding systems and language infos.
20862 2001-12-18 Werner LEMBERG <wl@gnu.org>
20864 Add support for EUC-TW decoding/encoding.
20866 * language/china-util.el (big5-to-flat-code, flat-code-to-big5)
20867 (euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
20868 New auxiliary functions to build `big5-to-cns'.
20869 (big5-to-cns): New translation alist.
20871 * language/chinese.el: Added new coding system `euc-tw' and its
20872 alias `euc-taiwan'.
20873 Updated language `Chinese-CNS' to include euc-tw encoding also.
20874 (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
20877 2001-12-18 Dave Love <fx@gnu.org>
20879 * loadup.el: Add language/utf-8-lang, language/georgian.
20881 * image-file.el (image-file-name-extensions): Add pnm. Doc fix.
20882 (image-file-name-regexps): Doc fix.
20884 * server.el (server-unload-hook): New function.
20886 * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
20887 (lm-crack-copyright): Cope with multi-line copyright `lines'.
20889 * simple.el (newline): Doc fix.
20890 (eval-expression-print-level, eval-expression-print-length):
20891 Doc fix. Amend :type.
20892 (next-line, previous-line): Make arg optional.
20893 (newline): Doc fix.
20895 * Makefile.in (DONTCOMPILE): Add various language files.
20897 * international/quail.el (quail-input-string-to-events): Don't use
20900 * progmodes/f90.el (f90-break-line): Avoid infinite recursion
20903 2001-12-17 Richard M. Stallman <rms@gnu.org>
20905 * comint.el (comint-dynamic-list-input-ring-select): New function.
20906 Switches back to the old window configuration.
20907 (comint-dynamic-list-input-ring): Bind RET to that function.
20908 (comint-dynamic-list-input-ring-window-conf): New variable.
20910 2001-12-17 Werner Lemberg <wl@gnu.org>
20912 * international/mule-conf.el: Improve documentation strings of
20915 2001-12-16 Richard M. Stallman <rms@gnu.org>
20917 * dired.el (dired-copy-filename-as-kill): Move from dired-x.el.
20918 (dired-mode-map): Bind w to dired-copy-filename-as-kill.
20920 * dired-x.el (dired-copy-filename-as-kill): Move to dired.el.
20922 * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
20923 Add a DESCRIPTION for the makefile item.
20925 * find-file.el (ff-other-file-name): New function.
20927 2001-12-16 Eli Zaretskii <eliz@is.elta.co.il>
20929 * international/quail.el (quail-input-string-to-events): Fix last
20932 2001-12-16 Richard M. Stallman <rms@gnu.org>
20934 * isearch.el (isearch-edit-string): When we set isearch-string
20935 to the default, also set isearch-message.
20937 * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
20939 * startup.el (command-line-1): Display startup screen
20940 even if there are command line args.
20941 Add a note about how to go to editing your files.
20942 (fancy-splash-head): Add a note about how to go to your files.
20943 (fancy-splash-outer-buffer): New variable.
20944 (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
20946 * subr.el (with-temp-message): At the end, always discard
20947 the temp message, even by clearing the echo area.
20949 * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
20951 2001-12-16 Stefan Monnier <monnier@cs.yale.edu>
20953 * log-view.el (log-view-message-re, log-view-current-tag):
20954 Recognize Subversion's log output format.
20956 * international/fontset.el: Build the list L at compile time.
20958 * language/ind-util.el (mapthread): Make a closure.
20960 2001-12-15 Richard M. Stallman <rms@gnu.org>
20962 * isearch.el (isearch-start-hscroll): New variable.
20963 (isearch-mode): Set isearch-start-hscroll.
20964 (isearch-update): Restore original hscrolling if possible.
20966 * isearch.el (isearch-edit-string):
20967 Treat isearch-yank-word-or-char specially, like isearch-yank-word.
20969 * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
20970 (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
20971 rather than regexp search and (2) copying text properties
20972 already set up on text unchanged from the previous backtrace.
20974 * case-table.el (set-case-syntax-pair):
20975 Detect invalid calls and signal an error.
20977 2001-12-15 Richard M. Stallman <rms@gnu.org>
20979 * language/ind-util.el (range): Function deleted.
20980 (indian-regexp-of-hashtbl-keys): Rename from `regexp-of-hashtbl-keys'.
20983 * language/devan-util.el (devanagari-range): Rename from `range'.
20985 (devanagari-regexp-of-hashtbl-keys):
20986 Rename from `regexp-of-hashtbl-keys'. All calls changed.
20988 2001-12-15 Dave Love <fx@gnu.org>
20990 * language/ind-util.el: Don't require cl.
20991 (indian-glyph-char, indian-glyph-max-char)
20992 (indian-char-glyph): Move from indian.el.
20993 (indian--puthash-char, mapthread): Don't quote lambda.
20994 (indian--map): New function.
20995 (indian--puthash-v, indian--puthash-c, indian--puthash-m)
20996 (indian--puthash-cv): Use it.
20998 * language/indian.el (indian-glyph-char, indian-glyph-max-char)
20999 (indian-char-glyph): Move to ind-util.el
21001 * language/devan-util.el (devanagari-post-read-conversion):
21004 * language/georgian.el: New file.
21006 * international/mule-cmds.el (locale-language-names): Add various
21007 entries. Remove utf-8 special case.
21008 (locale-charset-language-names, locale-preferred-coding-systems):
21010 (set-language-environment): Process required-features earlier.
21012 * international/quail.el (quail-keyboard-layout-alist):
21014 (quail-keyboard-layout-type): Fix :type.
21015 (quail-choose-completion-string): Simplify.
21016 (quail-update-leim-list-file): Don't get fooled by commented-out code.
21017 (quail-input-string-to-events): Run events through
21018 translation-table-for-input.
21020 * international/mule-conf.el (translation-table-for-input):
21022 (latin-iso8859-14): Amend description.
21023 (file-coding-system-alist): Add entry for utf-8.
21025 * language/utf-8-lang.el: New file.
21027 * international/code-pages.el: New file.
21029 * language/hebrew.el ("Windows-1255"): New language.
21031 * language/european.el ("Welsh", "Latin-7", "Lithuanian")
21032 ("Latvian"): New languages.
21034 2001-12-14 Stefan Monnier <monnier@cs.yale.edu>
21036 * xml.el: Use setq rather than (set 'foo bar).
21037 Use push+nreverse rather than append.
21038 (xml-node-name, xml-node-attributes, xml-node-children):
21039 Use defsubst rather than macros.
21040 (xml-parse-region): Handle a nil return value from xml-parse-tag.
21041 (xml-parse-tag): Don't skip white space. Return nil for a comment.
21042 Concat the two strings surrounding a comment into a single string.
21044 * newcomment.el (comment-indent): Jump to the middle of empty comments.
21046 2001-12-14 Pavel JanÃk <Pavel@Janik.cz>
21048 * select.el (xselect-convert-to-class, xselect-convert-to-name):
21051 2001-12-14 Andre Spiegel <spiegel@gnu.org>
21053 * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
21054 Return nil if FILE is not registered.
21055 (vc-check-master-templates, vc-default-make-version-backups-p):
21058 2001-12-13 David Ponce <david@dponce.com>
21060 * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
21061 (ruler-mode-left-fringe-cols): New macro.
21062 (ruler-mode-right-fringe-cols): New macro.
21063 (ruler-mode-left-scroll-bar-cols): New macro.
21064 (ruler-mode-right-scroll-bar-cols): New macro.
21065 (ruler-mode-ruler): Use above new macros.
21067 2001-12-13 Richard M. Stallman <rms@gnu.org>
21069 * files.el (set-auto-mode): Fix previous change.
21071 2001-12-13 Stefan Monnier <monnier@cs.yale.edu>
21073 * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
21074 (easy-menu-do-define, easy-menu-convert-item-1)
21075 (easy-menu-define-key-intern, easy-menu-get-map): Use it.
21076 (easy-menu-return-item): Only return nil if there is no binding.
21078 2001-12-13 Rajesh Vaidheeswarran <rv@gnu.org>
21080 * whitespace.el (whitespace-version): 3.2
21081 * whitespace.el (whitespace-force-mode-line-update): Replace with
21082 `whitespace-mode-line-update', which is an alias to the correct
21083 function in various emacsen.
21084 * whitespace.el (whitespace-{un,}highlight-the-space):
21085 Add colorized highlighting of the bogus whitespaces in a buffer/file,
21086 using the `whitespace-highlight-face' if
21087 `whitespace-display-spaces-in-color' is set.
21089 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il>
21091 * international/mule.el (set-auto-coding): Don't search for
21092 "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
21094 2001-12-13 Pavel JanÃk <Pavel@Janik.cz>
21096 * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
21098 * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
21100 * mail/rmailsum.el (rmail-summary-mode): Likewise.
21102 2001-12-13 Richard M. Stallman <rms@gnu.org>
21104 * simple.el (undo): Always set this-command to `undo',
21105 so that the next undo after an error will not begin redoing.
21107 * simple.el (shell-command): Doc fix.
21108 (shell-command-on-region): If there is output and an error,
21109 add "...Shell command failed" to the output.
21111 2001-12-13 David Ponce <david@dponce.com>
21113 * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
21114 (ruler-mode-left-fringe-cols): Function replaced by more efficient
21115 implementation `ruler-mode-extra-left-cols'.
21116 (ruler-mode-ruler): Use above new function. Take into account
21117 that the fringe areas can now be resized.
21119 2001-12-12 Richard M. Stallman <rms@gnu.org>
21121 * international/characters.el (Unicode): Comment out
21122 the specifications for kelvin and angstrom signs.
21124 * international/mule.el (make-translation-table-from-vector):
21125 Allow null elements in VEC.
21127 * international/ucs-tables.el (unify-8859-on-encoding-mode)
21128 (unify-8859-on-decoding-mode): Swap the code in their bodies.
21131 2001-12-11 Richard M. Stallman <rms@gnu.org>
21133 * derived.el (derived-mode-p): Function moved to subr.el.
21135 * subr.el (derived-mode-p): Move here from derived.el.
21137 * international/mule.el (set-auto-coding): Use set-auto-mode-1.
21139 * files.el (set-auto-mode-1): New subroutine, broken out of
21141 (set-auto-mode, hack-local-variables-prop-line): Use that.
21143 2001-12-11 Dave Love <fx@gnu.org>
21145 * language/thai-util.el, language/thai.el: Add Unicode equivalents.
21147 * language/european.el: Remove autoload cookies. Fix registration
21148 of diacritic composition function.
21150 2001-12-11 Pavel JanÃk <Pavel@Janik.cz>
21152 * calendar/todo-mode.el: Require time-stamp.
21154 * net/zone-mode.el (zone-mode): Don't use make-local-hook.
21156 2001-12-11 Richard M. Stallman <rms@gnu.org>
21158 * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
21160 * textmodes/ispell.el (ispell-buffer-local-parsing):
21161 Match xml like sgml.
21163 * emacs-lisp/advice.el (ad-compile-function):
21164 Byte compile the function under another (uninterned) name.
21166 * gud.el (gdb): Define and bind gud-jump.
21168 * font-lock.el (font-lock-mode):
21169 Put our function at the end of after-change-functions.
21171 * ediff-diff.el (ediff-cmp-options): Doc fix.
21173 * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
21175 2001-12-10 Richard M. Stallman <rms@gnu.org>
21177 * isearch.el (isearch-yank-word-or-char): New function.
21178 (isearch-mode-map): Bind C-w to that.
21180 * menu-bar.el (menu-bar-mode): Make arg optional.
21182 * simple.el (line-move): Cope if next-single-property-change
21183 or previous-single-property-change returns nil.
21185 * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
21186 Don't use interactive-p; instead, pass the proper args
21187 in (interactive...). Clean up most of the trouble-report strings.
21189 2001-12-10 Eli Zaretskii <eliz@is.elta.co.il>
21191 * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
21192 enqueued messages literally.
21194 2001-12-10 Noah Friedman <friedman@splode.com>
21196 * battery.el (battery-insert-file-contents): Obsolete function
21198 (battery-read-function): Obsolete function removed.
21199 (battery-linux-proc-apm): Use insert-file-contents.
21201 2001-12-07 Stephen Eglen <stephen@gnu.org>
21203 * iswitchb.el (iswitchb-visit-buffer):
21204 Use `select-frame-set-input-focus'--needed when window manager
21205 uses "click to focus" policy.
21207 2001-12-09 Pavel JanÃk <Pavel@Janik.cz>
21209 * COPYING: Moved back.
21211 2001-12-07 Eli Zaretskii <eliz@is.elta.co.il>
21213 * term/internal.el (IT-character-translations): Add entries for
21216 * international/characters.el: Resurrect the Hebrew category
21217 settings for all Hebrew characters removed by the last change.
21218 Add code for setting the Hebrew category of the Unicode Hebrew
21219 characters. Set syntax entries for Hebrew punctuation characters.
21221 * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
21222 points and directional formatting control characters.
21224 2001-12-07 Dave Love <fx@gnu.org>
21226 * language/lao-util.el: Add Unicode equivalents for rules.
21227 (lao-post-read-conversion): New function.
21229 * language/lao.el: Add Unicode equivalents.
21230 (lao): Add post-read conversion.
21232 * international/latin1-disp.el: Fix some 8-bit-graphic characters.
21233 Use iso2022 encoding.
21234 (latin1-char-displayable-p): Doc fix.
21235 (latin1-display-ucs-per-lynx): New option.
21236 (latin1-display-ucs-per-lynx): New command.
21237 (latin1-display-reset): Special-case arabic.
21238 (ucs-tables): Require.
21239 (latin1-display-sets, latin1-display-setup): Add arabic.
21240 (latin1-display) <variable>: Use function latin1-display.
21241 (latin1-display) <function>: Add mule-unicode stuff.
21242 (latin1-display-check-font): Don't lose if `info' is nil.
21244 * international/iso-transl.el: Insert Latin-1 characters, not
21247 * language/european.el (diacritic-composition-pattern): New constant.
21248 (diacritic-compose-region, diacritic-compose-string)
21249 (diacritic-compose-buffer, diacritic-post-read-conversion)
21250 (diacritic-composition-function): New functions.
21252 * international/utf-8.el (ucs-mule-to-mule-unicode):
21253 New translation table.
21254 (ccl-encode-mule-utf-8): Use it.
21255 (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
21256 (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
21257 (utf-8-subst-table): New variable.
21258 (utf-8-compose-scripts): New option.
21259 (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
21261 * international/ucs-tables.el, international/utf-8-subst.el:
21264 * international/characters.el: Don't set word syntax (the default)
21265 explicitly. Add a diacritic category. Add info for Unicode
21266 equivalents of characters in various Mule charsets and for extra
21267 Unicode characters. Don't define specific categories for
21268 Indian/Devanagari, since they aren't used.
21270 2001-12-06 Richard M. Stallman <rms@gnu.org>
21272 * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
21273 (set-justification-left, set-justification-right): Doc fix.
21275 * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
21276 (bug-f90-mode): Variable deleted.
21278 2001-12-06 Stefan Monnier <monnier@cs.yale.edu>
21280 * indent.el (indent-line-function): Default is indent-relative again.
21282 2001-12-07 Miles Bader <miles@gnu.org>
21284 * progmodes/compile.el (compilation-error-regexp-alist):
21285 Add regexps for RXP.
21287 2001-12-05 Eli Zaretskii <eliz@is.elta.co.il>
21289 * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
21290 Add shift-assignment operators to those highlighted, and highlight
21291 the whole operator rather than just the "=".
21293 2001-12-04 Juanma Barranquero <lektu@terra.es>
21295 * files.el (save-abbrevs, save-some-buffers): Don't ask the user
21296 before saving abbrevs if `save-abbrevs' has the value `silently'.
21298 2001-12-04 Andreas Schwab <schwab@suse.de>
21300 * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
21302 2001-12-04 Colin Walters <walters@debian.org>
21304 * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
21305 for `defmacro*' forms.
21307 * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
21310 2001-12-03 Stefan Monnier <monnier@cs.yale.edu>
21312 * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
21314 2001-12-02 Richard M. Stallman <rms@gnu.org>
21316 * files.el (insert-directory): If the df output does not look right,
21317 don't try to use it. Other cleanups in overall code structure.
21319 2001-12-02 Stefan Monnier <monnier@cs.yale.edu>
21321 * textmodes/outline.el (outline-mode-prefix-map):
21322 Add bindings for outline-promote and outline-demote.
21323 (outline-minor-mode-menu-bar-map): New var.
21324 (outline-minor-mode): Use it.
21325 (outline-heading-alist): New var (renamed from outline-level-heading).
21326 (outline-level): Use it.
21327 (outline-insert-heading, outline-promote, outline-demote):
21328 Update to use outline-heading-alist.
21330 * disp-table.el (standard-display-european):
21331 Simplify since the function is not interactive any more.
21332 Don't set the existing buffers to unibyte.
21334 * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
21336 * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
21338 * reveal.el (reveal-mode): Fix reveal-mode's lighter.
21340 * shell.el (shell): Use shell-file-name.
21341 Pop to buffer before calling comint to set COLUMNS properly.
21343 * emacs-lisp/cl.el (svref): New alias.
21345 * progmodes/antlr-mode.el (antlr-c-common-init):
21346 Don't inhibit adaptive-fill-mode any more.
21348 * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
21350 * progmodes/etags.el (tags-with-face): Use make-symbol.
21351 (tags-search, tags-query-replace): Use backquotes.
21353 * textmodes/picture.el (picture-mode-map): Don't use defconst
21356 2001-12-02 Pavel JanÃk <Pavel@Janik.cz>
21358 * textmodes/reftex-index.el (reftex-index-mode):
21359 Remove make-local-hook.
21361 * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
21363 2001-12-02 Kim F. Storm <storm@cua.dk>
21365 * isearch.el (isearch-resume-enabled): New variable.
21366 (isearch-done): Use that variable.
21368 2001-12-01 Richard M. Stallman <rms@gnu.org>
21370 * wid-edit.el (widget-button-click): Don't move point permanently:
21371 Avoid mouse-set-point--instead select the window,
21372 then do save-excursion, then move point.
21373 Specify the buffer for get-char-property.
21374 Don't use `@' in interactive.
21376 * indent.el (indent-line-function):
21377 Default is indent-to-left-margin again.
21379 * replace.el (query-replace-read-args): Display message
21380 if FROM contains `\n' or `\t'.
21382 2001-12-01 Stefan Monnier <monnier@cs.yale.edu>
21384 * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
21386 * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
21388 * emacs-lisp/regexp-opt.el (regexp-opt):
21389 Bind completion-regexp-list to nil.
21391 * progmodes/hideif.el (hif-nexttoken): Move to before first def.
21393 2001-12-01 Eli Zaretskii <eliz@is.elta.co.il>
21395 * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
21396 * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
21399 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
21401 * mail/smtpmail.el: Use with-current-buffer.
21402 (message-make-date, message-make-message-id): Autoload when needed.
21403 (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
21404 headers when missing.
21406 * international/encoded-kb.el (encoded-kbd-mode):
21407 Use define-minor-mode.
21409 * enriched.el (enriched-mode): Use define-minor-mode.
21410 Use dolist and pop and push.
21412 * info.el (Info-find-node-2): Don't call info-insert-file-contents
21413 with the `visit' argument.
21414 (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
21416 * progmodes/hideif.el (hide-ifdef-mode): Only modify
21417 `change-major-mode-hook' locally. Reset invisibility spec.
21419 * man.el (Man-build-section-alist): Remove last Man-match-substring.
21421 2001-11-30 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
21423 * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
21424 Clarify error message.
21426 2001-11-29 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
21428 * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
21430 2001-11-30 Andre Spiegel <spiegel@gnu.org>
21432 * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
21433 don't just return it.
21435 2001-11-30 Eli Zaretskii <eliz@is.elta.co.il>
21437 * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
21438 (menu-bar-read-emacs-man, search-emacs-glossary)
21439 (emacs-index-search, elisp-index-search): New functions.
21440 (apropos-documentation, apropos, apropos-value, apropos-variable)
21441 (apropos-commands): Modify menu item names and help text.
21442 (elisp-index-search, emacs-index-search, emacs-glossary):
21444 (menu-bar-manuals-menu): Move the Ordering Manuals item to a
21446 (info-elisp, info-elintro): New menu items.
21447 (apropos): Modify the menu item name.
21449 2001-11-30 Stefan Monnier <monnier@cs.yale.edu>
21451 * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
21453 * textmodes/outline.el (outline-promote, outline-demote): Typo.
21455 * man.el (man-follow-mouse): New function.
21456 (Man-mode-map): Bind mouse-2 to it.
21457 (Man-match-substring): Remove. Replace with `match-string'.
21458 (man): Use the `default-value' argument to `read-string'.
21459 (Man-fontify-manpage): Add mouse-face to cross references.
21461 * emacs-lisp/cl-macs.el (shiftf): Fix more. Simplify.
21463 2001-11-29 Stefan Monnier <monnier@cs.yale.edu>
21465 * emacs-lisp/crm.el (completing-read-multiple): Better preserve
21466 the value of require-match in minibuffer-completion-confirm.
21467 Use crm-local-completion-map.
21469 * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
21470 (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
21471 (cl-make-type-test): Use char-valid-p for `character'.
21473 * info.el (Info-complete-next-re, Info-complete-cache): New vars.
21474 (Info-complete-menu-item): Rewrite. Add the ability to search
21475 several sequential nodes. Add a simple caching mechanism.
21476 (Info-goto-index): New function extracted from Info-index.
21477 (Info-index): Use it. Add completion to the interactive spec.
21478 (Info-menu-update): Simplify call to `Info-complete-menu-item'.
21480 2001-11-29 Pavel JanÃk <Pavel@Janik.cz>
21482 * COPYING: Removed.
21484 2001-11-29 Dave Love <fx@gnu.org>
21486 * progmodes/fortran.el: Fontify rewind, backspace. Doc fixes.
21487 (fortran-window-create, fortran-window-create-momentarily):
21488 Rewrite, moving error condition.
21489 (fortran-beginning-do, fortran-beginning-if): Fix regexps.
21490 (fortran-mode-syntax-table): Revert last change.
21492 * international/mule.el: Doc fixes.
21493 (map-charset-chars): New function.
21494 (register-char-codings): Use it to cope with generic chars in
21497 2001-11-29 Pavel JanÃk <Pavel@Janik.cz>
21499 * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
21501 * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
21503 * play/studly.el (studlify-word, studlify-region)
21504 (studlify-buffer): Fix doc-string.
21505 (studlify-buffer): Add autoload cookie.
21507 2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
21509 * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
21510 (outline-up-heading-all): Remove.
21511 (hide-sublevels): Move to end-of-heading before calling flag-region.
21512 (outline-copy-overlay, outline-discard-overlays): Remove.
21513 (outline-flag-region): Use `remove-overlays'.
21514 Don't move to end-of-heading.
21515 (outline-next-visible-heading, outline-back-to-heading)
21516 (outline-on-heading-p): Use outline-invisible-p.
21517 (outline-font-lock-level): Use outline-up-heading's new arg.
21518 (outline-minor-mode): Simplify.
21519 (outline-map-tree, outline-reveal-toggle-invisible): New funs.
21520 (outline): Put a `reveal-toggle-invisible' property.
21521 (outline-level-heading): New var.
21522 (outline-insert-heading, outline-promote, outline-demote)
21523 (outline-toggle-children): New commands.
21525 * progmodes/hideif.el (hif-end-of-line): New function.
21526 (hide-ifdef-mode): Set line-move-ignore-invisible.
21527 (hide-ifdef-region-internal): New function.
21528 (hide-ifdef-region): Use it.
21529 (hif-defined): Return an integer.
21530 (hif-infix-to-prefix): Remove.
21531 (hif-tokenize): Parse from the buffer rather than from a string.
21532 Correctly tokenize integers. Use forward-comment.
21533 (hif-expr): Use hif-or.
21534 (hif-term): Use hif-and.
21535 (hif-factor): Use hif-not. Handle numbers properly.
21536 Don't require parenthesis around `defined's argument.
21537 (hif-and, hif-or, hif-not): New funs.
21538 (hif-canonicalize): Pass a region to hif-tokenize. Use hif-not.
21539 (hif-hide-line): Don't hide the \n before the line.
21540 (hif-possibly-hide): Correctly handle numeric evaluation results.
21542 * progmodes/make-mode.el: Use line-(end|beginning)-position.
21543 (makefile-mode): Set indent-line-function.
21544 (makefile-browser-insert-continuation): Use with-current-buffer.
21545 (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
21547 2001-11-28 Karl Fogel <kfogel@red-bean.com>
21549 * isearch.el (isearch-yank-internal): New helper function.
21550 (isearch-yank-char): New function.
21551 (isearch-yank-word, isearch-yank-line): Rewrite to use
21552 isearch-yank-internal.
21554 2001-11-28 Eli Zaretskii <eliz@is.elta.co.il>
21556 * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
21557 aren't supported. Print a message to that effect if invoked.
21559 2001-11-27 Stephen Eglen <stephen@gnu.org>
21561 * locate.el (locate): Put point at first matching file rather
21562 than top of buffer.
21564 2001-11-27 Stefan Monnier <monnier@cs.yale.edu>
21566 * reveal.el: New file.
21568 * progmodes/hideif.el: Misc cleanup.
21569 (hide-ifdef-mode-submap): Put the def in the defvar.
21570 Use substitute-key-definition.
21571 (hide-ifdef-mode): Use define-minor-mode.
21572 (hif-outline-flag-region): Remove.
21573 (hif-show-all): Define in terms of hif-show-ifdef-region.
21574 (hif-after-revert-function): Rename from hif-before-revert-function.
21575 (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
21576 (hif-tokenize): Use with-syntax-table.
21577 (hif-make-range): Use `else' also for `else-p'.
21578 (hif-range-else-p): Remove.
21579 (hif-find-range): Simplify.
21580 (hif-hide-line): Don't bother preserving buffer-modified-p.
21581 (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
21582 Don't use selective-display and inhibit-read-only.
21584 * subr.el (copy-overlay, remove-overlays): New funs.
21586 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
21588 2001-11-27 Sam Steingold <sds@gnu.org>
21590 * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
21591 * lazy-lock.el, mouse-sel.el, mail/feedmail.el
21592 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
21593 * obsolete/c-mode.el, obsolete/cplus-md.el
21594 * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
21595 * term/sun-mouse.el, textmodes/artist.el:
21596 Converted backquote to the new style.
21597 * mouse.el, reposition.el: Likewise (in comments).
21598 * expand.el: Likewise (in a string).
21600 2001-11-27 Richard M. Stallman <rms@gnu.org>
21602 * cus-edit.el (custom-load-symbol): Don't always load locate-library.
21604 2001-11-26 Richard M. Stallman <rms@gnu.org>
21606 * wid-edit.el (widget-toggle-value-create): On graphic terminal,
21607 if :on-glyph or :off-glyph is a list, eval it and store it back.
21608 (checkbox): Quote the values for :on-glyph and :off-glyph.
21610 * cus-start.el (recursive-load-depth-limit): Delete item.
21612 2001-11-26 Stefan Monnier <monnier@cs.yale.edu>
21614 * help-fns.el (describe-categories, help-describe-category-set): New.
21615 describe-categories moved here from src/category.c.
21617 2001-11-26 Sam Steingold <sds@gnu.org>
21619 * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
21620 arguments to `insert' are strings.
21622 2001-11-26 Richard M. Stallman <rms@gnu.org>
21624 * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
21626 2001-11-26 Eli Zaretskii <eliz@is.elta.co.il>
21628 * international/mule-diag.el: Require help-fns instead of
21631 * help-fns.el: Renamed from help-funs.el.
21633 * startup.el (command-line-1): Don't try to call process-list if
21636 2001-11-26 Sam Steingold <sds@gnu.org>
21638 * frame.el (show-trailing-whitespace): Remove :set argument (the
21639 value was essentially identical to the default).
21641 2001-11-26 Pavel JanÃk <Pavel@Janik.cz>
21643 * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
21645 * icomplete.el (icomplete-minibuffer-setup): Likewise.
21647 * hilit-chg.el (hilit-chg-set): Likewise.
21649 * speedbar.el (speedbar-mode): Likewise.
21651 * calendar/calendar.el (calendar-mode): Likewise.
21653 * play/yow.el (psychoanalyze-pinhead): Use insert instead of
21656 * play/gamegrid.el (gamegrid-init-buffer): Likewise.
21658 * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
21660 * term/sun-mouse.el (sun-yank-selection): Likewise.
21662 * textmodes/bib-mode.el (return-key-bib): Likewise.
21664 * calendar/appt.el (appt-disp-window): Likewise.
21666 * calendar/diary-lib.el (list-diary-entries): Likewise.
21668 * array.el (array-reconfigure-rows): Likewise.
21670 * filecache.el (file-cache-minibuffer-complete): Likewise.
21672 * obsolete/cplus-md.el (fill-c++-comment): Likewise.
21674 * strokes.el (strokes-prompt-user-save-strokes): Likewise.
21676 * allout.el (outline-version, outline-open-topic)
21677 (outline-rebullet-heading, outline-insert-listified)
21678 (outline-latex-verbatim-quote-curr-line)
21679 (outline-latexify-one-item, outlineify-sticky): Likewise.
21681 * vc.el (vc-next-action-on-file): Likewise.
21682 (vc-dired-mode): Remove make-local-hook.
21684 2001-11-26 Andre Spiegel <spiegel@gnu.org>
21686 * vc.el (vc-find-version): New function.
21687 (vc-version-other-window): Redefined in terms of the above.
21689 * log-view.el (log-view-find-version): New function.
21690 (log-view-mode-map): Bind it to `f'.
21692 2001-11-26 Gerd Moellmann <gerd@gnu.org>
21694 * language/devan-util.el (dev-char-glyph): Escape `"' in
21696 (dev-glyph-glyph, dev-glyph-glyph-2)
21697 (devanagari-compose-syllable-region): Likewise.
21699 2001-11-26 Richard M. Stallman <rms@gnu.org>
21701 * window.el (save-selected-window): No error if saved window is dead.
21703 * help-funs.el (describe-syntax): Put (interactive) after doc string.
21705 2001-11-26 Pavel JanÃk <Pavel@Janik.cz>
21707 * international/quail.el (quail-help): Require help-mode in
21710 * iswitchb.el (iswitchb-exhibit): Use insert instead of
21713 * icomplete.el (icomplete-exhibit): Likewise.
21715 2001-11-25 Stefan Monnier <monnier@cs.yale.edu>
21717 * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
21718 (diff-hunk-kill): Simplify.
21719 (diff-post-command-hook): Only apply to a single hunk.
21720 (diff-hunk-text): Make `char-offset' non-optional.
21721 (diff-find-text): Return a cons cell.
21722 (diff-find-approx-text): New fun.
21723 (diff-find-source-location): Use it.
21724 (diff-apply-hunk, diff-test-hunk, diff-goto-source):
21725 Adapt to new retval of diff-find-text.
21727 * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
21728 rather than integer- representation of dates.
21730 * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
21732 * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
21733 (syntax-after): New fun.
21735 * help-funs.el (describe-syntax): New fun.
21737 * font-lock.el (font-lock-cache-state, font-lock-cache-position)
21738 (font-lock-ppss-stats, font-lock-ppss): Remove.
21739 (font-lock-fontify-syntactically-region): Remove tuning code.
21740 (font-lock-compile-keywords): Fix off-by-one bug.
21741 (font-lock-set-defaults): Don't set removed vars.
21742 (c-keywords): Add `inline'.
21743 (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
21745 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
21746 Set syntax-begin-function.
21747 (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
21748 (lisp-interaction-mode): Don't set local-abbrev-table any more.
21749 (lisp-mode-auto-fill): Use syntax-ppss and obey
21750 comment-auto-fill-only-comments.
21751 (lisp-fill-paragraph): Use syntax-ppss.
21753 2001-11-25 ShengHuo ZHU <zsh@cs.rochester.edu>
21755 * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
21756 version of rmail-enable-mime.
21757 (rmail-forward): Use it.
21759 2001-11-25 Richard M. Stallman <rms@gnu.org>
21761 * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
21763 * international/quail.el (quail-keyboard-layout-button):
21764 Define button type.
21765 (quail-keyboard-customize-button): Likewise.
21766 (quail-help): Use those button types. Require `help-mode'.
21767 Avoid altering the argument `package'.
21769 * help-mode.el (help-function, help-variable, help-face)
21770 (help-coding-system, help-input-method, help-character-set):
21771 Define each button type with its own explicit define-button-type.
21773 * language/devan-util.el: Comment out parts of the file
21774 which apparently are garbled.
21776 2001-11-25 Pavel JanÃk <Pavel@Janik.cz>
21778 * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
21781 2001-11-25 Pavel JanÃk <Pavel@Janik.cz>
21783 * play/snake.el (snake-mode): Remove make-local-hook.
21785 * play/tetris.el (tetris-mode): Likewise.
21787 * play/decipher.el (decipher-mode): Likewise.
21789 * tmm.el (tmm-add-prompt): Likewise.
21791 2001-11-25 Sam Steingold <sds@gnu.org>
21793 * menu-bar.el (menu-bar-apropos-menu): New variable.
21794 Moved all `apropos' bindings to this menu.
21795 (menu-bar-help-menu): Add `menu-bar-apropos-menu'.
21797 2001-11-24 KAWABATA, Taichi <batta@beige.ocn.ne.jp>
21799 The following changes are for new indian languages support based
21800 on Unicode charset and CDAC fonts.
21802 * international/mule-conf.el: Change indian-1-column charset to
21803 indian-glyph charset.
21805 * international/characters.el: Adjusted for the change of
21806 indian-1-column -> indian-glyph.
21808 * international/fontset.el: Delete the setting for indian-1-column
21809 and add the setting for indian-glyph in the default fontset.
21811 * language/indian.el: Completely re-written.
21813 * language/devanagari.el: Completely re-written.
21815 * language/devan-util.el: Completely re-written.
21817 * language/ind-util.el: New file.
21819 2001-11-24 Richard M. Stallman <rms@gnu.org>
21821 * startup.el (command-line-1): Don't do startup screen
21822 if a subprocess is running. Call the startup screen buffer
21823 "GNU Emacs". Make a special mode-line-format for it.
21825 * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
21826 (browse-url-galeon): Use that variable.
21828 * mail/supercite.el (sc-toggle-var): Don't use set-variable or
21829 eval-expression. Eval and set the variable simply.
21831 * files.el (temporary-file-directory): Use defcustom.
21832 (small-temporary-file-directory): Likewise.
21833 (normal-backup-enable-predicate): Move down in file
21834 after definition of temporary-file-directory.
21836 * bindings.el (last-buffer, unbury-buffer): Doc fixes.
21838 2001-11-24 Colin Walters <walters@debian.org>
21840 * calc/calc-ext.el (calc-init-extensions): Update the rest of the
21841 autoload names to match files renamed on initial calc import.
21843 * calc/calc.el (Commentary): Cleanup, and add logistic curve
21844 fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
21846 2001-11-23 Colin Walters <walters@debian.org>
21848 * Makefile.in (finder_setwins, setwins): Include Calc again.
21850 * calc/calc-rules.el: Add header comment.
21852 2001-11-23 Andre Spiegel <spiegel@gnu.org>
21854 * vc.el (with-vc-properties): Don't bind `filename' locally.
21855 (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
21856 to avoid name clashes. Fix `lisp-indent-function' property for
21859 2001-11-23 Francesco Potortì <pot@gnu.org>
21861 * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
21863 2001-11-22 Colin Walters <walters@debian.org>
21865 * calc/calc-misc.el (report-calc-bug):
21866 Use `reporter-prompt-for-summary-p'.
21868 * calc/INSTALL, calc/Makefile: Remove.
21870 2001-11-22 Miles Bader <miles@gnu.org>
21872 * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
21873 (reb-match-2, reb-match-3): Add dark-background variants.
21875 2001-11-22 Colin Walters <walters@debian.org>
21877 * calc/calc-misc.el (calc-info): Don't perform voodoo,
21878 just (info "Calc").
21879 (report-calc-bug): Use reporter.el.
21881 * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
21883 2001-11-21 Richard M. Stallman <rms@gnu.org>
21885 * which-func.el (which-function): Call imenu--make-index-alist
21886 if necessary to get a list of functions.
21887 (which-function-imenu-failed): New variable.
21888 (which-func-update): Handle all visible windows.
21889 (which-func-update-1): New subroutine broken out of which-func-update.
21891 * files.el (temporary-file-directory, null-device)
21892 (small-temporary-file-directory): Definitions moved up.
21894 * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
21895 (cperl-non-problems, cperl-praise): Doc fixes.
21897 * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
21898 (sh-mode-syntax-table): Function restored.
21899 Variable set up for use by function sh-mode-syntax-table.
21900 (sh-set-shell): Set the syntax table.
21902 * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
21904 * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
21906 * international/encoded-kb.el: Don't alter minor-map-alist.
21908 2001-11-20 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
21910 * files.el (auto-save-file-name-transforms): Put remote files in
21911 temporary-file-directory rather than /tmp.
21913 2001-11-21 Colin Walters <walters@debian.org>
21915 * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
21916 of (function ...) wrapper.
21918 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
21920 * derived.el (define-derived-mode): Create the abbrev-table
21921 from inside the `defvar'.
21923 * jit-lock.el (jit-lock-defer-time): New var.
21924 (jit-lock-defer-timer, jit-lock-buffers): New vars.
21925 (jit-lock-mode): Initialize them. Cancel the timers more carefully.
21926 (jit-lock-function): Defer fontification if requested.
21927 (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
21928 (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
21930 (jit-lock-deferred-fontify): New fun.
21932 2001-11-20 Richard M. Stallman <rms@gnu.org>
21934 * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
21935 Set local-abbrev-table to lisp-mode-abbrev-table.
21937 * emacs-lisp/re-builder.el (reb-mode):
21938 Don't use define-derived-mode. Call kill-all-local-variables.
21940 * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
21941 Don't use define-derived-mode.
21943 * help-mode.el (help-mode): Undo 2001-10-07 change.
21945 * replace.el (occur-mode): Undo 2001-5-20 change.
21947 2001-11-20 Jason Rumney <jasonr@gnu.org>
21949 * w32-fns.el (w32-system-coding-system): Change to an alias for
21950 locale-coding-system.
21951 (set-w32-system-coding-system): Document the above change.
21952 Set locale-coding-system instead.
21954 2001-11-20 Richard M. Stallman <rms@gnu.org>
21956 * ruler-mode.el: Add pagination.
21957 (ruler-mode-toggle-show-tab-stops): No need to
21958 test `ruler-mode' variable.
21960 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
21962 * play/landmark.el: Mark lm-mode as special.
21964 * play/gomoku.el: Mark gomoku-mode as special.
21966 2001-11-20 Juanma Barranquero <lektu@terra.es>
21968 * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
21969 (top-level): Bind it to C-c C-b.
21970 (re-builder): Don't re-enter RE Builder Mode.
21972 * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
21974 2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
21976 * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
21979 * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
21980 to a line without a comment.
21982 2001-11-20 Eli Zaretskii <eliz@is.elta.co.il>
21984 * dired.el (dired-listing-switches): Mention in the doc string
21985 that some switches are not supported by ls-lisp.el
21987 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
21989 * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
21990 (imenu--create-keymap-2): Remove.
21991 (imenu--create-keymap-1): Simplify, remove third argument.
21992 (imenu--generic-function): Use dolist.
21993 (imenu-find-default): New function.
21994 (imenu--completion-buffer): Use it.
21995 (imenu--mouse-menu): Use popup-menu.
21996 (imenu--menubar-select): Return t rather than calling imenu.
21998 * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
21999 New functions, extracted from fill-region-as-paragraph.
22000 (fill-region-as-paragraph): Use them.
22001 Use an end marker instead of eob.
22002 Ignore whitespace-only fill-prefixes when indenting according to mode.
22003 Simplify the loop that searches for spaces backwards.
22005 * textmodes/picture.el (picture-vertical-step)
22006 (picture-horizontal-step): Don't use defconst for variables.
22008 * mail/mail-extr.el: Use backquote/dolist/mapc/when. Docstring fixes.
22009 (mail-extract-address-components): Downcase domain names.
22010 (mail-extr-delete-char): Remove. Use delete-char instead.
22012 * emulation/pc-select.el: Doc string fixes.
22013 (pc-selection-mode): Don't treat macos as a tty.
22015 * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
22017 * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
22019 * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
22020 (mouse-wheel-progressive-speed): New var.
22021 (mwheel-scroll): Use it and handle float values.
22023 * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
22025 * iswitchb.el (iswitchb-mode): Use define-minor-mode.
22026 (iswitchb): Fix the case where the result was selected with the mouse.
22027 (iswitchb-completion-help): Use the normal *Completions* now that
22028 mouse selection works.
22029 (iswitchb-minibuffer-setup): Simplify.
22031 * newcomment.el (comment-column, comment-style, comment-multi-line)
22032 (comment-auto-fill-only-comments): Remove :group arg.
22033 (comment-padding): Add :type.
22034 (comment-indent-new-line): Ignore comment-auto-fill-only-comments
22035 if called interactively.
22037 2001-11-19 Colin Walters <walters@verbum.org>
22039 * calc/calc.el (toplevel): Add comment and version header.
22040 (calc-init-base): Bump version to 2.02f, update date.
22042 2001-11-19 Richard M. Stallman <rms@gnu.org>
22044 * net/browse-url.el: Support Mozilla and Galeon.
22045 By default, find the installed browser whichever it is.
22046 (browse-url-mozilla): New function.
22047 (browse-url-mozilla-sentinel): New function.
22048 (browse-url-galeon, browse-url-galeon-sentinel): New functions.
22049 (browse-url-default-browser): New function.
22050 (browse-url-process-environment): Use browse-url-browser-display.
22051 (browse-url-browser-display): Rename from browse-url-netscape-display.
22052 (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
22053 (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
22054 (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
22055 (browse-url-browser-function): New default, new options.
22057 2001-11-19 Sam Steingold <sds@gnu.org>
22059 * bindings.el (last-buffer, unbury-buffer): New function.
22060 (mode-line-unbury-buffer): Use `unbury-buffer'.
22062 2001-11-18 Stephen Eglen <stephen@gnu.org>
22064 * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
22065 control behavior when no further completion is possible.
22067 2001-11-19 Colin Walters <walters@verbum.org>
22069 * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
22070 (math-showing-full-precision, math-with-extra-prec, math-working)
22071 (calc-with-default-simplification)
22072 (calc-with-trail-buffer): Use backtick.
22073 (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
22074 (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
22075 (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
22076 (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
22077 (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
22078 (Math-num-integerp, Math-bignum-test, Math-equal-int)
22079 (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
22080 (calc-record-compilation-date-macro): Delete. Callers updated.
22081 (math-format-radix-digit): Move to calc-bin.el.
22083 * calc/calc.el (calc-record-compilation-date): Remove.
22084 (calc-bug-address): Update.
22085 (calc-settings-file): Use `user-init-file'.
22087 * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
22088 Handle null `calc-settings-file'.
22090 * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
22091 * calc/calc-keypd.el (calc-keypad-mode): New.
22092 (calc-do-keypad): Use it.
22093 (calc-keypad-map): Move into `calc-keypad-mode'.
22095 * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
22096 to defalias argument.
22098 * calc/calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
22099 (calcFunc-floor): Ditto.
22101 * calc/calc-units.el (calcFunc-usimplify): Ditto.
22103 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-incom.el:
22104 * calc/calc-misc.el, calc/calc-sel.el, calc/calc-vec.el:
22105 * calc/calc-alg.el, calc/calc-fin.el, calc/calc-keypd.el:
22106 * calc/calc-mode.el, calc/calc-stat.el, calc/calc-yank.el:
22107 * calc/calc-arith.el, calc/calc-forms.el, calc/calc-lang.el:
22108 * calc/calc-mtx.el, calc/calc-store.el, calc/calc.el:
22109 * calc/calc-bin.el, calc/calc-frac.el, calc/calc-macs.el:
22110 * calc/calc-poly.el, calc/calc-stuff.el, calc/calcalg2.el:
22111 * calc/calc-comb.el, calc/calc-funcs.el, calc/calc-maint.el:
22112 * calc/calc-prog.el, calc/calc-trail.el, calc/calcalg3.el:
22113 * calc/calc-cplx.el, calc/calc-graph.el, calc/calc-map.el:
22114 * calc/calc-rewr.el, calc/calc-undo.el, calc/calccomp.el:
22115 * calc/calc-embed.el, calc/calc-help.el, calc/calc-math.el:
22116 * calc/calc-rules.el, calc/calc-units.el, calc/calcsel2.el:
22117 Change all toplevel `setq' forms to `defvar' forms,
22118 and move them before their first use. Use `when', `unless'.
22119 Remove trailing periods from error forms. Add description and
22120 headers suggested by Emacs Lisp coding conventions.
22122 2001-11-19 Stefan Monnier <monnier@cs.yale.edu>
22124 * newcomment.el (comment-indent):
22125 Fix misindentation for comment-only lines.
22126 (comment-indent-new-line): Only obey comment-multi-line if the
22127 comment-ender is not the end-of-line.
22129 2001-11-19 Richard M. Stallman <rms@gnu.org>
22131 * net/net-utils.el (network-connection-service-abbrev-alist):
22134 * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
22135 Advance to start of 3rd sexp by moving fwd and backing over it.
22136 At first three elements, act like defun.
22138 * delsel.el (delete-selection-pre-hook): Handle and resignal
22139 file-supersession errors to interact properly with userlock.el.
22141 2001-11-18 Richard M. Stallman <rms@gnu.org>
22143 * progmodes/fortran.el (fortran-mode-syntax-table):
22144 Specify punctuation syntax for backslash.
22146 * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
22149 * international/mule-util.el (string-to-sequence): Make it obsolete.
22150 (string-to-list, string-to-vector): Implement them directly
22151 using append and vconcat, not with string-to-sequence.
22153 * startup.el (command-line): Set abbrevs-changed to nil after
22154 reading the init file and the abbrevs file.
22156 * isearch.el (isearch): Use magenta2 as bg for (background light)
22158 2001-11-17 Richard M. Stallman <rms@gnu.org>
22160 * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
22162 * simple.el (minibuffer-history-sexp-flag): Doc fix.
22164 2001-11-17 Stefan Monnier <monnier@cs.yale.edu>
22166 * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
22167 If set and if applicable, add a regexp to highlight defun-like
22168 text inside comments and strings.
22169 (font-lock-fontify-keywords-region): Pass that new arg.
22170 (font-lock-set-defaults): Move the code to set `font-lock-keywords'
22171 to the end and pass that new arg.
22172 (c-font-lock-keywords-2): Fix regex for labels.
22173 (font-lock-match-c++-style-declaration-item-and-skip-to-next):
22174 Make it work when LIMIT is several lines further.
22175 (c-font-lock-keywords-3, c++-font-lock-keywords-3)
22176 (objc-font-lock-keywords-3, java-font-lock-keywords-3):
22177 Use backquote and make the regexes for `int a, b, c;' work on
22180 * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
22181 (font-lock-defaults-alist): Don't change it any more.
22182 (reb-subexp-mode-map): Cleanup.
22184 * custom.el (custom-current-group-alist): New var.
22185 (custom-declare-group): Set it.
22186 (custom-current-group): New fun.
22187 (custom-declare-variable, custom-handle-all-keywords):
22188 Use it as a default if no :group argument is specified.
22190 * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
22191 (standard-keyboard-coding-systems): New var.
22192 (set-locale-environment): Use it to decide whether or not to call
22193 set-keyboard-coding-system.
22194 (locale-language-names): Use \"French\" for "fr".
22196 2001-11-17 Richard M. Stallman <rms@gnu.org>
22198 * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
22199 (add-to-list): Delete compatibility code.
22200 (checkdoc-next-message-error): Doc fix.
22202 2001-11-17 Stephen Eglen <stephen@gnu.org>
22204 * locate.el (locate): Show default locate pattern within the
22205 prompt, but don't insert it into the minibuffer contents.
22206 Catch the case when pattern is the empty string.
22208 2001-11-17 Eli Zaretskii <eliz@is.elta.co.il>
22210 * language/european.el ("French"): New language environment.
22212 2001-11-16 Richard M. Stallman <rms@gnu.org>
22214 * calendar/todo-mode.el (todo-save): Fix previous change.
22216 * subr.el (functionp): Do use cdr-safe on object.
22218 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
22220 * bindings.el (mode-line-mode-name): Only put the help-echo property
22221 if the local-map property was put as well.
22222 (global-map): Bind switch-frame, delete-frame, iconify-frame
22223 and make-frame-visible events.
22225 * emacs-lisp/elp.el (elp-not-profilable): New var.
22226 (elp-not-profilable-p): New function.
22227 (elp-instrument-function): Use it. Use backquotes and push.
22229 * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
22230 (byte-stack+-info, byte-compile-last-warned-form)
22231 (byte-compile-last-logged-file): Don't defconst a variable.
22232 (no-byte-compile): Declare.
22233 (byte-compile-file): Don't boundp-check no-byte-compile any more.
22234 (byte-compile-defvar): Leave defconst as is.
22236 * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
22237 (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
22238 (edebug-current-offset, edebug-old-def-name, edebug-error-point)
22239 (edebug-best-error): Don't defconst a variable.
22240 (edebug-read-syntax-table): Use a char-table.
22241 (edebug-lemacs-specific): Remove.
22242 Toplevel: Eliminate check for Lucid Emacs.
22244 * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
22246 * rect.el (move-to-column-force): Mark obsolete.
22247 (operate-on-rectangle, delete-extract-rectangle-line)
22248 (insert-rectangle, delete-whitespace-rectangle-line)
22249 (open-rectangle-line, clear-rectangle-line): Use move-to-column.
22250 (string-rectangle-history): New var.
22251 (string-rectangle, string-insert-rectangle): Use it.
22252 (delete-rectangle-line): Fix pos/column mixup and simplify.
22254 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
22255 (normal-top-level, command-line, command-line-1): Simplify.
22257 * tar-mode.el (tar-mode): Use define-derived-mode.
22259 * view.el (view-mode-enable): Don't use make-local-hook.
22261 * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
22263 2001-11-16 Richard M. Stallman <rms@gnu.org>
22265 * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
22266 if it doesn't make sense as anything else.
22267 Don't recognize a "telephone number" at the beginning of the name.
22268 (mail-extr-leading-garbage): Match non-word characters only.
22270 2001-11-16 Pavel JanÃk <Pavel@Janik.cz>
22272 * startup.el (command-line-processed): Doc fix.
22274 * apropos.el (apropos-next-label-button): Doc fix.
22276 2001-11-16 Stefan Monnier <monnier@cs.yale.edu>
22278 * comint.el (comint-mode): Simplify.
22279 (make-comint-in-buffer): Run `comint-mode' only if necessary.
22281 * subr.el (eval-after-load): Make it work with features as well.
22283 * log-view.el (log-view-mode): Don't mark the buffer unmodified.
22285 * international/mule-cmds.el (describe-input-method): Setup xref.
22286 (set-language-environment): Use functionp.
22287 (locale-language-names, locale-charset-language-names)
22288 (locale-preferred-coding-systems): Defconst and purecopy.
22290 * language/european.el (mac-roman): Add mime-charset property.
22292 2001-11-15 Richard M. Stallman <rms@gnu.org>
22294 * emacs-lisp/cl.el (values, values-list, multiple-value-list)
22295 (multiple-value-apply, nth-value): Use defsubst rather than defalias
22296 to get better doc strings.
22298 2001-11-15 Pavel JanÃk <Pavel@Janik.cz>
22300 * derived.el: Fix autoload cookie.
22302 2001-11-15 Richard M. Stallman <rms@gnu.org>
22304 * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
22306 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
22308 * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
22310 2001-11-15 Richard M. Stallman <rms@gnu.org>
22312 * dired.el (dired-undo): Display a message to explain
22313 that this does not undo file system changes.
22315 2001-11-15 David Kastrup <David.Kastrup@t-online.de>
22317 * mouse-drag.el (mouse-drag-throw): Push back non-drag events
22318 into `unread-command-events' instead of trying keymap
22319 lookups ourselves. This makes mouse-clicks do the right
22320 thing even when keymaps of overlays are involved.
22321 (mouse-drag-drag): Likewise.
22323 2001-11-15 Andreas Schwab <schwab@suse.de>
22325 * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
22326 characters and append anchor to pattern added to auto-mode-alist.
22328 2001-11-15 Stefan Monnier <monnier@cs.yale.edu>
22330 * server.el (server-process-filter): Run pre/post-comment-hook
22331 before/after visiting the file.
22333 * info-look.el (makefile-mode): Add info for automake.
22334 (autoconf-mode): Fix the name of the index for automake.
22336 * international/latin-9.el: Give pilcrow punctuation syntax.
22338 2001-11-15 Andre Spiegel <spiegel@gnu.org>
22340 * vc.el: Documentation fixes.
22342 2001-11-14 Stefan Monnier <monnier@cs.yale.edu>
22344 * smerge-mode.el (smerge-match-conflict): Fix typo.
22345 (smerge-diff): Be careful to read match-data early enough.
22347 2001-11-14 Colin Walters <walters@verbum.org>
22349 * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
22350 (calcFunc-subst): Use `defalias' instead of `fset' and
22353 * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
22354 (calcFunc-ceil, calcFunc-round): Ditto.
22356 * calc/calc-bin.el (calcFunc-clip): Ditto.
22358 * calc/calc-ext.el (calcFunc-evalv): Ditto.
22360 * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
22362 * calc/calc-misc.el (math-fixnump, math-fixnatnump)
22363 (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
22365 * calc/calc-units.el (calcFunc-unsimplify): Ditto.
22367 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-incom.el:
22368 * calc/calc-misc.el, calc/calc-sel.el, calc/calc-vec.el:
22369 * calc/calc-alg.el, calc/calc-fin.el, calc/calc-keypd.el:
22370 * calc/calc-mode.el, calc/calc-stat.el, calc/calc-yank.el:
22371 * calc/calc-arith.el, calc/calc-forms.el, calc/calc-lang.el:
22372 * calc/calc-mtx.el, calc/calc-store.el, calc/calc.el, calc/calc-bin.el:
22373 * calc/calc-frac.el, calc/calc-macs.el, calc/calc-poly.el:
22374 * calc/calc-stuff.el, calc/calcalg2.el, calc/calc-comb.el:
22375 * calc/calc-funcs.el, calc/calc-maint.el, calc/calc-prog.el:
22376 * calc/calc-trail.el, calc/calcalg3.el, calc/calc-cplx.el:
22377 * calc/calc-graph.el, calc/calc-map.el, calc/calc-rewr.el:
22378 * calc/calc-undo.el, calc/calccomp.el, calc/calc-embed.el:
22379 * calc/calc-help.el, calc/calc-math.el, calc/calc-rules.el:
22380 * calc/calc-units.el, calc/calcsel2.el: Style cleanup;
22381 don't put closing parens on their own line,
22382 add "foo.el ends here" to each file, and update copyright date.
22384 * calc/README: Update maintainer.
22386 2001-11-13 Richard M. Stallman <rms@gnu.org>
22388 * progmodes/compile.el (recompile): Use compilation-arguments if
22389 set, so as to be able to M-x recompile the exact command which
22390 created a compilation-mode buffer.
22392 * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
22394 2001-11-13 Gerd Moellmann <gerd@gnu.org>
22396 * mouse.el (mouse-drag-region): Don't run the up-event
22397 handler if window start changed due to the down-mouse event.
22399 2001-11-13 Richard M. Stallman <rms@gnu.org>
22401 * mouse.el (mouse-show-mark): Either move point to the mark
22402 or use highlighting, never both.
22403 (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
22405 2001-11-13 Simon Josefsson <jas@extundo.com>
22407 * mail/smtpmail.el (top-level): Change maintainer to Simon
22408 Josefsson, cleanup the smtpmail.el header.
22410 * mail/smtpmail.el (top-level): Don't require cl or base64.
22411 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
22412 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
22413 Defsubst instead of defmacro.
22414 (smtpmail-intersection): Return value in reverse order.
22415 (smtpmail-open-stream): Use stringp instead of string-to-list.
22416 (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
22417 separated from smtpmail-via-smtp.
22419 * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
22420 rfc2104. Require base64 and cl.
22421 (smtpmail-smtp-service): Doc fix. :type fix.
22422 (smtpmail-debug-info): Doc fix.
22423 (smtpmail-debug-verb, smtpmail-auth-credentials)
22424 (smtpmail-starttls-credentials, smtpmail-auth-supported):
22426 (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
22427 mail-utils (it is autoloaded).
22428 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
22429 (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
22430 (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
22431 (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
22432 (smtpmail-via-smtp): Support AUTH.
22433 (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
22435 2001-11-13 Richard M. Stallman <rms@gnu.org>
22437 * ebuff-menu.el (electric-buffer-update-highlight): New function.
22438 (electric-buffer-overlay): New variable.
22439 (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
22440 (electric-buffer-list): Likewise.
22442 * isearch.el (isearch-whitespace-chars): Doc fix.
22443 (isearch-mode): Handle negative search-slow-window-lines correctly.
22445 2001-11-13 Stefan Monnier <monnier@cs.yale.edu>
22447 * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
22449 * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
22450 From Emmanuel Briot <briot@act-europe.fr>.
22452 2001-11-13 Colin Walters <walters@debian.org>
22454 * calc/calc.el (calc-unread-command): Use `unread-command-events'.
22456 * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
22457 "~/.emacs"; use `read-file-name'.
22459 * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
22460 * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
22461 * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
22462 * calc/calc.el: Use `frame-width' instead of `screen-width',
22463 `frame-height' instead of `screen-height', and,
22464 `executing-kbd-macro' instead of `executing-macro'.
22466 * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
22467 correct number of arguments.
22469 * calc/calc-aent.el (calc-do-alg-entry):
22470 Use `blink-paren-function' instead of `blink-paren-hook'.
22472 2001-11-12 Richard M. Stallman <rms@gnu.org>
22474 * calendar/todo-mode.el (todo-save): Add save-excursion
22475 and save-restriction.
22477 * server.el (server-edit, server-done): Doc fix.
22479 * simple.el (clone-indirect-buffer): Error if major mode symbol
22480 has a no-clone-indirect property.
22481 (clone-buffer): Check for obvious errors before reading clone name.
22483 * info.el (Info-mode): Add a no-clone-indirect property.
22485 2001-11-12 Sam Steingold <sds@gnu.org>
22487 * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
22488 set-buffer-modified-p to nil after `vc-exec-after'.
22489 * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
22490 (log-view-mode): Make read-only.
22491 (log-view-current-file): Do final `expand-file-name' in the
22492 current `default-directory'.
22493 (log-view-current-tag): Take an optional `where' arg.
22494 (log-view-diff): New user command.
22496 2001-11-12 Pavel JanÃk <Pavel@Janik.cz>
22498 * progmodes/cpp.el (cpp-choose-face): Fix typo.
22500 2001-11-12 Sam Steingold <sds@gnu.org>
22502 * emacs-lisp/cl-indent.el (toplevel): Indent properly
22503 `generic-flet', `generic-labels', `with-accessors',
22504 `with-condition-restarts'.
22506 2001-11-12 Richard M. Stallman <rms@gnu.org>
22508 * dired.el: Many trivial doc fixes.
22509 (dired-get-file-for-visit): New function.
22510 (dired-find-alternate-file, dired-mouse-find-file-other-window)
22511 (dired-view-file, dired-find-file-other-window, dired-display-file)
22512 (dired-find-file): Use dired-get-file-for-visit.
22514 2001-11-12 Alex Schroeder <kensanata@yahoo.com>
22516 * sql.el (sql-mode): Doc change.
22518 * sql.el (sql-mode-syntax-table): The backslash is no longer an
22521 2001-11-12 Colin Walters <walters@debian.org>
22523 * calc/calc-keypd.el (toplevel): Bind mouse buttons.
22524 (calc-do-keypad): Don't attempt to use nonexistent global
22525 mouse-map, use calc-keypad-map.
22526 (calc-keypad-x-left-click): Rename to calc-keypad-left-click.
22527 (calc-keypad-left-click): Don't use mouse-map; update to new event
22529 (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
22530 (calc-keypad-press): Use `unread-command-events' instead of
22531 `unread-command-char'.
22533 * calc/calc-ext.el (calc-init-extensions): Update autoload names
22534 to match files renamed on initial calc import.
22536 2001-11-12 Pavel JanÃk <Pavel@Janik.cz>
22538 * textmodes/flyspell.el (flyspell-default-dictionary):
22539 Fix previous change.
22541 2001-11-12 Richard M. Stallman <rms@gnu.org>
22543 * textmodes/flyspell.el (flyspell-default-dictionary):
22546 2001-11-11 Richard M. Stallman <rms@gnu.org>
22548 * calendar/solar.el (solar-sunrise-and-sunset):
22549 Exchange the two extreme values of day-length.
22551 * progmodes/sh-script.el (sh-must-be-shell-mode):
22552 Allow modes derived from sh-mode.
22554 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
22555 Turn off error in some re-search-forward calls.
22557 * replace.el (query-replace-skip-read-only): New variable.
22558 (perform-replace): If that variable is non-nil, ignore matches
22559 that have a read-only property.
22561 * derived.el (define-derived-mode): Doc fix.
22563 * server.el (server-buffer-done): Test of server-existing-buffer
22565 (server-existing-buffer): Doc fix.
22567 * textmodes/flyspell.el (flyspell-default-dictionary):
22568 Allow nil as value, and make nil the default.
22570 2001-11-11 Eli Zaretskii <eliz@is.elta.co.il>
22572 * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
22574 (clipboard-yank): Ditto.
22576 2001-11-11 Colin Walters <walters@verbum.org>
22578 The following changes are based on patches from
22579 Eli Zaretskii <eliz@is.elta.co.il>, Kai Großjohann
22580 <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
22582 * calc/calc.el (toplevel): Require calc-macs.
22583 (calc-minibuffer-size): New.
22584 (calcDigit-nondigit): Use it instead of `buffer-size'.
22585 (calcDigit-backspace): Likewise.
22586 (calcDigit-nondigit): Use `minibuffer-contents' instead of
22588 (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
22590 (calcDigit-key): Use `calc-minibuffer-contains' instead of a
22593 * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
22594 simple `setq' form.
22596 * calc/calc-ext.el (toplevel): Require calc.
22597 (calc-fancy-prefix-map): New.
22598 (calc-fancy-prefix): Use it.
22599 (calc-fancy-prefix-other-key): New.
22601 * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
22602 (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
22603 (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
22604 (calcAlg-enter): Likewise.
22605 (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
22607 2001-11-10 Richard M. Stallman <rms@gnu.org>
22609 * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
22610 (quietly-read-abbrev-file): Doc fix.
22612 * startup.el (command-line): Read standard abbrev
22613 file (abbrev-file-name), if it exists.
22615 * files.el (save-abbrevs): Default value is t.
22617 * progmodes/compile.el (compile-goto-error): Fix previous change
22618 in the case where subsequent errors have not been parsed yet
22619 because they are in a different source file.
22621 2001-11-10 Peter Kleiweg <kleiweg@let.rug.nl>
22623 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
22624 Merge two regular expressions into one.
22625 (ps-mode): Make local bindings for `comment-start' and
22626 `comment-start-skip'.
22627 (ps-mode-looking-at-nested): Simplify an if-else construct;
22628 use `set-match-data' to set the result.
22630 2001-11-10 Richard M. Stallman <rms@gnu.org>
22632 * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
22634 (flyspell-correct-word): Old definition deleted.
22635 (flyspell-correct-word/mouse-keymap): Rename to flyspell-correct-word.
22636 All references renamed too.
22638 2001-11-10 Gerd Moellmann <gerd@gnu.org>
22640 * Makefile.in (finder_setwins, setwins): Exclude Calc.
22642 2001-11-09 Per Abrahamsen <abraham@dina.kvl.dk>
22644 * wid-edit.el (checklist): Remove `:menu-tag'.
22645 (radio-button-choice): Ditto.
22646 (editable-list): Ditto.
22648 2001-11-09 Pavel JanÃk <Pavel@Janik.cz>
22650 * play/gomoku.el: Move definitions of constants to the beginning
22651 of file, before their use.
22653 2001-11-09 Richard M. Stallman <rms@gnu.org>
22655 * textmodes/flyspell.el: Use the keymap property
22656 instead of local-map, and don't use a minor-mode map.
22657 (flyspell-mode-map): Variable deleted.
22658 Don't mess with minor-mode-map-alist.
22659 (calling add-minor-mode): Specify nil for keymap.
22660 And always use add-minor-mode, now that it exists.
22661 (flyspell-overlay-keymap-property-name): Set it to `keymap'.
22662 (flyspell-mode-on): Don't locally bind flyspell-mouse-map
22663 or flyspell-local-mouse-map.
22664 (make-flyspell-overlay): Use flyspell-mouse-map directly.
22665 (flyspell-mode): Doc fix.
22666 (flyspell-mode-on): Don't call make-local-hook.
22668 2001-11-09 Sam Steingold <sds@gnu.org>
22670 * emacs-lisp/debug.el (debugger-make-xrefs):
22671 Add buttons to all symbols.
22673 2001-11-09 Andre Spiegel <spiegel@gnu.org>
22675 * vc.el: Add John David Smith to credits.
22677 Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
22679 * vc-hooks.el (vc-error-occurred): Backquotified.
22680 (vc-file-prop-obarray): Use prime length for better efficiency.
22682 * vc.el (vc-clear-context): Fill obarray with 0, not nil.
22684 2001-11-09 Eli Zaretskii <eliz@is.elta.co.il>
22686 * info.el (Info-file-list-for-emacs): Add entries for Calc.
22688 2001-11-09 Miles Bader <miles@gnu.org>
22690 * subr.el (functionp): Don't consider macros as functions.
22692 2001-11-08 Miles Bader <miles@gnu.org>
22694 * subr.el (functionp): Make work correctly for macros and unbound
22697 * comint.el (comint-send-input): Fix description of
22698 `comint-process-echoes' in the doc-string.
22700 2001-11-08 Eli Zaretskii <eliz@is.elta.co.il>
22702 * international/mule.el (make-translation-table): Doc fix.
22703 Suggested by Alex Schroeder <alex@gnu.org>.
22705 2001-11-07 Richard M. Stallman <rms@gnu.org>
22707 * info.el (Info-fontify-node): Highlight every third menu item.
22709 2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk>
22711 * cus-edit.el (custom-face-value-create): Don't ignore the
22712 `customized-face' attribute when finding the current face spec.
22714 2001-11-07 Stefan Monnier <monnier@cs.yale.edu>
22716 * subr.el (with-local-quit): New macro.
22717 (make-syntax-table): Always inherit.
22718 (functionp): Be more careful when `object' is a symbol.
22720 * dabbrev.el (dabbrev-completion): Use "*Completions*".
22722 2001-11-07 Paul Eggert <eggert@twinsun.com>
22724 * dired.el (dired-move-to-filename-regexp):
22725 Do not distinguish between ASCII letters and non-ASCII characters.
22726 Don't allow comma except in the form "month day, year".
22727 Don't allow space between month name and comma.
22728 Clean up the code that checks for trailing period, comma, and space.
22729 Remove now-obsolete comments, and add more commentary about
22731 Always gobble up trailing spaces, instead of doing it only sometimes.
22733 2001-11-07 Miles Bader <miles@gnu.org>
22735 * paren.el (show-paren-match-face): Add dark-background variant.
22737 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
22739 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
22740 (lisp-mode-variables): Don't set paragraph-{start,separate}.
22741 Don't disable adaptive-fill-mode.
22742 (lisp-fill-paragraph): Use tab-width rather than 8.
22743 Prevent filling the first line of docstrings.
22745 2001-11-06 Richard M. Stallman <rms@gnu.org>
22747 * play/gomoku.el (gomoku): Doc fix.
22749 * jka-compr.el (jka-compr-partial-uncompress):
22750 Support an alternative of not using dd.
22751 (jka-compr-dd-program): Use defcustom to define this.
22752 (jka-compr-load-suffixes): Use defcustom.
22753 (jka-compr-mode-alist-additions): Use defcustom.
22755 2001-11-06 Stefan Monnier <monnier@cs.yale.edu>
22757 * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
22758 Also work when LIMIT is further than the end of line.
22760 2001-11-06 Eli Zaretskii <eliz@is.elta.co.il>
22762 * international/quail.el (quail-update-leim-list-file): Print the
22763 offending file name if some of its quail-define-package forms is broken.
22765 2001-11-05 Richard M. Stallman <rms@gnu.org>
22767 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
22768 of the evaluated form.
22770 2001-11-05 Paul Eggert <eggert@twinsun.com>
22772 * ls-lisp.el (ls-lisp-time-to-seconds): New function.
22773 (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
22774 stamps always line up by default. Also, it uses a slightly
22775 different window to determine whether files are "recent".
22777 2001-11-05 Andrew Innes <andrewi@gnu.org>
22779 * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
22780 Don't attempt to remake autoloads before nuking .elc files.
22782 2001-11-04 Richard M. Stallman <rms@gnu.org>
22784 * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
22785 previous-single-property-change or next-single-char-property-change
22788 * international/mule-cmds.el (set-locale-environment):
22789 Make it interactive; make arg optional.
22791 * international/mule-diag.el (help-funs): Require help-funs.
22793 2001-11-04 Eli Zaretskii <eliz@is.elta.co.il>
22795 * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
22797 2001-11-04 Miles Bader <miles@gnu.org>
22799 * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
22800 shadow of the splash image gray on a dark background instead of black.
22802 2001-11-03 Stefan Monnier <monnier@cs.yale.edu>
22804 * term.el (all faces): Don't (copy-face 'default <foo>).
22806 * term/xterm.el (function-key-map):
22807 Add entry for `ESC [ 3 ~' -> <delete>
22808 Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
22809 Use inheritance so that .emacs and terminfo take precedence.
22811 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
22813 * tooltip.el (tooltip-delay): Decrease to 0.7.
22814 (tooltip-hide-delay): Enlarge to 10.
22816 2001-11-03 Richard M. Stallman <rms@gnu.org>
22818 * startup.el (fancy-splash-tail): Explain how to recover
22819 from a crash, if there was a crash.
22820 (command-line-1): Reorganize display of startup screen,
22821 to simplify the logic. Use a temp buffer for it.
22823 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
22825 * frame.el (set-background-color, set-foreground-color):
22826 Call face-set-after-frame-default, to propagate the new colors to
22827 the frame's parameters alist.
22829 * calendar/timeclock.el (timeclock-out): Signal an error if
22830 timeclock-last-event is nil.
22832 2001-11-02 Stefan Monnier <monnier@cs.yale.edu>
22834 * textmodes/fill.el (fill-context-prefix): Fix braino.
22836 * international/quail.el (quail-help):
22837 Use `help-buffer' and move `help-setup-xref' to beginning.
22839 * international/mule-cmds.el (describe-language-environment):
22840 Use `help-buffer' and move `help-setup-xref' to beginning.
22842 * international/mule-diag.el (list-character-sets)
22843 (sort-listed-character-sets, describe-character-set)
22844 (describe-coding-system, describe-fontset, list-fontsets):
22845 Use `help-buffer' and move `help-setup-xref' to beginning.
22846 (describe-char-after): Use `internal-describe-syntax-value'.
22848 2001-11-02 Richard M. Stallman <rms@gnu.org>
22850 * mouse.el (popup-menu): If the user refuses to select
22851 from a menu, don't try to invoke the menu.
22853 2001-11-02 Miles Bader <miles@gnu.org>
22855 * help-mode.el (help-xref): New button type.
22856 (help-function, help-variable, help-face, help-coding-system)
22857 (help-input-method, help-character-set, help-type, help-symbol)
22858 (help-back, help-info, help-customize-variable, help-customize-face)
22859 (help-function-def, help-variable-def): Use it as a supertype.
22860 Remove `action' property.
22862 * international/mule-diag.el (describe-character-set)
22863 (describe-coding-system): Pass correct args to `help-xref-button'.
22864 (sort-listed-character-sets): New button type.
22865 (list-character-sets): Use it.
22866 (list-charset-chars): New button type.
22867 (list-character-sets-1): Use it.
22869 2001-11-01 Stefan Monnier <monnier@rum.cs.yale.edu>
22871 * indent.el (tab-always-indent, indent-for-tab-command):
22872 Remove redundant `never' setting.
22874 * fill.el (fill-region-as-paragraph): Don't forget to skip
22875 over current whitespace before looking for a preceding space.
22877 2001-11-01 Richard M. Stallman <rms@gnu.org>
22879 * files.el (file-newest-backup): Don't pass backup file name
22880 thru file-name-sans-versions, because it never has version numbers.
22882 * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
22883 to avoid ambiguous nested loops.
22885 * files.el (find-file-noselect): Offer to change buffer-read-only
22886 only when the file's read-only status has changed from before
22887 as well as disagreeing with the buffer's current status.
22888 (buffer-file-read-only): New var, local in all buffers.
22890 * buff-menu.el (buffer-menu): Doc fix.
22891 (buffer-menu-other-window): Doc fix.
22892 (list-buffers, list-buffers-noselect): Doc fix.
22894 2001-11-01 Gerd Moellmann <gerd@gnu.org>
22896 * startup.el (command-line): If the terminal Emacs is running on
22897 has erase char set to ^H, use the Backspace key for deleting
22898 backward, and the Delete key for deleting forward.
22900 2001-11-01 Miles Bader <miles@gnu.org>
22902 * button.el (define-button-type): Make sure every user-defined
22903 button type has a supertype.
22905 2001-10-31 Jason Rumney <jasonr@gnu.org>
22907 * international/mule-cmds.el (locale-language-names): Add chs and
22908 cht as aliases for Chinese-GB and Chinese-BIG5.
22910 2001-10-31 Richard M. Stallman <rms@gnu.org>
22912 * bindings.el (mode-line-frame-identification): Add doc string.
22913 (mode-line-position, mode-line-modes): New variables.
22914 (mode-line-format): Use mode-line-position for the part
22915 that displays the position-in-buffer info.
22916 Use mode-line-modes for the part that displays major and minor modes.
22918 2001-10-31 Sam Steingold <sds@gnu.org>
22920 * emacs-lisp/debug.el (debugger-make-xrefs): New function.
22921 (debugger-setup-buffer): Call it.
22922 (debugger-mode-map): Bind RET and mouse-2.
22924 2001-10-31 Pavel JanÃk <Pavel@Janik.cz>
22926 * startup.el: Document command line option --no-window-system
22927 instead of --no-windows.
22929 2001-10-30 David Ponce <david.ponce@wanadoo.fr>
22931 * font-lock.el (java-font-lock-syntactic-face-function): New fun.
22932 (font-lock-defaults-alist): Use it.
22934 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
22936 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
22938 * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
22939 output of `char-after'.
22941 * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
22943 * simple.el (reindent-then-newline-and-indent): Insert the newline
22944 before indenting the first line.
22945 (undo-get-state, undo-revert-to-state): New funs.
22946 (shell-command): Don't kill the buffer even if empty.
22947 (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
22948 (transpose-subr-end2): Remove.
22949 (transpose-subr): Add `special' arg and simplify.
22950 (transpose-subr-1): Rewrite.
22951 (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
22952 (rfc822-goto-eoh): Simplify.
22954 2001-10-30 Richard M. Stallman <rms@gnu.org>
22956 * enriched.el (enriched-face-ans): Fix previous change.
22958 2001-10-30 Gerd Moellmann <gerd@gnu.org>
22960 * international/iso-acc.el (iso-accents-compose): Remove a
22963 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il>
22965 * buff-menu.el (list-buffers-noselect): If the buffer's name
22966 starts with a blank, but it visits a file, do show it (for files
22967 whose names start with a blank).
22969 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
22971 * textmodes/fill.el (sentence-end-double-space)
22972 (sentence-end-without-period): Move to paragraphs.el.
22973 (fill-indent-according-to-mode): Change default to t.
22974 (fill-context-prefix): Simplify control-flow and use a more
22975 sophisticated merge that unifies both previous checks.
22976 (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
22977 (fill-nobreak-predicate): Make it into a defcustom'd hook.
22978 (fill-nobreak-p): New fun.
22979 (fill-region-as-paragraph): Use it.
22980 Handle `fill-indent-according-to-mode' slightly differently.
22981 (fill-individual-paragraphs-prefix): Simplify the control-flow.
22982 (fill-individual-paragraphs-citation): Fix.
22984 * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
22985 (paragraph-start): Change default to the `text-mode' value.
22986 (sentence-end-double-space, sentence-end-without-period):
22988 (forward-paragraph): Use `parstart' and `parsep' for temp variables
22989 rather than rebinding `paragraph-start' and `paragraph-separate'.
22991 * indent.el (indent-line-function): Change default to indent-relative.
22992 (tab-always-indent): Add an `never' setting.
22993 (indent-according-to-mode): Handle `indent-relative' and
22994 `indent-relative-maybe' specially.
22995 (indent-for-tab-command): Rename `prefix-arg' to `arg'.
22996 Handle the `never' case for `tab-always-indent'.
22997 Don't call indent-according-to-mode for indent-relative' and
22998 `indent-relative-maybe'.
22999 (insert-tab): Rename `prefix-arg' to `arg'.
23000 (indent-region): Indent the first line as well.
23001 (indent-relative): Don't mark the buffer modified if the indentation
23004 * textmodes/text-mode.el (paragraph-indent-minor-mode):
23005 Don't set paragraph-separate. Set paragraph-start more carefully.
23006 Set indent-line-function.
23007 (paragraph-indent-text-mode): Use it and define-derived-mode.
23008 (text-mode-map): Remove the \t binding.
23009 (text-mode): Simplify now that the default is more favorable.
23011 2001-10-29 Stefan Monnier <monnier@cs.yale.edu>
23013 * emacs-lisp/find-func.el (find-function-search-for-symbol):
23014 If the regexp doesn't match, use a looser one.
23015 (find-variable-noselect): Add `file' argument.
23017 * pcvs.el (cvs-mode-commit-hook): New hook.
23018 (cvs-mode-commit): Run it.
23020 * log-edit.el (log-edit): Run hook after `log-edit-files'.
23022 * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
23023 (edebug-instrument-function): Use `find-function-noselect'.
23025 2001-10-29 Richard M. Stallman <rms@gnu.org>
23027 * term.el (term-if-emacs19): Macro deleted.
23028 Callers changed to use progn instead.
23030 * frame.el (blink-cursor-mode): Doc fix.
23032 * files.el (find-backup-file-name): Use make-backup-file-name.
23034 * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
23036 (edebug-set-conditional-breakpoint): Unconditionally use
23037 the former Emacs >=19 definition.
23038 (edebug-mark): Define unconditionally.
23039 (edebug-eval-expression): Always call read-from-minibuffer
23040 and specify history list.
23041 (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
23042 edebug-set-conditional-breakpoint.
23043 (edebug-emacs-version-specific): Function deleted;
23044 do the job at top level.
23045 (edebug-emacs-19-specific): Function deleted, this is the default.
23047 2001-10-29 Sam Steingold <sds@gnu.org>
23049 * w32-fns.el (convert-standard-filename): Handle cygwin-specific
23050 "/cygdrive/LETTER/" pathnames.
23052 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il>
23054 * faces.el (invert-face): Check for 'unspecified, not for nil,
23055 when testing whether face colors are not specified.
23056 From David.Kastrup@t-online.de (David Kastrup).
23057 (read-face-name): Doc fix.
23058 (make-face-bold, make-face-unbold, make-face-italic)
23059 (make-face-unitalic, make-face-bold-italic, invert-face):
23060 Remove trailing blank from the prompt passed to read-face-name.
23062 2001-10-29 Sam Steingold <sds@gnu.org>
23064 * emacs-lisp/bytecomp.el (byte-recompile-directory):
23065 Report numbers of files skipped and failed too.
23066 (byte-compile-file): Return 'no-byte-compile for skipped files.
23068 2001-10-29 Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
23070 * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
23073 2001-10-29 Gerd Moellmann <gerd@gnu.org>
23075 * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
23076 as is on unread-command-events instead of `(SECOND-CHAR)'.
23078 2001-10-29 Andre Spiegel <spiegel@gnu.org>
23080 * vc.el: Mention vc-*-switches in backend API documentation.
23081 (vc-annotate): Adapt doc string to recent change.
23083 2001-10-29 Gerd Moellmann <gerd@gnu.org>
23085 * enriched.el (enriched-face-ans): Handle face attributes
23086 of the form `(FACE1 FACE2 ...)'.
23088 * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
23090 2001-10-29 Alex Schroeder <kensanata@yahoo.com>
23092 * progmodes/sql.el (sql-mysql): Doc change by RMS.
23094 * progmodes/sql.el (sql-db2): Doc change.
23095 (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
23096 (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
23098 2001-10-29 Gerd Moellmann <gerd@gnu.org>
23100 * env.el (substitute-env-vars): Don't quote argument to `rx';
23103 2001-10-28 Per Abrahamsen <abraham@dina.kvl.dk>
23105 * cus-start.el (recursive-load-depth-limit): Add.
23107 2001-10-28 Richard M. Stallman <rms@gnu.org>
23109 * textmodes/ispell.el (version18p, version20p): Vars deleted.
23110 All uses removed--assume Emacs version is >= 20.
23112 * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
23113 by really checking that it is not version 18.
23115 * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
23117 2001-10-28 Miles Bader <miles@gnu.org>
23119 * faces.el (face-attribute): Add INHERIT argument, consider face
23120 inheritance if it's non-nil.
23121 (face-attribute-merged-with): New function.
23122 (face-attribute-specified-or): New macro.
23123 (face-foreground, face-background, face-stipple): Add INHERIT
23124 argument. Use `face-attribute-specified-or'.
23126 2001-10-28 Stefan Monnier <monnier@cs.yale.edu>
23128 * font-lock.el: Require `syntax'.
23129 (font-lock-defaults-alist): Don't define keywords for lisp languages.
23130 Use `c-font-lock-syntactic-face-function' for c languages.
23131 (font-lock-mode): Don't unset vars when turning the mode off.
23132 (font-lock-default-fontify-buffer): Don't unset vars at the end.
23133 (font-lock-extra-managed-props): New var.
23134 (font-lock-default-unfontify-region): Use it.
23135 (font-lock-apply-syntactic-highlight): Flush the syntax cache.
23136 Don't eval the value when there's no match.
23137 (font-lock-ppss-stats): New var.
23138 (font-lock-ppss): New fun.
23139 (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
23140 (font-lock-apply-highlight): Allow `highlight' to set several props.
23141 (font-lock-set-defaults): Use dolist.
23142 (font-lock-unset-defaults): Remove.
23143 (font-lock-match-c-style-declaration-item-and-skip-to-next):
23144 Try to recognize prototypes using `foo P_ ((args))'.
23145 ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
23146 (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
23147 (c-font-lock-syntactic-face-function): New function.
23148 (font-lock-match-c++-style-declaration-item-and-skip-to-next)
23149 (c++-keywords): Use a more sophisticated regexp to handle
23150 shallowly nested templates.
23152 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
23154 * textmodes/sgml-mode.el (sgml-empty-tags): New var.
23155 (sgml-tag): Use it. Cleanup with `cond'.
23156 (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
23157 Mark the overlays and only delete those that are marked.
23158 (sgml-skip-close-p): Remove.
23159 (sgml-value): Replace sgml-skip-close-p with its definition.
23160 (html-tag-alist): Use sgml-xml a bit more.
23161 (html-mode): Set sgml-empty-tags.
23163 * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
23164 (texinfo-update-node, texinfo-sequential-node-update):
23165 Don't bind the obsolete `auto-fill-hook'.
23166 (texinfo-multi-file-included-list, texinfo-multi-file-master-menu-list):
23167 Use `set-buffer' rather than `switch-to-buffer'.
23168 (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
23169 Use `set-buffer' rather than `switch-to-buffer'.
23171 * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
23172 text-mode-syntax-table.
23173 (mail-mode): Use define-derived-mode.
23174 Fix ordering of alternatives in adaptive-fill-regexp.
23175 (mail-mode-map): Don't rely on keymap's internal representation.
23177 2001-10-27 Sam Steingold <sds@gnu.org>
23179 * textmodes/sgml-mode.el (sgml-xml): Rename from `html-xhtml'.
23180 (sgml-xml-guess): Extracted from `html-mode' and generalized.
23181 (sgml-mode-common): Call it.
23182 (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
23183 (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
23184 (html-horizontal-rule, html-image, html-ordered-list):
23185 (html-unordered-list, html-list-item, html-paragraph):
23186 (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
23189 2001-10-26 Masayuki Ataka <ataka@milk.freemail.ne.jp>
23191 * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
23192 (ifnothtml): New alias.
23194 2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
23196 * textmodes/text-mode.el (text-mode): Use define-derived-mode.
23197 (toggle-text-mode-auto-fill): Use derived-mode-p.
23199 2001-10-27 Gerd Moellmann <gerd.moellmann@t-online.de>
23201 * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
23202 `mdtm'. From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
23204 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
23206 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
23207 Add make-obsolete cookies, to follow faces.el.
23209 These changes avoid warnings from the byte compiler in faces.el:
23211 * faces.el (internal-get-face): Use facep instead of the obsolete
23212 internal-find-face.
23213 (internal-frob-font-weight, internal-frob-font-slant):
23214 New defaliases for obsolete functions.
23215 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
23216 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
23217 (x-make-font-bold-italic): Use internal-frob-font-weight and
23218 internal-frob-font-slant aliases instead of the obsolete
23219 x-frob-... functions.
23221 2001-10-26 Sam Steingold <sds@gnu.org>
23223 * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
23224 DOCTYPE; set `mode-name' based on it.
23225 (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
23226 (sgml-tag): Close empty tags in XHTML.
23228 2001-10-26 Jason Rumney <jasonr@gnu.org>
23230 * w32-fns.el (w32-charset-info-alist): Use ANSI for iso10646-1
23231 when UNICODE is not defined.
23233 2001-10-26 Sam Steingold <sds@gnu.org>
23235 * font-lock.el (c-font-lock-keywords-2): Do not require labels to
23236 be alone on the line.
23238 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il>
23240 * button.el (button): Special face definition for MS-DOS terminals.
23242 2001-10-26 Sam Steingold <sds@gnu.org>
23244 * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
23245 Protect the /= test by checking that the args are non-nil.
23246 (sh-font-lock-close-heredoc): Check eof for being non-nil.
23248 2001-10-26 Tomas Abrahamsson <tab@lysator.liu.se>
23250 * textmodes/artist.el (artist-version): 1.2.4.
23251 (artist-butlast-fn): New variable.
23252 (artist-butlast): New function.
23253 (artist-ellipse-mirror-quadrant): Use it.
23254 (artist-mouse-draw-poly): Use nil for `point-list'.
23255 (artist-mouse-draw-poly): Check for point-list being nil.
23257 2001-10-26 Peter Kleiweg <kleiweg@let.rug.nl>
23259 * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
23261 (ps-mode-menu-main): Submenu with options on/off was replaced with
23263 (ps-mode, ps-run-mode): Define with `define-derived-mode'.
23264 (ps-mode): Autoload cookie added on same line as comment.
23265 (ps-mode-tabkey, ps-mode-backward-delete-char):
23266 (ps-mode-r-balance): Replace `delete-horizontal-space' and
23267 `indent-to' with `indent-line-to'.
23268 (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
23270 (ps-mode-print-region): Use `with-temp-buffer'.
23271 (ps-run-start): Use of `mapconcat'. Use `apply' instead of `eval'.
23272 (numerous places): Add back-tick and tick around names in
23273 docstrings, fix punctuation in docstrings, remove trailing spaces.
23275 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
23277 * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
23278 (sgml-font-lock-keywords-2): Use `eval'. Moved from sgml-mode-common.
23279 (sgml-font-lock-syntactic-keywords): New var.
23280 (sgml-mode-common): Drop the two args.
23281 Don't make buffer-local variables that aren't used.
23282 Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
23283 Don't set `before-string' props from sgml-display-text.
23284 (sgml-mode): Use define-derived-mode.
23285 (sgml-tags-invisible): Use sgml-display-text.
23286 (sgml-quote): New command.
23287 (html-tag-alist): Add args for `span'.
23288 (html-mode): Use define-derived-mode.
23289 Set sgml-display-text and sgml-tag-face-alist.
23291 2001-10-25 Sam Steingold <sds@gnu.org>
23293 * add-log.el (add-log-always-start-new-record): New user option.
23294 (add-change-log-entry): Use it.
23296 2001-10-25 Richard M. Stallman <rms@gnu.org>
23298 * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
23299 bind case-fold-search if FROM is not all lower case.
23301 2001-10-25 Gerd Moellmann <gerd@gnu.org>
23303 * startup.el (normal-top-level): Check for frame-initial-frame
23304 only if it's really used.
23306 * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
23308 * progmodes/compile.el (compilation-parse-errors-filename-function):
23310 (compilation-parse-errors): Use it.
23312 2001-10-25 Stefan Monnier <monnier@cs.yale.edu>
23314 * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
23315 interactively so that C-u M-C-x still does edebug.
23316 (checkdoc-sentencespace-region-engine): Don't force a double-space
23317 after `.' if it doesn't look like an end-of-sentence.
23318 (debug-ignored-errors): Add `disambiguate ...'.
23320 2001-10-24 Stefan Monnier <monnier@cs.yale.edu>
23322 * textmodes/texinfo.el (texinfo-environments)
23323 (texinfo-environment-regexp): Hoist.
23324 (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
23325 Only highlight the menu name in menu items.
23326 Setup `@foo ... @end foo' as text clones.
23327 (texinfo-clone-environment): New function.
23328 (texinfo-mode): Simplify auto-fill-inhibit-regexp.
23329 (texinfo-insert-block): Simplify.
23330 (texinfo-insert-quote): Insert a plain " if preceded by \ or if
23331 the command is repeated.
23332 (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
23333 (texinfo-insert-@end): Simplify.
23335 * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
23336 (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
23337 (texinfo-subsubsection-level-regexp)
23338 (texinfo-update-menu-same-level-regexps)
23339 (texinfo-update-menu-higher-regexps)
23340 (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
23342 * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
23343 (derived-mode-p): Autoload.
23345 * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
23346 New vars and functions.
23347 (text-clone-maintain, text-clone-create): New functions.
23349 2001-10-25 Miles Bader <miles@gnu.org>
23351 * facemenu.el (facemenu-add-new-face): Fix variable names.
23353 2001-10-24 Richard M. Stallman <rms@gnu.org>
23355 * facemenu.el (facemenu-unlisted-faces): Improve doc strings
23356 of t and nil values.
23357 (facemenu-set-face): Handle START and END interactively.
23358 (facemenu-set-foreground): Don't use a face; specify color directly.
23359 (facemenu-set-background): Likewise.
23360 (facemenu-set-face-from-menu): Doc fix.
23361 (facemenu-active-faces): Use face-attribute-vector
23362 to handle bare attributes not in faces.
23363 (facemenu-get-face): Don't handle face names fg:... and bg:...
23365 (facemenu-add-new-face): New argument MENU.
23366 New way to handle adding colors to the color menus.
23368 * env.el (substitute-env-vars): Quote the arg to rx.
23370 2001-10-24 Sam Steingold <sds@gnu.org>
23372 * mouse.el (mouse-buffer-menu-mode-groups): Add "Version
23373 Control" and "SGML" groups.
23375 2001-10-24 Martin Stjernholm <mast@lysator.liu.se>
23377 * progmodes/cc-engine.el (c-beginning-of-member-init-list):
23378 Better handling of C++ template args to avoid confusion with `<'
23379 and `>' used as operators in member init expressions.
23381 2001-10-24 Gerd Moellmann <gerd@gnu.org>
23383 * replace.el (perform-replace): Move START and END parameters
23384 to the end of the argument list and make them optional.
23386 * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
23389 * international/fontset.el (x-must-resolve-font-name): New function.
23390 (x-complement-fontset-spec): Use it.
23392 2001-10-23 Stefan Monnier <monnier@cs.yale.edu>
23394 * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
23396 * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
23397 Turn caadr into caar of cdr.
23399 2001-10-23 Gerd Moellmann <gerd@gnu.org>
23401 * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
23402 of mouse-{1,2} since dragging is on the down event.
23404 * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
23406 * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
23409 * desktop.el (desktop-last-buffer): New variable.
23410 (desktop-create-buffer): Set it.
23411 (desktop-read): Bind it and switch to that buffer.
23413 2001-10-22 Gerd Moellmann <gerd@gnu.org>
23415 * progmodes/compile.el (compilation-set-window-height):
23416 Select old window only if it's still live.
23418 2001-10-22 Pavel JanÃk <Pavel@Janik.cz>
23420 * help-mode.el (help-buffer): Remove debugging code.
23421 From Stefan Monnier <monnier@cs.yale.edu>.
23423 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
23425 * files.el (file-name-sans-extension, file-name-extension):
23426 Don't count the leading dots in file names as signaling an extension.
23428 2001-10-22 Andre Spiegel <spiegel@gnu.org>
23430 * vc.el (vc-diff-switches): Doc rewritten.
23432 2001-10-22 Eli Zaretskii <eliz@is.elta.co.il>
23434 * tooltip.el (tooltip-set-param): Doc fix.
23436 * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
23437 127 to sgml-maybe-name-self.
23438 (sgml-name-8bit-mode): Doc fix.
23439 (sgml-char-names-table): New variable.
23440 (sgml-name-char): Support non-ASCII and mule-unicode-*
23441 characters. Doc fix.
23442 (sgml-maybe-name-self): Convert unibyte characters to multibyte.
23444 * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
23445 doc string the effect of `left' and `top' parameters in
23446 tooltip-frame-parameters, the default values, and the units.
23447 (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
23448 (tooltip-show): Mention in the doc string the `top' and `left'
23449 parameters in tooltip-frame-parameters, and x-max-tooltip-size.
23451 2001-10-22 Andre Spiegel <spiegel@gnu.org>
23453 Add autoscaling support for vc-annotate.
23454 From J.D. Smith <jdsmith@alum.mit.edu>.
23456 * vc.el (vc-annotate-display-default): Accept colormap scaling
23457 ratio (now deprecated).
23458 (vc-annotate-display-autoscale): Add.
23459 (vc-annotate-add-menu): New autoscaling menu options "Span to
23460 Oldest" and "Span Oldest->Newest". Easymenu support added for
23461 toggle menus driven by customize variable `vc-annotate-display-mode'.
23462 (vc-annotate-display-select): Add.
23463 (vc-annotate): Change temp-buffer-show-function to
23464 `vc-annotate-display-select'.
23465 (vc-annotate-display): Remove arguments BUFFER and BACKEND.
23466 Added argument OFFSET. Instead of backend function, calls now
23467 generic `vc-annotate-difference'.
23468 (vc-annotate-difference): Add as generic function instead of
23469 backend-specific function. No longer takes argument POINT, but
23470 instead accepts a time OFFSET.
23471 (vc-default-annotate-current-time): Add.
23473 * vc-cvs.el (vc-cvs-annotate-difference): Remove to generic
23475 (vc-cvs-annotate-current-time): Add, as override of default.
23476 (vc-cvs-annotate-time): Add. Taken mostly from the (now removed)
23477 `vc-cvs-annotate-difference'.
23479 2001-10-22 Gerd Moellmann <gerd@gnu.org>
23481 * saveplace.el (save-place): Require `saveplace'.
23483 * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
23484 Use `sexp' for :value-type instead of `face'.
23486 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
23488 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
23489 regexps due to 5-digit message IDs.
23491 2001-10-21 Jason Rumney <jasonr@gnu.org>
23493 * term/w32-win.el (redisplay-dont-pause): Don't set.
23495 2001-10-21 Miles Bader <miles@gnu.org>
23497 * help-funs.el (help-manyarg-func-alist): Variable removed.
23499 2001-10-21 Miles Bader <miles@gnu.org>
23501 * help-funs.el (help-manyarg-func-alist): Remove entries for
23502 `insert', `insert-and-inherit', `insert-before-markers',
23503 `insert-before-markers-and-inherit', `message', `message-box',
23504 `message-or-box', `propertize', `format', `encode-time', `append',
23505 `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
23506 `insert-string', `ml-if', `ml-provide-prefix-argument', and
23507 `ml-prefix-argument-loop'.
23509 2001-10-21 Andre Spiegel <spiegel@gnu.org>
23511 * vc.el (vc-diff-internal, vc-coding-system-for-diff)
23512 (vc-default-diff-tree): New functions.
23513 (vc-version-diff): Use them. As a result, coding systems are now
23514 set up properly for all sorts of diffs, and tree diffs can now
23515 also be done locally.
23516 (vc-diff): With a prefix argument, don't require that it's called
23517 from a buffer under version control.
23518 (diff-switches): Remove duplicate definition.
23520 * vc-cvs.el (vc-cvs-diff-tree): New function.
23522 2001-10-21 Miles Bader <miles@gnu.org>
23524 * help-funs.el (help-manyarg-func-alist): Remove entries for
23525 `list', `vector', `make-byte-code', `call-process',
23526 `call-process-region', `string', `+', `-', `*', `/', `max', `min',
23527 `logand', `logior', and `logxor'.
23529 * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
23530 image bits to compensate. Use `make-string' instead of
23531 `make-bool-vector' (XBM apparently wants byte-aligned rows).
23533 2001-10-20 Kim F. Storm <storm@cua.dk>
23535 * simple.el (kill-ring-save): Don't show extent of copied region
23536 if using transient-mark-mode and region is fully visible.
23538 See ChangeLog.9 for earlier changes.
23540 ;; Local Variables:
23544 Copyright (C) 2001-2016 Free Software Foundation, Inc.
23546 This file is part of GNU Emacs.
23548 GNU Emacs is free software: you can redistribute it and/or modify
23549 it under the terms of the GNU General Public License as published by
23550 the Free Software Foundation, either version 3 of the License, or
23551 (at your option) any later version.
23553 GNU Emacs is distributed in the hope that it will be useful,
23554 but WITHOUT ANY WARRANTY; without even the implied warranty of
23555 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23556 GNU General Public License for more details.
23558 You should have received a copy of the GNU General Public License
23559 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.