[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Init.el need just for org-mode?
From: |
tomas |
Subject: |
Re: Init.el need just for org-mode? |
Date: |
Thu, 3 Nov 2022 06:35:39 +0100 |
On Wed, Nov 02, 2022 at 09:15:04PM +0100, Renato Pontefice wrote:
> are You telling that you put more .el files on .emacs.d folder, each one
> contain some customization of emacs (or org-mode?)
> This is interesting for me.
No. By default, Emacs just loads ~/.emacs.d/init.el /or/ ~/.emacs.
Everything else can be arranged from there. For example, to split
out the custom.el file (where customize writes its stuff), I have
those two lines in my ~/.emacs.d/init.el:
(setq custom-file "~/.emacs.d/custom.el")
(load custom-file)
Then, I have a subdirectory of ~/.emacs.d (concretely: ~/.emacs.d/lisp)
where I keep all my local little things I make myself. To be able to
easily load those without always naming the full path, I have in my
~/.emacs.d/init.el:
(add-to-list 'load-path "~/.emacs.d/lisp")
And so on.
Still I propose you start with an empty init file. Once you find a
thing you /want/ your Emacs to do always at start, you can start
populating your ~/.emacs or ~/.emacs.d/init.el (each approach has
some up- and downsides, but that's not so important: you'll find
out and you'll be able to switch easily).
Cheers
--
t
signature.asc
Description: PGP signature
- Init.el need just for org-mode?, Renato Pontefice, 2022/11/02
- Re: Init.el need just for org-mode?, Jude DaShiell, 2022/11/02
- Re: Init.el need just for org-mode?, Charles Millar, 2022/11/02
- Re: Init.el need just for org-mode?, Charles Millar, 2022/11/02
- Re: Init.el need just for org-mode?, Quiliro Ordóñez, 2022/11/03
- Re: Init.el need just for org-mode?, Max Nikulin, 2022/11/03