Recent Changes

Updates since 2016-10-10 22:13 UTC up to 2017-01-08 22:13 UTC

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

2017-01-08

2017-01-01

2016-12-31

2016-12-24

  • 09:13 UTC (new) (history) 2016-12-24 Merry Christmas . . . . Marcin Borkowski Merry Christmas to all of you! I wish you that Jesus, our Lord and Savior, who will be born tonight, would give you His blessing and grace. Also, I will again offer a decade of rosary for you all.

2016-12-18

  • 18:55 UTC (new) (history) 2016-12-18 Generating links to info buffers . . . . Marcin Borkowski When writing an email about Emacs, e.g. on the help-gnu-emacs mailing list, I often want to include a link to an Info node. It is easy in Org-mode, where you can use org-store-link (however, by default, the link does not export “properly” to HTML, though, i.e., you don’t get the link to the online Emacs manual) and then org-insert-link. But even if you don’t use Org-mode, there is a nice trick:

2016-12-12

  • 06:43 UTC (new) (history) 2016-12-12 momentary-string-display . . . . Marcin Borkowski Some time ago I wrote about making Emacs display things without actually modifying any buffer. I used text properties then, and I mentioned that a similar thing could be done using overlays, too. Well, it turns out that there exists a very interesting function in Emacs (and it indeed uses overlays internally), which could be of help in a situation like that: momentary-string-display.

2016-12-04

  • 19:05 UTC (new) (history) 2016-12-04 Making C-c C-j in AUCTeX do something more useful . . . . Marcin Borkowski In AUCTeX’s LaTeX mode, C-c C-j is by default bound to LaTeX-insert-item. By default, it just inserts an \item on a new line. I thought that it would be cool to make it insert something else in non-itemize environments. It turns out that I was late, though – the functionality is already there! It is not widely known, however; in particular, it’s not mentioned in the manual.

2016-11-27

2016-11-19

  • 08:44 UTC (new) (history) 2016-11-19 format-spec . . . . Marcin Borkowski Last week I was coding something Emacs-y, and felt the need of a format-like function. It would get a string with embedded “control codes”, like %t% or %h, and then output a string with these “control codes” replaced by actual content. Writing something like that is not particularly difficult, but since I wanted to be able to also escape the percent sign by writing %%, I didn’t really feel like reinventing the wheel (and doing it elegantly and efficiently might be a tad tricky anyway). I asked a question on the help-gnu-emacs mailing list, and voilà! Here is the format-spec function.

2016-11-17

2016-11-13

  • 18:54 UTC (new) (history) 2016-11-13 debug-on-entry . . . . Marcin Borkowski Some time ago, I had a very strange problem. I was writing a certain library for Emacs, and in one of the functions I had a Mark set message coming apparently out of nowhere. Since my function used timers, closures and callbacks to do things asynchronously, edebug didn’t help me a lot. Happily, I knew what can give such a message: push-mark. (BTW, this is yet another good reason to have Emacs sources handy: if I hadn’t known that, I could have just grepped the sources.) Now, finding the offending push-mark was a question of five seconds:

2016-11-07

  • 14:28 UTC (new) (history) 2016-11-07 Displaying nonexistent text in Emacs buffers . . . . Marcin Borkowski Some time ago, I received yet another email containing a date in the MM/DD/YY format, which is probably the least reasonable format in existence. (Here in Poland, the customary date format is DD.MM.YYYY, which makes much more sense. Personally, however, I very much prefer the ISO-8601-sanctioned YYYY-MM-DD format.) Since it is quite difficult to deal with date formats one is unfamiliar with, I decided to do something about it.

2016-10-30

2016-10-22

  • 06:22 UTC (new) (history) 2016-10-22 locate-dominating-file . . . . Marcin Borkowski Some time ago there was an interesting thread on the help-gnu-emacs mailing list. Basically, the OP wanted an equivalent of save-some-buffers, only not for all files, but for the ones under version control. More generally, he wanted to be able to programmatically get the list of buffers which visit files under VC. Go to the discussion to read about a few things Emacs can do. One of the things I learned from it was a very general function locate-dominating-file.

2016-10-17

  • 20:09 UTC (new) (history) 2016-10-17 reposition-window . . . . Marcin Borkowski Did you know that you can press C-M-l to invoke the command reposition-window? Here’s an excerpt from its docstring: Make the current definition and/or comment visible. Further invocations move it to the top of the window or toggle the visibility of comments that precede it.

2016-10-10

More...

Filters