From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier 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: Mon, 18 Jun 2012 16:35:13 -0400 Message-ID: References: <87k3z5ouz1.fsf@gmx.de> <87obog8t4c.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1340051727 25703 80.91.229.3 (18 Jun 2012 20:35:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jun 2012 20:35:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 18 22:35:26 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 1SgifT-00036s-Fk for ged-emacs-devel@m.gmane.org; Mon, 18 Jun 2012 22:35:23 +0200 Original-Received: from localhost ([::1]:55998 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgifT-0001H5-Ef for ged-emacs-devel@m.gmane.org; Mon, 18 Jun 2012 16:35:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgifQ-0001Gy-83 for emacs-devel@gnu.org; Mon, 18 Jun 2012 16:35:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgifN-00014j-RX for emacs-devel@gnu.org; Mon, 18 Jun 2012 16:35:19 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:46598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgifN-00013m-Nb for emacs-devel@gnu.org; Mon, 18 Jun 2012 16:35:17 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q5IKZDch020047; Mon, 18 Jun 2012 16:35:13 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id D3A45B4255; Mon, 18 Jun 2012 16:35:13 -0400 (EDT) In-Reply-To: <87obog8t4c.fsf@gmx.de> (Michael Albinus's message of "Mon, 18 Jun 2012 18:47:15 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4254=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4254> : streams <769904> : uri <1142811> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:150999 Archived-At: >>> Here's a recipe to reproduce the problem (revert the patch in >>> minibuffer.el first): >>> emacs -Q -l icomplete -f icomplete-mode >>> C-x C-f /ssh:localhost:/ >> I don't see any problem here. Tramp requests a password, as expected >> and as it should (since the user hit TAB, she clearly wants completion). > As Drew said, it might disturb users. It wouldn't be necessary, if the > default check wouldn't be `file-exsists-p', which provokes the password > request. Something like > (or (file-remote-p fn) (file-exists-p fn)) > should be better (again, I don't know where to change). Why? The user wants to get the list of completions (that's why she hit TAB), so she really wants to connect. Not connecting (as we currently do) is a bug. Stefan