Monday, 9 November 2020

Force lsp-mode to update when I visit the buffer

I use lsp-mode to edit typescript project files in emacs. When I update definitions in a file, lsp flymake diagnostics are not updated in other files until I perform an edit on the other file. Having to insert a space character and then undo it to see the latest errors quickly becomes annoying. Is there a way to "trigger lsp check when I focus on the buffer"?

Sunday, 16 February 2020

Getting the compilation output of asdf:load-system into SLIME

Running (asdf:load-system "my-project") in the SLIME REPL causes warnings and/or errors to be printed to the REPL, which is difficult to go through. In this post we explore a solution that does not receive much attention in beginner tutorials.

Saturday, 23 March 2019

Saturday, 25 August 2018

Building libpq on MSYS2 MinGW 64 bit for libpqxx

For Windows, although there is a PostgreSQL installer provided, the libpq in the installation directory cannot be used to link libpqxx on MSYS2. This post shows how to build libpq from source on MSYS2.