Wednesday, April 7, 2010

How to get Tramp to stop automatically attempting to connect

I admit it, I tried out Tramp in emacs, and it was cool. However, after you open something in Tramp, it decides that it always wants to connect. Very annoying. It took me a while, but I think I figured out where this was happening, it was because of a recently used list or something in .ido.last

rm -f ~/.ido.last

and emacs will boot without trying to connect. I suppose you could always edit that file or learn more about the ido feature.

Tuesday, April 6, 2010

Making your shell scripts executable under subversion

Here's something I don't do often, but it does happen; you need to mark a shell script as executable in svn so that it comes out of svn as executable:

svn propset svn:executable +x myscript.sh

That's it.