How do I get Emacs ido-mode's recent file list to ignore uninteresting files? -
how emacs ido-mode's recentf-list ignore uninteresting files?
i'm using ido-mode xsteve's function ido recent files (see below function).
but now, displays uninteresting files first, this:
-> ~/.ido-last ~/library/application support/aquamacs emacs/recent-addresses ~/documents/journal.org
so how ido-mode
ignore uninteresting files ~/.ido-last
, ~/library/application support/aquamacs emacs/recent-addresses
? p.s. here's function, reference:
(defun xsteve-ido-choose-from-recentf () "use ido select opened file `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)
a way create recentf ignore files, add together appripriate regexps recentf-exclude list:
(add-to-list 'recentf-exclude "\\.windows\\'") (add-to-list 'recentf-exclude "\\.revive\\'")
this prevent future entries of above beingness added recentf list. need delete current entries in recentf file them permanently removed or until phased out other entries.
source: force emacs recent files using recentf ignore specified files (.windows , .revive example)
emacs ido-mode recent-file-list
No comments:
Post a Comment