Socket
Book a DemoInstallSign in
Socket

yrh.dev/go-emacs

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yrh.dev/go-emacs

Go Modules
Version
v0.0.1
Version published
Created
Source

Gitpod Ready-to-Code

goemacs

experimental Emacs modules in Go

Requires dynamic modules support to be built into Emacs (obviously): check that module-file-suffix is not nil.

Example

$ cd examples/hello
$ make test
emacs --batch --load hello.so --eval '(when (featurep (quote hello)) (hello "world"))'
INFO[0000] module initialization started
hello from go init
INFO[0000] creating native function
INFO[0000] creating symbol
INFO[0000] calling function
Hello function!
INFO[0000] calling symbol before it's bound
symbol is not a function
INFO[0000] binding symbol to function
INFO[0000] calling symbol after it's bound
Hello symbol!
INFO[0000] module initialization complete
Hello world!

Credits

The following resources have been immensely useful:

FAQs

Package last updated on 15 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts