social.tchncs.de is one of the many independent Mastodon servers you can use to participate in the fediverse.
A friendly server from Germany – which tends to attract techy people, but welcomes everybody. This is one of the oldest Mastodon instances.

Administered by:

Server stats:

3.8K
active users

#erlang

8 posts7 participants0 posts today

#erlang ships with #emacs mode! Sweeeet

```
;; erlang
(defvar erlang-root-dir "/opt/homebrew/lib/erlang")
(defvar erlang-lib-dir (expand-file-name "lib/tools-4.1.1/emacs" erlang-root-dir))
(setq load-path (cons erlang-lib-dir load-path))
(require 'erlang-start)
(setq exec-path (cons (expand-file-name "bin" erlang-root-dir) exec-path))
(setq erlang-man-root-dir (expand-file-name "man" erlang-root-dir))
```

I just made an Erlang GUI "Hello World" in a Fedora 41 Toolbox.

$ toolbox create erlang

$ toolbox enter erlang

$ sudo dnf install erlang

$ erl -smp

1> wx:new().
{wx_ref,0,wx,[]}

2> M = wxMessageDialog:new(wx:null(), "Hello World").
{wx_ref,35,wxMessageDialog,[]}

3> wxMessageDialog:showModal(M).

Thanks to:

arifishaq.wordpress.com/wp-con

wxerlang.dougedmunds.com/

#erlang#gui#fedora