all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Error when loading org-export-generic.el
@ 2012-07-20 18:22 avkaplmkt
  2012-07-24  6:47 ` Bastien
  2012-07-25  6:38 ` Bastien
  0 siblings, 2 replies; 11+ messages in thread
From: avkaplmkt @ 2012-07-20 18:22 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I have org-mode setup for me Emacs 24.1.1 running in Mac OS X 10.6.8 installed via MacPorts 2.1.1, and it works fine.

Today, I wanted to load org-export-generic.el so that I can use the org-mode to Markdown converter here:

https://github.com/alexhenning/ORGMODE-Markdown

So I added the following to my ~/.emacs:

(load "~/.emacs.d/org-mode/contrib/lisp/org-export-generic.el")

But when I start Emacs I get an error saying there is a problem with that line in ~/.emacs, so I started Emacs with the command "emacs --debug-init" and got the following message, can someone help me troubleshoot this? Thanks!

Here's the error:

Debugger entered--Lisp error: (file-error "Cannot open load file" "~/.emacs.d/org-mode/contrib/lisp/org-export-generic.el")
  load("~/.emacs.d/org-mode/contrib/lisp/org-export-generic.el")
  eval-buffer(#<buffer  *load*> nil "/Users/[username]/.emacs" nil t)  ; Reading at buffer position 1030
  load-with-code-conversion("/Users/[username]/.emacs" "/Users/[username]/.emacs" t t)
  load("~/.emacs" t t)
  #[0 "\b\205\262\0	\306=\203\x11\0\307\b\310Q\202;\0	\311=\204\x1e\0\307\b\312Q\202;\0\313\307\314\315#\203*\0\316\202;\0\313\307\314\317#\203:\0\320\nB\x12\321\202;\0\316\322\x13\323\x01\322\211#\210\v\322=\203a\0\324\325\326\307\b\327Q!\"\323\x01\322\211#\210\v\322=\203`\0\x01\x13\210\v\203\243\0\330\v!\331\232\203\243\0\332\v!\211\333P\334\x01!\203}\0\211\202\210\0\334\x02!\203\207\0\x01\202\210\0\314\262\x02\x01\203\241\0\335\x02\v\"\203\237\0\336\337\x03\v#\210\340\341!\210\x01\x13\266\x02\f?\205\260\0\314\x1d\323\342\322\211#)\262\x01\207" [init-file-user system-type delayed-warnings-list user-init-file inhibit-default-init inhibit-startup-screen ms-dos "~" "/_emacs" windows-nt "/.emacs" directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" (initialization "`_emacs' init file is deprecated, please use `.emacs'") "~/_emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default"] 7 "\n\n(fn)"]()
  command-line()
  normal-top-level()


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

* Re: Error when loading org-export-generic.el
  2012-07-20 18:22 Error when loading org-export-generic.el avkaplmkt
@ 2012-07-24  6:47 ` Bastien
  2012-07-25  0:55   ` Advrk Aplmrkt
  2012-07-25  6:38 ` Bastien
  1 sibling, 1 reply; 11+ messages in thread
From: Bastien @ 2012-07-24  6:47 UTC (permalink / raw)
  To: avkaplmkt; +Cc: help-gnu-emacs

avkaplmkt@gmail.com writes:

> Today, I wanted to load org-export-generic.el so that I can use the org-mode to Markdown converter here:
>
> https://github.com/alexhenning/ORGMODE-Markdown
>
> So I added the following to my ~/.emacs:
>
> (load "~/.emacs.d/org-mode/contrib/lisp/org-export-generic.el")
>
> But when I start Emacs I get an error saying there is a problem with that
> line in ~/.emacs, so I started Emacs with the command "emacs --debug-init"
> and got the following message, can someone help me troubleshoot this?

Are you sure there is a file here ?

  ~/.emacs.d/org-mode/contrib/lisp/org-export-generic.el

-- 
 Bastien



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

* Re: Error when loading org-export-generic.el
  2012-07-24  6:47 ` Bastien
@ 2012-07-25  0:55   ` Advrk Aplmrkt
  0 siblings, 0 replies; 11+ messages in thread
From: Advrk Aplmrkt @ 2012-07-25  0:55 UTC (permalink / raw)
  To: Bastien; +Cc: help-gnu-emacs

Sorry I didn't provide the correct path before, it is suppose to be
"org" instead of "org-mode".

However, it still doesn't work. I've included the --debug-init output here:

http://pastebin.com/xa7y5E91

I honestly have no idea how to fix this problem. Do you have any
suggestions on how to troubleshoot this? Thanks!!

On 24 July 2012 02:47, Bastien <bzg@gnu.org> wrote:
> avkaplmkt@gmail.com writes:
>
>> Today, I wanted to load org-export-generic.el so that I can use the org-mode to Markdown converter here:
>>
>> https://github.com/alexhenning/ORGMODE-Markdown
>>
>> So I added the following to my ~/.emacs:
>>
>> (load "~/.emacs.d/org-mode/contrib/lisp/org-export-generic.el")
>>
>> But when I start Emacs I get an error saying there is a problem with that
>> line in ~/.emacs, so I started Emacs with the command "emacs --debug-init"
>> and got the following message, can someone help me troubleshoot this?
>
> Are you sure there is a file here ?
>
>   ~/.emacs.d/org-mode/contrib/lisp/org-export-generic.el
>
> --
>  Bastien



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

* Re: Error when loading org-export-generic.el
  2012-07-20 18:22 Error when loading org-export-generic.el avkaplmkt
  2012-07-24  6:47 ` Bastien
@ 2012-07-25  6:38 ` Bastien
  2012-07-25 17:51   ` Advrk Aplmrkt
  1 sibling, 1 reply; 11+ messages in thread
From: Bastien @ 2012-07-25  6:38 UTC (permalink / raw)
  To: avkaplmkt; +Cc: help-gnu-emacs

avkaplmkt@gmail.com writes:

> (load "~/.emacs.d/org-mode/contrib/lisp/org-export-generic.el")

Try (require 'org-export-generic) instead.

-- 
 Bastien



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

* Re: Error when loading org-export-generic.el
  2012-07-25  6:38 ` Bastien
@ 2012-07-25 17:51   ` Advrk Aplmrkt
  2012-07-26  3:49     ` Bastien
  0 siblings, 1 reply; 11+ messages in thread
From: Advrk Aplmrkt @ 2012-07-25 17:51 UTC (permalink / raw)
  To: Bastien; +Cc: help-gnu-emacs

Hello,

I tried using (require 'org-export-generic), but emacs produces the
same error when starting..... Any other possibilities? Thanks for your
patience!

On 25 July 2012 02:38, Bastien <bzg@gnu.org> wrote:
> avkaplmkt@gmail.com writes:
>
>> (load "~/.emacs.d/org-mode/contrib/lisp/org-export-generic.el")
>
> Try (require 'org-export-generic) instead.



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

* Re: Error when loading org-export-generic.el
  2012-07-25 17:51   ` Advrk Aplmrkt
@ 2012-07-26  3:49     ` Bastien
  2012-07-26 15:08       ` Advrk Aplmrkt
  0 siblings, 1 reply; 11+ messages in thread
From: Bastien @ 2012-07-26  3:49 UTC (permalink / raw)
  To: Advrk Aplmrkt; +Cc: help-gnu-emacs

Advrk Aplmrkt <avkaplmkt@gmail.com> writes:

> I tried using (require 'org-export-generic), but emacs produces the
> same error when starting..... Any other possibilities? Thanks for your
> patience!

Did you (require 'org) first?

Basically the error says ̀defmacro*' doesn't exist.

̀defmacro*' is defined in cl-macs.el, so this file should be loaded
before you can load org-export-generic.el.

HTH,

-- 
 Bastien



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

* Re: Error when loading org-export-generic.el
  2012-07-26  3:49     ` Bastien
@ 2012-07-26 15:08       ` Advrk Aplmrkt
  2012-07-26 15:11         ` Bastien
  2012-08-06 21:02         ` Suvayu Ali
  0 siblings, 2 replies; 11+ messages in thread
From: Advrk Aplmrkt @ 2012-07-26 15:08 UTC (permalink / raw)
  To: Bastien; +Cc: help-gnu-emacs

Hello,

Yes it works now! This is what's in my ~/.emacs file now:

(require 'cl)
(require 'org)
(require 'org-export-generic)
(load "~/.emacs.d/elisp/markdown.el")

Thank you so much for helping me with this, now I can successfully
export org-mode files to Markdown. BTW, this is where I got it from:

https://github.com/alexhenning/ORGMODE-Markdown

On 25 July 2012 23:49, Bastien <bzg@altern.org> wrote:
> Advrk Aplmrkt <avkaplmkt@gmail.com> writes:
>
>> I tried using (require 'org-export-generic), but emacs produces the
>> same error when starting..... Any other possibilities? Thanks for your
>> patience!
>
> Did you (require 'org) first?
>
> Basically the error says ̀defmacro*' doesn't exist.
>
> ̀defmacro*' is defined in cl-macs.el, so this file should be loaded
> before you can load org-export-generic.el.
>
> HTH,
>
> --
>  Bastien



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

* Re: Error when loading org-export-generic.el
  2012-07-26 15:08       ` Advrk Aplmrkt
@ 2012-07-26 15:11         ` Bastien
  2012-07-26 16:10           ` Advrk Aplmrkt
  2012-08-06 21:02         ` Suvayu Ali
  1 sibling, 1 reply; 11+ messages in thread
From: Bastien @ 2012-07-26 15:11 UTC (permalink / raw)
  To: Advrk Aplmrkt; +Cc: help-gnu-emacs

Advrk Aplmrkt <avkaplmkt@gmail.com> writes:

> Thank you so much for helping me with this, now I can successfully
> export org-mode files to Markdown. BTW, this is where I got it from:
>
> https://github.com/alexhenning/ORGMODE-Markdown

You're welcome.

Note that from a fresh Org clone, you can use a more recent Markdown
exporter -- one that is likely to end up in Org's core, so testing it
would be nice.

See http://article.gmane.org/gmane.emacs.orgmode/58081

-- 
 Bastien



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

* Re: Error when loading org-export-generic.el
  2012-07-26 15:11         ` Bastien
@ 2012-07-26 16:10           ` Advrk Aplmrkt
  2012-07-27  6:43             ` Bastien
  0 siblings, 1 reply; 11+ messages in thread
From: Advrk Aplmrkt @ 2012-07-26 16:10 UTC (permalink / raw)
  To: Bastien; +Cc: help-gnu-emacs

While neither were perfect, the new one you suggested does work a bit
better! Thanks again. Hopefully this thread will be useful to someone
some day.

On 26 July 2012 11:11, Bastien <bzg@gnu.org> wrote:
> Advrk Aplmrkt <avkaplmkt@gmail.com> writes:
>
>> Thank you so much for helping me with this, now I can successfully
>> export org-mode files to Markdown. BTW, this is where I got it from:
>>
>> https://github.com/alexhenning/ORGMODE-Markdown
>
> You're welcome.
>
> Note that from a fresh Org clone, you can use a more recent Markdown
> exporter -- one that is likely to end up in Org's core, so testing it
> would be nice.
>
> See http://article.gmane.org/gmane.emacs.orgmode/58081
>
> --
>  Bastien



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

* Re: Error when loading org-export-generic.el
  2012-07-26 16:10           ` Advrk Aplmrkt
@ 2012-07-27  6:43             ` Bastien
  0 siblings, 0 replies; 11+ messages in thread
From: Bastien @ 2012-07-27  6:43 UTC (permalink / raw)
  To: Advrk Aplmrkt; +Cc: help-gnu-emacs

Advrk Aplmrkt <avkaplmkt@gmail.com> writes:

> While neither were perfect, the new one you suggested does work a bit
> better! Thanks again. Hopefully this thread will be useful to someone
> some day.

Don't hesitate to give some feedback by writing directly to the
emacs-orgmode@gnu.org mailing list.

-- 
 Bastien



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

* Re: Error when loading org-export-generic.el
  2012-07-26 15:08       ` Advrk Aplmrkt
  2012-07-26 15:11         ` Bastien
@ 2012-08-06 21:02         ` Suvayu Ali
  1 sibling, 0 replies; 11+ messages in thread
From: Suvayu Ali @ 2012-08-06 21:02 UTC (permalink / raw)
  To: help-gnu-emacs

Although you have seemingly solved your problem, I would like to make a
comment about your org-mode installation.

On Thu, Jul 26, 2012 at 11:08:24AM -0400, Advrk Aplmrkt wrote:
> Hello,
> 
> Yes it works now! This is what's in my ~/.emacs file now:
> 
> (require 'cl)
> (require 'org)
> (require 'org-export-generic)
> (load "~/.emacs.d/elisp/markdown.el")
> 

If the above is all you do to load org-mode, I think you are still not
using your separate org-mode install.  In fact, your setup now has a
mixed org installation.  You can verify this by looking at the output of
org-version.

I would suggest you follow the installation method suggested in the info
manual[1].  A mixed installation like this will cause you troubles that
will make your head spin in the future.

GL

Footnotes:

[1] http://orgmode.org/manual/Installation.html#Installation


-- 
Suvayu

Open source is the future. It sets us free.



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

end of thread, other threads:[~2012-08-06 21:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-20 18:22 Error when loading org-export-generic.el avkaplmkt
2012-07-24  6:47 ` Bastien
2012-07-25  0:55   ` Advrk Aplmrkt
2012-07-25  6:38 ` Bastien
2012-07-25 17:51   ` Advrk Aplmrkt
2012-07-26  3:49     ` Bastien
2012-07-26 15:08       ` Advrk Aplmrkt
2012-07-26 15:11         ` Bastien
2012-07-26 16:10           ` Advrk Aplmrkt
2012-07-27  6:43             ` Bastien
2012-08-06 21:02         ` Suvayu Ali

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.