title: How do I get Emacs ido-mode's recent file list to ignore uninteresting files?
body: <p>How do I get Emacs ido-mode's recentf-list to ignore uninteresting files? </p>
  
  <p>I'm using ido-mode with <a href="http://www.xsteve.at/prg/emacs/power-user-tips.html" rel="nofollow">xSteve's function for ido recent files</a> (see below for the function). </p>
  
  <p>But as it is now, it displays uninteresting files first, like this: </p>
  
  <pre><code>-&gt; ~/.ido-last
     ~/Library/Application Support/Aquamacs Emacs/recent-addresses
     ~/Documents/journal.org
  </code></pre>
  
  <h2>So how do I get <code>ido-mode</code> to ignore uninteresting files like <code>~/.ido-last</code> and <code>~/Library/Application Support/Aquamacs Emacs/recent-addresses</code>?</h2>
  
  <p>P.S. Here's that function, for reference:</p>
  
  <pre><code>(defun xsteve-ido-choose-from-recentf ()
  "Use ido to select a recently opened file from the `recentf-list'"
  (interactive)
  (let ((home (expand-file-name (getenv "HOME"))))
  (find-file
   (ido-completing-read "Recentf open: "
                        (mapcar (lambda (path)
                                  (replace-regexp-in-string home "~" path))
                                recentf-list)
                        nil t))))
  
  (global-set-key [(meta f11)] 'xsteve-ido-choose-from-recentf)
  </code></pre>