summaryrefslogtreecommitdiff
path: root/smart-documents.org
diff options
context:
space:
mode:
Diffstat (limited to 'smart-documents.org')
-rw-r--r--smart-documents.org100
1 files changed, 50 insertions, 50 deletions
diff --git a/smart-documents.org b/smart-documents.org
index 64d6c5f..e6f9b9f 100644
--- a/smart-documents.org
+++ b/smart-documents.org
@@ -176,6 +176,52 @@ logic.
Emacs'---perspective, a file which contains other files. These files
may themselves be directories.
+*** Meta files---files about files
+
+In this section, we'll be tidying up the =.emacs.d/= directory---by
+default, many Emacs packages create files useful for themselves in our
+~user-emacs-directory~. This leads to undesirable clutter. Certain
+packages create files that log recently visited files ([[Recently
+visited files]]); log location of known projects ([[Projects' bookmarks]]);
+log location in recently visited files ([[Location in previously visited
+file]]) The commonality between all these files is that they tend to
+reference... other files. Thus, I decided to refer to them as meta
+files.
+
+#+BEGIN_SRC emacs-lisp :tangle yes
+ (defcustom sd-path-meta
+ (concat user-emacs-directory "meta/")
+ "Directory (which is a file, really) containing files about files.")
+#+END_SRC
+
+**** Recently visited files
+
+#+BEGIN_SRC emacs-lisp :tangle yes
+ (setq recentf-save-file
+ (concat sd-path-meta "recentf"))
+#+END_SRC
+
+**** Projects' bookmarks
+
+#+BEGIN_SRC emacs-lisp :tangle yes
+ (setq projectile-known-projects-file
+ (concat sd-path-meta "projectile-bookmarks.eld"))
+#+END_SRC
+
+**** Location in previously visited file
+
+#+BEGIN_SRC emacs-lisp :tangle yes
+ (setq save-place-file
+ (concat sd-path-meta "places"))
+#+END_SRC
+
+**** Auto save file lists
+
+#+BEGIN_SRC emacs-lisp :tangle yes
+ (setq auto-save-list-file-prefix
+ (concat sd-path-meta "auto-save-list/.saves-"))
+#+END_SRC
+
*** Resources
All third-party resources are saved at the following location.
@@ -190,7 +236,7 @@ All third-party resources are saved at the following location.
#+BEGIN_SRC emacs-lisp :tangle yes
(setq package-user-dir
- (concat sd-path-resources "elpa"))
+ (concat sd-path-resources "elpa/"))
#+END_SRC
**** Themes
@@ -205,15 +251,15 @@ All third-party resources are saved at the following location.
This path, specifically, is required to be in list form.
#+BEGIN_SRC emacs-lisp :tangle yes
- (setq yas-snippet-dirs
- (list (concat sd-path-resources "snippets/")))
+ (setq yas-snippet-dirs
+ (list (concat sd-path-resources "snippets/")))
#+END_SRC
**** Emojis
#+BEGIN_SRC emacs-lisp :tangle yes
(setq emojify-emojis-dir
- (concat sd-path-resources "emojis"))
+ (concat sd-path-resources "emojis/"))
#+END_SRC
**** Custom file
@@ -228,52 +274,6 @@ with ~M-x customize-group <package>~.
(load custom-file)
#+END_SRC
-*** Files about files
-
-In this section, we'll be tidying up the =.emacs.d/= directory---by
-default, many Emacs packages create files useful for themselves in our
-~user-emacs-directory~. This leads to undesirable clutter. Certain
-packages create files that log recently visited files ([[Recently
-visited files]]); log location of known projects ([[Projects' bookmarks]]);
-log location in recently visited files ([[Location in previously visited
-file]]) The commonality between all these files is that they tend to
-reference... other files. Thus, I decided to refer to them as
-meta-files.
-
-#+BEGIN_SRC emacs-lisp :tangle yes
- (defcustom sd-path-meta
- (concat user-emacs-directory "meta/")
- "Directory (files, really) containing files about files.")
-#+END_SRC
-
-**** Recently visited files
-
-#+BEGIN_SRC emacs-lisp :tangle yes
- (setq recentf-save-file
- (concat sd-path-meta "recentf"))
-#+END_SRC
-
-**** Projects' bookmarks
-
-#+BEGIN_SRC emacs-lisp :tangle yes
- (setq projectile-known-projects-file
- (concat sd-path-meta "projectile-bookmarks.eld"))
-#+END_SRC
-
-**** Location in previously visited file
-
-#+BEGIN_SRC emacs-lisp :tangle yes
- (setq save-place-file
- (concat sd-path-meta "places"))
-#+END_SRC
-
-**** Auto save file lists
-
-#+BEGIN_SRC emacs-lisp :tangle yes
- (setq auto-save-list-file-prefix
- (concat sd-path-meta
- "auto-save-list/.saves-"))
-#+END_SRC
** Backups
Copyright 2019--2024 Marius PETER