powRSS
Home Recent Glimpses Shuffle Blogs Random

New: Explore conversations across blogs with powRSS Mentions

n16f.net - Nicolas Martyanoff

Nicolas Martyanoff

I am Nicolas Martyanoff, and this website is a way to publish some of my thoughts on various subjects.

Top Words

  • emacs
  • lisp
  • common
  • erlang
  • slime
  • taking
  • replacing
  • custom
  • configuration
  • implementations
  • reading
  • eshell

All posts (44)

All my code is stored in various Git repositories. When Git formats a diff between two objects, it generates a list of hunks, or groups of changes. Each hunk can be displayed with a title which is automatically extracted. Git ships with support for multiple languages, but Lisp dialects are not part of it....
I have been having completion issues in Eshell for some time, and I decided to fix it. Of course the yak shaving is always strong with Emacs, so it ended up being a bit more complicated than expected. Defining keys with use-package Eshell key bindings are stored in eshell-mode-map. For quite some time, Eshell has...
Org-mode is what got me into Emacs in the first place. I use it to take notes, keep track of what I have to do and plan projects. An Org file is a tree of elements, each one starting with a headline. Manipulating headlines can be confusing; here are a few tips that you may find helpful. Do not split lines when...
The SLIME Emacs package for Common Lisp supports cross-referencing: one can list all references pointing to a symbol, move through this list and jump to the source code of each reference. Removing automatic reference jumps While cross-referencing is very useful, the default configuration is frustrating: moving...
I have been using Projectile for years, and it served me well. While Projectile is really useful, it is a third party package made of more than 8000 lines of code. Since the built-in Project module has received lots of improvements since Emacs 28.1, I decided to give it a try and see if I could remove Projectile...
I have used the C-l shortcut in ZSH to clear the screen for as long as I can remember. When I started using Eshell, one of the first problems I encountered was the inability to clear the buffer. I like to remove the output of previous commands to be able to focus on the current one, so let us script Emacs once...
I just encountered the strangest behaviour in Emacs. I was editing a shell script, hit C-x b to switch to another buffer, and Emacs suddenly froze with the following message: Pinging <hostname> (Commercial)... Where <hostname was the hostname of a server used in the script. I really do not like the idea of my text...
Paredit is an Emacs package for structural editing. It is particularly useful in Lisp languages to manipulate expressions instead of just characters. One of the numerous little features of Paredit is the automatic insertion of a space character before a delimiting pair. For example, if you are typing (length, typing...
I recently went back to Common Lisp to solve the daily problems of the Advent of Code. Of course it started with installing and configuring SLIME, the main major mode used for Common Lisp development in Emacs. The most useful feature of SLIME is the ability to load sections of code into the Common Lisp...
In the default Emacs configuration, C-l is bound to recenter-top-bottom. This function has an interesting behaviour: when called once, it scrolls the current window so that the current line appears at the middle of the screen. When called several times in a row, it cycles through three scrolling position: middle,...
Storing credentials and confidential data in a secure location is important, and I have been happy with 1Password for years. But having all this critical information stored in a single location is dangerous; losing access to my 1Password account would be quite annoying, forcing me to reinitialize passwords on dozens...
Edit (2023-02-07) Updated to mention subkey selection during renewal. Introduction I recently tried to learn more about GnuPG and it turned out to be more difficult than expected. So here are my notes regarding various GnuPG operations. GnuPG 2.2.32 was used for all commands. Configuration GnuPG The gpg command line...

Page 3 of 4