From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: document package.el Date: Wed, 25 Aug 2010 11:34:15 -0600 Message-ID: References: <878w4g66xb.fsf@stupidchicken.com> <87wrremwqb.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1282757668 5624 80.91.229.12 (25 Aug 2010 17:34:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Aug 2010 17:34:28 +0000 (UTC) Cc: Emacs discussions To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 25 19:34:27 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OoJrn-0006iS-1v for ged-emacs-devel@m.gmane.org; Wed, 25 Aug 2010 19:34:27 +0200 Original-Received: from localhost ([127.0.0.1]:58341 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OoJrm-0008T8-CR for ged-emacs-devel@m.gmane.org; Wed, 25 Aug 2010 13:34:26 -0400 Original-Received: from [140.186.70.92] (port=51069 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OoJrg-0008QX-Gw for emacs-devel@gnu.org; Wed, 25 Aug 2010 13:34:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OoJrf-0007Te-GL for emacs-devel@gnu.org; Wed, 25 Aug 2010 13:34:20 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:21696) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OoJrf-0007TW-8r for emacs-devel@gnu.org; Wed, 25 Aug 2010 13:34:19 -0400 Original-Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o7PHYHRs010109 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 25 Aug 2010 13:34:17 -0400 Original-Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o7PHYGeb005190; Wed, 25 Aug 2010 13:34:17 -0400 Original-Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o7PHYF9S020580; Wed, 25 Aug 2010 13:34:16 -0400 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 71B783780C2; Wed, 25 Aug 2010 11:34:15 -0600 (MDT) X-Attribution: Tom In-Reply-To: <87wrremwqb.fsf@stupidchicken.com> (Chong Yidong's message of "Wed, 25 Aug 2010 13:24:28 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:129219 Archived-At: Chong> It would be nice if you could write a more detailed explanation of how Chong> to determine the pathname of non-Lisp files, such as images, that are Chong> included with the package. What do you think of this addition? For example: @smallexample (defconst superfrobnicator-base (file-name-directory load-file-name)) (defun superfrobnicator-fetch-image (file) (expand-file-name file superfrobnicator-base)) @end smallexample Tom