Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment recentf mode (Score 1) 412

recentf mode, which keeps a list of recently opened files:

(require 'recentf)
(recentf-mode 1)

For bonus points, set a PROJECT environment variable before starting eclipse, and maintain project-specific lists of recently opened files:

(when (getenv "PROJECT")
    ; project-specific recently opened files
    (setq recentf-save-file (concat (getenv "PROJECT") "/.recentf"))
    ; project-specific emacs config
    (when (file-exists-p (concat (getenv "PROJECT") "/.emacs"))
        (load-file (concat (getenv "PROJECT") "/.emacs")))
    ; project-specific TAGS file
    (when (file-exists-p (concat (getenv "PROJECT") "TAGS"))
        (visit-tags-table (concat (getenv "PROJECT") "TAGS"))))

Slashdot Top Deals

Retirement means that when someone says "Have a nice day", you actually have a shot at it.

Working...