astoff / devdocs.el

Emacs viewer for DevDocs
291 stars 17 forks source link

emacs 29.4 : no documents downloaded into devdocs/data #42

Closed rileyrg closed 4 hours ago

rileyrg commented 4 hours ago

I've no-littering installed.

  (use-package devdocs
    :custom
    (devdocs-data-dir (no-littering-expand-var-file-name  "devdocs"))
    :bind ("C-q" .  devdocs-lookup))

devdocs-install then selecting c or rust (for example) says data is downloaded but examining devdocs-data-dir,

devdocs-data-dir is a variable defined in ‘devdocs.el’.

Its value is "/home/rgr/.emacs.d/var/devdocs" Original value was "/home/rgr/.emacs.d/devdocs"

there's only the the empty data dir.

~ cd .emacs.d/var/devdocs ➜ devdocs git:(dev) ✗ ls -l data total 0 ➜ devdocs git:(dev) ✗

*messages :

Contacting host: documents.devdocs.io:443 Installing documentation...done Contacting host: documents.devdocs.io:443 Document ‘rust’ installed

I've verfified theres no .emacs.d/devdocs

rileyrg commented 4 hours ago

OK,so the isssue is that the devdocs-data-dir is in fact the devdocs data subdirectory. Possibly there should be a customisable "devdocs-dir" where data is a subdirectoy.