From mboxrd@z Thu Jan 1 00:00:00 1970 From: James TD Smith Subject: Re: Re: Orgmodeorg-export-generic gives an error Date: Thu, 23 Jul 2009 15:31:19 +0100 Message-ID: <20090723143119.GA72276@yog-sothoth.mohorovi.cc> References: <87eisgjl8s.fsf@bzg.ath.cx> <211769420907171223r6ffe0086mccfbed65aa0fe3f5@mail.gmail.com> <877hy137vz.fsf@bzg.ath.cx> <87bpnb98mz.fsf@bzg.ath.cx> 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 1MTzKT-0008RI-Qn for emacs-orgmode@gnu.org; Thu, 23 Jul 2009 10:31:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTzKP-0008Pb-EQ for emacs-orgmode@gnu.org; Thu, 23 Jul 2009 10:31:29 -0400 Received: from [199.232.76.173] (port=50861 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTzKP-0008PU-5P for emacs-orgmode@gnu.org; Thu, 23 Jul 2009 10:31:25 -0400 Received: from 81-86-40-42.dsl.pipex.com ([81.86.40.42]:58994 helo=yog-sothoth.mohorovi.cc) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MTzKO-0000CG-Gv for emacs-orgmode@gnu.org; Thu, 23 Jul 2009 10:31:24 -0400 Content-Disposition: inline In-Reply-To: <87bpnb98mz.fsf@bzg.ath.cx> 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: Bastien Cc: Shelagh Manton , emacs-orgmode@gnu.org On 2009-07-23 09:11:00(+0200), Bastien wrote: > Wes Hardaker writes: > > >>>>>> On Wed, 22 Jul 2009 01:59:12 +0200, Bastien said: > > > > B> Those two functions come from alist.el which is included in Apel: > > > > So does that mean it's safe to leave the functions in use within > > org-export generic, > > AFAIK `set-alist' is not defined in vanilla Emacs. So no, it's not safe > to leave this function in use in org-export-generic.el. > > > or should I replace it with a locally defined > > slightly-different-named version? > > Either do that or advertize the need for the Apel package, or integrate > what set-alist does without even creating a function. Up to you :) You could use the aput function instead. which does the same thing. It's in assoc.el which is included with both GNU Emacs and XEmacs. ,-----< C-h f aput RET > | aput is a compiled Lisp function in `assoc.el'. | (aput alist-symbol key &optional value) | | Inserts a key-value pair into an alist. | The alist is referenced by alist-symbol. The key-value pair is made | from key and optionally, value. Returns the altered alist or nil if | ALIST is nil. | | If the key-value pair referenced by key can be found in the alist, and | value is supplied non-nil, then the value of key will be set to value. | If value is not supplied, or is nil, the key-value pair will not be | modified, but will be moved to the head of the alist. If the key-value | pair cannot be found in the alist, it will be inserted into the head | of the alist (with value nil if value is nil or not supplied). `---- James -- |---|