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-keymap | Digit shortcuts keymap. |
recentf-arrange-by-rule-others | Title of the ‘recentf-arrange-by-rule’ sub-menu. |
recentf-arrange-by-rule-subfilter | Function called by a rule based filter to filter sub-menu elements. |
recentf-arrange-by-rules-min-items | Minimum number of items in a ‘recentf-arrange-by-rule’ sub-menu. |
recentf-arrange-rules | List of rules used by ‘recentf-arrange-by-rule’ to build sub-menus. |
recentf-auto-cleanup | Define when to automatically cleanup the recent list. |
recentf-auto-cleanup-timer | Timer used to automatically cleanup the recent list. |
recentf-autosave-interval | The interval between auto saves of recently opened files. |
recentf-case-fold-search | Non-nil if recentf searches and matches should ignore case. |
recentf-dialog-mode-hook | Hook run after entering ‘recentf-dialog-mode’. |
recentf-dialog-mode-map | Keymap used in recentf dialogs. |
recentf-exclude | List of regexps and predicates for filenames excluded from the recent list. |
recentf-filename-handlers | Functions to post process recent file names. |
recentf-filter-changer-alist | List of filters managed by ‘recentf-filter-changer’. |
recentf-filter-changer-current | Current filter used by ‘recentf-filter-changer’. |
recentf-initialize-file-name-history | Non-nil means to initialize ‘file-name-history’ with the recent list. |
recentf-keep | List of regexps and predicates for filenames kept in the recent list. |
recentf-list | List of recently opened files for ‘recentf-mode’. |
recentf-load-hook | Normal hook run at end of loading the ‘recentf’ package. |
recentf-max-menu-items | Maximum number of items in the recentf menu. |
recentf-max-saved-items | Maximum number of items of the recent list that will be saved. |
recentf-menu-action | Function to invoke with a filename item of the recentf menu. |
recentf-menu-append-commands-flag | Non-nil means to append command items to the menu. |
recentf-menu-before | Name of the menu before which the recentf menu will be added. |
recentf-menu-filter | Function used to filter files displayed in the recentf menu. |
recentf-menu-filter-commands | This variable can be used by menu filters to setup their own command menu. |
recentf-menu-items-for-commands | List of menu items for recentf commands. |
recentf-menu-open-all-flag | Non-nil means to show an "All..." item in the menu. |
recentf-menu-path | Path where to add the recentf menu. |
recentf-menu-title | Name of the recentf menu. |
recentf-mode | Non-nil if Recentf mode is enabled. |
recentf-mode-hook | Hook run after entering or leaving ‘recentf-mode’. |
recentf-mode-map | Keymap to use in ‘recentf-mode’. |
recentf-save-file | File to save the recent list into. |
recentf-save-file-coding-system | Coding system of the file ‘recentf-save-file’. |
recentf-save-file-header | Header to be written into the ‘recentf-save-file’. |
recentf-save-file-modes | Mode bits of recentf save file, as an integer, or nil. |
recentf-show-file-shortcuts-flag | Non-nil means to show "[N]" for the Nth item up to 10. |
recentf-show-messages | Whether to show verbose messages about low-level recentf actions. |
recentf-suppress-open-file-help | If non-nil, suppress help messages in recentf open file dialogs. |
recentf-used-hooks | Hooks used by recentf. |