I just posted a video of solving Advent of Code 2025 day 3 in elisp/common lisp simultaneously. #emacs #elisp #commonlisp #lisp #adventofcode #adventofcode2025
I just posted a video of solving Advent of Code 2025 day 3 in elisp/common lisp simultaneously. #emacs #elisp #commonlisp #lisp #adventofcode #adventofcode2025
Hello Emacs hackers!
A new version of annotate.el (2.4.3), a mode to annotate files without changing them, has been released; this is a bug fix release.
From the news file:
-------✀-------✀-------✀-------✀-------✀
This version fixed a bug that prevented remote file to be annotated.
-------✀-------✀-------✀-------✀-------✀
Annotate.el is available on MELPA and also on NonGNU ELPA; this means that, if you are using an Emacs version greater or equal than 28, you could simply run the command: 'M-x package-install RET annotate RET' to install the package.
The development repository is available on:
https://github.com/bastibe/annotate.el
Happy hacking!
C.
Hello Emacs hackers!
A new version of annotate.el (2.4.3), a mode to annotate files without changing them, has been released; this is a bug fix release.
From the news file:
-------✀-------✀-------✀-------✀-------✀
This version fixed a bug that prevented remote file to be annotated.
-------✀-------✀-------✀-------✀-------✀
Annotate.el is available on MELPA and also on NonGNU ELPA; this means that, if you are using an Emacs version greater or equal than 28, you could simply run the command: 'M-x package-install RET annotate RET' to install the package.
The development repository is available on:
https://github.com/bastibe/annotate.el
Happy hacking!
C.
M-x 0RGーM0DΞ
Adding the following code:
(org-babel-do-load-languages 'org-babel-load-languages
'((shell . t)))
to your .emacs file will allow you to run SH/BASH code blocks in org-mode using C-c C-c
My Emacs version is 30.1
On cold days, my Emacs has a fireplace to keep me warm;
SOURCE: https://github.com/johanvts/emacs-fireplace
On the interesting side: the author of the package thanks Dan Torop for an Emacs Lisp Animation Tutorial: https://dantorop.info/project/emacs-animation/
I find ascii-art delightful I will definitely have look;
#Lisp #GNU #Guile #Elisp #Emacs #Lambda #Linux #Bash #sh #BSD #Debian #technology
On cold days, my Emacs has a fireplace to keep me warm;
SOURCE: https://github.com/johanvts/emacs-fireplace
On the interesting side: the author of the package thanks Dan Torop for an Emacs Lisp Animation Tutorial: https://dantorop.info/project/emacs-animation/
I find ascii-art delightful I will definitely have look;
#Lisp #GNU #Guile #Elisp #Emacs #Lambda #Linux #Bash #sh #BSD #Debian #technology
Standardising #emacs #elisp ? Maybe feat. @ramin_hal9001
A list of
#emacs #elisp implementations
https://www.xemacs.org/
https://codeberg.org/ramin_hal9001/schemacs
https://framagit.org/akater/cl-el/-/blob/master/el.org
https://github.com/lem-project/lem
https://www.gnu.org/software/emacs/
EDIT: https://guile-emacs.org/ , thanks @tealeg
@kentpitman @jns @vnikolov @mdhughes @dougmerritt @ksaj @ramin_hal9001
Dear #emacs and #org-mode comrades.
Given:
+ a table w/ a list of tags + their # of appearances per question 1 & 2.
+ org support for tag groups (https://orgmode.org/manual/Tag-Hierarchy.html)
+ GroupTag1=tagA+tagC+tagD and
+ GroupTag2=tagB+tagE
How can I count the sum of each group per question?
Example:
| tag | Q1 | Q2 |
|------+----+----|
| tagA | 9 | |
| tagB | 4 | 2 |
| tagC | 1 | 4 |
| tagD | | 5 |
| tagE | | 6 |
|------+----+----|
| GT1 | 10 | 9 |
| GT2 | 4 | 9 |
Thanks!
#tem25
@Eduardo Mercovich (él)
Well, I got this much working, which is sort of the crux of the problem. It takes a list of pairs and a function and applies the function repeatedly to the cdrs of the pairs that share the same car.
Roger has shown an expanded version of the table where the groups have been put against the values that apply to them. The last two columns of that table should be able to be turned into an appropriate list easily enough - I have not attempted this yet.
I'm in two minds about this as a solution for you.
On the one hand it's short, and has some general applicability beyond the stated problem.
On the other, I may be being a bit too clever - not quite 'week 1 of Lisp' material I suppose. Sticking to explicit iteration and solving the specific problem only would be more digestible. But this is the concrete thing that I got to first.
On the other other hand - I'm wondering whether there are library functions available to do this with fewer lines that I'm ignorant of.
Plus the use of the lambda in the application is a bit clunky - might be nicer to just pass + in (could just put in another layer of wrapping to do this).
And the function names might need some further thought...
But I thought I'd table it anyway — might be good to see some progress and perhaps it will inspire others to do better 😄
(defun assoc-replace (new alist)
"non-destructively replace the alist element with new, where the keys are equal"
(cl-substitute-if new
(lambda (x)
(equal (car x) (car new)))
alist))
(defun alist-acummulate-step (f alist pair)
"lookup alist using car pair and replace the element with f applied to the cdrs of it and pair. Add pair to alist if not found."
(let* ((key (car pair))
(old-pair (assoc key alist)))
(cond
(old-pair
(let ((result (funcall f (cdr old-pair) (cdr pair))))
(assoc-replace (list key result) alist)))
(t
(cons pair alist)))))
(defun alist-reduce (f pairs alist-initial)
"reduce using f into an alist with keys as the unique cars of pairs"
(seq-reduce
(lambda (x y) (alist-acummulate-step f x y))
pairs alist-initial))Example of use:
(alist-reduce (lambda (x y) (+ (car x) (car y))) '((a 1) (b 2) (a 3) (c 4) (b 3) (b 4)) nil)
=>
((c 4) (b 9) (a 4))#tem25 #elisp
Avalonia Visual Basic 6 is a recreation of the Visual Basic 6 IDE that also runs in the browser. It looks quite close to the original.
https://github.com/BAndysc/AvaloniaVisualBasic6
If someone proves me wrong (I could be!) it'll greatly improve my opinion of emacs.
Been doing some IRC hacking for #circe lately to get back into writing #elisp. One quick win is adding more entries to the default networks list, so I decided to look into actually popular IRC servers adjacent to FLOSS and tried to connect to GIMPNet:
- The server is allergic to any port scanning attempts and temporarily refuses services if you do anything funny, like connecting too quickly to the wrong ports.
- When establishing a TLS connection, I get a cert for irc.acc.umu.se (which very understandably trips up NSM with a prominent warning)
- When directing sslscan at it without options, it doesn't detect any SSL/TLS protocol versions (presumably by virtue of scanning too fast?)
- When invoking sslscan with `--starttls-irc` for the heck of it, I get a segfault
Given that the irc.gnome.org alias to the same thing is defunct, I don't even know whether to bother adding support for this. Chances are the #GIMP/#GNOME folks are using Discord or Matrix instead?
What else can I share to better describe the thesis? Some parts that are not clear?
While #orgmode does 85% out of the box (#LiterateProgramming, tagging, counting, writing, exporting, even interacting with #gnuplot, etc.) #elisp is needed to do some of this calculations, ordering and grouping... :)
[end] #tem25
Tb hay partes q implican #elisp y #programacionliteraria. Pej integro 2 tablas con https://github.com/tbanel/orgtbljoin (genio tbanel) y debo ordenarla de forma específica. Se puede crear una función para hacer ése orden, y debe ser en elisp.
Querides Emacseres.
Necesito ayuda con #elisp para mi tesis (exploración de aprendizajes significativos para operar fuera de la academia) con #ProgramaciónLiteraria + #InvestigaciónReproducible. Y quiero q esté tan autocontenida en #Emacs (sí, soy un geek y estoy orgulloso) como sea posible. Sin embargo y aunque avanzo, encuentro mi elisp fu limitante.
¿Podría alguien ayudarme con esta tesis para mostrar el poder de Emacs y el #SoftwareLibre? Me encantará devolver con mis habilidades.
1e^3.Grcs
Dear Emacsers.
I need some help w/ #elisp for my #LiterateProgramming + #ReproducibleResearch thesis (an exploration of meaningful abilities to operate outside academia).
I'd like it as completely self contained in -and sustained by- #Emacs (yes, I'm a geek and I'm proud) as possible and, while going forward, I've found my #elisp fu limiting.
Can anyone share some time to help me with this thesis and show the power of Emacs and #FreeSoftware? I'd gladly share my abilities back.
1e^3.Thxs
Trying to make an org-agenda entries to have a distinct color if there is a content in them (if there is something except metadata under the heading).
Does anyone know how to hook into agenda rendering to achieve this? Pointers are very welcome!
P.S. At the moment I just manually put (link) or (body) to the corresponding headings >< I don't want to do it anymore :)
