1. 27 Feb, 2014 2 commits
  2. 01 Jan, 2014 1 commit
  3. 06 Sep, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/minibuffer.el: Make minibuffer-complete call completion-in-region · 67982e2b
      Stefan Monnier authored
      rather than other way around.
      (completion--some, completion-pcm--find-all-completions):
      Don't delay signals when debugging.
      (minibuffer-completion-contents): Beware fields within the
      minibuffer contents.
      (completion-all-sorted-completions): Use defvar-local.
      (completion--do-completion, completion--cache-all-sorted-completions)
      (completion-all-sorted-completions, minibuffer-force-complete):
      Add args `beg' and `end'.
      (completion--in-region-1): New fun, extracted from minibuffer-complete.
      (minibuffer-complete): Use completion-in-region.
      (completion-complete-and-exit): New fun, extracted from
      minibuffer-complete-and-exit.
      (minibuffer-complete-and-exit): Use it.
      (completion--complete-and-exit): Rename from
      minibuffer--complete-and-exit.
      (completion-in-region--single-word): New function, extracted from
      minibuffer-complete-word.
      (minibuffer-complete-word): Use it.
      (display-completion-list): Make `common-substring' argument obsolete.
      (completion--in-region): Call completion--in-region-1 instead of
      minibuffer-complete.
      (completion-help-at-point): Pass boundaries to
      minibuffer-completion-help as args rather than via an overlay.
      (completion-pcm--string->pattern): Use `any-delim'.
      (completion-pcm--optimize-pattern): New function.
      (completion-pcm--pattern->regex): Handle `any-delim'.
      * lisp/icomplete.el (icomplete-forward-completions)
      (icomplete-backward-completions, icomplete-completions):
      Adjust calls to completion-all-sorted-completions and
      completion--cache-all-sorted-completions.
      (icomplete-with-completion-tables): Default to t.
      * lisp/emacs-lisp/crm.el (crm--current-element): Rename from
      crm--select-current-element.  Don't put an overlay but return the
      boundaries instead.
      (crm--completion-command): Take two new args to bind to the boundaries.
      (crm-completion-help): Adjust accordingly.
      (crm-complete): Use completion-in-region.
      (crm-complete-word): Use completion-in-region--single-word.
      (crm-complete-and-exit): Use completion-complete-and-exit.
      67982e2b
  4. 31 Mar, 2013 1 commit
  5. 17 Mar, 2013 1 commit
  6. 10 Jan, 2013 1 commit
  7. 01 Jan, 2013 1 commit
  8. 11 Jan, 2012 1 commit
  9. 05 Jan, 2012 1 commit
  10. 31 Dec, 2011 1 commit
  11. 25 Jan, 2011 1 commit
  12. 15 Jan, 2011 1 commit
  13. 02 Jan, 2011 1 commit
  14. 13 Jan, 2010 1 commit
  15. 15 Oct, 2009 1 commit
    • Stefan Monnier's avatar
      Replace completion-base-size by completion-base-position to fix bugs · d5e63715
      Stefan Monnier authored
      such as (bug#4699).
      * simple.el (completion-base-position): New var.
      (completion-base-size): Mark as obsolete.
      (choose-completion): Make it work for mouse events as well.
      Pass the new base-position to choose-completion-string.
      (choose-completion-guess-base-position): New function, extracted from
      choose-completion-delete-max-match.
      (choose-completion-delete-max-match): Use it.  Make obsolete.
      (choose-completion-string): Use the new base-position info.
      (completion-root-regexp): Delete.
      (completion-setup-function): Preserve completion-base-position.
      Eliminate obsolete base-size manipulation.
      * minibuffer.el (display-completion-list): Don't mess with base-size.
      (minibuffer-completion-help): Set completion-base-position instead.
      * mouse.el (mouse-choose-completion): Redefine as a mere alias to
      choose-completion.
      * textmodes/bibtex.el (bibtex-complete):
      * emacs-lisp/crm.el (crm--choose-completion-string):
      Adjust to new calling convention.
      * complete.el (partial-completion-mode): Use minibufferp to avoid
      bumping into incompatible change to choose-completion-string-functions.
      * ido.el (ido-choose-completion-string): Make its calling convention
      more permissive.
      * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
      base-size manipulation.
      (comint-dynamic-list-input-ring): Use dotimes and push.
      * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
      fundamental-mode.  Use `or'.
      d5e63715
  16. 16 Mar, 2009 1 commit
  17. 05 Jan, 2009 1 commit
  18. 06 May, 2008 1 commit
  19. 17 Apr, 2008 1 commit
  20. 14 Apr, 2008 1 commit
  21. 10 Apr, 2008 1 commit
  22. 07 Jan, 2008 1 commit
  23. 25 Jul, 2007 1 commit
  24. 21 Jan, 2007 1 commit
  25. 07 Dec, 2006 1 commit
  26. 10 May, 2006 1 commit
  27. 06 Feb, 2006 1 commit
  28. 16 Dec, 2005 1 commit
  29. 06 Aug, 2005 1 commit
  30. 04 Jul, 2005 2 commits
  31. 01 Jul, 2005 1 commit
  32. 16 Apr, 2004 1 commit
  33. 08 Sep, 2003 1 commit
  34. 01 Sep, 2003 1 commit
  35. 04 Feb, 2003 1 commit
  36. 30 Nov, 2001 1 commit
  37. 27 Apr, 2000 1 commit
  38. 25 Apr, 2000 1 commit