Skip to content

[Bug]: doom sync eror #127

@kvaneesh

Description

@kvaneesh

Bug summary

Backtrace:
        (file-name-as-directory nil)
        (Info--default-directory-list)
        (Info-default-dirs)
        (info-initialize)
        (progn 'info (info-initialize) (add-to-list 'Info-directory-list (straight--build-dir package)))
        (if (file-exists-p (straight--build-file package "dir")) (progn 'info (info-initialize) (add-to-list 'Info-directory-list (straight--build-dir package))))
        (let ((package (plist-get recipe :package))) (if (file-exists-p (straight--build-file package "dir")) (progn 'info (info-initialize) (add-to-list 'Info-directory-list (straight--build-dir package)))))
        (straight--add-package-to-info-path (:type git :host github :repo "emacs-straight/use-package" :files ("*" (:exclude ".git")) :package "use-package" :local-repo "use-package"))
        (if no-build nil (let ((tail (straight--get-dependencies package))) (while tail (let ((dependency (car tail))) (straight-use-package (intern dependency) nil nil (concat cause (if cause (progn straight-arrow)) (format "Registering %s" pa...
        (let* ((no-build (or (null local-repo) (straight--build-disabled-p recipe) (if (let ((object no-build)) (and (not (memq object '(no-build t))) (functionp object))) (funcall no-build package) no-build))) (skip-check (and already-register...
        (let ((already-registered (gethash package straight--success-cache)) (available (or (null local-repo) (straight--repository-is-available-p recipe)))) (if (if (let ((object no-clone)) (and (not (memq object '(no-clone t))) (functionp obj...
        (#[nil ((let ((already-registered (gethash package straight--success-cache)) (available (or (null local-repo) (straight--repository-is-available-p recipe)))) (if (if (let ((object no-clone)) (and (not (memq object '(no-clone t))) (funct...
GNU Emacs     v31.0.50         65ac0be560fe33589ff7dbc92dcd90bcc7766af1
Doom core     v3.0.0-pre       HEAD -> master, origin/master, origin/HEAD 0d2f10dca 2025-12-03 03:58:30 -0500
Doom modules  v26.01.0-pre     HEAD -> master, origin/master, origin/HEAD 0d2f10dca 2025-12-03 03:58:30 -0500

Steps to reproduce

ln -s neomacs emacs
doom sync

Expected behavior

No response

Runtime diagnostics

This is because configure-info-directory is nil for neomacs

(defun Info--default-directory-list ()
  "Compute a directory list suitable for Info."
  (let* ((config-dir
      (file-name-as-directory
       ;; Self-contained NS build with info/ in the app-bundle.
       (or (and (featurep 'ns)
            (let ((dir (expand-file-name "../info" data-directory)))
              (if (file-directory-p dir) dir)))
           configure-info-directory)))

Extra context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions