|
From: | Michael Albinus |
Subject: | Re: [Emacs-diffs] /srv/bzr/emacs/trunk r108646: * minibuffer.el(read-file-name-default): Bind `non-essential' to `t'. |
Date: | Tue, 19 Jun 2012 21:03:19 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes: >> C-x C-f /foobar.baztoto.com: >> ^ no problem so far > >> <TAB> >> ^ nothing happens > >> / >> ^ I get an error: > >> Error in post-command-hook (#[nil \300\301!\207 [run-hooks >> icomplete-post-command-hook] 2]): (error "Command attempted to use >> minibuffer while in minibuffer") > >> But that's another story. Problem in icomplete? > > That "Command attempted to use minibuffer while in minibuffer" is > because icomplete triggered a Tramp connection which tried to use > the minibuffer to get a password. > So if you add (setq enable-recursive-minibuffers t) to the above recipe > you can reproduce the problem. > > I don't think Tramp should attempt a connection in that case since > (according to M-x trace-function RET icomplete-completions) the password > prompt happens during the call to icomplete-completions which binds > non-essential to t. Seems that `ange-ftp-get-passwd' should also care `non-essential'. I'll work on it, tomorrow. A first attempt with a trivial patch did not succeed :-( > Stefan Best regards, Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |