<?xml version="1.0" encoding="windows-1252"?>
<node id="763671" title="Re: Favorite Hacks in Emacs" created="2009-05-13 01:39:54" updated="2009-05-13 01:39:54">
<type id="11">
note</type>
<author id="248054">
Your Mother</author>
<data>
<field name="doctext">
&lt;p&gt;I hope these are pasted right.&lt;/p&gt;
&lt;code&gt;
(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
"}"
  )

&lt;/code&gt;

&lt;blockquote&gt;&lt;i&gt;&lt;/i&gt;&lt;/blockquote&gt;
&lt;p&gt;
&lt;/p&gt;</field>
<field name="root_node">
763582</field>
<field name="parent_node">
763582</field>
</data>
</node>
