emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tim Hermans <thermans@gmail.com>
To: Wes Hardaker <wjhns209@hardakers.net>
Cc: emacs-orgmode@gnu.org, hardaker@users.sourceforge.net
Subject: Re: org-export-generic: accessing todo keywords
Date: Wed, 18 Nov 2009 15:33:03 -0500	[thread overview]
Message-ID: <4ebad96b0911181233p71030440u9f43df394e911f99@mail.gmail.com> (raw)
In-Reply-To: <sdpr7gy6nj.fsf@wjh.hardakers.net>


[-- Attachment #1.1: Type: text/plain, Size: 1934 bytes --]

Thanks Wes.  Great work on "org-export-generic"!

One other thing while you're at it:  on line 443 of the current version
(last updated in 6.25trans) you use the function "set-alist":

     (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))

I believe this is defined in the APEL package which is included in XEmacs,
but not in later versions of GNU Emacs.

I took note from a post by James TD Smith on this list a while back and
changed this to use "aput".  This is included in "assoc.el" which is
included in both XEmacs and GNU Emacs.  It does exactly the same thing.  It
would be more portable.

Thanks,

TH


On Tue, Nov 17, 2009 at 8:16 PM, Wes Hardaker <wjhns209@hardakers.net>wrote:

> >>>>> On Mon, 16 Nov 2009 17:43:59 -0500, Tim Hermans <thermans@gmail.com>
> said:
>
> TH> I was wondering if there was a directive within "org-export-generic" to
> TH> access "org-todo-keyword" items?  I did not see anything.
>
> TH> I'd like to add formatting to those keywords.
>
> There isn't right now, though I've admittedly wanted to add support for
> that.  I've been swamped with other things lately and haven't gotten
> much work done on org-export-generic.  Ironically, I may work on it in
> the next few weeks but I'm not sure todo keywords will fall into the
> list much (we'll see).
>
> I was just thinking earlier today, in fact, that I'd love to be able to
> change things like TODO words.  You can change checkboxes right now, but
> not TODO words.
>
> --
> \ 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 ______________/
>                         \__________________/
>

[-- Attachment #1.2: Type: text/html, Size: 2692 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

  reply	other threads:[~2009-11-18 20:33 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 [this message]
2009-11-19 15:20     ` Wes Hardaker
2009-11-20  5:54       ` Carsten Dominik

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=4ebad96b0911181233p71030440u9f43df394e911f99@mail.gmail.com \
    --to=thermans@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).