From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: chad Newsgroups: gmane.emacs.devel Subject: Re: Feature Request: Per-package custom save files? Date: Mon, 23 Jun 2014 12:30:19 -0700 Message-ID: <4BA9DCD7-679C-4CD1-A851-C5EC7D869571@gmail.com> References: <21413.43005.992475.896234@lapdog.roam.corp.google.com> <21416.23354.391473.953888@retriever.mtv.corp.google.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1403551850 27810 80.91.229.3 (23 Jun 2014 19:30:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2014 19:30:50 +0000 (UTC) Cc: tv.raman.tv@gmail.com, monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 23 21:30:45 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wz9ww-0000FW-UW for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2014 21:30:43 +0200 Original-Received: from localhost ([::1]:55649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz9ww-0000SS-1Y for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2014 15:30:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz9wk-0000RC-69 for emacs-devel@gnu.org; Mon, 23 Jun 2014 15:30:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wz9wf-0006Yy-Dc for emacs-devel@gnu.org; Mon, 23 Jun 2014 15:30:30 -0400 Original-Received: from mail-pb0-x234.google.com ([2607:f8b0:400e:c01::234]:35634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz9wf-0006Ya-2c for emacs-devel@gnu.org; Mon, 23 Jun 2014 15:30:25 -0400 Original-Received: by mail-pb0-f52.google.com with SMTP id rq2so6210330pbb.25 for ; Mon, 23 Jun 2014 12:30:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:mime-version:subject:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=JE+ZmlIQk8KG0tGDz8AzS3n9wkLnKN/1jIX9EuTxpL4=; b=yp1jBpC2848OTkiM6yoWvp52PDVQPyZY4x2GhKEj6fbfDAkJ41i614xsgSYmjk9XI9 2a29gCvNDxVZKiuYCXMhGsi83HuB/j9zih0WuQWmXjvu6MG5y1TWdZpZLZtZXXtaVL+V o5w6O+M5l02zPlXHQFAnQQ8V6HJlX9+PHajlk66N30AR3iqDGGIbl34DaSI/L9gD4TiE nE/L5tkxwv7Y7aOBqTZSniwAFjXHC6EbRImo5A3e/eRcJSOZYZtzBHJZ678VQwK//Myr NRvdPZWSphU8sLTyQP76lmH1maS0ADUfZQfpRe/pWqp4mK+X9Kfy1+9cz/M5J61A3FC1 WMlg== X-Received: by 10.66.119.136 with SMTP id ku8mr31746095pab.121.1403551823034; Mon, 23 Jun 2014 12:30:23 -0700 (PDT) Original-Received: from [10.3.1.41] ([69.84.252.185]) by mx.google.com with ESMTPSA id ln2sm97999980pab.35.2014.06.23.12.30.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Jun 2014 12:30:21 -0700 (PDT) X-Google-Original-From: chad In-Reply-To: <21416.23354.391473.953888@retriever.mtv.corp.google.com> X-Mailer: Apple Mail (2.1878.2) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c01::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172666 Archived-At: On 23 Jun 2014, at 09:52, T.V Raman wrote: > 2. My thought around factoring out custom settings into a > canonical per-package custom-settings file was to achieve the > second goal -- not loading settings for packages you dont use -- >=20 > so: Today I have=20 > (setq custom-file (expand-file-name "~/.customize-emacs")) > In my .emacs. >=20 > What if instead -- for each add-on elisp package we > used custom--settings.el -- then as an example, I could > load custom-ecb-settings.el only when I load the package. Take a look at jwiegley's use-package package for some cool ideas in = this space: https://github.com/jwiegley/use-package http://melpa.milkbox.net/#/use-package ~Chad