NanoooK to Emacs@lemmy.mlEnglish · 1 month agoEmacs: a basic and capable configurationprotesilaos.comexternal-linkmessage-square6fedilinkarrow-up114arrow-down10cross-posted to: [email protected]
arrow-up114arrow-down1external-linkEmacs: a basic and capable configurationprotesilaos.comNanoooK to Emacs@lemmy.mlEnglish · 1 month agomessage-square6fedilinkcross-posted to: [email protected]
minus-squaredavel [he/him]@lemmy.mllinkfedilinkEnglisharrow-up1·edit-21 month ago why? does init.el have any advantage over .emacs? Presumably because of the very next point, #2: “Put all auto-generated configurations in a separate file.” If you’re going to use more than one config file, then that means you need to go with the .emacs.d directory route.
minus-squarebeleza pura@lemmy.eco.brlinkfedilinkarrow-up1·1 month agodo you? you can set a different custom file from .emacs just fine and i’ve seen it done before. unless i’m missing something, i believe that’s not it
minus-squaredavel [he/him]@lemmy.mllinkfedilinkEnglisharrow-up2·edit-21 month agoI’m far from an Emacs expert. If you say so, I believe you. One reason I do it is because I made ~/.emacs.d a git repo.
minus-squarebeleza pura@lemmy.eco.brlinkfedilinkarrow-up1·1 month ago I made ~/.emacs.d a git repo. ooh, interesting. though i’m a bit squeamish about mixing tracked content and “build artifacts” (in this case, installed packages).
minus-squaredavel [he/him]@lemmy.mllinkfedilinkarrow-up3·1 month ago$ cat ~/.emacs.d/.gitignore /auto-save-list/ /elpa/ /init.el~ /transient /org-roam.db /.org-id-locations $
Presumably because of the very next point, #2: “Put all auto-generated configurations in a separate file.” If you’re going to use more than one config file, then that means you need to go with the
.emacs.d
directory route.do you? you can set a different custom file from
.emacs
just fine and i’ve seen it done before. unless i’m missing something, i believe that’s not itI’m far from an Emacs expert. If you say so, I believe you.
One reason I do it is because I made
~/.emacs.d
a git repo.ooh, interesting. though i’m a bit squeamish about mixing tracked content and “build artifacts” (in this case, installed packages).
$ cat ~/.emacs.d/.gitignore /auto-save-list/ /elpa/ /init.el~ /transient /org-roam.db /.org-id-locations $