Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm M-x - persistent command history #431

Closed
samspo opened this issue Feb 24, 2014 · 4 comments
Closed

Helm M-x - persistent command history #431

samspo opened this issue Feb 24, 2014 · 4 comments

Comments

@samspo
Copy link

samspo commented Feb 24, 2014

Command history is perfect (see #62 and #86) but not saved to be usuable during the next sessions. Is it the normal behavior or just a problem in my emacs config ?

If it is the normal behavior, Is there any possiblity to have persistent command history in Helm M-x accross different emacs sessions?

Thanks for this very useful package

@thierryvolpiatto
Copy link
Member

samspo notifications@github.com writes:

  1. (*) text/plain ( ) text/html

Command history is perfect (see #62 and #86) but not saved to be
usuable during the next sessions. Is it the normal behavior or just a
problem in my emacs config ?

Normal behavior.

If it is the normal behavior, Is there any possiblity to have
persistent command history in Helm M-x accross different emacs
sessions?

Use desktop.el (bundled with emacs) or session.el, the variable to save
is `execute-exended-command'.
I use my own package
(https://github.com/thierryvolpiatto/emacs-tv-config/blob/master/persistent-sessions.el)
to do this because I feel desktop.el too slow, I never used session.el
though but I heard it was very good.

Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997

@samspo
Copy link
Author

samspo commented Feb 25, 2014

Thanks.
Have a good day,

@samspo
Copy link
Author

samspo commented Feb 26, 2014

For the record, session.el (on Melpa) is perfect for this purpose. Just need to add this to the init.el file:
(add-hook 'after-init-hook 'session-initialize)
Thank you again Thierry.

@ReneFroger
Copy link
Contributor

@samspo, thanks for mentioning it in your last reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants