From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: dirtrack (shell mode) not working Date: Mon, 4 May 2009 10:53:04 +0200 Message-ID: References: <20524da70905031909j5426ee1fpde7e1e93f83a8a88@mail.gmail.com> <20524da70905031915ic6b2631p863a33d92b8de20a@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1241427295 27461 80.91.229.12 (4 May 2009 08:54:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 May 2009 08:54:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Samuel Wales Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 04 10:54:45 2009 Return-path: Envelope-to: geh-help-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 1M0twj-00064r-FO for geh-help-gnu-emacs@m.gmane.org; Mon, 04 May 2009 10:54:45 +0200 Original-Received: from localhost ([127.0.0.1]:46564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0twi-0006jk-J3 for geh-help-gnu-emacs@m.gmane.org; Mon, 04 May 2009 04:54:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M0tvO-0006K8-A2 for help-gnu-emacs@gnu.org; Mon, 04 May 2009 04:53:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M0tvI-0006Fo-Hp for help-gnu-emacs@gnu.org; Mon, 04 May 2009 04:53:21 -0400 Original-Received: from [199.232.76.173] (port=35896 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0tvH-0006FZ-Qq for help-gnu-emacs@gnu.org; Mon, 04 May 2009 04:53:16 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:17672) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M0tvH-0000Tb-Bn for help-gnu-emacs@gnu.org; Mon, 04 May 2009 04:53:15 -0400 Original-Received: from fmmailgate01.web.de ([217.72.192.221]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M0tvG-0002kq-Mc for help-gnu-emacs@gnu.org; Mon, 04 May 2009 04:53:14 -0400 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate01.web.de (Postfix) with ESMTP id 471DA1011DE33; Mon, 4 May 2009 10:53:12 +0200 (CEST) Original-Received: from [91.35.236.124] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (WEB.DE 4.110 #277) id 1M0tvD-0004SL-00; Mon, 04 May 2009 10:53:12 +0200 In-Reply-To: <20524da70905031915ic6b2631p863a33d92b8de20a@mail.gmail.com> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1+JP13FFJhnAMxYkTiholbABudsNbBGCoUehOON rPvgIKYf8pyrqQN22Wuf0Aw10Y+M4CApvmibZYNKXa/PXhpMh2 Q13U9Zdd/5AZzMe72+WQ== X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64168 Archived-At: Am 04.05.2009 um 04:15 schrieb Samuel Wales: > dirtrack debugging reveals this. > > Input `cd .. > [33m [0m [35m 03-Sun-19-12-32 [0m L4 [1;34m ~/Desktop/A$ > [0m ' failed to match `dirtrack-regexp' > > Any idea why? I'd remove the ANSI Esc garbage from the prompt (they're good enough for use in terminal emulations). The variable comint-highlight-prompt can make it look to be easily recognised. There are also comint- prompt-regexp and shell-prompt-pattern. -- Greetings Pete Klingon function calls do not have "parameters" - they have "arguments" - and they ALWAYS WIN THEM.