From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from highwire.stanford.edu ([171.64.249.40]) by hawkwind.utcs.toronto.edu with SMTP id <28359>; Sat, 25 Mar 2000 01:00:42 -0500 Received: from aubrey.stanford.edu (jimr@aubrey.Stanford.EDU [171.64.31.58]) by highwire.stanford.edu (8.9.3/HIGHWIRE2.0) with ESMTP id NAA22426 for ; Fri, 24 Mar 2000 13:25:07 -0800 (PST) Message-Id: <200003242125.NAA22426@highwire.stanford.edu> X-url: http://highwire.stanford.edu/~jimr/ X-face: "!ZH^<"U,NeU:732A To: "sam Fans" Dcc: Subject: the obvious. =) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9897.953933106.1@aubrey.stanford.edu> Date: Fri, 24 Mar 2000 16:25:07 -0500 Sender: jimr@aubrey.stanford.edu I just have to shout to the world (well, to sam fans) that this editor is wonderful! Now that I'm actually working directly in sam instead of just using it via a pipe (from wily), I'm amazed at how much easier it is to do stuff. One of the things I tend to do in Java is write a method with name X that takes no args, X(), or takes N args, X(N). X() tends to just pass some sort of defaults on to X(N). When writing JavaDoc comments for each method, it's a major pain a lot of it tends to be a straight copy and paste one to the other Now, with sam, I can just write the top java doc comment, and when I'm finally ready I can just write ,x/^\/\*(.+\n)+ \*\/\n/ t /}\n/ To copy the top comment down to the second method. e.g. /** * 1-5 lines describing Foo */ public void X() { ... } public void X(N) { ... } turns into /** * 1-5 lines describing Foo */ public void X() { ... } /** * 1-5 lines describing Foo */ public void X(N) { ... } sam's slogan ought to be 'Making your life easier through structured regular expressions.' =) Jim