From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#2686: marked as done (tramp-file-name-handler) Date: Wed, 18 Mar 2009 20:45:04 +0000 Message-ID: References: <49BE3993.7050901@compton.nu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1237409104-3595-0" X-Trace: ger.gmane.org 1237410301 13927 80.91.229.12 (18 Mar 2009 21:05:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Mar 2009 21:05:01 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 18 22:06:18 2009 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.50) id 1Lk2xF-0003as-TT for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Mar 2009 22:05:54 +0100 Original-Received: from localhost ([127.0.0.1]:56668 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lk2vo-0006yv-Hq for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Mar 2009 17:04:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lk2vb-0006te-BT for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2009 17:03:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lk2vW-0006qg-Ts for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2009 17:03:55 -0400 Original-Received: from [199.232.76.173] (port=57292 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lk2vW-0006qc-JB for bug-gnu-emacs@gnu.org; Wed, 18 Mar 2009 17:03:50 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49266) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lk2vR-0005Od-En; Wed, 18 Mar 2009 17:03:45 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2IL3hl3008390; Wed, 18 Mar 2009 14:03:43 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2IKj4M0003719; Wed, 18 Mar 2009 13:45:04 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 2686 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:26466 Archived-At: This is a multi-part message in MIME format... ------------=_1237409104-3595-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Wed, 18 Mar 2009 16:38:43 -0400 with message-id and subject line Re: bug#2686: tramp-file-name-handler has caused the Emacs bug report #2686, regarding tramp-file-name-handler to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 2686: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D2686 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1237409104-3595-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 16 Mar 2009 11:36:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: *** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=3.0 required=4.0 tests=ONEWORD autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2GBa034029537 for ; Mon, 16 Mar 2009 04:36:02 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LjB6u-0003uX-5R for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2009 07:36:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LjB6p-0003sa-VU for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2009 07:35:59 -0400 Received: from [199.232.76.173] (port=49080 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LjB6p-0003sX-P9 for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2009 07:35:55 -0400 Received: from gate.compton.nu ([217.169.19.106]:41371 helo=gosford.compton.nu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LjB6p-0006PG-Au for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2009 07:35:55 -0400 Received: from bericote.compton.nu ([2001:8b0:bd:1:218:f3ff:fe9f:32b6]:35081) by gosford.compton.nu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LjB6i-0004QE-2T for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2009 11:35:51 +0000 Received: from vauxhall.uk.cyberscience.com ([172.16.2.15]:45127 ident=thh) by bericote.compton.nu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LjB6h-0003Lc-Sq for bug-gnu-emacs@gnu.org; Mon, 16 Mar 2009 11:35:47 +0000 Message-ID: <49BE3993.7050901@compton.nu> Date: Mon, 16 Mar 2009 11:35:47 +0000 From: Tom Hughes User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: tramp-file-name-handler Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) In emacs 22.3 any attempt to tab complete a local filename in a buffer which is visiting a remote file using tramp results in a "Not a tramp file name" error. In other words if I just do C-x C-f to load a file, and starting a local filename without first killing the minibuffer contents, then I get that error if I hit tab to do completion. The reason for this is the addition of a call to substitute-in-file-name at the top of tramp-file-name-handler. This was intended to expand environment variables but has the side effect of removing the tramp filename from the start of the buffer leaving just a local filename. When that value is then passed to with-parsed-tramp-file-name it raises the error when it tries to dissect the name. I guess the solution is to check the foreign flag before making the call to with-parsed-tramp-file-name and if it is not set to just pass the operation on? Tom -- Tom Hughes (tom@compton.nu) http://www.compton.nu/ ------------=_1237409104-3595-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2686-done) by emacsbugs.donarmstrong.com; 18 Mar 2009 20:38:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2IKcihQ002242 for <2686-done@emacsbugs.donarmstrong.com>; Wed, 18 Mar 2009 13:38:45 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1Lk2XD-000853-Rt; Wed, 18 Mar 2009 16:38:43 -0400 From: Glenn Morris To: 2686-done@emacsbugs.donarmstrong.com Subject: Re: bug#2686: tramp-file-name-handler References: <49BE3993.7050901@compton.nu> X-Spook: Abbas bomb covert video NASA LLNL Iran BCCI Roswell X-Ran: 4pKE=bl}'nfP0>%m=|}aw6L}wM'%T4mqbs2|yoFwZ}DwER0?4ShPb*.IHKKdP$[RU6V"&C X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 18 Mar 2009 16:38:43 -0400 In-Reply-To: <49BE3993.7050901@compton.nu> (Tom Hughes's message of "Mon, 16 Mar 2009 11:35:47 +0000") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Tom Hughes wrote: > In emacs 22.3 any attempt to tab complete a local filename in a buffer > which is visiting a remote file using tramp results in a "Not a tramp > file name" error. > > In other words if I just do C-x C-f to load a file, and starting a local > filename without first killing the minibuffer contents, then I get that > error if I hit tab to do completion. Thanks. I can see this in emacs 22.3, but it seems to be already fixed in the current CVS trunk, so will be fixed in Emacs 23.1. ------------=_1237409104-3595-0--