| Summary: | app-emacs/org-mode-6.27a conflicts with the org-mode in emacs-22.3-r2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Beetle B. <usefuljunk> |
| Component: | Current packages | Assignee: | Emacs project <emacs> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | usefuljunk |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://thread.gmane.org/gmane.emacs.orgmode/7786/focus=7925 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Beetle B.
2009-06-26 04:53:53 UTC
Could you please post your load-path: C-h v load-path RET load-path is a variable defined in `C source code'.
Its value is
("/home/mueen/emacs/" "/usr/share/emacs/22.3/site-lisp" "/usr/share/emacs/site-lisp" "/usr/share/emacs/site-lisp/autoconf-mode" "/usr/share/emacs/site-lisp/bbdb" "/usr/share/emacs/site-lisp/cmake" "/usr/share/emacs/site-lisp/desktop-file-utils" "/usr/share/emacs/site-lisp/git" "/usr/share/emacs/site-lisp/gnuplot" "/usr/share/emacs/site-lisp/gtk-doc" "/usr/share/emacs/site-lisp/guile" "/usr/share/emacs/site-lisp/icicles" "/usr/share/emacs/site-lisp/ipython" "/usr/share/emacs/site-lisp/kdvi" "/usr/share/emacs/site-lisp/libidn" "/usr/share/emacs/site-lisp/mercurial" "/usr/share/emacs/site-lisp/ngnus" "/usr/share/emacs/site-lisp/noweb" "/usr/share/emacs/site-lisp/org-mode" "/usr/share/emacs/site-lisp/po-mode" "/usr/share/emacs/site-lisp/python-mode" "/usr/share/emacs/site-lisp/rst" "/usr/share/emacs/site-lisp/ruby-mode" "/usr/share/emacs/site-lisp/site-gentoo.d" "/usr/share/emacs/site-lisp/subversion" "/usr/share/emacs/site-lisp/tex-utils" "/usr/share/emacs/site-lisp/timidity++" "/usr/share/emacs/site-lisp/txt2tags" "/usr/share/emacs/site-lisp/bbdb/bits" "/usr/share/emacs/22.3/lisp" "/usr/share/emacs/22.3/lisp/url" "/usr/share/emacs/22.3/lisp/textmodes" "/usr/share/emacs/22.3/lisp/progmodes" "/usr/share/emacs/22.3/lisp/play" "/usr/share/emacs/22.3/lisp/obsolete" "/usr/share/emacs/22.3/lisp/net" "/usr/share/emacs/22.3/lisp/mh-e" "/usr/share/emacs/22.3/lisp/mail" "/usr/share/emacs/22.3/lisp/language" "/usr/share/emacs/22.3/lisp/international" "/usr/share/emacs/22.3/lisp/gnus" "/usr/share/emacs/22.3/lisp/eshell" "/usr/share/emacs/22.3/lisp/erc" "/usr/share/emacs/22.3/lisp/emulation" "/usr/share/emacs/22.3/lisp/emacs-lisp" "/usr/share/emacs/22.3/lisp/calendar" "/usr/share/emacs/22.3/lisp/calc" "/usr/share/emacs/22.3/leim")
Documentation:
*List of directories to search for files to load.
Each element is a string (directory name) or nil (try default directory).
Initialized based on EMACSLOADPATH environment variable, if any,
otherwise to default specified by file `epaths.h' when Emacs was built.
In you load-path site-lisp/org-mode comes before 22.3/lisp/textmodes as it should be, so Emacs it should find the standalone org-mode before the one that is included with Emacs 22. And I cannot reproduce the problem. I've tried with org-mode-6.27a and the following example file: <http://overlays.gentoo.org/proj/emacs/attachment/wiki/test%20plans/example.org?format=raw>. LaTeX export seems to work fine. (In reply to comment #3) > In you load-path site-lisp/org-mode comes before 22.3/lisp/textmodes as it > should be, so Emacs it should find the standalone org-mode before the one that > is included with Emacs 22. Sorry, this sentence should read: "In your load-path site-lisp/org-mode comes before 22.3/lisp/textmodes, as it should be. So Emacs should find the standalone org-mode before the one that is included with Emacs 22." That is strange. I tried again and it still fails. Below is the Message buffer. Is there any way to get some sort of trace when it executes the command? Select command: Loading org-export-latex...done Exporting to LaTeX... Loading latexenc...done (New file) Loading tex-mode... Loading regexp-opt...done Loading tex-mode...done org-export-latex-first-lines: Symbol's function definition is void: org-cleaned-string-for-export Does it also fail if you start Emacs with "emacs -q"? What is the output of "C-h f org-export-as-latex RET", if you issue this as the first command after starting Emacs? The first line should be as follows: org-export-as-latex is an interactive autoloaded Lisp function in `org-latex'. Without emacs -q, the output is: org-export-as-latex is an interactive autoloaded Lisp function in `org-export-latex'. With emacs -q, the output is the same. It gives the same error with emacs -q. I seem to have fixed this by adding (require 'org-install) in .emacs. Closing the bug (but you can reopen if you want to investigate further). This probably explains it. From the orgmode FAQ: "This wrong version loading may also happen if you have a byte-compiled org.elc from an old version together with a new org.el. Since Emacs prefers loading byte-compiled files (even if the .el is newer), it will load the old Org-mode." (In reply to comment #8) > I seem to have fixed this by adding > > (require 'org-install) > > in .emacs. This is normally done in the site-initialisation file of org-mode, /usr/share/emacs/site-lisp/site-gentoo.d/51org-mode-gentoo.el which is also part of site-gentoo.el. So you don't load site-gentoo in your site-start.el or ~/.emacs? > Closing the bug (but you can reopen if you want to investigate further). Reopening, since we still don't know if this issue is a real bug or a problem with your configuration. I don't have that in my .emacs. Where exactly is it located? I'd like to read up more about it - where is this documented? A brief glance at the emacs ebuild doesn't seem to show it. (In reply to comment #11) > I don't have that in my .emacs. In the default Gentoo installation, there should be a file /usr/share/emacs/site-lisp/site-start.el . I think the postinst message of app-emacs/emacs-common-gentoo explains it well: All site initialisation for Gentoo-installed packages is added to /usr/share/emacs/site-lisp/site-gentoo.el. In order for this site initialisation to be loaded for all users automatically, a default site-start.el is created in the same directory. You are responsible for all further maintenance of this file. Alternatively, individual users can add the following command: (require 'site-gentoo) to their ~/.emacs initialisation files, or, for greater flexibility, users may load single package-specific initialisation files from /usr/share/emacs/site-lisp/site-gentoo.d/. You may run "emerge --config emacs-common-gentoo" to create the default site-start file. Resolving as invalid since this is not a bug of org-mode. |