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 21:51:16 +0200 Message-ID: References: <20524da70905031909j5426ee1fpde7e1e93f83a8a88@mail.gmail.com> <20524da70905031915ic6b2631p863a33d92b8de20a@mail.gmail.com> <20524da70905040944u31f648f8h71c17dfca3c654ec@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 1241472931 13686 80.91.229.12 (4 May 2009 21:35:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 May 2009 21:35:31 +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 23:35:21 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 1M15om-0000HS-Kn for geh-help-gnu-emacs@m.gmane.org; Mon, 04 May 2009 23:35:20 +0200 Original-Received: from localhost ([127.0.0.1]:39159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M15ol-000296-OD for geh-help-gnu-emacs@m.gmane.org; Mon, 04 May 2009 17:35:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M15oU-000291-9N for help-gnu-emacs@gnu.org; Mon, 04 May 2009 17:35:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M15oP-00028h-Rk for help-gnu-emacs@gnu.org; Mon, 04 May 2009 17:35:02 -0400 Original-Received: from [199.232.76.173] (port=40991 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M15oP-00028e-Nc for help-gnu-emacs@gnu.org; Mon, 04 May 2009 17:34:57 -0400 Original-Received: from fmmailgate01.web.de ([217.72.192.221]:57352) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M15oP-0005xb-AX for help-gnu-emacs@gnu.org; Mon, 04 May 2009 17:34:57 -0400 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate01.web.de (Postfix) with ESMTP id 7667C1014B3F9; Mon, 4 May 2009 23:34:55 +0200 (CEST) Original-Received: from [91.35.247.138] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (WEB.DE 4.110 #277) id 1M15oN-0007I8-00; Mon, 04 May 2009 23:34:55 +0200 In-Reply-To: <20524da70905040944u31f648f8h71c17dfca3c654ec@mail.gmail.com> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX19AWoyTv55PnRWtyz9wByI6S9DI18dfWElZH4fj kqR3V2U+rx4h8x0n7szMGQflLGO5uHDFRjrgFn3ALpswtY+UGi 1yjPgUpdESI3S/dXUmrw== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:64179 Archived-At: Am 04.05.2009 um 18:44 schrieb Samuel Wales: > On 2009-05-04, Peter Dyballa wrote: >>> Input `cd .. >>> [33m [0m [35m 03-Sun-19-12-32 [0m L4 [1;34m ~/Desktop/A$ >>> [0m ' failed to match `dirtrack-regexp' > > The big question here is why manual matching works perfectly fine. > Why would ansi colors throw dirtrack off when regexp search backward > accurately identifies the path and only the path? Your "manual matching" works on the cleaned static text data, while the mode in the buffer sees the text plus the ANSI Esc codes which are used > > It would be a shame to get rid of the colors in the prompt, as they > separate its components visually for me in a way that makes them > easier to notice. Yes, me too! I would like to have other colours used for the number plate of my car. There are other options to display information on a desktop. > The first variable sets a single color, while the second two, > afaik, only affect movement. Is that correct? > Esc[value;...;valuem sets a graphic mode (colour, intensity, blinking, reverse). The value 0 resets, the value 1 sets intensity. The foreground (3) colours yellow (3), magenta (5), and blue (4) are set. -- Greetings Pete "Debugging? Klingons do not debug! Our software does not coddle the weak."