[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature Request: Per-package custom save files?
From: |
T.V Raman |
Subject: |
Re: Feature Request: Per-package custom save files? |
Date: |
Mon, 23 Jun 2014 09:52:10 -0700 |
Hi Stefan,
Here are some "features" I'm looking for:
1. custom-clean-up would be nice.
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.
Stefan Monnier writes:
> > Could we arrange for customize to save package specific settings
> > in a package-specific customizations file? The present one
> > custom file that binds them all feels like the Windows Registry:-)
>
> Other than the feeling, what benefits are you looking for?
> I'm not just asking rhetorically: the best solution depends on the answer.
>
> One useful thing would be a custom-cleanup command which could show you
> all your settings that are equal to the default. Showing the settings
> for packages you don't use would be a more difficult. I guess we could
> search for those settings in your load-path and if it's not found, it's
> clearly an "obsolete" setting. But if the setting still exists (you
> just don't use its package), I'm not sure what we could do. Maybe we
> could move all your settings to an "unused" list of settings and then
> move the settings out of that list whenever they're used. So after
> a few days/weeks you can look at the settings remaining in the "unused
> list" to see which ones qualify.
>
>
> Stefan
- Feature Request: Per-package custom save files?, T. V. Raman, 2014/06/21
- Re: Feature Request: Per-package custom save files?, David Kastrup, 2014/06/21
- Re: Feature Request: Per-package custom save files?, Stefan Monnier, 2014/06/21
- Re: Feature Request: Per-package custom save files?,
T.V Raman <=
- Re: Feature Request: Per-package custom save files?, Stefan Monnier, 2014/06/23
- Re: Feature Request: Per-package custom save files?, T.V Raman, 2014/06/23
- Re: Feature Request: Per-package custom save files?, Stefan Monnier, 2014/06/23
- Re: Feature Request: Per-package custom save files?, raman, 2014/06/24
- Re: Feature Request: Per-package custom save files?, Stefan Monnier, 2014/06/24
- Re: Feature Request: Per-package custom save files?, T.V Raman, 2014/06/25
- Re: Feature Request: Per-package custom save files?, Stefan Monnier, 2014/06/25
- Re: Feature Request: Per-package custom save files?, T.V Raman, 2014/06/25