emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: HTML export is broken when there are document level headings (TITLE, AUTHOR etc.) [8.3.4 (8.3.4-elpa @ /media/home/neutrico/.emacs.d/elpa/org-20160222/)]
@ 2016-02-28 22:39 neutrico
  2016-02-29 21:15 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: neutrico @ 2016-02-28 22:39 UTC (permalink / raw)
  To: emacs orgmode-mailinglist


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report? See

      http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

Steps to reproduce:

1. Create org document hello.org :

#+BEGIN_SRC org

#TITLE: Hello

** World

#+END_SRC

2. M-x org-html-export-as-html

Returns:

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


When I remove TITLE then it's exported propely.


Regards,
Marcin



Emacs  : GNU Emacs 25.1.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.7)
  of 2016-02-28
Package: Org-mode version 8.3.4 (8.3.4-elpa @ 
/media/home/neutrico/.emacs.d/elpa/org-20160222/)

current state:
==============
(setq
  org-tab-first-hook '(org-hide-block-toggle-maybe
               org-babel-hide-result-toggle-maybe
               org-babel-header-arg-expand)
  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-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-latex-format-headline-function 
'org-latex-format-headline-default-function
  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)
  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-confirm-elisp-link-function 'yes-or-no-p
  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-clock-out-hook '(org-clock-remove-empty-clock-drawer)
  )

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

* Re: Bug: HTML export is broken when there are document level headings (TITLE, AUTHOR etc.) [8.3.4 (8.3.4-elpa @ /media/home/neutrico/.emacs.d/elpa/org-20160222/)]
  2016-02-28 22:39 Bug: HTML export is broken when there are document level headings (TITLE, AUTHOR etc.) [8.3.4 (8.3.4-elpa @ /media/home/neutrico/.emacs.d/elpa/org-20160222/)] neutrico
@ 2016-02-29 21:15 ` Nicolas Goaziou
  2016-02-29 21:27   ` Marcin Antczak
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2016-02-29 21:15 UTC (permalink / raw)
  To: neutrico; +Cc: emacs orgmode-mailinglist

Hello,

neutrico <marcin.antczak@neutrico.eu> writes:

> Steps to reproduce:
>
> 1. Create org document hello.org :
>
> #+BEGIN_SRC org
>
> #TITLE: Hello
>
> ** World
>
> #+END_SRC
>
> 2. M-x org-html-export-as-html
>
> Returns:
>
> apply: Wrong type argument: listp, #("HELLO" 0 5 (:parent (#0)))
>
>
> When I remove TITLE then it's exported propely.

You probably have a mixed installation. This problem has been reported
a few times already and the solution is always to reinstall Org properly
(i.e., before built-in Org is loaded).

Regards,

-- 
Nicolas Goaziou

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

* Re: Bug: HTML export is broken when there are document level headings (TITLE, AUTHOR etc.) [8.3.4 (8.3.4-elpa @ /media/home/neutrico/.emacs.d/elpa/org-20160222/)]
  2016-02-29 21:15 ` Nicolas Goaziou
@ 2016-02-29 21:27   ` Marcin Antczak
  0 siblings, 0 replies; 3+ messages in thread
From: Marcin Antczak @ 2016-02-29 21:27 UTC (permalink / raw)
  To: emacs orgmode-mailinglist



W dniu 02/29/2016 o 10:15 PM, Nicolas Goaziou pisze:
> Hello,
>
> neutrico <marcin.antczak@neutrico.eu> writes:
>
>> Steps to reproduce:
>>
>> 1. Create org document hello.org :
>>
>> #+BEGIN_SRC org
>>
>> #TITLE: Hello
>>
>> ** World
>>
>> #+END_SRC
>>
>> 2. M-x org-html-export-as-html
>>
>> Returns:
>>
>> apply: Wrong type argument: listp, #("HELLO" 0 5 (:parent (#0)))
>>
>>
>> When I remove TITLE then it's exported propely.
> You probably have a mixed installation. This problem has been reported
> a few times already and the solution is always to reinstall Org properly
> (i.e., before built-in Org is loaded).

Yes, I know about mixed installations.
However my 'org-version is showing that everything is ok.

[8.3.4 (8.3.4-elpa @ /media/home/neutrico/.emacs.d/elpa/org-20160222/)]

1. Is this possible to remove org-mode from Emacs distribution?
As org is available as ELPA package than builtin version causes 
unnecessary trouble.

2. Is this possible to improve 'org-reload function to fix problems with 
mixed installation?

Regards,
Marcin

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

end of thread, other threads:[~2016-02-29 22:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-28 22:39 Bug: HTML export is broken when there are document level headings (TITLE, AUTHOR etc.) [8.3.4 (8.3.4-elpa @ /media/home/neutrico/.emacs.d/elpa/org-20160222/)] neutrico
2016-02-29 21:15 ` Nicolas Goaziou
2016-02-29 21:27   ` Marcin Antczak

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