>             Can emacs keep history of commands executed in former
> sessions.After C-x C-c the history becomes zero.Any tricks to keep the
> history in its mind?

You always open emacs in savehist-mode  (M-x savehist-mode). To automate this 
add the following
line in .emacs

(savehist-mode 1)

You can also explicitly  save history of the current session with  `M-x 
savehist-save' and load
it by loading the ~/.emacs.d/history with `M-x load-file'.

To view the history use C-x ESC ESC
Be sure to have savehist.el

Jos Collin

_______________________________________________
Indian Libre User Group Cochin Mailing List
http://www.ilug-cochin.org/mailing-list/
http://mail.ilug-cochin.org/mailman/listinfo/mailinglist_ilug-cochin.org
#[email protected]

Reply via email to