From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: Joel Salomon Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit References: , Subject: Re: [9fans] samuel Date: Mon, 8 Apr 2002 12:53:40 +0000 Topicbox-Message-UUID: 733d7ee4-eaca-11e9-9e20-41e7f4b1d025 "AMSRL-CI-CN" wrote > One thing you can do is maintain a file of your favorite macros, > open that in sam when you're editing, and snarf and send as > needed. What I actually meant was a macro that looks like [[:cfuncdef foo:]] (I think that's an existing extension syntax [[:alpha:]] for [a-zA-Z] ) but is a shorthand for : foo[[:ccomment:]]*[[:cparenth:]][[:ccomment:]]*..... meaning: foo, possibly followed by some comments, followed by parenthesized text, again maybe followed by comments, then an open brace - all allowing for whitespace. Of course by this time you'd just embed perl into your editor and bloat the code size 5000% - oh, well)