emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Cannot export document to HTML or Markdown if it has a title [8.3.2 (8.3.2-59-g3d4c46-elpa @ /Users/matt/.emacs.d/elpa/org-20160104/)]
@ 2016-01-20  7:39 Matt Moriarity
  2016-01-31 22:06 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Moriarity @ 2016-01-20  7:39 UTC (permalink / raw)
  To: emacs-orgmode

If I include a #+TITLE: directive at the top of my Org file, when I try
to export it to HTML or markdown, I get an error:

    apply: Wrong type argument: listp, #("Guide" 0 5 (:parent (#0)))

Removing the #+TITLE seems to make everything ok. It seems like this
should not be an issue, but I’m pretty new to org-mode.

Emacs  : GNU Emacs 24.5.1 (x86_64-apple-darwin15.4.0, Carbon Version 157 AppKit 1404.41)
of 2016-01-16 on derrial.local
Package: Org-mode version 8.3.2 (8.3.2-59-g3d4c46-elpa @ /Users/matt/.emacs.d/elpa/org-20160104/)

current state:
==============
(setq
org-id-locations-file "/Users/matt/.emacs.d/.cache/.org-id-locations"
org-export-backends '(md beamer latex html ascii)
org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe
                      org-babel-header-arg-expand)
org-latex-classes '(("beamer" "\\documentclass[presentation]{beamer}"
                      ("\\section{%s}" . "\\section*{%s}")
                      ("\\subsection{%s}" . "\\subsection*{%s}")
                      ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
                     ("article" "\\documentclass[11pt]{article}"
                      ("\\section{%s}" . "\\section*{%s}")
                      ("\\subsection{%s}" . "\\subsection*{%s}")
                      ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
                      ("\\paragraph{%s}" . "\\paragraph*{%s}")
                      ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
                     ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}")
                      ("\\chapter{%s}" . "\\chapter*{%s}")
                      ("\\section{%s}" . "\\section*{%s}")
                      ("\\subsection{%s}" . "\\subsection*{%s}")
                      ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
                     ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}")
                      ("\\chapter{%s}" . "\\chapter*{%s}")
                      ("\\section{%s}" . "\\section*{%s}")
                      ("\\subsection{%s}" . "\\subsection*{%s}")
                      ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
                     )
org-clock-persist-file "/Users/matt/.emacs.d/.cache/org-clock-save.el"
org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
org-occur-hook '(org-first-headline-recenter)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-html-format-drawer-function '(lambda (name contents) contents)
org-log-done 'time
org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function
org-confirm-shell-link-function 'yes-or-no-p
org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
org-link-translation-function 'toc-org-unhrefify
org-present-mode-hook '(spacemacs//org-present-start)
org-agenda-restore-windows-after-quit t
org-latex-format-headline-function 'org-latex-format-headline-default-function
org-capture-templates '(("ort/checkitem" "Org Repo Checklist Item" checkitem
                          (file+headline (ort/todo-file) "Checklist"))
                         ("ort/todo" "Org Repo Todo" entry
                          (file+headline (ort/todo-file) "Todos")
                          "* TODO  %?			%T\n %i\n Link: %l\n")
                         )
org-startup-indented t
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-latex-format-drawer-function '(lambda (name contents) contents)
org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-babel-pre-tangle-hook '(save-buffer)
org-mode-hook '(#[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook org-show-block-all append local] 5]
                 #[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook org-babel-show-result-all append
                    local]
                   5]
                 org-babel-result-hide-spec org-babel-hide-all-hashes
                 spacemacs/load-yasnippet toc-org-enable org-bullets-mode
                 spacemacs/add-org-surrounds evil-org-mode org-eldoc-load
                 spacemacs//init-company-org-mode company-mode)
org-archive-hook '(org-attach-archive-delete-maybe)
org-ascii-format-drawer-function '(lambda (name contents width) contents)
org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
                  org-cycle-show-empty-lines org-optimize-window-after-visibility-change)
org-present-mode-quit-hook '(spacemacs//org-present-end)
org-export-async-init-file "/Users/matt/.emacs.d/layers/org/org-async-init.el"
org-confirm-elisp-link-function 'yes-or-no-p
org-startup-with-inline-images t
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-html-format-headline-function 'org-html-format-headline-default-function
org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function
org-fontify-whole-heading-line t
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug: Cannot export document to HTML or Markdown if it has a title [8.3.2 (8.3.2-59-g3d4c46-elpa @ /Users/matt/.emacs.d/elpa/org-20160104/)]
  2016-01-20  7:39 Bug: Cannot export document to HTML or Markdown if it has a title [8.3.2 (8.3.2-59-g3d4c46-elpa @ /Users/matt/.emacs.d/elpa/org-20160104/)] Matt Moriarity
@ 2016-01-31 22:06 ` Nicolas Goaziou
  2016-02-03 14:56   ` Max Linke
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2016-01-31 22:06 UTC (permalink / raw)
  To: Matt Moriarity; +Cc: emacs-orgmode

Hello,

Matt Moriarity <mmoriarity@apple.com> writes:

> If I include a #+TITLE: directive at the top of my Org file, when I try
> to export it to HTML or markdown, I get an error:
>
>     apply: Wrong type argument: listp, #("Guide" 0 5 (:parent (#0)))
>
> Removing the #+TITLE seems to make everything ok. It seems like this
> should not be an issue, but I’m pretty new to org-mode.

