senny / cabbage

get the maximum out of emacs
http://senny.github.com/cabbage/
156 stars 21 forks source link

Use a patched version of perspective-el #104

Closed fred-o closed 12 years ago

fred-o commented 12 years ago

I'm not really sure if this is the best way of doing this, but...

Long story short, perspective-el has some problems when used with ido-mode, which causes it to mess up the buffer ordering. This is really annoying if you want to quickly switch back to the previous buffer, and I've also had problems with unintentionally killing the wrong buffer on several occasions.

There exists a patch and pull request (https://github.com/nex3/perspective-el/pull/8) that fixes the problem. Even though it was posted in October and there have been commits to perspective-el since then, it hasn't been merged. I don't know what the problem is, or if it will ever get merged, but in the meantime I've forked the project myself and added the patch.

senny commented 12 years ago

NICE! I reported this issue a long time ago nex3/perspective-el#5 but I didn't know that there is a fix out there... I'm going to try this out right now since this is really really annoying.

@fred-o can you keep an eye on the pull-request. We should move back to the mainline as soon it gets merged back in.

//cc @jone

senny commented 12 years ago

it works for me but I noticed some strange things. First of when I boot Emacs I get the following open buffers when pressing C-x b

*Echo Area 0*
*Echo Area 1*
*Minibuf-0*
*code-conversion-work*
*Messages*

scratch and messages seems right but the rest feels pretty strange. Also, switching to the last buffer does NOT work for these buffers mentioned above. It works though for every new buffer, which is amazing!

probably the most dangerous thing is that, switching a submodule's origin breaks the update script. You need to execute git submodule sync to get them working again.

@jone I think we should add the submodule sync call into the update-script. It feels non-destructive and should do no harm. What do you think?