all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Do "dirs" On "enter" In Comint
@ 2007-04-02 21:49 gamename
  2007-04-02 23:02 ` Peter Dyballa
       [not found] ` <mailman.1687.1175555174.7795.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: gamename @ 2007-04-02 21:49 UTC (permalink / raw)
  To: help-gnu-emacs


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Do "dirs" On "enter" In Comint
  2007-04-02 21:49 Do "dirs" On "enter" In Comint gamename
@ 2007-04-02 23:02 ` Peter Dyballa
       [not found] ` <mailman.1687.1175555174.7795.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2007-04-02 23:02 UTC (permalink / raw)
  To: gamename; +Cc: help-gnu-emacs


Am 02.04.2007 um 23:49 schrieb gamename:

> I use "dirtrack" to help me keep track of all my moving around in the
> shell

I've told GNU Emacs by which commands I change to a directory, push  
one onto the stack of directories, or pop one from it to change to  
it. Isn't this enough?

--
Greetings

   Pete


"Evolution"            o           __o                     _o _
           °\___o      /0~         -\<,              ^\___ /=\\_/-%
oo~_______ /\ /\______/ \_________O/ O_______________o===>-->O--o____

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Do "dirs" On "enter" In Comint
       [not found] ` <mailman.1687.1175555174.7795.help-gnu-emacs@gnu.org>
@ 2007-04-02 23:14   ` gamename
  0 siblings, 0 replies; 3+ messages in thread
From: gamename @ 2007-04-02 23:14 UTC (permalink / raw)
  To: help-gnu-emacs

On Apr 2, 4:02 pm, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 02.04.2007 um 23:49 schrieb gamename:
>
> > I use "dirtrack" to help me keep track of all my moving around in the
> > shell
>
> I've told GNU Emacs by which commands I change to a directory, push
> one onto the stack of directories, or pop one from it to change to
> it. Isn't this enough?

Eh?  Don't quite understand your answer.  If the suggestion is to use
push/pop, I don't that works.  I have hundreds of directories
scattered across my network.  I access them in no particular order.

-T

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-02 23:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-02 21:49 Do "dirs" On "enter" In Comint gamename
2007-04-02 23:02 ` Peter Dyballa
     [not found] ` <mailman.1687.1175555174.7795.help-gnu-emacs@gnu.org>
2007-04-02 23:14   ` gamename

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.