1. 03 Mar, 2014 1 commit
    • Juanma Barranquero's avatar
      lisp/icomplete.el, lisp/ido.el: Doc fixes. · d11320e5
      Juanma Barranquero authored
      lisp/icomplete.el: Miscellaneous doc fixes.
      Use Icomplete everywhere instead of icomplete for consistency.
      (icomplete-max-delay-chars): Fix typo.
      (icomplete-mode): Use \[].
      (icomplete-tidy, icomplete-exhibit): Reflow.
      (icomplete-minibuffer-setup-hook, icomplete-completions):
      Remove superfluous backlashes.
      
      lisp/ido.el: Miscellaneous doc fixes.
      Use Ido everywhere instead of ido or `ido' for consistency.
      (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
      (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
      (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
      (ido-separator): Extract obsolescence info from docstring and declare
      with make-obsolete-variable.
      (ido-minibuffer-setup-hook): Simplify example.
      (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
      (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
      (ido-completion-help, ido-completing-read): Fix typos in docstrings.
      (ido-everywhere): Reflow docstring.
      (ido-toggle-vc): Doc fix.
      (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
      of long list of keybindings.
      d11320e5
  2. 02 Mar, 2014 1 commit
  3. 01 Mar, 2014 1 commit
  4. 12 Feb, 2014 1 commit
    • Glenn Morris's avatar
      Some icomplete doc · a8cb4247
      Glenn Morris authored
      * doc/emacs/mini.texi (Completion Options): No longer mention icomplete,
      which has its own section now.
      
      * doc/emacs/modes.texi (Minor Modes): Update Icomplete xref.
      
      * lisp/icomplete.el: Commentary updates.
      (icomplete): Add info-link to defgroup.
      (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
      (icomplete-minibuffer-map, icomplete-mode)
      (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
      
      * etc/NEWS: Related edits.
      a8cb4247
  5. 09 Feb, 2014 2 commits
  6. 01 Jan, 2014 1 commit
  7. 27 Dec, 2013 1 commit
  8. 24 Dec, 2013 1 commit
  9. 23 Dec, 2013 1 commit
  10. 14 Dec, 2013 1 commit
  11. 19 Oct, 2013 1 commit
  12. 16 Sep, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/icomplete.el (icomplete-in-buffer): New var. · 504a0381
      Stefan Monnier authored
      (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
      vars and replace them with functions.
      (icomplete-minibuffer-setup): Adjust accordingly.
      (icomplete--completion-table, icomplete--completion-predicate)
      (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
      New functions.
      (icomplete-forward-completions, icomplete-backward-completions)
      (icomplete-simple-completing-p, icomplete-exhibit)
      (icomplete-completions): Use them.
      (icomplete--in-region-buffer): New var.
      (icomplete--in-region-setup): New function.
      (icomplete-mode): Use it.
      504a0381
  13. 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
  14. 05 Aug, 2013 1 commit
    • Dmitry Antipov's avatar
      Do not call to `selected-window' where it is assumed by default. · 290d5b58
      Dmitry Antipov authored
      Affected functions are `window-minibuffer-p', `window-dedicated-p',
      `window-hscroll', `window-width', `window-height', `window-buffer',
      `window-frame', `window-start', `window-point', `next-window'
      and `window-display-table'.
      * abbrev.el (abbrev--default-expand):
      * bs.el (bs--show-with-configuration):
      * buff-menu.el (Buffer-menu-mouse-select):
      * calc/calc.el (calc):
      * calendar/calendar.el (calendar-generate-window):
      * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
      (diary-make-entry):
      * comint.el (send-invisible, comint-dynamic-complete-filename)
      (comint-dynamic-simple-complete, comint-dynamic-list-completions):
      * completion.el (complete):
      * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
      * disp-table.el (describe-current-display-table):
      * doc-view.el (doc-view-insert-image):
      * ebuff-menu.el (Electric-buffer-menu-mouse-select):
      * ehelp.el (with-electric-help):
      * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
      * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
      * emacs-lisp/helper.el (Helper-help-scroller):
      * emulation/cua-base.el (cua--post-command-handler-1):
      * eshell/esh-mode.el (eshell-output-filter):
      * ffap.el (ffap-gnus-wrapper):
      * help-macro.el (make-help-screen):
      * hilit-chg.el (highlight-compare-buffers):
      * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
      * hl-line.el (global-hl-line-highlight):
      * icomplete.el (icomplete-simple-completing-p):
      * isearch.el (isearch-done):
      * jit-lock.el (jit-lock-stealth-fontify):
      * mail/rmailsum.el (rmail-summary-scroll-msg-up):
      * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
      * mpc.el (mpc-tagbrowser, mpc):
      * net/rcirc.el (rcirc-any-buffer):
      * play/gomoku.el (gomoku-max-width, gomoku-max-height):
      * play/landmark.el (landmark-max-width, landmark-max-height):
      * play/zone.el (zone):
      * progmodes/compile.el (compilation-goto-locus):
      * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
      * progmodes/etags.el (find-tag-other-window):
      * progmodes/fortran.el (fortran-column-ruler):
      * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
      * progmodes/verilog-mode.el (verilog-point-text):
      * reposition.el (reposition-window):
      * rot13.el (toggle-rot13-mode):
      * server.el (server-switch-buffer):
      * shell.el (shell-dynamic-complete-command)
      (shell-dynamic-complete-environment-variable):
      * simple.el (insert-buffer, set-selective-display)
      (delete-completion-window):
      * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
      (speedbar-recenter):
      * startup.el (fancy-splash-head):
      * textmodes/ispell.el (ispell-command-loop):
      * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
      * tutorial.el (help-with-tutorial):
      * vc/add-log.el (add-change-log-entry):
      * vc/compare-w.el (compare-windows):
      * vc/ediff-help.el (ediff-indent-help-message):
      * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
      * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
      (ediff-setup-control-frame):
      * vc/emerge.el (emerge-position-region):
      * vc/pcvs-util.el (cvs-bury-buffer):
      * window.el (walk-windows, mouse-autoselect-window-select):
      * winner.el (winner-set-conf, winner-undo): Related users changed.
      290d5b58
  15. 15 Feb, 2013 1 commit
    • Jambunathan K's avatar
      Fix bug#13708 · d7e76a89
      Jambunathan K authored
      * lisp/icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
      Bind `C-.' and `C-,' to `icomplete-forward-completions' and
      `icomplete-backward-completions'.
      
      * lisp/ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
      `ido-next-match' and `ido-prev-match' resply.
      
      * lisp/iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
      `iswitchb-next-match' and `iswitchb-prev-match' resply.
      d7e76a89
  16. 13 Feb, 2013 1 commit
  17. 08 Feb, 2013 1 commit
  18. 04 Jan, 2013 1 commit
  19. 01 Jan, 2013 1 commit
  20. 17 Dec, 2012 1 commit
  21. 30 Nov, 2012 1 commit
    • Glenn Morris's avatar
      Defcustom :version fixes · fb3bf6ce
      Glenn Morris authored
      * lisp/icomplete.el (icomplete-separator): Fix :version.
      
      * lisp/erc/erc.el (erc-accidental-paste-threshold-seconds): Add :version.
      fb3bf6ce
  22. 29 Nov, 2012 1 commit
    • Jambunathan K's avatar
      * lisp/icomplete.el: Change separator; add ido-style commands. · cc37e70f
      Jambunathan K authored
      (icomplete-show-key-bindings): Remove custom var.
      (icomplete-get-keys): Remove function.
      (icomplete-forward-completions, icomplete-backward-completions):
      New commands.
      (icomplete-minibuffer-map): New var.
      (icomplete-minibuffer-setup): Use it.
      (icomplete-exhibit): Don't delay if the list of completions is known.
      (icomplete-separator): New custom.
      (icomplete-completions): Use it.
      * lisp/minibuffer.el (completion-all-sorted-completions): Delete duplicates.
      (minibuffer-force-complete-and-exit): New command.
      (minibuffer--complete-and-exit): New function extracted from
      minibuffer-complete-and-exit.
      (minibuffer-complete-and-exit): Use it.
      cc37e70f
  23. 22 Jun, 2012 1 commit
  24. 23 Feb, 2012 1 commit
  25. 20 Feb, 2012 1 commit
  26. 11 Jan, 2012 1 commit
  27. 05 Jan, 2012 1 commit
  28. 19 Oct, 2011 1 commit
    • Chong Yidong's avatar
      Fix minor mode docstrings for the new meaning of a nil ARG. · 06e21633
      Chong Yidong authored
      * abbrev.el (abbrev-mode):
      * allout.el (allout-mode):
      * autoinsert.el (auto-insert-mode):
      * autoarg.el (autoarg-mode, autoarg-kp-mode):
      * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
      (global-auto-revert-mode):
      * battery.el (display-battery-mode):
      * composite.el (global-auto-composition-mode)
      (auto-composition-mode):
      * delsel.el (delete-selection-mode):
      * desktop.el (desktop-save-mode):
      * dired-x.el (dired-omit-mode):
      * dirtrack.el (dirtrack-mode):
      * doc-view.el (doc-view-minor-mode):
      * double.el (double-mode):
      * electric.el (electric-indent-mode, electric-pair-mode):
      * emacs-lock.el (emacs-lock-mode):
      * epa-hook.el (auto-encryption-mode):
      * follow.el (follow-mode):
      * font-core.el (font-lock-mode):
      * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
      * help.el (temp-buffer-resize-mode):
      * hilit-chg.el (highlight-changes-mode)
      (highlight-changes-visible-mode):
      * hi-lock.el (hi-lock-mode):
      * hl-line.el (hl-line-mode, global-hl-line-mode):
      * icomplete.el (icomplete-mode):
      * ido.el (ido-everywhere):
      * image-file.el (auto-image-file-mode):
      * image-mode.el (image-minor-mode):
      * iswitchb.el (iswitchb-mode):
      * jka-cmpr-hook.el (auto-compression-mode):
      * linum.el (linum-mode):
      * longlines.el (longlines-mode):
      * master.el (master-mode):
      * mb-depth.el (minibuffer-depth-indicate-mode):
      * menu-bar.el (menu-bar-mode):
      * minibuf-eldef.el (minibuffer-electric-default-mode):
      * mouse-sel.el (mouse-sel-mode):
      * msb.el (msb-mode):
      * mwheel.el (mouse-wheel-mode):
      * outline.el (outline-minor-mode):
      * paren.el (show-paren-mode):
      * recentf.el (recentf-mode):
      * reveal.el (reveal-mode, global-reveal-mode):
      * rfn-eshadow.el (file-name-shadow-mode):
      * ruler-mode.el (ruler-mode):
      * savehist.el (savehist-mode):
      * scroll-all.el (scroll-all-mode):
      * scroll-bar.el (scroll-bar-mode):
      * server.el (server-mode):
      * shell.el (shell-dirtrack-mode):
      * simple.el (auto-fill-mode, transient-mark-mode)
      (visual-line-mode, overwrite-mode, binary-overwrite-mode)
      (line-number-mode, column-number-mode, size-indication-mode)
      (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
      * strokes.el (strokes-mode):
      * time.el (display-time-mode):
      * t-mouse.el (gpm-mouse-mode):
      * tool-bar.el (tool-bar-mode):
      * tooltip.el (tooltip-mode):
      * type-break.el (type-break-mode-line-message-mode)
      (type-break-query-mode):
      * view.el (view-mode):
      * whitespace.el (whitespace-mode, whitespace-newline-mode)
      (global-whitespace-mode, global-whitespace-newline-mode):
      * xt-mouse.el (xterm-mouse-mode): Doc fix.
      
      * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix
      autogenerated docstring.
      06e21633
  29. 18 Sep, 2011 1 commit
    • Johan Bockgård's avatar
      Fix previous fix of Bug#5849. · 2176854d
      Johan Bockgård authored
      * icomplete.el (icomplete-mode): Don't set completion-show-inline-help.
      (icomplete-minibuffer-setup): Set completion-show-inline-help
      locally during icompletion.
      2176854d
  30. 31 May, 2011 1 commit
    • Stefan Monnier's avatar
      * lisp/minibuffer.el: Add metadata method to completion tables. · 620c53a6
      Stefan Monnier authored
      (completion-category-overrides): New defcustom.
      (completion-metadata, completion--field-metadata)
      (completion-metadata-get, completion--styles)
      (completion--cycle-threshold): New functions.
      (completion-try-completion, completion-all-completions):
      Add `metadata' argument to choose completion-styles.
      (completion--do-completion): Use metadata to choose cycling.
      (completion-all-sorted-completions): Use metadata for sorting.
      Remove :completion-cycle-penalty which is not needed any more.
      (completion--try-word-completion): Add `metadata' argument.
      (minibuffer-completion-help): Check metadata for annotation function
      and sorting.
      (completion-file-name-table): Return `category' metadata.
      (minibuffer-completing-file-name): Make obsolete.
      * lisp/simple.el (minibuffer-completing-symbol): Make obsolete.
      * lisp/icomplete.el (icomplete-completions): Pass new `metadata' param to
      completion-try-completion.
      * src/minibuf.c (Finternal_complete_buffer): Return `category' metadata.
      (read_minibuf): Use get_minibuffer.
      (syms_of_minibuf): Use DEFSYM.
      (Qmetadata): New var.
      * src/data.c (Qbuffer): Don't make it static.
      (syms_of_data): Use DEFSYM.
      620c53a6
  31. 10 Apr, 2011 1 commit
    • Chong Yidong's avatar
      Fix bad interaction between icomplete and completion inline help (Bug#5849). · 369e974d
      Chong Yidong authored
      * lisp/minibuffer.el (completion-show-inline-help): New var.
      (completion--do-completion, minibuffer-complete)
      (minibuffer-force-complete, minibuffer-complete-word): Inhibit
      minibuffer messages if completion-show-inline-help is nil.
      
      * lisp/icomplete.el (icomplete-mode): Bind completion-show-inline-help
      to avoid interference from inline help.
      369e974d
  32. 26 Jan, 2011 1 commit
  33. 25 Jan, 2011 1 commit
  34. 15 Jan, 2011 1 commit
  35. 02 Jan, 2011 1 commit
  36. 21 Apr, 2010 1 commit
    • Michael Albinus's avatar
      Fix Bug#5840. · acd1f317
      Michael Albinus authored
      * icomplete.el (icomplete-completions): Use `non-essential'.
      
      * net/tramp.el (tramp-connectable-p): New defun.
      (tramp-handle-expand-file-name)
      (tramp-completion-handle-file-name-all-completions)
      (tramp-completion-handle-file-name-completion): Use it.
      acd1f317
  37. 13 Jan, 2010 1 commit
  38. 05 Jan, 2009 1 commit
  39. 15 Dec, 2008 1 commit