title: How do I speed up emacs output from an asynchronous shell-command?
body: <p>I'm running the output of an application in an emacs buffer using shell-command.</p>
  
  <pre><code>(shell-command "verbose-app &amp;" "*verbose-app*")
  </code></pre>
  
  <p>The problem is this command is extremely verbose. So much so, that it sometimes takes several seconds for the emacs buffer to catch up.  It lags by several seconds with the actual output.</p>
  
  <p>Is there any way I can speed up the output scrolling by disabling something?  Like regex-matching or syntax highlighting?</p>
  
  <p>For future reference:</p>
  
  <p>The verbose app is adb logcat.  I changed my existing function:</p>
  
  <pre><code>(defun adb-logcat ()
    (interactive)
    (shell-command "adb logcat -v threadtime&amp;" "*adb-logcat*")
    (pop-to-buffer "*adb-logcat*")
    (buffer-disable-undo))
  </code></pre>
  
  <p>To the following:</p>
  
  <pre><code>(defun adb-logcat ()
    (interactive)
    (start-process "*adb-logcat*" "*adb-logcat*" "/bin/sh" "-c" "adb logcat -v threadtime")
    (pop-to-buffer "*adb-logcat*")
    (buffer-disable-undo))
  </code></pre>
  
  <p>It scrolls way faster now. Yay!</p>