From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4B/zDHK6lmX/WgAAkFu2QA (envelope-from ) for ; Thu, 04 Jan 2024 15:02:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id aPgXBXK6lmXdBgEAe85BDQ (envelope-from ) for ; Thu, 04 Jan 2024 15:02:26 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Odv4Yh3c; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704376945; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=lgAe9x61QxKhbVB1WimSiEP1SBq9hGIsat3s6/5/IuI=; b=VHxPmrLDTRs5cCbZ+1o2GP75it/EGo6n1T5UPml0uPWZsLwLLnmrprnCiI9fMCMDX+bsF2 QMkjhMutX8fgqWT8iG8yX/6SWtRMLXND0rb5+W7VgYjsfEV+0H8Ux4hiw00L8Wp2TV81Dy Rb7Zs9M94xTH8aANwszK6mWQVSglT6CCak0TJizA3d9vJuc0kUgKn+raw7SV9uCdmLJaI6 TyTErrEDn/73Hnlt22nEV5vrTa+W8QbRkcXay5BR+lWmx/Wn+JgljxheqDE9ldm/TuNaZu 1EExFGMFcl174scrzRizmj11ZIcMCNrBa/jeabmwXm+OVRZlQ0ARcGnd4o87/w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704376945; a=rsa-sha256; cv=none; b=IMts8gq5em46EAdlHT/hVEOkfrsZZwrHb8ZTH9ylaJsDhUClkV/Kqf6i7S/sX2sWZ47p0h ywN68Aibu3m9ZK4ERMLQRaH0qXKtg3+JMJXW+hGZM2dUxGHDdZyLfJ3j9DfQgEwoe8DZ4M eZo1bzkpec6qDn0y0oXGqG4Fva7n5ejhipLDBU4vRYuQmywlfHHoSPSVyBDfOG6d0qzf/I XT1pTtdYJt1gFPf3Sj+0wKOQ2ds0s27aAaqbtXhEn5HC83tlWRTzST+cI8aavCNQckp5GL bZh+VyUbPHIsKOehtFK/JXQ3gObtBWcs3A11ZdUtRCSdlMfKhkHZg06yeEGjJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Odv4Yh3c; 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"; dmarc=pass (policy=none) header.from=gmail.com 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 8EAD84310C for ; Thu, 4 Jan 2024 15:02:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLOHy-0007us-6V; Thu, 04 Jan 2024 09:01:38 -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 1rJKpG-0007LD-5F for emacs-orgmode@gnu.org; Fri, 29 Dec 2023 16:55:30 -0500 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rJKp8-0001QJ-G2 for emacs-orgmode@gnu.org; Fri, 29 Dec 2023 16:55:29 -0500 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-6d9b050e88cso1437860b3a.0 for ; Fri, 29 Dec 2023 13:55:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703886919; x=1704491719; darn=gnu.org; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=lgAe9x61QxKhbVB1WimSiEP1SBq9hGIsat3s6/5/IuI=; b=Odv4Yh3cYPChz8FqFwKnQfiXkUUKrNH9e1IDD6x17s8ClF8zWde2UUeZz2RVgGpANn Mc/tlmcJh2+7Ylvdj266iyxy0Ay5M4v7kBTf8Qbp3f7jPU5OomGeNuQe/aT0nr+cIuBP 1rY4OVw+BmL6Nh14oa2nkrs+e9d2+hIdlb1/5ow8N+izW063L2hgJcIT0Qtce1UbTgIr ukyCYUUsBWB9otNB5EK720crw/6tVrGQeeGmn3KYw0cLYo0S8AsZjKxU+yNSFr3BYyiL cy6eIU71jlmRSR1OHX25Ur/ljqhjf5UrXBAjljRkp3SboFqf788nRxGqP3DBn9z2fdMX oVCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703886919; x=1704491719; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lgAe9x61QxKhbVB1WimSiEP1SBq9hGIsat3s6/5/IuI=; b=h0/VBma5Z7Ia46vyOP8r4s23V+kEDvr6KGBUfPmiQ/3J9WTXu3koX52+4iGdr/sjeX l5Z3PtUoDiyyWoXIxYsNu0wMEV6JQJXy48PNmfd6FnDKGXwaoTaegBrgJg03L14TtFbD BHguv/na4BtIgAibYrCUk6A27KBHrwxNJmHSvQqhDwFDFECl5OkTQj5yvfQICGy4WL8d /yYE4SEdbUaaUSa+IiRbx4pXiZMqri++urYforYV64Axk3ZLy0ku186aqC0yztI2ZyEv crQFbVl3pCj5w942jajllPmT9zrcv+Xm4oFAZuLB2mAS0/zOtwWma+/jdoYuHwdFUQVg bdyg== X-Gm-Message-State: AOJu0Yyb56enZO9iP57044kMlf5jBhSKwZ5UvrVjzUcFbdfCWhaSLKAY GbFPhkHw0qLpgRm5DW7w+Unfgpsik9M/HQ== X-Google-Smtp-Source: AGHT+IGt7BCZC2drRknUFhzdzN0kjJg2EowTBM7a8Ggl52g51H+4wViyBu4qsGp00kZs2FA7ryPMoA== X-Received: by 2002:a05:6a20:3944:b0:196:ad96:d3fe with SMTP id r4-20020a056a20394400b00196ad96d3femr15554pzg.3.1703886918403; Fri, 29 Dec 2023 13:55:18 -0800 (PST) Received: from smtpclient.apple (2603-8001-a601-2e99-881e-10e1-dbbe-e132.res6.spectrum.com. [2603:8001:a601:2e99:881e:10e1:dbbe:e132]) by smtp.gmail.com with ESMTPSA id d14-20020a170902aa8e00b001bf52834696sm15998877plr.207.2023.12.29.13.55.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Dec 2023 13:55:17 -0800 (PST) From: Russell Helmstedter X-Google-Original-From: Russell Helmstedter Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: [BUG] Warning when trying to format code in org mode. [9.7 (9.7-??-57b94f344 @ /Users/russell/.emacs.d/.local/straight/build-29.1/org/)] Message-Id: Date: Fri, 29 Dec 2023 13:55:06 -0800 To: emacs-orgmode@gnu.org X-Mailer: Apple Mail (2.3774.300.61.1.2) Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=rhelmstedter@gmail.com; helo=mail-pf1-x435.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=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=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 04 Jan 2024 09:00:54 -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: -8.10 X-Spam-Score: -8.10 X-Migadu-Queue-Id: 8EAD84310C X-Migadu-Scanner: mx11.migadu.com X-TUID: oFG5EOorfjGB I received the following warning: #+begin_example =E2=9B=94 Warning (org-element): org-element--cache: Org parser error in = silent-board-game.org::1697. Resetting. The error was: (error "Invalid search bound (wrong side of point)") Backtrace: nil Please report this to Org mode mailing list (M-x org-submit-bug-report). #+end_example I was attempting to format a python source code block in org mode. The formatting worked, but this warning pops up each time. I am using doom emacs and evil mode. I pressed to enter visual line mode, and then pressed c f to format the region. I choose the ruff formatter from the list of formatters provided. ------------------------------------------------------------------------ Emacs : GNU Emacs 29.1 (build 1, aarch64-apple-darwin22.6.0, Carbon = Version 169 AppKit 2299.7) of 2023-08-30 Package: Org mode version 9.7 (9.7-??-57b94f344 @ = /Users/russell/.emacs.d/.local/straight/build-29.1/org/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-link-elisp-confirm-function nil org-directory "~/Dropbox/org" org-after-refile-insert-hook '(save-buffer) org-indirect-buffer-display 'current-window org-roam-db-gc-threshold 2305843009213693951 org-hide-emphasis-markers t org-bibtex-headline-format-function 'org-bibtex-headline-format-default org-log-done 'time org-roam-mode-hook '(+org-roam-detach-magit-section-mode-map-h = turn-on-visual-line-mode) org-agenda-custom-commands '(("n" "A better agenda view" ((tags "PRIORITY=3D\"A\"" ((org-agenda-overriding-header = "High-priority tasks:"))) (tags "PRIORITY=3D\"B\"" ((org-agenda-skip-function '(org-agenda-skip-entry-if 'nottodo = '("TODO"))) (org-agenda-overriding-header = "Medium-priority tasks:")) ) (tags "PRIORITY=3D\"C\"" ((org-agenda-overriding-header = "Low-priority tasks:"))) (tags "IDEA" = ((org-agenda-overriding-header "IDEA Academy tasks:"))) (agenda "") (alltodo "")) ) ) org-load-hook '(+org-init-org-directory-h +org-init-appearance-h = +org-init-agenda-h +org-init-attachments-h +org-init-babel-h = +org-init-babel-lazy-loader-h +org-init-capture-defaults-h +org-init-capture-frame-h = +org-init-custom-links-h +org-init-export-h +org-init-habit-h +org-init-hacks-h = +org-init-keybinds-h +org-init-popup-rules-h +org-init-smartparens-h = +org-init-roam-h) org-startup-folded nil org-babel-after-execute-hook = '(+org-redisplay-inline-images-in-babel-result-h) org-link-abbrev-alist '(("doomdir" . "/Users/russell/.doom.d/%s") ("emacsdir" . "/Users/russell/.emacs.d/%s") ("doom-repo" . = "https://github.com/doomemacs/doomemacs/%s") ("wolfram" . = "https://wolframalpha.com/input/?i=3D%s") ("wikipedia" . = "https://en.wikipedia.org/wiki/%s") ("duckduckgo" . "https://duckduckgo.com/?q=3D%s")= ("gmap" . "https://maps.google.com/maps?q=3D%s") ("gimages" . "https://google.com/images?q=3D%s") ("google" . "https://google.com/search?q=3D") ("youtube" . "https://youtube.com/watch?v=3D%s") ("github" . "https://github.com/%s")) org-agenda-skip-scheduled-if-done t org-agenda-files '("~/Dropbox/org/") org-capture-templates '(("t" "Personal todo" entry (file+headline = +org-capture-todo-file "Inbox") "* [ ] %?\n%i\n%a" :prepend t) ("n" "Personal notes" entry (file+headline = +org-capture-notes-file "Inbox") "* %u %?\n%i\n%a" :prepend t) ("j" "Journal" entry (file+olp+datetree = +org-capture-journal-file) "* %U %?\n%i\n%a" :prepend t) ("p" "Templates for projects") ("pt" "Project-local todo" entry (file+headline +org-capture-project-todo-file = "Inbox") "* TODO %?\n%i\n%a" :prepend t) ("pn" "Project-local notes" entry (file+headline +org-capture-project-notes-file = "Inbox") "* %U %?\n%i\n%a" :prepend t) ("pc" "Project-local changelog" entry (file+headline = +org-capture-project-changelog-file "Unreleased") "* %U %?\n%i\n%a" :prepend t) ("o" "Centralized templates for projects") ("ot" "Project todo" entry = #'+org-capture-central-project-todo-file "* TODO %?\n %i\n %a" :heading "Tasks" = :prepend nil) ("on" "Project notes" entry = #'+org-capture-central-project-notes-file "* %U %?\n %i\n %a" :heading "Notes" :prepend = t) ("oc" "Project changelog" entry = #'+org-capture-central-project-changelog-file "* %U %?\n %i\n %a" :heading "Changelog" = :prepend t) ) org-roam-node-display-template #("${doom-hierarchy:*} ${doom-type:12} = ${doom-tags:42}" 20 35 (face font-lock-keyword-face) 36 51 (face = (:inherit org-tag :box nil))) org-persist-after-read-hook '(org-element--cache-persist-after-read) org-refile-targets '((nil :maxlevel . 3) (org-agenda-files :maxlevel . = 3)) org-export-before-parsing-hook '(org-attach-expand-links) org-cycle-tab-first-hook '(+org-yas-expand-maybe-h +org-indent-maybe-h org-babel-hide-result-toggle-maybe = org-babel-header-arg-expand +org-clear-babel-results-h = +org-cycle-only-current-subtree-h) org-default-notes-file "/Users/russell/org/notes.org" org-roam-find-file-hook = '(doom--setq-org-id-link-to-org-use-id-for-org-roam-find-file-h org-roam-buffer--setup-redisplay-h org-roam--register-completion-functions-h org-roam--replace-roam-links-on-save-h org-roam-db-autosync--setup-update-on-save-h +org-roam-enable-auto-backlinks-buffer-h) org-refile-use-outline-path 'file org-archive-hook '(org-attach-archive-delete-maybe) org-file-apps '((remote . emacs) (auto-mode . emacs) (directory . emacs) = ("\\.mm\\'" . default) ("\\.x?html?\\'" . default) ("\\.pdf\\'" . default)) 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-font-lock-set-keywords-hook '(doom-themes-enable-org-fontification) org-cycle-emulate-tab '(white) org-modules '(ol-bibtex) org-image-actual-width nil org-attach-use-inheritance t org-mode-local-vars-hook '(+org-init-gifs-h) org-mode-hook '(er/add-org-mode-expansions = +lookup--init-org-mode-handlers-h (closure (t) (&rest _) (add-hook 'before-save-hook = 'org-encrypt-entries nil t)) #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-fold-show-all = append local] 5] #[0 "\301\211=10\207" [imenu-create-index-function = org-imenu-get-tree] 2] doom-disable-show-paren-mode-h = doom-disable-show-trailing-whitespace-h +org-make-last-point-visible-h org-appear-mode = org-fancy-priorities-mode org-superstar-mode evil-org-mode toc-org-enable #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook = org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes = writegood-mode flyspell-mode embrace-org-mode-hook) org-babel-load-languages '((python . t) (emacs-lisp . t)) org-agenda-skip-deadline-if-done t org-src-window-setup 'other-window org-id-locations-file "/Users/russell/org/.orgids" org-roam-ref-annotation-function 'org-roam-ref-read--annotation org-roam-directory = "/Users/russell/Library/CloudStorage/Dropbox/org/roam/" org-superstar-todo-bullet-alist '(("TODO" . 9744) ("[ ]" . 9744) ("DONE" = . 9745) ("[X]" . 9745)) org-agenda-span 10 org-priority-faces '((65 :foreground "#ff6c6b" :weight bold) (66 = :foreground "#98be65" :weight bold) (67 :foreground "#c678dd" :weight bold)) org-ellipsis " =E2=96=BE " org-roam-db-node-include-function #[0 "\300\207" [t] 1] org-roam-node-template-prefixes '(("doom-type" . "@") ("doom-tags" . = "#") ("tags" . "#") ("todo" . "t:")) org-confirm-shell-link-function 'yes-or-no-p org-agenda-skip-unavailable-files t outline-isearch-open-invisible-function 'outline-isearch-open-invisible org-use-sub-superscripts '{} org-startup-indented t org-export-before-processing-hook '(my-org-export-ensure-custom-times) org-highlight-latex-and-related '(native script entities) org-agenda-mode-hook '(+org-habit-resize-graph-h = org-fancy-priorities-mode evil-org-agenda-mode) org-roam-capture-preface-hook '(org-roam-capture--try-capture-to-ref-h) org-babel-python-command "python3" org-link-translation-function 'toc-org-unhrefify org-agenda-before-write-hook '(org-agenda-add-entry-text) org-capture-prepare-finalize-hook = '(org-roam-capture--install-finalize-h) org-src-preserve-indentation t org-roam-preview-function 'org-roam-preview-default-function org-entities-user '(("flat" "\\flat" nil "" "" "266D" "=E2=99=AD") = ("sharp" "\\sharp" nil "" "" "266F" "=E2=99=AF")) org-babel-tangle-lang-exts '(("python" . "py") ("emacs-lisp" . "el") = ("elisp" . "el")) org-src-mode-hook '(org-src-babel-configure-edit-buffer = org-src-mode-configure-edit-buffer) org-roam-db-autosync-mode t org-agenda-window-setup 'current-window org-superstar-headline-bullets-list '("=E2=81=96" "=E2=97=88" "=E2=97=87" = "=E2=97=89" "=E2=97=8B") org-tags-exclude-from-inheritance '("crypt") org-clock-out-remove-zero-time-clocks t org-log-buffer-setup-hook '(org-roam-log--setup) org-hide-leading-stars t org-todo-keywords '((sequence "TODO(t)" "WAIT(w)" "STRT(s)" "|" = "DONE(d)" "CANCELLED(c)")) org-agenda-inhibit-startup t org-roam-capture-new-node-hook = '(org-roam-capture--insert-captured-ref-h) org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-preview-latex-image-directory = "/Users/russell/.emacs.d/.local/cache/org/latex/" org-fontify-whole-heading-line t org-speed-command-hook '(org-speed-command-activate = org-babel-speed-command-activate) org-clock-persist-file = "/Users/russell/.emacs.d/.local/etc/org-clock-save.el" org-persist-directory = "/Users/russell/.emacs.d/.local/cache/org/persist/" org-export-backends '(md ascii html icalendar latex odt) org-roam-list-files-commands '(fd fdfind rg find) org-enforce-todo-dependencies t org-confirm-babel-evaluate nil org-fold-core-isearch-open-function 'org-fold--isearch-reveal org-clock-in-resume t org-insert-heading-respect-content t org-M-RET-may-split-line nil org-clock-persist 'history org-persist-before-write-hook '(org-element--cache-persist-before-write) org-tab-first-hook '(+org-yas-expand-maybe-h +org-indent-maybe-h = org-babel-hide-result-toggle-maybe org-babel-header-arg-expand = +org-clear-babel-results-h +org-cycle-only-current-subtree-h) org-link-shell-confirm-function 'yes-or-no-p org-agenda-finalize-hook '(org-fancy-priorities-create-overlays +org-exclude-agenda-buffers-from-workspace-h +org-defer-mode-in-agenda-buffers-h) org-babel-pre-tangle-hook '(save-buffer) org-roam-completion-everywhere t org-agenda-loop-over-headlines-in-active-region nil org-fontify-quote-and-verse-blocks t org-agenda-start-on-weekday nil org-attach-id-dir "/Users/russell/org/.attach/" org-todo-keyword-faces '(("TODO" . org-warning)) org-capture-mode-hook '(+org-show-target-in-capture-header-h = evil-insert-state) org-agenda-deadline-faces '((1.001 . error) (1.0 . org-warning) (0.5 . = org-upcoming-deadline) (0.0 . org-upcoming-distant-deadline)) org-occur-hook '(org-first-headline-recenter) org-capture-after-finalize-hook '(+org-capture-cleanup-frame-h) org-roam-log-setup-hook '(org-roam--register-completion-functions-h) org-metadown-hook '(org-babel-pop-to-session-maybe) org-roam-node-annotation-function 'org-roam-node-read--annotation org-link-parameters '(("orgit-rev" :store orgit-rev-store :follow = orgit-rev-open :export orgit-rev-export :complete = orgit-rev-complete-link) ("orgit-log" :store orgit-log-store :follow = orgit-log-open :export orgit-log-export :complete = orgit-log-complete-link) ("orgit" :store orgit-status-store :follow = orgit-status-open :export orgit-status-export :complete = orgit-status-complete-link) ("bibtex" :follow org-bibtex-open :store = org-bibtex-store-link) ("download" :complete (closure ((dir-fn closure (t) nil (or = org-download-image-dir org-attach-id-dir ".")) (requires . org-download) (key . "download")) nil (if requires (mapc #'require (ensure-list = requires))) (+org--relative-path (+org--read-link-path key = (funcall dir-fn)) (funcall dir-fn)) ) :follow (closure ((dir-fn closure (t) nil (or = org-download-image-dir org-attach-id-dir "."))) (link) (org-link-open-as-file (expand-file-name = link (funcall dir-fn)) nil)) :face (closure ((dir-fn closure (t) nil (or = org-download-image-dir org-attach-id-dir "."))) (link) (let* ((path (expand-file-name link (funcall = dir-fn))) (option-index (string-match-p "::\\(.*\\)\\'" = path)) (file-name (substring path 0 option-index))) (if (file-exists-p file-name) 'org-link = 'error)) ) :image-data-fun +org-image-file-data-fn = :requires nil) ("pdf" :follow (closure ((args) (fn . org-pdftools-open)) = (&rest args) (and (condition-case nil (progn (require = 'org-pdftools nil t)) (error nil)) (file-executable-p pdf-info-epdfinfo-program) = (apply fn args)) ) :complete (closure ((args) (fn . = org-pdftools-complete-link)) (&rest args) (and (condition-case nil (progn (require = 'org-pdftools nil t)) (error nil)) (file-executable-p pdf-info-epdfinfo-program) = (apply fn args)) ) :store (closure ((args) (fn . org-pdftools-store-link)) = (&rest args) (and (condition-case nil (progn (require = 'org-pdftools nil t)) (error nil)) (file-executable-p pdf-info-epdfinfo-program) = (apply fn args)) ) :export (closure ((args) (fn . org-pdftools-export)) = (&rest args) (and (condition-case nil (progn (require = 'org-pdftools nil t)) (error nil)) (file-executable-p pdf-info-epdfinfo-program) = (apply fn args)) ) ) ("roam" :follow org-roam-link-follow-link) ("yt" :follow org-yt-follow :image-data-fun = org-yt-image-data-fun :export org-yt-export) ("id" :follow org-roam-id-open) ("img" :image-data-fun +org-inline-image-data-fn) ("doom-changelog" :follow (closure (t) (link) (find-file (doom-path = doom-docs-dir "changelog.org")) (org-match-sparse-tree nil link)) ) ("doom-user" :follow (closure (t) (link) (browse-url (format "https://github.com/%s" (string-remove-prefix "@" = (+org-link-read-desc-at-point link))) ) ) :face (closure (t) (_) 'org-priority)) ("doom-ref" :follow (closure (t) (link) (let ((link (+org-link-read-desc-at-point link)) = (url "https://github.com") (doom-repo "doomemacs/doomemacs")) (let ((saved-match-data (match-data))) (unwind-protect (progn (browse-url (cond ((string-match = "^\\([^/]+\\(?:/[^/]+\\)?\\)?#\\([0-9]+\\(?:#.*\\)?\\)" link) (format "%s/%s/issues/%s" url (or = (match-string 1 link) doom-repo) (match-string 2 link)) ) ((string-match = "^\\([^/]+\\(?:/[^/]+\\)?@\\)?\\([a-z0-9]\\{7,\\}\\(?:#.*\\)?\\)" link) (format "%s/%s/commit/%s" url (or = (match-string 1 link) doom-repo) (match-string 2 link)) ) ((user-error "Invalid doom-ref link: %S" = link))) ) ) (set-match-data saved-match-data t)) ) ) ) :face (closure (t) (link) (let ((link (+org-link-read-desc-at-point = link))) (if (or (string-match = "^\\([^/]+\\(?:/[^/]+\\)?\\)?#\\([0-9]+\\(?:#.*\\)?\\)" link) (string-match = "^\\([^/]+\\(?:/[^/]+\\)?@\\)?\\([a-z0-9]\\{7,\\}\\(?:#.*\\)?\\)" link) ) 'org-link 'error) ) ) ) ("doom-executable" :activate-func = +org-link--doom-executable-link-activate-fn :help-echo = +org-link-doom--help-echo-from-textprop :face org-verbatim) ("doom-module" :follow = +org-link--doom-module-link-follow-fn :activate-func +org-link--doom-module-link-activate-fn = :help-echo +org-link-doom--help-echo-from-textprop) ("doom-package" :follow = +org-link--doom-package-link-follow-fn :activate-func +org-link--doom-package-link-activate-fn = :help-echo +org-link-doom--help-echo-from-textprop) ("cmd" :follow (closure ((fn . describe-command)) (path = _prefixarg) (funcall fn (or (intern-soft path) (user-error "Can't find = documentation for %S" path))) ) :activate-func = +org-link--command-link-activate-fn :face help-key-binding :help-echo = +org-link-doom--help-echo-from-textprop) ("face" :follow (closure ((fn . describe-face)) (path = _prefixarg) (funcall fn (or (intern-soft path) (user-error "Can't find = documentation for %S" path))) ) :activate-func +org-link--face-link-activate-fn = :face (font-lock-type-face underline)) ("fn" :follow (closure ((fn . helpful-callable)) (path = _prefixarg) (funcall fn (or (intern-soft path) (user-error "Can't find = documentation for %S" path))) ) :activate-func +org-link--fn-link-activate-fn = :face (font-lock-function-name-face underline)) ("var" :follow (closure ((fn . helpful-variable)) (path = _prefixarg) (funcall fn (or (intern-soft path) (user-error "Can't find = documentation for %S" path))) ) :activate-func +org-link--var-link-activate-fn = :face (font-lock-variable-name-face underline)) ("kbd" :follow (closure (t) (ev) (interactive "e") (minibuffer-message "%s" (+org-link-doom--help-echo-from-textprop nil = (current-buffer) (posn-point (event-start ev))) ) ) :help-echo = +org-link-doom--help-echo-from-textprop :face help-key-binding) ("doom-modules" :complete (closure ((dir-fn closure ((dir-var . doom-modules-dir)) = nil (symbol-value dir-var)) (requires) (key . "doom-modules")) nil (if requires (mapc #'require (ensure-list = requires))) (+org--relative-path (+org--read-link-path key = (funcall dir-fn)) (funcall dir-fn)) ) :follow (closure ((dir-fn closure ((dir-var . doom-modules-dir)) = nil (symbol-value dir-var))) (link) (org-link-open-as-file (expand-file-name = link (funcall dir-fn)) nil)) :face (closure ((dir-fn closure ((dir-var . doom-modules-dir)) = nil (symbol-value dir-var))) (link) (let* ((path (expand-file-name link (funcall = dir-fn))) (option-index (string-match-p "::\\(.*\\)\\'" = path)) (file-name (substring path 0 option-index))) (if (file-exists-p file-name) 'org-link = 'error)) ) :requires nil) ("doom-docs" :complete (closure ((dir-fn closure ((dir-var . doom-docs-dir)) = nil (symbol-value dir-var)) (requires) (key . "doom-docs")) nil (if requires (mapc #'require (ensure-list = requires))) (+org--relative-path (+org--read-link-path key = (funcall dir-fn)) (funcall dir-fn)) ) :follow (closure ((dir-fn closure ((dir-var . doom-docs-dir)) = nil (symbol-value dir-var))) (link) (org-link-open-as-file (expand-file-name = link (funcall dir-fn)) nil)) :face (closure ((dir-fn closure ((dir-var . doom-docs-dir)) = nil (symbol-value dir-var))) (link) (let* ((path (expand-file-name link (funcall = dir-fn))) (option-index (string-match-p "::\\(.*\\)\\'" = path)) (file-name (substring path 0 option-index))) (if (file-exists-p file-name) 'org-link = 'error)) ) :requires nil) ("doom" :complete (closure ((dir-fn closure ((dir-var . doom-emacs-dir)) = nil (symbol-value dir-var)) (requires) (key . "doom")) nil (if requires (mapc #'require (ensure-list = requires))) (+org--relative-path (+org--read-link-path key = (funcall dir-fn)) (funcall dir-fn)) ) :follow (closure ((dir-fn closure ((dir-var . doom-emacs-dir)) = nil (symbol-value dir-var))) (link) (org-link-open-as-file (expand-file-name = link (funcall dir-fn)) nil)) :face (closure ((dir-fn closure ((dir-var . doom-emacs-dir)) = nil (symbol-value dir-var))) (link) (let* ((path (expand-file-name link (funcall = dir-fn))) (option-index (string-match-p "::\\(.*\\)\\'" = path)) (file-name (substring path 0 option-index))) (if (file-exists-p file-name) 'org-link = 'error)) ) :requires nil) ("org" :complete (closure ((dir-fn closure ((dir-var . org-directory)) = nil (symbol-value dir-var)) (requires) (key . "org")) nil (if requires (mapc #'require (ensure-list = requires))) (+org--relative-path (+org--read-link-path key = (funcall dir-fn)) (funcall dir-fn)) ) :follow (closure ((dir-fn closure ((dir-var . org-directory)) = nil (symbol-value dir-var))) (link) (org-link-open-as-file (expand-file-name = link (funcall dir-fn)) nil)) :face (closure ((dir-fn closure ((dir-var . org-directory)) = nil (symbol-value dir-var))) (link) (let* ((path (expand-file-name link (funcall = dir-fn))) (option-index (string-match-p "::\\(.*\\)\\'" = path)) (file-name (substring path 0 option-index))) (if (file-exists-p file-name) 'org-link = 'error)) ) :requires nil) ("attachment" :image-data-fun = +org-inline-image-data-fn :follow org-attach-follow :complete = org-attach-complete-link) ("file+sys") ("file+emacs") ("shell" :follow = org-link--open-shell) ("news" :follow #[514 "\301\300\302=04Q=02\"\207" ["news" = browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("mailto" :follow #[514 "\301\300\302=04Q=02\"\207" ["mailto" = browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("https" :follow #[514 "\301\300\302=04Q=02\"\207" ["https" = browse-url ":"] 6 "\n\n(fn URL ARG)"] :image-data-fun +org-http-image-data-fn) ("http" :follow #[514 "\301\300\302=04Q=02\"\207" ["http" = browse-url ":"] 6 "\n\n(fn URL ARG)"] :image-data-fun +org-http-image-data-fn) ("ftp" :follow #[514 "\301\300\302=04Q=02\"\207" ["ftp" = browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("help" :follow org-link--open-help :store = org-link--store-help) ("file" :complete org-link-complete-file :face (closure (t) (path) (if (or (file-remote-p path) (if IS-WINDOWS = (string-prefix-p "\\\\" path)) (file-exists-p path)) 'org-link '(warning org-link)) ) ) ("elisp" :follow org-link--open-elisp)) org-metaup-hook '(org-babel-load-in-session-maybe) org-fancy-priorities-list '("=E2=9A=91" "=E2=AC=86" "=E2=96=A0") org-superstar-leading-bullet 32 org-imenu-depth 6 org-display-remote-inline-images 'download org-timestamp-custom-formats '("<%m/%d/%Y>" . "<%m/%d/%Y %a %H:%M>") org-outline-path-complete-in-steps nil org-special-ctrl-a/e t org-tags-column 0 org-src-lang-modes '(("jupyter-R" . R) ("jupyter-julia" . julia) = ("jupyter-python" . python) ("md" . markdown) ("C" . c) ("C++" . c++) = ("asymptote" . asy) ("beamer" . latex) ("calc" . fundamental) ("cpp" . c++) ("ditaa" . = artist) ("desktop" . conf-desktop) ("dot" . fundamental) = ("elisp" . emacs-lisp) ("ocaml" . tuareg) ("screen" . shell-script) = ("sqlite" . sql) ("toml" . conf-toml) ("shell" . sh) ("ash" . sh) = ("sh" . sh) ("bash" . sh) ("jsh" . sh) ("bash2" . sh) ("dash" . sh) ("dtksh" = . sh) ("ksh" . sh) ("es" . sh) ("rc" . sh) ("itcsh" . sh) ("tcsh" . = sh) ("jcsh" . sh) ("csh" . sh) ("ksh88" . sh) ("oash" . sh) ("pdksh" . sh) = ("mksh" . sh) ("posix" . sh) ("wksh" . sh) ("wsh" . sh) ("zsh" . sh) ("rpm" . = sh)) org-clock-history-length 20 org-attach-store-link-p 'attached org-agenda-block-separator 8411 org-roam-indirect-buffer-hook = '(org-roam--register-completion-functions-h) org-id-locations-file-relative t org-archive-subtree-save-file-p t org-list-allow-alphabetical t )