[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

window local var?

From: Marc Weber
Subject: window local var?
Date: Mon, 06 Sep 2010 13:39:58 +0200
User-agent: Sup/git

Hi list,

I used Vim in the past heavily - meaning I'm still learning about the
"Emacs" way of doing things. Vimpulse is doing a great job for me :)

I've learned about emacsclient.

However one of the most used actions I run is
- grep
- gnu id utils
- kind of compiler (eg make)

And they all depend on a current directory (most of the time)

So when starting Emacs, can I create a window local var keeping the
directory in mind I started this Emacs window from?

Then I could create custom functions switching current directory before
running grep, make, etc.

If there are no window local vars - Is there a kind of window id (for
both X and terminal) I could use to associate a directory with?

Marc Weber

reply via email to

[Prev in Thread] Current Thread [Next in Thread]