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: Tue, 13 Apr 2010 06:32:42 +0200 Message-ID: <87y6gsug45.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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1271134969 22560 80.91.229.12 (13 Apr 2010 05:02:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Apr 2010 05:02:49 +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 Tue Apr 13 07:02:48 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 1O1YGn-0006nr-D0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Apr 2010 07:02:45 +0200 Original-Received: from localhost ([127.0.0.1]:34930 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1YGj-0006vq-I7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Apr 2010 01:02:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O1YDD-0006O7-Fj for bug-gnu-emacs@gnu.org; Tue, 13 Apr 2010 00:58:59 -0400 Original-Received: from [140.186.70.92] (port=49528 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1YD8-0006MH-Bz for bug-gnu-emacs@gnu.org; Tue, 13 Apr 2010 00:58:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O1YD4-00088C-IE for bug-gnu-emacs@gnu.org; Tue, 13 Apr 2010 00:58:52 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47829) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1YD4-000887-F9 for bug-gnu-emacs@gnu.org; Tue, 13 Apr 2010 00:58:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O1Xo6-0006IC-6c; Tue, 13 Apr 2010 00:33: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: Tue, 13 Apr 2010 04:33:02 +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.127113317624182 (code B ref -1); Tue, 13 Apr 2010 04:33:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Apr 2010 04:32:56 +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 1O1Xo0-0006Hz-2z for submit@debbugs.gnu.org; Tue, 13 Apr 2010 00:32:56 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1Xny-0006Ht-Fb for submit@debbugs.gnu.org; Tue, 13 Apr 2010 00:32:55 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:60833) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O1Xnv-0006pI-0V for submit@debbugs.gnu.org; Tue, 13 Apr 2010 00:32:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O1Xnu-0006Qr-A4 for bug-gnu-emacs@gnu.org; Tue, 13 Apr 2010 00:32:50 -0400 Original-Received: from [140.186.70.92] (port=60300 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1Xns-0006Qj-3n for bug-gnu-emacs@gnu.org; Tue, 13 Apr 2010 00:32:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O1Xnq-0005vF-NN for bug-gnu-emacs@gnu.org; Tue, 13 Apr 2010 00:32:47 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:53365) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O1Xnq-0005v9-AA for bug-gnu-emacs@gnu.org; Tue, 13 Apr 2010 00:32:46 -0400 Original-Received: (qmail invoked by alias); 13 Apr 2010 04:32:44 -0000 Original-Received: from p4FC0096A.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [79.192.9.106] by mail.gmx.net (mp026) with SMTP; 13 Apr 2010 06:32:44 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/sPY00u+3sOQnFl6H3Iw29kqWjzfht05sF0aSKYp V7iyKktXPEttCF In-Reply-To: (Stefan Monnier's message of "Mon, 12 Apr 2010 16:51:21 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.66000000000000003 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: Tue, 13 Apr 2010 00:33: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:36230 Archived-At: Stefan Monnier writes: > Or maybe it should be provided differently: we could make it so that > the top-level exception handler (the one that outputs the message in > the minibuffer if an error is not otherwise caught) can be programmed, > so Tramp could call `signal' in the normal way and do the messy > window-pop-up in the top-level exception handler instead (so it > doesn't do it if the error gets caught). This would be an option, yes. Also for other use cases than this reported one. > That could save us from a `completion-only' kind of hack. No. It is not only about catching errors. If, for example, your default method is "ftp", expanding "/sudo:" would not result in an error, but in the password request for "albinus@sudo" (in my case). This must be suppressed as well, so we still need this flag to tell Tramp not to expand an incomplete filename. >> Where shall `completion-only' belong to? minibuffer.el? > > Yes. I'll commit it later today. > Stefan Best regards, Michael.