plugawy blog

http://coffeesounds.com
Webdev, coffee drinker and all that

Garlic bread...

What the hell happened with the garlic?

The fear we all share

Yeah, right...

Game Boy damaged in Gulf War

"Bespin" theme for Emacs

Today I did a "port" of a Textmate theme (http://deepend.com/mdiolosa/Bespin.tmTheme) of the color scheme used in Mozilla's Bespin app (https://bespin.mozilla.com/).
So - it's a port of a port ;-)

Enjoy

Easy color theme loading

Wheew. Switching from VIM to Emacs was easier than expected - few days of getting used to different keyboard shortcuts (which feel more natural than VIM's) and it looks like I can use it without any disruptions.
Obviously I'm not at the same level of control as with VIM, but strangely - I'm picking it up a lot faster.
Additionaly - many VIM habbits can be easily transfered to Emacs (deleting words, navigation, how the copy/paste functions work, etc).

One thing I find much better in Emacs is the scripting language which drives the whole editor. Vimscript doesn't come near close to elisp - in both syntax and abilities. It can be clearly seen that vimscript is an afterthought.

Elisp makes Emacs so easy to customize, and it seems like there are no limits where you can go with these customizations (obviously - common sense is the limit ;-)).

If there's something you need to do in Emacs - you can do it.

I'm a color-scheme/theme freak. White background simply doesn't work for me. Ugly, standard colors for keyword as well.
I like trying out new ones and I'm still searching for the perfect one. On the other hand - I always come back to the theme insipred/based on famous Monokai color scheme.

Unfortunately the themes bundled with color-theme.el (emcas plugin enabling you to use and change color themes) don't suit my taste at all. VIM and its community is so much batter in that regard (both in quality and numbers).
After googling around I found some cool ones (including the mentioned Monokai port) and started installing them.

Hold up... Vim clearly got this part right:
:colorscheme molokai
Done.

Emacs requires you to:
1. Include the color-theme library (it's not included in the Emacs23 OSX build)
2. Load it
3. Save somewhere your theme file
4. Load the theme file
5. Call a theme loading function

Wait... What?

It's clear that Emacs is not a simple application, but for such a trivial feature it seems to be quite an overkill.
Or maybe it's just me.

LMFTFY:

Working on two machines...

Can produce strange results :-)

git-merge(1)

You cannot tell how many lines are deleted and replaced with Barbie's remark on your side. The only thing you can tell is that your side wants to say it is hard and you'd prefer to go shopping, while the other side wants to claim it is easy.

"Merging's hard, let's go stashing"

Miteru Dake DVD improves your eye-contact, tests your willpower

I'm sure that the ability to stare are girl square in the face has been, it times, more than a little taxing to most of us. Shyness is one of the hallmarks of any true otaku after all. Then again, so is the inability to not totally stare at giant boobs.

Didn't know that VPS hosting is so expensive nowadays...

...since everyone's saying it's getting cheaper...