I think this is due to a mixed Org installation: default Org from Emacs
probably interferes with ELPA's.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug: Cannot export document to HTML or Markdown if it has a title [8.3.2 (8.3.2-59-g3d4c46-elpa @ /Users/matt/.emacs.d/elpa/org-20160104/)]
  2016-01-31 22:06 ` Nicolas Goaziou
@ 2016-02-03 14:56   ` Max Linke
  2016-02-04  8:40     ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Max Linke @ 2016-02-03 14:56 UTC (permalink / raw)
  To: emacs-orgmode



On 01/31/2016 11:06 PM, Nicolas Goaziou wrote:
 > Hello,
 >
 > Matt Moriarity <mmoriarity@apple.com> writes:
 >
 >> If I include a #+TITLE: directive at the top of my Org file, when I try
 >> to export it to HTML or markdown, I get an error:
 >>
 >>      apply: Wrong type argument: listp, #("Guide" 0 5 (:parent (#0)))
 >>
 >> Removing the #+TITLE seems to make everything ok. It seems like this
 >> should not be an issue, but I’m pretty new to org-mode.
 >
 > I think this is due to a mixed Org installation: default Org from Emacs
 > probably interferes with ELPA's.

I'm having the same problem. According to all hints in the FAQ I don't 
have a mixed installation.

locate-library RET org -> 'Library is file 
~/.emacs.d/elpa/org-20160201/org.elc'

I have installed org-mode from elpa according to the FAQ.

best Max

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug: Cannot export document to HTML or Markdown if it has a title [8.3.2 (8.3.2-59-g3d4c46-elpa @ /Users/matt/.emacs.d/elpa/org-20160104/)]
  2016-02-03 14:56   ` Max Linke
@ 2016-02-04  8:40     ` Nicolas Goaziou
  2016-02-04 20:50       ` Max Linke
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2016-02-04  8:40 UTC (permalink / raw)
  To: Max Linke; +Cc: emacs-orgmode

Hello,

Max Linke <max_linke@gmx.de> writes:

> On 01/31/2016 11:06 PM, Nicolas Goaziou wrote:
>> Hello,
>>
>> Matt Moriarity <mmoriarity@apple.com> writes:
>>
>>> If I include a #+TITLE: directive at the top of my Org file, when I try
>>> to export it to HTML or markdown, I get an error:
>>>
>>>      apply: Wrong type argument: listp, #("Guide" 0 5 (:parent (#0)))
>>>
>>> Removing the #+TITLE seems to make everything ok. It seems like this
>>> should not be an issue, but I’m pretty new to org-mode.
>>
>> I think this is due to a mixed Org installation: default Org from Emacs
>> probably interferes with ELPA's.
>
> I'm having the same problem. According to all hints in the FAQ I don't
> have a mixed installation.
>
> locate-library RET org -> 'Library is file
> ~/.emacs.d/elpa/org-20160201/org.elc'
>
> I have installed org-mode from elpa according to the FAQ.

Are you sure (default) Org wasn't loaded when you installed the newest
one through ELPA?

In any case, IIRC, this is an installation problem, not a real bug in
the code base.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug: Cannot export document to HTML or Markdown if it has a title [8.3.2 (8.3.2-59-g3d4c46-elpa @ /Users/matt/.emacs.d/elpa/org-20160104/)]
  2016-02-04  8:40     ` Nicolas Goaziou
@ 2016-02-04 20:50       ` Max Linke
  0 siblings, 0 replies; 5+ messages in thread
From: Max Linke @ 2016-02-04 20:50 UTC (permalink / raw)
  To: emacs-orgmode



On 02/04/2016 09:40 AM, Nicolas Goaziou wrote:
> Hello,
>
> Max Linke <max_linke@gmx.de> writes:
>
>> On 01/31/2016 11:06 PM, Nicolas Goaziou wrote:
>>> Hello,
>>>
>>> Matt Moriarity <mmoriarity@apple.com> writes:
>>>
>>>> If I include a #+TITLE: directive at the top of my Org file, when I try
>>>> to export it to HTML or markdown, I get an error:
>>>>
>>>>       apply: Wrong type argument: listp, #("Guide" 0 5 (:parent (#0)))
>>>>
>>>> Removing the #+TITLE seems to make everything ok. It seems like this
>>>> should not be an issue, but I’m pretty new to org-mode.
>>>
>>> I think this is due to a mixed Org installation: default Org from Emacs
>>> probably interferes with ELPA's.
>>
>> I'm having the same problem. According to all hints in the FAQ I don't
>> have a mixed installation.
>>
>> locate-library RET org -> 'Library is file
>> ~/.emacs.d/elpa/org-20160201/org.elc'
>>
>> I have installed org-mode from elpa according to the FAQ.
>
> Are you sure (default) Org wasn't loaded when you installed the newest
> one through ELPA?

Yes this seemed to have caused the problems. I wasn't aware that 
org-mode shouldn't be loaded when it is installed from elpa. Thanks for 
the help

best Max

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-04 20:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-20  7:39 Bug: Cannot export document to HTML or Markdown if it has a title [8.3.2 (8.3.2-59-g3d4c46-elpa @ /Users/matt/.emacs.d/elpa/org-20160104/)] Matt Moriarity
2016-01-31 22:06 ` Nicolas Goaziou
2016-02-03 14:56   ` Max Linke
2016-02-04  8:40     ` Nicolas Goaziou
2016-02-04 20:50       ` Max Linke

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