aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ido.el
Commit message (Collapse)AuthorAgeFilesLines
* (ido-max-directory-size): New defcustom.Kim F. Storm2004-09-241-27/+91
| | | | | | | | | | | | | | | | | | | | | | (ido-decorations): Add "too big" element. (ido-directory-too-big): New dynamic var. (ido-may-cache-directory): Don't cache big directories. (ido-directory-too-big-p): New defun. (ido-set-current-directory): Update ido-directory-too-big. (ido-read-internal): Make empty ido-cur-item if too-big. (ido-buffer-internal): Use ido-read-internal directly instead of ido-read-buffer. (ido-file-internal): Init ido-directory-too-big. (ido-complete): <TAB> If ido-directory-too-big is set, clear it, and redo completion with full list. (ido-toggle-ignore): <C-a> If ido-directory-too-big is set, clear it, and show completions. (ido-all-completions): Let bind ido-directory-too-big to nil. (ido-exhibit): Handle ido-directory-too-big. (ido-read-buffer): Handle fallback to read-buffer. Init ido-directory-too-big. (ido-read-file-name, ido-read-directory-name, ido-completing-read): Init ido-directory-too-big.
* (ido-choice-list): New dynamic var for `list' context.Kim F. Storm2004-09-221-44/+122
| | | | | | | | | | | | | | | | | | | | | | | | | (ido-context-switch-command): New dynamic var. (ido-define-mode-map): Generalize switch between file/buffer contexts. (ido-read-internal): Handle new `list' context. Handle insert-buffer and insert-file ido-exit values. (ido-buffer-internal): New arg switch-cmd. Use it to setup ido-context-switch-command. Handle insert-file ido-exit value. (ido-read-buffer): Set ido-context-switch-command to 'ignore unless it is already bound by caller. (ido-file-internal): New arg switch-cmd. Use it to setup ido-context-switch-command. Handle insert-buffer ido-exit value. (ido-enter-insert-buffer, ido-enter-insert-file): New commands used for context switching. (ido-all-completions): Handle new `list' context. (ido-make-choice-list): Return choices for `list' context. (ido-find-file-in-dir, ido-display-file, ido-write-file) (ido-display-buffer, ido-kill-buffer): Disable context switching. (ido-insert-buffer, ido-insert-file): Setup context switching. (ido-exhibit): Handle `list' context. (ido-read-file-name): Disable context switching. Handle fallback. (ido-read-directory-name): Disable context switching. (ido-completing-read): New defun like completing-read. Setup and use new `list' context.
* (ido-enable-dot-prefix): Doc fix.Kim F. Storm2004-09-111-5/+20
| | | | | (ido-enable-dot-prefix): New defcustom. (ido-set-matches1): Use it.
* Update AUCTeX information.David Kastrup2004-08-221-1/+1
|
* Update copyright and commentary.Kim F. Storm2004-05-041-4/+5
|
* (ido-read-file-name): If command has ido property, don't use idoKim F. Storm2004-05-041-1/+5
| | | | | if value is ignore, or read as directory if value is dir. Set ido ignore property for dired-do-rename command.
* (ido-read-internal): Fix call to read-file-name for edit.Kim F. Storm2004-05-041-3/+4
| | | | | Must expand directory for completion to work; and don't mess with process-environment.
* (ido-confirm-unique-completion): New defcustom.Kim F. Storm2004-04-101-3/+15
| | | | | (ido-complete): Use it. (ido-write-file): Set it to t unconditionally.
* (ido-nonreadable-directory-p): New defun to check forKim F. Storm2003-12-311-3/+12
| | | | | | | nonreadable directory without activating tramp to avoid problems with checking incomplete tramp paths. (ido-set-current-directory, ido-file-internal) (ido-file-name-all-completions1): Use it.
* Handle non-readable directories.Kim F. Storm2003-12-271-46/+73
| | | | | | | | | | | | | | (ido-decorations): Add 9th element for non-readable directory. (ido-directory-nonreadable): New dynamic var. (ido-set-current-directory): Set it. (ido-read-buffer, ido-file-internal): (ido-read-file-name, ido-read-directory-name): Let-bind it. (ido-file-name-all-completions1): Return empty list for non-readable directory. (ido-exhibit): Print [Not readable] if directory is not readable. (ido-expand-directory): New defun (based on tiny fix from Karl Chen). (ido-read-file-name, ido-file-internal, ido-read-directory-name): Use it.
* * ido.el (ido-use-filename-at-point, ido-use-url-at-point):Kim F. Storm2003-11-251-17/+66
| | | | | | | | | | | | | New defcustoms to add ffap-like functionality to ido. (ido-saved-vc-hb): Rename from ido-saved-vc-mt. Uses changed. (ido-no-final-slash): New defun. (ido-make-prompt, ido-file-internal, ido-toggle-vc) (ido-read-file-name): ): Toggle VC checking via vc-handled-backends instead of vc-master-templates. (ido-file-internal): Handle ido-use-url-at-point and ido-use-filename-at-point via code borrowed from ffap-guesser. Handle new ido-exit code ffap. (ido-sort-list): Ignore final slash when sorting file names.
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (ido-mode): Remove unused NOBIND arg. Fix doc string accordingly.Kim F. Storm2003-03-221-11/+16
| | | | | | (ido-define-mode-map): Bind C-l for both file and dir modes. (ido-wide-find-file, ido-wide-find-dir, ido-make-directory): Let-bind enable-recursive-minibuffers to t around read-string.
* (ido-define-mode-map):Kim F. Storm2003-02-051-6/+5
| | | | | Undo last change (duplicates part of 2003-02-04 change). Remap `viper' delete commands only in file or dir mode.
* (ido-define-mode-map): Interact with Viper. From Kim FKai Großjohann2003-02-051-0/+2
| | | | Storm.
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-104/+104
|
* (ido-define-mode-map): Remap viper delete char/wordKim F. Storm2003-02-031-1/+13
| | | | | | | | commands to their ido specific equivalents. Disable ESC in viper mode (to avoid exiting insert mode), since ido doesn't work in viper command mode. (ido-delete-backward-updir, ido-delete-backward-word-updir): Handle remapped viper commands.
* Many doc fixes.Richard M. Stallman2003-01-251-18/+21
| | | | (ido-complete): Fix message.
* Update copyright.Kim F. Storm2003-01-241-1/+1
|
* (ido-make-file-list, ido-make-dir-list): Don't moveKim F. Storm2003-01-211-6/+3
| | | | | visited directories to end of list; it's the wrong thing to do if we want to find a file or directory in such directories.
* (ido-read-internal, ido-file-internal)Kim F. Storm2003-01-141-32/+32
| | | | | (ido-copy-current-file-name, ido-wide-find-dirs-or-files): Don't use `path' as name of local variables holding a file name.
* Remove final period from error message.Kim F. Storm2003-01-141-1/+1
|
* Rename ido-max-prompt-width to ido-max-file-prompt-width for consistency.Kim F. Storm2003-01-131-4/+4
|
* (ido-ignore-directories-merge): Doc fix.Kim F. Storm2003-01-131-45/+45
| | | | | | | | | | | | | | | | | | | | | | | (ido-max-prompt-width): Renamed from ido-max-prompt-path. (ido-enable-last-directory-history): Doc fix. (ido-work-directory-list-ignore-regexps): Doc fix. (ido-enable-tramp-completion): Doc fix. (ido-record-ftp-work-directories): Doc fix. (ido-merge-ftp-work-directories): Doc fix. (ido-rewrite-file-prompt-functions): Renamed from ido-make-file-prompt-hook. Directory name is now in dynamic variable `dirname' (instead of `path'). (ido-rewrite-file-prompt-rules): Renamed from ido-rewrite-prompt-path-rules. (ido-read-file-name-as-directory-commands): Doc fix. (ido-last-directory-list): Doc fix. (ido-work-directory-list): Doc fix. (ido-work-file-list): Doc fix. (ido-make-prompt): Directory name now in `dirname' var. (ido-edit-input): Doc fix. (ido-complete): Fix error message. (ido-copy-current-word): Doc fix. (ido-find-file): Doc fix.
* (ido-enable-tramp-completion): New defcustom.Kim F. Storm2003-01-121-200/+279
| | | | | | | | | | | | | | | (ido-enter-single-matching-directory): Change default to 'slash. (ido-is-tramp-root): New defun. (ido-is-root-directory, ido-is-ftp-directory, ido-is-slow-ftp-host) (ido-may-cache-directory, ido-final-slash, ido-read-internal) (ido-complete, ido-make-file-list1, ido-make-dir-list1): Handle tramp completion. (ido-file-name-all-completions1): New defun for tramp completion. (ido-file-name-all-completions): Use it. (ido-set-matches1): Relax matching of text with trailing slash. (ido-exhibit): Handle tramp completion. Simplified code using nested cond forms using new `refresh' var. Fixed handling of /~user/ paths.
* (ido-read-file-name): Removed debug message.Kim F. Storm2002-12-161-2/+0
|
* (ido-xemacs): Remove defvar. All uses changed toKim F. Storm2002-11-271-14/+9
| | | | | | check (featurep 'xemacs) instead. (ido-visit-buffer): Use select-frame-set-input-focus unconditionally.
* (ido-read-file-name): Removed leftover debug message "gotit".Kim F. Storm2002-11-011-1/+0
|
* (ido-wide-find-dirs-or-files): Fixed problem that causedKim F. Storm2002-10-291-1/+0
| | | | incomplete list of matches to be returned.
* (ido-cannot-complete-command): New defcustom, default toKim F. Storm2002-10-271-3/+11
| | | | | | ido-completion-help (similar to iswitchb-cannot-complete-hook). (ido-complete): Call value of ido-cannot-complete-command rather than ido-completion-help when no common completion.
* (ido-restrict-to-matches): New command.Kim F. Storm2002-10-221-0/+12
| | | | (ido-define-mode-map): Bind it to C-SPC and C-@ in ido-mode-map.
* (ido-ignore-item-temp-list): New variable.Kim F. Storm2002-09-021-29/+37
| | | | | | | | | | | (ido-read-internal): Don't set ido-default-item if the default is member of ido-ignore-item-temp-list. Don't return first match for C-j if no text is entered. (ido-buffer-internal): Check for empty string return. (ido-make-buffer-list1): Use member instead of memq. (ido-window-buffer-p): Likewise. (ido-get-bufname): Ignore buffers on ido-ignore-item-temp-list. (ido-ignore-item-p): Ignore items on ido-ignore-item-temp-list.
* (ido-separator): Fix type.Markus Rost2002-07-231-1/+1
|
* Comment change.Richard M. Stallman2002-07-121-1/+1
|
* (ido-make-merged-file-list): Fix last change again.Kim F. Storm2002-07-101-0/+1
|
* (ido-enter-single-matching-directory): Delete leftover comment.Juanma Barranquero2002-07-101-1/+0
|
* (ido-make-merged-file-list): Fix last change.Kim F. Storm2002-07-091-1/+1
|
* (ido-make-merged-file-list): Move fully matching item to head of list.Kim F. Storm2002-07-081-0/+6
|
* (ido-find-common-substring): Return substring instead of t.Kim F. Storm2002-07-081-25/+29
|
* (ido-set-matches1): Use regexp-quote instead of identity.Kim F. Storm2002-07-071-1/+23
| | | | | (ido-complete-space): New function. (ido-define-mode-map): Bind it to SPACE.
* Changed xemacs specific code to avoid byte compiler warning in GNUKim F. Storm2002-07-071-4/+6
| | | | emacs.
* (ido-minibuffer-setup-hook): Doc fix.Juanma Barranquero2002-07-011-3/+3
|
* New file.Kim F. Storm2002-06-271-0/+3606