From: Sharon Kimble <boudiccas@skimble09.plus.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Something has happened such that I can't export to latex
Date: Wed, 27 Jul 2022 16:20:09 +0100 [thread overview]
Message-ID: <875yji1t1y.fsf@skimble09.plus.com> (raw)
In-Reply-To: <87y1weabel.fsf@localhost> (Ihor Radchenko's message of "Wed, 27 Jul 2022 22:16:34 +0800")
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Ihor Radchenko <yantar92@gmail.com> writes:
> Sharon Kimble <boudiccas@skimble09.plus.com> writes:
>
>> Despite git pulling, etc, and restarting emacs, the problem still
>> remains.
>>
>> This is on org-mode 'Org mode version 9.5.2 (release_9.5.2-25-gaf6f12 @
>> /home/boudiccas/git/org-mode/lisp/)'
>>
>> Any ideas please?
>
> Org 9.5.2 is a relatively old Org version. However, the error you are
> getting was introduced in development version of Org (9.5.4+).
> I suspect that you are loading some part of Org distribution from other
> place. Not the Git folder you fetched.
>
> Please make sure that you set the load-path for Org correctly early in
> your config before you load Org or any package depending on Org.
>
> Best,
> Ihor
Thanks Ihor.
I eventually tracked down that I was loading org-mode from '/usr/local/share/emacs/29.0.50/lisp/org/'.
So I've done a 'make clean', and then configured and built emacs to run from bootstrap, and now my org-version shows as 'Org mode version 9.5.2 (release_9.5.2-25-gaf6f12 @ /home/boudiccas/git/org-mode/lisp/)'.
However, if I build org-mode from git it shows as 'org-loaddefs: 9.5.4 (release_9.5.4-682-g5be0c7).
So I've rebooted and now emacs is showing my org-version as still 'Org mode version 9.5.2 (release_9.5.2-25-gaf6f12 @ /home/boudiccas/git/org-mode/lisp/)'.
So I've looked at my config file, and the first time that org is mentioned is -
=====
** installation
#+BEGIN_SRC emacs-lisp :tangle "~/.emacs.d/init.el" :exports code :results silent
;;; init.el --- sharon's config -*- eval: (read-only-mode 1) -*-
(require 'package)
(setq package-enable-at-startup nil)
(package-initialize)
(require 'ob-tangle)
(org-babel-load-file "~/.emacs.d/config22.org")
#+END_SRC
=====
and the first time that org-mode is mentioned is -
=====
** set pathways
#+begin_src emacs-lisp
;;(setq load-path (cons "~/.emacs.d/lisp" load-path))
;; This sets up the load path so that we can override it
(package-initialize nil)
;; Override the packages with the git version of Org and other packages
;;(add-to-list 'load-path (expand-file-name "/home/boudiccas/git/org-mode/"))
(add-to-list 'load-path (expand-file-name "/home/boudiccas/git/org-mode/lisp"))
(add-to-list 'load-path (expand-file-name "/home/boudiccas/git/org-contrib/lisp"))
;; Load the rest of the packages
(add-to-list 'load-path (expand-file-name "/home/boudiccas/.emacs.d/lisp"))
;; (add-to-list 'load-path "/home/boudiccas/.emacs.d/personal-elisp")
;; (add-to-list 'load-path "/home/boudiccas/.emacs.d/test")
(add-to-list 'load-path (expand-file-name "/home/boudiccas/.emacs.d/elpa"))
;; (add-to-list 'load-path "/home/boudiccas/git")
(setq custom-file "/home/boudiccas/.emacs.d/lisp/custom.el")
(load custom-file)
#+end_src
=====
So how can I load the correct org-mode please?
Thanks
Sharon.
- --
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.2
-----BEGIN PGP SIGNATURE-----
iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmLhV6kdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1se5g//bhQw5DnHJs4QxJtU
dnIXs9A33Q8561XvkUd9rmUf1fRhfitj+dIX9m7lYCr5CoeFzzBDHd/N+Me/nkAo
FbGGjVTEeQ1ypqoHe9w4w4U9Dv4vKKUVbmGFpA4svdrKnDgDXlAWckvNf7okjJin
qjbq7Y0gysrfW/hgtvWIq0AVdCoG9HzRXP1GV8aysRwqMhBCyGefNpj5noRAd6z/
0q4poqDMxozLZJvgkN20tbsrg/XVuHvEKkcyyMEyJNmyFUviY3iiUZ0X99Zp/S2F
MOUs/+h4RjqA3CLE6+RX2UUzYydD+ifosDWgO6uhWaHAqBxmcuK/Bo/Hlu4apVrC
s6lrNde7T3ub+s7Xxd8Goq+ARiuwtGU5df7Sb/8k+4PjU1mfUr61ySayGvHpaRVm
GLNURlG2RbNUijd0he7zXnXANcymHCKLkh4VXMOKETtLqP2vG7p2IKKX2iv9pztA
VomZscAL+stmEKSt6zr0jg3f1rCdkltG5VYKG0ZwJSdhwEuBjugOgYBXEKe6QXqy
GEi+FediBlbMiOAbOMvuLvWAdH16fYLegKoVLCbClhchRdeUztkCyAA2TeEZsaX7
sgVAb4ckFYST0lLBTLcl3i2x1rKTT4r0quf8pwMryeI+/UIhuHsvA4wpH9KEbD6X
+d/TwvxzbUt7pGTFjCwi7zfCW80=
=VvU8
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2022-07-27 15:21 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-26 15:32 Something has happened such that I can't export to latex Sharon Kimble
2022-07-26 15:37 ` Ihor Radchenko
2022-07-26 16:33 ` Sharon Kimble
2022-07-26 16:39 ` Sharon Kimble
2022-07-27 3:41 ` Ihor Radchenko
2022-07-27 6:30 ` Sharon Kimble
2022-07-27 14:03 ` Fraga, Eric
2022-07-27 14:16 ` Ihor Radchenko
2022-07-27 15:20 ` Sharon Kimble [this message]
2022-07-27 15:43 ` Fraga, Eric
2022-07-27 23:02 ` Tim Cross
2022-07-28 9:50 ` Sharon Kimble
2022-07-28 10:20 ` Ihor Radchenko
2022-07-28 13:29 ` Sharon Kimble
2022-07-29 1:10 ` Ihor Radchenko
2022-07-29 8:48 ` Sharon Kimble
2022-07-29 12:00 ` Robert Pluim
2022-07-29 12:24 ` Sharon Kimble
2022-07-29 12:37 ` Robert Pluim
2022-07-29 13:24 ` Ihor Radchenko
2022-07-30 7:25 ` [SOLVED] " Sharon Kimble
2022-07-31 19:49 ` Robert Pluim
2022-07-30 3:18 ` Tim Cross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875yji1t1y.fsf@skimble09.plus.com \
--to=boudiccas@skimble09.plus.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).