(auto-mode-alist): Strip trailing ".in" from the file
[bpt/emacs.git] / lisp / ChangeLog
index 98f10c4..f4e0bf2 100644 (file)
@@ -1,4 +1,299 @@
-2002-05-21  Colin Walters  <walters@verbum.org>        
+2002-06-01  Sam Steingold  <sds@gnu.org>
+
+       * files.el (auto-mode-alist): Strip trailing ".in" from the file
+       name when deciding the mode (for config.h.in, Makefile.in etc).
+
+2002-06-01  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * progmodes/prolog.el (prolog-mode-syntax-table): Add flags to
+       ?/ and ?* entries to support /* */ style comments.
+       (prolog-font-lock-keywords): New var.
+       (prolog-mode): Enable font-locking; set `font-lock-defaults'.
+
+2002-06-01  Kim F. Storm  <storm@cua.dk>
+
+       * simple.el (choose-completion-string-functions): New special hook.
+       (choose-completion-string1): Renamed from choose-completion-string.
+       (choose-completion-string): Run choose-completion-string-functions
+       until success, and only call choose-completion-string1 if it fails.
+
+2002-05-31  Kim F. Storm  <storm@cua.dk>
+
+       * emulation/cua-base.el (cua--last-deleted-region-pos)
+       (cua--last-deleted-region-text): New aux variables.
+       (cua-delete-region): Set them.
+       (cua-repeat-replace-region): Use them to find the replacement text.
+
+2002-05-31  Juanma Barranquero  <lektu@terra.es>
+
+       * emulation/viper-cmd.el (viper-smart-suffix-list, viper-ask-level):
+       Fix typos.
+
+2002-05-31  Kim F. Storm  <storm@cua.dk>
+
+       * progmodes/compile.el (grep-tree-command, grep-tree-files-aliases)
+       (grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
+       New custom variables.
+       (grep-compute-defaults): Compute grep-tree-command's default value.
+       (grep-expand-command-macros): New aux function.
+       (grep-tree-last-regexp, grep-tree-last-files): New aux variables.
+       (grep-tree): New command like grep-find but extended prompting.
+
+2002-05-30  Richard M. Stallman  <rms@gnu.org>
+
+       * files.el (find-file-default): Add defvar for var already used.
+
+       * menu-bar.el (menu-bar-showhide-fringe-menu): Use defvar.
+
+       * subr.el (open-network-stream, open-network-stream-nowait)
+       (open-network-stream-server, process-kill-without-query):
+       Moved from simple.el.
+
+       * simple.el (open-network-stream, open-network-stream-nowait)
+       (open-network-stream-server, process-kill-without-query):
+       Moved to subr.el.
+
+       * simple.el (byte-compiling-files-p): Function deleted.
+
+       * textmodes/ispell.el (ispell-library-directory): Renamed from
+       ispell-library-path.  If Ispell is not installed, init to nil.
+       (check-ispell-version): Doc fix.
+       (ispell-menu-map): Get rid of byte-compiling-files-p hackery;
+       initialize this unconditionally when ispell-menu-map-needed is t.
+       Local `path' renamed to `dir'.
+
+2002-05-30  Miles Bader  <miles@gnu.org>
+
+       * calc/calc.el (calc-show-banner): New variable.
+       (calc-refresh): Only show banner if `calc-show-banner' is non-nil.
+       (calc-mode-var-list): Add `calc-show-banner'.
+       * calc/calc-ext.el (calc-init-extensions): Add binding for `d@'.
+       (calc-toggle-banner): New function.
+       * calc/calc-help.el (calc-d-prefix-help): Add `@'.
+
+2002-05-29  Richard M. Stallman  <rms@gnu.org>
+
+       * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
+       When recognizing a def... construct, make that indentation
+       tentative, so that it can be overridden if the list in question
+       is not actually an expression.
+       (common-lisp-indent-call-method): New subroutine.
+
+       * emacs-lisp/bytecomp.el (batch-byte-compile-file):
+       Delete the output file if we get a file-error.
+
+       * tooltip.el (tooltip-mouse-motions-active): New variable.
+       (tooltip-activate-mouse-motions): Don't kill track-mouse local
+       if it was not made by us.
+
+       * mouse.el (mouse-set-font): Avoid misleading error message
+       if user makes no selection.
+
+       * info.el (Info-setup-header-line): Don't hide the links line.
+
+       * files.el (find-file-noselect-1): Return the buffer we created
+       even if it has been killed within `after-find-file'.
+
+       * files.el (auto-mode-alist): Use ada-mode for .ad[bs].dg files.
+
+2002-05-29  Kim F. Storm  <storm@cua.dk>
+
+       * simple.el (open-network-stream-server): Pass on optional args
+       sentinel and filter to make-network-process (from Luke Gorrie).
+
+2002-05-28  Colin Walters  <walters@gnu.org>
+
+       * textmodes/sgml-mode.el (xml-mode): New alias for `sgml-mode'.
+
+       * emacs-lisp/bytecomp.el (byte-compile-last-line): Deleted.
+       (byte-compile-delete-first): New function.
+       (byte-compile-read-position): New variable.
+       (byte-compile-last-position): New variable.
+       (byte-compile-current-buffer): New variable.
+       (byte-compile-log-1): Use it.
+       (byte-compile-set-symbol-position): New function.
+       (byte-compile-obsolete, byte-compile-callargs-warn)
+       (byte-compile-arglist-warn, byte-compile-arglist-warn)
+       (byte-compile-print-syms, byte-compile-file-form-defmumble)
+       (byte-compile-check-lambda-list, byte-compile-lambda)
+       (byte-compile-form, byte-compile-variable-ref)
+       (byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
+       (byte-compile-condition-case, byte-compile-defun)
+       (byte-compile-defvar, byte-compile-autoload)
+       (byte-compile-lambda-form): Use it.
+       (byte-compile-from-buffer): Set it, and bind
+       `read-with-symbol-positions' and `read-symbol-positions-list'.
+
+       * emacs-lisp/bytecomp.el (byte-compile-debug): New variable.
+
+2002-05-28  Kim F. Storm  <storm@cua.dk>
+
+       * files.el (read-directory-name): New function.
+       (cd): Use it instead of read-file-name.
+
+2002-05-27  Kim F. Storm  <storm@cua.dk>
+
+       * simple.el (push-mark-command): Added optional NOMSG arg.
+
+       * emulation/cua-base.el (cua-set-mark): Align pop to mark
+       behaviour with standard set-mark-command.
+       (cua--pre-command-handler): Use push-mark-command.
+       (cua-repeat-replace-region): Improve functionality when
+       repeated after moving point or changing buffer.
+
+2002-05-26  Colin Walters  <walters@verbum.org>
+
+       * startup.el (command-line): Use `when', `unless'.
+       (command-line-1): New argument "--nosplash".  Handle it.
+
+       * startup.el (inhibit-splash-screen): New variable alias for
+       `inhibit-startup-message'.
+
+       * replace.el (perform-replace): Document return value.  Use `pop'.
+
+2002-05-26  Glenn Morris  <gmorris@ast.cam.ac.uk>
+
+       * progmodes/f90.el (f90-previous-block, f90-next-block): New names,
+       and slightly changed behaviour, for `f90-previous-block-start' and
+       `f90-next-block-end'.
+       (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
+
+2002-05-26  Simon Josefsson  <jas@extundo.com>
+
+       * fringe.el (set-fringe-mode): Work when updating
+       `default-frame-alist'.
+
+2002-05-26  Kim F. Storm  <storm@cua.dk>
+
+       * emulation/cua-base.el (cua--repeat-replace-text): New variable.
+       (cua-repeat-replace-region): New command.
+       (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
+       Misc improvements to the commantary.
+
+2002-05-26  Simon Josefsson  <jas@extundo.com>
+
+       * fringe.el (fringe-query-style): New fringe style "minimal".
+
+2002-05-24  Simon Josefsson  <jas@extundo.com>
+
+       * rot13.el (rot13-translate-table): New variable.
+       (rot13, rot13-string, rot13-region): New functions.
+
+2002-05-25  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-add-stmt-syntax): Fixed some cases
+       of wrong anchoring, e.g. for else-if compounds.
+
+2002-05-25  Miles Bader  <miles@gnu.org>
+
+       * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
+       (menu-bar-showhide-fringe-menu-customize-right)
+       (menu-bar-showhide-fringe-menu-customize-disable):
+       Use proper calling convention for `customize-set-value'.
+       Require `fringe' before setting variable.
+
+2002-05-25  Kim F. Storm  <storm@cua.dk>
+
+       * emulation/cua-base.el (cua--self-insert-char-p): New function.
+
+       * emulation/cua-gmrk.el (cua--init-global-mark):  Install default
+       binding in cua--global-mark-keymap using cua--self-insert-char-p
+       to handle all global self inserting characters in gmark mode.
+
+       * emulation/cua-rect.el (cua--init-rectangles): Install default
+       binding in cua--rectangle-keymap using cua--self-insert-char-p
+       to handle all global self inserting characters in rectangle mode.
+
+2002-05-24  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * net/ange-ftp.el (read-file-name-internal): Remove the
+       `ange-ftp' property.
+       (ange-ftp-real-read-file-name-internal): Remove.
+
+2002-05-24  Glenn Morris  <gmorris@ast.cam.ac.uk>
+
+       * progmodes/f90.el: (f90-end-of-subprogram): Remove the final
+       `forward-line'.
+       (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
+       (f90-previous-block-start): New navigation commands.
+
+2002-05-20  Simon Josefsson  <jas@extundo.com>
+
+       * fringe.el: New file.
+
+       * menu-bar.el (menu-bar-options-save): Add fringe-mode.
+       (menu-bar-showhide-fringe-menu): New menu.
+       (menu-bar-showhide-menu): Add Fringe sub-menu.
+
+2002-05-23  Colin Walters  <walters@verbum.org>
+
+       * replace.el (occur-engine): Include all text properties except
+       mouse-face on the newline at the end of occurences.
+
+2002-05-23  Kim F. Storm  <storm@cua.dk>
+
+       * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
+       (apropos-false-hit-str, apropos-true-hit-doc): New functions.
+       (apropos-command, apropos-value, apropos-documentation-internal)
+       (apropos-documentation-check-doc-file)
+       (apropos-documentation-check-elc-file): Use them to filter out
+       false matches where only one keyword matches, but more than once.
+
+       * apropos.el (apropos-show-scores, apropos-orig-regexp)
+       (apropos-all-regexp, apropos-synonyms, apropos-words)
+       (apropos-all-words): New variables.
+       (aprpos-words-to-regexp, apropos-rewrite-regexp)
+       (apropos-calc-scores, apropos-score-str, apropos-score-doc)
+       (apropos-score-symbol): New functions.
+       (apropos-command, apropos, apropos-value, apropos-documentation):
+       Allow keywords in addition to regexp. Added scoring.
+       (apropos-documentation-check-doc-file)
+       (apropos-documentation-check-elc-file): Added scoring.
+       (apropos-print): Sort according to score.
+
+2002-05-22  Colin Walters  <walters@cis.ohio-state.edu>
+
+       * info.el (Info-mode-hook): Change `font-lock-mode' to
+       `turn-on-font-lock'.
+
+       * font-core.el (font-lock-function): New variable.
+       (font-lock-default-function): New function, created from
+       `font-lock-mode'.
+       (font-lock-mode): Just funcall `font-lock-function'.
+       (font-lock-symbol-category-alist): New variable.
+
+2002-05-22  Markus Rost  <rost@math.ohio-state.edu>
+
+       * files.el (file-newest-backup): Use file-name-sans-versions.
+
+       * diff.el (diff-latest-backup-file): Replace the main code by
+       a call of file-newest-backup.
+
+2002-05-22  Mike Williams  <mdub@bigfoot.com>
+
+       * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
+       the buffer.
+
+2002-05-21  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
+       the last patch works around the wu-ftpd misfeature that prompted
+       the disabling of this optimization.
+
+2002-05-21  Colin Walters  <walters@gnu.org>
+
+       * international/mule.el (make-coding-system): Doc fixes.
+
+       * international/mule.el (auto-coding-functions): New variable.
+       (auto-coding-from-file-contents): Use it.
+       (set-auto-coding): Update docs.
+       (sgml-xml-auto-coding-function): New function.
+
+       * international/mule-util.el (truncate-string-to-width):
+       New optional argument `ellipsis'.  Add commented-out test suite, and
+       change coding to iso-2022-7bit.
+
+2002-05-21  Colin Walters  <walters@verbum.org>
 
        * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
        (font-lock-multiline, font-lock-fontified, font-lock-mode)
@@ -9,8 +304,8 @@
        * font-core.el: New file, with functions taken from font-lock.el.
        (font-lock-category-alist): New variable.
        (font-lock-mode): Use it.
-       (font-lock-set-defaults): Partially taken from font-lock.el.  Only
-       load font-lock.el when necessary.
+       (font-lock-set-defaults): Partially taken from font-lock.el.
+       Only load font-lock.el when necessary.
 
        * loadup.el: Add font-core.el.
 
        (occur-fontify-on-property): Deleted.
        (occur-engine): Use categories from `font-lock-category-alist'.
 
+       * info.el (Info-fontify): Deleted.
+       (Info-select-node): Don't use it.
+       (Info-mode-hook): New variable.
+       (Info-mode): Set up categories.
+       (Info-fontify-menu-headers, Info-fontify-node): Use categories.
+
        * ibuffer.el (ibuffer-formats): Update docs.
        (ibuffer-category-alist): New variable.
        (ibuffer-get-category): New function.
        (ibuffer-insert-filter-group): Ditto.
        (ibuffer-mode): Set up category properties.
 
-2002-05-21  Colin Walters  <walters@debian.org>        
+2002-05-21  Colin Walters  <walters@debian.org>
 
        * replace.el (occur-engine): Increment globalcount all at once
        after searching a buffer.
 
        * ibuf-macs.el (define-ibuffer-column): Add third argument
        `ibuffer-buf'.
-       
+
        * ibuffer.el (toplevel): Require font-lock, to get the face
        definitions.
        (ibuffer-use-fontification): Deleted.
        (column filename-and-process): New column.
        (ibuffer-formats): Use it by default.
        (ibuffer-name-map, ibuffer-mode-name-map)
-       (ibuffer-filter-group-map): Don't set parent to
-       `ibuffer-mode-map'.
+       (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
        (ibuffer-do-save, ibuffer-do-toggle-modified)
        (ibuffer-do-toggle-read-only, ibuffer-do-delete)
        (ibuffer-do-kill-on-deletion-marks): Include name in definition.
-       (ibuffer): New optional argument `formats'.  
+       (ibuffer): New optional argument `formats'.
 
 2002-05-21  Eli Zaretskii  <eliz@is.elta.co.il>
 
        prefix from scroll commands.  Ignore end-of-buffer errors from
        other windows.
        (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
-       commands. 
+       commands.
        (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
        New functions.