From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.help Subject: Re: Persistence of variables Date: Wed, 21 Mar 2018 11:23:14 +0100 Message-ID: <20180321102314.GA12393@tuxteam.de> References: <87a7v20xlf.fsf@mbork.pl> <83a7v1lxxz.fsf@gnu.org> <87605p28ma.fsf@mbork.pl> <87605px048.fsf@mbork.pl> <20180321092746.GB7482@tuxteam.de> <87in9prc2s.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 1521627713 14241 195.159.176.226 (21 Mar 2018 10:21:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Mar 2018 10:21:53 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) Cc: help-gnu-emacs@gnu.org To: Marcin Borkowski Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 21 11:21:49 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 1eyasM-0003Xj-Ot for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Mar 2018 11:21:46 +0100 Original-Received: from localhost ([::1]:53795 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyauP-0007N5-RF for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Mar 2018 06:23:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyatt-0007Me-0v for help-gnu-emacs@gnu.org; Wed, 21 Mar 2018 06:23:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyatp-0003h1-UO for help-gnu-emacs@gnu.org; Wed, 21 Mar 2018 06:23:21 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:55176) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyatp-0003gZ-Fk for help-gnu-emacs@gnu.org; Wed, 21 Mar 2018 06:23:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=20171004; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=+BaRDp1knAxv+AEzwDDOngOjYeJSLltaSty1ojWGFdA=; b=exlYBERqFBGLoidhHaKKL7pb0sAYL7G+TmrhTx/DllhLJ1ZdbvzLwKytzpwPc+idqkcSjO6F9Y0BBUOmvXPVfk6X7SR+duGHwDyrPAF+Ii2TKZqKUKYhMW42AsNC4WOIhnrHRL1wqQcGhu4BRMLgnvnhyNQRFZb9QVqfj92fZfNMaACSxBpPaH8i/aGkO5nQqBL9nIya9+EczF/i3kev38l2/c76uludleNQUK266nibAp5zf3BZiq3OU8glLVqu2YO47BlGblxVHe6RjEK/mqkODYm5vCyI1P9TnfQUYILLxJZYP+b61isFTMRpzFrNkPHP8PfEWO1nfXoJQkmLRQ==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1eyatn-0003Hb-Lt; Wed, 21 Mar 2018 11:23:15 +0100 In-Reply-To: <87in9prc2s.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:116233 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Mar 21, 2018 at 10:51:23AM +0100, Marcin Borkowski wrote: > > On 2018-03-21, at 10:27, tomas@tuxteam.de wrote: > > > -----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? [...] > In general, this is a good point. > > But in my use-case, I will have one user besides me (it's a tool for our > in-house workflow), and I wouldn't care about it too much. Makes sense. > If I turn this into a Melpa package (or even a blog post), I would of > course follow your suggestion. (The drawback is that the user would > have to (once) insert something manually into init.el.) Note that it's not either-or: in the Customize case, the package writes into init.el if the variable is unset, and into the file specified by that variable otherwise. > BTW, is there any demand for such a micro-package? Tough to say: it is so small that it would make more sense as "basic infrastructure", to be used by "clients" like Customize. Cheers - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlqyMpIACgkQBcgs9XrR2kZElACfbydlPtqIYtt8mLFu0Di0pBMh QLsAnjMOE18OZnYLkWrrXyz6hsKxjF1y =uYm1 -----END PGP SIGNATURE-----