From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Feature Request: Per-package custom save files? Date: Sat, 21 Jun 2014 13:19:26 -0400 Message-ID: References: <21413.43005.992475.896234@lapdog.roam.corp.google.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1403371194 13304 80.91.229.3 (21 Jun 2014 17:19:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Jun 2014 17:19:54 +0000 (UTC) Cc: tv.raman.tv@gmail.com, emacs-devel@gnu.org To: "T. V. Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 21 19:19:46 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 1WyOx8-0002UE-2X for ged-emacs-devel@m.gmane.org; Sat, 21 Jun 2014 19:19:46 +0200 Original-Received: from localhost ([::1]:46007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyOx7-00089Q-MH for ged-emacs-devel@m.gmane.org; Sat, 21 Jun 2014 13:19:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyOwx-00089A-1F for emacs-devel@gnu.org; Sat, 21 Jun 2014 13:19:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WyOwp-0001Yv-IQ for emacs-devel@gnu.org; Sat, 21 Jun 2014 13:19:34 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:34497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyOwp-0001Yq-D6 for emacs-devel@gnu.org; Sat, 21 Jun 2014 13:19:27 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s5LHJPO1011736; Sat, 21 Jun 2014 13:19:25 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 5399DAE0BC; Sat, 21 Jun 2014 13:19:26 -0400 (EDT) In-Reply-To: <21413.43005.992475.896234@lapdog.roam.corp.google.com> (T. V. Raman's message of "Sat, 21 Jun 2014 08:42:53 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4979=0 X-NAI-Spam-Version: 2.3.0.9378 : core <4979> : inlines <1007> : streams <1219351> : uri <1781945> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:172612 Archived-At: > 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