]> code.delx.au - gnu-emacs/blobdiff - lisp/ChangeLog
(define-abbrev-table): Apply props even if the table exists already.
[gnu-emacs] / lisp / ChangeLog
index d83c5333bfd224d7e0e970e01461e446f5fe7804..c560f7cd84701ff971cc5225918cd46d2d525496 100644 (file)
@@ -1,3 +1,469 @@
+2008-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * abbrev.el (define-abbrev-table): Apply props even if the table
+       exists already.
+
+       * minibuffer.el (completion-table-with-context): Fix `pred' for the
+       various kinds of completion tables.
+       (completion-emacs22-try-completion): Place cursor after the /, as was
+       done in Emacs-22's minibuffer-complete-word.
+       Fix bug reported by David Hansen <david.hansen@gmx.net>.
+       (completion-emacs22-try-completion): Merge all mergable text rather
+       than just /.
+       (completion-pcm--delim-wild-regex): New var.
+       (completion-pcm-word-delimiters): New custom.
+       (completion-pcm--prepare-delim-re, completion-pcm--pattern-trivial-p)
+       (completion-pcm--string->pattern, completion-pcm--pattern->regex)
+       (completion-pcm--all-completions, completion-pcm-all-completions)
+       (completion-pcm--merge-completions, completion-pcm--pattern->string)
+       (completion-pcm-try-completion): New functions.
+       (completion-styles-alist): Add them.
+       (completion-styles): Add it to the default.
+
+2008-04-25  Nick Roberts  <nickrob@snap.net.nz>
+
+       * progmodes/gdb-ui.el (gud-watch): Don't create speedbar...
+       (gdb-var-create-handler): ...until here when there are values.
+       (gdb-post-prompt): Don't do -var-update with no watch expressions.
+       (gdb-info-locals-handler): Don't match "struct {...}" as an array.
+
+2008-04-25  Eli Zaretskii  <eliz@gnu.org>
+
+       * ls-lisp.el (ls-lisp-format): Fix last change.
+       (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt, ls-lisp-gid-d-fmt)
+       (ls-lisp-gid-s-fmt, ls-lisp-filesize-d-fmt)
+       (ls-lisp-filesize-f-fmt): New defvars.
+       (ls-lisp-insert-directory): Dynamically compute format specifiers
+       for displaying UID, GID, and file size, and store them in the
+       above variables.
+       (ls-lisp-format): Use ls-lisp-filesize-f-fmt, ls-lisp-uid-s-fmt,
+       ls-lisp-uid-d-fmt, ls-lisp-gid-s-fmt, and ls-lisp-gid-d-fmt
+       instead of constant format strings.
+       (ls-lisp-format-file-size): Use ls-lisp-filesize-f-fmt and
+       ls-lisp-filesize-d-fmt instead of constant format strings.
+
+2008-04-24  Nick Roberts  <nickrob@snap.net.nz>
+
+       * progmodes/gdb-ui.el (gdb-invalidate-assembler): Compare numeric
+       value of addresses rather than (partial) string value.
+       (gdb-frame-handler): Change regexp according to above change.
+       (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode)
+       (gdb-registers-mode, gdb-memory-mode, gdb-locals-mode)
+       (gdb-assembler-mode): Disable undo in these buffers.
+
+2008-04-24  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-get-remote-stat): Test whether stat supports
+       %s.  Reported by Loris Bennett <loris.bennett@fu-berlin.de>.
+
+2008-04-24  Sam Steingold  <sds@gnu.org>
+
+       * textmodes/remember.el (remember-diary-extract-entries): Use
+       diary-make-entry instead of the obsolete make-diary-entry.
+
+2008-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (translation-table-for-input): Mark as obsolete.
+
+       * isearch.el (isearch-search-string): Avoid string-bytes and aset.
+
+       * international/quail.el (quail-build-decode-map): Avoid string-bytes.
+
+       * textmodes/ispell.el (ispell-dictionary-alist-1)
+       (ispell-dictionary-alist-2, ispell-dictionary-alist-3):
+       (ispell-dictionary-alist-4, ispell-dictionary-alist-5):
+       (ispell-dictionary-alist-6): Remove.
+       (ispell-dictionary-base-alist): New var, merges the above.
+       (ispell-find-aspell-dictionaries, ispell-set-spellchecker-params):
+       Use it.
+       (ispell-dictionary-alist): Default to nil.  Remove autoload.
+       (ispell-local-dictionary-alist): Remove autoload.
+
+       * progmodes/f90.el (f90-mode-syntax-table): Don't set ` as word syntax.
+       (f90-mode-abbrev-table): Use the new :regexp feature.
+       Merge defvar and mapc into define-abbrev-table.
+       (f90-imenu-type-matcher): Remove unused `l'.
+       (f90-imenu-generic-expression): Remove unused `not-ib'.
+       (f90-prepare-abbrev-list-buffer): Use with-current-buffer.
+       (f90-change-keywords): Use restore-buffer-modified-p.
+
+2008-04-24  Glenn Morris  <rgm@gnu.org>
+
+       * net/goto-addr.el (goto-address-prog-mode):
+       * progmodes/bug-reference.el (bug-reference-prog-mode):
+       Define for compiler.
+
+       * minibuffer.el (x-file-dialog): Declare as function.
+
+       * progmodes/vhdl-mode.el (vhdl-speedbar-find-file): Use
+       dframe-update-speed rather than obsolete alias speedbar-update-speed.
+
+       * calendar/cal-menu.el (cal-menu-diary-menu): Fix typo.
+       (cal-menu-scroll-menu): Use commands rather than key macros, which don't
+       work with easymenu.  Add :keys where needed.
+
+       * calendar/cal-move.el (calendar-scroll-left): Handle case when
+       event-start is nil.
+
+       * calendar/calendar.el (calendar-mode-map): Fix typo.
+
+2008-04-24  Tom Tromey  <tromey@redhat.com>
+
+       * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
+       Document keywords.  Add :suppress.
+       * pcvs-defs.el (cvs-mode-map): Use :suppress.
+
+       * net/goto-addr.el (goto-address-unfontify): New function.
+       (goto-address-fontify): Use it.  Respect goto-address-prog-mode.
+       (goto-address-fontify-region, goto-address-mode)
+       (goto-address-prog-mode): New functions.
+
+       * progmodes/bug-reference.el: New file.
+
+2008-04-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * term/mac-win.el (mac-ts-active-input-buf): Move defvar to macterm.c.
+
+2008-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/easymenu.el (easy-menu-make-symbol): Don't wrap keyboard
+       macros within lambdas.
+
+2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (completion-try-completion): Add `point' argument.
+       Change return value.
+       (completion-all-completions): Add `point' argument.
+       (minibuffer-completion-help): Pass the new `point' argument.
+       (completion--do-completion): Pass the whole field to try-completion.
+       (completion--try-word-completion): Rewrite, making fewer assumptions.
+       (completion-emacs21-try-completion, completion-emacs21-all-completions)
+       (completion-emacs22-try-completion, completion-emacs22-all-completions)
+       (completion-basic-try-completion, completion-basic-all-completions):
+       New functions.
+       (completion-styles-alist): Use them.
+
+2008-04-23  Agustin Martin  <agustin.martin@hispalinux.es>
+
+       * ispell.el (ispell-set-spellchecker-params): New function to make sure
+       right params and dictionary alists are used after spellchecker changes.
+       (ispell-aspell-dictionary-alist, ispell-last-program-name)
+       (ispell-initialize-spellchecker-hook): New variables and hook.
+       (ispell-find-aspell-dictionaries): Use ispell-aspell-dictionary-alist.
+       (ispell-maybe-find-aspell-dictionaries): Remove.
+       Calls replaced by (ispell-set-spellchecker-params) calls.
+       (ispell-have-aspell-dictionaries): Remove.
+       * flyspell.el: Replace ispell-maybe-find-aspell-dictionaries by
+       ispell-set-spellchecker-params.
+
+2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * complete.el (PC-do-completion): Be more robust in the presence of
+       unexpected values in minibuffer-completion-predicate.
+
+       * minibuffer.el (read-file-name): Don't let-bind default-directory.
+       Only abbreviate default-filename if it's a file.
+
+       * minibuffer.el (read-file-name-function, read-file-name-predicate)
+       (read-file-name-completion-ignore-case, insert-default-directory):
+       New vars, moved from fileio.c.
+       (read-file-name): New fun, moved from fileio.c.
+       * cus-start.el: Remove insert-default-directory and
+       read-file-name-completion-ignore-case.
+
+       * Makefile.in (emacs-deps): Leave it empty.
+
+2008-04-23  Magnus Henoch  <mange@freemail.hu>
+
+       * tar-mode.el (tar-untar-buffer): If the entry has directory
+       link type, extract it as a directory even if its file name doesn't
+       end with a slash.  Fixes extraction of NetBSD tar archives.
+
+2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * server.el (server-start): Also don't get confused by CRs since we
+       don't quote them.
+
+2008-04-23  Nick Roberts  <nickrob@snap.net.nz>
+
+       * progmodes/gdb-ui.el (gdb-init-buffer): New function.
+       (gdb-set-gud-minor-mode-existing-buffers)
+       (gdb-info-breakpoints-custom, gdb-get-location)
+       (gdb-set-gud-minor-mode-existing-buffers-1): Use it.
+       Previously gdb-create-define-alist wasn't always run and added to
+       after-save-hook.
+
+       * progmodes/gud.el (gud-tooltip-tips): Use tooltip-event-buffer
+
+2008-04-23  Kevin Ryde  <user42@zip.com.au>
+
+       * progmodes/make-mode.el (makefile-fill-paragraph): Treat indented
+       comments like unindented ones.
+
+2008-04-23  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * term/mac-win.el (mac-ae-open-documents): Adjust selection range
+       parameter origins.
+
+2008-04-23  Kevin Ryde  <user42@zip.com.au>
+
+       * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
+       Bind print-level to ensure output forms aren't truncated if
+       print-level is set to eval-expression-print-level when going via
+       eval-defun and friends, or has been otherwise fiddled with.
+
+2008-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/cc-mode.el (c-basic-common-init): Don't set
+       font-lock-extend-after-change-region-function globally.
+
+2008-04-23  Juanma Barranquero  <lekktu@gmail.com>
+
+       * speedbar.el (speedbar-use-tool-tips-flag)
+       (speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp)
+       (speedbar-file-regexp, speedbar-message, speedbar-item-info)
+       (speedbar-files-item-info, speedbar-maybe-add-localized-support)
+       (speedbar-insert-files-at-point, speedbar-dynamic-tags-function-list)
+       (speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list)
+       (speedbar-fetch-replacement-function, speedbar-extract-one-symbol)
+       (speedbar-separator-face): Fix typos in docstrings.
+       (speedbar-stealthy-function-list, speedbar-verbosity-level)
+       (speedbar-supported-extension-expressions, speedbar-update-current-file)
+       (speedbar-add-indicator, speedbar-tag-expand): Reflow docstring.
+       (speedbar-use-imenu-flag, speedbar-ignored-directory-expressions)
+       (speedbar-directory-unshown-regexp, speedbar-handle-delete-frame)
+       (speedbar-show-info-under-mouse, speedbar-directory-buttons)
+       (speedbar-check-vc-this-line, speedbar-files-line-directory)
+       (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
+       (speedbar-buffers-line-directory, speedbar-recenter-to-top)
+       (speedbar-recenter): Doc fixes.
+       (speedbar-update-speed, speedbar-navigating-speed): Add obsolescence
+       declaration and remove redundant info in docstring.
+
+2008-04-23  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * vc-git.el (vc-git-status-printer): Deal with directories.
+
+       * vc.el (vc-next-action): Look at more than the first file to
+       determine the state.
+
+2008-04-23  Glenn Morris  <rgm@gnu.org>
+
+       * dframe.el (dframe-have-timer-flag): Drop support for Emacs without
+       timers.  Doc fix.
+       (dframe-update-speed): Drop support for XEmacs < 20.
+       (dframe-frame-mode): Drop support for Emacs < 20.
+       (dframe-set-timer-internal): Drop support for Emacs without timers.
+       (dframe-popup-kludge): Use mouse-menu-major-mode-map if defined.
+
+       * ediff-init.el (ediff-check-version): Drop support for very old Emacs
+       versions.  Add doc-string.  Mark as obsolete.
+
+       * ps-def.el (ps-color-device): Drop support for XEmacs < 19.12.
+
+       * speedbar.el (speedbar-use-tool-tips-flag): Check for tooltip-mode,
+       rather than using an Emacs version test.
+
+       * tree-widget.el (tree-widget-image-enable): Use display-images-p
+       rather than an Emacs version test.
+
+       * calendar/cal-china.el (holiday-chinese-qingming)
+       (holiday-chinese-winter-solstice, holiday-chinese): New functions.
+       * calendar/calendar.el (calendar-chinese-all-holidays-flag): New.
+       * calendar/holidays.el (holiday-oriental-holidays): Add more holidays.
+
+       * calendar/cal-islam.el (holiday-islamic): Doc fix.
+
+       * calendar/diary-lib.el (diary-list-sexp-entries): Doc fix.
+       (diary-remind): Allow negative DAYS to represent a range 1:DAYS.
+       Suggested by Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
+
+2008-04-23  Nick Roberts  <nickrob@snap.net.nz>
+
+       * progmodes/gdb-ui.el (gdb-previous-frame-address): Rename...
+       (gdb-previous-frame-pc-address): ...to this.
+       (gdb-get-selected-frame): Use MI command -stack-info-frame instead
+       of "info frame" with Gdb 6.4+.
+       (gdb-stack-list-frames-regexp): New regexp.
+       (gdb-frame-handler-1): Parse output of -stack-info-frame
+
+2008-04-22  David Glasser  <glasser@davidglasser.net>  (tiny change)
+
+       * tar-mode.el (tar-prefix-offset): New constant.
+       (tar-header-block-tokenize): Support paths with long names
+       which use the "ustar" standard.
+
+2008-04-22  Mathias Dahl  <mathias.dahl@gmail.com>
+
+       * image-dired.el (image-dired-track-original-file)
+       (image-dired-modify-mark-on-thumb-original-file):
+       Use `dired-goto-file' instead of `search-forward'.  This solves
+       a bug with finding files where the file name is a subset of other
+       file names.  Doc fix.
+
+2008-04-22  Juri Linkov  <juri@jurta.org>
+
+       * menu-bar.el (buffers-menu-max-size): Move its definition down to
+       the "Buffers Menu" section.  Change group name `mouse' to `menu'.
+       (yank-menu-length): Change group name `mouse' to `menu'.
+       (buffers-menu-buffer-name-length): New user option.
+       (menu-bar-update-buffers): Use buffers-menu-buffer-name-length
+       instead of the hard-coded number 27.
+
+2008-04-22  Juri Linkov  <juri@jurta.org>
+
+       * isearch.el (eval-when-compile): Require `help-macro'.
+       (isearch-help-for-help-internal): Isearch specific Help screen
+       created by `make-help-screen'.
+       (isearch-help-map): New variable that binds "b", "k", "m" to
+       isearch-specific commands, and binds other keys to
+       isearch-other-control-char, thus allowing other Help keys to
+       exit isearch mode and execute their global definitions.
+       (isearch-help-for-help, isearch-describe-bindings)
+       (isearch-describe-key, isearch-describe-mode): New commands.
+       (isearch-mode-help): Define alias to isearch-describe-mode
+       and remove its old function definition.
+       (isearch-mode-map): Bind "\C-h" to isearch-help-map.
+       Remove old comments because this issue is settled now.
+       (isearch-forward): Describe three new Help commands in the docstring.
+       (isearch-mode): Remove \\{isearch-mode-map} from the docstring,
+       leave the single sentence at the first line of the docstring,
+       and prepend the word "function" before `isearch-forward'
+       to make the Help link to the function instead of variable.
+
+2008-04-22  Juri Linkov  <juri@jurta.org>
+
+       * isearch.el (isearch-success-function): New variable with default
+       to `isearch-success-function-default'.
+       (isearch-search): Call a function from `isearch-success-function'
+       instead of calling the hard-coded `isearch-range-invisible'.
+       (isearch-success-function-default): New function that calls
+       `isearch-range-invisible' and inverts its return value.
+
+       * info.el (Info-search): In two similar places that skip
+       undesired search matches move code to Info-search-success-function,
+       and call `isearch-success-function' instead.
+       (Info-search-success-function): New function copied from code
+       in Info-search.  Replace isearch-range-invisible with
+       text-property-not-all that checks for 'invisible and 'display
+       properties to skip partially invisible matches (whose display
+       properties were set by Info-fontify-node).
+       (Info-mode): Set buffer-local isearch-success-function
+       to Info-search-success-function.
+
+2008-04-22  Juri Linkov  <juri@jurta.org>
+
+       * minibuffer.el (internal-complete-buffer-except): New function.
+
+       * files.el (read-buffer-to-switch): New function.
+       (switch-to-buffer-other-window, switch-to-buffer-other-frame):
+       Change interactive spec to call read-buffer-to-switch instead of
+       using the letter "B".
+
+       * simple.el (minibuffer-default-add-shell-commands): New function.
+       Use declare-function for mailcap-file-default-commands from "mailcap".
+       (shell-command): Set local minibuffer-default-add-function to
+       minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
+       before calling read-shell-command.  Set 4th arg default-value of
+       read-shell-command to relative buffer-file-name in file buffers.
+
+       * dired-aux.el (dired-read-shell-command-default): Move it to
+       gnus/mailcap.el and change its name to more general name
+       mailcap-file-default-commands.
+       (minibuffer-default-add-dired-shell-commands): New function.
+       Use declare-function for mailcap-file-default-commands from "mailcap".
+       (dired-read-shell-command): Set local minibuffer-default-add-function
+       to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook
+       before calling read-shell-command.  Remove dired-read-shell-command-default
+       from the default value arg because default values are not set in
+       minibuffer-default-add-dired-shell-commands.  Doc fix.
+
+       * dired-x.el (dired-smart-shell-command): Sync arguments and
+       interactive spec with changes in `shell-command'.
+       Use dired-get-filename to get the dired file name at point
+       as the default value in dired mode.
+
+2008-04-22  Juanma Barranquero  <lekktu@gmail.com>
+
+       * info.el (Info-complete-menu-item): Add missing parenthesis.
+
+2008-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * info.el (Info-complete-menu-item): Save point.
+
+2008-04-22  Juanma Barranquero  <lekktu@gmail.com>
+
+       * minibuffer.el (minibuffer-complete-and-exit): Fix last change.
+
+2008-04-22  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.in (emacs-deps): Define.
+       Use it instead of $(lisp)/subdirs.el.
+
+2008-04-22  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * vc.el (vc-next-action): Do not consider directories when
+       checking for state compatibility.
+       (vc-transfer-file): Use when not if.
+       (vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions.
+       (vc-dir-mark-file): Use them.
+       (vc-deduce-fileset): Also return the backend.
+       (vc-diff-internal): Take as argument the value returned by
+       vc-deduce-fileset instead of just the fileset.
+       (vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff)
+       (vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback)
+       (vc-update): Update the vc-deduce-fileset and vc-diff-internal calls.
+
+2008-04-22  Tassilo Horn  <tassilo@member.fsf.org>
+
+       * doc-view.el (doc-view-scroll-up-or-next-page): Don't use
+       set-window-vscroll but image-scroll-down.  Fixes a bug where a
+       command following SPC scrolled up again.
+
+2008-04-22  Nick Roberts  <nickrob@snap.net.nz>
+
+       * progmodes/gdb-ui.el (gdb-locals-header): New variable.
+       (gdb-locals-mode, gdb-registers-mode): Use it for header line.
+       (gud-watch): Add "$" prefix when in registers buffer.
+
+2008-04-22  Glenn Morris  <rgm@gnu.org>
+
+       * progmodes/gdb-ui.el (gdbmi-invalidate-frames): Declare as function.
+
+       * whitespace.el (whitespace-display-table)
+       (whitespace-display-table-was-local): Move definitions before use.
+
+       * emacs-lisp/copyright.el (copyright-at-end-flag): New option.
+       (copyright-limit): Respect copyright-at-end-flag.
+       (copyright-re-search, copyright-start-point)
+       (copyright-offset-too-large-p): New functions.
+       (copyright-update-year): Use copyright-re-search.
+       (copyright-update, copyright-fix-years): Use copyright-start-point,
+       and copyright-re-search.
+       (copyright): Use copyright-offset-too-large-p.
+       * add-log.el (change-log-mode): Set copyright-at-end-flag.
+
+       * add-log.el (top-level): Require 'cl when compiling.
+
+2008-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * complete.el (PC-complete-as-file-name, PC-read-file-name-internal):
+       Treat minibuffer-completion-predicate as a predicate.
+
+       * minibuffer.el (completion--file-name-table): Accept both the old
+       `dir' arg or the new `pred' arg.
+
+       * ffap.el (ffap-read-file-or-url): Do not abuse completing-read's
+       `predicate' argument to pass non-predicate data.
+       (ffap-read-url-internal, ffap-read-file-or-url-internal):
+       Use second arg as proper predicate.
+
+       * vc-bzr.el (vc-bzr-complete-with-prefix): Remove.
+       (vc-bzr-revision-completion-table): Use completion-table-with-context
+       instead.
+
+       * simple.el (choose-completion-string): Use minibuffer-completion-table.
+
 2008-04-21  Chong Yidong  <cyd@stupidchicken.com>
 
        * term.el (term-emulate-terminal): Perform redisplay after the
 2008-04-19  Nick Roberts  <nickrob@snap.net.nz>
 
        * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint):
-       Select window clicked on first (regression in 22.2).
+       Select window clicked on first.
        (gdb): Display thread number in mode-line.
        (gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
        (gdb-breakpoints-header): New variable.