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#9647: dirtrack.el patch to support prefixed paths, e.g. tramp remote shells Date: Mon, 17 Oct 2011 21:52:09 +0200 Message-ID: <87pqhvjt06.fsf@gmx.de> References: <87sjn2fq58.fsf@gmx.de> <87k485l47r.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318881203 2868 80.91.229.12 (17 Oct 2011 19:53:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 17 Oct 2011 19:53:23 +0000 (UTC) Cc: 9647@debbugs.gnu.org, lekktu@gmail.com To: Ryan Barrett Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 17 21:53:17 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RFtFN-0003ze-1F for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Oct 2011 21:53:17 +0200 Original-Received: from localhost ([::1]:51723 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFtFM-0006xY-1a for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Oct 2011 15:53:16 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFtFI-0006x4-9Y for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2011 15:53:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFtFF-0005tJ-6h for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2011 15:53:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFtFF-0005t9-3o for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2011 15:53:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RFtG5-0002tN-Jn for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2011 15:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Oct 2011 19:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9647-submit@debbugs.gnu.org id=B9647.131888119511052 (code B ref 9647); Mon, 17 Oct 2011 19:54:01 +0000 Original-Received: (at 9647) by debbugs.gnu.org; 17 Oct 2011 19:53:15 +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 1RFtFL-0002sC-Jk for submit@debbugs.gnu.org; Mon, 17 Oct 2011 15:53:15 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1RFtFJ-0002rz-Br for 9647@debbugs.gnu.org; Mon, 17 Oct 2011 15:53:14 -0400 Original-Received: (qmail invoked by alias); 17 Oct 2011 19:52:13 -0000 Original-Received: from p57BB986D.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.152.109] by mail.gmx.net (mp063) with SMTP; 17 Oct 2011 21:52:13 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19cB3JT8PNcz6z4DNDLpobOo7Ht/ufLsU4uOM5pmi oKwd0YX/8AvDSv In-Reply-To: (Ryan Barrett's message of "Sun, 16 Oct 2011 09:47:12 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 17 Oct 2011 15:54:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52744 Archived-At: Ryan Barrett writes: > On Sun, Oct 16, 2011 at 1:40 AM, Michael Albinus wrote: > >> However, I still don't know whether this shall be fixed in >> dirtrack.el. Maybe it would be better if Tramp could support. > > yeah, i understand that instinct. i think dirtrack may be the more > appropriate place, though. > > notably, if you look at the patch, it doesn't actually depend on tramp > at all. it uses shell-prefixed-directory-name and > comint-file-name-prefix, which are generic mechanisms in shell and > comint, which dirtrack already depends on. You've convinced me. I've applied your patch to the trunk, slightly modified. Thanks, and best regards, Michael.