all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-devel@gnu.org
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	[thread overview]
Message-ID: <jwvbokgnyv4.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87obog8t4c.fsf@gmx.de> (Michael Albinus's message of "Mon, 18 Jun 2012 18:47:15 +0200")

>>> 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:/ <TAB>
>> 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



  reply	other threads:[~2012-06-18 20:35 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1SgKyP-0002jR-81@vcs.savannah.gnu.org>
2012-06-18  2:15 ` [Emacs-diffs] /srv/bzr/emacs/trunk r108646: * minibuffer.el (read-file-name-default): Bind `non-essential' to `t' Stefan Monnier
2012-06-18  9:00   ` Michael Albinus
2012-06-18 14:03     ` Stefan Monnier
2012-06-18 14:58       ` [Emacs-diffs] /srv/bzr/emacs/trunk r108646: * minibuffer.el(read-file-name-default): " Drew Adams
2012-06-18 15:59         ` Stefan Monnier
2012-06-18 19:58           ` Drew Adams
2012-06-18 21:20             ` Stefan Monnier
2012-06-19 12:36               ` Michael Albinus
2012-06-19 13:16                 ` Drew Adams
2012-06-19 13:35                   ` Michael Albinus
2012-06-19 16:29                     ` Stefan Monnier
2012-06-19 19:03                       ` Michael Albinus
2012-06-20  6:57                         ` Michael Albinus
2012-06-20 13:29                           ` Drew Adams
2012-06-18 16:47       ` [Emacs-diffs] /srv/bzr/emacs/trunk r108646: * minibuffer.el (read-file-name-default): " Michael Albinus
2012-06-18 20:35         ` Stefan Monnier [this message]
2012-06-18 20:41           ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvbokgnyv4.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.