unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* window local var?
@ 2010-09-06 11:39 Marc Weber
  2010-09-06 18:43 ` Andrea Crotti
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Weber @ 2010-09-06 11:39 UTC (permalink / raw)
  To: help-gnu-emacs

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



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

end of thread, other threads:[~2010-09-07 16:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-06 11:39 window local var? Marc Weber
2010-09-06 18:43 ` Andrea Crotti
2010-09-06 19:00   ` Marc Weber
2010-09-07  0:34     ` PJ Weisberg
2010-09-07 16:12       ` PJ Weisberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).