From: Sivaram Neelakantan <nsivaram.net@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: OT: version control of .el files in NT Emacs
Date: Sat, 10 Sep 2016 19:34:47 +0530 [thread overview]
Message-ID: <87wpijonpc.fsf@gmail.com> (raw)
In-Reply-To: 87r38rzzl6.fsf@wanadoo.es
On Sat, Sep 10 2016,Óscar Fuentes wrote:
[snipped 17 lines]
> If you always use absolute paths and don't plan to change them, not
> much, other than noise. The lines I suggested makes possible to move
> your files to another directory requiring only a change to $HOME/.emacs.
>
> And by not setting user-init-file some features will try to
> inspect/modify $HOME/.emacs instead of your_el_repo/emacs.el.
OK, then I better fix that.
[snipped 8 lines]
> Prepending those files with a dot is not a good idea. The dot means that
> the files are hidden on most GNU/Linux file browsers and might confuse
> some tools on windows, that expect file names to obey the name.extension
> format.
Yes the naming was deliberate with a . prefix. I didn't want the
files to clutter my $HOME/ in my linux box, so I let it get hidden by
using a . prefix. On Windows, so far, I haven't had any problems as
no other program looks for these kind of files
>
> Besides, load-file is an interactive function that calls `load'. With
> my suggested adjustment to load-path you can simply use
>
> (load "text_config.el")
>
> or simply
>
> (load "text_config")
>
> which will also work if you ever decide to byte-compile your config files.
Thanks for this. I will relook at the load-path suggestion of yours.
[snipped 7 lines]
> One thing I do is to use a separate file for customizations:
>
> (setq custom-file
> (concat (file-name-directory load-file-name) "customizations.el"))
> (load custom-file 't)
Sorry, I'm lost here; could you please give an example of your set up and how
it helps. I broke up my .emacs to manage the customisations for each
mode. How would your example help?
>
> If you use custom themes you probably want to set custom-theme-directory
> too.
Right, will fix this too, as I see this
custom-theme-directory is a variable defined in `custom.el'.
Its value is "~/.emacs.d/"
Original value was
"c:/gnu/initfiles/.emacs.d/"
Thanks
sivaram
--
next prev parent reply other threads:[~2016-09-10 14:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-08 17:32 OT: version control of .el files in NT Emacs Sivaram Neelakantan
2016-09-08 20:05 ` John Mastro
2016-09-08 23:03 ` Óscar Fuentes
2016-09-09 4:50 ` Sivaram Neelakantan
2016-09-09 7:38 ` tomas
2016-09-09 14:53 ` Sivaram Neelakantan
2016-09-09 15:24 ` Óscar Fuentes
2016-09-10 4:57 ` Sivaram Neelakantan
2016-09-10 12:52 ` Óscar Fuentes
2016-09-10 14:04 ` Sivaram Neelakantan [this message]
2016-09-10 23:01 ` Óscar Fuentes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wpijonpc.fsf@gmail.com \
--to=nsivaram.net@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.