1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-29 11:02:01 +00:00
Commit Graph

82 Commits

Author SHA1 Message Date
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
Kim F. Storm
89a28f0b24 (ido-read-file-name): Fallback to read-file-name on C-f
also when reading directory name.
2005-06-08 12:00:46 +00:00
Kim F. Storm
ccba8bb6e2 (ido-first-match, ido-only-match, ido-subdir)
(ido-indicator): Remove -face suffix from face names.
2005-06-06 12:48:02 +00:00
Kim F. Storm
ec441ab583 (ido-make-merged-file-list-1): New defun split from
ido-make-merged-file-list.
(ido-make-merged-file-list): Bind throw-on-input around call to
ido-make-merged-file-list-1.  Return input-pending-p if
interrupted by more input available.
(ido-read-internal): Handle input-pending-p return value from
ido-make-merged-file-list.
2005-06-03 23:21:58 +00:00
Kim F. Storm
cc2691b7ee (ido-magic-forward-char): Enter ido-find-file at end of input.
(ido-magic-backward-char): Enter ido-switch-buffer at start of input.
2005-05-19 21:08:14 +00:00
Kim F. Storm
ae9d279d44 (ido-magic-forward-char, ido-magic-backward-char)
(ido-magic-delete-char): New commands for C-f, C-b, C-d.
(ido-wide-find-dir-or-delete-dir): New command for M-d.
(ido-define-mode-map): Bind them.  Add C-x prefix to fallback commands.
(ido-read-file-name): Handle commands with ido property value
equal to find-file as reading a file name, to allow C-d to enter dired.
(ibuffer-find-file): Add ido property with value find-file.
2005-05-15 23:03:36 +00:00
Kim F. Storm
3729cc8734 (ido-setup-hook): New hook.
(ido-define-mode-map-hook): Remove hook; use ido-setup-hook instead.
(ido-input-stack): New var.
(ido-define-mode-map): Bind M-b to ido-push-dir. Move old
ido-next-work-file binding to M-O.
Bind M-f to ido-wide-find-file-or-pop-dir.
(ido-define-mode-map): Don't run ido-define-mode-map-hook.
(ido-read-internal): Run ido-setup-hook.
Catch quit in read-file-name and read-string to cancel edit.
Handle new push, pop, and pop-all exit codes (for M-b/M-f).
Automatically pop-all when completing a directory name (RET).
(ido-file-internal): Add with-no-warnings around ffap and dired code.
(ido-exit-minibuffer): Use exit-minibuffer instead of throw.
(ido-wide-find-file, ido-wide-find-dir): Catch quit to cancel find.
(ido-push-dir, ido-pop-dir, ido-wide-find-file-or-pop-dir): New
functions for M-b/M-f to move among the directory components.
(ido-make-merged-file-list): Catch quit to cancel merge.
(ido-make-dir-list): Delete "." when ido-input-stack is non-empty.
(ido-completion-help): No warnings for ido-completion-buffer-full.
2005-05-05 22:15:58 +00:00
Kim F. Storm
1aeb255d5f Fix emacs version in commentary. 2005-05-03 14:29:11 +00:00
Kim F. Storm
d6810a2d5d (ido-everywhere): Fix last change. 2005-04-28 15:09:34 +00:00
Kim F. Storm
bb7216f7eb (ido-everywhere): Save and restore old read-buffer-function
and read-file-name-function values.  Don't overwrite existing
non-nil values if ido-mode is enabled without ido-everywhere.
2005-04-24 19:09:13 +00:00
Kim F. Storm
2a5095fba0 (ido-read-internal): Fix `list' completion. 2005-04-22 15:09:48 +00:00
Dan Nicolaescu
ea81d57ec5 * mh-customize.el (mh-speedbar-selected-folder-face): Special case
high number of colors displays.

* textmodes/table.el (table-cell-face): Add special case for
displays supporting a high number of colors.
* progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face)
(vhdl-font-lock-reserved-words-face)
(vhdl-speedbar-architecture-face)
(vhdl-speedbar-instantiation-face)
(vhdl-speedbar-architecture-selected-face)
(vhdl-speedbar-instantiation-selected-face): Likewise.
* progmodes/sh-script.el (sh-heredoc-face): Likewise.
* progmodes/idlw-help.el (idlwave-help-link-face): Likewise.
* progmodes/ebrowse.el (ebrowse-tree-mark-face)
(ebrowse-root-class-face, ebrowse-member-attribute-face)
(ebrowse-progress-face): Likewise.
* progmodes/compile.el (compilation-info-face): Likewise.
* progmodes/cc-fonts.el (c-invalid-face): Likewise.
* emacs-lisp/re-builder.el (reb-match-3): Likewise.
* calendar/calendar.el (diary-face): Likewise.
* woman.el (woman-italic-face, woman-bold-face)
(woman-unknown-face): Likewise.
* wid-edit.el (widget-button-pressed-face): Likewise.
* whitespace.el (whitespace-highlight-face): Likewise.
* smerge-mode.el (smerge-mine-face, smerge-base-face): Likewise.
* pcvs-info.el (cvs-marked-face): Likewise.
* info.el (info-xref): Likewise.
* ido.el (ido-subdir-face, ido-indicator-face): Likewise.
* hilit-chg.el (highlight-changes-face)
(highlight-changes-delete-face): Likewise.
* hi-lock.el (hi-yellow, hi-green, hi-blue-b, hi-green-b)
(hi-red-b): Likewise.
* generic-x.el (show-tabs-tab-face, show-tabs-space-face): Likewise.
* font-lock.el (font-lock-keyword-face)
(font-lock-function-name-face, font-lock-warning-face): Likewise.
* cus-edit.el (custom-invalid-face, custom-modified-face)
(custom-set-face, custom-changed-face, custom-variable-tag-face)
(custom-group-tag-face-1, custom-group-tag-face): Likewise.
* comint.el (comint-highlight-prompt): Likewise.
2005-04-08 14:26:13 +00:00
Kim F. Storm
94da3cf111 (ido-file-internal): Fall back to non-ido command if
initial directory is on slow ftp (or tramp) host.
2005-03-31 22:22:45 +00:00
Kim F. Storm
4260edddba (ido-fallback-command): Pass user input to fallback command. 2005-02-16 21:36:41 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Kim F. Storm
1de0ae85b3 (ido-file-extensions-order): New defcustom.
(ido-file-extension-lessp, ido-file-extension-aux)
(ido-file-extension-order): New advanced file ordering.
(ido-file-lessp): New simple file ordering.
(ido-sort-list): Remove.
(ido-make-file-list): Use ido-file-lessp or ido-file-extension-lessp.
(ido-make-dir-list, ido-completion-help): Use ido-file-lessp.
2005-02-08 23:51:31 +00:00
Kim F. Storm
b3da0db521 (ido-read-internal): Fix require-match check when
ido-directory-too-big is set.
2004-11-23 15:18:16 +00:00
Kim F. Storm
ad1432eea1 (group ido): Add :version keyword.
(ido-mode): Remove :version keyword.
2004-10-30 22:39:27 +00:00
Kim F. Storm
cb65c373de (ido-max-directory-size): New defcustom.
(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.
2004-09-24 23:48:48 +00:00
Kim F. Storm
db9f395b92 (ido-choice-list): New dynamic var for `list' context.
(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.
2004-09-22 22:49:07 +00:00
Kim F. Storm
6d8b6cbde4 (ido-enable-dot-prefix): Doc fix.
(ido-enable-dot-prefix): New defcustom.
(ido-set-matches1): Use it.
2004-09-11 21:43:42 +00:00
David Kastrup
90a02640b4 Update AUCTeX information. 2004-08-22 10:58:41 +00:00
Kim F. Storm
0b3c2fe469 Update copyright and commentary. 2004-05-04 13:33:20 +00:00
Kim F. Storm
84263efb62 (ido-read-file-name): If command has ido property, don't use ido
if value is ignore, or read as directory if value is dir.
Set ido ignore property for dired-do-rename command.
2004-05-04 13:27:02 +00:00
Kim F. Storm
3f2b52ad64 (ido-read-internal): Fix call to read-file-name for edit.
Must expand directory for completion to work; and don't mess with
process-environment.
2004-05-04 13:05:19 +00:00
Kim F. Storm
d81aa76a11 (ido-confirm-unique-completion): New defcustom.
(ido-complete): Use it.
(ido-write-file): Set it to t unconditionally.
2004-04-10 21:41:06 +00:00
Kim F. Storm
866f22396f (ido-nonreadable-directory-p): New defun to check for
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.
2003-12-31 00:00:12 +00:00
Kim F. Storm
a70343bdfd Handle non-readable directories.
(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.
2003-12-27 21:56:51 +00:00
Kim F. Storm
310682e6eb * ido.el (ido-use-filename-at-point, ido-use-url-at-point):
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.
2003-11-25 22:10:21 +00:00