Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Favorite Hacks in Emacs

by Your Mother (Chancellor)
on May 13, 2009 at 05:39 UTC ( #763671=note: print w/replies, xml ) Need Help??

in reply to Favorite Hacks in Emacs

I hope these are pasted right.

(global-set-key "\M-3" 'script-blank) (global-set-key "\M-4" 'subroutine-blank) (define-skeleton script-blank "Insert a blank script." nil "#!/usr/bin/perl \n use strict; use warnings; # et cetera... Looooooong list of modules which # are easier to cut when unused than type otherwise. \n _ \n \n "exit 0; __DATA__ " ) ;;-------------------------------------------------------------------- (define-skeleton subroutine-blank "Insert a blank sub." nil "sub " _ " {" \n \n \n \n "}" )

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://763671]
[Corion]: Heh - I just realized, $work management just declared "no raises for anybody this year", and I'm not even angry about that. Even though that implicitly means "raises for the people with an automatic 5% raise in their contract", which the newly-merged ...
[Corion]: ... coworkers have. But I guess I've gone more mellow since I get to relax more, and such stuff doesn't make me as angry as it used to.
[Corion]: $boss will still get to listen to my interpretation :-D
[Eily]: hey, I'm just behind Larry in SioB \o/

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2018-01-22 11:05 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (233 votes). Check out past polls.