From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.devel Subject: Re: BBDB v3 approaching release Date: Thu, 30 May 2013 13:27:05 +0530 Message-ID: <87fvx4x5m6.fsf@gmail.com> References: <20899.5836.285028.24953@gargle.gargle.HOWL> <87obbvwgw6.fsf@sbs.ch> <20901.8264.9162.330645@gargle.gargle.HOWL> <20902.12476.291747.710823@a1i15.kph.uni-mainz.de> <20902.64600.858912.770771@gargle.gargle.HOWL> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1369900635 28689 80.91.229.3 (30 May 2013 07:57:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 May 2013 07:57:15 +0000 (UTC) Cc: Ulrich Mueller , Christian Egli , Stefan Monnier , emacs-devel@gnu.org To: "Roland Winkler" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 30 09:57:15 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 1UhxjW-0001jD-Ri for ged-emacs-devel@m.gmane.org; Thu, 30 May 2013 09:57:15 +0200 Original-Received: from localhost ([::1]:42783 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhxjT-0006ci-OR for ged-emacs-devel@m.gmane.org; Thu, 30 May 2013 03:57:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhxjN-0006cY-1F for emacs-devel@gnu.org; Thu, 30 May 2013 03:57:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhxjH-00011X-Ko for emacs-devel@gnu.org; Thu, 30 May 2013 03:57:04 -0400 Original-Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]:64555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhxjH-00011L-By; Thu, 30 May 2013 03:56:59 -0400 Original-Received: by mail-pa0-f43.google.com with SMTP id hz10so16424pad.16 for ; Thu, 30 May 2013 00:56:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=I8n8nPFFEMjxx+8Kv/hTt0CJ189Xq6PyhocsQIXKpmI=; b=fYKAi9505XJdnqybkxt91UhKlrSpAdh/NJyiB2KhxWgF9+2eoUBAVjUjAqow8sp1C4 xVICLBZGeXBZJnr3EkdEwt2qrxhJHVRrt/luaOXEqyEzLDwUZyGYtGIqxDGHOrUw3rnJ H5PTuw+TFWYhRZChOl6Kbm+GIoy2dpevvAuyT3Ng0AriGM5nnvsS844JIdlSZg/j/QOS qf+L6fV7/t+ulCiNJd2/PIjnJftk+jEwvFXHJPnuImOf3+L26/uXDu0sBNiptpsxWcMj H3DTHPNtj63HEzwXAhoITFTB7fnWHAQhxPD1qNlfpG5uhnBB2wSzQBMwVc3ilbao0lzG 4j/w== X-Received: by 10.68.189.194 with SMTP id gk2mr6589950pbc.193.1369900618002; Thu, 30 May 2013 00:56:58 -0700 (PDT) Original-Received: from debian-6.05 ([101.63.219.198]) by mx.google.com with ESMTPSA id al7sm10041957pac.10.2013.05.30.00.56.54 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Thu, 30 May 2013 00:56:57 -0700 (PDT) In-Reply-To: <20902.64600.858912.770771@gargle.gargle.HOWL> (Roland Winkler's message of "Thu, 30 May 2013 09:14:32 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::22b 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:159912 Archived-At: > Can the ELPA format handle such files, too? How? ELPA is just a tar bundle. You can include whatever you want as part of the bundle. > In a way, I am surprised that I do not know about other elisp > packages having similar needs. Whenever you want to print something > with (La)TeX, you normally need some kind of style file that (La)TeX > needs to find. Org's ODT exporter depends on XML style files for it's export. The style files are included right within the tar ball as part of ./etc/ directory. See http://elpa.gnu.org/packages/org.html. (I think using "./etc" for bundling "data files" is a good precedent.) `load-file-name' is your friend. (defconst org-odt-lib-dir (file-name-directory load-file-name) "Location of ODT exporter. Use this to infer values of `org-odt-styles-dir' and `org-odt-schema-dir'.") (defvar org-odt-data-dir (expand-file-name "./etc/" org-odt-lib-dir) "Data directory for ODT exporter. Use this to infer values of `org-odt-styles-dir' and `org-odt-schema-dir'.") > Of course, one work around would be that emacs includes the style > file into the TeX files it generates. One advantage of such an > approach would be that the resulting TeX files become self-contained > for any "standard" TeX installation so that one can forward the TeX > files to someone who does not have the BBDB tex files installed. > But I consider the forwarding of such files a more rare scenario. Bundle things in a way that minimizes headaches for you and others. In the long run, you can do away with BDBD specific style files and use some packages that (already) come with Tex. Or move the BDBB style files to Tex distribution. 2 cents. > Roland