Recent Changes

Updates in the last 90 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

2018-12-10

2018-12-03

2018-11-26

  • 16:56 UTC (new) (history) 2018-11-26 format-seconds . . . . Marcin Borkowski If you’ve ever done anything UI- and time-related in Elisp (or whatever language), chances are that you did stuff like (defun format-minutes (minutes) "Format MINUTES in a human-friendly way."

2018-11-19

  • 08:38 UTC (new) (history) 2018-11-19 Font-locking diff blocks in Org-mode . . . . Marcin Borkowski I sometimes miss a feature in Emacs where I could make a diff of two files (using Emacs built-in dired-diff command, bound to = in Dired, or abo-abo’s diff trick, which I have bound to e in Dired), but have the diff persist (as in, save it to a file). Technically, I can do this, of course, by just calling write-file and saving it to a file (preferably with a .diff extension so that it will open in Diff mode automatically), but sometimes I prefer to save things in my Org-mode file, along with my notes related to the project I’m working on. It turns out that Org-mode has me covered, although there is one minor caveat here.

2018-11-11

  • 21:13 UTC (new) (history) 2018-11-11 Poland gained independence 100 years ago . . . . Marcin Borkowski Today we [[http://mbork.pl/2017-09-25_The_Unconquered|again]] [[http://mbork.pl/2018-02-05_The_death_camps_in_Poland_issue|depart]] from the usual topics of my blog. We have a very important day today in Poland – [[https://www.youtube.com/watch?v=RnbULDJAWeI|one hundred years ago my country gained independence]] after more than a hundred years of political nonexistence.

2018-11-03

2018-10-27

  • 14:46 UTC (new) (history) 2018-10-27 Launching terminal in current directory . . . . Marcin Borkowski I am a bit ashamed that I do not always use Eshell – I sometimes rely on a “proper” bash in a terminal. (One possible reason is when I ant to run something that does not play too well with Eshell, like top or watch. I know it is possible to do that in Eshell, using eshell-visual-commands, but it seems I’m too lazy (or still too much accustomed to my usual terminal) to change that. Anyway, it is feasible to want to run a terminal (or any other program) in the current directory from Emacs. It turns out that it is easy to do using async-shell-command.

2018-10-22

  • 11:48 UTC (new) (history) 2018-10-22 Running visual commands in Eshell . . . . Marcin Borkowski It is a known thing that running commands that control the terminal like top in Eshell is problematic – Eshell plays well with commands that take stdin in and put stdout out, but any control codes are just displayed verbatim. Happily, there is a way around it.

2018-10-15

2018-10-14

  • 17:59 UTC (new) (history) 2018-10-14 Magit and C-u i . . . . Marcin Borkowski Last time I mentioned that I use multiple backup copies of my .env file. One problem with that approach was they they cluttered my Git status (or the magit-status window). I could put the relevant pattern in my .gitignore file, but I didn’t want to bother other programmers in the team with peculiarities of my personal setup.

2018-10-06

  • 06:24 UTC (new) (history) 2018-10-06 The version-control variable . . . . Marcin Borkowski As many of us know, Emacs has a habit (annoying for most people, I guess) of making backup copies of files it saves. Happily, it doesn’t kick in in version-controlled files (and most of my files fall into this category nowadays). But there are situations when I actually do want the backup copies.

2018-09-30

2018-09-23

2018-09-17

More...

Filters