File: recentf.el.html

This package maintains a list of recently opened files and makes it easy to visit them. The recent files list is automatically saved across Emacs sessions.

There are three ways to access recent files:

(1) M-x recentf-open prompts for a recently opened file.

(2) When this mode is enabled, a new "Open Recent" submenu is
    displayed in the "File" menu.

(3) M-x recentf-open-files lists recently visited files in a
    buffer.

You can customize the number of recent files displayed, the location of the menu and other options. Type:

    M-x customize-group RET recentf RET

To enable this package, add this line to your Init file:

    (recentf-mode 1)

Defined variables (41)

recentf--shortcuts-keymapDigit shortcuts keymap.
recentf-arrange-by-rule-othersTitle of the ‘recentf-arrange-by-rule’ sub-menu.
recentf-arrange-by-rule-subfilterFunction called by a rule based filter to filter sub-menu elements.
recentf-arrange-by-rules-min-itemsMinimum number of items in a ‘recentf-arrange-by-rule’ sub-menu.
recentf-arrange-rulesList of rules used by ‘recentf-arrange-by-rule’ to build sub-menus.
recentf-auto-cleanupDefine when to automatically cleanup the recent list.
recentf-auto-cleanup-timerTimer used to automatically cleanup the recent list.
recentf-autosave-intervalThe interval between auto saves of recently opened files.
recentf-case-fold-searchNon-nil if recentf searches and matches should ignore case.
recentf-dialog-mode-hookHook run after entering ‘recentf-dialog-mode’.
recentf-dialog-mode-mapKeymap used in recentf dialogs.
recentf-excludeList of regexps and predicates for filenames excluded from the recent list.
recentf-filename-handlersFunctions to post process recent file names.
recentf-filter-changer-alistList of filters managed by ‘recentf-filter-changer’.
recentf-filter-changer-currentCurrent filter used by ‘recentf-filter-changer’.
recentf-initialize-file-name-historyNon-nil means to initialize ‘file-name-history’ with the recent list.
recentf-keepList of regexps and predicates for filenames kept in the recent list.
recentf-listList of recently opened files for ‘recentf-mode’.
recentf-load-hookNormal hook run at end of loading the ‘recentf’ package.
recentf-max-menu-itemsMaximum number of items in the recentf menu.
recentf-max-saved-itemsMaximum number of items of the recent list that will be saved.
recentf-menu-actionFunction to invoke with a filename item of the recentf menu.
recentf-menu-append-commands-flagNon-nil means to append command items to the menu.
recentf-menu-beforeName of the menu before which the recentf menu will be added.
recentf-menu-filterFunction used to filter files displayed in the recentf menu.
recentf-menu-filter-commandsThis variable can be used by menu filters to setup their own command menu.
recentf-menu-items-for-commandsList of menu items for recentf commands.
recentf-menu-open-all-flagNon-nil means to show an "All..." item in the menu.
recentf-menu-pathPath where to add the recentf menu.
recentf-menu-titleName of the recentf menu.
recentf-modeNon-nil if Recentf mode is enabled.
recentf-mode-hookHook run after entering or leaving ‘recentf-mode’.
recentf-mode-mapKeymap to use in ‘recentf-mode’.
recentf-save-fileFile to save the recent list into.
recentf-save-file-coding-systemCoding system of the file ‘recentf-save-file’.
recentf-save-file-headerHeader to be written into the ‘recentf-save-file’.
recentf-save-file-modesMode bits of recentf save file, as an integer, or nil.
recentf-show-file-shortcuts-flagNon-nil means to show "[N]" for the Nth item up to 10.
recentf-show-messagesWhether to show verbose messages about low-level recentf actions.
recentf-suppress-open-file-helpIf non-nil, suppress help messages in recentf open file dialogs.
recentf-used-hooksHooks used by recentf.

Defined functions (82)

recentf(FILE)
recentf--cancel-autosave-timer()
recentf--manage-autosave-timer()
recentf-access-file(FILENAME)
recentf-add-file(FILENAME)
recentf-apply-filename-handlers(NAME)
recentf-apply-menu-filter(FILTER L)
recentf-arrange-by-dir(L)
recentf-arrange-by-mode(L)
recentf-arrange-by-rule(L)
recentf-auto-cleanup()
recentf-backward(ARG)
recentf-build-mode-rules()
recentf-cancel-dialog(&rest IGNORE)
recentf-cleanup()
recentf-dialog(NAME &rest FORMS)
recentf-dialog-goto-first(WIDGET-TYPE)
recentf-dialog-mode()
recentf-digit-shortcut-command-name(N)
recentf-dir-rule(FILE)
recentf-directory-compare(F1 F2)
recentf-dump-variable(VARIABLE &optional LIMIT)
recentf-edit-list()
recentf-edit-list-select(WIDGET &rest IGNORE)
recentf-edit-list-validate(&rest IGNORE)
recentf-elements(N)
recentf-enabled-p()
recentf-expand-file-name(NAME)
recentf-file-name-nondir(L)
recentf-filter-changer(L)
recentf-filter-changer-select(FILTER)
recentf-forward(ARG)
recentf-hide-menu()
recentf-include-p(FILENAME)
recentf-indirect-mode-rule(FILE)
recentf-keep-default-predicate(FILE)
recentf-keep-p(FILENAME)
recentf-load-list()
recentf-make-default-menu-element(FILE)
recentf-make-menu-element(MENU-ITEM MENU-VALUE)
recentf-make-menu-item(ELT)
recentf-make-menu-items(&optional MENU)
recentf-match-rule(FILE)
recentf-menu-bar()
recentf-menu-customization-changed(VARIABLE VALUE)
recentf-menu-element-item(E)
recentf-menu-element-value(E)
recentf-menu-elements(N)
recentf-menu-value-shortcut(NAME)
recentf-mode(&optional ARG)
recentf-open(FILE)
recentf-open-files(&optional FILES BUFFER-NAME)
recentf-open-files-action(WIDGET &rest IGNORE)
recentf-open-files-item(MENU-ELEMENT)
recentf-open-files-items(FILES)
recentf-open-more-files()
recentf-open-most-recent-file(&optional N)
recentf-push(FILENAME)
recentf-relative-filter(L)
recentf-remove-if-non-kept(FILENAME)
recentf-save-list()
recentf-set-menu-element-item(E ITEM)
recentf-set-menu-element-value(E VALUE)
recentf-show-basenames(L &optional NO-DIR)
recentf-show-basenames-ascending(L)
recentf-show-basenames-descending(L)
recentf-show-digit-shortcut-filter(L)
recentf-show-menu()
recentf-sort-ascending(L)
recentf-sort-basenames-ascending(L)
recentf-sort-basenames-descending(L)
recentf-sort-descending(L)
recentf-sort-directories-ascending(L)
recentf-sort-directories-descending(L)
recentf-string-equal(S1 S2)
recentf-string-lessp(S1 S2)
recentf-string-member(ELT LIST)
recentf-sub-menu-element-p(E)
recentf-track-closed-file()
recentf-track-opened-file()
recentf-trunc-list(ARG &rest ARGS)
recentf-unload-function()

Defined faces (0)