title: Emacs question - hash key
body: <p>I have a Mac Laptop and I am connecting to  server running Linux. As Alt+3 is already bound in EMACS to a command, so I cannot insert the hash symbol in a file.
  I have tried the following solution I found online:</p>
  
  <pre><code>(global-unset-key (kbd "C-3"))
  (global-set-key (kbd "C-3") '(lambda() (interactive) (insert-string
  "#")))      //I know that C is for CTRL not Alt - I have tried with
  M-3 instead as well
  </code></pre>
  
  <p>and some others as well, but none seem to work. Can you tell me any
  other way in which I might be able to enter the hash sign (#) in a
  file.</p>
  
  <p>Aso tried (did not work):</p>
  
  <pre><code>(fset 'insertPound "#")
  (global-set-key (kbd "M-3") 'insertPound)
  </code></pre>
  
  <p>Thank you!</p>