emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Wes Hardaker <wjhns209@hardakers.net>
Cc: emacs-orgmode@gnu.org, hardaker@users.sourceforge.net
Subject: Re: Re: org-export-generic: accessing todo keywords
Date: Fri, 20 Nov 2009 06:54:31 +0100	[thread overview]
Message-ID: <4AAD74AB-D25B-4F28-B949-39A975503602@gmail.com> (raw)
In-Reply-To: <sdlji2ilsn.fsf@wjh.hardakers.net>

Applied, thanks.

- Carsten

On Nov 19, 2009, at 4:20 PM, Wes Hardaker wrote:

>>>>>> On Wed, 18 Nov 2009 15:33:03 -0500, Tim Hermans <thermans@gmail.com 
>>>>>> > said:
>
> TH> I took note from a post by James TD Smith on this list a while  
> back
> TH> and changed this to use "aput".  This is included in "assoc.el"
> TH> which is included in both XEmacs and GNU Emacs.  It does exactly  
> the
> TH> same thing.  It would be more portable.
>
> Huh.  I actually thought that was changed already via a patch a while
> back but apparently the patch got lost.
>
> Carsten, here's the patch to apply:
>
> diff --git a/contrib/lisp/org-export-generic.el b/contrib/lisp/org- 
> export-generic.el
> index aba550e..1fff03f 100644
> --- a/contrib/lisp/org-export-generic.el
> +++ b/contrib/lisp/org-export-generic.el
> @@ -96,6 +96,7 @@
> ;;; Commentary:
>
> (require 'org-exp)
> +(require 'assoc)
>
> (defgroup org-export-generic nil
>   "Options specific for ASCII export of Org-mode files."
> @@ -440,7 +441,7 @@ in this way, it will be wrapped."
> (defun org-set-generic-type (type definition)
>   "Adds a TYPE and DEFINITION to the existing list of defined generic
> export definitions."
> -  (set-alist 'org-generic-alist type definition))
> +  (aput 'org-generic-alist type definition))
>
> (defun org-export-generic-remember-section (type suffix &optional  
> prefix)
>   (setq org-export-generic-section-type type)
> -- 
> \ Wes Hardaker                           http://pontifications.hardakers.net 
>  /
> \_____ "In the bathtub of history the truth is harder to hold than  
> ________/
>       \_______ the soap, and much more difficult to find." _______/
>               \_________ -- Terry Pratchett ______________/
>                         \__________________/
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

      reply	other threads:[~2009-11-20  5:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-16 22:43 org-export-generic: accessing todo keywords Tim Hermans
2009-11-18  1:16 ` Wes Hardaker
2009-11-18 20:33   ` Tim Hermans
2009-11-19 15:20     ` Wes Hardaker
2009-11-20  5:54       ` Carsten Dominik [this message]

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=4AAD74AB-D25B-4F28-B949-39A975503602@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=hardaker@users.sourceforge.net \
    --cc=wjhns209@hardakers.net \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).