I have the following problem with
recentf. If I open a file from commandline like
emacs myfile the file
myfile doesn't appear in the list of recently opened files (I also checked directly the file
.recentf). It doesn't matter if I change and save it or not.
Same problem if I kill emacs (
kill $(pgrep emacs)). Even if the file was opened via emacs
If I open a file via
find-files and close emacs properly it works also if I just visit the file without changing or saving anything.
Any ideas how to fix both issues?
To make sure that the problem is not an interference effect with other packages I reduced my
.emacs file for test purposes to the follwing:
;; -*-Emacs-Lisp-*- ;; -*- coding:utf-8 -*- (require 'package) (package-initialize) (require 'recentf) (recentf-mode 1) ;; Usually I use it via helm ;; From http://emacs.stackexchange.com/questions/14282/replace-splash-screen-with-list-of-recentf ;; (require 'helm) ;; (require 'helm-config) ;; (if (< (length command-line-args) 2) ;; (setq initial-buffer-choice (car (helm-recentf))) ;; )
My emacs version is 24.4.1. The OS is ubuntu vivid. As commandline I use zsh (with urxvt).