emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] org-e-html reference to undefined org-export-coding-system
@ 2012-05-28  7:50 Eric S Fraga
  2012-05-28  8:32 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Eric S Fraga @ 2012-05-28  7:50 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

with org from git as of a few minutes ago, I cannot load org.  I get the
following backtrace when I start emacs with --debug-init:

,----
| Debugger entered--Lisp error: (void-variable org-export-coding-system)
|   eval(org-export-coding-system)
|   custom-initialize-reset(org-e-html-coding-system org-export-coding-system)
|   custom-declare-variable(org-e-html-coding-system org-export-coding-system "Coding system for HTML export.\nUse `org-export-coding-system' as the default value." :group org-export-e-html :type coding-system)
|   (defcustom org-e-html-coding-system org-export-coding-system "Coding system for HTML export.\nUse `org-export-coding-system' as the default value." :group (quote org-export-e-html) :type (quote coding-system))
|   eval-buffer(#<buffer  *load*<5>> nil "/home/ucecesf/git/org-mode/contrib/lisp/org-e-html.el" nil t)  ; Reading at buffer position 9916
|   load-with-code-conversion("/home/ucecesf/git/org-mode/contrib/lisp/org-e-html.el" "/home/ucecesf/git/org-mode/contrib/lisp/org-e-html.el" nil t)
|   require(org-e-html "./org-e-html.el")
|   eval-buffer(#<buffer  *load*<4>> nil "/home/ucecesf/git/org-mode/contrib/lisp/org-export.el" nil t)  ; Reading at buffer position 4791
|   load-with-code-conversion("/home/ucecesf/git/org-mode/contrib/lisp/org-export.el" "/home/ucecesf/git/org-mode/contrib/lisp/org-export.el" nil t)
|   require(org-export)
`----

If I comment out line 107

  (require 'org-e-html "./org-e-html.el")

in contrib/lisp/org-export.el, I can start up properly although I
imagine exporting to html won't work with the new exporter...

Thanks,
eric

-- 
Org-mode version 7.8.10 (release_7.8.10-619-g540dfc @ /home/ucecesf/git/org-mode/lisp/)

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

* Re: [bug] org-e-html reference to undefined org-export-coding-system
  2012-05-28  7:50 [bug] org-e-html reference to undefined org-export-coding-system Eric S Fraga
@ 2012-05-28  8:32 ` Nicolas Goaziou
  2012-05-28 12:03   ` Eric Fraga
  2012-05-28 12:31   ` Achim Gratz
  0 siblings, 2 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2012-05-28  8:32 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> with org from git as of a few minutes ago, I cannot load org.  I get the
> following backtrace when I start emacs with --debug-init:
>
> ,----
> | Debugger entered--Lisp error: (void-variable org-export-coding-system)
> |   eval(org-export-coding-system)
> |   custom-initialize-reset(org-e-html-coding-system org-export-coding-system)
> |   custom-declare-variable(org-e-html-coding-system
> | org-export-coding-system "Coding system for HTML export.\nUse
> | org-export-coding-system' as the default value." :group
> | org-export-e-html :type coding-system)
> |   (defcustom org-e-html-coding-system org-export-coding-system
> | "Coding system for HTML export.\nUse `org-export-coding-system' as
> | the default value." :group (quote org-export-e-html) :type (quote
> | coding-system))
> |   eval-buffer(#<buffer  *load*<5>> nil "/home/ucecesf/git/org-mode/contrib/lisp/org-e-html.el" nil t)  ; Reading at buffer position 9916
> |   load-with-code-conversion("/home/ucecesf/git/org-mode/contrib/lisp/org-e-html.el" "/home/ucecesf/git/org-mode/contrib/lisp/org-e-html.el" nil t)
> |   require(org-e-html "./org-e-html.el")
> |   eval-buffer(#<buffer  *load*<4>> nil "/home/ucecesf/git/org-mode/contrib/lisp/org-export.el" nil t)  ; Reading at buffer position 4791
> |   load-with-code-conversion("/home/ucecesf/git/org-mode/contrib/lisp/org-export.el" "/home/ucecesf/git/org-mode/contrib/lisp/org-export.el" nil t)
> |   require(org-export)
> `----
>
> If I comment out line 107
>
>   (require 'org-e-html "./org-e-html.el")
>
> in contrib/lisp/org-export.el, I can start up properly although I
> imagine exporting to html won't work with the new exporter...

I fixed it (with a temporary kludge) a few minutes ago. Could you pull
again and tell me if it's ok?


Regards,

-- 
Nicolas Goaziou

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

* Re: [bug] org-e-html reference to undefined org-export-coding-system
  2012-05-28  8:32 ` Nicolas Goaziou
@ 2012-05-28 12:03   ` Eric Fraga
  2012-05-28 12:31   ` Achim Gratz
  1 sibling, 0 replies; 5+ messages in thread
From: Eric Fraga @ 2012-05-28 12:03 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> with org from git as of a few minutes ago, I cannot load org.  I get the
>> following backtrace when I start emacs with --debug-init:
>>
>> ,----
>> | Debugger entered--Lisp error: (void-variable org-export-coding-system)
>> |   eval(org-export-coding-system)

[...]

> I fixed it (with a temporary kludge) a few minutes ago. Could you pull
> again and tell me if it's ok?

Confirmed!  Works fine now.  Thanks.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.1.50.1 + Ma Gnus v0.6

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

* Re: [bug] org-e-html reference to undefined org-export-coding-system
  2012-05-28  8:32 ` Nicolas Goaziou
  2012-05-28 12:03   ` Eric Fraga
@ 2012-05-28 12:31   ` Achim Gratz
  2012-05-28 13:50     ` Nicolas Goaziou
  1 sibling, 1 reply; 5+ messages in thread
From: Achim Gratz @ 2012-05-28 12:31 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou writes:
>>   (require 'org-e-html "./org-e-html.el")
>>
>> in contrib/lisp/org-export.el, I can start up properly although I
>> imagine exporting to html won't work with the new exporter...
>
> I fixed it (with a temporary kludge) a few minutes ago. Could you pull
> again and tell me if it's ok?

Please leave out the path element from your requires.  Leave it to the
user to set up the load-path correctly.  With the new Makefile, the
correct way to activate the new exporter is to simply copy or link it
into lisp/.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

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

* Re: [bug] org-e-html reference to undefined org-export-coding-system
  2012-05-28 12:31   ` Achim Gratz
@ 2012-05-28 13:50     ` Nicolas Goaziou
  0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2012-05-28 13:50 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

Hello,

Achim Gratz <Stromeko@nexgo.de> writes:

> Please leave out the path element from your requires.  Leave it to the
> user to set up the load-path correctly.  With the new Makefile, the
> correct way to activate the new exporter is to simply copy or link it
> into lisp/.

Done.


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2012-05-28 13:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-28  7:50 [bug] org-e-html reference to undefined org-export-coding-system Eric S Fraga
2012-05-28  8:32 ` Nicolas Goaziou
2012-05-28 12:03   ` Eric Fraga
2012-05-28 12:31   ` Achim Gratz
2012-05-28 13:50     ` Nicolas Goaziou

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