Friday, September 25, 2009

Err messages....

For the project I'm working on currently, they don't want to let 'unfriendly' (meaning too technical) error messages through.. I think all error messages should be unfriendly because when they are relayed to the devs on the backend, it helps them track down exactly what the issue is much faster. But then again, my code does contain the error message:
"Error: Oh my god you've ruined EVERYTHING, AGAIN! You old bag!"
This is really quite good at being unfriendly, see, cuz old people have probably ruined everything at least once at their age and probably live their lives dreading that they might do it again...

Thursday, September 24, 2009

Emacs Bookmarks

`C-x r m '
Set the bookmark for the visited file, at point.

`C-x r m BOOKMARK '
Set the bookmark named BOOKMARK at point (`bookmark-set').

`C-x r b BOOKMARK '
Jump to the bookmark named BOOKMARK (`bookmark-jump').

`C-x r l'
List all bookmarks (`list-bookmarks').

from someone at cmu