Recent Changes

Here is the list of recent changes at this site.


Updates in the last 30 days

1 | 3 | 7 | 30 | 90 days
List all changes Include rollbacks Include minor changes
List later changes RSS RSS with pages RSS with pages and diff

2025-10-06

  • 18:51 UTC (new) (history) 2025-10-06 A debug helper in Elisp . . . . mbork A few days ago I was writing a pretty complex Elisp function which didn’t work correctly. My usual tool to use in such cases if of course Edebug – but in this case, it didn’t help much. One of the things my function did was messing around with buffers and windows, and this interferes with Edebug insisting on showing the source code in a specific window. In such cases, I miss the old-school “printf debugging”.

2025-09-29

  • 17:49 UTC (new) (history) 2025-09-29 Improving dired-show-file-type . . . . mbork It is not astonishing at all that many people (including me) use Dired as their main file manager. The default look of Dired – just the output of ls -l – is deceptively crude, but underneath there is an immense power. Many Dired commands are just frontends to GNU Coreutils, but with much improved user interface, like reasonable default arguments (accessible via the “future history” of the minibuffer). But Dired is more than just a wrapper around Coreutils. For example, it has the dired-show-file-type command (bound to y by default), which runs the file command on the file at point. The file command is a great way to learn the basic information about any file. Besides telling the filetype, it often provides some information about its contents. For example, it guesses the encoding of text files and shows the resolution of image files. There are some information it does not give, however.

2025-09-22

  • 17:39 UTC (new) (history) 2025-09-22 Faking today's date in Org . . . . mbork A long time ago I wrote about the datefudge tool, which can be very useful to test time-related code (not only in Elisp). Today I’m going to write about another way of solving a similar problem.

2025-09-19

2025-09-15

  • 16:41 UTC (new) (history) 2025-09-15 Entering dates in Emacs Calc . . . . mbork I perform date arithmetic pretty often in Emacs Calc. One problem I’ve always had with that is that entering date forms is very far from ergonomic. (To be fair to Calc, once you get used to how Org mode allows to enter dates, basically any other way of entering them feels slow and inconvenient. This is what Org manual says about it: “The actions of the date/time prompt may seem complex, but I assure you they will grow on you, and you will start getting annoyed by pretty much any other way of entering a date/time out there” – and boy, is it true!) So, it occurred to me that it would be great to be able to use the Org date prompt in Calc. Of course, this is Emacs, so it shouldn’t be difficult, right?

More...

Filters