From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wes Hardaker Subject: Re: org-export-generic.el patch to make it load with "require" Date: Mon, 08 Feb 2010 11:50:48 -0800 Message-ID: References: <87fx5i473p.fsf@it.com> <12531.1265216609@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NeZm7-0006Uq-9g for emacs-orgmode@gnu.org; Mon, 08 Feb 2010 15:00:03 -0500 Received: from [199.232.76.173] (port=39209 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NeZm6-0006UW-Nw for emacs-orgmode@gnu.org; Mon, 08 Feb 2010 15:00:02 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NeZm4-00012c-Qo for emacs-orgmode@gnu.org; Mon, 08 Feb 2010 15:00:02 -0500 Received: from mail.hardakers.net ([168.150.236.43]:49438) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NeZm4-0000iS-8N for emacs-orgmode@gnu.org; Mon, 08 Feb 2010 15:00:00 -0500 In-Reply-To: <12531.1265216609@gamaville.dokosmarshall.org> (Nick Dokos's message of "Wed, 03 Feb 2010 12:03:29 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: news@aleblanc.cotse.net, emacs-orgmode@gnu.org >>>>> On Wed, 03 Feb 2010 12:03:29 -0500, Nick Dokos said: ND> wrote: >> In the org-export-generic.el file the library is provided as org-generic >> instead of org-export-generic. >> Not sure what the reason for this is, but I cannot load it with >> (require 'org-generic). >> ND> Having the provided symbol have the same print-name as the file ND> name is a common convention, but you *can* do what you want with ND> (require 'org-generic "org-export-generic") ND> although your patch is probably the right long term solution. Agreed, and the name in the require file derives from the original name I used for the file. I should have renamed the (provide line when we renamed the file. Whoops. -- Wes Hardaker My Pictures: http://capturedonearth.com/ My Thoughts: http://pontifications.hardakers.net/