aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/recentf.el
Commit message (Collapse)AuthorAgeFilesLines
* * recentf.el (recentf-keep-default-predicate): Adapt call ofMichael Albinus2007-07-171-1/+1
| | | | `file-remote-p'.
* * recentf.el (recentf-keep-default-predicate): New defun.Michael Albinus2007-07-151-7/+15
| | | | (recentf-keep): Use it as initial value.
* Stephen Berman <Stephen.Berman at gmx.net>:Glenn Morris2007-03-281-1/+8
| | | | (recentf-save-file): Add a custom :set function.
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (recentf-mode): Doc fix.Richard M. Stallman2006-10-181-3/+1
|
* (recentf-open-files-item): Include newline in buttonDavid Ponce2006-04-031-1/+1
| | | | | | field, so opening a file will work, when the point is at the end of the file name. Allow, for example, to [i]search a file by extension and just push RET to open it.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (recentf-dialog-goto-first): Fix missing error condition.David Ponce2005-12-151-1/+6
| | | | | (recentf-edit-list, recentf-open-files): Signal an error when there is no recent file.
* Improvement of the menu code.David Ponce2005-12-091-208/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (recentf-enabled-p): Move before first use. Use `kill-emacs-hook' instead of menu hook. (recentf-show-menu, recentf-hide-menu): New functions. (recentf-menu-customization-changed, recentf-mode): Use them. (recentf-menu-action, recentf-max-menu-items) (recentf-menu-open-all-flag, recentf-menu-append-commands-flag) (recentf-arrange-by-rule-others) (recentf-arrange-by-rules-min-items) (recentf-arrange-by-rule-subfilter) : Don't use `recentf-menu-customization-changed'. (recentf-arrange-rules): Likewise. Accept functions to compute sub-menu titles. (recentf-menu-filter): Likewise. Doc fix. (recentf-menu-value-shortcut): Doc fix. (recentf-dump-variable): Quote atom value. (recentf-make-menu-items): Update to use it as a menu filter. (recentf-match-rule): New function. (recentf-arrange-by-rule): Use it. (recentf-indirect-mode-rule): New function. (recentf-build-mode-rules): Use it. (recentf-dir-rule): New function. (recentf-arrange-by-dir): Use it. (recentf-filter-changer-current): Rename from `recentf-filter-changer-state'. All references updated. (recentf-filter-changer-alist): Update filter names. (recentf-filter-changer-select): New function. (recentf-filter-changer): Use it. Make a sub-menu from filters available in `recentf-filter-changer-alist'. (recentf-data-cache, recentf-clear-data) (recentf-update-menu): Remove. All references updated. (recentf-match-rule-p, recentf-build-dir-rules) (recentf-filter-changer-goto-next) (recentf-filter-changer-get-current) (recentf-filter-changer-get-next): Remove.
* (recentf-arrange-by-rule): Handle a special `auto-mode-alist'-likeDavid Ponce2005-11-251-34/+51
| | | | | "strip suffix" rule. (recentf-build-mode-rules): Handle second level auto-mode entries.
* (recentf-track-opened-file)David Ponce2005-10-141-52/+54
| | | | | | | (recentf-track-closed-file, recentf-update-menu) (recentf-used-hooks, recentf-enabled-p): Move before dialog stuff. (recentf-dialog-mode-map): Map follow-link to RET, so dialogs obey mouse-1-click-follows-link.
* (recentf-menu-open-all-flag): New option.David Ponce2005-10-071-38/+95
| | | | | | | | | | | | | | | (recentf-digit-shortcut-command-name): New function. (recentf--shortcuts-keymap): New variable. (recentf-menu-shortcuts): New variable. (recentf-make-menu-items): Initialize it. Replace the "More..." menu item by "All...", if `recentf-menu-open-all-flag' is non-nil. (recentf-menu-value-shortcut): New function. (recentf-make-menu-item): Use it. No more in-lined. (recentf-dialog-mode-map): Base on `recentf--shortcuts-keymap'. (recentf-open-most-recent-file): Rename from `recentf-open-file-with-key'. Don't depend on key binding. (recentf-mode-map): New variable. (recentf-mode): Use it.
* (recentf-filename-handlers): Rename fromDavid Ponce2005-09-301-34/+51
| | | | | | | | `recentf-filename-handler'. Allow a list of functions. (recentf-menu-items-for-commands): Fix :help strings. (recentf-apply-filename-handlers): New function. (recentf-expand-file-name): Use it. (recentf-cleanup): Remove duplicates too.
* (recentf-save-file-modes): New option.David Ponce2005-09-151-1/+12
| | | | (recentf-save-list): Use it.
* (recentf-filename-handler): Add custom choiceReiner Steib2005-09-081-0/+1
| | | | `abbreviate-file-name'.
* (recentf-show-file-shortcuts-flag): New option.David Ponce2005-09-081-9/+69
| | | | | | | | | | (recentf-expand-file-name): Doc fix. (recentf-dialog-mode-map): Define digit shortcuts. (recentf--files-with-key): New variable. (recentf-show-digit-shortcut-filter): New function. (recentf-open-files-items): New function. (recentf-open-files): Use it. (recentf-open-file-with-key): New command.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-2/+2
|
* (recentf-menu-append-commands-p): Declare with `define-obsolete-variable-alias'.Juanma Barranquero2005-07-281-13/+11
| | | | | | | (recentf-max-saved-items, recentf-menu-filter, recentf-arrange-by-rule-subfilter): Doc fixes. (recentf-menu-append-commands-flag, recentf-initialize-file-name-history, recentf-expand-file-name, recentf-clear-data): Fix typos in docstrings.
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* Require 'tree-widget instead of 'wid-edit.David Ponce2005-06-261-148/+137
| | | | | | | | | | | | | | | | | | | | (recentf-filename-handler): Fix widget :type. (recentf-cancel-dialog, recentf-open-more-files) (recentf-open-files-action): Doc fix. (recentf-dialog-goto-first): New function. (recentf-dialog-mode-map): Set parent keymap first. (recentf-dialog-mode): Define with define-derived-mode. Don't display continuation lines in dialogs. (recentf-edit-list): Rename from recentf-edit-selected-items. (recentf-edit-list-select): Rename from recentf-edit-list-action. Simplify. (recentf-edit-list-validate): New function. (recentf-edit-list): Update accordingly. (recentf-open-files-item-shift): Remove. (recentf-open-files-item): Convert menu elements into tree and link widgets. Don't create the widgets. (recentf-open-files): Update accordingly. (recentf-save-list): Untabify.
* (recentf-dialog-mode): Use kill-all-local-variables andLute Kamstra2005-06-141-5/+5
| | | | | | run-mode-hooks. (recentf-edit-list, recentf-open-files): Don't call kill-all-local-variables directly.
* Whitespace change.Richard M. Stallman2005-05-311-1/+1
|
* (recentf-save-file-coding-system): New variable.Kenichi Handa2005-04-221-1/+11
| | | | | (recentf-save-list): Encode the file by recentf-save-file-coding-system and add coding: tag.
* (recentf-keep): New option.David Ponce2005-03-231-62/+59
| | | | | | | | | | | | | | | | (recentf-menu-action): Default to `find-file'. (recentf-keep-non-readable-files-flag) (recentf-keep-non-readable-files-p) (recentf-file-readable-p, recentf-find-file) (recentf-cleanup-remote): Remove. (recentf-include-p): More robust. (recentf-keep-p): New function. (recentf-remove-if-non-kept): Rename from `recentf-remove-if-non-readable'. Use `recentf-keep-p'. All callers updated. (recentf-menu-items-for-commands): Fix help string. (recentf-track-closed-file): Update. Doc fix. (recentf-cleanup): Update. Count removed files. Doc fix.
* (recentf-cleanup-remote): New variable.Eli Zaretskii2005-03-191-1/+9
| | | | | (recentf-cleanup): Use it to conditionally check availablity of remote files.
* Change release version from 21.4 to 22.1 throughout.Kim F. Storm2005-02-091-4/+4
| | | | Change development version from 21.3.50 to 22.0.50.
* (recentf-menu-path): Use menu item name.David Ponce2004-11-061-1/+1
|
* (recentf-edit-list): Update the menu when the recentfDavid Ponce2004-10-121-1/+2
| | | | list has been modified.
* (recentf-save-list): Catch and warn about errors.Richard M. Stallman2004-04-201-7/+10
|
* Revision: [email protected]/emacs--cvs-trunk--0--patch-196Miles Bader2004-04-101-2/+0
| | | | | | | | | | | | | | | | | | | Remove RCS keywords 2004-04-10 Miles Bader <[email protected]> RCS keyword removal (only non-comment changes are enumerated here): * lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed. (byte-compile-insert-header): Don't use `byte-compile-version'. * lisp/url/url-vars.el (url-version): Use the constant string "Emacs" instead of calculating something from the RCS `State' keyword [the latter is almost entirely useless anyway]. * lisp/forms.el (forms-version): Variable removed. (forms-mode): Don't use `forms-version'. * lisp/recentf.el (recentf-version): Variable removed. * lisp/progmodes/delphi.el (delphi-version): Variable removed. * lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
* (recentf-initialize-file-name-history): New defcustom.Eli Zaretskii2003-09-281-3/+15
| | | | | | (recentf-load-list): When `recentf-initialize-file-name-history' is non-nil, initialize an empty `file-name-history' with the recent list.
* David Ponce <[email protected]>Glenn Morris2003-09-151-13/+35
| | | | | | | | | (recentf-exclude): Accept predicates too. (recentf-file-readable-p): New function. (recentf-include-p): Handle predicates in recentf-exclude. (recentf-add-file): Doc fix. Use recentf-file-readable-p. (recentf-cleanup): Likewise. (recentf-save-list): Use write-file to handle backup of recentf-save-file.
* Ensure that recentf correctly update the menu bar:Eli Zaretskii2003-09-081-8/+14
| | | | | | | | (recentf-menu-path,recentf-menu-before): Doc fix. (recentf-menu-bar): New function. (recentf-clear-data): Use it (recentf-update-menu): Likewise. Use easy-menu-add-item instead of easy-menu-change.
* Add arch taglinesMiles Bader2003-09-011-1/+2
|
* (recentf-cleanup): Swap tests for exclusion and accessibility.Juanma Barranquero2003-05-021-2/+2
|
* Major rewrite. The code is reordered, cleaner and faster.Juanma Barranquero2003-04-261-669/+754
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduced new options to automatically cleanup the recent list, and to handle filename transformation (for example to use true filenames). (recentf-version): New constant. (recentf-save-file-header): Moved. (recentf-data-cache): New variable. (recentf-update-menu-p, recentf-initialized-p): Removed. (recentf-menu-customization-changed): Moved. Doc fix. (recentf-max-saved-items): Doc fix. (recentf-save-file): Doc fix. No more expand filename here. (recentf-exclude, recentf-menu-action) (recentf-menu-filter): Doc fix. (recentf-menu-append-commands-flag): Renamed from... (recentf-menu-append-commands-p): Made obsolete. (recentf-keep-non-readable-files-flag): Renamed from... (recentf-keep-non-readable-files-p): Made obsolete. (recentf-auto-cleanup, recentf-filename-handler): New options. (recentf-string-equal, recentf-string-lessp) (recentf-string-member): New functions. (recentf-trunc-list): Moved. (recentf-dump-variable): Moved. Better code and output format. (recentf-auto-cleanup-timer): New variable. (recentf-auto-cleanup): New function. (recentf-push, recentf-expand-file-name): New functions. (recentf-add-file): In-lined. Use above functions. (recentf-remove-if-non-readable): In-lined. Expand file name. (recentf-find-file): Use `recentf-remove-if-non-readable'. (recentf-directory-compare): Moved. Use `recentf-string-equal' and `recentf-string-lessp' to do comparisons. (recentf-menu-items-for-commands) (recentf-menu-filter-commands): Moved. (recentf-elements, recentf-make-menu-element) (recentf-menu-element-item, recentf-menu-element-value) (recentf-set-menu-element-item, recentf-set-menu-element-value) (recentf-sub-menu-element-p, recentf-make-default-menu-element) (recentf-menu-elements): In-lined. Some doc fix. (recentf-apply-menu-filter): Better code. (recentf-make-menu-items): Doc fix. Use `recentf-menu-append-commands-flag'. (recentf-make-menu-item): In-lined. Better code. (recentf-clear-data): New function. (recentf-sort-ascending, recentf-sort-descending) (recentf-sort-basenames-ascending) (recentf-sort-basenames-descending) (recentf-sort-directories-ascending) (recentf-sort-directories-descending) (recentf-show-basenames-ascending) (recentf-show-basenames-descending: In-lined. Better code. Some doc fix. (recentf-show-basenames) (recentf-relative-filter): Better code. Doc fix. (recentf-arrange-by-rule-subfilter): Doc fix. Improved :set code. (recentf-match-rule-p): Use filename instead of file-path. (recentf-arrange-by-rule, recentf-build-mode-rules) (recentf-arrange-by-mode, recentf-build-dir-rules) (recentf-file-name-nondir) (recentf-filter-changer-alist): Some doc fix and code cleanup. (recentf-filter-changer-goto-next): Doc fix. Call `recentf-clear-data'. (recentf-filter-changer-get-current) (recentf-filter-changer-get-next): In-lined. Doc fix and better code. (recentf-filter-changer): Doc fix and better code. (recentf-cancel-dialog): Doc fix. (recentf-dialog-mode-map): Initialized in defvar. (recentf-dialog-mode): Doc fix. (recentf-track-opened-file): Renamed from... (recentf-add-file-hook): Removed. (recentf-track-closed-file): Renamed from... (recentf-remove-file-hook): Removed. (recentf-update-menu-hook): Removed. Replaced by... (recentf-update-menu): New. Better catch unnecessary updates. Display a message on error. (recentf-used-hooks): New constant. (recentf-enabled-p): New function. (recentf-edit-selected-items) (recentf-open-files-action) (recentf-open-files-item-shift): Doc fix. (recentf-edit-list-action) (recentf-open-files-item): Doc fix. Code cleanup. (recentf-edit-list, recentf-open-files) (recentf-open-more-files): Likewise. Removed autoload cookie. (recentf-save-list, recentf-cleanup): Likewise. Moved. (recentf-load-list): New command. (recentf-mode): Better code. Does nothing if enabling the already enabled mode.
* Cygwin support patch.Juanma Barranquero2003-01-311-5/+5
|
* Remove dot at the end of sentence.Pavel Janík2002-04-291-1/+1
|
* (recentf-menu-before): Use string to specify path in the menu.Pavel Janík2002-04-281-1/+1
|
* Doc fixes.Pavel Janík2001-12-201-2/+2
|
* (recentf-dump-variable): Handle a value of nilGerd Moellmann2001-08-021-13/+9
| | | | correctly.
* Some fixes to follow coding conventions.Pavel Janík2001-07-161-1/+1
|
* (recentf-menu-filter): Fix :type.Dave Love2001-02-071-16/+31
|
* (recentf-menu-items-for-commands)Gerd Moellmann2000-11-221-42/+60
| | | | | | | | | | (recentf-make-menu-items, recentf-make-menu-item) (recentf-filter-changer): Added :help and :active menu-item properties. (recentf-build-dir-rules, recentf-dump-variable) (recentf-edit-list, recentf-open-files-item) (recentf-open-files): Replaced unnecessary `mapcar' with new built-in `mapc'.
* (recentf-mode): Drop unneeded positional args.Stefan Monnier2000-11-031-1/+0
|
* (recentf-mode): Variable removed.Miles Bader2000-10-251-39/+30
| | | | (recentf-mode): Use `define-minor-mode'.
* Maintainer's checkdoc fixes.Dave Love2000-10-121-22/+22
|
* Doc fixes.Dave Love2000-10-081-64/+63
|
* (recent-dialog-mode-map): Bind down-mouse-1 toGerd Moellmann2000-08-141-0/+1
| | | | | `widget-button-click'. so that one can use left mouse button to click on dialog buttons.
* Fix CRLF eols.Dave Love2000-07-241-1060/+1060
|