abingham / prosjekt

A emacs extension for working with "projects"
22 stars 7 forks source link

Use dynamic scoping to change directory when executing a tool #38

Closed sohailsomani closed 12 years ago

sohailsomani commented 12 years ago

For some reason (I'm not sure why!) using cd to change directories does not work consistently. I think this is probably because other buffers are opened, depending on the tool's command and the wrong buffer gets the cd command applied. This makes it behave more consistently.

abingham commented 12 years ago

Are all three of these identical? Should I just take the last one?

sohailsomani commented 12 years ago

Yeah, just the last one. I apologize for the spurious diffs. Turns out that Github on Windows doesn't use automatic line conversion unless you enable it specifically.

abingham commented 12 years ago

I've noticed some squirrely behavior with cd as well, so maybe this will fix it. Thanks!

sohailsomani commented 12 years ago

Let me know! It was driving me mental...