/emg/ - Emacs and Lisp General

>General Emacs resources
gnu.org/software/emacs/manual/emacs.html (GNU Emacs Manual)
emacswiki.org (Emacs Wiki)
github.com/emacs-tw/awesome-emacs (Big list of packages)
github.com/thinkhuman/writingwithemacs (Tips for prose writing in Emacs)

>Tutorials
C-h t (Interactive Tutorial)
gnu.org/software/emacs/tour (GNU Emacs Tour)
youtube.com/playlist?list=PLX2044Ew-UVVv31a0-Qn3dA6Sd_-NyA1n (General Introduction)
youtube.com/playlist?list=PLVtKhBrRV_ZkPnBtt_TD1Cs9PJlU0IIdE (Org Mode)
youtube.com/playlist?list=PL8Bwba5vnQK14z96Gil86pLMDO2GnOhQ6 (Advanced Configuration)

>(Self) Documentation
C-h k (Keybinds)
C-h o (Functions and Variables)
C-h i (Assorted Manuals)

>Premade Configs
=Make your own=
github.com/hlissner/doom-emacs/tree/develop (Doom Emacs)
github.com/syl20bnr/spacemacs (Spacemacs (heavy))
github.com/snackon/Witchmacs (Witchmacs)

>Reduce Startup Time
use-package defer
pastebin.com/mrPsnUas (Disable GC during startup)
emacswiki.org/emacs/EmacsAsDaemon (Emacs as Daemon)
akrl.sdf.org/gccemacs.html (Native Compilation, stable, merged into Emacs 28)
emacswiki.org/emacs/SetupEl

>Changing Default Keybinds
pastebin.com/2hg4g3C6

>Programming resources for Emacs Lisp, Common Lisp, Scheme and Clojure:
pastebin.com/nyTQp7qi

>Troubleshooting
If there seems to be a bug (or complicated issue), anons may ask you to compose an MWE (minimum working example).
To create an MWE, try the following:
1) start emacs with "emacs -q". This disables your init.
2) try to reproduce your issue with as few settings changed and packages (manually) loaded as possible.
These steps ensure that other anons can replicate your problem if it's something more involved. Sometimes you even find the cause yourself this way, too!

>previous thread

Attached: image-dired.jpg (1920x1080, 491.64K)

Other urls found in this thread:

0x0.st/o8-I.scm
0x0.st/o8-l.scm
twitter.com/NSFWRedditImage

On second thought, I really should cleanup my archive. It's trash.

I'm working on a finite automata (both deterministic and nondeterministic) in scheme r4rs.

The following file (automata.scm) contains the implementation of the procedures to make a DFA (make-dfa), to make a NFA (make-nfa), to make a regexp, to convert a regexp to a NFA (regexp->nfa), and to run either a DFA or a NFA on a string (automaton-run).
0x0.st/o8-I.scm

The following file contains examples of NFA generated by regexps, examples of DFAs, and examples NFAs implemented using the procedures of the other file. This is an executable file; when run, it computes those automata on a set of predefined strings.
0x0.st/o8-l.scm

(both urls are different, one has a uppercase i, and the other a lowercase L)

Attached: exempla.png (634x583, 55.46K)

s/r4rs/r7rs/

I'm using doom, and when I call +workspace/close-window-or-workspace (SPC-w-d) on the doom fallback buffer in a split window it calls delete-frame and closes emacs. Is there a way to just get it to close the fallback buffer's window?

this is pretty cool user

Scheme!

Attached: toru_speech.png (583x356, 158.61K)

Nice.

Since it's the doom's function. The easier way is probably comment out the line that close Emacs.

hey guys, how do I use libraries in common lisp scripts? i want to use ql:quickload, but then if try to run with sbcl --script or by compiling the file, it doesn't load quicklisp.

Try loading ql:quickload in sbcl's init file.

i have the lines quicklisp added in .sbclrc when i installed it:
;;; The following lines added by ql:add-to-init-file:
#-quicklisp
(let ((quicklisp-init (merge-pathnames ".config/quicklisp/setup.lisp"
(user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init)))

it autoloads quicklisp fine when i open slime in emacs, but sbcl --script gives me
Package QL does not exist.

I don't know the load order of --script flag, but you should try loading sbclrc file manually in your script via (load "~/.sbclrc").

ohh yeah that worked, thanks

...

Where do I get started with sbcl compiler hacking?

Why are you not using Emacs with the lucid toolkit option?

too lazy

Emacs is a terminal editor.

scream

What's the gentoo of emacs distros? I just want a minimal thing I can extend at my leisure, I don't need a web browser inside emacs.

Attached: 1643371902973.jpg (1224x1200, 1.47M)