all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: emacs-orgmode@gnu.org, Thorsten Jolitz <tjolitz@gmail.com>
Subject: Re: define a new export backend
Date: Thu, 31 Jul 2014 10:39:46 +0200	[thread overview]
Message-ID: <87k36tkjl9.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <877g2uymqh.fsf@geodiff-mac3.ulb.ac.be> (Nicolas Richard's message of "Thu, 31 Jul 2014 10:08:06 +0200")

Hello,

Nicolas Richard <theonewiththeevillook@yahoo.fr> writes:

> Perhaps org-export-define-derived-backend could do a sanity check that
> all keywords are known.

Good idea, as long as `org-export-define-backend' does the same.

> -  (let (blocks filters menu-entry options transcoders contents)
> +  (let (blocks filters menu-entry options transcoders contents keyword)

KEYWORD should be let-bound within the while loop.

>      (while (keywordp (car body))
> -      (case (pop body)
> +      (case (setq keyword (pop body))


  (while (keywordp (car body))
    (let ((keyword (pop body)))
      (case keyword
        (...)
        (t (error "Unknown keyword: %s" keyword)))))


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2014-07-31  8:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-31  7:11 define a new export backend Shiyuan
2014-07-31  7:27 ` Thorsten Jolitz
2014-07-31  8:08   ` Nicolas Richard
2014-07-31  8:39     ` Nicolas Goaziou [this message]
2014-07-31  9:17       ` Nicolas Richard
2014-07-31 11:41         ` Nicolas Goaziou
2014-07-31 22:04           ` Shiyuan

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

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

  git send-email \
    --in-reply-to=87k36tkjl9.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=theonewiththeevillook@yahoo.fr \
    --cc=tjolitz@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.