title: What are your favorite global key bindings in emacs ?
body: <p>Mine are:</p>
  
  <pre><code>(global-set-key [f6] 'compile-buffer)
  (global-set-key [f7] 'kmacro-start-macro-or-insert-counter)
  (global-set-key [f8] 'kmacro-end-and-call-macro)
  (global-set-key [f9] 'call-last-kbd-macro)
  (global-set-key [f10] 'name-and-insert-last-kbd-macro)
  (global-set-key [f12] 'menu-bar-open)  ; originally bound to F10
  (global-set-key "\C-cR" 'rename-current-file-or-buffer)
  (global-set-key "\C-cD" 'Delete-current-file-or-buffer)
  </code></pre>
  
  <p>The <code>name-and-insert-last-keyboard-macro</code> is from <a href="https://stackoverflow.com/questions/3121274/emacs-keystroke-representation-confusion">another Stack Overflow question</a>.</p>