keyfreq icon indicating copy to clipboard operation
keyfreq copied to clipboard

Default value of keyfreq-file?

Open xfq opened this issue 10 years ago • 3 comments

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.

xfq avatar Nov 02 '13 12:11 xfq

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.

dacap avatar Nov 05 '13 23:11 dacap

+1 to change the default behavior.

Changing the default value leads to two possible choices:

  • nothing is provided for the transition, and the user has to manually copy/relocate the file. How prevent him/her ? etc. Two lines to change, i.e., nothing to do from keyfreq side.
  • automatic transitionnal as @dacap explained. More work from keyfreq side (do the change that at the update etc.)

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.

zimoun avatar May 04 '16 20:05 zimoun

Agree.

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

azzamsa avatar Sep 22 '18 05:09 azzamsa