1/12/2009 ~ 1 min read

emacs abbreviations.


I stumbled on a link where that auther set up some custom abbreviations for emacs. This is just the thing to complement yasnippet mode. I set up about 11 custom abbreviations for editing forms with ARG’s core custom data points. so now I can type the following and hit enter to get the desired form input:

  • ae ->amp email: <input maxlength="50" name="q1" type="text" value="<V1>" />
  • afn ->first name: <input maxlength="25" name="q2" type="text" value="<V2>" />
  • aln ->last name: <input maxlength="25" name="q3" type="text" value="<V3>" />
  • aa1 ->address: <input maxlength="25" name="q4" type="text" value="<V4>" />
  • aa2 ->address2: <input maxlength="25" name="q5" type="text" value="<V5>" />
  • acy ->amp city: <input maxlength="25" name="q6" type="text" value="<V6>" />
  • ast ->amp state: <select name="q7"> ...state options ... </select>
  • azp ->amp zip: <input maxlength="5" name="q8" type="text" value="<V8>" />
  • ap1 ->phone1: <input maxlength="3" name="q15" type="text" value="<V15>" />
  • ap2 ->phone2: <input maxlength="3" name="q18" type="text" value="<V18>" />
  • ap2r ->p2 required: <input maxlength="3" name="q15" type="text" value="<V15>" />
  • agd ->amp gender: <select name="q14">...gender options... </select>
  • appl ->code-pop link: <script type="text/javascript"> custom link popping js </script>

Headshot of Matthew Hippely

Hi, I’m Matthew. I live in Ventura County, and spend my time thinking about systems, software, and how things evolve over time.

You can find me on GitHub, LinkedIn, or read more about me here.