1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-12 09:28:24 +00:00
Commit Graph

128 Commits

Author SHA1 Message Date
Chong Yidong
874985512d (ido-init-completion-maps): Remap delete-backward-char. 2007-03-17 18:04:50 +00:00
Kim F. Storm
16f462c5f9 (ido-buffer-internal): Set this-command to fallback command.
Add selected buffer to buffer-name-history.
(ido-file-internal): Set this-command to fallback command.
Add file names to to file-name-history.
2007-02-25 23:48:54 +00:00
Kim F. Storm
74a5d578f1 Doc fixes. 2007-02-05 22:36:13 +00:00
Juanma Barranquero
ccaa42ede5 (ido-set-common-completion): Use let', not let*'. 2007-01-31 15:31:15 +00:00
Kim F. Storm
155943b98e (ido-initial-position): New variable.
(ido-read-internal): Set it if default item is specified.
(ido-minibuffer-setup): Position cursor accordingly if set.
(ido-edit-input): C-e moves to end of input if not already there.
(ido-magic-backward-char): C-b does like M-b if prev char is /.
Don't switch to buffer mode if repeating C-b at start of input.
(ido-toggle-ignore): C-a only toggles ignore at start or end of
input; else it moves to start of input.
(ido-kill-buffer-at-head, ido-delete-file-at-head): If cursor is
not at end of input, delete rest of input, rather than normal op.
2007-01-24 00:07:34 +00:00
Kim F. Storm
cba9a3a5ee (ido-active): Add xemacs test from ido-minibuffer-setup.
(ido-initiate-auto-merge, ido-exhibit, ido-minibuffer-setup)
(ido-tidy): Use ido-active.
2007-01-22 22:37:25 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Kim F. Storm
3d37467b44 (ido-set-matches-1): Fix last change. If default item is
current buffer, it is ok to be first.
2006-12-27 02:22:36 +00:00
Kim F. Storm
39449da0b4 (ido-set-matches-1): Never put current buffer first if
there are other matches.
2006-12-27 00:26:54 +00:00
Kim F. Storm
1fd1a9f248 (ido-toggle-ignore, ido-completion-help): Print message while
reading big directory.
2006-12-16 01:34:10 +00:00
Kim F. Storm
c05b06127d (ido-completion-help): Build ido-cur-list and ido-matches
if ido-directory-too-big is set on entry.
2006-12-16 01:24:26 +00:00
Kim F. Storm
542b315f36 (ido-init-completion-maps): Remap backward-kill-word
instead of binding M-backspace.
2006-12-10 23:58:23 +00:00
Kim F. Storm
10b19e8897 2006-11-30 Michaël Cadilhac <michael.cadilhac@lrde.org>
(ido-local-file-exists-p): New. Tell if a file exists
locally, i.e. without using file name handlers.
(ido-read-internal): Allow mono letter host names, avoiding the
`c:' problem by testing if the file exists locally.
(ido-complete, ido-make-file-list, ido-exhibit): Ditto.
2006-11-30 20:50:31 +00:00
Kim F. Storm
033ecf787a (ido-file-internal): Use current buffer's file name as default
choice for ido-find-alternate-file.  Suggested by Matt Hodges.
2006-11-16 09:07:16 +00:00
Kim F. Storm
1b5929b989 (ido-copy-current-word): C-o copies region if active. 2006-11-13 22:05:06 +00:00
Glenn Morris
29660eb7cb (ido-enable-prefix): Improve previous doc fix. 2006-11-11 04:00:13 +00:00
Glenn Morris
a697536d3a (ido-enable-prefix): Doc fix (Nil -> nil). 2006-11-10 09:09:08 +00:00
Juanma Barranquero
a09e21bfbd (ido-ignore-extensions, ido-show-dot-for-dired, ido-max-dir-file-cache,
ido-decorations, ido-rewrite-file-prompt-functions, ido-use-mycompletion-depth,
ido-magic-backward-char, ido-enter-dired, ido-enter-insert-buffer,
ido-enter-insert-file, ido-dired, ido-list-directory, ido-first-match,
ido-only-match, ido-subdir, ido-indicator): Fix typos in docstrings.
(ido-buffer-internal, ido-completion-help): Fix typos in messages.
(ido-read-internal): Fix typo in error message.
2006-11-08 09:46:30 +00:00
Kim F. Storm
ff07e0ac40 (ido-reread-directory): Work in `dir' mode too. 2006-10-16 12:42:24 +00:00
Kim F. Storm
1c36d72a5a 2006-10-15 Michaël Cadilhac <michael.cadilhac@lrde.org>
(ido-exhibit): Allow `-', `_', and trailing `$' in user id.
2006-10-15 20:33:12 +00:00
Kim F. Storm
76a63a6ee0 (ido-file-extension-aux): Fix comparison. 2006-10-06 22:54:36 +00:00
Kim F. Storm
ec579201ee (ido-wide-find-dirs-or-files): Use shell-quote-argument. 2006-10-06 12:49:12 +00:00
Kim F. Storm
d471b4fe3a (ido-file-internal): Only bind minibuffer-completing-file-name
to t while calling ido-read-internal.
2006-09-29 12:25:35 +00:00
Kim F. Storm
bf8b0f8b81 (ido-ignore-item-p): Allow any kind of functions in ignore lists.
From Michaël Cadilhac.
2006-09-14 14:42:49 +00:00
Kim F. Storm
5a1b28a4cb (ido-edit-input, ido-complete, ido-take-first-match)
(ido-push-dir-first, ido-kill-buffer-at-head, ido-exhibit)
(ido-delete-file-at-head): Pass head of ido-matches through ido-name
in case of merged directories.  Reported by Michaël Cadilhac.
2006-09-10 21:40:44 +00:00
Kim F. Storm
930f852ec4 (ido-visit-buffer): Use buffer name if buffer arg is a buffer. 2006-09-05 10:26:35 +00:00
Kim F. Storm
5444f27889 (ido-set-matches-1): Fix full matching for subdirs.
Add suffix matching for subdirs.
2006-08-22 09:45:13 +00:00
Kim F. Storm
bac4dbd166 (ido-copy-current-file-name): Use buffer-name if buffer-file-name is nil. 2006-07-11 20:13:59 +00:00
Kim F. Storm
11ae5e8175 (ido-read-internal): Only pop stack elements automatically if they
actually match an existing directory or file name.
2006-06-08 11:29:27 +00:00
Kim F. Storm
f1d0c70d70 (ido-file-internal): Pass full file name to write-file. 2006-06-07 22:45:27 +00:00
Kim F. Storm
2490c7406c (ido-copy-current-file-name): Repeating C-w inserts whole file name. 2006-06-07 22:25:55 +00:00
Kim F. Storm
a3f4d4d43c (ido-take-first-match, ido-push-dir-first): New commands.
(ido-init-completion-maps): Bind them to M-SPC and M-v.
2006-06-07 22:05:05 +00:00
Kim F. Storm
a11ad595d4 (ido-default-file-method, ido-default-buffer-method):
Make choice values consistent with corresponding command names.
(ido-visit-buffer): Update accordingly.  Default to selected-window.
2006-06-05 22:22:41 +00:00
Kim F. Storm
fcbc95a904 (ido-read-file-name): Bind ido-show-dot-for-dired to nil
if default-filename is specified.
2006-05-20 22:33:54 +00:00
Kim F. Storm
2d38f869f6 (ido-read-internal): Use only nondirectory part of default item. 2006-05-17 21:25:59 +00:00
Kim F. Storm
b97f1994c4 (ido-mode): Remove ido-ignore-unc-host-regexps from the :set-after list.
(ido-downcase-unc-hosts): New user option.  Default on.
(ido-ignore-unc-host-regexps): Don't reset ido-unc-hosts-cache
when it is set, as regexps are now applied on the fly.
(ido-unc-hosts): Keep all known hosts in ido-unc-hosts-cache.
Make C-a DTRT--filter hosts through ido-ignore-unc-host-regexps
on the fly, but only when ido-process-ignore-lists is set.
Do case insensitive filtering if ido-downcase-unc-hosts is set.
Only downcase names if ido-downcase-unc-hosts is set.
2006-04-06 10:35:22 +00:00
Juanma Barranquero
d36995c61a (ido-unc-hosts-cache): Fix typo in docstring. 2006-04-06 08:47:07 +00:00
Kim F. Storm
1b00bc649c (ido-mode): Set after ido-unc-hosts and ido-ignore-unc-host-regexps.
(ido-save-history): Save ido-unc-hosts-cache.
(ido-load-history): Load ido-unc-hosts-cache.
(ido-reread-directory): Refresh unc hosts cache in // dir.
2006-04-05 14:17:08 +00:00
Kim F. Storm
4c2ee078aa (ido-unc-hosts-cache): New defvar.
(ido-unc-hosts): If value of defcustom is a function, call it to
get list of UNC hosts.  Add function-item choices to specify
ido-unc-hosts-net-view or user function.
(ido-ignore-unc-host-regexps): New defcustom.
(ido-unc-hosts-net-view, ido-unc-hosts): New functions.
(ido-is-unc-root, ido-is-unc-host, ido-file-name-all-completions)
(ido-exhibit): Call ido-unc-hosts to get list of UNC hosts.
2006-03-31 23:47:02 +00:00
Juanma Barranquero
a2cf021231 (ido-report-no-match, ido-switch-buffer,
ido-read-file-name-as-directory-commands): Fix typos in docstrings.
2006-03-31 16:03:46 +00:00
Juanma Barranquero
3903655d82 (ido-cache-unc-host-shares-time, ido-max-work-file-list, ido-switch-buffer):
Fix typos in docstrings.
2006-03-31 11:46:44 +00:00
Kim F. Storm
dfebc0ae14 (ido-cache-ftp-work-directory-time): Doc fix.
(ido-unc-hosts): New user option to explicitly define list of know
UNC-style hosts for completion.
(ido-cache-unc-host-shares-time): New user option.
(ido-is-unc-root, ido-is-unc-host, ido-cache-unc-valid): New
helper functions for UNC file-name support.
(ido-may-cache-directory): Check for UNC host.  Simplify.
(ido-wash-history): Clean out old UNC hosts.
(ido-nonreadable-directory-p): UNC hosts are always readable.
(ido-directory-too-big-p): UNC hosts are never too big.
(ido-set-current-directory): Handle UNC root path.
(ido-file-name-all-completions): Complete UNC host names from
ido-unc-hosts list.  Cache UNC host shares.
(ido-make-file-list-1): Don't filter UNC root.
(ido-exhibit): Check for // in root directory, and switch to UNC
mode by setting ido-current-directory to //.
2006-03-18 01:48:52 +00:00
Kim F. Storm
6c2a568a1b (ido-edit-input): Use selected match, if any. 2006-03-16 22:23:22 +00:00
Kim F. Storm
782ea71aba (ido-save-history, ido-load-history): Simplify. Don't
use find-file-noselect to avoid interference from other modes.
2006-02-26 00:48:27 +00:00
Kim F. Storm
2d13e5880d (ido-buffer-internal): Set mark for ido-insert-buffer.
Don't use insert-buffer; do insert-buffer-substring directly.
(ido-file-internal): Set mark for ido-insert-file. Use insert-file-1.
2006-02-11 20:30:49 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Kim F. Storm
04c9514757 Move Acknowledgements and History after Commentary.
Minor changes to Commentary.
2005-12-08 16:23:03 +00:00
Kim F. Storm
facf67fd3c (ido-completion-map): Renamed from ido-mode-map.
(ido-common-completion-map, ido-file-completion-map)
(ido-file-dir-completion-map, ido-buffer-completion-map):
Renamed from ido-mode-....-map.
(ido-init-completion-maps): Renamed from ido-init-mode-maps.
(ido-setup-completion-map): Renamed from ido-define-mode-map.
(ido-read-internal): Bind minibuffer-local-filename-completion-map
to ido-completion-map.
2005-12-07 09:22:53 +00:00
Kim F. Storm
973495ca25 (ido-mode-map): Doc fix.
(ido-mode-common-map, ido-mode-file-map)
(ido-mode-file-dir-map, ido-mode-buffer-map): New keymaps.
(ido-define-mode-map): Rewrite.  Select one of the new maps as
parent for ido-mode-map instead of building from scratch.
(ido-init-mode-maps): New defun to initialize new maps.
(ido-mode): Call it.
(ido-switch-buffer): Doc fix -- use \<ido-mode-buffer-map>.
(ido-find-file): Doc fix -- use \<ido-mode-file-map>.
2005-11-26 19:25:36 +00:00
Kim F. Storm
c577a4d245 (ido-is-tramp-root): Simplify regexp matching tramp root.
(ido-set-current-directory): Don't add / after final @.
(ido-file-name-all-completions-1): Adapt to fixed tramp completion.
Explicitly handle ange-ftp completion oddities.
(ido-make-file-list): Don't rotate list at tramp root to avoid
triggering tramp file handler for expand-file-name via get-file-buffer.
2005-10-19 22:21:18 +00:00