C-x C-F to open a file, pressing ⇧ (up arrow) will iterate over the files I have recently opened. I believe the relevant lines from my
~/.emacs file are:
(require 'recentf) (recentf-mode 1) (setq recentf-max-menu-items 50)
In any case, removing those lines empties my history (although the ⇧ is still there, it complains about no items in history). If those are not the correct lines, you can see my entire
.emacs file here.
How can I configure this so that if, after
C-x C-F, I type
foo and press ⇧, only those files in my history whose name starts with
foo are displayed. In *nix shells, this can be done by adding the following lines to
"\e[A": history-search-backward "\e[B": history-search-forward
How can I get emacs to do the same?