(completion-table-with-terminator): Those completions
[bpt/emacs.git] / lisp / ChangeLog
index 5971d25..90090c6 100644 (file)
@@ -1,3 +1,325 @@
+2008-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (completion-table-with-terminator): Those completions
+       are never valid w.r.t test-completion.
+       (completion--file-name-table):
+       Check completion-all-completions-with-base-size.
+
+2008-04-14  Tassilo Horn  <tassilo@member.fsf.org>
+
+       * doc-view.el (doc-view-dvipdf-program): New variable.
+       (doc-view-dvipdfm-program): Mention doc-view-dvipdf-program.
+       (doc-view-mode-p): Check for doc-view-dvipdf-program as
+       alternative for doc-view-dvipdfm-program.
+       (doc-view-dvi->pdf): Prefer dvipdf over dvipdfm.
+
+       * doc-view.el (doc-view-start-process): Don't set
+       default-directory to "~/" if the current value is valid.
+       This broke PS files that run other files in the same directory.
+
+2008-04-14  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * vc.el (vc-status-kill-query): New function.
+       (vc-status-mode): Add it to kill-buffer-query-functions.
+       (vc-status-show-fileentry): New function.
+       (vc-status-menu-map): Bind it.  Bind vc-next-action.
+
+2008-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (minibuffer-message): Put cursor at the right place.
+
+2008-04-13  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
+
+       * proced.el (proced-send-signal): Fix error recognition.
+
+2008-04-13  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
+
+       * proced.el (proced-command-alist): Remove sort column.
+       (proced-command, proced-procname-column):
+       Use make-variable-buffer-local.
+       (proced-signal-function): Rename from proced-kill-program.
+       Allow for elisp symbols and string values representing system calls.
+       (proced-marker-regexp, proced-success-message): New functions.
+       (proced): Use defalias.  Add autoload cookie.
+       (proced-unmark-backward, proced-toggle-marks)
+       (proced-hide-processes): New commands.
+       (proced-do-mark): Simplify code.
+       (proced-insert-mark): Use optional arg BACKWARD instead of line number.
+       (proced-update): Remove sorting.
+       (proced-send-signal): Display number of processes to operate on.
+       Allow for system calls or elisp functions to send signals.
+       Check if signal was sent successfully.
+
+2008-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (completion-all-completion-with-base-size): New var.
+       (completion--some): New function.
+       (completion-table-with-context, completion--file-name-table):
+       Return the base-size if requested.
+       (completion-table-in-turn): Generalize to multiple arguments.
+       (complete-in-turn): Compatibility alias.
+       (completion-styles-alist): New var.
+       (completion-styles): New customization.
+       (minibuffer-try-completion, minibuffer-all-completions):
+       New functions.
+       (minibuffer--do-completion, minibuffer-complete-and-exit)
+       (minibuffer-try-word-completion): Use them.
+       (display-completion-list, minibuffer-completion-help): Use them.
+       Handle all-completions's new base-size info to set completion-base-size.
+       * info.el (Info-read-node-name-1): Use completion-table-with-context,
+       completion-table-with-terminator and complete-with-action.
+       Remove the now obsolete completion-base-size-function property.
+       * simple.el (completion-list-mode-map): Move init into declaration.
+       (completion-list-mode): Use define-derived-mode.
+       (completion-setup-function): Use any completion-base-size that may
+       have been set before.  Remove handling of completion-base-size-function.
+       * loadup.el: Move abbrev.el up earlier.
+
+2008-04-13  Alexandre Julliard  <julliard@winehq.org>
+
+       * vc-git.el (vc-git-after-dir-status-stage)
+       (vc-git-dir-status-goto-stage): New functions.
+       (vc-git-after-dir-status-stage1)
+       (vc-git-after-dir-status-stage1-empty-db)
+       (vc-git-after-dir-status-stage2): Remove, functionality moved
+       into the new generic stage functions.
+       (vc-git-dir-status-files): New function.
+
+       * vc.el (vc-status-update): Revert an incorrect rewrite. Add some
+       comments.
+       (vc-status-refresh-files): New function.
+       (vc-status-refresh): Use `vc-status-refresh-files' to refresh the
+       state of up-to-date files.
+       (vc-default-dir-status-files): New function.
+
+2008-04-13  Juanma Barranquero  <lekktu@gmail.com>
+
+       * minibuffer.el (completion--embedded-envvar-table)
+       (read-file-name-internal): Fix typos in 2008-04-11 change.
+
+       * faces.el (read-face-name): Use `completion-table-in-turn',
+       not `complete-in-turn'.
+
+2008-04-13  Andreas Schwab  <schwab@suse.de>
+
+       * progmodes/etags.el: Require 'cl when compiling.
+
+2008-04-12  Nick Roberts  <nickrob@snap.net.nz>
+
+       * progmodes/gud.el (gud-menu-map): Expand tooltip.
+
+       * progmodes/gdb-ui.el (gdb-find-source-frame): Improve doc string.
+       (menu): Add/expand menu tooltips.
+
+2008-04-12  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * progmodes/sh-script.el (sh-show-indent): Fix typo.
+       (sh-mode-map): Add a toggle for inserting braces and quotes in pairs.
+
+       * vc-cvs.el (vc-cvs-registered): Allow removed files to be
+       considered registered.
+
+2008-04-12  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * emacs-lisp/copyright.el (copyright-update-directory): New command.
+
+       * ediff-wind.el (ediff-split-window-function)
+       (ediff-merge-split-window-function): Improve custom type.
+
+2008-04-12  Eli Zaretskii  <eliz@gnu.org>
+
+       * loadup.el ("minibuffer"): Move after "faces".
+
+2008-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/hideif.el (hif-factor): Handle unary minus.
+
+2008-04-12  Glenn Morris  <rgm@gnu.org>
+
+       * calendar/cal-china.el (chinese-calendar-time-zone):
+       Mark obsolete name as risky too.
+
+       * calendar/calendar.el (calendar-faces): New custom group.
+       (calendar-today, diary, holiday): Doc fix.
+       Move to calendar-faces group.
+       * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time)
+       (diary-button): Doc fix.  Move to calendar-faces group.
+
+       * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
+       * desktop.el, files.el, hilit-chg.el, ibuffer.el, iswitchb.el:
+       * pcvs-info.el, recentf.el, speedbar.el, calendar/cal-china.el:
+       * calendar/cal-hebrew.el, calendar/cal-x.el, calendar/calendar.el
+       * calendar/diary-lib.el, net/net-utils.el, progmodes/gud.el:
+       Move non-autoloaded define-obsolete-variable-alias calls for defcustoms
+       not in dumped files before the associated defcustom.
+
+2008-04-11  Johan Bockgård  <bojohan@gnu.org>
+
+       * minibuffer.el (lazy-completion-table): Fix debug spec.
+
+2008-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (complete-with-action, lazy-completion-table):
+       Move from subr.el.
+       (apply-partially, completion-table-dynamic)
+       (completion-table-with-context, completion-table-with-terminator)
+       (completion-table-in-turn): New funs.
+       (completion--make-envvar-table, completion--embedded-envvar-table):
+       New funs.
+       (read-file-name-internal): Use them.
+       (completion-setup-hook): Move from simple.el.
+       * subr.el (complete-with-action, lazy-completion-table):
+       * simple.el (completion-setup-hook): Move to minibuffer.el.
+
+2008-04-11  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (AUTOGENEL): Add calc/calc-loaddefs.el.
+
+2008-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/python.el (python-mode): Don't mess with hippie-expand.
+
+       * Makefile.in (bootstrap-prepare): Make tpu-edt.el writable as well.
+
+       * textmodes/fill.el (fill-forward-paragraph-function): New var.
+       (fill-forward-paragraph): New fun.
+       (fill-paragraph, fill-region): Use it.
+
+       * vc.el: Change `dir-status' to not take (and pass) status-buffer.
+       (vc-status-create-fileinfo): Make `extra' optional.
+       (vc-status-busy): New fun.
+       (vc-status-menu-map): Use it.
+       (vc-status-crt-marked): Remove.
+       (vc-status-update): Rename from vc-status-add-entries.
+       Add argument so as to prevent addition of entries.  Rewrite.
+       (vc-update-vc-status-buffer): Remove.
+       (vc-status-refresh): Don't remove old entries, set them to
+       up-to-date instead.  Also do it after the update is complete.
+       (vc-status-marked-files): η-reduce.
+
+       * dired.el (dired-read-dir-and-switches): Use read-directory-name even
+       for non-dialogs.
+
+       * Makefile.in (bootstrap-prepare): Don't copy ldefs-boot over loaddefs.
+
+       * loadup.el: Load ldefs-boot.el if loaddefs.el doesn't exist.
+
+2008-04-11  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * tooltip.el (tooltip-show-help-non-mode): Set message-truncate-lines
+       to t and don't truncate msg.
+
+2008-04-11  Glenn Morris  <rgm@gnu.org>
+
+       * calendar/calendar.el (diary, holidays):
+       Move custom groups to other files.
+       (holiday-general-holidays, holiday-oriental-holidays)
+       (holiday-local-holidays, holiday-other-holidays, hebrew-holidays-1)
+       (hebrew-holidays-2, hebrew-holidays-3, hebrew-holidays-4)
+       (holiday-hebrew-holidays, holiday-christian-holidays)
+       (holiday-islamic-holidays, holiday-bahai-holidays)
+       (holiday-solar-holidays, calendar-holidays): Move to holidays.el.
+       * calendar/diary-lib.el: Move custom group here from calendar.el.
+       * calendar/holidays-lib.el: Move custom group and variables here
+       from calendar.el.
+
+       * calendar/cal-china.el (calendar-chinese-time-zone): Mark as risky.
+
+       * calendar/cal-dst.el (calendar-dst-check-each-year-flag):
+       Fix custom group.
+       (calendar-current-time-zone-cache): Autoload riskiness.
+
+       * calendar/cal-tex.el (cal-tex-preamble-extra): Fix custom type.
+
+2008-04-11  Chong Yidong  <cyd@stupidchicken.com>
+
+       * woman.el (woman2-TH): Use string-equal instead of string-match.
+
+2008-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * smerge-mode.el (smerge-apply-resolution-patch): Fix typo.
+       (smerge-resolve): Merge the "2-way refinement" case with one half of
+       the "mere whitespace" resolution.
+
+2008-04-10  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * vc-bzr.el (vc-bzr-after-dir-status): Detect the conflict state.
+
+2008-04-10  Juanma Barranquero  <lekktu@gmail.com>
+
+       * subr.el (assoc-ignore-case, assoc-ignore-representation):
+       Add WHEN to obsolescence declaration.
+
+       * makefile.w32-in (AUTOGENEL): Add calc-loaddefs.el.
+
+2008-04-10  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * vc-hooks.el (vc-state): Add new state `conflict'.
+       (vc-after-save): Use when not if.
+       (vc-default-mode-line-string): Deal with the conflict state.
+       (vc-prefix-map):
+       (vc-menu-map): Bind vc-status instead of vc-directory.
+
+       * vc.el (vc-editable-p):
+       (vc-default-status-printer):
+       (vc-next-action): Deal with the conflict state.
+       (vc-mark-resolved): New function.
+       (vc-status-mode): Fix mode name.
+       (vc-default-comment-history): Use when not if.
+       (Todo): Add new entries, remove old ones.
+
+       * vc-cvs.el (vc-cvs-merge, vc-cvs-merge-news): Set conflict state.
+       (vc-cvs-parse-status):
+       (vc-cvs-after-dir-status):
+       * vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
+       Detect the conflict state.
+
+       * vc-hg.el (vc-hg-dir-status): Remove unneeded call.
+
+2008-04-10  Glenn Morris  <rgm@gnu.org>
+
+       * menu-bar.el (menu-bar-options-menu) <truncate-lines>:
+       Respect truncate-partial-width-windows in non-full windows,
+       with regards to :toggle and :enable state.
+
+       * simple.el (toggle-truncate-lines): Doc fix.
+
+       * Makefile.in (MH_E_DIR): New variable.
+       (MH_E_SRC): Restore variable removed 2008-03-13.
+       (mh-loaddefs.el): Depend on $MH_E_SRC.
+       (CAL_DIR, CAL_SRC): New variables.
+       (cal-loaddefs.el, diary-loaddefs.el, hol-loaddefs.el):
+       Depend on CAL_SRC.
+
+       * calendar/calendar.el (calendar, diary): Add :prefix.
+       (holidays): Change :prefix.
+       (calendar-today, holiday, calendar-holiday-marker)
+       (european-calendar-style): Change custom groups.
+
+       * calendar/calendar.el (diary-hook, diary-display-hook):
+       Move to diary-lib.el.
+       * calendar/diary-lib.el (diary-hook, diary-display-hook):
+       Move here from calendar.el.
+       * calendar/appt.el: Require diary-lib rather than calendar.
+       * calendar/cal-x.el (diary-display-hook): Declare for compiler.
+
+       * calendar/appt.el (appt): Add :prefix.
+
+       * calendar/diary-lib.el (diary-hook): Doc fix.
+       (diary-mark-sexp-entries): Fix replacement of calendar-for-loop.
+
+2008-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (minibuffer--double-dollars, read-file-name-internal):
+       New functions.
+
+       * minibuffer.el (minibuffer--do-completion): Don't forget to propagate
+       the arg to recursive calls.
+
+2008-04-09  Juanma Barranquero  <lekktu@gmail.com>
+
+       * minibuffer.el (completion-auto-help): Fix typo.
+
 2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * vc-cvs.el (vc-cvs-diff-tree): Remove unused function.