From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8JRbOOI3ymWmBQAAqHPOHw:P1 (envelope-from ) for ; Mon, 12 Feb 2024 16:23:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 8JRbOOI3ymWmBQAAqHPOHw (envelope-from ) for ; Mon, 12 Feb 2024 16:23:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ccss.com header.s=vps12022 header.b="JVl/IxPV"; dmarc=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707751394; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kSv2ONp/gBFUCM8URrIq82fbC07CVFaxPO1C7/y182M=; b=eWserP0olb6DVRojEXf0BHEg8k5vOWq6lOkeJGQgOTeVDAq/O3AJZJF7CjmzI9bQfkHAKl DFZILrOliY6DOmNNX50kVaP6y/ay2LL2OZfCwtrTdMEeiCFnXZJpKRA5kuQNaLafn4aTri udChaNugHGcMo8vtoKk/aERRSTWi3cihPL5eNDAHDIF78uZW1jcExi10S1Q50YdpBhL23i qX6rGeqMVSj/5auVpRkiD7Lj2MKRjR8HWhGdUbJQabuuWfuXXKZ2VcUBXNM8cmotGtOwx7 6y44kBbRg0VwIViO5YdKUoERGzYNbAB28ADDUBRt39/jmKlWwTcURoNFENr/cA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ccss.com header.s=vps12022 header.b="JVl/IxPV"; dmarc=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707751394; a=rsa-sha256; cv=none; b=gImywZVDq5O6GbUDTlnIVxlvza724S+S0sAs1aZFe9FF1PLkknDdGcvGx7RZpCDH2kUdV/ eQvDHc0TORIwkLpbgIUxa6ykjgny0hAy+O3fnIhKdCkUoCjuxv3RWoCt5+O4ZiQnENUD0j 9h32sbKQCVbhDeQonnhHR2Hp5l0NCN2EwAxr6jrZfNJuXUtVpbj4dTmOuPlVu8HNOZuymL 03aM/bzzh1BKLrjAW5xYamEppdKy8lyyv2oGJCeHKcWtL74fKyjTUT54rpMEpJcd6PoRCI r88jVAHvsJNOj263+pqt6NkC4367zlMqBt/Zf8z8IUaTwdaaTRvL8dbff8BxEA== 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 82CDA308F1 for ; Mon, 12 Feb 2024 16:23:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZY8C-00047T-6X; Mon, 12 Feb 2024 10:22:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rYgck-0006v6-7k for emacs-orgmode@gnu.org; Sat, 10 Feb 2024 01:14:02 -0500 Received: from vps1.ccss.com ([192.241.205.204]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rYgci-0002ip-7R for emacs-orgmode@gnu.org; Sat, 10 Feb 2024 01:14:02 -0500 Received: from localhost (localhost [127.0.0.1]) by vps1.ccss.com (Postfix) with ESMTP id 4796120DC5 for ; Fri, 9 Feb 2024 22:13:26 -0800 (PST) Received: from vps1.ccss.com ([127.0.0.1]) by localhost (vps1.ccss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M9lIvBc16yRj for ; Fri, 9 Feb 2024 22:13:24 -0800 (PST) Received: from klaatu (unknown [192.168.42.3]) by vps1.ccss.com (Postfix) with ESMTPSA id E638D2002A for ; Fri, 9 Feb 2024 22:13:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ccss.com; s=vps12022; t=1707545604; bh=zwiZ0SsANy/4ARE5n4Bk4BhPaNzs7/Pm6gDIHmk3+AI=; h=From:To:Subject:Date:From; b=JVl/IxPVHxa+Z8ikSp5TRv5uzIWg5Z1136h1P/YhY1x2ILFoBfODKpShD9jS5i6HZ Xj11avZswDUWNU4CRMOKnu7/Fbp3E/68aRgrrbHOukC+Ia3Bc6SQdamx34e/GEvdz1 QHRswrlLuvh1DC9LltaAW1ow0fmc5+y4bHL1I0MlsKqoa/lReEew5xlXt9dM6BfbTI wCEhTCImu0Ii2GyKg0oRaDroZ0q93xXtEX8znzWi5lwrfsYdmh10cmelJ/CXktQ1yv t3nO/riSHoGUO7Fg+jH+yPNN+Mb2XC5Tgd2WyfLnK7SqK2AWRjWK8dD8ntACqQZYxE csHIWlAEaYwpg== From: hugh@ccss.com To: emacs-orgmode@gnu.org Subject: [BUG] Recursive dependency when gnuplot added to org-babel-load-languages [9.1.13 (release_9.1.13-791-g842002 @ /home/hugh/git/org-mode/lisp/)] Date: Fri, 09 Feb 2024 22:13:23 -0800 Message-ID: <87v86wlud8.fsf@ccss.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=192.241.205.204; envelope-from=hugh@ccss.com; helo=vps1.ccss.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, 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-Mailman-Approved-At: Mon, 12 Feb 2024 10:22:00 -0500 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.38 X-Spam-Score: -6.38 X-Migadu-Queue-Id: 82CDA308F1 X-Migadu-Scanner: mx12.migadu.com X-TUID: XnSmxSthxNH+ Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ When 'org-babel-load-languages includes '(gnuplot . t), M-x org-mode RET, or equivalently editing a *.org file, generates a File mode specification error: ,---- | File mode specification error: (error Recursive load /home/hugh/git/org-mode/lisp/org.el /home/hugh/git/org-mode/lisp/org-element.el /home/hugh/git/org-mode/lisp/ox.el /home/hugh/git/org-mode/lisp/ox-ascii.el /home/hugh/git/org-mode/lisp/ob-gnuplot.el /home/hugh/git/org-mode/lisp/org.el /home/hugh/git/org-mode/lisp/org-element.el /home/hugh/git/org-mode/lisp/ox.el /home/hugh/git/org-mode/lisp/ox-ascii.el /home/hugh/git/org-mode/lisp/ob-gnuplot.el /home/hugh/git/org-mode/lisp/org.el /home/hugh/git/org-mode/lisp/org-element.el /home/hugh/git/org-mode/lisp/ox.el /home/hugh/git/org-mode/lisp/ox-ascii.el /home/hugh/git/org-mode/lisp/ob-gnuplot.el /home/hugh/git/org-mode/lisp/org.el /home/hugh/git/org-mode/lisp/org-element.el /home/hugh/git/org-mode/lisp/ox.el /home/hugh/git/org-mode/lisp/ox-ascii.el /home/hugh/git/org-mode/lisp/ob-gnuplot.el /home/hugh/git/org-mode/lisp/org.el) `---- rather than simply enabling org-mode. Reproducible with command: ,---- | emacs -Q --load /tmp/emacs/init.el /tmp/xxx.org `---- Where /tmp/emacs/init.el contains: ,---- | (add-to-list 'load-path "~/git/org-mode/lisp") | | (custom-set-variables | ;; custom-set-variables was added by Custom. | ;; If you edit it by hand, you could mess it up, so be careful. | ;; Your init file should contain only one such instance. | ;; If there is more than one, they won't work right. | '(org-babel-load-languages '((gnuplot . t)))) `---- Target file /tmp/xxx.org need not exist. Its use on the command line is simply to call 'org-mode. Workaround is simply to remove '((gnuplot . t)) from 'org-babel-load-languages Cheers, Hugh -- Emacs : GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.8, Xaw3d scroll bars) of 2023-08-18 Package: Org mode version 9.1.13 (release_9.1.13-791-g842002 @ /home/hugh/git/org-mode/lisp/) current state: ============== (setq org-link-elisp-confirm-function 'yes-or-no-p org-bibtex-headline-format-function 'org-bibtex-headline-format-default org-persist-after-read-hook '(org-element--cache-persist-after-read) org-export-before-parsing-hook '(org-attach-expand-links) org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-archive-hook '(org-attach-archive-delete-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines org-cycle-optimize-window-after-visibility-change org-cycle-display-inline-images) org-persist-before-read-hook '(org-element--cache-persist-before-read) org-yank-image-file-name-function 'org-yank-image-autogen-filename org-mode-hook '((closure (org--rds reftex-docstruct-symbol org-attach-method org--single-lines-list-is-paragraph org-element-greater-elements org-agenda-restrict-end org-agenda-restrict-begin org-agenda-restrict visual-fill-column-width org-clock-history org-agenda-current-date org-with-time org-defdecode org-def org-read-date-inactive org-ans2 org-ans1 org-columns-current-fmt-compiled org-clock-current-task org-clock-effort org-agenda-skip-function org-agenda-skip-comment-trees org-agenda-archives-mode org-end-time-was-given org-time-was-given org-log-note-extra org-log-note-purpose org-log-post-message org-last-inserted-timestamp org-last-changed-timestamp org-entry-property-inherited-from org-state org-agenda-headline-snapshot-before-repeat org-agenda-buffer-name org-agenda-start-on-weekday org-agenda-buffer-tmp-name org-priority-regexp org-mode-abbrev-table org-element-use-cache org-element-cache-persistent org-element-cache-version buffer-face-mode-face org-tbl-menu org-org-menu org-struct-menu org-entities org-last-state org-id-track-globally org-clock-start-time texmathp-why remember-data-file org-agenda-tags-todo-honor-ignore-options calc-embedded-open-mode calc-embedded-open-formula calc-embedded-close-formula align-mode-rules-list org-emphasis-alist org-emphasis-regexp-components org-export-registered-backends org-modules crm-separator org-id-overriding-file-name org-indent-indentation-per-level org-element--timestamp-regexp org-element-cache-map-continue-from org-element-paragraph-separate org-agenda-buffer-name org-inlinetask-min-level t) nil (add-hook 'change-major-mode-hook 'org-fold-show-all 'append 'local)) (closure (*this* org-babel-confirm-evaluate-answer-no t) nil (add-hook 'change-major-mode-hook #'org-babel-show-result-all 'append 'local)) (closure (org-src-window-setup *this* org-babel-confirm-evaluate-answer-no org-babel-tangle-uncomment-comments org-src-lang-modes org-edit-src-content-indentation org-babel-library-of-babel t) nil (add-hook 'change-major-mode-hook #'org-babel-show-result-all 'append 'local)) org-babel-result-hide-spec org-babel-hide-all-hashes) org-babel-load-languages nil org-confirm-shell-link-function 'yes-or-no-p outline-isearch-open-invisible-function 'outline-isearch-open-invisible org-agenda-before-write-hook '(org-agenda-add-entry-text) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-elisp-link-function 'yes-or-no-p org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-persist-directory "/tmp/org-persist-QeXnaR" org-fold-core-isearch-open-function 'org-fold-core--isearch-reveal org-persist-before-write-hook '(org-element--cache-persist-before-write) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-link-shell-confirm-function 'yes-or-no-p org-babel-pre-tangle-hook '(save-buffer) org-agenda-loop-over-headlines-in-active-region nil org-occur-hook '(org-first-headline-recenter) org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow org-eww-open :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link :insert-description org-info-description-as-command) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("doi" :follow org-link-doi-open :export org-link-doi-export) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow (closure ((scheme . "news")) (url arg) (browse-url (concat scheme ":" url) arg))) ("mailto" :follow (closure ((scheme . "mailto")) (url arg) (browse-url (concat scheme ":" url) arg))) ("https" :follow (closure ((scheme . "https")) (url arg) (browse-url (concat scheme ":" url) arg))) ("http" :follow (closure ((scheme . "http")) (url arg) (browse-url (concat scheme ":" url) arg))) ("ftp" :follow (closure ((scheme . "ftp")) (url arg) (browse-url (concat scheme ":" url) arg))) ("help" :follow org-link--open-help :store org-link--store-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp)) org-metaup-hook '(org-babel-load-in-session-maybe) )