dacap / keyfreq

Track Emacs commands frequency
320 stars 25 forks source link

Default value of keyfreq-file? #7

Open xfq opened 10 years ago

xfq commented 10 years ago

In Emacs 24.4, more packages will look for ~/.emacs.d/<foo> instead of ~/.<foo> by default. For example: ~/.emacs.d/timelog replaces ~/.timelog ~/.emacs.d/vip replaces ~/.vip ~/.emacs.d/viper replaces ~/.viper ~/.emacs.d/ido.last replaces ~/.ido.last ~/.emacs.d/kkcrc replaces ~/.kkcrc and so on.

I think Keyfreq should also change the default value of keyfreq-file (and maybe keyfreq-file-lock), to avoid cluttering users' home directory.

dacap commented 10 years ago

It's a good idea. Anyway I think we should take care about the old default value. E.g. If keyfreq-file isn't defined by the user, and ~/.emacs.keyfreq does exist, we should move ~/.emacs.keyfreq to ~/.emacs.d/keyfreq.

zimoun commented 8 years ago

+1 to change the default behavior.

Changing the default value leads to two possible choices:

From my point of view, one is the simplest. And if someone does badly the transition (forgot etc.), then keyfreq should be able to merge (see #12) two keyfreq-file files which will fix the issue.

azzamsa commented 5 years ago

Agree.

These files should not in home directory (It must be by default) I've moved them and created custom config manually.