emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r99902: Fix Bug#5840.


From: Michael Albinus
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r99902: Fix Bug#5840.
Date: Thu, 15 Apr 2010 00:05:14 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 99902
committer: Michael Albinus <address@hidden>
branch nick: trunk
timestamp: Thu 2010-04-15 00:05:14 +0200
message:
  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'.
modified:
  lisp/ChangeLog
  lisp/ido.el
  lisp/minibuffer.el
  lisp/net/tramp.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-04-14 15:24:17 +0000
+++ b/lisp/ChangeLog    2010-04-14 22:05:14 +0000
@@ -1,3 +1,10 @@
+2010-04-14  Michael Albinus  <address@hidden>
+
+       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'.
+
 2010-04-14  Stefan Monnier  <address@hidden>
 
        * simple.el (non-essential): New var.

=== modified file 'lisp/ido.el'
--- a/lisp/ido.el       2010-04-06 18:17:55 +0000
+++ b/lisp/ido.el       2010-04-14 22:05:14 +0000
@@ -3458,7 +3458,7 @@
     ;; Strip method:address@hidden: part of tramp completions.
     ;; Tramp completions do not include leading slash.
     (let* ((len (1- (length dir)))
-          (tramp-completion-mode t)
+          (non-essential t)
           (compl
            (or (file-name-all-completions "" dir)
                ;; work around bug in ange-ftp.

=== modified file 'lisp/minibuffer.el'
--- a/lisp/minibuffer.el        2010-03-24 18:02:56 +0000
+++ b/lisp/minibuffer.el        2010-04-14 22:05:14 +0000
@@ -1028,7 +1028,8 @@
   "Display a list of possible completions of the current minibuffer contents."
   (interactive)
   (message "Making completion list...")
-  (let* ((start (field-beginning))
+  (let* ((non-essential t)
+        (start (field-beginning))
          (string (field-string))
          (completions (completion-all-completions
                        string

=== modified file 'lisp/net/tramp.el'
--- a/lisp/net/tramp.el 2010-04-10 15:51:46 +0000
+++ b/lisp/net/tramp.el 2010-04-14 22:05:14 +0000
@@ -5527,7 +5527,9 @@
          ;; disable this part of the completion, unless the user implicitly
          ;; indicated his interest in using a fancier completion system.
          (or (eq tramp-syntax 'sep)
-             (featurep 'tramp) ; If it's loaded, we may as well use it.
+             (featurep 'tramp) ;; If it's loaded, we may as well use
+            ;; it.  `partial-completion-mode' does not exist in
+            ;; XEmacs.  It is obsoleted with Emacs 24.1.
              (and (boundp 'partial-completion-mode) partial-completion-mode)
              ;; FIXME: These may have been loaded even if the user never
              ;; intended to use them.
@@ -5603,7 +5605,8 @@
 (defun tramp-completion-mode-p ()
   "Checks whether method / user name / host name completion is active."
   (or
-   ;; Signal from outside.
+   ;; Signal from outside.  `non-essential' has been introduced in Emacs 24.
+   (and (boundp 'non-essential) (symbol-value 'non-essential))
    tramp-completion-mode
    ;; Emacs.
    (equal last-input-event 'tab)
@@ -8651,6 +8654,7 @@
 ;; * Let `shell-dynamic-complete-*' and `comint-dynamic-complete' work
 ;;   on remote hosts.
 ;; * Use secrets.el for password handling.
+;; * Load ~/.emacs_SHELLNAME on the remote host for `shell'.
 
 ;; Functions for file-name-handler-alist:
 ;; diff-latest-backup-file -- in diff.el


reply via email to

[Prev in Thread] Current Thread [Next in Thread]