From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#5840: 24.0.50; wrong tramp-file-name-regexp Date: Thu, 15 Apr 2010 00:11:35 +0200 Message-ID: <8739yxvg4o.fsf@gmx.de> References: <87d3ydw1wr.fsf@tux.homenetwork> <87tyri53r7.fsf@gmx.de> <878w8tmgew.fsf@detlef.i-did-not-set--mail-host-address--so-tickle-me> <87sk703dqe.fsf@tux.homenetwork> <87ochoebei.fsf@gmx.de> <87y6gsug45.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1271284151 26935 80.91.229.12 (14 Apr 2010 22:29:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Apr 2010 22:29:11 +0000 (UTC) Cc: "bug-gnu-emacs@gnu.org" , Thierry Volpiatto To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 15 00:29:09 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O2B4z-0001Xq-TL for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Apr 2010 00:29:06 +0200 Original-Received: from localhost ([127.0.0.1]:60968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2B4z-0005Ch-85 for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Apr 2010 18:29:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2B4t-0005AU-H1 for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2010 18:28:59 -0400 Original-Received: from [140.186.70.92] (port=40277 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2B4r-00058F-VT for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2010 18:28:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2B4q-00054d-96 for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2010 18:28:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57940) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2B4q-00054Y-67 for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2010 18:28:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O2AoU-0005NF-0X; Wed, 14 Apr 2010 18:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Apr 2010 22:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5840 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.127128311020651 (code B ref -1); Wed, 14 Apr 2010 22:12:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Apr 2010 22:11:50 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2AoI-0005N2-Bw for submit@debbugs.gnu.org; Wed, 14 Apr 2010 18:11:50 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2AoG-0005Mx-4F for submit@debbugs.gnu.org; Wed, 14 Apr 2010 18:11:48 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:50280) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O2AoB-0001ak-VL for submit@debbugs.gnu.org; Wed, 14 Apr 2010 18:11:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2AoB-0007fT-GP for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2010 18:11:43 -0400 Original-Received: from [140.186.70.92] (port=37559 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2Ao9-0007e1-Uv for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2010 18:11:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2Ao8-0002TO-A5 for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2010 18:11:41 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:59143) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O2Ao7-0002Sr-TF for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2010 18:11:40 -0400 Original-Received: (qmail invoked by alias); 14 Apr 2010 22:11:36 -0000 Original-Received: from p4FC00A1D.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [79.192.10.29] by mail.gmx.net (mp045) with SMTP; 15 Apr 2010 00:11:36 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+hos1bV1Sh4k2Zb65JAjuJdOKj3A97DV/rLPwJg7 INOIhM4PhOeBxP In-Reply-To: (Stefan Monnier's message of "Wed, 14 Apr 2010 11:31:45 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64000000000000001 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 14 Apr 2010 18:12:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36254 Archived-At: Stefan Monnier writes: >> Could you, please, add this variable to simple.el, with a proper >> docstring? I tend to fail with understable descriptions ... > > I've just added it. Thanks. > *BUT* I also realized that your suggested patch: > is not OK: when I hit ? (or TAB) in the minibuffer, I really do want > Tramp to give me the possible completions, even if that requires my > entering a password. But this still works. As soon as Tramp detects, that the file name is a "syntactical complete" one, it lets you complete the remote file name path. That means "/string:?" would be completed only in case "string" is not a method name. "/string::?" or "/string:/?" or "/string:.?" will always be completed with path names, because due to the syntax it is clear that "string" must be a host name. I have committed the changes; according to my tests it works fine. > Stefan Best regards, Michael.