1. 04 May, 2008 1 commit
  2. 02 May, 2008 2 commits
  3. 30 Apr, 2008 2 commits
  4. 29 Apr, 2008 2 commits
    • Stefan Monnier's avatar
      (completion-hilit-commonality): Remove leftover code. · 7372b09c
      Stefan Monnier authored
      (completion-pcm--pattern->regex): Let `group' be a list of symbols.
      (completion-pcm--hilit-commonality): New function.
      (completion-pcm-all-completions): Use it.
    • Stefan Monnier's avatar
      * minibuffer.el (completion-common-substring): Mark obsolete. · 6138158d
      Stefan Monnier authored
      (completions-first-difference, completions-common-part): Move from simple.el.
      (completion-hilit-commonality): New fun.
      (display-completion-list, completion-emacs21-all-completions)
      (completion-emacs22-all-completions): Use it.
      * simple.el (completions-first-difference, completions-common-part):
      Move to minibuffer.el.
      (choose-completion-string): Use field functions and minibufferp.
      (completion-setup-function): Don't set completions faces.
  5. 28 Apr, 2008 1 commit
  6. 26 Apr, 2008 2 commits
    • Juanma Barranquero's avatar
      (completion-pcm-word-delimiters): Add :group. · 26c548b0
      Juanma Barranquero authored
      (completion-pcm--all-completions): Doc fix.
      (completion-styles-alist, completion-all-completions): Fix typos in docstrings.
    • Stefan Monnier's avatar
      (completion-table-with-context): Fix `pred' for the · 34200787
      Stefan Monnier authored
      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 /.
      (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.
  7. 24 Apr, 2008 1 commit
  8. 23 Apr, 2008 3 commits
    • Stefan Monnier's avatar
      (completion-try-completion): Add `point' argument. Change return value. · 19c04f39
      Stefan Monnier authored
      (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 funs.
      (completion-styles-alist): Use them.
    • Stefan Monnier's avatar
      (read-file-name): Don't let-bind default-directory. · e8a5fe3e
      Stefan Monnier authored
      Only abbreviate default-filename if it's a file.
    • Stefan Monnier's avatar
      * lisp/minibuffer.el (read-file-name-function, read-file-name-predicate) · dbd50d4b
      Stefan Monnier authored
      (read-file-name-completion-ignore-case, insert-default-directory):
      New vars, moved from fileio.c.
      (read-file-name): New fun, moved from fileio.c.
      * lisp/cus-start.el: Remove insert-default-directory and
      * src/fileio.c (Vread_file_name_function, Vread_file_name_predicate)
      (read_file_name_completion_ignore_case, insert_default_directory)
      (Qdefault_directory): Move to minibuffer.el.
      (Fread_file_name): Call the new `read-file-name' instead.
  9. 22 Apr, 2008 2 commits
  10. 21 Apr, 2008 3 commits
  11. 19 Apr, 2008 2 commits
  12. 18 Apr, 2008 2 commits
  13. 17 Apr, 2008 1 commit
  14. 14 Apr, 2008 4 commits
  15. 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.
    • Juanma Barranquero's avatar
      (completion--embedded-envvar-table, read-file-name-internal): · 017c22fe
      Juanma Barranquero authored
      Fix typos in 2008-04-11 change.
  16. 11 Apr, 2008 2 commits
    • Johan Bockgård's avatar
      (lazy-completion-table): Fix debug spec. · 69e018a7
      Johan Bockgård authored
    • 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.
  17. 10 Apr, 2008 2 commits
  18. 09 Apr, 2008 3 commits
    • Juanma Barranquero's avatar
      (completion-auto-help): Fix typo. · e1bb0fe5
      Juanma Barranquero authored
    • 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
      Handle new value `lazy' for completion-auto-help.
      (minibuffer-try-word-completion): New function extracted from
      (minibuffer-complete-word): Use minibuffer--do-completion.
      (minibuffer--insert-strings): Rename from
      (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.
    • 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.