title: How to change the working directory for build/debug in Emacs?
body: <p>I'm trying to get accustomed to using Emacs for building and debugging, although I'm having some difficulties. My biggest problem right now is that I need to be in (e.g. have a file open in) the root directory to <code>make -k</code> my applications and I need to be in the binaries directory to run <code>gdb MyApp</code>.</p>
  
  <p>Is it futile to try to get Ctrl+Shift+B to <code>make -k -C &lt;my_hard_coded_dir&gt;</code> and some type of ditto with F5 running <code>gdb &lt;MyApp&gt;</code> from my bin directory? Never mind if the shift key is to much of a hassle for Emacs.</p>