;ELC ;;; Compiled by cyd@localhost on Mon Apr 23 22:21:06 2007 ;;; from file /home/cyd/emacs/lisp/recentf.el ;;; in Emacs version 22.0.99 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. (if (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19.29"))) (error "`recentf.el' was compiled for Emacs 19.29 or later")) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\207" [require easymenu tree-widget timer] 2) #@32 List of recently opened files. (defvar recentf-list nil (#$ . 654)) #@54 Return non-nil if recentf mode is currently enabled. (defalias 'recentf-enabled-p #[nil "\301>\207" [kill-emacs-hook recentf-save-list] 2 (#$ . 728)]) (byte-code "\300\301\302\303#\210\304\305\306\307\310\311\312\313&\210\304\314\306\315\312\305%\207" [put recentf-enabled-p byte-optimizer byte-compile-inline-expand custom-declare-group recentf nil "Maintain a menu of recently opened files." :version "21.1" :group files recentf-filters "Group to customize recentf menu filters.\nYou should define the options of your own filters in this group."] 8) #@144 *Maximum number of items of the recent list that will be saved. A nil value means to save the whole list. See the command `recentf-save-list'. (custom-declare-variable 'recentf-max-saved-items '20 '(#$ . -1289) :group 'recentf :type 'integer) #@37 *File to save the recent list into. (custom-declare-variable 'recentf-save-file '"~/.recentf" '(#$ . -1538) :group 'recentf :type 'file :initialize 'custom-initialize-default :set #[(symbol value) "\304!\305\n\"\210\n \232?\205 \205\306 )\207" [symbol oldvalue value recentf-mode eval custom-set-default recentf-load-list] 3]) #@242 Mode bits of recentf save file, as an integer, or nil. If non-nil, after writing `recentf-save-file', set its mode bits to this value. By default give R/W access only to the user who owns that file. See also the function `set-file-modes'. (custom-declare-variable 'recentf-save-file-modes '384 '(#$ . 1879) :group 'recentf :type '(choice (const :tag "Don't change" nil) integer)) #@298 *List of regexps and predicates for filenames excluded from the recent list. When a filename matches any of the regexps or satisfies any of the predicates it is excluded from the recent list. A predicate is a function that is passed a filename to check and that must return non-nil to exclude it. (custom-declare-variable 'recentf-exclude 'nil '(#$ . -2268) :group 'recentf :type '(repeat (choice regexp function))) #@614 *List of regexps and predicates for filenames kept in the recent list. Regexps and predicates are tried in the specified order. When nil all filenames are kept in the recent list. When a filename matches any of the regexps or satisfies any of the predicates it is kept in the recent list. The default is to keep readable files. A predicate is a function that is passed a filename to check and that must return non-nil to keep it. For example, you can add the `file-remote-p' predicate in front of this list to keep remote file names in the recent list without checking their readability through a remote access. (custom-declare-variable 'recentf-keep ''(file-readable-p) '(#$ . -2691) :group 'recentf :type '(repeat (choice regexp function))) #@132 Function called when the recentf menu customization has changed. Set VARIABLE with VALUE, and force a rebuild of the recentf menu. (defalias 'recentf-menu-customization-changed #[(variable value) "\303\304!\203\305>\203\306 \210\307 \n\"\210\310 \207\307 \n\"\207" [kill-emacs-hook variable value featurep recentf recentf-save-list recentf-hide-menu set-default recentf-show-menu] 3 (#$ . 3442)]) #@28 *Name of the recentf menu. (custom-declare-variable 'recentf-menu-title '"Open Recent" '(#$ . -3850) :group 'recentf :type 'string :set 'recentf-menu-customization-changed) #@98 *Path where to add the recentf menu. If nil add it at top level (see also `easy-menu-add-item'). (custom-declare-variable 'recentf-menu-path ''("File") '(#$ . -4029) :group 'recentf :type '(choice (const :tag "Top Level" nil) (sexp :tag "Menu Path")) :set 'recentf-menu-customization-changed) #@126 *Name of the menu before which the recentf menu will be added. If nil add it at end of menu (see also `easy-menu-add-item'). (custom-declare-variable 'recentf-menu-before '"Open File..." '(#$ . -4329) :group 'recentf :type '(choice (string :tag "Name") (const :tag "Last" nil)) :set 'recentf-menu-customization-changed) #@125 *Function to invoke with a filename item of the recentf menu. The default is to call `find-file' to edit the selected file. (custom-declare-variable 'recentf-menu-action ''find-file '(#$ . -4656) :group 'recentf :type 'function) #@47 *Maximum number of items in the recentf menu. (custom-declare-variable 'recentf-max-menu-items '10 '(#$ . -4891) :group 'recentf :type 'integer) #@1482 *Function used to filter files displayed in the recentf menu. A nil value means no filter. The following functions are predefined: - `recentf-sort-ascending' Sort menu items in ascending order. - `recentf-sort-descending' Sort menu items in descending order. - `recentf-sort-basenames-ascending' Sort menu items by filenames sans directory in ascending order. - `recentf-sort-basenames-descending' Sort menu items by filenames sans directory in descending order. - `recentf-sort-directories-ascending' Sort menu items by directories in ascending order. - `recentf-sort-directories-descending' Sort menu items by directories in descending order. - `recentf-show-basenames' Show filenames sans directory in menu items. - `recentf-show-basenames-ascending' Show filenames sans directory in ascending order. - `recentf-show-basenames-descending' Show filenames sans directory in descending order. - `recentf-relative-filter' Show filenames relative to `default-directory'. - `recentf-arrange-by-rule' Show sub-menus following user defined rules. - `recentf-arrange-by-mode' Show a sub-menu for each major mode. - `recentf-arrange-by-dir' Show a sub-menu for each directory. - `recentf-filter-changer' Manage a menu of filters. The filter function is called with one argument, the list of menu elements used to build the menu and must return a new list of menu elements (see `recentf-make-menu-element' for menu element form). (custom-declare-variable 'recentf-menu-filter 'nil '(#$ . -5044) :group 'recentf :type '(radio (const nil) (function-item recentf-sort-ascending) (function-item recentf-sort-descending) (function-item recentf-sort-basenames-ascending) (function-item recentf-sort-basenames-descending) (function-item recentf-sort-directories-ascending) (function-item recentf-sort-directories-descending) (function-item recentf-show-basenames) (function-item recentf-show-basenames-ascending) (function-item recentf-show-basenames-descending) (function-item recentf-relative-filter) (function-item recentf-arrange-by-rule) (function-item recentf-arrange-by-mode) (function-item recentf-arrange-by-dir) (function-item recentf-filter-changer) function)) #@97 *Non-nil means to show an "All..." item in the menu. This item will replace the "More..." item. (custom-declare-variable 'recentf-menu-open-all-flag 'nil '(#$ . -7266) :group 'recentf :type 'boolean) #@53 *Non-nil means to append command items to the menu. (custom-declare-variable 'recentf-menu-append-commands-flag 't '(#$ . -7472) :group 'recentf :type 'boolean) (byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defvaralias recentf-menu-append-commands-p recentf-menu-append-commands-flag nil make-obsolete-variable "22.1"] 4) #@516 *Define when to automatically cleanup the recent list. The following values can be set: - `mode' Cleanup when turning the mode on (default). - `never' Never cleanup the list automatically. - A number Cleanup each time Emacs has been idle that number of seconds. - A time string Cleanup at specified time string, for example at "11:00pm". Setting this variable directly does not take effect; use \[customize]. See also the command `recentf-cleanup', that can be used to manually cleanup the list. (custom-declare-variable 'recentf-auto-cleanup ''mode '(#$ . -7812) :group 'recentf :type '(radio (const :tag "When mode enabled" :value mode) (const :tag "Never" :value never) (number :tag "When idle that seconds" :value 300) (string :tag "At time" :value "11:00pm")) :set #[(variable value) "\302 \"\210\303\304!\205 \305 \207" [variable value set-default featurep recentf recentf-auto-cleanup] 3]) #@121 *Non-nil means to initialize `file-name-history' with the recent list. If `file-name-history' is not empty, do nothing. (custom-declare-variable 'recentf-initialize-file-name-history 't '(#$ . -8737) :group 'recentf :type 'boolean) #@59 *Normal hook run at end of loading the `recentf' package. (custom-declare-variable 'recentf-load-hook 'nil '(#$ . -8975) :group 'recentf :type 'hook) #@104 Functions to post process recent file names. They are successively passed a file name to transform it. (custom-declare-variable 'recentf-filename-handlers 'nil '(#$ . 9132) :group 'recentf :type '(choice (const :tag "None" nil) (repeat :tag "Functions" (choice (const file-truename) (const abbreviate-file-name) (function :tag "Other function"))))) #@163 Whether to show ``[N]'' for the Nth item up to 10. If non-nil, `recentf-open-files' will show labels for keys that can be used as shortcuts to open the Nth file. (custom-declare-variable 'recentf-show-file-shortcuts-flag 't '(#$ . 9488) :group 'recentf :type 'boolean) #@61 Non-nil if recentf searches and matches should ignore case. (defconst recentf-case-fold-search (memq system-type '(vax-vms windows-nt cygwin)) (#$ . 9763)) #@116 Return non-nil if strings S1 and S2 have identical contents. Ignore case if `recentf-case-fold-search' is non-nil. (defalias 'recentf-string-equal #[(s1 s2) "\203\n \227\n\227\230\207 \n\230\207" [recentf-case-fold-search s1 s2] 2 (#$ . 9926)]) (put 'recentf-string-equal 'byte-optimizer 'byte-compile-inline-expand) #@123 Return non-nil if string S1 is less than S2 in lexicographic order. Ignore case if `recentf-case-fold-search' is non-nil. (defalias 'recentf-string-lessp #[(s1 s2) "\203\n \227\n\227\231\207 \n\231\207" [recentf-case-fold-search s1 s2] 2 (#$ . 10252)]) (put 'recentf-string-lessp 'byte-optimizer 'byte-compile-inline-expand) #@206 Return non-nil if ELT is an element of LIST. The value is actually the tail of LIST whose car is ELT. ELT must be a string and LIST a list of strings. Ignore case if `recentf-case-fold-search' is non-nil. (defalias 'recentf-string-member #[(elt list) "\203# @\f\203 \227\n\227\230\202 \n\230*\204#A\211\204\207" [list elt s2 s1 recentf-case-fold-search] 3 (#$ . 10586)]) #@49 Return from L the list of its first N elements. (defalias 'recentf-trunc-list #[(l n) "\303 \203\n\304V\203 @B\nS A\211\204\237)\207" [nl l n nil 0] 3 (#$ . 10978)]) (put 'recentf-trunc-list 'byte-optimizer 'byte-compile-inline-expand) #@203 Insert a "(setq VARIABLE value)" in the current buffer. When the value of VARIABLE is a list, optional argument LIMIT specifies a maximum number of elements to insert. By default insert the full list. (defalias 'recentf-dump-variable #[(variable &optional limit) "J\211:\204\306\307 #c\202g\n\250\203?\n\310V\203? \n\311\f\203; \310V\203;\f@ B S\fA\211\204& \237+\306\312\"c\210 \311 \211\203d@ \306\313 \"c\210A\211\204O*\314c)\207" [variable value limit n l nl format "\n(setq %S '%S)\n" 0 nil "\n(setq %S\n '(" "\n %S" "\n ))\n" e #1=#:--cl-dolist-temp--] 5 (#$ . 11233)]) #@98 Timer used to automatically cleanup the recent list. See also the option `recentf-auto-cleanup'. (defvar recentf-auto-cleanup-timer nil (#$ . 11867)) #@39 Automatic cleanup of the recent list. (defalias 'recentf-auto-cleanup #[nil "\303!\203\n\304!\210 \2054\n\305=\203\306 \210\307\2022\n\247\203(\310\n\311\306#\2022\n;\2052\312\n\307\306#\211\207" [recentf-auto-cleanup-timer recentf-mode recentf-auto-cleanup timerp cancel-timer mode recentf-cleanup nil run-with-idle-timer t run-at-time] 4 (#$ . 12023)]) #@198 Push FILENAME into the recent list, if it isn't there yet. If it is there yet, move it at the beginning of the list. If `recentf-case-fold-search' is non-nil, ignore case when comparing filenames. (defalias 'recentf-push #[(filename) "\303 \"\211\203\304\n@ \" B\211)\207" [filename recentf-list m recentf-string-member delq] 4 (#$ . 12396)]) (put 'recentf-push 'byte-optimizer 'byte-compile-inline-expand) #@131 Apply `recentf-filename-handlers' to file NAME. Return the transformed file name, or NAME if any handler failed, or returned nil. (defalias 'recentf-apply-filename-handlers #[(name) "\301\302\303\217\206\207" [name nil (byte-code " \n\203 \203 @\n! A\202\n*\207" [recentf-filename-handlers name filename handlers] 2) ((error))] 3 (#$ . 12817)]) #@166 Convert file NAME to absolute, and canonicalize it. NAME is first passed to the function `expand-file-name', then to `recentf-filename-handlers' to post process it. (defalias 'recentf-expand-file-name #[(name) "\301\302!!\207" [name recentf-apply-filename-handlers expand-file-name] 3 (#$ . 13183)]) (put 'recentf-expand-file-name 'byte-optimizer 'byte-compile-inline-expand) #@133 Return non-nil if FILENAME should be included in the recent list. That is, if it doesn't match any of the `recentf-exclude' checks. (defalias 'recentf-include-p #[(filename) " \305 \203\n\203\306\307\310\217 A\211\204\n\n+\207" [recentf-case-fold-search recentf-exclude keepit checks case-fold-search t nil (byte-code "@;\203\302@ \"\202@ !?\207" [checks filename string-match] 3) ((error))] 4 (#$ . 13567)]) #@120 Return non-nil if FILENAME should be kept in the recent list. That is, if it matches any of the `recentf-keep' checks. (defalias 'recentf-keep-p #[(filename) "\n\211? \203\f\204\305\306\307\217 A\211\204 \f+\207" [recentf-case-fold-search case-fold-search recentf-keep checks keepit nil (byte-code "@;\203\f\302@ \"\207@ !\207" [checks filename string-match] 3) ((error))] 4 (#$ . 14001)]) #@146 Add or move FILENAME at the beginning of the recent list. Does nothing if the name satisfies any of the `recentf-exclude' regexps or predicates. (defalias 'recentf-add-file #[(filename) "\304\305 !!)\306!\205&\307\n\"\211\203 \310 @\n\"\nB\211*\207" [filename name recentf-list m recentf-apply-filename-handlers expand-file-name recentf-include-p recentf-string-member delq] 4 (#$ . 14413)]) (put 'recentf-add-file 'byte-optimizer 'byte-compile-inline-expand) #@105 Remove FILENAME from the recent list, if file is not kept. Return non-nil if FILENAME has been removed. (defalias 'recentf-remove-if-non-kept #[(filename) "\304!?\205\305\306\307 !!)\n\"\211\205\310 @\n\"\211)\207" [filename name recentf-list m recentf-keep-p recentf-string-member recentf-apply-filename-handlers expand-file-name delq] 5 (#$ . 14893)]) (put 'recentf-remove-if-non-kept 'byte-optimizer 'byte-compile-inline-expand) #@135 Compare absolute filenames F1 and F2. First compare directories, then filenames sans directory. Return non-nil if F1 is less than F2. (defalias 'recentf-directory-compare #[(f1 f2) "\306!\306 !\211\n\203 \227\f\227\230\202 \f\230*\203<\307!\307 !\2035 \227\f\227\231\2028 \f\231*\202Q \n\203M \227\f\227\231\202P \f\231**\207" [f1 f2 d2 d1 s2 s1 file-name-directory file-name-nondirectory recentf-case-fold-search] 4 (#$ . 15341)]) (put 'recentf-directory-compare 'byte-optimizer 'byte-compile-inline-expand) #@111 Return a command name to open the Nth most recent file. See also the command `recentf-open-most-recent-file'. (defalias 'recentf-digit-shortcut-command-name #[(n) "\301\302\303\"!\207" [n intern format "recentf-open-most-recent-file-%d"] 4 (#$ . 15883)]) (put 'recentf-digit-shortcut-command-name 'byte-optimizer 'byte-compile-inline-expand) #@25 Digit shortcuts keymap. (defvar recentf--shortcuts-keymap (byte-code "\305 \306\307\211\2035\n@\211\310\311\312 \"!)\313\f\314\307\315\316 DF\"\210\317\320 \321\\!\f#\210)\nA\211\204 *)\207" [km k #1=#:--cl-dolist-temp-- n cmd make-sparse-keymap (0 9 8 7 6 5 4 3 2 1) nil intern format "recentf-open-most-recent-file-%d" defalias lambda (interactive) recentf-open-most-recent-file define-key vector 48] 8) (#$ . 16232)) #@42 List of menu items for recentf commands. (defvar recentf-menu-items-for-commands (list ["Cleanup list" recentf-cleanup :help "Remove duplicates, and obsoletes files from the recent list" :active t] ["Edit list..." recentf-edit-list :help "Manually remove files from the recent list" :active t] ["Save list now" recentf-save-list :help "Save the list of recently opened files now" :active t] ["Options..." (customize-group "recentf") :help "Customize recently opened files menu and options" :active t]) (#$ . 16669)) #@257 This variable can be used by menu filters to setup their own command menu. If non-nil it must contain a list of valid menu-items to be appended to the recent file list part of the menu. Before calling a menu filter function this variable is reset to nil. (defvar recentf-menu-filter-commands nil (#$ . 17192)) #@59 Return a list of the first N elements of the recent list. (defalias 'recentf-elements #[(n) " \304\n\203 \305V\203\n@ B S\nA\211\204\n \237+\207" [recentf-list n l nl nil 0] 3 (#$ . 17509)]) (put 'recentf-elements 'byte-optimizer 'byte-compile-inline-expand) #@366 Create a new menu-element. A menu element is a pair (MENU-ITEM . MENU-VALUE), where MENU-ITEM is the menu item string displayed. MENU-VALUE is the file to be open when the corresponding MENU-ITEM is selected. Or it is a pair (SUB-MENU-TITLE . MENU-ELEMENTS) where SUB-MENU-TITLE is a sub-menu title and MENU-ELEMENTS is the list of menu elements in the sub-menu. (defalias 'recentf-make-menu-element #[(menu-item menu-value) " B\207" [menu-item menu-value] 2 (#$ . 17787)]) (put 'recentf-make-menu-element 'byte-optimizer 'byte-compile-inline-expand) #@45 Return the item part of the menu-element E. (defalias 'recentf-menu-element-item #[(e) "@\207" [e] 1 (#$ . 18347)]) (put 'recentf-menu-element-item 'byte-optimizer 'byte-compile-inline-expand) #@46 Return the value part of the menu-element E. (defalias 'recentf-menu-element-value #[(e) "A\207" [e] 1 (#$ . 18547)]) (put 'recentf-menu-element-value 'byte-optimizer 'byte-compile-inline-expand) #@49 Change the item part of menu-element E to ITEM. (defalias 'recentf-set-menu-element-item #[(e item) " \240\207" [e item] 2 (#$ . 18750)]) (put 'recentf-set-menu-element-item 'byte-optimizer 'byte-compile-inline-expand) #@51 Change the value part of menu-element E to VALUE. (defalias 'recentf-set-menu-element-value #[(e value) " \241\207" [e value] 2 (#$ . 18976)]) (put 'recentf-set-menu-element-value 'byte-optimizer 'byte-compile-inline-expand) #@54 Return non-nil if menu-element E defines a sub-menu. (defalias 'recentf-sub-menu-element-p #[(e) "\211A):\207" [e] 2 (#$ . 19208)]) (put 'recentf-sub-menu-element-p 'byte-optimizer 'byte-compile-inline-expand) #@79 Make a new default menu element with FILE. This a menu element (FILE . FILE). (defalias 'recentf-make-default-menu-element #[(file) "\211\211 *B\207" [file menu-value menu-item] 3 (#$ . 19426)]) (put 'recentf-make-default-menu-element 'byte-optimizer 'byte-compile-inline-expand) #@120 Return a list of the first N default menu elements from the recent list. See also `recentf-make-default-menu-element'. (defalias 'recentf-menu-elements #[(n) "\304\305 \306\n\203#\307V\203#\n@ BS\nA\211\204 \237,\"\207" [n recentf-list l nl mapcar recentf-make-default-menu-element nil 0] 5 (#$ . 19716)]) (put 'recentf-menu-elements 'byte-optimizer 'byte-compile-inline-expand) #@223 Apply function FILTER to the list of menu-elements L. It takes care of sub-menu elements in L and recursively apply FILTER to them. It is guaranteed that FILTER receives only a list of single menu-elements (no sub-menu). (defalias 'recentf-apply-menu-filter #[(filter l) "\203\206\306 !\203\206\n\307\211\307 \211\n\203B\n@\211 \211 \211 A*:\2034 \fB\2029 B\nA\211\n\204* \203L \237!\307\f\307 \211\f\203\200\f@\211 \310  \211 A)\" \211  \241\210* B\fA\211\f\204X* \244+\207\207" [l filter recentf-case-fold-search others elts case-fold-search functionp nil recentf-apply-menu-filter elt #1=#:--cl-dolist-temp-- e #2=#:--cl-dolist-temp-- value] 5 (#$ . 20117)]) #@103 Make menu items from the recent list. This is a menu filter function which ignores the MENU argument. (defalias 'recentf-make-menu-items #[(&optional menu) "\306\307\310\311\312\217\313\n\206\314 \203\315\202\f GW\205\316\205$\317\205+\320&*\207" [recentf-menu-filter-commands recentf-menu-shortcuts file-items recentf-menu-open-all-flag recentf-max-menu-items recentf-list nil 0 err (byte-code "\306\307\310 \306\311\n \n\312\f\203)\n\313V\203)\f@ B\nS\fA\211\204 \237,\")\"\"\207" [recentf-menu-filter recentf-max-menu-items n recentf-list l nl mapcar recentf-make-menu-item recentf-apply-menu-filter recentf-make-default-menu-element nil 0] 9) ((error (byte-code "\301\302\303!\"\207" [err message "recentf update menu failed: %s" error-message-string] 4))) append (["No files" t :help "No recent file to open" :active nil]) (["All..." recentf-open-files :help "Open recent files through a dialog" :active t]) (["More..." recentf-open-more-files :help "Open files not in the menu through a dialog" :active t]) ("---") ("---") recentf-menu-items-for-commands] 7 (#$ . 20834)]) #@99 Return a shortcut digit for file NAME. Return nil if file NAME is not one of the ten more recent. (defalias 'recentf-menu-value-shortcut #[(name) "\305\306\204( \307W\203(\n 8\230\203\"\fT T\307\246\211\202 T\202*\207" [k i name recentf-list recentf-menu-shortcuts 0 nil 10] 4 (#$ . 21953)]) #@41 Make a menu item from menu element ELT. (defalias 'recentf-make-menu-item #[(elt) "\211@)\211A)\211\211A*:\203 \306\307\n\"B\202O\f\310W\205)\311\n!\312 \203> \313\314\315\"!)\202F\316\317\320\nDF\321\322\nP\323\324&)*\207" [elt e value item recentf-menu-shortcuts k mapcar recentf-make-menu-item 10 recentf-menu-value-shortcut vector intern format "recentf-open-most-recent-file-%d" lambda nil (interactive) :help "Open " :active t n recentf-menu-action] 8 (#$ . 22266)]) #@43 Return the keymap of the global menu bar. (defalias 'recentf-menu-bar #[nil "\301\302\"\207" [global-map lookup-key [menu-bar]] 3 (#$ . 22769)]) (put 'recentf-menu-bar 'byte-optimizer 'byte-compile-inline-expand) #@41 Show the menu of recently opened files. (defalias 'recentf-show-menu #[nil "\304\305\306\" \n\307\310E $\207" [global-map recentf-menu-path recentf-menu-title recentf-menu-before easy-menu-add-item lookup-key [menu-bar] :filter recentf-make-menu-items] 6 (#$ . 22989)]) #@41 Hide the menu of recently opened files. (defalias 'recentf-hide-menu #[nil "\303\304\305\" \n#\207" [global-map recentf-menu-path recentf-menu-title easy-menu-remove-item lookup-key [menu-bar]] 4 (#$ . 23266)]) #@107 Sort the list of menu elements L in ascending order. The MENU-ITEM part of each menu element is compared. (defalias 'recentf-sort-ascending #[(l) "\301\302!\303\"\207" [l sort copy-sequence #[(e1 e2) "\211@)\n\211@) \203\f\227 \227\231\202\f \231*\207" [e1 e e2 s2 s1 recentf-case-fold-search] 3]] 3 (#$ . 23485)]) (put 'recentf-sort-ascending 'byte-optimizer 'byte-compile-inline-expand) #@108 Sort the list of menu elements L in descending order. The MENU-ITEM part of each menu element is compared. (defalias 'recentf-sort-descending #[(l) "\301\302!\303\"\207" [l sort copy-sequence #[(e1 e2) "\211@)\n\211@) \203\f\227 \227\231\202\f \231*\207" [e2 e e1 s2 s1 recentf-case-fold-search] 3]] 3 (#$ . 23891)]) (put 'recentf-sort-descending 'byte-optimizer 'byte-compile-inline-expand) #@98 Sort the list of menu elements L in ascending order. Only filenames sans directory are compared. (defalias 'recentf-sort-basenames-ascending #[(l) "\301\302!\303\"\207" [l sort copy-sequence #[(e1 e2) "\306\211A)!\306\n\211A)! \203\f\227 \227\231\202\f \231*\207" [e1 e e2 s2 s1 recentf-case-fold-search file-name-nondirectory] 4]] 3 (#$ . 24299)]) (put 'recentf-sort-basenames-ascending 'byte-optimizer 'byte-compile-inline-expand) #@99 Sort the list of menu elements L in descending order. Only filenames sans directory are compared. (defalias 'recentf-sort-basenames-descending #[(l) "\301\302!\303\"\207" [l sort copy-sequence #[(e1 e2) "\306\211A)!\306\n\211A)! \203\f\227 \227\231\202\f \231*\207" [e2 e e1 s2 s1 recentf-case-fold-search file-name-nondirectory] 4]] 3 (#$ . 24748)]) (put 'recentf-sort-basenames-descending 'byte-optimizer 'byte-compile-inline-expand) #@109 Sort the list of menu elements L in ascending order. Compares directories then filenames to order the list. (defalias 'recentf-sort-directories-ascending #[(l) "\301\302!\303\"\207" [l sort copy-sequence #[(e1 e2) "\211A)\n\211A)\306\f!\306 !\211  \n \203*\n\227 \227\230\202/\n \230*\203U\307\f!\307 ! \n \203L\n\227 \227\231\202Q\n \231*\202q  \n \203k\n\227 \227\231\202p\n \231*,\207" [e1 e e2 f2 f1 d2 file-name-directory file-name-nondirectory d1 s2 s1 recentf-case-fold-search] 5]] 3 (#$ . 25201)]) (put 'recentf-sort-directories-ascending 'byte-optimizer 'byte-compile-inline-expand) #@110 Sort the list of menu elements L in descending order. Compares directories then filenames to order the list. (defalias 'recentf-sort-directories-descending #[(l) "\301\302!\303\"\207" [l sort copy-sequence #[(e1 e2) "\211A)\n\211A)\306\f!\306 !\211  \n \203*\n\227 \227\230\202/\n \230*\203U\307\f!\307 ! \n \203L\n\227 \227\231\202Q\n \231*\202q  \n \203k\n\227 \227\231\202p\n \231*,\207" [e2 e e1 f2 f1 d2 file-name-directory file-name-nondirectory d1 s2 s1 recentf-case-fold-search] 5]] 3 (#$ . 25840)]) (put 'recentf-sort-directories-descending 'byte-optimizer 'byte-compile-inline-expand) #@202 Filter the list of menu elements L to show filenames sans directory. When a filename is duplicated, it is appended a sequence number if optional argument NO-DIR is non-nil, or its directory otherwise. (defalias 'recentf-show-basenames #[(l &optional no-dir) "\306\211\211\211\211\211 \306\211\203w@\211\211A)\307 !\211 \235\2044\n B\202`\203V\310\n \"\211\203K\211AT\241\210\202Z\311\nB B\202Z\312 !\313\314\n#\n \211*B\fBA\211\204\306\f\237.\207" [sufx counters name full filtered-list filtered-names nil file-name-nondirectory assoc 1 file-name-directory format "%s(%s)" l elt #1=#:--cl-dolist-temp-- e no-dir menu-value menu-item] 6 (#$ . 26482)]) #@209 Filter the list of menu elements L to show filenames sans directory. Filenames are sorted in ascending order. This filter combines the `recentf-sort-basenames-ascending' and `recentf-show-basenames' filters. (defalias 'recentf-show-basenames-ascending #[(l) "\301\302\303!\304\")!\207" [l recentf-show-basenames sort copy-sequence #[(e1 e2) "\306\211A)!\306\n\211A)! \203\f\227 \227\231\202\f \231*\207" [e1 e e2 s2 s1 recentf-case-fold-search file-name-nondirectory] 4]] 4 (#$ . 27193)]) (put 'recentf-show-basenames-ascending 'byte-optimizer 'byte-compile-inline-expand) #@211 Filter the list of menu elements L to show filenames sans directory. Filenames are sorted in descending order. This filter combines the `recentf-sort-basenames-descending' and `recentf-show-basenames' filters. (defalias 'recentf-show-basenames-descending #[(l) "\301\302\303!\304\")!\207" [l recentf-show-basenames sort copy-sequence #[(e1 e2) "\306\211A)!\306\n\211A)! \203\f\227 \227\231\202\f \231*\207" [e2 e e1 s2 s1 recentf-case-fold-search file-name-nondirectory] 4]] 4 (#$ . 27785)]) (put 'recentf-show-basenames-descending 'byte-optimizer 'byte-compile-inline-expand) #@115 Filter the list of menu-elements L to show relative filenames. Filenames are relative to the `default-directory'. (defalias 'recentf-relative-filter #[(l) "\301\302\"\207" [l mapcar #[(menu-element) "\211A)\306\n \"\307\310\f\"\203\202\f\n\211 *B*\207" [menu-element e ful default-directory rel menu-value file-relative-name string-match "^\\.\\." menu-item] 4]] 3 (#$ . 28381)]) #@699 *List of rules used by `recentf-arrange-by-rule' to build sub-menus. A rule is a pair (SUB-MENU-TITLE . MATCHER). SUB-MENU-TITLE is the displayed title of the sub-menu where a '%d' `format' pattern is replaced by the number of items in the sub-menu. MATCHER is a regexp or a list of regexps. Items matching one of the regular expressions in MATCHER are added to the corresponding sub-menu. SUB-MENU-TITLE can be a function. It is passed every items that matched the corresponding MATCHER, and it must return a pair (SUB-MENU-TITLE . ITEM). SUB-MENU-TITLE is a computed sub-menu title that can be another function. ITEM is the received item which may have been modified to match another rule. (custom-declare-variable 'recentf-arrange-rules ''(("Elisp files (%d)" ".\\.el\\'") ("Java files (%d)" ".\\.java\\'") ("C/C++ files (%d)" "c\\(pp\\)?\\'")) '(#$ . -28781) :group 'recentf-filters :type '(repeat (cons (choice string function) (repeat regexp)))) #@299 *Title of the `recentf-arrange-by-rule' sub-menu. This is for the menu where items that don't match any `recentf-arrange-rules' are displayed. If nil these items are displayed in the main recent files menu. A '%d' `format' pattern in the title is replaced by the number of items in the sub-menu. (custom-declare-variable 'recentf-arrange-by-rule-others '"Other files (%d)" '(#$ . -29746) :group 'recentf-filters :type '(choice (const :tag "Main menu" nil) (string :tag "Title"))) #@269 *Minimum number of items in a `recentf-arrange-by-rule' sub-menu. If the number of items in a sub-menu is less than this value the corresponding sub-menu items are displayed in the main recent files menu or in the `recentf-arrange-by-rule-others' sub-menu if defined. (custom-declare-variable 'recentf-arrange-by-rules-min-items '0 '(#$ . -30235) :group 'recentf-filters :type 'number) #@178 *Function called by a rule based filter to filter sub-menu elements. A nil value means no filter. See also `recentf-menu-filter'. You can't use another rule based filter here. (custom-declare-variable 'recentf-arrange-by-rule-subfilter 'nil '(#$ . -30628) :group 'recentf-filters :type '(choice (const nil) function) :set #[(variable value) "\302>\203\n\303\304!\210\305 \"\207" [value variable (recentf-arrange-by-rule recentf-arrange-by-mode recentf-arrange-by-dir) error "Recursive use of a rule based filter" set-default] 3]) #@34 Return the rule that match FILE. (defalias 'recentf-match-rule #[(file) "\306\211 \204G \203G \211@A)\211;\203\nC\n\2030\307\n@ \"\2040\nA\211\204!\n\203A \211@@) B\211\202 A\202 +\207" [recentf-arrange-rules found match rules x file nil string-match] 4 (#$ . 31168)]) #@107 Filter the list of menu-elements L. Arrange them in sub-menus following rules in `recentf-arrange-rules'. (defalias 'recentf-arrange-by-rule #[(l) "\203\306\211\211\211\211\211\306\211\203{@\211\211A)\307 !\310\f@!\203<\f@\fA!\202,\f@;\204J B\202r\311\f@\"\206]\f@CB\211@\211\f\211A)B\211\241\210*A\211\204*\312!\203\210\202\211\313\306\306\211\203\354@\211\211A)\211G\211\nW\203\264\f \244\202\343\314\211@) \"\211\240\210*\315\f\237\"\211\241\210*BA\211\204\230* \237\211\203;\203\314 G\"\315 \"\211*BC\202\315 \"\244.\207" [recentf-arrange-rules count min file menu others nil recentf-match-rule functionp assoc natnump 0 format recentf-apply-menu-filter menus l elt #1=#:--cl-dolist-temp-- e value recentf-arrange-by-rules-min-items #2=#:--cl-dolist-temp-- item recentf-arrange-by-rule-subfilter recentf-arrange-by-rule-others menu-value menu-item] 7 (#$ . 31467)]) #@56 Apply a second level `auto-mode-alist' regexp to FILE. (defalias 'recentf-indirect-mode-rule #[(file) "\301\302\211\224O!\207" [file recentf-match-rule 0] 4 (#$ . 32488)]) #@92 Convert `auto-mode-alist' to menu filter rules. Rules obey `recentf-arrange-rules' format. (defalias 'recentf-build-mode-rules #[nil "\306\211\211\211\306\211\203~@\211@A\211\203u:\203<\211A@)\203<\307\202\\\203\\9\203\\\310!\311\312 \"\203X\313\314 \" \315P\316 \"\211\203o\n\f\nAB\241\210\202u \fD BA\211\204* \237-\207" [recentf-case-fold-search rules rule rule-name regexp case-fold-search nil recentf-indirect-mode-rule symbol-name string-match "\\(.*\\)-mode$" match-string 1 " (%d)" assoc auto-mode-alist mode #1=#:--cl-dolist-temp-- x] 5 (#$ . 32667)]) #@65 Split the list of menu-elements L into sub-menus by major mode. (defalias 'recentf-arrange-by-mode #[(l) "\303 \304\305\n!*\207" [recentf-arrange-by-rule-others recentf-arrange-rules l recentf-build-mode-rules "others (%d)" recentf-arrange-by-rule] 2 (#$ . 33290)]) #@234 Filter the list of menu-elements L to show filenames sans directory. This simplified version of `recentf-show-basenames' does not handle duplicates. It is used by `recentf-arrange-by-dir' as its `recentf-arrange-by-rule-subfilter'. (defalias 'recentf-file-name-nondir #[(l) "\301\302\"\207" [l mapcar #[(e) "\303\211A)!\211A)\211 *B\207" [e menu-value menu-item file-name-nondirectory] 3]] 3 (#$ . 33565)]) #@54 Return as a sub-menu, the directory FILE belongs to. (defalias 'recentf-dir-rule #[(file) "\301!B\207" [file file-name-directory] 2 (#$ . 33986)]) #@64 Split the list of menu-elements L into sub-menus by directory. (defalias 'recentf-arrange-by-dir #[(l) "\304\305\306\307 !+\207" [recentf-arrange-by-rule-others recentf-arrange-by-rule-subfilter recentf-arrange-rules l ((recentf-dir-rule . ".*")) recentf-file-name-nondir nil recentf-arrange-by-rule] 3 (#$ . 34141)]) #@50 Current filter used by `recentf-filter-changer'. (defvar recentf-filter-changer-current nil (#$ . 34468)) #@207 *List of filters managed by `recentf-filter-changer'. Each filter is defined by a pair (FUNCTION . LABEL), where FUNCTION is the filter function, and LABEL is the menu item displayed to select that filter. (custom-declare-variable 'recentf-filter-changer-alist ''((recentf-arrange-by-mode . "Grouped by Mode") (recentf-arrange-by-dir . "Grouped by Directory") (recentf-arrange-by-rule . "Grouped by Custom Rules")) '(#$ . -34581) :group 'recentf-filters :type '(repeat (cons function string)) :set #[(variable value) "\303\304 \n\"\207" [recentf-filter-changer-current variable value nil set-default] 3]) #@73 Select FILTER as the current menu filter. See `recentf-filter-changer'. (defalias 'recentf-filter-changer-select #[(filter) "\211\207" [filter recentf-filter-changer-current] 2 (#$ . 35193)]) #@164 Manage a sub-menu of menu filters. `recentf-filter-changer-alist' defines the filters in the menu. Filtering of L is delegated to the selected filter in the menu. (defalias 'recentf-filter-changer #[(l) "\204 \211@@)\204 \207\305\306\307 \"BC\310 \"\207" [recentf-filter-changer-current recentf-filter-changer-alist x l recentf-menu-filter-commands "Show files" mapcar #[(f) "\301A\302\303\304@DE\305\306\307\310\303\304@DE&\207" [f vector setq recentf-filter-changer-current quote :style radio :selected eq] 10] recentf-apply-menu-filter] 5 (#$ . 35394)]) #@74 Insert the name of the file just opened or written into the recent list. (defalias 'recentf-track-opened-file #[nil "\203.\211\305\306\n!!)\307 !\203- \310 \"\211\203&\311\f@ \" B\211*\210)\312\207" [buffer-file-name filename name recentf-list m recentf-apply-filename-handlers expand-file-name recentf-include-p recentf-string-member delq nil] 5 (#$ . 35971)]) #@103 Update the recent list when a buffer is killed. That is, remove a non kept file from the recent list. (defalias 'recentf-track-closed-file #[nil "\205&\305 !?\205%\306 \307\310\n!!) \"\211\205$\311\f@ \"\211))\207" [buffer-file-name filename name recentf-list m recentf-keep-p recentf-string-member recentf-apply-filename-handlers expand-file-name delq] 5 (#$ . 36354)]) #@24 Hooks used by recentf. (defconst recentf-used-hooks '((find-file-hook recentf-track-opened-file) (write-file-functions recentf-track-opened-file) (kill-buffer-hook recentf-track-closed-file) (kill-emacs-hook recentf-save-list)) (#$ . 36740)) #@46 Cancel the current dialog. IGNORE arguments. (defalias 'recentf-cancel-dialog #[(&rest ignore) "\300p!\210\301\302!\207" [kill-buffer message "Dialog canceled"] 2 (#$ . 36988) nil]) #@105 Move the cursor to the first WIDGET-TYPE in current dialog. Go to the beginning of buffer if not found. (defalias 'recentf-dialog-goto-first #[(widget-type) "eb\210\300\301\302\217\207" [nil (byte-code "\303\304\305!\210?\205$ \306`!\211@)=\203\307\211\202\304\305!\210\202)\207" [done widget-type widget nil widget-move 1 widget-at t] 4) ((error (byte-code "eb\207" [] 1)))] 3 (#$ . 37177)]) #@33 Keymap used in recentf dialogs. (defvar recentf-dialog-mode-map (byte-code "\303!\304 \n\"\210\305 \306\307#\210\305 \310\311#\210 )\207" [recentf--shortcuts-keymap km widget-keymap copy-keymap set-keymap-parent define-key "q" recentf-cancel-dialog [follow-link] " "] 4) (#$ . 37587)) (byte-code "\301\302N\204\f\303\301\302\304#\210\305\306!\204\303\306\307\310#\210\306B\311\306!\204(\312\306\313 \"\210\303\310\314\315#\207" [current-load-list recentf-dialog-mode-hook variable-documentation put "Hook run when entering recentf-dialog mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp recentf-dialog-mode-map definition-name recentf-dialog-mode default-boundp set-default make-sparse-keymap derived-mode-parent nil] 4) #@154 Major mode of recentf dialogs. \{recentf-dialog-mode-map} This mode runs the hook `recentf-dialog-mode-hook', as the final step during initialization. (defalias 'recentf-dialog-mode #[nil "\305\300!\210\306\307 \210\310\311\312 !\210\306)\313\314!\203\314\315!\207\316\315!\207" [delay-mode-hooks major-mode mode-name recentf-dialog-mode-map truncate-lines make-local-variable t kill-all-local-variables recentf-dialog-mode "recentf-dialog" use-local-map fboundp run-mode-hooks recentf-dialog-mode-hook run-hooks] 2 (#$ . 38415) nil])(if macro-declaration-function (funcall macro-declaration-function (quote recentf-dialog) (quote (declare (indent 1) (debug t))))) #@51 Show a dialog buffer with NAME, setup with FORMS. (defalias 'recentf-dialog '(macro . #[(name &rest forms) "\302\303D\304\305\306 \307\"BBBB\207" [name forms with-current-buffer get-buffer-create (let ((inhibit-read-only t) (ol (overlay-lists))) (mapc 'delete-overlay (car ol)) (mapc 'delete-overlay (cdr ol)) (erase-buffer)) (recentf-dialog-mode) append ((widget-setup) (switch-to-buffer (current-buffer)))] 7 (#$ . 39094)])) (byte-code "\301B\302\301!\204\303\301\304\"\210\304\207" [current-load-list recentf-edit-list default-boundp set-default nil] 3) #@85 Toggle a file selection based on the checkbox WIDGET state. IGNORE other arguments. (defalias 'recentf-edit-list-select #[(widget &rest ignore) "\304\305\"\306! \203\307\303\n\"\210\202\310\n \"\311\312\n \203%\313\202&\314#*\207" [widget check value recentf-edit-list widget-get :tag widget-value add-to-list delq message "%s %sselected" "" "un"] 4 (#$ . 39662)]) #@83 Process the recent list when the edit list dialog is committed. IGNORE arguments. (defalias 'recentf-edit-list-validate #[(&rest ignore) "\203+\305\306\211\203 @\307\n\f\" T A\211\204*\310p!\210\311\312 \")\207\311\313!\207" [recentf-edit-list i e #1=#:--cl-dolist-temp-- recentf-list 0 nil delq kill-buffer message "%S file(s) removed from the list" "No file selected"] 4 (#$ . 40044)]) #@62 Show a dialog to delete selected files from the recent list. (defalias 'recentf-edit-list #[nil "\204\306\307!\210r\310\311\312 \"!q\210\313\314 \315\316\n@\"\210\315\316\nA\"\210\317 \210*\320 \210\321\304!\210\322\323\324!\210\322\211)\203V)@\325\326\327\322\330\331\332 \333\334& \210)A\211)\204<*\323\335!\210\325\336\333\337\340\341\342&\210\323\343!\210\325\336\333\344\345$\210\346\326!\210\347 \210\350p!)\207" [recentf-list recentf-menu-title ol inhibit-read-only recentf-edit-list item error "The list of recent files is empty" get-buffer-create format "*%s - Edit list*" t overlay-lists mapc delete-overlay erase-buffer recentf-dialog-mode make-local-variable nil widget-insert "Click on OK to delete selected files from the recent list.\nClick on Cancel or type `q' to cancel.\n" widget-create checkbox :value :format "\n %[%v%] %t" :tag :notify recentf-edit-list-select "\n\n" push-button recentf-edit-list-validate :help-echo "Delete selected files from the recent list" "Ok" " " recentf-cancel-dialog "Cancel" recentf-dialog-goto-first widget-setup switch-to-buffer #1=#:--cl-dolist-temp--] 11 (#$ . 40452) nil]) #@79 Open the file stored in WIDGET's value when notified. IGNORE other arguments. (defalias 'recentf-open-files-action #[(widget &rest ignore) "\302p!\210\303 !!\207" [recentf-menu-action widget kill-buffer widget-value] 3 (#$ . 41603)]) (byte-code "\301B\302\301!\204\303\301\304\"\210\304\207" [current-load-list recentf--files-with-key default-boundp set-default nil] 3) #@61 Filter the list of menu-elements L to show digit shortcuts. (defalias 'recentf-show-digit-shortcut-filter #[(l) "\305 \306\211\203* @T\n\307\310\311\246\n\211@)#\211\f\240\210* A\211\204\n* )\207" [i l e #1=#:--cl-dolist-temp-- item 0 nil format "[%d] %s" 10] 6 (#$ . 41984)]) #@61 Return a widget to display MENU-ELEMENT in a dialog buffer. (defalias 'recentf-open-files-item #[(menu-element) "A:\203!\301\302\303\304\305\306\307\310@\311BBB\312\313A\"BBBBBBB\207\314\310@\315\316\317\316\320\321\322\323\324\325AP\326\327A\257\207" [menu-element tree-widget :open t :match ignore :node item :tag (:sample-face bold :format "%{%t%}:\n") mapcar recentf-open-files-item link :button-prefix "" :button-suffix :button-face default :format "%[%t\n%]" :help-echo "Open " :action recentf-open-files-action] 16 (#$ . 42280)]) #@63 Return a list of widgets to display FILES in a dialog buffer. (defalias 'recentf-open-files-items #[(files) "\306\304!\210\307\310\n\203# \311V\203#\n@ B S\nA\211\204 \237+\312\313\314 \2059\307\233\315\316\312\317\f\"\"\315\312\317\"\"\"\"\207" [files n l nl recentf--files-with-key recentf-show-file-shortcuts-flag make-local-variable 10 nil 0 mapcar recentf-open-files-item append recentf-apply-menu-filter recentf-show-digit-shortcut-filter recentf-make-default-menu-element recentf-menu-filter] 9 (#$ . 42831)]) #@300 Show a dialog to open a recent file. If optional argument FILES is non-nil, it is a list of recently-opened files to choose from. It defaults to the whole recent list. If optional argument BUFFER-NAME is non-nil, it is a buffer name to use for the dialog. It defaults to "*`recentf-menu-title'*". (defalias 'recentf-open-files #[(&optional files buffer-name) "\204\f \204\f\306\307!\210r\310\n\206\311\312 \"!q\210\313\314 \315\316\f@\"\210\315\316\fA\"\210\317 \210*\320 \210\321\322)\203<\323\202=\324\325\326$\210\327\330!\210\331\332\333\334\335\336\337\340\206R !BBBBB\"\210\332\341\342\343\344$\210\345\346!\210\347 \210\350p!)\207" [files recentf-list buffer-name recentf-menu-title ol inhibit-read-only error "There is no recent file to open" get-buffer-create format "*%s*" t overlay-lists mapc delete-overlay erase-buffer recentf-dialog-mode widget-insert "Click on a file" ", or type the corresponding digit key," "" " to open it.\n" "Click on Cancel or type `q' to cancel.\n" tree-widget-set-theme "folder" apply widget-create group :indent 2 :format "\n%v\n" recentf-open-files-items push-button :notify recentf-cancel-dialog "Cancel" recentf-dialog-goto-first link widget-setup switch-to-buffer recentf-show-file-shortcuts-flag] 9 (#$ . 43373) nil]) #@62 Show a dialog to open a recent file that is not in the menu. (defalias 'recentf-open-more-files #[nil "\303 \233\304\305\n\"\"\207" [recentf-max-menu-items recentf-list recentf-menu-title recentf-open-files format "*%s - More*"] 5 (#$ . 44657) nil]) #@203 Open the Nth most recent file. Optional argument N must be a valid digit number. It defaults to 1. 1 opens the most recent file, 2 the second most recent one, etc.. 0 opens the tenth most recent file. (defalias 'recentf-open-most-recent-file #[(&optional n) "\305!\203 \306\202\307V\203\306W\204\310\311\"\210S \206#\n8\211\204-\310\312!\210 \2035\313p!\210\f !)\207" [n recentf--files-with-key recentf-list file recentf-menu-action zerop 10 0 error "Recent file number out of range [0-9], %d" "Not that many recent files" kill-buffer] 4 (#$ . 44915) "p"]) #@52 Header to be written into the `recentf-save-file'. (defconst recentf-save-file-header ";;; Automatically generated by `recentf' on %s.\n" (#$ . 45496)) #@48 Coding system of the file `recentf-save-file'. (defconst recentf-save-file-coding-system (byte-code "\300\301!\203\301\207\302\207" [coding-system-p utf-8-emacs emacs-mule] 2) (#$ . 45654)) #@82 Save the recent list. Write data into the file specified by `recentf-save-file'. (defalias 'recentf-save-list #[nil "\300\301\302\217\207" [error (byte-code "\306\307!\310\216rq\210\311 \210\312 !\210\313\n\314 \"c\210\315\316 \"\210\315\317!\210\320\313\321 \"\322\261\210\323\324\f!!\210 \2039\325\f \"\210+\326\207" [#1=#:temp-buffer recentf-save-file-coding-system recentf-save-file-header recentf-max-saved-items recentf-save-file recentf-save-file-modes generate-new-buffer " *temp*" ((byte-code "\301!\203\n\302!\210\301\207" [#1# buffer-name kill-buffer] 2)) erase-buffer set-buffer-file-coding-system format current-time-string recentf-dump-variable recentf-list recentf-filter-changer-current "\n\f\n;;; Local Variables:\n" ";;; coding: %s\n" ";;; End:\n" write-file expand-file-name set-file-modes nil] 4) ((error (byte-code "\301\302\303!\"\207" [error warn "recentf mode: %s" error-message-string] 4)))] 3 (#$ . 45852) nil]) #@214 Load a previously saved recent list. Read data from the file specified by `recentf-save-file'. When `recentf-initialize-file-name-history' is non-nil, initialize an empty `file-name-history' with the recent list. (defalias 'recentf-load-list #[nil "\305!\306 !\205\307 !\210\n\205 ?\205\310\311\f\"\211)\207" [recentf-save-file file recentf-initialize-file-name-history file-name-history recentf-list expand-file-name file-readable-p load-file mapcar abbreviate-file-name] 3 (#$ . 46805) nil]) #@84 Cleanup the recent list. That is, remove duplicates, non-kept, and excluded files. (defalias 'recentf-cleanup #[nil "\306\307!\210\310\311\n\311\211\203E\f@\211\312\313 !!)\314 !\2036\315 !\2036\316 \"\2046 B\202> T\306\317 \"\210\fA\211\204*\306\320 \"\210\237\211*\207" [newlist n recentf-list f #1=#:--cl-dolist-temp-- name message "Cleaning up the recentf list..." 0 nil recentf-apply-filename-handlers expand-file-name recentf-include-p recentf-keep-p recentf-string-member "File %s removed from the recentf list" "Cleaning up the recentf list...done (%d removed)"] 4 (#$ . 47314) nil]) #@32 Keymap to use in recentf mode. (defvar recentf-mode-map (make-sparse-keymap) (#$ . 47933)) #@257 Non-nil if Recentf mode is enabled. See the command `recentf-mode' for a description of this minor-mode. Setting this variable directly does not take effect; either customize it (see the info node `Easy Customization') or call the function `recentf-mode'. (custom-declare-variable 'recentf-mode 'nil '(#$ . 48031) :set 'custom-set-minor-mode :initialize 'custom-initialize-default :group 'recentf :type 'boolean) #@231 Toggle recentf mode. With prefix argument ARG, turn on if positive, otherwise off. Returns non-nil if the new state is enabled. When recentf mode is enabled, it maintains a menu for visiting files that were operated on recently. (defalias 'recentf-mode #[(&optional arg) "\306=\203 ?\202%\203\307!\310V\202% \204\311\202%\312\313\301\"\210\314\211\2030\315\n>\204\201 \203=\316 \210\317 \210\202C\320 \210\315 \210\321 \210 \203N\322\202O\323\f\314\211\203k@\324 \"\210A\211\204Y+\325\326!\210t\203\201\312\327 \203~\330\202\331\"\210 \210\325\326 \203\215\332\202\216\333\"\210\334 \203\246\335\301!\210\312\327 \203\243\330\202\244\331\"\210\336 \210 \207" [arg recentf-mode kill-emacs-hook hook-setup recentf-used-hooks hook toggle prefix-numeric-value 0 t message "Toggling %s off; better pass an explicit argument." nil recentf-save-list recentf-load-list recentf-show-menu recentf-hide-menu recentf-auto-cleanup add-hook remove-hook apply run-hooks recentf-mode-hook "Recentf mode %sabled" "en" "dis" recentf-mode-on-hook recentf-mode-off-hook called-interactively-p customize-mark-as-set force-mode-line-update #1=#:--cl-dolist-temp--] 5 (#$ . 48451) (list (or current-prefix-arg 'toggle))]) (byte-code "\301\302\303#\210\304\305!\210\306\307!\207" [recentf-mode-map add-minor-mode recentf-mode nil provide recentf run-hooks recentf-load-hook] 4)