Wednesday, December 30, 2009

Emacs Blogging

Emacs Blogging

I have been trying to figure out how to turne-blog into the perfect bloggingclient for myself. It was missingmarkdown syntaxand the ability to not have to enter my username and passwordeverytime.

Markdown Syntax

I added some code to e-blog to have it pass the post through a filterprogram before posting it to blogger. Using python markdown andhtml2text I was able to accomplish this. It now converts frommarkdown to html on the way up to blogger and then html to markdown onthe way back. The markdown that comes back is slightly different thanwhen it goes up due to the markdown having several ways to representthe same thing. In practice that hasn't been a problem, I'm sure I'llstart writing markdown the way that python-html2text writes it if Ireally start editing my posts much. I doubt I will.

Credentials

This problem was slightly easier than the one above. I just had tofigure out the variables it was using and make them customizableparameters. Now they are stored in my emacs.el and passwords.elfiles. I don't worry about people reading my passwords.el file as myhard drive is encrypted. But, if one were worried about that, settingthe username is a good enough time saver.

General

Generally speaking, I'm taking the week off. So much rest for me!!I'll probably start hacking cobbler a bit tomorrow or play with TurboGears. I'm not sure, depends on how the spirit moves me.

Friday, December 11, 2009

New things in emacs land

I've finally using more of emacs. I'm now using erc, wanderlust, and elscreen. It is a pretty incredible switch. I'm still having problems with it. But over all, its pretty nice. The biggest problem is organizing the buffers so that I can get work done. I'm using elscreen to get things properly organized, but sometimes it doesn't do things quite right and my buffers get all screwed up. It is interesting, but I'll eventually figure things out.

Also, ERC is not playing nice with my IRC Proxy bip. I basically have two IRC servers with the exact same connect line, except the passwords are different. ERC seems to know that there are two servers, but things spill over between the two. It is a rather odd little behavior.

It is kind of hard figuring various bindings out, but it is getting better over all. I'm excited about this.