Re: Emacs Impatient Mode File Access
On Sat, 26 Nov 2022 12:15:28 +0100 Thorsten Wilms wrote: > I wrote a package for https://github.com/skeeto/impatient-mode > It works to the point where I get a list of “Public Buffers” with one > item as expected on http://localhost:8080/imp/, but when I click > “test.html”, I get: > error: (file-missing Opening input file No such file or > directory > /gnu/store/dszh53pr1a76ff6jqzhxs7krkmgdic2m-emacs-impatient-20200723.2117/share/emacs/site-lisp/impatient-20200723.2117/index.html) Looking for packages that do something similar, I found markdown-preview mode and copied a line, found out .js is also required, which makes it: (arguments '(#:include '("\\.el$" "\\.html$" "\\.js$"))) Case closed, sorry about the noise!
Emacs Impatient Mode File Access
Hi! I wrote a package for https://github.com/skeeto/impatient-mode It works to the point where I get a list of “Public Buffers” with one item as expected on http://localhost:8080/imp/, but when I click “test.html”, I get: error: (file-missing Opening input file No such file or directory /gnu/store/dszh53pr1a76ff6jqzhxs7krkmgdic2m-emacs-impatient-20200723.2117/share/emacs/site-lisp/impatient-20200723.2117/index.html) Now what to do? The package: --- (define-module (emacs-impatient) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system emacs) #:use-module (gnu packages emacs-xyz)) (define-public emacs-impatient (package (name "emacs-impatient") (version "20200723.2117") (source (origin (method url-fetch) (uri (string-append "https://melpa.org/packages/impatient-mode-; version ".tar")) (sha256 (base32 "03c1dfygjlb5pzaafapv0y2mvcjlq9lhavbdqqwjv203lbs8fc66" (build-system emacs-build-system) (propagated-inputs (list emacs-simple-httpd emacs-htmlize)) (home-page "https://github.com/skeeto/impatient-mode;) (synopsis "Emacs mode for live-viewing changes to HTML in a browser") (description "See the effect of your HTML as you type it.") (license license:public-domain))) --- Thanks!