core-paths.el (1855B)
1 ;;; core-paths.el --- path confiugration for my emacs 2 3 ;; Author: Mark Feller <mark.feller@member.fsf.org> 4 5 ;; This file is not part of GNU Emacs. 6 7 ;; This file is free software; you can redistribute it and/or modify 8 ;; it under the terms of the GNU General Public License as published by 9 ;; the Free Software Foundation; either version 3, or (at your option) 10 ;; any later version. 11 12 ;; This file is distributed in the hope that it will be useful, 13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of 14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 ;; GNU General Public License for more details. 16 17 ;; You should have received a copy of the GNU General Public License 18 ;; along with this file. If not, see <http://www.gnu.org/licenses/>. 19 20 ;;; Commentary: 21 22 ;; move all the misc files created by emacs into a seperate directory to 23 ;; decluter emacs config root 24 25 ;;; Code: 26 27 (setq backup-directory-alist 28 `((".*" . ,temporary-file-directory))) 29 30 (setq auto-save-file-name-transforms 31 `((".*" ,temporary-file-directory t))) 32 33 (setq auto-save-list-file-prefix "~/.cache/auto-save-list/.saves-") 34 (setq bookmark-default-file "~/.cache/bookmarks.el") 35 (setq ede-project-placeholder-cache-file "~/.cache/ede-projects.el") 36 (setq semanticdb-default-save-directory "~/.cache/semanticdb") 37 (setq abbrev-file-name "~/.cache/abbrev_defs.el") 38 (setq tramp-persistency-file-name "~/.cache/tramp.el") 39 (setq recentf-save-file "~/.cache/recentf") 40 (setq org-id-locations-file "~/.cache/org-id-locations.el") 41 (setq nsm-settings-file "~/.cache/network-security.data") 42 (setq url-configuration-directory "~/.cache/url/") 43 44 (unless (file-exists-p custom-file) 45 (write-region "" nil custom-file)) 46 47 (provide 'core-paths) 48 49 ;;; core-paths.el ends here