Git Product home page Git Product logo

Comments (4)

ingtshan avatar ingtshan commented on July 19, 2024 1

@n2ng-dev Seems you skip echo "(doom! :config literate)" > ~/.config/doom/init.el step or didn't trigger tangling literate config well. Solution is redo this step and execute ~/.emacs.d/bin/doom sync after. Then you will get your setup.sh file.

@s-a-c You should tangle literate config within doom envrionment, solution is same above.

Hope it can help you guys.

from emacs-config.

donneyluck avatar donneyluck commented on July 19, 2024

.config/doom/setup.sh not found

you can run command

emacs --batch --eval "(progn (require 'org) (setq org-confirm-babel-evaluate nil) (org-babel-tangle-file "~/.config/doom/config.org"))"

from emacs-config.

tecosaur avatar tecosaur commented on July 19, 2024

I'll also note that this config is not made to be installed by others. There's a disclaimer for a reason.

from emacs-config.

s-a-c avatar s-a-c commented on July 19, 2024

I understand and accept the disclaimer, so there's no obligation :)
However, FYI

  1. The quotes around the file name need escaping.
  2. even so, I receive an error about not finding "org-id-location"
    I include a link to a gist of the error output --> https://gist.github.com/s-a-c/e3060341f849f4683aa435ae5755f5b4

Below is an excerpt:

emacs --batch --eval "(progn (require 'org) (setq org-confirm-babel-evaluate nil) (org-babel-tangle-file \"~/.config/doom/config.org\"))"

Could not read โ€˜org-id-valuesโ€™ from ~/.emacs.d/.org-id-locations, setting it to nil executing Emacs-Lisp code block (org-pkg-statement)... (package! org :recipe (:host nil :repo "https://git.tecosaur.net/mirrors/org-mode.git" :remote "mirror" :fork (:host nil :repo "https://git.tecosaur.net/tec/org-mode.git" :branch "dev" :remote "tecosaur") :files (:defaults "etc") :build t :pre-build (with-temp-file "org-version.el" (require 'lisp-mnt) (let ((version (with-temp-buffer (insert-file-contents "lisp/org.el") (lm-header "version"))) (git-version (string-trim (with-temp-buffer (call-process "git" nil t nil "rev-parse" "--short" "HEAD") (buffer-string))))) (insert (format "(defun org-release () \"The release version of Org.\" %S)\n" version) (format "(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n" git-version) "(provide 'org-version)\n")))) :pin nil) ... ... executing Emacs-Lisp code block (confpkg-prepare)... Intitialising confpkg Debugger entered--Lisp error: (void-function org-fold-core-ignore-fragility-checks) (org-fold-core-ignore-fragility-checks (org-babel-map-executables nil (when (eq (org-element-type (org-element-context)) 'babel-call) (org-babel-lob-execute-maybe)))) ... org-babel-execute-src-block(nil nil ((:results . "silent"))) org-babel-ref-resolve("confpkg-prepare()") #f(compiled-function (m) #<bytecode 0xb61953ac8b72b29>)("<<confpkg-prepare()>>") replace-regexp-in-string("\\(.*?\\)\\(<<\\([^ \11\n]\\(?:.*?[^ \11\n]\\)?\\)>>\\)" #f(compiled-function (m) #<bytecode 0xb61953ac8b72b29>) "<<confpkg-prepare()>>" t t 2) org-babel-expand-noweb-references(("emacs-lisp" "<<confpkg-prepare()>>" ((:colname-names) (:rowname-names) (:result-params "silent") (:result-type . value) (:results . "silent") (:exports . "code") (:tangle . "/tmp/emacs-org-babel-excuses/confpkg-prepare-EQuk4...") (:export-embed . "no") (:mkdirp . "yes") (:noweb . "no-export") (:eval . "no-export") (:lexical . "no") (:hlines . "no") (:cache . "no") (:session . "none")) "" nil 20255 "(ref:%s)")) org-babel-tangle-single-block(2) org-babel-tangle-collect-blocks(nil nil) org-babel-tangle(nil nil nil) org-babel-tangle-file("~/.config/doom/config.org") (progn (require 'org) (setq org-confirm-babel-evaluate nil) (org-babel-tangle-file "~/.config/doom/config.org")) command-line-1(("--eval" "(progn (require 'org) (setq org-confirm-babel-eval...")) command-line() normal-top-level()

from emacs-config.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.