1. 30 Mar, 2011 1 commit
    • Stefan Monnier's avatar
      (completion-in-region): Pop down *Completions* automatically. · 3e2d70fd
      Stefan Monnier authored
      * lisp/minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
      (completion-in-region-mode): New minor mode.
      (completion-in-region): Use it.
      (completion-in-region--data, completion-in-region-mode-map): New vars.
      (completion-in-region--postch): New function.
      (completion--capf-misbehave-funs, completion--capf-safe-funs): New vars.
      (completion--capf-wrapper): New function.
      (completion-at-point): Use it to track well-behavedness of hook functions.
      (completion-help-at-point): New command.
      3e2d70fd
  2. 24 Mar, 2011 1 commit
    • Stefan Monnier's avatar
      First step towards using standard completion in comint. · d86d2721
      Stefan Monnier authored
      * lisp/minibuffer.el (completion--flush-all-sorted-completions):
      Remove itself from hook.
      (completion-at-point): Let the functions perform the completion
      immediately and return nil or t.
      * lisp/comint.el (comint-dynamic-complete-functions): Now identical to
      completion-at-point-functions.
      (comint-dynamic-list-input-ring): Remove unused var `index'.
      (comint--match-partial-filename, comint--unquote&expand-filename):
      New funs, split from comint-match-partial-filename.
      (comint-dynamic-complete): Use completion-at-point.
      (comint-dynamic-complete-filename): Use comint--match-partial-filename.
      d86d2721
  3. 21 Mar, 2011 1 commit
  4. 17 Mar, 2011 1 commit
  5. 12 Feb, 2011 1 commit
  6. 25 Jan, 2011 1 commit
  7. 15 Jan, 2011 1 commit
  8. 02 Jan, 2011 1 commit
  9. 06 Dec, 2010 1 commit
  10. 18 Nov, 2010 1 commit
  11. 08 Nov, 2010 1 commit
  12. 28 Oct, 2010 1 commit
    • Stefan Monnier's avatar
      * lisp/minibuffer.el (completion-cycling): New var. · 6175cd08
      Stefan Monnier authored
      (minibuffer-complete, completion--do-completion):
      Use completion--flush-all-sorted-completions.
      (minibuffer-complete): Only cycle if completion-cycling is set.
      (completion--flush-all-sorted-completions): Unset completion-cycling.
      (minibuffer-force-complete): Set completion-cycling.
      (completion-all-sorted-completions): Move declaration before first use.
      
      Fixes: debbugs:7266
      6175cd08
  13. 17 Oct, 2010 1 commit
  14. 03 Oct, 2010 1 commit
    • Chong Yidong's avatar
      Use lexical-let to avoid false matches in var completion (Bug#7056). · 397ae226
      Chong Yidong authored
      * lisp/minibuffer.el (completion--some, completion--do-completion)
      (minibuffer-complete-and-exit, minibuffer-completion-help)
      (completion-basic-try-completion)
      (completion-basic-all-completions)
      (completion-pcm--find-all-completions): Use lexical-let to
      avoid some false matches in variable completion (Bug#7056)
      397ae226
  15. 30 Sep, 2010 1 commit
  16. 29 Aug, 2010 1 commit
  17. 24 Jun, 2010 1 commit
  18. 30 May, 2010 1 commit
  19. 12 May, 2010 1 commit
  20. 11 May, 2010 1 commit
  21. 09 May, 2010 1 commit
    • Stefan Monnier's avatar
      * minibuffer.el (completion-pcm-complete-word-inserts-delimiters): · 79ccd68f
      Stefan Monnier authored
      New custom variable.
      (completion-pcm--string->pattern): Use it.
      (completion-pcm--pattern->regex, completion-pcm--pattern->string):
      Make it handle any symbol as `any'.
      (completion-pcm--merge-completions): Extract common suffix for the new
      `prefix' symbol as well.
      (completion-substring--all-completions): Use the new `prefix' symbol.
      79ccd68f
  22. 07 May, 2010 3 commits
  23. 06 May, 2010 1 commit
  24. 01 May, 2010 1 commit
  25. 30 Apr, 2010 1 commit
  26. 29 Apr, 2010 1 commit
    • Chong Yidong's avatar
      * minibuffer.el (tags-completion-at-point-function): New function. · 3a07ffce
      Chong Yidong authored
      (completion-at-point-functions): Use it.
      
      * cedet/semantic.el (semantic-completion-at-point-function): New function.
      (semantic-mode): Use semantic-completion-at-point-function for
      completion-at-point-functions instead.
      
      * progmodes/etags.el (complete-tag): Revert last change.
      3a07ffce
  27. 28 Apr, 2010 1 commit
    • Chong Yidong's avatar
      Unify complete-symbol with completion-at-point. · 48111a85
      Chong Yidong authored
      * bindings.el (complete-symbol): Move into minibuffer.el.
      
      * minibuffer.el (complete-tag): Move from etags.el.  If tags
      completion cannot be performed, return nil instead of signalling
      an error.
      (completion-at-point): Make it an alias for complete-symbol.
      (complete-symbol): Move from bindings.el, and replace with the
      body of completion-at-point.
      
      * progmodes/etags.el (complete-tag): Move to minibuffer.el.
      
      * cedet/semantic.el (semantic-mode): When enabled, add
      semantic-ia-complete-symbol to completion-at-point-functions.
      
      * cedet/semantic/ia.el (semantic-ia-complete-symbol): Return nil
      if Semantic is not active.
      48111a85
  28. 20 Apr, 2010 1 commit
  29. 19 Apr, 2010 2 commits
  30. 14 Apr, 2010 1 commit
    • Michael Albinus's avatar
      Fix Bug#5840. · 5f2b693f
      Michael Albinus authored
      * ido.el (ido-file-name-all-completions-1):
      * minibuffer.el (minibuffer-completion-help):
      * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
      5f2b693f
  31. 23 Mar, 2010 1 commit
    • Stefan Monnier's avatar
      Add a new completion style `substring'. · 00278747
      Stefan Monnier authored
      * minibuffer.el (completion-basic--pattern): New function.
      (completion-basic-try-completion, completion-basic-all-completions): Use it.
      (completion-substring--all-completions)
      (completion-substring-try-completion)
      (completion-substring-all-completions): New functions.
      (completion-styles-alist): New style `substring'.
      00278747
  32. 22 Mar, 2010 1 commit
    • Juanma Barranquero's avatar
      Fix typos in docstrings. · c8de140b
      Juanma Barranquero authored
      * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
        (image-dired-read-comment): Doc fix.
      
      * json.el (json-object-type, json-array-type, json-key-type, json-false)
        (json-null, json-read-number):
      * minibuffer.el (completion-in-region-functions):
      * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
        (cal-tex-cursor-week):
      * emacs-lisp/trace.el (trace-function):
      * eshell/em-basic.el (eshell/printnl):
      * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
        (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
      * obsolete/levents.el (allocate-event, event-key, event-object)
        (event-point, event-process, event-timestamp, event-to-character)
        (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
      * textmodes/reftex-vars.el (reftex-index-macros-builtin)
        (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
        (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
        (reftex-highlight-selection): Fix typos in docstrings.
      c8de140b
  33. 19 Mar, 2010 1 commit
  34. 27 Feb, 2010 1 commit
  35. 05 Feb, 2010 1 commit
  36. 13 Jan, 2010 1 commit
  37. 12 Dec, 2009 1 commit