title: Running a macro till the end of text file in Emacs
body: <p>I have a text file with some sample content as shown here:</p>
  
  <pre><code>Sno = 1p
  Sno = 2p
  Sno = 3p
  </code></pre>
  
  <p>What i want is to remove the <code>p</code> from each of the columns. 
  With this intention i write a macro:</p>
  
  <pre><code>M-x //go to buffer
  C-x (//start the macro
  C-s = // search for equalto sign
  RET C-f C-f // reach to te alphabet 'p'
  DEL // Delete
  C-n  C-x )//go to new line and Close the macro definition 
  C-x e
  </code></pre>
  
  <p>Pressing <code>e</code> twice will remove <code>p</code>, but in case i want to do the same stuff till the end of file, how can i do it i can't keep pressing <code>e</code> if i have 20000 such lines. What should be done??</p>
  
  <p>Please donot suggest regex, as this is a sample example, not the actual case. 
  Please donot suggest any elisp, i am comfortable with remembering shortcutf for emacs. </p>