diff options
| author | Michael Albinus | 2010-04-15 00:05:14 +0200 |
|---|---|---|
| committer | Michael Albinus | 2010-04-15 00:05:14 +0200 |
| commit | 5f2b693f1849f30e6ab616df8bb73f1e395fa33d (patch) | |
| tree | 236c6378628db64a9bb341cf6b06bfe68b909506 | |
| parent | 19d4c244ec7a13e509090511da9698c718eeee2e (diff) | |
| download | emacs-5f2b693f1849f30e6ab616df8bb73f1e395fa33d.tar.gz emacs-5f2b693f1849f30e6ab616df8bb73f1e395fa33d.zip | |
Fix Bug#5840.
* ido.el (ido-file-name-all-completions-1):
* minibuffer.el (minibuffer-completion-help):
* net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/ido.el | 2 | ||||
| -rw-r--r-- | lisp/minibuffer.el | 3 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 8 |
4 files changed, 16 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f2330b0763c..8b743adb1b0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2010-04-14 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | Fix Bug#5840. | ||
| 4 | * ido.el (ido-file-name-all-completions-1): | ||
| 5 | * minibuffer.el (minibuffer-completion-help): | ||
| 6 | * net/tramp.el (tramp-completion-mode-p): Use `non-essential'. | ||
| 7 | |||
| 1 | 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca> | 8 | 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 9 | ||
| 3 | * simple.el (non-essential): New var. | 10 | * simple.el (non-essential): New var. |
diff --git a/lisp/ido.el b/lisp/ido.el index a88ef2df496..ebfcbd4da88 100644 --- a/lisp/ido.el +++ b/lisp/ido.el | |||
| @@ -3458,7 +3458,7 @@ This is to make them appear as if they were \"virtual buffers\"." | |||
| 3458 | ;; Strip method:user@host: part of tramp completions. | 3458 | ;; Strip method:user@host: part of tramp completions. |
| 3459 | ;; Tramp completions do not include leading slash. | 3459 | ;; Tramp completions do not include leading slash. |
| 3460 | (let* ((len (1- (length dir))) | 3460 | (let* ((len (1- (length dir))) |
| 3461 | (tramp-completion-mode t) | 3461 | (non-essential t) |
| 3462 | (compl | 3462 | (compl |
| 3463 | (or (file-name-all-completions "" dir) | 3463 | (or (file-name-all-completions "" dir) |
| 3464 | ;; work around bug in ange-ftp. | 3464 | ;; work around bug in ange-ftp. |
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 154cc37e9a1..05cc13bd2e4 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el | |||
| @@ -1028,7 +1028,8 @@ variables.") | |||
| 1028 | "Display a list of possible completions of the current minibuffer contents." | 1028 | "Display a list of possible completions of the current minibuffer contents." |
| 1029 | (interactive) | 1029 | (interactive) |
| 1030 | (message "Making completion list...") | 1030 | (message "Making completion list...") |
| 1031 | (let* ((start (field-beginning)) | 1031 | (let* ((non-essential t) |
| 1032 | (start (field-beginning)) | ||
| 1032 | (string (field-string)) | 1033 | (string (field-string)) |
| 1033 | (completions (completion-all-completions | 1034 | (completions (completion-all-completions |
| 1034 | string | 1035 | string |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index c1caeb7d15b..5354d898341 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -5527,7 +5527,9 @@ Falls back to normal file name handler if no Tramp file name handler exists." | |||
| 5527 | ;; disable this part of the completion, unless the user implicitly | 5527 | ;; disable this part of the completion, unless the user implicitly |
| 5528 | ;; indicated his interest in using a fancier completion system. | 5528 | ;; indicated his interest in using a fancier completion system. |
| 5529 | (or (eq tramp-syntax 'sep) | 5529 | (or (eq tramp-syntax 'sep) |
| 5530 | (featurep 'tramp) ; If it's loaded, we may as well use it. | 5530 | (featurep 'tramp) ;; If it's loaded, we may as well use |
| 5531 | ;; it. `partial-completion-mode' does not exist in | ||
| 5532 | ;; XEmacs. It is obsoleted with Emacs 24.1. | ||
| 5531 | (and (boundp 'partial-completion-mode) partial-completion-mode) | 5533 | (and (boundp 'partial-completion-mode) partial-completion-mode) |
| 5532 | ;; FIXME: These may have been loaded even if the user never | 5534 | ;; FIXME: These may have been loaded even if the user never |
| 5533 | ;; intended to use them. | 5535 | ;; intended to use them. |
| @@ -5603,7 +5605,8 @@ should never be set globally, the intention is to let-bind it.") | |||
| 5603 | (defun tramp-completion-mode-p () | 5605 | (defun tramp-completion-mode-p () |
| 5604 | "Checks whether method / user name / host name completion is active." | 5606 | "Checks whether method / user name / host name completion is active." |
| 5605 | (or | 5607 | (or |
| 5606 | ;; Signal from outside. | 5608 | ;; Signal from outside. `non-essential' has been introduced in Emacs 24. |
| 5609 | (and (boundp 'non-essential) (symbol-value 'non-essential)) | ||
| 5607 | tramp-completion-mode | 5610 | tramp-completion-mode |
| 5608 | ;; Emacs. | 5611 | ;; Emacs. |
| 5609 | (equal last-input-event 'tab) | 5612 | (equal last-input-event 'tab) |
| @@ -8651,6 +8654,7 @@ Only works for Bourne-like shells." | |||
| 8651 | ;; * Let `shell-dynamic-complete-*' and `comint-dynamic-complete' work | 8654 | ;; * Let `shell-dynamic-complete-*' and `comint-dynamic-complete' work |
| 8652 | ;; on remote hosts. | 8655 | ;; on remote hosts. |
| 8653 | ;; * Use secrets.el for password handling. | 8656 | ;; * Use secrets.el for password handling. |
| 8657 | ;; * Load ~/.emacs_SHELLNAME on the remote host for `shell'. | ||
| 8654 | 8658 | ||
| 8655 | ;; Functions for file-name-handler-alist: | 8659 | ;; Functions for file-name-handler-alist: |
| 8656 | ;; diff-latest-backup-file -- in diff.el | 8660 | ;; diff-latest-backup-file -- in diff.el |