[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1747203800184851.png (339 KB, 1600x891)
339 KB PNG
萌えedition

>Lisp is a family of programming languages with a long history and a distinctive parenthesized prefix notation. There are many dialects of Lisp, including Common Lisp, Scheme, Clojure and Elisp.

>Emacs is an extensible, customizable, self-documenting free/libre text editor and computing environment, with a Lisp interpreter at its core.

>Emacs Resources
https://gnu.org/s/emacs
https://github.com/emacs-tw/awesome-emacs
https://github.com/systemcrafters/crafted-emacs

>Learning Emacs
C-h t (Interactive Tutorial)
https://emacs-config-generator.fly.dev
https://systemcrafters.net/emacs-from-scratch
http://xahlee.info/emacs
https://emacs.tv

>Browse imageboards in Emacs Org-Mode
https://github.com/eNotchy/4g

>Emacs Distros
https://github.com/caisah/emacs.dz

>Elisp
Docs: C-h f [function] C-h v [variable] C-h k [keybinding] C-h m [mode] M-x ielm [REPL]
https://gnu.org/s/emacs/manual/eintr.html
https://gnu.org/s/emacs/manual/elisp.html
https://github.com/emacs-tw/awesome-elisp

>Common Lisp
https://lispcookbook.github.io/cl-cookbook
https://cs.cmu.edu/~dst/LispBook
https://gigamonkeys.com/book
https://lisp-docs.github.io
https://awesome-cl.com

>Scheme
https://scheme.org
https://standards.scheme.org
https://go.scheme.org/awesome
https://research.scheme.org/lambda-papers

>Clojure
https://clojure.org
https://tryclojure.org
https://clojure-doc.org
https://clojure.land
https://www.clojure-toolbox.com
https://mooc.fi/courses/2014/clojure
https://jafingerhut.github.io/cheatsheet/clojuredocs/cheatsheet-tiptip-cdocs-summary.html

>Other
https://github.com/dundalek/awesome-lisp-languages

>Guix
https://guix.gnu.org
https://nonguix.org
https://systemcrafters.net/craft-your-system-with-guix
https://futurile.net/resources/guix
https://github.com/franzos/awesome-guix

>SICP/HtDP
https://web.mit.edu/6.001/6.037/sicp.pdf
https://htdp.org

>More Lisp Resources
https://lisp.nexus
https://rentry.org/lispresources

(call/cc >>108664729)
>>
File: 4chan_mascots.jpg (154 KB, 1024x768)
154 KB JPG
http://xahlee.org/xa/funny/4chan.html
>>
e m a c
m
a
c
>>
File: md.webm (173 KB, 738x800)
173 KB
173 KB WEBM
>>108708075
>I didn't know that markdown-toggle-markup-hiding exists, wish I had known about this earlier.

>>108720425
>might be worth making it toggle together with normal/insert state change in evil

(defun evil-enable-markdown-markup-hiding (&rest args)
"If the current major mode is markdown-mode, enable markup hiding."
(interactive)
(when (derived-mode-p 'markdown-mode)
(markdown-toggle-markup-hiding 1)))

(defun evil-disable-markdown-markup-hiding (&rest args)
"If the current major mode is markdown-mode, disable markup hiding."
(interactive)
(when (derived-mode-p 'markdown-mode)
(markdown-toggle-markup-hiding -1)))

(advice-add #'evil-normal-state :after #'evil-enable-markdown-markup-hiding)
(advice-add #'evil-insert-state :after #'evil-disable-markdown-markup-hiding)


This should work for markdown-mode and any of its derivatives like gfm-mode.
>>
>>108769018
noice
>>
>>108769018
I don't use evil, but this should work without having to advice a function:
(add-hook 'evil-insert-state-exit-hook #'evil-enable-markdown-markup-hiding)
>>
>>108769209
I guess I am a bit overly fond of advising functions. I just think it's a really cool ability. I suppose the polite way to go about things is to look for hooks first, and only use advice if hooks don't exist for the functionality I'm trying to augment.
>>
>https://emarsden.github.io/pg-el/about.html
Does anyone know of a way of seeing maps/polygons in emacs? I'd like to visualize postgis data using this;
>>
>>108769647
You might be able to find something in here. It's an OpenStreetMap viewer for Emacs.
https://github.com/minad/osm
>>
>>108769677
I think I'd need to set up a geoserver/tileserver for that. You know in pgadmin or dbeaver when you hover over a geometry result it shows it in a little box? I was planning on doing that.
>>
>>108768928
l i p s
i
p
s
>>
Does anyone know if sly and slime can coexist? I naively thought they could, but my initial attempts at having both in one config have not worked. I normally use sly, but I wanted to try slime out, because it looked like it had support for Coalton.

This is the config I tried.
(use-package slime
:ensure t
:config
(slime-setup
'(slime-fancy
;; slime-company ; I don't think I need this, because I have corfu instead.
slime-coalton))
(setq lisp-lambda-list-keyword-parameter-alignment t
lisp-lambda-list-keyword-alignment t
lisp-align-keywords-in-calls t)
(put 'make-instance 'common-lisp-indent-function 1)
(setq slime-lisp-implementations
'((sbcl ("/usr/bin/sbcl") :coding-system utf-8-unix)))
(add-to-list 'auto-mode-alist '("\\.ct$" . lisp-mode)))

Derived from: https://coalton-lang.github.io/manual/topics/introduction/#setting-up-emacs-with-slime
>>
first for Clojure.
>he doesn't have namespaced keywords
>>
File: 1728297184272.jpg (117 KB, 970x824)
117 KB JPG
>>108770926
>if sly and slime can coexist?
Usecase for "coexistence"?
>>
>>108770954
>namespaced keywords
use-case?
>>
>>108772428
Two entities with idor name in the same map. Some queries can also return namespaces. Datomic IDs are namespaced, next.jdbc can namespace the column name with the table name.
Convenient for avoiding name collisions
>>
>>108765907
I think you'd need to change/advice eww-retrieve-command, but it seems doable.
>>
>>108769677
>https://github.com/minad/osm
interesting
>>
https://clojure.org/news/2026/05/05/deref
>>
>>108767473
Moe theme makes me cum
>>
>>108772251
I just wanted to see what I was missing from slime-coalton and swank-coalton.
>>
>>108769018
alternative setup with hooks instead of advice
(add-hook 'evil-normal-state-entry-hook #'evil-enable-markdown-markup-hiding)
(add-hook 'evil-insert-state-entry-hook #'evil-disable-markdown-markup-hiding)
>>
maybe I like Janet because she's small
>>
>>108776018
it's fine. i like ef-themes more when it comes to colourful themes
>>
Emacs Chat 22: Shae Erisson
https://www.youtube.com/watch?v=Ovya0O2otbU
https://www.scannedinavian.com/
>>
>>108767473
LISP is clearly failed BASIC of it's own era.
There's literally nothing written in LISP except Emacs related crap and old AutoCAD scripts.
Dead language.
Not related to modern day hardware.
Visual Basic was a nice attempt to resurrect old language, friendly for newcomers.
This is very pathetic bite thread.
You need Qt-LISP bindings and Visual, non-Emacs crap editor so actual software can be written in the dead LISP.

Hello, my name is fag and I write in LISP.
/thread
>>
>>108773284
Maybe advice around eww-render would work too since you could modify things before rendering.
>>
>>108777691
Good morning sir
>>
I'm used to python sqlalchemy and using "models" as a pattern for webshit and databases. What do you use in clojure?
>>
>>108778295
I like rawdogging SQL.
https://github.com/krisajenkins/yesql



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.