Watch on

Original Danny Phantom theme song with title sequence.


(N.) 'pro-krast  Procrasts are the comparatively easy, self-indulgent and unnecessary activities you occupy yourself with while putting off more important tasks. Usage: All of Diwan’s college applications were due January 15th, but he had not even begun to work on them. Instead, as the deadline neared, he distracted himself with countless procrasts—working out, Facebooking, and cleaning his room, though his parents hadn’t even asked him to. 

—§For other time management pitfalls, check out the Wordbirds book—and learn about DELIBEROTTING, NETSHIRKING, and DAYTRAPS—§

Emacs: Stop worrying about indentation

A while back I had the following exchange with a friend:

  • 'Hey Puerco, how do I indent the whole buffer? [in Emacs]'
  • 'Just C-x h '
  • 'But then my cursor is left at the beginning of the buffer'
  • 'Just pop the mark twice'
  • 'The mark? What is that?'
  • 'Like the kill ring but for the mark”
  • 'huh?'

But I digress, I am telling you this because my friend got me thinking, am I as lazy I thought? Why I am doing all this keypresses. So I got to writing:

  (defun indent-buffer ()
    "First Approach"
    (set-mark 0)
    (call-interactively 'indent-region))

But then, there would not be an easy way to return the cursor to where it was. After a quick googling I reached this solution which didn’t move the cursor so didn’t create the problem of returning it. Also it showed me that I was in the wrong frame of mind: trying to do a macro:

  (defun indent-buffer ()
    "indent whole buffer"
    (indent-region (point-min) (point-max) nil)
    (untabify (point-min) (point-max)))

While pasting on irc, I am frequently admonished that my indentation is wrong, remembering I had a command for that I thought hmm why don’t I automatically indent buffers before saving them.

    (add-hook 'before-save-hook (lambda () (indent-buffer)))

Tagged by the cutie kathleen4ever!

(wondering how you know me since you don’t follow me?? .___. )

1.What is your name? 

Yume >w<

2.When is your birthday? 

February 4

3.Where are you from? 

From Las Vegas, go to school in Troy, NY

4.Have a crush? 

I’m surrounded by thirsty college boys who probably have the mental maturity of middle schoolers.

The answer is no lol

5.Whats your favorite color? 

white, dark blue, and maroon

6.Write something in caps: 


7.Got a favorite band/artist?

Right now it would be Standing EGG

8.Favorite number? 

um 7? 10?? I don’t really have one lol

9.Favorite drink?

Anything with caffeine in it

Coffee and tea. I drink them everyday because if I didn’t I would die

10.Tag ten people: 

oohmankanshoku falchionpunch that-yuhja lil-sweet-devil sakura-diamond20 kanacchi nadeshikoshiraishi joousama nhiai93 lntellectual