From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "gamename" Newsgroups: gmane.emacs.help Subject: Do "dirs" On "enter" In Comint Date: 2 Apr 2007 14:49:58 -0700 Organization: http://groups.google.com Message-ID: <1175550598.675122.17110@n76g2000hsh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1175553474 4447 80.91.229.12 (2 Apr 2007 22:37:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Apr 2007 22:37:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 03 00:37:47 2007 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 1HYV9m-0008Jw-KU for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Apr 2007 00:37:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYVCq-0001C0-Oc for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Apr 2007 18:40:56 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!n76g2000hsh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: 67.110.226.222 Original-X-Trace: posting.google.com 1175550600 13786 127.0.0.1 (2 Apr 2007 21:50:00 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 2 Apr 2007 21:50:00 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: n76g2000hsh.googlegroups.com; posting-host=67.110.226.222; posting-account=l5OKnQ0AAADrHOPMVhCpAmIoocOY27KZ Original-Xref: shelby.stanford.edu gnu.emacs.help:146774 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:42378 Archived-At: Hi, I use "dirtrack" to help me keep track of all my moving around in the shell. But, its a little iffy in its ability to figure out where I am in the dir tree at any time. So, I'd like to add hooks to run the emacs function "dirs" every time I hit the "enter" key in buffer running a shell. This will automatically update dirtrack to the current directory location. Anyone have an example of something like this for comint? TIA, -T