From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nic Ferrier Newsgroups: gmane.emacs.devel Subject: Re: persistent storage for Emacs packages Date: Fri, 18 Oct 2013 23:48:42 +0100 Message-ID: <87r4bikxf9.fsf@ferrier.me.uk> References: <87d2n2w647.fsf@floss.red-bean.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1382136542 7844 80.91.229.3 (18 Oct 2013 22:49:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Oct 2013 22:49:02 +0000 (UTC) Cc: Tyler Smith , emacs-devel@gnu.org To: Karl Fogel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 19 00:49:07 2013 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 1VXIqs-0001T6-G7 for ged-emacs-devel@m.gmane.org; Sat, 19 Oct 2013 00:49:02 +0200 Original-Received: from localhost ([::1]:59620 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXIqs-0003fk-4M for ged-emacs-devel@m.gmane.org; Fri, 18 Oct 2013 18:49:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXIqi-0003Ve-KK for emacs-devel@gnu.org; Fri, 18 Oct 2013 18:48:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXIqb-0003Hn-6C for emacs-devel@gnu.org; Fri, 18 Oct 2013 18:48:52 -0400 Original-Received: from static.17.66.46.78.clients.your-server.de ([78.46.66.17]:54722 helo=po1.ferrier.me.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXIqa-0003Gg-VX for emacs-devel@gnu.org; Fri, 18 Oct 2013 18:48:45 -0400 Original-Received: from nicferrier-dell-xps (140.35.155.90.in-addr.arpa [90.155.35.140]) by po1.ferrier.me.uk (Postfix) with ESMTP id 04880AC0190; Sat, 19 Oct 2013 00:57:09 +0200 (CEST) Original-Received: from nicferrier-dell-xps (localhost [127.0.0.1]) by nicferrier-dell-xps (Postfix) with ESMTPS id A17C3BC01D5; Fri, 18 Oct 2013 23:48:42 +0100 (BST) In-Reply-To: <87d2n2w647.fsf@floss.red-bean.com> (Karl Fogel's message of "Fri, 18 Oct 2013 17:45:28 -0500") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 78.46.66.17 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:164334 Archived-At: > I had a similar need, and developed a system for generic persistent > storage from Emacs. It lives only in my .emacs right now, but that is > online and freely licensed here: > > http://svn.red-bean.com/repos/kfogel/trunk/.emacs > > Look at the functions named `kf-persist-*' and comments therearound. > > If it looks useful to you, I'd be fine with moving it out of my .emacs > and having it packaged in some more normal way. I have also written emacs-db: https://github.com/nicferrier/emacs-db which offers persistent hashtables basically... there is also a postgres backend using pg.el. Nic