*** empty log message ***
[bpt/emacs.git] / lisp / ChangeLog
index d2049ed..811b437 100644 (file)
@@ -1,3 +1,163 @@
+2005-11-27  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * loadup.el ("facemenu"): Load facemenu before font-lock, because
+       `facemenu-keymap' needs to be defined when font-lock is loaded.
+       Otherwise, `M-o M-o' is not bound to `font-lock-fontify-block'.
+
+2005-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * completion.el: Remove useless leading * in defcustom docstrings.
+       (save-completions-file-name): Use ~/.emacs.d if available.
+       (completion-standard-syntax-table): Rename from
+       cmpl-standard-syntax-table and fold initialization into declaration,
+       thus removing cmpl-make-standard-completion-syntax-table.
+       (completion-lisp-syntax-table, completion-c-syntax-table)
+       (completion-fortran-syntax-table, completion-c-def-syntax-table): Idem.
+       (cmpl-saved-syntax, cmpl-saved-point): Remove.
+       (symbol-under-point, symbol-before-point)
+       (symbol-under-or-before-point, symbol-before-point-for-complete)
+       (add-completions-from-c-buffer): Use with-syntax-table.
+       (make-completion): Don't return a list of completion entries.
+       Update callers.
+       (cmpl-prefix-entry-head, cmpl-prefix-entry-tail): Use defalias.
+       (completion-initialize): Rename from initialize-completions.
+       (completion-find-file-hook): Rename from cmpl-find-file-hook.
+       (kill-emacs-save-completions): Collect stats here.
+       (save-completions-to-file, load-completions-from-file):
+       Use with-current-buffer.
+       (completion-def-wrapper): Rename from def-completion-wrapper.  Make it
+       into a function.  Move all calls to toplevel.
+       (completion-lisp-mode-hook): New fun.
+       (completion-c-mode-hook, completion-setup-fortran-mode):
+       Set the syntax-table here.  Use local-set-key.
+       (completion-saved-bindings): New var.
+       (dynamic-completion-mode): Make it into a proper minor mode.
+       (load-completions-from-file): Remove unused var `num-uses'.
+
+       * emacs-lisp/cl-macs.el (defstruct): Don't define the default
+       constructor if it is explicitly overridden.
+
+       * complete.el (PC-completion-as-file-name-predicate):
+       Use minibuffer-completing-file-name.
+       (partial-completion-mode): Use find-file-not-found-functions.
+       (PC-lisp-complete-symbol): Use with-syntax-table.
+       (PC-look-for-include-file): Remove dead setq.
+       (PC-look-for-include-file, PC-expand-many-files, PC-do-completion)
+       (PC-complete): Use with-current-buffer.
+
+       * progmodes/sh-script.el (sh-font-lock-syntactic-keywords): \ doesn't
+       escape single quotes.
+
+2005-11-27  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * dabbrev.el (dabbrev-completion): Simplify code, by getting rid
+       of `if' whose condition always returned nil.  Doc fix.
+
+       * buff-menu.el (Buffer-menu-revert-function): Make the selected
+       window's buffer the current buffer around the call to
+       `list-buffers-noselect'.  This is necessary to mark that buffer
+       with a `.' in the Buffer Menu when called from Lisp, for instance
+       by Auto Revert Mode.
+
+2005-11-28  Nick Roberts  <nickrob@snap.net.nz>
+
+       * progmodes/gdb-ui.el (gdb-stopped): Detect process when attaching.
+       (gdb-pre-prompt): Make sure gdb-error is reset.
+
+       * progmodes/gud.el (gud-gdb-marker-filter): When GDB is invoked
+       with a process, detect it.
+       (gud-speedbar-buttons): Match regexp more carefully.
+
+2005-11-27  Richard M. Stallman  <rms@gnu.org>
+
+       * mouse.el (mouse-drag-move-window-bottom):
+       Use adjust-window-trailing-edge.
+
+2005-11-27  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * simple.el (blink-matching-open): Ignore
+       `blink-matching-paren-on-screen' if `show-paren-mode' is enabled.
+       (blink-matching-paren-on-screen): Update docstring.
+
+       * paren.el (show-paren-mode): No longer change
+       `blink-matching-paren-on-screen'.
+
+2005-11-27  John Paul Wallington  <jpw@pobox.com>
+
+       * progmodes/gdb-ui.el (gdb-goto-breakpoint, gdb-frames-select)
+       (gdb-threads-select, gdb-edit-register-value):
+       Use `posn-set-point' instead of `mouse-set-point' because the
+       latter is not fbound when configured without X.
+
+2005-11-27  Kim F. Storm  <storm@cua.dk>
+
+       * emulation/cua-rect.el (cua--highlight-rectangle): Preserve
+       existing face when partially highlighting a TAB in a rectangle.
+
+2005-11-26  Kim F. Storm  <storm@cua.dk>
+
+       * ido.el (ido-mode-map): Doc fix.
+       (ido-mode-common-map, ido-mode-file-map)
+       (ido-mode-file-dir-map, ido-mode-buffer-map): New keymaps.
+       (ido-define-mode-map): Rewrite.  Select one of the new maps as
+       parent for ido-mode-map instead of building from scratch.
+       (ido-init-mode-maps): New defun to initialize new maps.
+       (ido-mode): Call it.
+       (ido-switch-buffer): Doc fix -- use \<ido-mode-buffer-map>.
+       (ido-find-file): Doc fix -- use \<ido-mode-file-map>.
+
+2005-11-26  John Paul Wallington  <jpw@pobox.com>
+
+       * arc-mode.el (archive-extract): Use `posn-set-point' instead of
+       `mouse-set-point' because the latter is not fbound when configured
+       without X.
+
+2005-11-26  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * files.el (file-relative-name): Doc fix.
+
+2005-11-26  Kurt Hornik  <Kurt.Hornik@wu-wien.ac.at>
+
+       * progmodes/octave-inf.el (inferior-octave-startup): Force a
+       non-empty string for secondary prompt PS2.
+
+2005-11-25  Chong Yidong  <cyd@stupidchicken.com>
+
+       * progmodes/compile.el (compilation-setup): Fix last change.
+
+2005-11-26  Nick Roberts  <nickrob@snap.net.nz>
+
+       * progmodes/gdb-ui.el (gdb-info-breakpoints-custom)
+       (gdb-mouse-toggle-breakpoint-margin)
+       (gdb-mouse-toggle-breakpoint-fringe, gdb-threads-select):
+       Add gdb-server-prefix to keep out of command history.
+       (gdb-edit-register-value): New function.
+       (gdb-registers-mode-map): Bind mouse-2 and RET to it.
+       (gdb-info-registers-custom): Use above map.
+
+2005-11-25  Chong Yidong  <cyd@stupidchicken.com>
+
+       * custom.el (enable-theme): Signal error if argument is not a
+       theme.  Don't recalculate a face if it's not loaded yet.
+
+       * cus-face.el (custom-theme-set-faces): Don't change saved-face if
+       the `user' theme is in effect.
+
+       * info.el (Info-on-current-buffer): Record actual filename in
+       Info-current-file, instead of t, or a fake filename if a non-file
+       buffer.  Make autoload.
+       (Info-find-node, Info-revert-find-node): No need to check for
+       Info-current-file nil.
+       (Info-set-mode-line, Info-up, Info-copy-current-node-name):
+       Info-current-file is now never `t'.
+       (Info-fontify-node): Many simplifications due to Info-current-file
+       always being valid.  Use Info-find-file to find node filename.
+
+2005-11-25  David Kastrup  <dak@gnu.org>
+
+       * longlines.el (longlines-wrap-line): Reorder wrapping to "insert
+       new character, then delete" in order to preserve markers.
+
 2005-11-25  David Ponce  <david@dponce.com>
 
        * recentf.el (recentf-arrange-by-rule): Handle a special
        (recentf-build-mode-rules): Handle second level auto-mode entries.
 
 2005-11-25  Michael Kifer  <kifer@cs.stonybrook.edu>
