[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using use-package

From: John Yates
Subject: Re: using use-package
Date: Thu, 13 Aug 2015 22:21:34 -0400

On Thu, Aug 13, 2015 at 12:15 PM, Stefan Monnier <address@hidden>

> Maybe also one that better integrates with Customize.
> I guess I'm also interested to see what other users find important in
> terms of "configuration problems that need solving".

Not so much about use-package or ref-package, but because Customize has
come up a few time recently...

I like the customize interface.  It makes exploring unfamiliar packages
easier.  Typically a package remains "unfamiliar" long after I first start
tweaking its customization knobs.  I do persist my changes from within
Customize and I appreciate the speed with which my byte compiled
custom-file.elc loads.

What I do not appreciate is the flat, alphabetic, uncommented nature of
that file.  It gives me neither means to organize my customizations is a
logical structure nor means to add commentary.  Further it separates faces
from all other package tweaks.

I have resolved this problem by committing to maintaining two copies of my

   - One automatically created by Customize's 'save for future sessions'
   - One that I maintain by hand in my .emacs file.

I have implemented a framework whereby reloading my custom-file
automatically compares my two sets of customizations and reports any
discrepancies or anomalies.  You can see it in my .emacs file on github
<>.  The file
uses folding-mode.  You can see this at

;;=== Customization ====================================================
> ;;{{{  Customization auditing framework...
> ;;{{{  Load customizations...


PS: I am a C++ programmer.  My elisp coding consists of mimicking things I
see in others' code.  I really have _very_ little grasp of (e)lisp
concepts.  So I expect no kudos on my code but welcome suggestions for

reply via email to

[Prev in Thread] Current Thread [Next in Thread]