unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: chad <chadpbrown@gmail.com>
To: "T.V Raman" <raman@google.com>
Cc: tv.raman.tv@gmail.com, monnier@IRO.UMontreal.CA, emacs-devel@gnu.org
Subject: Re: Feature Request: Per-package custom save files?
Date: Mon, 23 Jun 2014 12:30:19 -0700	[thread overview]
Message-ID: <4BA9DCD7-679C-4CD1-A851-C5EC7D869571@gmail.com> (raw)
In-Reply-To: <21416.23354.391473.953888@retriever.mtv.corp.google.com>

On 23 Jun 2014, at 09:52, T.V Raman <raman@google.com> 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 <foo>    we
> used custom-<foo>-settings.el  -- then as an example,  I could
> load custom-ecb-settings.el only when I load the <ecb> 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




  reply	other threads:[~2014-06-23 19:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-21 15:42 Feature Request: Per-package custom save files? T. V. Raman
2014-06-21 15:55 ` David Kastrup
2014-06-21 16:45   ` John Yates
2014-06-21 17:19 ` Stefan Monnier
2014-06-23 16:52   ` T.V Raman
2014-06-23 19:30     ` chad [this message]
2014-06-23 21:11       ` T.V Raman
2014-06-23 21:11     ` Stefan Monnier
2014-06-23 21:17       ` T.V Raman
2014-06-24  1:24         ` Stefan Monnier
2014-06-24 14:55           ` raman
2014-06-24 17:19             ` Stefan Monnier
2014-06-25 16:40               ` T.V Raman
2014-06-25 17:54                 ` Stefan Monnier
2014-06-25 18:01                   ` T.V Raman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BA9DCD7-679C-4CD1-A851-C5EC7D869571@gmail.com \
    --to=chadpbrown@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    --cc=raman@google.com \
    --cc=tv.raman.tv@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).