From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel 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 Message-ID: <87395r86q0.fsf@gmx.de> References: <87k3z5ouz1.fsf@gmx.de> <189E122E0B6E479699FD9F3791446789@us.oracle.com> <87pq8veaxb.fsf@gmx.de> <8E8E4FBF8CCA4D6793F2FF972A7FCE45@us.oracle.com> <87hau7e86t.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1340132623 3142 80.91.229.3 (19 Jun 2012 19:03:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2012 19:03:43 +0000 (UTC) Cc: Drew Adams , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 19 21:03:42 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sh3iD-0007Dc-IX for ged-emacs-devel@m.gmane.org; Tue, 19 Jun 2012 21:03:37 +0200 Original-Received: from localhost ([::1]:60928 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sh3iD-0004VD-D1 for ged-emacs-devel@m.gmane.org; Tue, 19 Jun 2012 15:03:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sh3iA-0004UO-0i for emacs-devel@gnu.org; Tue, 19 Jun 2012 15:03:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sh3i8-0000Wh-6E for emacs-devel@gnu.org; Tue, 19 Jun 2012 15:03:33 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:33990) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Sh3i7-0000WW-Tg for emacs-devel@gnu.org; Tue, 19 Jun 2012 15:03:32 -0400 Original-Received: (qmail invoked by alias); 19 Jun 2012 19:03:26 -0000 Original-Received: from p57BB9870.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.152.112] by mail.gmx.net (mp004) with SMTP; 19 Jun 2012 21:03:26 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+Fcww6dZ+FT+MLSEnVZ9G6mz5kMexJBRadeTv3rl j1WzLq3abUFhrk In-Reply-To: (Stefan Monnier's message of "Tue, 19 Jun 2012 12:29:02 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151030 Archived-At: Stefan Monnier writes: >> C-x C-f /foobar.baztoto.com: >> ^ no problem so far > >> >> ^ 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.