1. 19 Apr, 2008 1 commit
    • Stefan Monnier's avatar
      * minibuffer.el (completion-table-with-context): Add support for `pred'. · 25c0d999
      Stefan Monnier authored
      (completion-table-with-terminator): Don't use complete-with-action
      since we have to distinguish all three cases anyway.
      (completion-table-with-predicate): New function.
      (dynamic-completion-table): Add obsolete alias.
      * minibuf.texi (Programmed Completion):
      Replace dynamic-completion-table with the new completion-table-dynamic.
      25c0d999
  2. 18 Apr, 2008 2 commits
  3. 17 Apr, 2008 1 commit
  4. 14 Apr, 2008 4 commits
  5. 13 Apr, 2008 2 commits
    • Stefan Monnier's avatar
      * minibuffer.el (completion-all-completion-with-base-size): New var. · e2947429
      Stefan Monnier authored
      (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.
      e2947429
    • Juanma Barranquero's avatar
      (completion--embedded-envvar-table, read-file-name-internal): · 017c22fe
      Juanma Barranquero authored
      Fix typos in 2008-04-11 change.
      017c22fe
  6. 11 Apr, 2008 2 commits
    • Johan Bockgård's avatar
      (lazy-completion-table): Fix debug spec. · 69e018a7
      Johan Bockgård authored
      69e018a7
    • Stefan Monnier's avatar
      * minibuffer.el (complete-with-action, lazy-completion-table): · 21622c6d
      Stefan Monnier authored
      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.
      21622c6d
  7. 10 Apr, 2008 2 commits
  8. 09 Apr, 2008 3 commits
    • Juanma Barranquero's avatar
      (completion-auto-help): Fix typo. · e1bb0fe5
      Juanma Barranquero authored
      e1bb0fe5
    • Stefan Monnier's avatar
      * minibuffer.el (minibuffer): Move group from cus-edit.el. · ba5ff07b
      Stefan Monnier authored
      (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.
      * minibuf.c (Vcompletion_auto_help): Move to minibuffer.el.
      (syms_of_minibuf): Remove its initialization.
      ba5ff07b
    • Stefan Monnier's avatar
      * lisp/minibuffer.el: New file. · 32bae13c
      Stefan Monnier authored
      * src/minibuf.c (last_exact_completion): Remove variable.
      (Fdelete_minibuffer_contents, do_completion, Fminibuffer_complete)
      (complete_and_exit_1, complete_and_exit_2)
      (Fminibuffer_complete_and_exit, Fminibuffer_complete_word)
      (Fdisplay_completion_list, display_completion_list_1)
      (Fminibuffer_completion_help, Fself_insert_and_exit)
      (Fexit_minibuffer, Fminibuffer_message): Move functions to minibuffer.el.
      (syms_of_minibuf): Remove corresponding initializations.
      32bae13c