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

110 Commits

Author SHA1 Message Date
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
Kim F. Storm
64fb500aac (ido-mode): Use custom-initialize-set. 2005-10-03 16:45:35 +00:00
Romain Francoise
ce5a3ac01e 2005-09-25 Romain Francoise <romain@orebokech.com>
* dired-aux.el (dired-copy-file-recursive):
	* dired.el (dired-delete-file):
	* ediff-mult.el (ediff-dir-diff-copy-file):
	* ediff-util.el (ediff-test-save-region):
	* forms.el (forms-mode):
	* ido.el (ido-file-internal, ido-delete-file-at-head):
	* log-edit.el (log-edit-done):
	* ses.el (ses-yank-resize):
	* play/gomoku.el (gomoku-human-plays, gomoku)
	(gomoku-human-resigns, gomoku-prompt-for-other-game)
	(gomoku-offer-a-draw):
	* play/landmark.el (lm-human-resigns, lm):
	* net/eudcb-ldap.el (eudc-ldap-check-base):
	* play/mpuz.el (mpuz-offer-abort, mpuz-try-letter, mpuz-close-game):
	* progmodes/ebrowse.el (ebrowse-find-pattern):
	* progmodes/idlw-shell.el (idlwave-shell-set-bp-check):
	* textmodes/reftex-index.el (reftex-index-initialize-phrases-buffer):
	End `yes-or-no-p' and `y-or-n-p' prompts with question mark and
	space.

	* vc.el (vc-delete-file):
	* play/gomoku.el (gomoku-terminate-game, gomoku)
	(gomoku-prompt-for-move, gomoku-human-takes-back):
	* play/landmark.el (lm-human-takes-back, lm-prompt-for-move)
	(lm-start-robot, lm-human-plays): Remove extraneous spaces in
	messages.
2005-09-24 23:26:28 +00:00
Juanma Barranquero
b2ddf2d264 (cua-inhibit-cua-keys): Add defvar. 2005-08-31 13:50:14 +00:00
Kim F. Storm
d6049c7884 (ido-ignore-item-p): Use save-match-data.
Bind case-fold-search to ido-case-fold locally.
2005-08-21 21:26:07 +00:00
Kim F. Storm
9d144e95df (ido-everywhere): Fix defcustom :set function to disable
rather than toggle mode when custom value is nil.
(ido-everywhere): Fix defun doc string.
2005-08-18 09:29:48 +00:00
Kim F. Storm
5702da696e (ido-enter-matching-directory): Rename from
ido-enter-single-matching-directory.  Change 'slash choice to
'only. 	Add 'first choice.
(ido-exhibit): Adapt to above changes.
2005-08-17 11:17:41 +00:00
Kim F. Storm
edc42f569e (ido-buffer-internal): Use with-no-warnings.
(ido-make-merged-file-list): Use while-no-input.
2005-08-15 12:29:54 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Kim F. Storm
76ce3ae6eb (dired-other-window): Put ido property on dired-other-window. 2005-07-17 00:32:57 +00:00
Kim F. Storm
83a12f3a55 (ido-file-internal, ido-read-file-name, ido-read-directory-name):
Let bind minibuffer-completing-file-name to t.
2005-07-15 13:09:03 +00:00
Kim F. Storm
f2801d2a99 Fix commentary. 2005-07-15 12:53:17 +00:00
Kim F. Storm
bf67f27b0c (ido-define-mode-map): Move ido-next-work-file to C-M-o.
Use with-no-warnings around ffap-guesser.
2005-07-15 09:19:53 +00:00
Kim F. Storm
3c88bdc560 * ido.el (ido-use-filename-at-point): New choice `guess'.
(ido-file-internal): Try ffap-guesser if selected.
2005-07-08 10:07:39 +00:00
Kim F. Storm
b2d4c118dd (ido-before-fallback-functions): New hook.
(ido-buffer-internal, ido-file-internal, ido-read-buffer)
(ido-read-file-name): Run it.
2005-07-08 09:44:47 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Kim F. Storm
665ed61ac2 2005-06-15 Matt Hodges <MPHodges@member.fsf.org>
* ido.el (ido-incomplete-regexp): New variable.
	(ido-set-matches-1): Handle invalid-regexp error and set
	ido-incomplete-regexp.
	(ido-incomplete-regexp): New face.
	(ido-completions): Use it.
	(ido-complete, ido-exit-minibuffer, ido-completions): Handle
	incomplete regexps.
	(ido-completions): Add check for complete match when entering a
	regexp.
2005-06-15 22:44:09 +00:00
Kim F. Storm
1939ac922f (ido-mode): Make a new keymap every time we enable ido,
as the coverage buffer/file/both may change.
2005-06-14 15:32:41 +00:00
Juanma Barranquero
616e8e5f5e (ido-mode, ido-file-extensions-order, ido-default-file-method,
ido-default-buffer-method, ido-max-prospects, ido-slow-ftp-hosts,
ido-setup-hook, ido-decorations,
ido-read-file-name-as-directory-commands,
ido-read-file-name-non-ido, ido-work-directory-list,
ido-ignore-item-temp-list, ido-current-directory,
ido-magic-forward-char, ido-enter-find-file,
ido-enter-switch-buffer, ido-visit-buffer, ido-switch-buffer,
ido-find-file, ido-read-buffer): Fix typos in docstrings.
2005-06-10 11:05:52 +00:00