From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IBFSNrjL4WKBmQAAbAwnHQ (envelope-from ) for ; Thu, 28 Jul 2022 01:35:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QJA1NrjL4WKv4wAA9RJhRA (envelope-from ) for ; Thu, 28 Jul 2022 01:35:20 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4B6C41BBB for ; Thu, 28 Jul 2022 01:35:20 +0200 (CEST) Received: from localhost ([::1]:56426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGqYh-00068k-3W for larch@yhetil.org; Wed, 27 Jul 2022 19:35:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGqY7-00066R-9C for emacs-orgmode@gnu.org; Wed, 27 Jul 2022 19:34:43 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:46869) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGqY5-00051a-HZ for emacs-orgmode@gnu.org; Wed, 27 Jul 2022 19:34:43 -0400 Received: by mail-pj1-x1034.google.com with SMTP id q7-20020a17090a7a8700b001f300db8677so473674pjf.5 for ; Wed, 27 Jul 2022 16:34:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=VuibkPdXx0dVDyBDBjZLDiDcISSSXZmOgUHRg02nZlM=; b=O9aOR0DauSGdkARU5z9A/QyZKtUSi6988cC+dO8/Y55kwYt+BD72UcSEG28ue3FOcO No2shl/RWkdKsXdBC46ebnFL7nBGGmmc4QFupLQspkVVk0CPEMk3bxiraI/j1GGVjSAf ia7EDBjtj1P6/Ay+DS7TQtY7iHHd9HG5h7Rlirs8onb1wefvAg2W1jomv3xq8qM/Oiac mBZ+3Kt5G7OWaFIroDoFJU3xU+TPh50trh6EGLNxB42QGRTPseozI5176pbtZAU8+eYn 2eThdAoCbw8Qlw5OwqW8BbHn2DLZ++cyxecOGj544qVSNsga3wndw71U1kG5mOkTPql2 TJnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=VuibkPdXx0dVDyBDBjZLDiDcISSSXZmOgUHRg02nZlM=; b=Dm4qCb1lTO1tqGUrDg1K7q9U7xE+bmPiEb5NiqdZM6TH8p01x7lfoQD6YOGlMw29S0 5IcrCuNJso2H1fWNwJoQVzAdv8PDWrCaXyXBVW3oPVgjKojXSyPZm8N7GR/Y3MQFQ1o1 vAu4HYgA2wJNYBwz3ATtT+CslfuDD3RwQ9bRDiUe+nW1vuIefcL3xU/vZ0YeEagG/QMH x4/4dvdTzIdKiiQHOBCHDyGX6gjKssWzGCRMoQUfjMuIjUqFhtrbf0JYviWZ8hOmW0t/ zZf3Oku+XpKTn2di38KRK/SE2hq5EnJCnEsN+NJUt0pRlQAgKPc/4irpUydeP/WbNett 0Tuw== X-Gm-Message-State: AJIora98uv7fYWGI9k4Zn9kQSXxuvReeRmazVRiqyRTfNuN/dYFrHEHT ipmpkdLe/IZTWpNuSNtOpX9KdhPc9Xo= X-Google-Smtp-Source: AGRyM1tMz94LRrbBvST3LqLn97geUTiKoB1c5eeydjYK8U5MokKHOnBRV0XGBbAEP5PglZMQqCDhMQ== X-Received: by 2002:a17:902:dac8:b0:16d:8545:a437 with SMTP id q8-20020a170902dac800b0016d8545a437mr13626388plx.39.1658964879616; Wed, 27 Jul 2022 16:34:39 -0700 (PDT) Received: from dingbat (2001-44b8-31f2-bb00-842a-7361-87c7-2662.static.ipv6.internode.on.net. [2001:44b8:31f2:bb00:842a:7361:87c7:2662]) by smtp.gmail.com with ESMTPSA id h12-20020a170902f54c00b0016db6bd77f4sm1976819plf.117.2022.07.27.16.34.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 16:34:38 -0700 (PDT) References: <87czdr99fm.fsf@skimble09.plus.com> <87lesf130v.fsf@skimble09.plus.com> <87y1weabel.fsf@localhost> <875yji1t1y.fsf@skimble09.plus.com> User-agent: mu4e 1.8.6; emacs 29.0.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: Something has happened such that I can't export to latex Date: Thu, 28 Jul 2022 09:02:20 +1000 In-reply-to: <875yji1t1y.fsf@skimble09.plus.com> Message-ID: <86y1wenn91.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=theophilusx@gmail.com; helo=mail-pj1-x1034.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658964920; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VuibkPdXx0dVDyBDBjZLDiDcISSSXZmOgUHRg02nZlM=; b=RNa+9gqh4dXuKgoiRMh2E/jBqrIvZVeQcmMhuIfiSMXGb9LRlg4PIc0/mBiIPahDRgh03g no/up5Vf+XeRqwNfmohxbBiAfzenPvCRLLCsF01KOrQI3F12fMD+/ioXVKFu22NyiZAk/O qDJtUzvcgN/7tyJuZ4oZaJalpe0ThW2C3KEknLnFI4taYNuGZzxOaKA3mo6/0GKUamYoVF RgTECeUMJADfY66qI0jD2puXpVOsRAfrEbrTRRYY0kcTdV1KxYj2tAw47QGrZMduASfHbC FD76FfudScygxfRPuYXLUE8nQvbn0lh6sBMMw98DwUNo3e3xblxtuTQAWzvJig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658964920; a=rsa-sha256; cv=none; b=c90bN17QksuP99EFrnEBeYZYcWZoA8Ms9GZkQcVG8g6dL/gGRI9yC27VSO8XEB4GqZCIE1 6Xctmu6hrL7+vDnhVl53xXuAhcPZZHZc+bW/hX294FYcXjI0lTvg+rf61KLK7G17VRR+M2 FbASFlVPBbRn9ErmEYRCZBjR+HI5wkj+y7ypbvHZHQLkdYAUxIj4DZJezS6vcINTJNrc0e VG3T4BBmxZEwTKUogxWAs6ntI3MCMXhuZw6q/81sCEu7WK5HJ+GwHpm9B39jjxAwq/9ofI DKcWg5efah4JB5waq2ORv9B0sX10XOANvbMrxm1GazbLmTL5cUnA/l5GOcTZRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=O9aOR0Da; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.93 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=O9aOR0Da; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4B6C41BBB X-Spam-Score: -3.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: JsNeSXxmlpXH Note that identifying when org is loaded is not always straight-forward. There are lots of packages which include org support which can result in org being loaded as a side effect when you load them. This is especially true of non-core packages which will use explicit require statements rather than relying on autoloads etc. For this reason, I always ensure that anything relating to org source paths etc is loaded as early as possible. Sharon Kimble writes: > > 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") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This is when org is being loaded as ob-tangle is part of org. This will mean the built-in/bundled version of org is loaded. > #+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")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This isn't going to work as you hope. You have already loaded org mode when you called (require 'ob-tangle), so what this is doing is adding an additional path to a latter version of org which is going to result in a 'mixed' version. This will cause lots of issues. You either need to move the above lines *above* the require 'ob-tangle or move the earlier lines to after these ones. I think earlier is better when it comes to org as there are many packages which include org support and which will load org as a hidden side effect. > ;; 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? > I note your appear to be running both the development version of Emacs as well as the git version of org mode. While this will give you the most recent versions of both, it will also mean your working with the most unstable versions of both. If you rely on org for your daily workflow, I would recommend 1. Just running with the version of org bundled with Emacs. Being the development version, it will stay reasonably up-to-date as you really need to update and re-build Emacs every week or so anyway. or 2. Just use the org from ELPA and org-contrib from non-GNU ELPA. These are usually the most stable versions with bug fixes applied. This would be my recommendation. I think few people actually need to run from the head of the git repository. Your messages indicated that having a broken org installation was a significant issue for you and getting the issues resolved are quite urgent. Using the ELPA/non-GNU packages will ensure you get important bug fixes while keeping your org version current with the most recent stable version and is probably the best choice for anyone who needs a reliable org for production/daily use.