* minibuffer.el (complete-with-action, lazy-completion-table):
[bpt/emacs.git] / lisp / ChangeLog
index 3c5bf94..3f46d81 100644 (file)
+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>
+
+       * 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.
+
+2008-04-09  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-find-file-name-coding-system-alist): New defun.
+       (tramp-handle-insert-file-contents, tramp-handle-write-region): Use it.
+
+2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * vc-hooks.el (vc-default-mode-line-string): Use ? for missing.
+
+       * minibuffer.el (minibuffer): Move group from cus-edit.el.
+       (completion-auto-help): Move from C code.
+       (minibuffer--maybe-completion-help): Remove.
+       (minibuffer--bitset): New function.
+       (minibuffer--do-completion): Rename from minibuffer-do-completion.
+       Renumber a bit.  Really complete on string *before* point.
+       Add argument used for word-completion.
+       Join trailing / in completion with following text, as done in
+       minibuffer-complete-word.
+       Handle new value `lazy' for completion-auto-help.
+       (minibuffer-try-word-completion): New function extracted from
+       minibuffer-complete-word.
+       (minibuffer-complete-word): Use minibuffer--do-completion.
+       (minibuffer--insert-strings): Rename from
+       minibuffer-complete-insert-strings.
+       (exit-minibuffer): Fix typo.
+       * cus-edit.el (minibuffer): Move group to minibuffer.el.
+       * cus-start.el: Remove completion-auto-help.
+
+2008-04-09  Alexandre Julliard  <julliard@winehq.org>
+
+       * vc.el (vc-status-add-entries): New function.
+       (vc-status-add-entry): Remove.
+       (vc-update-vc-status-buffer, vc-status-mark-buffer-changed):
+       Use vc-status-add-entries.
+
+       * emacs-lisp/ewoc.el (ewoc-collect): Return results in the correct
+       order.
+
+2008-04-09  Jason Rumney  <jasonr@gnu.org>
+
+       * makefile.w32-in (LOADDEFS): Add mh-loaddefs.el.
+       ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule.
+       (pre-mh-loaddefs.el-CMD, pre-mh-loaddefs.el-SH): Remove.
+       (AUTOGENEL): New variable.
+       (distclean, maintainer-clean): New targets.
+
+2008-04-09  Chong Yidong  <cyd@stupidchicken.com>
+
+       * emacs-lisp/regexp-opt.el (regexp-opt):
+       Reduce max-lisp-eval-depth and max-specpdl-size to 10000.
+
+2008-04-09  Lennart Borgman  <lennart.borgman@gmail.com>
+
+       * nxml/nxml-mode.el (nxml-cleanup): New function.
+       (nxml-mode): Add it to change-major-mode-hook.
+
+2008-04-09  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * term/x-win.el (x-gtk-stock-map): Map info to gtk-info.
+
+2008-04-09  Juanma Barranquero  <lekktu@gmail.com>
+
+       * calc/.cvsignore: New file.
+
+2008-04-09  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * vc.el (vc-status-tool-bar-map): Add vc-print-log to tool bar.
+
+       * tooltip.el (tooltip-mode): Set tooltip-show-help-non-mode as
+       show-help-function when turning tooltip off.
+       (tooltip-show): Call tooltip-show-help-non-mode if use-echo-area.
+       (tooltip-trunc-str, tooltip-show-help-non-mode): New.
+
+2008-04-09  Alan Mackenzie  <acm@muc.de>
+
+       * font-lock.el (font-lock-extend-after-change-region-function):
+       Make it buffer local.
+
+2008-04-09  Glenn Morris  <rgm@gnu.org>
+
+       * calendar/calendar.el (diary-file, european-calendar-style):
+       Remove autoload cookies.
+
+2008-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * outline.el (outline-mode-menu-bar-map):
+       * log-view.el (log-view-mode-menu):
+       * log-edit.el (log-edit-menu): Add :help.
+
+2008-04-09  Chong Yidong  <cyd@stupidchicken.com>
+
+       * emacs-lisp/regexp-opt.el (regexp-opt-group):
+       Use substring-no-properties for correct handling of unibyte strings.
+
+2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * add-log.el (change-log-next-buffer): Handle the case where version<
+       signals an error.
+
+       * mouse.el (mouse-menu-major-mode-map): New fun extracted from
+       mouse-major-mode-menu.
+       (mouse-menu-bar-map): New fun extracted from mouse-popup-menubar.
+       (mouse-major-mode-menu, mouse-popup-menubar)
+       (mouse-popup-menubar-stuff): Use them.
+       (C-down-mouse-3): Bind to a dynamic map rather than to
+       mouse-popup-menubar-stuff.
+
+       * bindings.el (mode-line-major-mode-keymap): Bind down-mouse-1
+       to mouse-menu-major-mode-map rather than to mouse-major-mode-menu.
+
+2008-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * vc-svn.el (vc-svn-modify-change-comment): Add support for the
+       file:// access method.
+
+2008-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el: New file.
+       * loadup.el: Load it.
+
+2008-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Make it depend on mh-e/*.el
+       rather than subdirs.el.  It introduces an ugly circular dependency, tho.
+
+       * calc/calc.el: Load "calc-loaddefs" rather than set up manual autoloads.
+       (calc-mode-map, calc-digit-map, calc-dispatch-map):
+       Move initialization into declaration.
+       * calc/calc-yank.el:
+       * calc/calc-misc.el:
+       * calc/calc-embed.el:
+       * calc/calc-aent.el: Add autoload cookies.  Set generated-autoload-file.
+
+2008-04-08  Michael Albinus  <michael.albinus@gmx.de>
+
+       * ps-samp.el (ps-add-printer, ps-remove-printer)
+       (ps-make-dynamic-printer-menu): New functions.
+
+       * net/zeroconf.el: New file.
+
+2008-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits): Typo.
+
+2008-04-08  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * vc-rcs.el (vc-rcs-modify-change-comment):
+       * vc-cvs.el (vc-cvs-modify-change-comment): Fix argument order.
+
+       * log-view.el (log-view-mode-menu): Bind log-view-modify-change-comment.
+
+2008-04-08  Juanma Barranquero  <lekktu@gmail.com>
+
+       * international/mule-cmds.el (set-locale-environment): Don't warn if
+       coding system doesn't agree with system locale (this reverts changes
+       by Dave Love, dated 2002-10-27 and 2002-10-09).
+
+       * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
+       * emacs-lisp/cl-macs.el (get-setf-method): Use `string-match-p'.
+
+       * emacs-lisp/copyright.el (copyright-update-year): Use `looking-at-p'.
+
+2008-04-08  Glenn Morris  <rgm@gnu.org>
+
+       * calendar/calendar.el (calendar-date-style): Remove autoload cookie.
+       * textmodes/remember.el (remember-diary-convert-entry):
+       Require calendar.
+
+       * textmodes/remember.el (remember-diary-extract-entries): Don't pass
+       diary-file, since it is the default for make-diary-entry anyway.
+
+       * calendar/cal-menu.el (cal-menu-event-to-date):
+       Rename calendar-event-to-date.  Update callers.
+       (calendar-mouse-tex-day): Rename cal-tex-mouse-day.
+       (calendar-mouse-tex-week): Rename cal-tex-mouse-week.
+       (calendar-mouse-tex-week2): Rename cal-tex-mouse-week2.
+       (calendar-mouse-tex-week-iso): Rename cal-tex-mouse-week-iso.
+       (calendar-mouse-tex-week-monday): Rename cal-tex-mouse-week-monday.
+       (calendar-mouse-tex-filofax-daily): Rename cal-tex-mouse-filofax-daily.
+       (calendar-mouse-tex-filofax-2week): Rename cal-tex-mouse-filofax-2week.
+       (calendar-mouse-tex-filofax-week): Rename cal-tex-mouse-filofax-week.
+       (calendar-mouse-tex-month): Rename cal-tex-mouse-month.
+       (calendar-mouse-tex-month-landscape):
+       Rename cal-tex-mouse-month-landscape.
+       (calendar-mouse-tex-year): Rename cal-tex-mouse-year.
+       (calendar-mouse-tex-filofax-year): Rename cal-tex-mouse-filofax-year.
+       (calendar-mouse-tex-year-landscape):
+       Rename cal-tex-mouse-year-landscape.
+       (cal-menu-context-mouse-menu): Update for above name changes.
+
+       * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el:
+       * calendar/cal-french.el, calendar/cal-hebrew.el, calendar/cal-islam.el:
+       * calendar/cal-iso.el, calendar/cal-julian.el, calendar/cal-move.el:
+       * calendar/cal-persia.el, calendar/cal-tex.el, calendar/calendar.el:
+       * calendar/holidays.el: Replace int-to-string with number-to-string.
+
+2008-04-08  Chong Yidong  <cyd@stupidchicken.com>
+
+       * mwheel.el (mwheel-scroll): Deactivate any temporarily active
+       region if point moves.
+
 2008-04-08  Kenichi Handa  <handa@m17n.org>
 
        * faces.el (font-slant-table): Change numeric values for `r',
        `roman', and `normal'.
 
-2008-04-07  Vincent Belaïche <vincent.b.1@hotmail.fr>
+2008-04-07  Vincent Belaïche  <vincent.b.1@hotmail.fr>
 
-       * calc/calc-vec.el(calcFunc-kron, calc-kron): New functions.
+       * calc/calc-vec.el (calcFunc-kron, calc-kron): New functions.
 
 2008-04-07  Jay Belanger  <jay.p.belanger@gmail.com>
 
        1.101 situated the original body of the error handling code as
        bogus condition-case handlers.  I've returned to just about the
        working code that was originally there, removing an unnecessary -
-       but benign - enclosing 'progn'.  \(Automated or cursory code fixes
+       but benign - enclosing 'progn'.  (Automated or cursory code fixes
        often aren't.)
 
        (allout-region-active-p): Fallback to value of mark-active if