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: Sun, 16 Oct 2011 10:40:08 +0200 Message-ID: <87k485l47r.fsf@gmx.de> References: <87sjn2fq58.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318754493 27742 80.91.229.12 (16 Oct 2011 08:41:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 16 Oct 2011 08:41:33 +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 Sun Oct 16 10:41:28 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 1RFMHf-0003jf-5O for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Oct 2011 10:41:27 +0200 Original-Received: from localhost ([::1]:55956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFMHe-00022d-Ej for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Oct 2011 04:41:26 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFMHb-00022Y-6G for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2011 04:41:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFMHV-000848-Gl for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2011 04:41:23 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFMHV-000844-DV for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2011 04:41:17 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RFMID-0005lZ-G4 for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2011 04:42: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: Sun, 16 Oct 2011 08:42: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.131875446622104 (code B ref 9647); Sun, 16 Oct 2011 08:42:01 +0000 Original-Received: (at 9647) by debbugs.gnu.org; 16 Oct 2011 08:41:06 +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 1RFMHK-0005kS-1I for submit@debbugs.gnu.org; Sun, 16 Oct 2011 04:41:06 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1RFMHH-0005jx-7Q for 9647@debbugs.gnu.org; Sun, 16 Oct 2011 04:41:04 -0400 Original-Received: (qmail invoked by alias); 16 Oct 2011 08:40:11 -0000 Original-Received: from p57BB9A9D.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.154.157] by mail.gmx.net (mp070) with SMTP; 16 Oct 2011 10:40:11 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19/qloAhn9/rjEgZwSUsvTCM79ewH6I6NbvrcYn0/ 47Z1ZT3/pLavi3 In-Reply-To: (Ryan Barrett's message of "Sun, 9 Oct 2011 19:17:58 -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: Sun, 16 Oct 2011 04:42: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:52676 Archived-At: Ryan Barrett writes: >> This looks to me like a similar bug as bug #9616, which has been said to >> be solved a week ago. Could you, please, check whether it is solved for >> you as well? > > i looked at http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9616 , and > this is a different bug. that one is for shell-dirtrack-mode (in > shell.el); mine is for dirtrack-mode (in dirtrack.el). > > i synched to head and rebuilt, and the reproduction steps and patch i > posted still work. I see. However, I still don't know whether this shall be fixed in dirtrack.el. Maybe it would be better if Tramp could support. I do not use dirtrack.el myself, so I need some guidance from you to reproduce. You wrote as recipe: (shell-dirtrack-mode 0) (set-variable 'dirtrack-list "[REGEX]") (dirtrack-mode 1) What do you use as "[REGEX]"? Shouldn't this be a list? Remote shells as implemented by Tramp do not provide any directory information in the prompt. By default, the prompt looks like this: /sudo:root@hostname: #$ How do you customize that prompt? Best regards, Michael.