* Emacs Impatient Mode File Access
@ 2022-11-26 11:15 Thorsten Wilms
2022-11-27 9:17 ` Thorsten Wilms
0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Wilms @ 2022-11-26 11:15 UTC (permalink / raw)
To: help-guix
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!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Emacs Impatient Mode File Access
2022-11-26 11:15 Emacs Impatient Mode File Access Thorsten Wilms
@ 2022-11-27 9:17 ` Thorsten Wilms
0 siblings, 0 replies; 2+ messages in thread
From: Thorsten Wilms @ 2022-11-27 9:17 UTC (permalink / raw)
To: help-guix
On Sat, 26 Nov 2022 12:15:28 +0100
Thorsten Wilms <t_w_@freenet.de> 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!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-27 9:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-26 11:15 Emacs Impatient Mode File Access Thorsten Wilms
2022-11-27 9:17 ` Thorsten Wilms
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.