emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: James TD Smith <ahktenzero@mohorovi.cc>
To: Bastien <bastienguerry@googlemail.com>
Cc: Shelagh Manton <shelagh.manton@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Re: Orgmodeorg-export-generic gives an error
Date: Thu, 23 Jul 2009 15:31:19 +0100	[thread overview]
Message-ID: <20090723143119.GA72276@yog-sothoth.mohorovi.cc> (raw)
In-Reply-To: <87bpnb98mz.fsf@bzg.ath.cx>

On 2009-07-23 09:11:00(+0200), Bastien wrote:
> Wes Hardaker <wjhns209@hardakers.net> writes:
>
> >>>>>> On Wed, 22 Jul 2009 01:59:12 +0200, Bastien <bastienguerry@googlemail.com> 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

--
|-<James TD Smith>-<email/ahktenzero@mohorovi.cc>-|

  reply	other threads:[~2009-07-23 14:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-15 18:05 org-export-generic " srinivas
2009-07-16 22:50 ` Bastien
2009-07-17 19:23   ` Nathan Neff
2009-07-17 20:19     ` srinivas
2009-07-20 14:48       ` Nathan Neff
2009-07-20 22:39       ` Orgmodeorg-export-generic " Wes Hardaker
2009-07-21  5:53         ` Bastien
2009-07-21 23:32         ` Shelagh Manton
2009-07-21 23:59           ` Bastien
2009-07-22 15:13             ` Wes Hardaker
2009-07-22 23:33               ` Shelagh Manton
2009-07-23  7:33                 ` Bastien
2009-07-23  7:11               ` Bastien
2009-07-23 14:31                 ` James TD Smith [this message]
2009-08-10 15:42                   ` Wes Hardaker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090723143119.GA72276@yog-sothoth.mohorovi.cc \
    --to=ahktenzero@mohorovi.cc \
    --cc=bastienguerry@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=shelagh.manton@gmail.com \
    --subject='Re: Re: Orgmodeorg-export-generic gives an error' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).