From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tyler Smith Newsgroups: gmane.emacs.devel Subject: persistent storage for Emacs packages Date: Fri, 18 Oct 2013 12:45:33 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11331cb2b7d7d704e906a9c2 X-Trace: ger.gmane.org 1382117373 10664 80.91.229.3 (18 Oct 2013 17:29:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Oct 2013 17:29:33 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 18 19:29:38 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 1VXDrk-0000qQ-VN for ged-emacs-devel@m.gmane.org; Fri, 18 Oct 2013 19:29:37 +0200 Original-Received: from localhost ([::1]:58861 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXDrk-0002HJ-Dc for ged-emacs-devel@m.gmane.org; Fri, 18 Oct 2013 13:29:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXDBC-0002WA-ME for emacs-devel@gnu.org; Fri, 18 Oct 2013 12:45:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXDBB-0000Xu-Fm for emacs-devel@gnu.org; Fri, 18 Oct 2013 12:45:38 -0400 Original-Received: from mail-pd0-x22b.google.com ([2607:f8b0:400e:c02::22b]:39222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXDBB-0000WH-9E for emacs-devel@gnu.org; Fri, 18 Oct 2013 12:45:37 -0400 Original-Received: by mail-pd0-f171.google.com with SMTP id z10so4977595pdj.2 for ; Fri, 18 Oct 2013 09:45:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=Ji2oIpWWZg8hbb1fzhMqkvlehgPkNCbwdDyHJKliDDI=; b=h0ECZJ3BzM75awtsDlrpGKpbiLQDV6pGvMlkBr0UehIjh3VKXeAl8V8UxYOeZQ/YAl g6Yml9Z4svzc9BQyCnBeTPBu5J4fRioxPfEMoGlVNhKJUP/7F+27UZDgnULkZyekwBeZ vT9efHeOeAirFJu75HwY4hnT122I9fTimmXd54AE3x38zwLotxg2vThjW0jX2LQGgzL5 LKpcFngtZiIzRpxOCQ2fnRqC6/q12fVA6G34lLA60Sm0cH3gpj8AFsxQ0sN+/4vRGYsV 22g6AnZi3Uyl5pLZ3Sk2bt2m4DMCbk4vHAM/tltT/ZTKv73JwnMWcowjS5Vdf8lpO9V9 +gjg== X-Received: by 10.66.140.40 with SMTP id rd8mr4365538pab.119.1382114733314; Fri, 18 Oct 2013 09:45:33 -0700 (PDT) Original-Received: by 10.66.163.74 with HTTP; Fri, 18 Oct 2013 09:45:33 -0700 (PDT) X-Google-Sender-Auth: ovtHdkRH_Unh0xre6FQAoSLdxCw X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::22b X-Mailman-Approved-At: Fri, 18 Oct 2013 13:29:34 -0400 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:164316 Archived-At: --001a11331cb2b7d7d704e906a9c2 Content-Type: text/plain; charset=ISO-8859-1 Hello, I am developing a small Emacs extension I would like to distribute as a package. This package provides an interface to the GRASS gis software. During initialization, a table of completions is generated. This takes several minutes, but only needs to be done once. Where should I be saving this data? I'm currently using customize-save-variable, but as users aren't expected to modify the values directly this is not correct. Is there a location I can count on having read and write access to across platforms? Or should I be requiring each user to specify the location of the data file as a customization option? I would appreciate any suggestions. Thank you, Tyler Smith --001a11331cb2b7d7d704e906a9c2 Content-Type: text/html; charset=ISO-8859-1
Hello,

I am developing a small Emacs extension I would like to distribute as a package. This package provides an interface to the GRASS gis software. During initialization, a table of completions is generated. This takes several minutes, but only needs to be done once. Where should I be saving this data?

I'm currently using customize-save-variable, but as users aren't expected to modify the values directly this is not correct. Is there a location I can count on having read and write access to across platforms? Or should I be requiring each user to specify the location of the data file as a customization option?

I would appreciate any suggestions.

Thank you,

Tyler Smith
--001a11331cb2b7d7d704e906a9c2--