-       
+
        * viper-keym.el (viper-ESC-key): Use different values in terminal and
        window modes.
-       
+
        * viper.el (viper-emacs-state-mode-list): Delete mail-mode, add
        jde-javadoc-checker-report-mode.
-       
+
        * ediff-wind (ediff-make-wide-display): Slight simplification.
-       
-       * ediff.el (ediff-date): Changed the date of last update.
-       
+
+       * ediff.el (ediff-date): Change the date of last update.
+
 2005-11-24  Chong Yidong  <cyd@stupidchicken.com>
 
        * hi-lock.el (hi-lock-buffer-mode): Renamed from `hi-lock-mode'.
-       Use define-minor-mode, and make it a local mode.  Turn on
-       font-lock.
+       Use define-minor-mode, and make it a local mode.  Turn on font-lock.
        (hi-lock-mode): New global minor mode.
        (turn-on-hi-lock-if-enabled): New function.
-       (hi-lock-line-face-buffer, hi-lock-face-buffer)
-       (hi-lock-set-pattern): Changed arguments to regexp and face
-       instead of a font-lock pattern.  Directly set face property,
-       instead of refontifying.
+       (hi-lock-line-face-buffer, hi-lock-face-buffer, hi-lock-set-pattern):
+       Change arguments to regexp and face instead of a font-lock pattern.
+       Directly set face property, instead of refontifying.
        (hi-lock-font-lock-hook): Check if font-lock is being turned on.
        (hi-lock-find-patterns): Use line-number-at-pos.
 
        (hi-lock-unface-buffer, hi-lock-set-file-patterns): Call
        font-lock-fontify-buffer.
        (hi-lock-find-file-hook, hi-lock-current-line)
-       (hi-lock-refontify, hi-lock-set-patterns): Deleted unused
-       functions.
+       (hi-lock-refontify, hi-lock-set-patterns): Delete unused functions.
 
        (hi-lock-font-lock-hook): Turn off hi-lock when font lock is
        turned off.
 
 2005-11-24  Carsten Dominik  <dominik@science.uva.nl>
 
-       * textmodes/org.el: (org-export-plain-list-max-depth): Renamed
-       from `org-export-local-list-max-depth'.  Default values changed to
-       3.
-       (org-auto-renumber-ordered-lists,
-       org-plain-list-ordered-item-terminator): New options.
-       (org-at-item-p, org-beginning-of-item, org-end-of-item,
-       org-get-indentation, org-get-string-indentation,
-       org-maybe-renumber-ordered-list, org-renumber-ordered-list): New
+       * textmodes/org.el: (org-export-plain-list-max-depth): Renamed from
+       `org-export-local-list-max-depth'.  Change default value to 3.
+       (org-auto-renumber-ordered-lists)
+       (org-plain-list-ordered-item-terminator): New options.
+       (org-at-item-p, org-beginning-of-item, org-end-of-item)
+       (org-get-indentation, org-get-string-indentation)
+       (org-maybe-renumber-ordered-list, org-renumber-ordered-list): New
        functions.
        (org-move-item-down, org-move-item-up): New commands.
        (org-export-as-html): New classes for CSS support.  Bug fix in
        (org-set-autofill-regexps, org-adaptive-fill-function): "1)" is
        also a list item.
        (org-metaup, org-metadown, org-shiftmetaup, org-shiftmetadown):
-       New item moving functions added.
+       New item moving functions.
 
 2005-11-24  Juri Linkov  <juri@jurta.org>
 
-       * isearch.el (isearch-repeat): With empty search ring
-       set `isearch-error' to the error string instead of signaling
-       error with the function `error'.
+       * isearch.el (isearch-repeat): With empty search ring set
+       `isearch-error' to the error string instead of signaling error
+       with the function `error'.
 
 2005-11-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
-       * term/mac-win.el: Make modifier `ctrl' an alias of `control'.
+       * term/mac-win.el: Make modifier `ctrl' an alias for `control'.
 
 2005-11-24  Nick Roberts  <nickrob@snap.net.nz>