|
From: | Mike Carifio |
Subject: | bug#15539: [PATCH] Setting user-emacs-directory |
Date: | Sun, 8 Sep 2019 10:54:17 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
Yes, this switch adds another knob, but I happen to think its a useful knob and is consistent with --load and --user, both of which allow the user to designate a different init file at the command line. Redefining HOME at the command line and then "setting it back" inside init.el seems convoluted. It could also potentially break site-start.el if some code there relied on the right binding of HOME. Admittedly that's a farfetched scenario, but not impossible either. Sure would be confusing to debug if you didn't know what to look for. All the "do it yourself" strategies (other than symlink) also force the user to deeply understand the details of the init process, e.g. what switches to throw to override various features. So if the criticism is "yet another knob" I would say you are pushing people to construct homegrown solutions ... repeatedly.
The XDG patch will let emacs adhere to the XDG desktop conventions and you can designate the user-emacs-directory implicitly as well, a two-for-one special. Not every platform follows the XDG conventions, but I personally mostly use linux, so I'm less concerned with those.
[Prev in Thread] | Current Thread | [Next in Thread] |