From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id APK4JxD3LWNGOQAAbAwnHQ (envelope-from ) for ; Fri, 23 Sep 2022 20:12:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8ISaJxD3LWM5jAAAauVa8A (envelope-from ) for ; Fri, 23 Sep 2022 20:12:32 +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 460443463E for ; Fri, 23 Sep 2022 20:12:32 +0200 (CEST) Received: from localhost ([::1]:49828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obnA7-0000kn-Di for larch@yhetil.org; Fri, 23 Sep 2022 14:12:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obmxO-00086x-C7 for emacs-orgmode@gnu.org; Fri, 23 Sep 2022 13:59:22 -0400 Received: from ciao.gmane.io ([116.202.254.214]:32950) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obmxM-0003o2-N9 for emacs-orgmode@gnu.org; Fri, 23 Sep 2022 13:59:22 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1obmxK-0002qG-1g for emacs-orgmode@gnu.org; Fri, 23 Sep 2022 19:59:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Colin Baxter Subject: refresh not working for org-mode from git Date: Fri, 23 Sep 2022 18:59:09 +0100 Message-ID: <87illec6qa.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:Xms8Yi5+nsv4bgbkdWtyLwdfehA= X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjItMDgtMTZUMTI6MDA6NTYrMDE6MDCRhRhWAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Reply-To: m43cap@yandex.com 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=1663956752; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=+Y41Fhd9KkysZINPRtLP/Ygcrwu+1BZHzK18Y2ATZC4=; b=kgT3IYHBIdCcBd6Lk40TvT+oS+3oRSGvkCoaGUaz05KjTo8GV1/6sycstDIs57r6omYz8n 4tKs0jKuHcE0HhDsD15STcHhO6jGnWazbtPDbdyxEqxsdYnqT/bsBPLea6EutaPByvHY9r RkkOvYjewwX1MPnuVZ1DC5ZP68yN8Vr+pRmCkOK9fFKTN44NxErGd+yyLUSoT4rKZh0XCf GAutHrsId0lW635/OqEgbj7MzCnwYGsUpw6UsL4tXz6K1XI3hISObLfXo5SSPw8VF1v1yH 57DjMw59gvfZyAbtGub608fZIr/OAmSUNALQKFLwwdfNdRhLvWFMSJP7foq7lg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663956752; a=rsa-sha256; cv=none; b=Dw8Ilsb0fPcx6f2e3Q+k7ih0OTdUQ2okQxUGG1b2nRPrbL5yEFXicQw0i3TiOHuwoFOrtL GKvTF/GIybsR8AA+32GNrn8lAfjvICXrz3hNbKOUf6V5DRz3OlzAI7G201pFmSKTiaPRKP rhwV0lCvDccb6dKHmd8b1oB6EhIgVKa2gn0g3hnTuq/24XKT48NPKq34VTCgFIZyPpqh7Q 2EzR82ceWe84mGubxGTp24nCyhxuoSXOLlKwar8n3gInTglaM6rUSV25N5rXmb+My9QykM H4OdAa5IR8pVafmqxgdMfmWscR/7kklmH6FJFvL+wA8PURKI6IZ+l7LHgaQbCA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=yandex.com (policy=none); 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.35 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=yandex.com (policy=none); 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: 460443463E X-Spam-Score: 3.35 X-Migadu-Scanner: scn1.migadu.com X-TUID: lkbnmgJrSGSz Recently, if I use C-c C-x ! to refresh org-mode after a git pull, I get an error. I then have to close down emacs and launch again. This rather defeats the object of C-c C-x !. This appears to have happened only recently The Backtrace is --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (error "Org version mismatch. Make sure that correct `loa...") (signal error ("Org version mismatch. Make sure that correct `loa...")) (error "Org version mismatch. Make sure that correct `loa...") (byte-code "\300\301!\210\302 \303\232\204\23\0\304\305!\210\306\307!\210\300\301!\210\300\310!\210\300\311!\210\300\312!\210\300\313!\210\300\314!\210\300\315!\210\300\316!..." [require org-macs org-git-version "release_9.5.5-821-g9bd8a9" warn "Org version mismatch. Make sure that correct `loa..." error "Org version mismatch. Make sure that correct `loa..." org-compat org-keys ob-eval ob-core ob-comint ob-exp ob-table ob-lob ob-ref ob-tangle provide ob] 2) (load "/home/redknight/git/org-mode/lisp/ob" noerror nil nil mustsuffix) (#f(compiled-function (f) #) "ob") (mapcar #f(compiled-function (f) #) ("ob" "ob-C" "ob-R" "ob-awk" "ob-calc" "ob-comint" "ob-core" "ob-ditaa" "ob-dot" "ob-emacs-lisp" "ob-eshell" "ob-eval" "ob-exp" "ob-fortran" "ob-gnuplot" "ob-latex" "ob-lisp" "ob-lob" "ob-org" "ob-perl" "ob-plantuml" "ob-python" "ob-ref" "ob-ruby" "ob-shell" "ob-sql" "ob-sqlite" "ob-table" "ob-tangle" "obarray" "oc" "oc-basic" "oclosure" "ol" "ol-bbdb" "ol-bibtex" "ol-docview" "ol-eshell" "ol-eww" "ol-gnus" "ol-info" "ol-irc" "ol-mhe" "ol-rmail" "ol-w3m" "org-agenda" "org-capture" "org-collector" "org-compat" "org-crypt" ...)) (org-reload nil) (funcall-interactively org-reload nil) (call-interactively org-reload) (popup-menu (keymap "Global Menu" ... ... ... ... ... ... ... "menu-bar" keymap "Org Mode Menu" ... keymap ...) f10) (x-menu-bar-open nil) (menu-bar-open nil 1) (funcall-interactively menu-bar-open nil 1) (call-interactively menu-bar-open nil nil) (command-execute menu-bar-open) --8<---------------cut here---------------end--------------->8--- I also receive a warning, copied below. I do not use 'packages' but use org-mode from a git repository and have done so with no previous issues. --8<---------------cut here---------------start------------->8--- ⛔ Warning (emacs): Org version mismatch. Make sure that correct `load-path' is set early in init.el This warning usually appears when a built-in Org version is loaded prior to the more recent Org version. Version mismatch is commonly encountered in the following situations: 1. Emacs is loaded using literate Org config and more recent Org version is loaded inside the file loaded by `org-babel-load-file'. `org-babel-load-file' triggers the built-in Org version clashing the newer Org version attempted to be loaded later. It is recommended to move the Org loading code before the `org-babel-load-file' call. 2. New Org version is loaded manually by setting `load-path', but some other package depending on Org is loaded before the `load-path' is configured. This "other package" is triggering built-in Org version, again causing the version mismatch. It is recommended to set `load-path' as early in the config as possible. 3. New Org version is loaded using straight.el package manager and other package depending on Org is loaded before straight triggers loading of the newer Org version. It is recommended to put (straight-use-package 'org) early in the config. Ideally, right after the straight.el bootstrap. Moving `use-package' :straight declaration may not be sufficient if the corresponding `use-package' statement is deferring the loading. --8<---------------cut here---------------end--------------->8--- Best wishes,