From unknown Sun Jun 22 07:53:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9197: 24.0.50; Visiting a remote file in one server, when default directory is in another one Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Jul 2011 08:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9197 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 9197@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13119297843747 (code B ref -1); Fri, 29 Jul 2011 08:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jul 2011 08:56:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qmirn-0000yN-My for submit@debbugs.gnu.org; Fri, 29 Jul 2011 04:56:24 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qmirk-0000yE-HM for submit@debbugs.gnu.org; Fri, 29 Jul 2011 04:56:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qmire-0003NO-J3 for submit@debbugs.gnu.org; Fri, 29 Jul 2011 04:56:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:34954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qmire-0003NK-Ha for submit@debbugs.gnu.org; Fri, 29 Jul 2011 04:56:14 -0400 Received: from eggs.gnu.org ([140.186.70.92]:37068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qmird-00075M-OI for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2011 04:56:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qmirc-0003N6-KN for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2011 04:56:13 -0400 Received: from mail-qw0-f41.google.com ([209.85.216.41]:53661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qmirc-0003Ms-9v for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2011 04:56:12 -0400 Received: by qwa26 with SMTP id 26so2336614qwa.0 for ; Fri, 29 Jul 2011 01:56:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=jzWWlo/d5eHwqaHaxgqpbsWqV2ru7PQ+8LGax3u5s7E=; b=JMIoJ/6XZONzDnPoChsRXhtnLcMcmlr+WGHc6MQlvY1zcGVZmNEvBp2gGURekxJbqK W2LEx3me25Ub8O7qt6Ydoqbr+QALfQFTXPUSxvP8a85EPW+dnxvHH/zfoeJ1Hesg5tt/ TeiZ+Pfl/oziJe2mVxM2HyNzfc8G9vv/1OYGI= MIME-Version: 1.0 Received: by 10.229.45.20 with SMTP id c20mr812134qcf.224.1311929771160; Fri, 29 Jul 2011 01:56:11 -0700 (PDT) Received: by 10.229.88.143 with HTTP; Fri, 29 Jul 2011 01:56:11 -0700 (PDT) Date: Fri, 29 Jul 2011 10:56:11 +0200 Message-ID: From: Dani Moncayo Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.9 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) Recipe from "emacs -Q": 1. Change the current buffer's default directory to some path in "host-a": M-x cd /user-a@host-a:/dir-a . 2. Try to visit some (existing) file in host-b: C-x C-f /user-b@host-b:/path-to-some-file . Note that, in step #2, just before hitting , the contents of the minibuffer are: /user-a@host-a:/dir-a//user-b@host-b:/path-to-some-file Expected behavior: the file "/path-to-some-file" (from "host-b") is visited. Observed behavior: an error occurs, because Emacs tried to visit a (nonexistent) file in "host-a", whose path is "/user-b@host-b:/path-to-some-file". Note also a different but related problem: the highlighting of the minibuffer text is consistent with the current behavior (only the "/dir-a/" part is in gray color). Thus, this should be fixed too, to make it consistent with the right behavior. I.e., in this example, the part in gray should be "/user-a@host-a:/dir-a/". In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-07-25 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt' -- Dani Moncayo From unknown Sun Jun 22 07:53:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9197: 24.0.50; Visiting a remote file in one server, when default directory is in another one 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: Fri, 29 Jul 2011 15:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9197 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dani Moncayo Cc: 9197@debbugs.gnu.org Received: via spool by 9197-submit@debbugs.gnu.org id=B9197.13119522199469 (code B ref 9197); Fri, 29 Jul 2011 15:11:02 +0000 Received: (at 9197) by debbugs.gnu.org; 29 Jul 2011 15:10:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qmohe-0002Sg-OP for submit@debbugs.gnu.org; Fri, 29 Jul 2011 11:10:19 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QmohW-0002SS-SN for 9197@debbugs.gnu.org; Fri, 29 Jul 2011 11:10:12 -0400 Received: (qmail invoked by alias); 29 Jul 2011 15:10:03 -0000 Received: from p57BB9866.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.152.102] by mail.gmx.net (mp046) with SMTP; 29 Jul 2011 17:10:03 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19RnQYT5mFR/WBpotMo5DShvgJL4hN48DqBcp5NPo tX3SV19ZKArMfQ From: Michael Albinus References: Date: Fri, 29 Jul 2011 17:10:00 +0200 In-Reply-To: (Dani Moncayo's message of "Fri, 29 Jul 2011 10:56:11 +0200") Message-ID: <87tya5yvg7.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Dani Moncayo writes: > Recipe from "emacs -Q": > > 1. Change the current buffer's default directory to some path in > "host-a": M-x cd /user-a@host-a:/dir-a . > 2. Try to visit some (existing) file in host-b: C-x C-f > /user-b@host-b:/path-to-some-file . > > Note that, in step #2, just before hitting , the contents of the > minibuffer are: > /user-a@host-a:/dir-a//user-b@host-b:/path-to-some-file > > Expected behavior: the file "/path-to-some-file" (from "host-b") is visited. > > Observed behavior: an error occurs, because Emacs tried to visit a > (nonexistent) file in "host-a", whose path is > "/user-b@host-b:/path-to-some-file". This is the intended behaviour. When your buffer's default directory is remote and you want to open a local file or a file on another remote server, you need three slashes, like this: /user-a@host-a:/dir-a///user-b@host-b:/path-to-some-file See also (info "(tramp)Filename completion") Best regards, Michael. From unknown Sun Jun 22 07:53:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9197: 24.0.50; Visiting a remote file in one server, when default directory is in another one Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Jul 2011 16:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9197 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: 9197@debbugs.gnu.org Received: via spool by 9197-submit@debbugs.gnu.org id=B9197.131195739316652 (code B ref 9197); Fri, 29 Jul 2011 16:37:01 +0000 Received: (at 9197) by debbugs.gnu.org; 29 Jul 2011 16:36:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qmq37-0004KW-Am for submit@debbugs.gnu.org; Fri, 29 Jul 2011 12:36:33 -0400 Received: from mail-yx0-f172.google.com ([209.85.213.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qmq34-0004KO-H1 for 9197@debbugs.gnu.org; Fri, 29 Jul 2011 12:36:31 -0400 Received: by yxp4 with SMTP id 4so2383760yxp.3 for <9197@debbugs.gnu.org>; Fri, 29 Jul 2011 09:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=8KR5uQWljsXWnuuZYpD6F6Bc0uQnAzbz49v0x2Ky8dA=; b=L8mk68DIv/LyHVM0fJYzxMAdj1czur8oeqxl9Nebb5LgOwCLBISlUC9mmkfo29clZI okwzfLU4U6IvQz3LcL5VePZlTvzfzQ2qCn+lBNDJ9yUxN2rxOA+nm8cigT+utIrYQZzS MpkhGXIpU2hGYfIlYa6KAhy0T2sP/nbwvdVR0= MIME-Version: 1.0 Received: by 10.91.66.11 with SMTP id t11mr1375951agk.189.1311957383972; Fri, 29 Jul 2011 09:36:23 -0700 (PDT) Received: by 10.90.87.1 with HTTP; Fri, 29 Jul 2011 09:36:23 -0700 (PDT) In-Reply-To: <87tya5yvg7.fsf@gmx.de> References: <87tya5yvg7.fsf@gmx.de> Date: Fri, 29 Jul 2011 18:36:23 +0200 Message-ID: From: Dani Moncayo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.7 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) Hi Michael, On Fri, Jul 29, 2011 at 17:10, Michael Albinus wro= te: > > This is the intended behaviour. When your buffer's default directory is > remote and you want to open a local file or a file on another remote > server, you need three slashes, like this: > > =A0/user-a@host-a:/dir-a///user-b@host-b:/path-to-some-file > > See also (info "(tramp)Filename completion") I intuitively expected such behavior because I had read nodes [1] and [2], but not [3]. Maybe the explanation of "ignored chunks in find-file input" in node [1] should be generalized to take remote files into account, or at least add some link to node [3]. Anyway, I now understand the current behavior, and you can close this bug report. Thanks. Footnotes: [1] "(emacs)Minibuffer File" [2] "(emacs)Remote Files" [3] "(tramp)Filename completion" --=20 Dani Moncayo From unknown Sun Jun 22 07:53:14 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Dani Moncayo Subject: bug#9197: closed (Re: 24.0.50; Visiting a remote file in one server, when default directory is in another one) Message-ID: References: <8739hn932d.fsf@gmx.de> X-Gnu-PR-Message: they-closed 9197 X-Gnu-PR-Package: emacs Reply-To: 9197@debbugs.gnu.org Date: Sat, 30 Jul 2011 15:55:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1312041302-12932-1" This is a multi-part message in MIME format... ------------=_1312041302-12932-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #9197: 24.0.50; Visiting a remote file in one server, when default director= y is in another one which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 9197@debbugs.gnu.org. --=20 9197: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D9197 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1312041302-12932-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 9197-done) by debbugs.gnu.org; 30 Jul 2011 15:54:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QnBsJ-0003MF-PD for submit@debbugs.gnu.org; Sat, 30 Jul 2011 11:54:51 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QnBsH-0003M8-ST for 9197-done@debbugs.gnu.org; Sat, 30 Jul 2011 11:54:50 -0400 Received: (qmail invoked by alias); 30 Jul 2011 15:54:36 -0000 Received: from p57BB8C5E.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.140.94] by mail.gmx.net (mp054) with SMTP; 30 Jul 2011 17:54:36 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX195HuASS195YgaFzcsMlPIagKwk4jAqXvmpaMb55h Lqp1F0e8aCZC0q From: Michael Albinus To: Dani Moncayo Subject: Re: 24.0.50; Visiting a remote file in one server, when default directory is in another one References: <87tya5yvg7.fsf@gmx.de> Date: Sat, 30 Jul 2011 17:54:34 +0200 In-Reply-To: (Dani Moncayo's message of "Fri, 29 Jul 2011 18:36:23 +0200") Message-ID: <8739hn932d.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 9197-done Cc: 9197-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Dani Moncayo writes: > Hi Michael, Hi Dani, > Maybe the explanation of "ignored chunks in find-file input" in node > [1] should be generalized to take remote files into account, or at > least add some link to node [3]. I have added a link. > Anyway, I now understand the current behavior, and you can close this > bug report. Done. > Thanks. Thanks for reporting, and best regards, Michael. ------------=_1312041302-12932-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Jul 2011 08:56:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qmirn-0000yN-My for submit@debbugs.gnu.org; Fri, 29 Jul 2011 04:56:24 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qmirk-0000yE-HM for submit@debbugs.gnu.org; Fri, 29 Jul 2011 04:56:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qmire-0003NO-J3 for submit@debbugs.gnu.org; Fri, 29 Jul 2011 04:56:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:34954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qmire-0003NK-Ha for submit@debbugs.gnu.org; Fri, 29 Jul 2011 04:56:14 -0400 Received: from eggs.gnu.org ([140.186.70.92]:37068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qmird-00075M-OI for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2011 04:56:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qmirc-0003N6-KN for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2011 04:56:13 -0400 Received: from mail-qw0-f41.google.com ([209.85.216.41]:53661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qmirc-0003Ms-9v for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2011 04:56:12 -0400 Received: by qwa26 with SMTP id 26so2336614qwa.0 for ; Fri, 29 Jul 2011 01:56:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=jzWWlo/d5eHwqaHaxgqpbsWqV2ru7PQ+8LGax3u5s7E=; b=JMIoJ/6XZONzDnPoChsRXhtnLcMcmlr+WGHc6MQlvY1zcGVZmNEvBp2gGURekxJbqK W2LEx3me25Ub8O7qt6Ydoqbr+QALfQFTXPUSxvP8a85EPW+dnxvHH/zfoeJ1Hesg5tt/ TeiZ+Pfl/oziJe2mVxM2HyNzfc8G9vv/1OYGI= MIME-Version: 1.0 Received: by 10.229.45.20 with SMTP id c20mr812134qcf.224.1311929771160; Fri, 29 Jul 2011 01:56:11 -0700 (PDT) Received: by 10.229.88.143 with HTTP; Fri, 29 Jul 2011 01:56:11 -0700 (PDT) Date: Fri, 29 Jul 2011 10:56:11 +0200 Message-ID: Subject: 24.0.50; Visiting a remote file in one server, when default directory is in another one From: Dani Moncayo To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) Recipe from "emacs -Q": 1. Change the current buffer's default directory to some path in "host-a": M-x cd /user-a@host-a:/dir-a . 2. Try to visit some (existing) file in host-b: C-x C-f /user-b@host-b:/path-to-some-file . Note that, in step #2, just before hitting , the contents of the minibuffer are: /user-a@host-a:/dir-a//user-b@host-b:/path-to-some-file Expected behavior: the file "/path-to-some-file" (from "host-b") is visited. Observed behavior: an error occurs, because Emacs tried to visit a (nonexistent) file in "host-a", whose path is "/user-b@host-b:/path-to-some-file". Note also a different but related problem: the highlighting of the minibuffer text is consistent with the current behavior (only the "/dir-a/" part is in gray color). Thus, this should be fixed too, to make it consistent with the right behavior. I.e., in this example, the part in gray should be "/user-a@host-a:/dir-a/". In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-07-25 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt' -- Dani Moncayo ------------=_1312041302-12932-1--