From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: raman@google.com (T.V Raman) Newsgroups: gmane.emacs.devel Subject: Re: Feature Request: Per-package custom save files? Date: Mon, 23 Jun 2014 14:11:20 -0700 Message-ID: <21416.38904.463511.134298@retriever.mtv.corp.google.com> References: <21413.43005.992475.896234@lapdog.roam.corp.google.com> <21416.23354.391473.953888@retriever.mtv.corp.google.com> <4BA9DCD7-679C-4CD1-A851-C5EC7D869571@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1403557892 5349 80.91.229.3 (23 Jun 2014 21:11:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2014 21:11:32 +0000 (UTC) Cc: tv.raman.tv@gmail.com, emacs-devel@gnu.org, monnier@IRO.UMontreal.CA, raman@google.com To: chadpbrown@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 23 23:11:27 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 1WzBWQ-0007u4-Ta for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2014 23:11:27 +0200 Original-Received: from localhost ([::1]:55944 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzBWQ-0004IM-9Y for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2014 17:11:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzBWM-0004IF-QB for emacs-devel@gnu.org; Mon, 23 Jun 2014 17:11:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzBWL-0006R2-Qm for emacs-devel@gnu.org; Mon, 23 Jun 2014 17:11:22 -0400 Original-Received: from mail-vc0-x24a.google.com ([2607:f8b0:400c:c03::24a]:45856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzBWL-0006Qy-ME for emacs-devel@gnu.org; Mon, 23 Jun 2014 17:11:21 -0400 Original-Received: by mail-vc0-f202.google.com with SMTP id id10so950374vcb.5 for ; Mon, 23 Jun 2014 14:11:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:mime-version:content-type:content-transfer-encoding:message-id :date:to:cc:subject:in-reply-to:references; bh=Wz9WATQUAoS2ZR1BN+9cVCiDTkR94MLdegOV8zhZRj8=; b=XTm+aA0mEidubbnYUb8j7ZMlzQZD2wQzICq5/O1knJq0JaYKkD/a0I8aRtEMsGPUSQ E4hx1QhMcNFuJAyTXBi0Mwa0nqfxlCkSoB2TiY22cmfxBi3AmGq8A/cQiJ7H1R2g+i1U FeE9mS/HzfIeSSzQuvk/NQLVXr92NpKhHEYePyYGMRlj/6+fLb38FWpxH7xRz1kMurtW UTQDRoAuFCejg9XPLQGPMJTZBLz4iIzbuPqumzR6R2n0ZFTbV/Ea6rMeE+TCwpOw9Qx9 X6J/5SazAxqe27Vjhccd7SpLbsp+10esxdQLpnygbKPwYmh8PtVrvUbnN+skJbuWBusX Ytzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:content-type :content-transfer-encoding:message-id:date:to:cc:subject:in-reply-to :references; bh=Wz9WATQUAoS2ZR1BN+9cVCiDTkR94MLdegOV8zhZRj8=; b=NBE2QU6K02y8fds14c+KBL2xM741jQ2Q1IfyzbWKikoHSAez//BbPiL+IApxjbhMXn 6w4317dAopeuAr2Y3SAhJNSB9laQlb2/1WWGhKRG6TSzjc2PfGoWhqLZRF7GtuKyR1pM pCi+s64912tFd1XB+KxYZy/2846B8GbLEd+vn44GcPyWxvLNKlxQ/EW0SbW2KHSATMBe 5vVGsiIpGd85SmxWIrh07xJbNRLQ3IRH8c/Fq+j5/OyH5c76pEipVoDCSdmipn118ErW YbAFnux3OyNYrgfec7rQcb4AqP93PsyDiPDqKsaR7OcGvrCiZR6B9oxgIr6OBFurnT3f fSZQ== X-Gm-Message-State: ALoCoQm4iRWOJ8F6oHmkiHqO+mCTAqkL+kZsWR5E9V9Rb42yQ02DXiqrkXwVdv+B/oMKcQuVALt4 X-Received: by 10.58.151.238 with SMTP id ut14mr10805454veb.11.1403557881142; Mon, 23 Jun 2014 14:11:21 -0700 (PDT) Original-Received: from corp2gmr1-1.hot.corp.google.com (corp2gmr1-1.hot.corp.google.com [172.24.189.92]) by gmr-mx.google.com with ESMTPS id c50si1396086yhl.7.2014.06.23.14.11.21 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 Jun 2014 14:11:21 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com (retriever.mtv.corp.google.com [172.22.112.108]) by corp2gmr1-1.hot.corp.google.com (Postfix) with ESMTP id 00D8731C50A; Mon, 23 Jun 2014 14:11:21 -0700 (PDT) Original-Received: by retriever.mtv.corp.google.com (Postfix, from userid 13930) id 8E9B6220835; Mon, 23 Jun 2014 14:11:20 -0700 (PDT) In-Reply-To: <4BA9DCD7-679C-4CD1-A851-C5EC7D869571@gmail.com> X-Mailer: VM 8.1.1 under 24.4.50.1 (x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c03::24a 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:172668 Archived-At: Pulled use-package --it's a nice idea! Would be really nice to bring package-specific custom settings into the scope of a use-package call. chad writes: > 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 -- > > > > so: Today I have > > (setq custom-file (expand-file-name "~/.customize-emacs")) > > In my .emacs. > > > > 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