From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: OT: version control of .el files in NT Emacs Date: Sun, 11 Sep 2016 01:01:40 +0200 Message-ID: <87mvjfz7e3.fsf@wanadoo.es> References: <87k2emxpon.fsf@gmail.com> <871t0u0zau.fsf@wanadoo.es> <87k2ely8v7.fsf@gmail.com> <87wpilyu31.fsf@wanadoo.es> <871t0stkqu.fsf@gmail.com> <87r38rzzl6.fsf@wanadoo.es> <87wpijonpc.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473550112 13023 195.159.176.226 (10 Sep 2016 23:28:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Sep 2016 23:28:32 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 11 01:28:23 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1birgz-0001Ie-BC for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Sep 2016 01:28:13 +0200 Original-Received: from localhost ([::1]:35972 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1birgx-0001lY-4A for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Sep 2016 19:28:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1birHe-0007aG-Q3 for help-gnu-emacs@gnu.org; Sat, 10 Sep 2016 19:02:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1birHZ-0005JA-R7 for help-gnu-emacs@gnu.org; Sat, 10 Sep 2016 19:02:02 -0400 Original-Received: from [195.159.176.226] (port=45040 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1birHZ-0005Io-K0 for help-gnu-emacs@gnu.org; Sat, 10 Sep 2016 19:01:57 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1birHR-00031l-No for help-gnu-emacs@gnu.org; Sun, 11 Sep 2016 01:01:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:EVp0JMKlPdzzmrQi/0pjem5p6gw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-Mailman-Approved-At: Sat, 10 Sep 2016 19:27:40 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111327 Archived-At: Sivaram Neelakantan writes: >> 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? Do M-x customize Change any value and then click on [State] and choose "Save for future sessions". This will edit your $HOME/.emacs file (if you didn't set `user-init-file') or your_el_repo/.emacs otherwise. I prefer to store those customizations on its own file.