From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Yates Newsgroups: gmane.emacs.help Subject: Re: using use-package Date: Thu, 13 Aug 2015 22:21:34 -0400 Message-ID: References: <67cb463e-41f6-4f37-91ee-15d0fdb5ba9f@googlegroups.com> <20150812180621.32265.2E673ABE@ahiker.mooo.com> <87bnebnyyl.fsf@newcastle.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1439518911 8906 80.91.229.3 (14 Aug 2015 02:21:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Aug 2015 02:21:51 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 14 04:21:50 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1ZQ4cw-0004yE-FM for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Aug 2015 04:21:50 +0200 Original-Received: from localhost ([::1]:44647 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ4cu-0006Hx-OM for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Aug 2015 22:21:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ4cj-0006H0-Kk for help-gnu-emacs@gnu.org; Thu, 13 Aug 2015 22:21:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQ4ci-0007Cp-1l for help-gnu-emacs@gnu.org; Thu, 13 Aug 2015 22:21:37 -0400 Original-Received: from mail-vk0-x232.google.com ([2607:f8b0:400c:c05::232]:35954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ4ch-0007CD-Qg for help-gnu-emacs@gnu.org; Thu, 13 Aug 2015 22:21:35 -0400 Original-Received: by vkbf67 with SMTP id f67so24754000vkb.3 for ; Thu, 13 Aug 2015 19:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=y/Qbl4gvKWwrvaTvyrC4ESJIhIwqYGvy+SxN0D0xC1k=; b=hU6GCqaTeFjKAbgjZyVlOkqMyVxsTDAxuOW4NNxt3YCqefd9diheKPyYW7Lco2c9wC UTceUcEhUlZFnQdvfpBvDldM/868J7Jw2p2KNYLwQ9u2xsiExugtueSW2mtfX92eS7Yr 2O2DtAxbnYfmREOuPZsqV1W81fbnRRM6Bi0hWgMWcyT8F/2DoXaYWbaklSR+kCZ3DGSi u/By6U4vNMjTZ5w0ti9IocHAIAFq5DfIv0ekafHpAYwhfIJE2cw2aSnjIOTQ1zH2QjVX JL/re4zRDJl+u49KQN+aGW0/q5tnX41Hik/uaVQb3fjoChAWew4IDV2fLI8c/6mdbaEQ EoxQ== X-Received: by 10.52.163.133 with SMTP id yi5mr50763488vdb.26.1439518894830; Thu, 13 Aug 2015 19:21:34 -0700 (PDT) Original-Received: by 10.31.92.130 with HTTP; Thu, 13 Aug 2015 19:21:34 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: mZ7BYBvPGajOH03sfyIs3GnFv_k X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c05::232 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106564 Archived-At: On Thu, Aug 13, 2015 at 12:15 PM, Stefan Monnier wrote: > 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 customizations: - One automatically created by Customize's 'save for future sessions' functionality. - 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... /john 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 improvement.