Move main part of Gnus' files out of private configuration directory
Those files are specific for each machine where Emacs is running and change often, and should not be included as private configuration files. Indeed, those files might be versioned (e.g., using git) and deploying those versioned configuration files over multiple machines would cause a number of conflicts if Gnus' local mail files would be included as well (as has happend to me). Since those machine-specific files are not really relevant for other machines, keeping them somewhere else is reasonable. The new default is $HOME/.config/gnus-news. Note that the main gnus-newsrc file is still kept as private configuration file.
This commit is contained in:
parent
e14a7248b0
commit
83dde6adc9
4
init.el
4
init.el
|
@ -1539,8 +1539,8 @@
|
||||||
;; General Gnus configuration
|
;; General Gnus configuration
|
||||||
|
|
||||||
(setq gnus-init-file (expand-file-name "gnus.el" emacs-d)
|
(setq gnus-init-file (expand-file-name "gnus.el" emacs-d)
|
||||||
gnus-home-directory (expand-file-name "private/news/" emacs-d)
|
gnus-home-directory (expand-file-name "~/.config/gnus-news")
|
||||||
gnus-directory (expand-file-name "private/news/" emacs-d)
|
gnus-directory gnus-home-directory
|
||||||
gnus-kill-files-directory gnus-directory
|
gnus-kill-files-directory gnus-directory
|
||||||
gnus-startup-file (expand-file-name "private/gnus-newsrc" emacs-d)
|
gnus-startup-file (expand-file-name "private/gnus-newsrc" emacs-d)
|
||||||
gnus-cache-directory (expand-file-name "cache/" gnus-directory)
|
gnus-cache-directory (expand-file-name "cache/" gnus-directory)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user