larstvei / ox-gfm

Github Flavored Markdown Back-End for Org Export Engine
230 stars 44 forks source link

Installing ox-gfm from MELPA seems to be problematic #4

Closed syl20bnr closed 9 years ago

syl20bnr commented 9 years ago

When I install ox-gfm from MELPA some org functions become undefined. If I remove the file org-loaddefs.el from the install directory of ox-gfm then everything works fine. Is it possible that this file shadows the original feature org-loaddefs ?

larstvei commented 9 years ago

Hi!

I never submitted this package to MELPA, so I'm not really sure about this. I saw you've asked over at MELPA, hope you find better answers there.

syl20bnr commented 9 years ago

Thank you, I suppose you have no idea about the org-loaddefs.el file ?

larstvei commented 9 years ago

Sorry, I don't. I've read the MELPA-recipie and I don't see why it would download any files besides ox-gfm.el.

syl20bnr commented 9 years ago

Seems it is generated along with the autoloads. Thank you!

conklech commented 9 years ago

The file-local variable generated-autoload-file is set to "org-loaddefs.el" in ox-gfx.el in this repository. I'm not familiar with emacs; perhaps that causes the autoload and should be changed?

purcell commented 9 years ago

Yes, generated-autoload-file should not be overridden like this. It will cause any other org-loaddefs.el in load-path to be shadowed, and prevent the autoloads from having any effect when installed as a package.

larstvei commented 9 years ago

I see, fixed it now, thanks!