From the Burrow

Eben Moglen on the Freedom Box

2012-01-23 00:00:00 +0000

http://www.youtube.com/watch?v=gORNmfpD0ak

Recent Emacs googlings

2012-01-19 00:00:00 +0000

Ok this is just me dumping a few more things I ended up googling for today

Multiple ‘windows’ pointing to the same buffer, scrolling as if one http://stackoverflow.com/questions/970292/emacs-multiple-columns-one-buffer

Enable line numbers M-x linum-mode http://www.emacswiki.org/emacs/LineNumbers

Showing row and column of cursor within file M-x line-number-mode M-x column-number-mode http://www.gnu.org/software/emacs/manual/html_node/emacs/Position-Info.html

Steve Yegge’s awesome article on tweaking Emacs

OK back to work!

Emacs - Fixing indentation for a whole document

2012-01-19 00:00:00 +0000

The indentation system on emacs is brilliant for most languages but manually going through and tabbing the lines to get the correct indentation is such a waste of time.

First select everything in the buffer C-x h

Next fix indentation! M-x indent-region

And thats it! Everything should be indented to the correct level.

Windows Event Log Pain

2012-01-18 00:00:00 +0000

If you have an error in the Windows event log with no decent information, try this site out: http://www.eventid.net/ It will take a event-id and source or just the vague error message and give a decent rundown on what might have happened. I’m getting a lot of these turnign up in Zenoss these days!

Exchange Email And Linux

2012-01-18 00:00:00 +0000

Evolution Into Multicelular Organism in 60 days

2012-01-18 00:00:00 +0000

Just wonderful! http://www.wired.com/wiredscience/2012/01/evolution-of-multicellularity/

Emacs on multiple monitors

2012-01-18 00:00:00 +0000

Alas it seems there no decent way to have this but you can open a new frame. C-x 5 2 or File->New Frame

Coding TCL in Emacs

2012-01-18 00:00:00 +0000

This is just a quick post. At work I’m having to do a lot of TCL development and having recently become a convert to Emacs I obviously want to use it for everything!

The shortcuts are a bugger to remember so I thought I’d dump them here so I know where I can find them.

From http://www.rgrjr.com/emacs/advanced.html#tcl-mode

Commands:

M-x tcl-mode M-x inferior-tcl (C-c C-t in a Tcl source buffer) Tcl editing:

C-c TAB (tcl-help-on-word) C-c C-c (comment-region) Tcl editing support for inferior Tcl:

C-c C-t (inferior-tcl) creates one. C-c C-s (switch-to-tcl) switches to the inferior Tcl process buffer (but does not create one). C-c C-x (tcl-eval-region) C-M-x or C-c C-v (tcl-eval-defun) C-c C-f (tcl-load-file) loads a Tcl file into the inferior Tcl process

Awesome! The eval region has to be the thing I love most from writing lis pin emacs so its great to have it for TCL.

Anyhoo thats all!

Browsing remote servers with eshell

2012-01-18 00:00:00 +0000

As a budding Emacs nerd I’m looking at replacing my current awesome terminal emulator Terminator (it’s in the Ubuntu repos) with a shell within emacs.

I had a play with eshell and it worked well, but I wanted to be able to use a feature called find-file-at-point which opens the file your cursor is currently over in the buffer.

Turns out this is pretty damn easy: cd /ssh:username@servername:/path/you/want

Hit return, type in your password and you in!

Asimov & Arthur C. Clarke

2012-01-18 00:00:00 +0000

A couple of lovely short stories to fill your lunch breaks. Enjoy!

http://www.multivax.com/last_question.html http://downlode.org/Etext/nine_billion_names_of_god.html