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



  • 12:57 UTC (new) (history) 2018-04-21 counsel-rg and symbol at point . . . . Marcin Borkowski Preview: Continuing my streak about counsel, I had a small a-ha moment a few days ago. I often use counsel-rg. It was rather annoying for me that I had to mark the function or variable name at point, copy it to the kill ring, invoke counsel-rg and then yank it back. Until I realized that all this was unnecessary.


  • 07:18 UTC (new) (history) 2018-04-15 counsel-org-clock . . . . Marcin Borkowski Some time ago I blogged about my Org-mode hydra. It turned out that that a link to that short article was posted to Reddit, and one of the commenters pointed out his counsel-org-clock package.


  • 20:04 UTC (new) (history) 2018-04-09 counsel-yank-pop . . . . Marcin Borkowski Some time ago I wrote a tip about yanking, and I was informed in a comment that helm has helm-show-kill-ring, which is a replacement for M-y. Turns out that the Ivy suite has counsel-yank-pop, which is a similar thing. Even better, instead of binding M-y to it manually, you can just turn counsel-mode on, and many Emacs commands will be automatically remapped to their counsel equivalents. Nice!


  • 03:39 UTC (new) (history) 2018-04-01 Easter 2018 . . . . Marcin Borkowski As usual, I’d like to wish everyone reading this a Happy Easter! Yet again we live to witness the miracle of Jesus rising from the dead. Today does not seem to be a good time to live in. Sin is everywhere, the forces of evil seem to dominate, and the world seems to head towards self-destruction. But this is not actually the case. Jesus already defeated Satan, and we only must join the victorious battle. Happy Easter everyone! (And traditionally, I have a gift to all my readers: a Rosary decade for you!)



  • 18:56 UTC (new) (history) 2018-03-26 Human-readable filesizes . . . . Marcin Borkowski A few days ago I needed to display a filesize (in one of the next blog posts I’ll show why I needed this!). The easiest way is to just display the integer – size in bytes – but of course this is not very human-friendly. The “right” way should use whichever units fit the number.


  • 05:01 UTC (new) (history) 2018-03-18 My Org-mode hydra . . . . Marcin Borkowski I mentioned a lot of times that I am a big fan of Org-mode clocking feature. Even if I clock some things only for myself, I find it useful to learn how much time I actually need for some task. This is often surprising – for example, I think most people are completely unaware of how much you can accomplish by spending five to ten minutes every day on something (notice the “every day” part!). Of course, I want my clocking to be as smooth as possible.
  • 04:59 UTC (diff) (history) Comments on 2018-03-10 A tip on yanking . . . . Marcin Borkowski That's interesting. I don't use helm, but a quick search shows that Ivy has something similar. I'll try it out!


  • 05:14 UTC (new) (history) 2018-03-10 A tip on yanking . . . . Marcin Borkowski I have a few longer posts in the works, but for today I want to share a simple trick. We Emacs users all know and love the kill ring, and many of us know about M-y (yank-pop) and even C-u ... C-y (i.e., a numeric argment to yank). For those who don’t know: C-u 1 C-y is equivalent to plain C-y, but C-u 2 C-y (or just C-2 C-y) inserts the previous killed text (much like C-y M-y), and also marks it as the current one. With higher arguments, it inserts earlier kills.



  • 07:13 UTC (new) (history) 2018-02-25 Simple way of assigning formulas to fields and columns in Org tables . . . . Marcin Borkowski Today I’m going to share a simple trick concerning Org-mode spreadsheet tables. I knew that I could press C-u C-c = in an Org-mode table cell to install a formula in that cell (or C-c = to install a column formula). However, there is a simpler way: you can just type := followed by the formula and press TAB, RET or C-c C-c. (Without a colon, it installs a column formula.) Very handy! (And it was in the manual all along… Once more I learned that at least skimming through the manual from time to time is a good idea!)



  • 20:23 UTC (new) (history) 2018-02-12 append-next-kill . . . . Marcin Borkowski Today I’d like to share a simple trick which I learned a few days ago. It is well-known that if you perform a few killing commands in a row (like C-k or M-d), only one entry is put into the kill ring. Sometimes, however, I want to kill things in different places and still combine them into one kill ring entry. Enter C-M-w, or M-x append-next-kill. It makes the next killing command append its prey to the last kill ring entry.



  • 20:52 UTC (new) (history) 2018-01-29 A simple script for shuffling exam questions . . . . Marcin Borkowski As we approach the end of the semester, my free time shrinks to nearly zero. Today I’m only going to share a simple tip. Last week, I prepared an exam. I wanted 10 questions, each one taken from one chapter of the lecture. I also wanted 6 sets (4 for the exam and 2 for the retake). And I wanted no bias (even unconscious) – problem sets for the retake should be neither easier nor harder than for the first attempt etc.