1. 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
  2. 07 May, 2010 3 commits
  3. 06 May, 2010 1 commit
  4. 01 May, 2010 1 commit
  5. 30 Apr, 2010 1 commit
  6. 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
  7. 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
  8. 20 Apr, 2010 1 commit
  9. 19 Apr, 2010 2 commits
  10. 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
  11. 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
  12. 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
  13. 19 Mar, 2010 1 commit
  14. 27 Feb, 2010 1 commit
  15. 05 Feb, 2010 1 commit
  16. 13 Jan, 2010 1 commit
  17. 12 Dec, 2009 1 commit
  18. 07 Dec, 2009 1 commit
    • Stefan Monnier's avatar
      * minibuffer.el (completion-at-point-functions): New var. · 51ef56c4
      Stefan Monnier authored
      (completion-at-point): New command.
      * indent.el (indent-for-tab-command): Handle the new `complete' behavior.
      * progmodes/python.el (python-mode-map): Use completion-at-point.
      (python-completion-at-point): Rename from python-partial-symbol and
      adjust for use in completion-at-point-functions.
      (python-mode): Setup completion-at-point for Python completion.
      * emacs-lisp/lisp.el (lisp-completion-at-point): New function
      extracted from lisp-complete-symbol.
      (lisp-complete-symbol): Use it.
      * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
      setup completion-at-point for Elisp completion.
      (emacs-lisp-mode-map, lisp-interaction-mode-map): Use completion-at-point.
      * ielm.el (ielm-map): Use completion-at-point.
      (inferior-emacs-lisp-mode): Setup completion-at-point for Elisp completion.
      * progmodes/sym-comp.el: Move to...
      * obsolete/sym-comp.el: Move from progmodes.
      51ef56c4
  19. 06 Dec, 2009 2 commits
  20. 05 Dec, 2009 1 commit
  21. 25 Nov, 2009 1 commit
    • Juri Linkov's avatar
      Provide additional default values (file name at point or at the · 7d371eac
      Juri Linkov authored
      current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
      
      * minibuffer.el (read-file-name-defaults): New function.
      (read-file-name): Reset `minibuffer-default' to nil when
      it duplicates initial input `insdef'.
      Bind `minibuffer-default-add-function' to lambda that
      calls `read-file-name-defaults' in `minibuffer-selected-window'.
      (minibuffer-insert-file-name-at-point): New command.
      
      * files.el (file-name-at-point-functions): New defcustom.
      (find-file-default): Remove defvar.
      (find-file-read-args): Don't use `find-file-default'.
      Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
      to `read-file-name'.
      (find-file-literally): Use `read-file-name' with
      `confirm-nonexistent-file-or-buffer'.
      
      * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
      
      * dired.el (dired-read-dir-and-switches):
      Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
      to `read-file-name'.
      (dired-file-name-at-point): New function.
      (dired-mode): Add hook `dired-file-name-at-point' to
      `file-name-at-point-functions'.
      7d371eac
  22. 19 Nov, 2009 3 commits
  23. 12 Nov, 2009 1 commit
  24. 11 Nov, 2009 1 commit
    • Dan Nicolaescu's avatar
      * progmodes/grep.el (grep-regexp-alist): · 2f7f4bee
      Dan Nicolaescu authored
      * international/mule-cmds.el (iso-2022-control-alist):
      * emacs-lisp/timer.el (timer-duration-words):
      * subr.el (version-separator, version-regexp-alist):
      * minibuffer.el (completion-styles-alist):
      * faces.el (face-attribute-name-alist, list-faces-sample-text):
      Change defvars to defconsts.
      2f7f4bee
  25. 10 Nov, 2009 1 commit
  26. 02 Nov, 2009 1 commit
  27. 26 Oct, 2009 1 commit
  28. 24 Oct, 2009 1 commit
  29. 22 Oct, 2009 1 commit
  30. 21 Oct, 2009 1 commit
    • Stefan Monnier's avatar
      * minibuffer.el (completion-table-with-terminator): Properly implement · 528c56e2
      Stefan Monnier authored
      boundaries, in case `terminator' appears in the suffix.
      (completion--embedded-envvar-table): Don't return boundaries if
      there's no valid completion.  Simplify.
      (completion-file-name-table): New completion table extracted from
      completion--file-name-table.
      (completion--file-name-table): Use it.
      (read-file-name-predicate): Declare obsolete.
      (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
      * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
      completion-file-name-table, and use the `pred' argument.
      * files.el (locate-file-completion-table): Use the `pred' arg rather
      than read-file-name-predicate.
      (abbreviate-file-name): Use \` rather than ^ for BOS.
      528c56e2
  31. 18 Oct, 2009 1 commit
  32. 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
  33. 14 Oct, 2009 2 commits