title: How to copy/select a whole file or buffer in Emacs?
body: <p>Is there any command to select the whole file contents in Emacs? </p>
  
  <p>For example, <kbd>Control</kbd>+<kbd>a</kbd> selects whole contents of a file in Notepad, Notepad++, etc. </p>
  
  <p>I can select whole contents using the mouse, but it's inconvenient for large files. I found the basic Emacs commands <a href="http://www.cs.colostate.edu/helpdocs/emacs.html" rel="noreferrer">here</a> and <a href="http://mally.stanford.edu/~sr/computing/emacs.html" rel="noreferrer">here</a>, but could not find what I am looking for.</p>