Blog sobre software libre
28 mar 2026

Hola mundo en Emacs Lisp

Llevo mucho tiempo queriendo mejorar mi conocimiento de Emacs Lisp, pero al final nunca tengo hueco para aprenderlo en profundidad.

De momento he hecho una especie de "Hola mundo" un poco más complejo, usando la función let de Elisp para declarar variables.

Es una función muy sencilla, que pide al usuario el nombre, y luego le da los buenos días y la fecha. Con esta función he usado por primera vez let, y además he descubierto la distintas formas en las que se puede conseguir una fecha con la función format-time-string.

A continuación dejo el código y un ejemplo de uso cuando el usuario introduce la cadena "Carlos" por teclado.

  (defun holamundo()
  (interactive)
  "Hola mundo interactivo que pide el nombre del usuario y dice la fecha de hoy."
  (let ((nombre (read-string "Introduce tu nombre: "))
    (diasem (format-time-string "%A"))
    (dia (format-time-string "%d"))
    (mes (format-time-string "%B")))
    (message "Buenos días %s, hoy es %s %s de %s" nombre diasem dia mes)))

(holamundo)

  "Buenos días Carlos, hoy es domingo 22 de marzo" 

Tags: emacs,gnulinux
12 feb 2026

LLM

Inspirado por el post de Derek Sivers he decidido crear una entrada sobre cómo uso los modelos de lenguaje en este blog y en general.

En los posts que tengo en español que yo recuerde no los he usado para nada, y en los que tengo en inglés alguna vez le he pasado alguna frase para que me revisara la gramática.

Aparte de eso, igual en el futuro hago algún experimento con Gemini, ChatGPT, Grok o el modelo que sea, pero en principio no me apoyo en LLMs para escribir.

En mi día a día a veces uso Gemini sobre todo si veo que me puede ahorrar tiempo para buscar algo, o para preguntar alguna curiosidad que me surja.

También he probado algunos modelos locales con ollama, pero como no tengo mucha potencia de cálculo local eran modelos muy sencillos.

Tags: llm,ai,blog
31 dic 2025

The people of Emacs

The philosophy behind Emacs fosters a really wonderful community. There are tons of people that have helped me learn and improve my Emacs configuration and knowledge, but in order to write this post I've chosen three.

Mickey Petersen

When I finished the Emacs tutorial, I was wondering how I could improve my skills. I knew about Planet Emacs, but I didn't have the knowledge to understand the majority of the posts written there. Although I knew the basics of Emacs, I wanted to advance to the next level.

Then I discovered "Mastering Emacs". It was through reading that book that I really went from noob to grasping the more advanced capabilities of the text editor. I became able to skim through other people's posts in Planet Emacs and test their Elisp snippets, programs or configurations.

I have to thank Mickey because it was a really enjoyable read. I could understand every bit of the book without making any effort at all, which finally helped me to learn to use M-x, install and configure packages and evaluate Elisp code.

Sacha Chua

I think it was after reading "Mastering Emacs" that I started looking at Sacha Chua's posts. Sacha Chua is, of course, one of the main pillars of the Emacs community, and in fact Planet Emacs is run by her.

The first configuration that I cloned with git was Sacha's. I learnt a lot by skimming through her quasi-infinite Sacha.org. I started to discover a lot of Emacs packages that I have used every day since.

And of course there is the Emacs News and the Emacs Conf. Sacha is the one who gathers a lot of people around Emacs.

Protesilaos Stavrou

My next step in the Emacs Way is to properly learn Elisp. Here I think Prot is the king, with his affordable coaching lessons. I can't think of a better way to learn. He is patient, knows how to adapt to every person and is a very good teacher. With his help, you can start to craft your very own Emacs configuration including macros and other advanced Elisp stuff.

Then of course there are the Modus themes, which are now part of Emacs itself. There are also a lot of packages written by Prot, accompanied by top-notch documentation. His code is also very clear and easy to read. Perfect for learning.

Prot has also his fantastic "Prot Asks" series of videos, in which he talks with people about a lot of different topics. I was lucky to inaugurate the series of videos and it was a pleasure to chat for one hour with him. Of course, the common denominator of all the people around Prot is the love for Emacs and in general libre software.

Conclusion

Emacs is more than the flagship of the libre software movement. It is a way of life. I think the best way to conclude this post is with a quote from Prot himself:

"Choosing Emacs is not just a matter of deciding how to edit text. It largely is about what kind of person one wants to be."

Tags: emacs, carnival, people
30 nov 2025

Ahora

El otro día me encontré un post de Michał M. Sapka sobre las cosas que está haciendo ahora y me pareció curioso replicarlo aquí:

Tags: ahora
12 oct 2025

Maintenance (Mantenimiento)

Nota: Este post tiene una versión en inglés para participar en el Emacs Carnival. La versión en castellano está tras la inglesa.

While maintenance sometimes is seen as something boring, I think it's the perfect way to start learning things. First, you have to know how things work in order to change and improve them. Thus, if I spent more time maintaining my Emacs configuration, I would surely learn enough Emacs Lisp to write more complex functions and be able to improve my config a lot.

So, while a lot of people spend more time tweaking their Emacs configuration file than actually using Emacs, for me it's just the opposite. I wish I spent more time tweaking my Emacs setup.

El mantenimiento normalmente se ve como una tarea aburrida o secundaria, pero yo creo que es la base para entender cómo funcionan los sistemas. Primero tienes que saber de qué forma está algo montado para luego poder cambiarlo o mejorarlo. Por eso creo que el primer paso para aprender más Emacs Lisp sería pasar más tiempo manteniendo mi configuración, y esto me permitiría escribir funciones más complejas que harían que mi configuración mejorase un montón.

Así que, mientras que la mayoría de gente que leo en blogs se suele quejar de que pasa más tiempo configurando Emacs que usándolo, para mí es justo al revés, creo que debería pasar más tiempo revisando y manteniendo mi configuración.

Tags: emacs, carnival, maintenance
Other posts
Other posts
Creative Commons License
www.finaprosadigital.com by Carlos Pajuelo is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.