1. 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
  2. 30 Sep, 2010 1 commit
  3. 20 Apr, 2010 1 commit
  4. 19 Apr, 2010 1 commit
  5. 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
  6. 19 Mar, 2010 1 commit
  7. 27 Feb, 2010 1 commit
  8. 05 Feb, 2010 1 commit
  9. 13 Jan, 2010 1 commit
  10. 12 Dec, 2009 1 commit
  11. 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
  12. 06 Dec, 2009 2 commits
  13. 05 Dec, 2009 1 commit
  14. 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
  15. 19 Nov, 2009 3 commits
  16. 12 Nov, 2009 1 commit
  17. 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
  18. 10 Nov, 2009 1 commit
  19. 02 Nov, 2009 1 commit
  20. 26 Oct, 2009 1 commit
  21. 24 Oct, 2009 1 commit
  22. 22 Oct, 2009 1 commit
  23. 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
  24. 18 Oct, 2009 1 commit
  25. 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
  26. 14 Oct, 2009 2 commits
  27. 24 Sep, 2009 1 commit
  28. 02 Sep, 2009 1 commit
  29. 01 Sep, 2009 2 commits
  30. 30 Aug, 2009 1 commit
    • Stefan Monnier's avatar
      (minibuffer-message): If the current buffer is not · ab22be48
      Stefan Monnier authored
      a minibuffer, insert the message in the echo area rather than at the
      end of the buffer.
      (completion-annotate-function): New variable.
      (minibuffer-completion-help): Use it.
      (completion--embedded-envvar-table): Environment vars are
      always case-sensitive.
      ab22be48
  31. 19 Aug, 2009 1 commit
    • Stefan Monnier's avatar
      (minibuffer-hide-completions): New function. · 890429cc
      Stefan Monnier authored
      (completion--do-completion): Use it.
      (completions-annotations): New face.
      (completion--insert-strings): Use it.
      (completion-pcm--delim-wild-regex): Add docstring.
      (completion-pcm--string->pattern): Add support for 0-width delimiters
      in completion-pcm--delim-wild-regex.
      890429cc
  32. 18 Aug, 2009 1 commit
  33. 02 Aug, 2009 1 commit
  34. 14 Apr, 2009 1 commit
  35. 17 Mar, 2009 1 commit