diff options
| author | Juanma Barranquero | 2008-09-08 14:19:37 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-09-08 14:19:37 +0000 |
| commit | 79164cf45d00cfe04ced02abe9020d17d799cb7d (patch) | |
| tree | 884980333aa2cdcf54dc503fb5018f6fbe346b65 | |
| parent | 1113ff4400264a1dfbba818df9914cc74d9c3431 (diff) | |
| download | emacs-79164cf45d00cfe04ced02abe9020d17d799cb7d.tar.gz emacs-79164cf45d00cfe04ced02abe9020d17d799cb7d.zip | |
* ido.el (ido-file-internal): Fix typo in prompt.
(ido-merge-ftp-work-directories, ido-max-work-file-list): Doc fixes.
(ido-max-prospects, ido-max-file-prompt-width, ido-ignore-buffers)
(ido-enable-prefix, ido-setup-hook, ido-rewrite-file-prompt-functions)
(ido-magic-forward-char, ido-magic-delete-char, ido-pop-dir):
Fix typos in docstrings.
| -rw-r--r-- | lisp/ChangeLog | 13 | ||||
| -rw-r--r-- | lisp/ido.el | 30 |
2 files changed, 26 insertions, 17 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a0f4ead0b32..281d334416d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2008-09-08 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * ido.el (ido-file-internal): Fix typo in prompt. | ||
| 4 | (ido-merge-ftp-work-directories, ido-max-work-file-list): Doc fixes. | ||
| 5 | (ido-max-prospects, ido-max-file-prompt-width, ido-ignore-buffers) | ||
| 6 | (ido-enable-prefix, ido-setup-hook, ido-rewrite-file-prompt-functions) | ||
| 7 | (ido-magic-forward-char, ido-magic-delete-char, ido-pop-dir): | ||
| 8 | Fix typos in docstrings. | ||
| 9 | |||
| 1 | 2008-09-08 Martin Rudalics <rudalics@gmx.at> | 10 | 2008-09-08 Martin Rudalics <rudalics@gmx.at> |
| 2 | 11 | ||
| 3 | * help-fns.el (describe-function-1): Don't print extra newline | 12 | * help-fns.el (describe-function-1): Don't print extra newline |
| @@ -13,7 +22,7 @@ | |||
| 13 | * complete.el (PC-do-completion): Don't replace buffer | 22 | * complete.el (PC-do-completion): Don't replace buffer |
| 14 | contents (bug#227). | 23 | contents (bug#227). |
| 15 | 24 | ||
| 16 | 2008-09-05 Juanma Barranquero <lekktu@gmail.com> | 25 | 2008-09-07 Juanma Barranquero <lekktu@gmail.com> |
| 17 | 26 | ||
| 18 | * loadhist.el (unload-feature-special-hooks): | 27 | * loadhist.el (unload-feature-special-hooks): |
| 19 | Add `choose-completion-string-functions'. | 28 | Add `choose-completion-string-functions'. |
| @@ -137,7 +146,7 @@ | |||
| 137 | 146 | ||
| 138 | * add-log.el (change-log-default-name): Autoload safety. | 147 | * add-log.el (change-log-default-name): Autoload safety. |
| 139 | 148 | ||
| 140 | 2008-09-05 Wilson Snyder <wsnyder@wsnyder.org> | 149 | 2008-09-05 Wilson Snyder <wsnyder@wsnyder.org> |
| 141 | 150 | ||
| 142 | * verilog-mode.el (verilog-library-extensions): Enable .sv | 151 | * verilog-mode.el (verilog-library-extensions): Enable .sv |
| 143 | filename extensions to call verilog-mode. | 152 | filename extensions to call verilog-mode. |
diff --git a/lisp/ido.el b/lisp/ido.el index dbf6cb87801..7a45949f259 100644 --- a/lisp/ido.el +++ b/lisp/ido.el | |||
| @@ -386,7 +386,7 @@ call the function `ido-everywhere'." | |||
| 386 | "*List of regexps or functions matching buffer names to ignore. | 386 | "*List of regexps or functions matching buffer names to ignore. |
| 387 | For example, traditional behavior is not to list buffers whose names begin | 387 | For example, traditional behavior is not to list buffers whose names begin |
| 388 | with a space, for which the regexp is `\\` '. See the source file for | 388 | with a space, for which the regexp is `\\` '. See the source file for |
| 389 | example functions that filter buffernames." | 389 | example functions that filter buffer names." |
| 390 | :type '(repeat (choice regexp function)) | 390 | :type '(repeat (choice regexp function)) |
| 391 | :group 'ido) | 391 | :group 'ido) |
| 392 | 392 | ||
| @@ -497,7 +497,7 @@ Value can be toggled within `ido' using `ido-toggle-regexp'." | |||
| 497 | 497 | ||
| 498 | (defcustom ido-enable-prefix nil | 498 | (defcustom ido-enable-prefix nil |
| 499 | "*Non-nil means only match if the entered text is a prefix of file name. | 499 | "*Non-nil means only match if the entered text is a prefix of file name. |
| 500 | This behavior is like the standard emacs-completion. | 500 | This behavior is like the standard Emacs completion. |
| 501 | If nil, match if the entered text is an arbitrary substring. | 501 | If nil, match if the entered text is an arbitrary substring. |
| 502 | Value can be toggled within `ido' using `ido-toggle-prefix'." | 502 | Value can be toggled within `ido' using `ido-toggle-prefix'." |
| 503 | :type 'boolean | 503 | :type 'boolean |
| @@ -533,14 +533,14 @@ Note that the non-ido equivalent command is recorded." | |||
| 533 | :group 'ido) | 533 | :group 'ido) |
| 534 | 534 | ||
| 535 | (defcustom ido-max-prospects 12 | 535 | (defcustom ido-max-prospects 12 |
| 536 | "*Non-zero means that the prospect list will be limited to than number of items. | 536 | "*Non-zero means that the prospect list will be limited to that number of items. |
| 537 | For a long list of prospects, building the full list for the minibuffer can take a | 537 | For a long list of prospects, building the full list for the minibuffer can take a |
| 538 | non-negligible amount of time; setting this variable reduces that time." | 538 | non-negligible amount of time; setting this variable reduces that time." |
| 539 | :type 'integer | 539 | :type 'integer |
| 540 | :group 'ido) | 540 | :group 'ido) |
| 541 | 541 | ||
| 542 | (defcustom ido-max-file-prompt-width 0.35 | 542 | (defcustom ido-max-file-prompt-width 0.35 |
| 543 | "*Non-zero means that the prompt string be limited to than number of characters. | 543 | "*Non-zero means that the prompt string be limited to that number of characters. |
| 544 | If value is a floating point number, it specifies a fraction of the frame width." | 544 | If value is a floating point number, it specifies a fraction of the frame width." |
| 545 | :type '(choice | 545 | :type '(choice |
| 546 | (integer :tag "Characters" :value 20) | 546 | (integer :tag "Characters" :value 20) |
| @@ -611,7 +611,7 @@ A tramp file name uses the following syntax: /method:user@host:filename." | |||
| 611 | :group 'ido) | 611 | :group 'ido) |
| 612 | 612 | ||
| 613 | (defcustom ido-merge-ftp-work-directories nil | 613 | (defcustom ido-merge-ftp-work-directories nil |
| 614 | "*If nil means merging ignores ftp file names in the work directory list." | 614 | "*If nil, merging ignores ftp file names in the work directory list." |
| 615 | :type 'boolean | 615 | :type 'boolean |
| 616 | :group 'ido) | 616 | :group 'ido) |
| 617 | 617 | ||
| @@ -670,7 +670,7 @@ If zero, UNC host shares are not cached." | |||
| 670 | 670 | ||
| 671 | (defcustom ido-max-work-file-list 10 | 671 | (defcustom ido-max-work-file-list 10 |
| 672 | "*Maximum number of names of recently opened files to record. | 672 | "*Maximum number of names of recently opened files to record. |
| 673 | This is the list the file names (sans directory) which have most recently | 673 | This is the list of the file names (sans directory) which have most recently |
| 674 | been opened. See `ido-work-file-list' and `ido-save-directory-list-file'." | 674 | been opened. See `ido-work-file-list' and `ido-save-directory-list-file'." |
| 675 | :type 'integer | 675 | :type 'integer |
| 676 | :group 'ido) | 676 | :group 'ido) |
| @@ -757,7 +757,7 @@ ask user whether to create buffer, or 'never to never create new buffer." | |||
| 757 | (defcustom ido-setup-hook nil | 757 | (defcustom ido-setup-hook nil |
| 758 | "*Hook run after the ido variables and keymap have been setup. | 758 | "*Hook run after the ido variables and keymap have been setup. |
| 759 | The dynamic variable `ido-cur-item' contains the current type of item that | 759 | The dynamic variable `ido-cur-item' contains the current type of item that |
| 760 | is read by ido, possible values are file, dir, buffer, and list. | 760 | is read by ido; possible values are file, dir, buffer, and list. |
| 761 | Additional keys can be defined in `ido-completion-map'." | 761 | Additional keys can be defined in `ido-completion-map'." |
| 762 | :type 'hook | 762 | :type 'hook |
| 763 | :group 'ido) | 763 | :group 'ido) |
| @@ -855,7 +855,7 @@ variables: | |||
| 855 | max-width - the max width of the resulting dirname; nil means no limit | 855 | max-width - the max width of the resulting dirname; nil means no limit |
| 856 | prompt - the basic prompt (e.g. \"Find File: \") | 856 | prompt - the basic prompt (e.g. \"Find File: \") |
| 857 | literal - the string shown if doing \"literal\" find; set to nil to omit | 857 | literal - the string shown if doing \"literal\" find; set to nil to omit |
| 858 | vc-off - the string shown if version control is inhibited; set to nit to omit | 858 | vc-off - the string shown if version control is inhibited; set to nil to omit |
| 859 | prefix - either nil or a fixed prefix for the dirname | 859 | prefix - either nil or a fixed prefix for the dirname |
| 860 | 860 | ||
| 861 | The following variables are available, but should not be changed: | 861 | The following variables are available, but should not be changed: |
| @@ -2362,7 +2362,7 @@ If cursor is not at the end of the user input, move to end of input." | |||
| 2362 | (ido-record-command method dirname) | 2362 | (ido-record-command method dirname) |
| 2363 | (ido-record-work-directory) | 2363 | (ido-record-work-directory) |
| 2364 | (funcall method dirname)) | 2364 | (funcall method dirname)) |
| 2365 | ((y-or-n-p (format "Directory %s does not exist. Create it? " filename)) | 2365 | ((y-or-n-p (format "Directory %s does not exist. Create it? " filename)) |
| 2366 | (ido-record-command method dirname) | 2366 | (ido-record-command method dirname) |
| 2367 | (ido-record-work-directory dirname) | 2367 | (ido-record-work-directory dirname) |
| 2368 | (make-directory-internal dirname) | 2368 | (make-directory-internal dirname) |
| @@ -2541,10 +2541,10 @@ If no merge has yet taken place, toggle automatic merging option." | |||
| 2541 | (defun ido-magic-forward-char (arg) | 2541 | (defun ido-magic-forward-char (arg) |
| 2542 | "Move forward in user input or perform magic action. | 2542 | "Move forward in user input or perform magic action. |
| 2543 | If no user input is present, or at end of input, perform magic actions: | 2543 | If no user input is present, or at end of input, perform magic actions: |
| 2544 | C-x C-b ... C-f switch to ido-find-file. | 2544 | C-x C-b ... C-f switch to `ido-find-file'. |
| 2545 | C-x C-f ... C-f fallback to non-ido find-file. | 2545 | C-x C-f ... C-f fallback to non-ido `find-file'. |
| 2546 | C-x C-d ... C-f fallback to non-ido brief dired. | 2546 | C-x C-d ... C-f fallback to non-ido brief `dired'. |
| 2547 | C-x d ... C-f fallback to non-ido dired." | 2547 | C-x d ... C-f fallback to non-ido `dired'." |
| 2548 | (interactive "P") | 2548 | (interactive "P") |
| 2549 | (cond | 2549 | (cond |
| 2550 | ((or arg (not (eobp))) | 2550 | ((or arg (not (eobp))) |
| @@ -2588,7 +2588,7 @@ C-x C-b C-b fallback to non-ido `switch-to-buffer'." | |||
| 2588 | (defun ido-magic-delete-char (arg) | 2588 | (defun ido-magic-delete-char (arg) |
| 2589 | "Delete following char in user input or perform magic action. | 2589 | "Delete following char in user input or perform magic action. |
| 2590 | If at end of user input, perform magic actions: | 2590 | If at end of user input, perform magic actions: |
| 2591 | C-x C-f ... C-d enter dired on current directory." | 2591 | C-x C-f ... C-d enter `dired' on current directory." |
| 2592 | (interactive "P") | 2592 | (interactive "P") |
| 2593 | (cond | 2593 | (cond |
| 2594 | ((or arg (not (eobp))) | 2594 | ((or arg (not (eobp))) |
| @@ -2886,7 +2886,7 @@ If input stack is non-empty, delete current directory component." | |||
| 2886 | 2886 | ||
| 2887 | (defun ido-pop-dir (arg) | 2887 | (defun ido-pop-dir (arg) |
| 2888 | "Pop directory from input stack back to input. | 2888 | "Pop directory from input stack back to input. |
| 2889 | With \\[universal-argument], pop all element." | 2889 | With \\[universal-argument], pop all elements." |
| 2890 | (interactive "P") | 2890 | (interactive "P") |
| 2891 | (when ido-input-stack | 2891 | (when ido-input-stack |
| 2892 | (setq ido-exit (if arg 'pop-all 'pop)) | 2892 | (setq ido-exit (if arg 'pop-all 'pop)) |