[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 16/35: Add open last closed to recentf menu
From: |
Matthew Fidler |
Subject: |
[elpa] 16/35: Add open last closed to recentf menu |
Date: |
Fri, 11 Jul 2014 22:33:25 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit 38675fab45d552b9a3e560b868d01fd7856f0efb
Author: Matthew L. Fidler <address@hidden>
Date: Wed Jul 9 10:15:55 2014 -0500
Add open last closed to recentf menu
---
ergoemacs-menus.el | 2 +-
ergoemacs-themes.el | 26 +++++++++++++++++++++++++-
2 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/ergoemacs-menus.el b/ergoemacs-menus.el
index 6816914..2d419f6 100644
--- a/ergoemacs-menus.el
+++ b/ergoemacs-menus.el
@@ -259,7 +259,7 @@ All other modes are assumed to be minor modes or
unimportant.
ergoemacs-open-in-desktop)))
;; FIXME -- Somehow put open last closed in recentf menu; It
;; seems to fit there the best
- (open-last-closed menu-item "Open last closed"
ergoemacs-open-last-closed)
+ ;; (open-last-closed menu-item "Open last closed"
ergoemacs-open-last-closed)
(kill-buffer menu-item "Close" ergoemacs-close-current-buffer)
(separator1 menu-item "--")
(save-buffer menu-item "Save" save-buffer)
diff --git a/ergoemacs-themes.el b/ergoemacs-themes.el
index f6e9254..b30bcfc 100644
--- a/ergoemacs-themes.el
+++ b/ergoemacs-themes.el
@@ -147,7 +147,31 @@
(undo-tree-mode 1)
(shift-select-mode t)
(delete-selection-mode 1)
- (setq recentf-menu-before "Close")
+ (setq recentf-menu-before "Close"
+ recentf-menu-items-for-commands
+ (list
+ ["Open Last Closed"
+ ergoemacs-open-last-closed
+ :help "Remove duplicates, and obsoletes files from the recent list"
+ :keys (ergoemacs-shortcut-for-command 'ergoemacs-open-last-closed)
+ :active t]
+ ["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]
+ ))
(recentf-mode 1)
;; (setq cua--rectangle-modifier-key ergoemacs-cua-rect-modifier)
;; (setq cua--rectangle-keymap (make-sparse-keymap))
- [elpa] 08/35: Fix Issue #268, (continued)
- [elpa] 08/35: Fix Issue #268, Matthew Fidler, 2014/07/11
- [elpa] 06/35: Fix the differences between elpa and manual setup, Matthew Fidler, 2014/07/11
- [elpa] 01/35: Fix key lookup for menus. isearch <-> text search Issue #265., Matthew Fidler, 2014/07/11
- [elpa] 07/35: Reverse the directions, Matthew Fidler, 2014/07/11
- [elpa] 10/35: Add moving lines/region using M-up or M-down. Issue #266, Matthew Fidler, 2014/07/11
- [elpa] 13/35: Misc code cleanup, Matthew Fidler, 2014/07/11
- [elpa] 11/35: Change order to Fix #265 again, Matthew Fidler, 2014/07/11
- [elpa] 12/35: Possibly Fix Issue #269, Matthew Fidler, 2014/07/11
- [elpa] 14/35: Another attempt to fix Issue #269, Matthew Fidler, 2014/07/11
- [elpa] 20/35: Make Open Last Closed show Ctl+Shift+T, Matthew Fidler, 2014/07/11
- [elpa] 16/35: Add open last closed to recentf menu,
Matthew Fidler <=
- [elpa] 19/35: More accessible printer setup (Issue #236 and #235), Matthew Fidler, 2014/07/11
- [elpa] 17/35: Add Scroll up/down command for other window, Matthew Fidler, 2014/07/11
- [elpa] 09/35: Change startup messages, Matthew Fidler, 2014/07/11
- [elpa] 21/35: Add load path to batch byte compile, Matthew Fidler, 2014/07/11
- [elpa] 22/35: Fix byte compile warning, Matthew Fidler, 2014/07/11
- [elpa] 23/35: Start modal shift-select (Issue #215), Matthew Fidler, 2014/07/11
- [elpa] 24/35: Fix keys on web-page, Matthew Fidler, 2014/07/11
- [elpa] 18/35: Fix Issue #270, Matthew Fidler, 2014/07/11
- [elpa] 15/35: Misc Code Cleanup, Matthew Fidler, 2014/07/11
- [elpa] 27/35: Use pr-interface when available, Matthew Fidler, 2014/07/11