From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Persistence of variables Date: Wed, 21 Mar 2018 10:27:46 +0100 Message-ID: <20180321092746.GB7482@tuxteam.de> References: <87a7v20xlf.fsf@mbork.pl> <83a7v1lxxz.fsf@gnu.org> <87605p28ma.fsf@mbork.pl> <87605px048.fsf@mbork.pl> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed X-Trace: blaine.gmane.org 1521624384 6352 195.159.176.226 (21 Mar 2018 09:26:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Mar 2018 09:26:24 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 21 10:26:20 2018 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 1eya0g-0001SL-7T for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Mar 2018 10:26:18 +0100 Original-Received: from localhost ([::1]:53611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eya2i-0003kY-11 for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Mar 2018 05:28:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eya2D-0003kH-J7 for help-gnu-emacs@gnu.org; Wed, 21 Mar 2018 05:27:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eya29-0002JS-1g for help-gnu-emacs@gnu.org; Wed, 21 Mar 2018 05:27:53 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:55063) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eya28-0002J3-NN for help-gnu-emacs@gnu.org; Wed, 21 Mar 2018 05:27:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=20171004; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=qaHFuIdFNWvSQdwh45JtQdUZd7/wohz/UBzqZ/11YCU=; b=T+T5I+7KyPR3fKa/YYsEITMP3W9oHmYZhkrs3Bif51jQC3a6+q5W+ewI5EsGyh8s+FWcGpnLL/Ig9Ys9rEVA8Uzwve0j9sks5esY642ZrhLwzkhtNdJyi37RaDBd21zkcLWx0SPCZBvLgzHZMj1/PeAHCg9216WRRN43AQoxODAjOh6t8Fw1cO0XLUAlMBjEwhOSaWPmf6QcBddNKnWO3kbrJwnhlk0m/0rLCqa/YnAH66jLiXBs4ETDwcKwOBcXXo4Bv+3r190tQxdAKQkU80EzDA9nPG+DoYYtbv+3NtMSdqd7enqDmC6IDHxgj9md8w3fSyCPqh7B8ZnPIkfVTA==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1eya26-0002r9-Mp for help-gnu-emacs@gnu.org; Wed, 21 Mar 2018 10:27:46 +0100 In-Reply-To: <87605px048.fsf@mbork.pl> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 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:116230 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Mar 21, 2018 at 10:13:11AM +0100, Marcin Borkowski wrote: > > On 2018-03-21, at 08:25, Marcin Borkowski wrote: [...] > Any thoughts/suggestions? Only one: I'd tend to stay clear from the init file and write to some other specialized file which is included from there (a bit like what customize does by separating its stuff into custom.el). Ideally, like customize, the user could choose her ways by setting a variable (in the customize-example, it's custom-file). More modularity, less risk. Cheers - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlqyJZIACgkQBcgs9XrR2kaICACfUi5oO9WzZDo2jb7M4dsMwCiN 9SQAnj1EOu5UizmNmlY8nBs2grMC9uu/ =YEix -----END PGP SIGNATURE-----