Recent Posts

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here:
Cookie Policy

Elpa, org-mode and Invalid function: org-with-silent-modifications

Like many people, I’ve had problems installing org-mode using elpa, resulting in the well known error

Invalid function: org-with-silent-modifications

This is usually due to not following the installation instructions:

When installing from ELPA, please do so from a fresh Emacs session where no org function has been called.

I’ve encountered this problem a few times on Windows installations, each time through forgetting the above advice. The solution was straightforward, go to (home)/emacs.d/elpa and delete the org file, temporarily rename the .emacs file so that you’re restarting Emacs to a completely fresh session (or start a fresh emacs without any customization with emacs -q -thanks to iNecas). After that org-mode installs without a hitch.

And then I tried to do the same on Linux. Same error, same attempted solution.

This time it didn’t work. I wasted half on hour on this until I tried a complete reboot of the PC. This time it worked. The lesson is, when it says fresh Emacs session, it means a completely fresh Emacs session.

I installed org 8.3.5 in elpa and I met with a problem when I was using it.
When I enter C-c C-e to export for a html-file, after enter “h h”, it doesn’t output a html-file in my working path, instead, it comes out an information:”Definition not found for footnote 0″.
Can you tell me why?And how to slove it?
Thank you very much!

Try exporting a small file with not much in it. If this exports normally, it suggests that the problem is in the big file you’re exporting. Try breaking the big file up into sections and exporting each part, see where the problem lies.