1. 29 May, 2008 1 commit
  2. 23 May, 2008 1 commit
    • Stefan Monnier's avatar
      * minibuffer.el (completion-boundaries): Change calling convention, so · f8381803
      Stefan Monnier authored
      `string' has the same semantics as in try-completion and all-completions.
      (completion-table-with-context, completion--embedded-envvar-table)
      (completion--file-name-table, completion-pcm--find-all-completions):
      Adjust code accordingly.
      * vc-bzr.el (vc-bzr-annotate-time): Reduce memory allocation.
      (vc-bzr-revision-completion-table): Handle `boundaries' argument.
      f8381803
  3. 22 May, 2008 1 commit
  4. 21 May, 2008 1 commit
  5. 20 May, 2008 1 commit
    • Stefan Monnier's avatar
      (completion-boundaries): New function. · a38313e1
      Stefan Monnier authored
      (completion--some): Delay errors.
      (complete-with-action, completion-table-with-context): Handle `boundaries'.
      (completion--try-word-completion): Avoid partial-completion
      when the user hasn't entered anything yet.
      (minibuffer-local-map, minibuffer-local-filename-completion-map)
      (minibuffer-local-must-match-map, minibuffer-local-completion-map)
      (minibuffer-local-must-match-filename-map, minibuffer-local-ns-map):
      Setup default keybindings.
      (completion--embedded-envvar-re): New var.
      (completion--embedded-envvar-table): Use it.  Handle `boundaries' case.
      (completion--file-name-table): Handle `boundaries' case.
      (completion-pcm--pattern->regex): Avoid pathological backtracking.
      (completion-pcm--all-completions): Add a `prefix' arg.
      (completion-pcm--find-all-completions): New function.
      (completion-pcm-all-completions, completion-pcm-try-completion): Use it.
      a38313e1
  6. 08 May, 2008 1 commit
  7. 06 May, 2008 1 commit
  8. 04 May, 2008 1 commit
  9. 02 May, 2008 2 commits
  10. 30 Apr, 2008 2 commits
  11. 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.
      7372b09c
    • 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.
      6138158d
  12. 28 Apr, 2008 1 commit
  13. 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.
      26c548b0
    • 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.
      34200787
  14. 24 Apr, 2008 1 commit
  15. 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.
      19c04f39
    • 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.
      e8a5fe3e
    • 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
      read-file-name-completion-ignore-case.
      * 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.
      dbd50d4b
  16. 22 Apr, 2008 2 commits
  17. 21 Apr, 2008 3 commits
  18. 19 Apr, 2008 2 commits
  19. 18 Apr, 2008 2 commits
  20. 17 Apr, 2008 1 commit
  21. 14 Apr, 2008 4 commits
  22. 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
  23. 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
  24. 10 Apr, 2008 1 commit