From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baoqiu Cui Subject: Re: Docbook export error... Date: Tue, 16 Jun 2009 09:47:00 -0700 Message-ID: References: <73E0A646-933D-4013-BACB-0F6892CBCAC6@gmail.com> <6A43D1A7-E19C-4D79-AF06-DBC522D054AA@gmail.com> <0588F5BD-BA9D-496C-8C18-393EDD855038@gmail.com> <1D6FC99A-44CB-43D7-B923-DD4747E39CA2@gmail.com> 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 1MGbog-000226-IY for emacs-orgmode@gnu.org; Tue, 16 Jun 2009 12:47:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGbob-00020i-W1 for emacs-orgmode@gnu.org; Tue, 16 Jun 2009 12:47:22 -0400 Received: from [199.232.76.173] (port=52959 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGbob-00020a-Nx for emacs-orgmode@gnu.org; Tue, 16 Jun 2009 12:47:17 -0400 Received: from main.gmane.org ([80.91.229.2]:55009 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MGboa-0005J9-Sx for emacs-orgmode@gnu.org; Tue, 16 Jun 2009 12:47:17 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MGboY-0002Uo-Mo for emacs-orgmode@gnu.org; Tue, 16 Jun 2009 16:47:14 +0000 Received: from nat-dip4.cfw-a-gci.corp.yahoo.com ([209.131.62.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Jun 2009 16:47:14 +0000 Received: from cbaoqiu by nat-dip4.cfw-a-gci.corp.yahoo.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Jun 2009 16:47:14 +0000 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: emacs-orgmode@gnu.org Hi Madhu, Madhu Rao writes: > Carsten, > I don't seem to have this problem on the latest pull. Don't know > what resolved it. You might have run into the same problem that I ran into (see messages posted recently with subject "Compilation error about org-protecting-blocks"). AFAIK, this problem is finally gone after a small patch to Makefile is applied to swap the order of lisp directories during compilation. Baoqiu > Thanks, Madhu > > On 12-Jun-09, at 9:54 AM, Carsten Dominik wrote: > >> I cannot reproduce this. >> >> - Carsten >> >> On Jun 11, 2009, at 6:16 PM, Madhu Rao wrote: >> >>> Thanks Carsten for the response. >>> >>>> >>>> Most likely you have downloaded Org from the web (from git???) but >>>> not built >>>> org-install.el by running "make". >>>> >>> >>> I have been using the git version (only yesterday I had download >>> after >>> you fixed the other problem related to org-protecting-blocks and >>> could not access git repository). And I have not byte-compiled >>> before. >>> >>> >>> I tried make on the git version now, I get this error: >>> >>> ---- >>> In toplevel form: >>> lisp/org-exp.el:31:1:Error: Symbol's value as variable is void: org- >>> protecting-blocks >>> make: *** [lisp/org-exp.elc] Error 1 >>> ---- >>> >>>> Or you are not doing (require 'org-install) in .emacs. >>>> >>>> Please read the installation section in the manual. >>>> >>>> - Carsten >>>> On Jun 11, 2009, at 6:09 AM, Madhu Rao wrote: >>>> >>>>> Hi, I get this when I try exporting to docbook. Could you please >>>>> help? >>>>> >>>>> Debugger entered--Lisp error: (wrong-type-argument commandp org- >>>>> export-as-docbook) >>>>> call-interactively(org-export-as-docbook) >>>>> (if (and bg (nth 2 ass) (not ...) (not ...)) (let (...) (set- >>>>> process-sentinel p ...) (message "Background process \"%s\": >>>>> started" p)) (call-interactively (nth 1 ass))) >>>>> (let* ((bg ...) (help "[t] insert the export option template >>>>> \n[v] limit export to visible part of outline tree\n\n[a] export >>>>> as ASCII [A] to temporary buffer\n\n[h] export as HTML [H] to >>>>> temporary buffer [R] export region\n[b] export as HTML and open >>>>> in browser\n\n[l] export as LaTeX [L] to temporary buffer\n[p] >>>>> export as LaTeX and process to PDF\n[d] export as LaTeX, process >>>>> to PDF, and open the resulting PDF document\n\n[D] export as >>>>> DocBook\n[V] export as DocBook, process to PDF, and open the >>>>> resulting PDF document\n\n[x] export as XOXO \n\n[i] export current >>>>> file as iCalendar file\n[I] export all agenda files as iCalendar >>>>> files\n[c] export agenda files into combined iCalendar file\n\n[F] >>>>> publish current file [P] publish current project\n[X] >>>>> publish a project... [E] publish every projects") (cmds >>>>> ...) r1 r2 ass) (save-excursion (save-window-excursion >>>>> ... ... ... ... ...)) (setq r2 (if ... ... r1)) (unless (setq ass >>>>> ...) (error "No command associated with key %c" r1)) (if (and bg >>>>> ... ... ...) (let ... ... ...) (call- >>>>> interactively ...))) >>>>> org-export(nil) >>>>> call-interactively(org-export) >>>>>